Pārlūkot izejas kodu

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>
Alistair Francis 4 gadi atpakaļ
vecāks
revīzija
58d8b69fcb
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      wic/freedom-u540-opensbi.wks

+ 1 - 1
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