Bug#809476: Linux 4.4-rc6 fails to boot on QNAP TS-109
On Wed, Jan 6, 2016 at 9:41 PM, Roger Shimizu <rogershimizu@gmail.com> wrote:
> On Thu, Dec 31, 2015 at 9:09 AM, Martin Michlmayr <tbm@cyrius.com> wrote:
>> -U-Boot-Kernel-Address: 0x00008000
>> +U-Boot-Kernel-Address: 0x00c08000
>
> I tried this on local db (/etc/flash-kernel/db) of my Linkstation, but
> it failed to boot.
> Except above change, did you also changed the address in uboot
> command? (like a few lines below)
I tried the patch again and find it's working on my Linkstation
LS-WTGL (orion5x with 64M memory)
I already send the news to another post [0]
So the patch enclosed at the end already confirmed to be working for 3
different kernels:
- jessie-backports: linux-image-4.3.0-0.bpo.1-orion5x (4.3.3-2~bpo8+1)
- sid: linux-image-4.3.0-1-orion5x (4.3.3-5)
- experimental: linux-image-4.4.0-rc8-orion5x (4.4~rc8-1~exp1)
>>> cp.b 0xff200000 0x800000 0x3fffff
>>> setenv bootargs console=ttyS0,115200n8 root=/dev/ram rw initrd=0x800000,0x3fffff
>>> bootm 0xff000000
>
>> u-boot loads it like this:
>>
>> ## Booting image at 00400000 ...
>> Load Address: 00008000
>> Entry Point: 00008000
>
> I also don't understand where the address "00400000" comes from. It's
> neither in flash-kernel's db nor in uboot setting.
> From my understanding, the kernel image stores in flash, which address
> is 0xff000000, and it will be copied to "00008000" by uboot on boot
> time, then kernel will uncompress the image and then boot. Am I missed
> something?
I still don't understand these. So it'd be helpful if anyone can explain.
Thank you!
[0]: https://lists.debian.org/debian-arm/2016/01/msg00056.html
Last but not least, the patch for flash-kernel:
diff --git a/db/all.db b/db/all.db
index 8262e14..6343f03 100644
--- a/db/all.db
+++ b/db/all.db
@@ -72,7 +72,7 @@ Machine: Buffalo Linkstation LS-WTGL
Kernel-Flavors: orion5x
DTB-Id: orion5x-linkstation-lswtgl.dtb
DTB-Append: yes
-U-Boot-Kernel-Address: 0x00008000
+U-Boot-Kernel-Address: 0x00c08000
U-Boot-Initrd-Address: 0x0
Boot-Kernel-Path: /boot/uImage.buffalo
Boot-Initrd-Path: /boot/initrd.buffalo
Reply to: