genimage.cfg 1006 B

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