1# LEGO MINDSTORMS EV3 can boot from a 16MB flash or from a microSD card. 2# The U-Boot bootloader from the flash is always used, even when booting 3# from a microSD card. 4 5# The Flash image 6 7flash nor-16M-256 { 8 pebsize = 4K 9 numpebs = 4K 10 minimum-io-unit-size = 256 11} 12 13image flash.bin { 14 flash { 15 } 16 flashtype = "nor-16M-256" 17 18 partition uboot { 19 image = "u-boot.bin" 20 size = 256K 21 } 22 23 partition dtb { 24 image = "da850-lego-ev3.dtb" 25 offset = 256K 26 size = 64K 27 } 28 29 partition uimage { 30 image = "uImage" 31 offset = 320K 32 size = 4M 33 } 34 35 partition rootfs { 36 image = "rootfs.squashfs" 37 offset = 4416K # 4M + 320KB 38 size = 10M 39 } 40} 41 42# The SD card image 43 44image boot.vfat { 45 vfat { 46 file uImage { 47 image = "uImage" 48 } 49 50 file da850-lego-ev3.dtb { 51 image = "da850-lego-ev3.dtb" 52 } 53 } 54 55 size = 16M 56} 57 58image sdcard.img { 59 hdimage { 60 } 61 62 partition boot { 63 partition-type = 0xC 64 bootable = "true" 65 image = "boot.vfat" 66 offset = 4M 67 } 68 69 partition rootfs { 70 partition-type = 0x83 71 image = "rootfs.ext2" 72 } 73} 74