2016-11-02 04:15:54 +01:00
|
|
|
# LEGO MINDSTORMS EV3 can boot from a 16MB flash or from a microSD card.
|
|
|
|
# The U-Boot bootloader from the flash is always used, even when booting
|
|
|
|
# from a microSD card.
|
|
|
|
|
|
|
|
# The Flash image
|
|
|
|
|
|
|
|
flash nor-16M-256 {
|
2021-11-07 03:39:53 +01:00
|
|
|
pebsize = 4K
|
|
|
|
numpebs = 4K
|
2016-11-02 04:15:54 +01:00
|
|
|
minimum-io-unit-size = 256
|
|
|
|
}
|
|
|
|
|
|
|
|
image flash.bin {
|
|
|
|
flash {
|
|
|
|
}
|
|
|
|
flashtype = "nor-16M-256"
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2016-11-02 04:15:54 +01:00
|
|
|
partition uboot {
|
|
|
|
image = "u-boot.bin"
|
2018-12-27 20:53:04 +01:00
|
|
|
size = 256K
|
2016-11-02 04:15:54 +01:00
|
|
|
}
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2018-12-27 20:53:05 +01:00
|
|
|
partition dtb {
|
|
|
|
image = "da850-lego-ev3.dtb"
|
2021-11-07 03:39:53 +01:00
|
|
|
offset = 256K
|
2018-12-27 20:53:05 +01:00
|
|
|
size = 64K
|
|
|
|
}
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2016-11-02 04:15:54 +01:00
|
|
|
partition uimage {
|
2018-12-27 20:53:05 +01:00
|
|
|
image = "uImage"
|
2021-11-07 03:39:53 +01:00
|
|
|
offset = 320K
|
2017-11-20 04:19:10 +01:00
|
|
|
size = 4M
|
2016-11-02 04:15:54 +01:00
|
|
|
}
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2016-11-02 04:15:54 +01:00
|
|
|
partition rootfs {
|
|
|
|
image = "rootfs.squashfs"
|
2021-11-07 03:39:53 +01:00
|
|
|
offset = 4416K # 4M + 320KB
|
2017-11-20 04:19:10 +01:00
|
|
|
size = 10M
|
2016-11-02 04:15:54 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
# The SD card image
|
|
|
|
|
|
|
|
image boot.vfat {
|
|
|
|
vfat {
|
2017-05-23 20:04:05 +02:00
|
|
|
file uImage {
|
2018-12-27 20:53:05 +01:00
|
|
|
image = "uImage"
|
|
|
|
}
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2018-12-27 20:53:05 +01:00
|
|
|
file da850-lego-ev3.dtb {
|
|
|
|
image = "da850-lego-ev3.dtb"
|
2016-11-02 04:15:54 +01:00
|
|
|
}
|
|
|
|
}
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2016-11-02 04:15:54 +01:00
|
|
|
size = 16M
|
|
|
|
}
|
|
|
|
|
|
|
|
image sdcard.img {
|
|
|
|
hdimage {
|
|
|
|
}
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2016-11-02 04:15:54 +01:00
|
|
|
partition boot {
|
|
|
|
partition-type = 0xC
|
|
|
|
bootable = "true"
|
|
|
|
image = "boot.vfat"
|
|
|
|
offset = 4M
|
|
|
|
}
|
2021-11-07 03:39:53 +01:00
|
|
|
|
2016-11-02 04:15:54 +01:00
|
|
|
partition rootfs {
|
|
|
|
partition-type = 0x83
|
|
|
|
image = "rootfs.ext2"
|
|
|
|
}
|
|
|
|
}
|