mvebu: add sdcard image creation script
authorJosua Mayer <josua.mayer97@gmail.com>
Tue, 9 Aug 2016 13:23:24 +0000 (15:23 +0200)
committerFelix Fietkau <nbd@nbd.name>
Fri, 2 Sep 2016 12:43:52 +0000 (14:43 +0200)
commit3242c076492a46ddf5da92fb4bd3de813cab56f4
treec9e97fb3f812f2cdb974e8c8e508c2aff39ab286
parenta67183a7bc6f65535877f98ca25f662affbc1df5
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]
config/Config-images.in
target/linux/mvebu/image/Makefile
target/linux/mvebu/image/boot.script [new file with mode: 0644]
target/linux/mvebu/image/gen_mvebu_sdcard_img.sh [new file with mode: 0755]