c0312f71cc
Changes: * Exclude FAT partition, it is no longer needed for U-Boot. * Switch the rootfs partition from MBR to GPT for partition-uuid to work. * Switch to extlinux, this is convenient for debugging. * Create common scenarios for multiple boards to create an SD image: board/orangepi/common. Currently only orangepi_zero makes use of the common infrastructure. Signed-off-by: Sergey Kuzminov <kuzminov.sergey81@gmail.com> Reviewed-by: Giulio Benetti <giulio.benetti@benettiengineering.com> Tested-by: Giulio Benetti <giulio.benetti@benettiengineering.com> [Arnout: remove rootfs size = 63M and remount rw] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
21 lines
372 B
INI
21 lines
372 B
INI
image sdcard.img {
|
|
partition u-boot {
|
|
in-partition-table = false
|
|
image = "u-boot-sunxi-with-spl.bin"
|
|
offset = 8K
|
|
size = 1000K # 1MB - 8KB(offset) - 16KB(GPT)
|
|
}
|
|
|
|
hdimage {
|
|
partition-table-type = gpt
|
|
gpt-location = 1008K # 1MB - 16KB(GPT)
|
|
gpt-no-backup = true
|
|
}
|
|
|
|
partition rootfs {
|
|
offset = 1M
|
|
image = "rootfs.ext4"
|
|
partition-uuid = %PARTUUID%
|
|
}
|
|
}
|