From 58d8b69fcb513def3791066eebd01bb1c407b712 Mon Sep 17 00:00:00 2001 From: Alistair Francis Date: Wed, 3 Jul 2019 09:44:21 -0700 Subject: [PATCH] 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 --- wic/freedom-u540-opensbi.wks | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wic/freedom-u540-opensbi.wks b/wic/freedom-u540-opensbi.wks index 1f5a335..509c635 100644 --- a/wic/freedom-u540-opensbi.wks +++ b/wic/freedom-u540-opensbi.wks @@ -1,7 +1,7 @@ # short-description: Create SD card image for HiFive Unleashed development board -part opensbi --source rawcopy --sourceparams="file=fw_payload.bin" --ondisk mmcblk0 --size 32M --align 1 --part-type 2e54b353-1271-4842-806f-e436d6af6985 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