meta-riscv/wic/freedom-u540-opensbi.wks
Alistair Francis 58d8b69fcb freedom-u540-opensbi.wks: Change partition order
Change the partition order so that the /boot partition is the first
partition. This allows u-boots auto boot to work as expected. FSBL will
still load OpenSBI as it uses GPT UUIDs to match the boot partition.

Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2019-07-09 14:22:59 -07:00

7 lines
467 B
Text

# short-description: Create SD card image for HiFive Unleashed development board
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=vfat --label boot --active --size=100M --align 4096
part opensbi --source rawcopy --sourceparams="file=fw_payload.bin" --ondisk mmcblk0 --size 32M --align 1 --part-type 2e54b353-1271-4842-806f-e436d6af6985
part / --source rootfs --ondisk mmcblk0 --fstype=ext4 --label root --align 4096 --size 5G
bootloader --ptable gpt