]>
Commit | Line | Data |
---|---|---|
c846d2e2 DL |
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 | ||
7 | flash nor-16M-256 { | |
8 | pebsize = 4096 | |
9 | numpebs = 4096 | |
10 | minimum-io-unit-size = 256 | |
11 | } | |
12 | ||
13 | image flash.bin { | |
14 | flash { | |
15 | } | |
16 | flashtype = "nor-16M-256" | |
17 | partition uboot { | |
18 | image = "u-boot.bin" | |
19 | size = 320K | |
20 | } | |
21 | partition uimage { | |
da6d0978 | 22 | image = "uImage.da850-lego-ev3" |
bd618749 | 23 | size = 4M |
c846d2e2 DL |
24 | offset = 0x50000 |
25 | } | |
26 | partition rootfs { | |
27 | image = "rootfs.squashfs" | |
bd618749 DL |
28 | size = 10M |
29 | offset = 0x450000 | |
c846d2e2 DL |
30 | } |
31 | } | |
32 | ||
33 | # The SD card image | |
34 | ||
35 | image boot.vfat { | |
36 | vfat { | |
13a4d5e5 DL |
37 | file uImage { |
38 | image = "uImage.da850-lego-ev3" | |
c846d2e2 DL |
39 | } |
40 | } | |
41 | size = 16M | |
42 | } | |
43 | ||
44 | image sdcard.img { | |
45 | hdimage { | |
46 | } | |
47 | partition boot { | |
48 | partition-type = 0xC | |
49 | bootable = "true" | |
50 | image = "boot.vfat" | |
51 | offset = 4M | |
52 | } | |
53 | partition rootfs { | |
54 | partition-type = 0x83 | |
55 | image = "rootfs.ext2" | |
56 | } | |
57 | } |