How to create a U-Boot multi-image (with all kernel files embedded) February 16, 2021 10:09PM |
Admin Registered: 13 years ago Posts: 18,997 |
mkimage -A arm -O linux -T multi -C none -a 0x00008000 -e 0x00008000 -n Linux-4.11.3-kirkwood-tld-1 -d vmlinuz-4.11.3-kirkwood-tld-1:initrd.img-4.11.3-kirkwood-tld-1:dts/kirkwood-goflexnet.dtb uImage Image Name: Linux-4.11.3-kirkwood-tld-1 Created: Fri Jun 2 22:29:55 2017 Image Type: ARM Linux Multi-File Image (uncompressed) Data Size: 11008515 Bytes = 10750.50 kB = 10.50 MB Load Address: 00008000 Entry Point: 00008000 Contents: Image 0: 3494088 Bytes = 3412.20 kB = 3.33 MB Image 1: 7502514 Bytes = 7326.67 kB = 7.15 MB Image 2: 11895 Bytes = 11.62 kB = 0.01 MB
ext2load usb 0:1 0x800000 /boot/uImage bootm 0x800000
Re: How to create a U-Boot multi-image (with all kernel files embedded) February 17, 2021 01:46AM |
Registered: 3 years ago Posts: 5 |
Re: How to create a U-Boot multi-image (with all kernel files embedded) February 17, 2021 04:39AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: How to create a U-Boot multi-image (with all kernel files embedded) February 17, 2021 06:09AM |
Registered: 3 years ago Posts: 5 |
Re: How to create a U-Boot multi-image (with all kernel files embedded) February 17, 2021 06:26AM |
Admin Registered: 13 years ago Posts: 18,997 |
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package February 17, 2021 04:55PM |
Admin Registered: 13 years ago Posts: 18,997 |
Quote
It looks like these files are piggybacked to the kernel before compression, I see binwalk lists the initrd to be at 0x28000 (within the kernel.) My current idea is that most of the other files in there is just padding, to make sure initrd ends up at a specific location in memory before being called by the kernel. -And obviously that the original bootcmd points to an initrd being placed there, even though u-boot has actually not been asked to load an initrd into memory.
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package February 18, 2021 03:31AM |
Registered: 3 years ago Posts: 5 |
-rwxr-xr-x 1 root root 42 Feb 9 08:49 60-sop.sh -rwxr-xr-x 1 root root 2695 Feb 9 08:49 80-md.sh -rwxr-xr-x 1 root root 1060 Feb 9 08:49 85-nfsboot.sh
zjozef
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package October 07, 2022 06:17AM |
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 05, 2024 08:22AM |
Registered: 6 years ago Posts: 42 |
Re: (WIP) Linux Kernel and rootfs 4.14.24 for Seagate Business Storage NAS (CNS3xxx) package March 05, 2024 02:32PM |
Admin Registered: 13 years ago Posts: 18,997 |