2016-10-03 09:48:31 +02:00
|
|
|
# Minimal microSD card image for Grinn's liteBoard
|
|
|
|
#
|
|
|
|
# We mimic the .sdcard Freescale's image format for i.MX6UL:
|
|
|
|
# * the microSD card must have 1 kB free space at the beginning,
|
|
|
|
# * SPL is dumped as is,
|
|
|
|
# * U-Boot is dumped at 69K offset, as configured in SPL
|
|
|
|
# * a FAT partition at offset 8 MB is containing zImage and dtbs,
|
|
|
|
# * a single root filesystem partition is required (Ext4 in this case).
|
|
|
|
#
|
|
|
|
|
|
|
|
image boot.vfat {
|
2021-11-07 03:07:55 +01:00
|
|
|
vfat {
|
|
|
|
files = {
|
|
|
|
"imx6ul-liteboard.dtb",
|
|
|
|
"zImage"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
size = 16M
|
2016-10-03 09:48:31 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
2021-11-07 03:07:55 +01:00
|
|
|
hdimage {
|
|
|
|
}
|
2016-10-03 09:48:31 +02:00
|
|
|
|
2021-11-07 03:07:55 +01:00
|
|
|
partition SPL {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "SPL"
|
|
|
|
offset = 1K
|
|
|
|
}
|
2016-10-03 09:48:31 +02:00
|
|
|
|
2021-11-07 03:07:55 +01:00
|
|
|
partition u-boot {
|
|
|
|
in-partition-table = "no"
|
|
|
|
image = "u-boot.img"
|
|
|
|
offset = 69K
|
|
|
|
}
|
2016-10-03 09:48:31 +02:00
|
|
|
|
2021-11-07 03:07:55 +01:00
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
offset = 8M
|
|
|
|
}
|
2016-10-03 09:48:31 +02:00
|
|
|
|
2021-11-07 03:07:55 +01:00
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
|
|
|
image = "rootfs.ext4"
|
|
|
|
}
|
2016-10-03 09:48:31 +02:00
|
|
|
}
|