Building a initramfs image | 您所在的位置:网站首页 › openwrt initramfs itb › Building a initramfs image |
hnyman:
KERNEL := kernel-bin | patch-cmdline | lzma -d20 | netgear-uImage l I tried both the solutions suggested. $(STAGING_DIR_HOST)/bin/lzma e $(1) -d20 $(3) $(2) $(STAGING_DIR_HOST)/bin/lzma e $(1) -lc1 -lp2 -pb2 -d20 $(3) $(2) But the problem still persisted. The error messages were different when I TFTP ed it to 0x80060000 to 0x80010000 addresses. ath> bootm 0x80060000 Booting image at 80060000 ... Image Name: MIPS OpenWrt Linux-4.1.23 Created: 2019-01-14 21:11:26 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 4382411 Bytes = 4.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x80060040 ...OK Uncompressing Kernel Image ... Too big uncompressed streamLZMA ERROR 1 - must RESET board to recover ath> bootm 0x80010000 Booting image at 80010000 ... Image Name: MIPS OpenWrt Linux-4.1.23 Created: 2019-01-14 21:11:26 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 4382411 Bytes = 4.2 MB Load Address: 80060000 Entry Point: 80060000 Verifying Checksum at 0x80010040 ...OK Uncompressing Kernel Image ... ERROR: LzmaDecode.c, 543 Why does the u-boot have a problem when it tries to uncompress an image from RAM. The same image works fine when uncompressed from flash. I did manager to build an initramfs without any compression but still it doesn't boot and gets stuck in "Starting the kernel...." |
CopyRight 2018-2019 实验室设备网 版权所有 |