Bug#810828: flash-kernel: update kernel address for Linkstation LS-WTGL
* Roger Shimizu <rogershimizu@gmail.com> [2016-01-13 01:58]:
> For Linkstation LS-WTGL boots fine with linux-image-4.3, but fails with
> linux-image-4.4.
> Here's the fix ported from QNAP TS-109 (Bug #809476), and it's been confirmed
> to boot well on LS-WTGL.
I don't fully grok this stuff either but I think this patch is not the
right solution.
The log you sent shows:
bootcmd=ide reset; ext2load ide 0:1 0x00100000 /$(kernel); ext2load ide 0:1 0x00800000 /$(initrd); setenv bootargs $(bootargs_base) $(bootargs_root) $(bootargs_debug) $(buffalo_ver); bootm 0x00100000 0x00800000
So the kernel is loaded to 0x00100000 and the ramdisk to 0x00800000
Your patch sets the kernel load address to 0x00c08000. So u-boot will
still load the kernel to 0x00100000 but then (I guess) it's
uncompressed at 0x00c08000. The problem is that 0x00c08000 is only 4
MB after the start of the ramdisk (0x00800000), which doesn't leave a
lot of space for the ramdisk.
You can change initramfs-tools from MODULES=dep to MODULES=most,
generate and I suspect it wouldn't boot.
Can you try if something like 0x01a08000 works?
BTW, I assume we need to change this for all Linkstation devices.
--
Martin Michlmayr
http://www.cyrius.com/
Reply to: