I'm having trouble with installing newer, > 5.14.9 (still I've also managed to break it in another way) kernels. 5.15.5 and 5.17.4 at least. And I don't have an idea what to do about it.
This is my mkimage's output.
U-Boot 2017.07-tld-1 (Sep 05 2017 - 00:42:03 -0700) ZyXEL NSA325 2-Bay Power Media Server SoC: Kirkwood 88F6282_A1 DRAM: 512 MiB WARNING: Caches not enabled NAND: 128 MiB In: serial Out: serial Err: serial Net: egiga0 MV88E1318 PHY initialized on egiga0 Hit any key to stop autoboot: 10 ??? 9 ??? 8 ??? 7 ??? 6 ??? 5 ??? 4 ??? 3 ??? 2 ??? 1 ??? 0 starting USB... USB0: USB EHCI 1.00 scanning bus 0 for devices... 3 USB Device(s) found scanning usb for storage devices... Use USB retry period from the environment: 15 second(s) 1 Storage Device(s) found Reset IDE: ide_preinit failed Unknown command 'mmc' - try 'help' Partition Map for USB device 0 -- Partition Type: DOS Part Start Sector Num Sectors UUID Type 1 2048 31258624 aa673fa1-01 83 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 ## Unknown partition table type 0 loading envs from usb 0 ... 39 bytes read in 692 ms (0 Bytes/s) no IDE devices available Unknown command 'mmc' - try 'help' importing envs ... running scan_disk ... Scan device usb device usb 0:1 1 bytes read in 477 ms (0 Bytes/s) Found bootable drive on usb 0 loading uImage ... 5702912 bytes read in 768 ms (7.1 MiB/s) loading uInitrd ... 12783094 bytes read in 1186 ms (10.3 MiB/s) loading DTB /boot/dts/kirkwood-nsa325.dtb ... 14014 bytes read in 3075 ms (3.9 KiB/s) ## Booting kernel from Legacy Image at 00800000 ... Image Name: Linux-5.17.4-kirkwood-tld-1 Created: 2022-05-15 13:16:26 UTC Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5702848 Bytes = 5.4 MiB Load Address: 00008000 Entry Point: 00008000 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 01100000 ... Image Name: initramfs-5.17.4-kirkwood-tld-1 Created: 2022-05-15 13:16:28 UTC Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 12783030 Bytes = 12.2 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... Bad Data CRC Error occured, error code = 12 Ramdisk image is corrupt or invalid NSA325>
This is my mkimage's output.
# mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-5.17.4-kirkwood-tld-1 -d vmlinuz-5.17.4-kirkwood-tld-1 uImage && mkimage -A arm -O linux -T ramdisk -C gzip -a 0x00000000 -e 0x00000000 -n initramfs-5.17.4-kirkwood-tld-1 -d initrd.img-5.17.4-kirkwood-tld-1 uInitrd Image Name: Linux-5.17.4-kirkwood-tld-1 Created: Sun May 15 15:16:26 2022 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 5702848 Bytes = 5569.19 KiB = 5.44 MiB Load Address: 00008000 Entry Point: 00008000 Image Name: initramfs-5.17.4-kirkwood-tld-1 Created: Sun May 15 15:16:28 2022 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 12783030 Bytes = 12483.43 KiB = 12.19 MiB Load Address: 00000000 Entry Point: 00000000