mirror of
https://github.com/Fishwaldo/meta-riscv.git
synced 2025-03-15 11:31:43 +00:00
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>
7 lines
467 B
Text
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
|