mvebu: add sdcard image creation script
Added gen_mvebu_sdcard_img.sh to facilitate creating an fixed-size sdcard image, adding the bootloader and populating it with actual data. Added the required rules for creating a 4GB sdcard image according to this layout: p0: boot (fat32) p1: rootfs (squashfs) p2: rootfs_data (ext4) This should be generic to any mvebu boards that can boot from block storage. Added the new sdcard image to the Clearfog image profile. Signed-off-by: Josua Mayer <josua.mayer97@gmail.com> Signed-off-by: Felix Fietkau <nbd@nbd.name> [cleanup]
This commit is contained in:
committed by
Felix Fietkau
parent
a67183a7bc
commit
3242c07649
7
target/linux/mvebu/image/boot.script
Normal file
7
target/linux/mvebu/image/boot.script
Normal file
@@ -0,0 +1,7 @@
|
||||
setenv bootargs console=ttyS0,115200n8 root=/dev/mmcblk0p2 rootfstype=squashfs rootwait overlay=/dev/mmcblk0p3
|
||||
setenv fdt_high 0x07a12000
|
||||
|
||||
fatload mmc 0:1 0x02000000 zImage
|
||||
fatload mmc 0:1 0x05F00000 armada-388-clearfog.dtb
|
||||
|
||||
bootz 0x02000000 - 0x05F00000
|
||||
Reference in New Issue
Block a user