Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#3258 - apm821xx: Netgear WNDR4700 kernel 5.4 is not booting #8573

Closed
openwrt-bot opened this issue Jul 30, 2020 · 1 comment
Closed

FS#3258 - apm821xx: Netgear WNDR4700 kernel 5.4 is not booting #8573

openwrt-bot opened this issue Jul 30, 2020 · 1 comment
Labels

Comments

@openwrt-bot
Copy link

t4ndeta:

Just tried WNDR4700 with latest master(7a4fc89) and it fails to boot.
I also tested and switched build to 4.19 and it works.

Console output 5.4:

Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0x180000)

** check device-tree image **
Verifying Checksum ... OK

** check kernel image **
Verifying Checksum ... OK

** check rootfs image **
Verifying Checksum ... OK

NAND read: device 0 offset 0x180000, size 0x20000
131072 bytes read: OK

Booting kernel from Legacy Image at 00500000 ...

Image Name: POWERPC OpenWrt Linux-5.4.52
Image Type: PowerPC Linux Kernel Image (lzma compressed)
Data Size: 2635392 Bytes = 2.5 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK

Flattened Device Tree blob at 00800040

Booting using the fdt blob at 0x800040
Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 1 - must RESET board to recover

Console output 4.19:

Loading from device 0: NAND 128MiB 3,3V 8-bit (offset 0x180000)

** check device-tree image **
Verifying Checksum ... OK

** check kernel image **
Verifying Checksum ... OK

** check rootfs image **
Verifying Checksum ... OK

NAND read: device 0 offset 0x180000, size 0x20000
131072 bytes read: OK

Booting kernel from Legacy Image at 00500000 ...

Image Name: POWERPC OpenWrt Linux-4.19.131
Image Type: PowerPC Linux Kernel Image (lzma compressed)
Data Size: 2320447 Bytes = 2.2 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK

Flattened Device Tree blob at 00800040

Booting using the fdt blob at 0x800040
Uncompressing Kernel Image ... OK

@openwrt-bot
Copy link
Author

chunkeey:

Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 1 - must RESET board to recover

so, the decompressor in the u-boot is choking which is not good. Because the kernel size will only grow, I think it's high-time to switch the whole apm821xx target to linux' own decompressor loader. Now, I've done this before for the MyBookLive, but unlike other architectures it's not as easy as just editing KERNELNAME to use zImage.

For now, I've disabled the WNDR4700.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant