OpenWrt/LEDE Project

  • Status Researching
  • Percent Complete
    30%
  • Task Type Bug Report
  • Category Kernel
  • Assigned To No-one
  • Operating System All
  • Severity Medium
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Wiktor Stasiak - 30.07.2020
Last edited by Christian Lamparter - 31.07.2020

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

Just tried WNDR4700 with latest master(7a4fc8906cd2256e7381d1c043e19872eeb06883) 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 0×180000)

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

NAND read: device 0 offset 0×180000, size 0×20000 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 0×180000)

check device-tree image

 Verifying Checksum ... OK

check kernel image

 Verifying Checksum ... OK

check rootfs image

 Verifying Checksum ... OK

NAND read: device 0 offset 0×180000, size 0×20000 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
Project Manager
Christian Lamparter commented on 31.07.2020 16:44
 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.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing