hc
2024-03-22 ac5f19e89dcbd5c7428fcc78a0d407c887564466
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Minimal SD card image for the Freescale boards Template for SPL Boot
#
# We mimic the .sdcard Freescale's image format:
# * the SD card must have 1 kB free space at the beginning,
# * SPL is at the offset expected by ROM,
# * U-Boot is at the offset expected by SPL,
# * The first partition is expected to be an ext2 and have a /boot directory.
#
 
image sdcard.img {
  hdimage {
  }
 
  partition spl {
    in-partition-table = "no"
    image = "SPL"
    offset = 1024
  }
 
  partition u-boot {
    in-partition-table = "no"
    image = "%UBOOTBIN%"
    offset = 69K
  }
 
  partition rootfs {
    partition-type = 0x83
    image = "rootfs.ext2"
    offset = 8M
  }
}