u-Boot OpenWrt 18.06.2 on sama5d31 Unimplemented compression type 3
Username: Fabio
Origin: https://bugs.openwrt.org/index.php?do=details&task_id=2320
Hi,
after building 18.06.2 OpenWrt version and his nand flash u-boot (U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)) when u-boot try to uncompress lzma kernel image the following error is reached
Uncompressing Kernel Image ... Unimplemented compression type 3
the log:
AT91Bootstrap 3.8.10 (Tue Jun 11 17:58:40 UTC 2019)
NAND: ONFI flash detected
NAND: Manufacturer ID: 0x2c Chip ID: 0xda
NAND: Page Bytes: 2048, Spare Bytes: 64
NAND: ECC Correctability Bits: 4, ECC Sector Bytes: 512
NAND: Disable On-Die ECC
NAND: Initialize PMECC params, cap: 4, sector: 512
NAND: Image: Copy 0xa0000 bytes from 0×40000 to 0x26f00000
NAND: Done to load image
<debug_uart>
U-Boot 2017.03-linux4sam_5.8 (Jan 30 2019 - 12:21:02 +0000)
CPU: SAMA5D31
Crystal frequency: 12
MHz
CPU clock : 528
MHz
Master clock : 132
MHz
DRAM: 256 MiB
NAND: 256 MiB
MMC: Atmel mci: 0, Atmel mci: 1
In: serial@ffffee00
Out: serial@ffffee00
Err: serial@ffffee00
Net:
Error: ethernet@f0028000 address not set.
No ethernet found.
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0×180000, size 0×80000 524288 bytes read: OK
NAND read: device 0 offset 0×200000, size 0×600000 6291456 bytes read: OK
Booting kernel from Legacy Image at 22000000 ...
Image Name: ARM OpenWrt Linux-4.9.152 Image Type: ARM Linux Kernel Image (lzma compressed) Data Size: 3016433 Bytes = 2.9 MiB Load Address: 20008000 Entry Point: 20008000 Verifying Checksum ... OK
Flattened Device Tree blob at 21000000
Booting using the fdt blob at 0x21000000 Uncompressing Kernel Image ... Unimplemented compression type 3
⇒
Checking into u-boot (make menuconfig) seems that lzma cannot be set , only LZ4 is provided.
Also the option to change compression type of the kernel do not work. I try to switch from default (gzip) to LZ4 but kernel uimage is always lzma compressed.
Could you provide some hint to unlock the situation ?
Another strange things is :
Error: ethernet@f0028000 address not set.
No ethernet found.
f0028000 is memory address of GMAC that is not provided in sama5d31 SoC but the curious is the next No ethernet found.
Does it mean that nor EMAC was found ?
Thanks in advance
Best
Fabio