mirror of
https://git.busybox.net/buildroot.git
synced 2024-11-24 05:53:30 +08:00
517f032992
Builds the spi-nor.img together with the sdcard.img. Readme is extended with SPI NOR flash writing instructions and recovery. The spi-nor.img layout is based on the following document: https://doc-en.rvspace.org/VisionFive2/Boot_UG/JH7110_SDK/boot_address_allocation.html Signed-off-by: Lukasz Tekieli <tekieli.lukasz@gmail.com> [Arnout: extend readme.txt with paragraph that either boot mode works.] Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
37 lines
429 B
INI
37 lines
429 B
INI
flash nor-16M-256 {
|
|
pebsize = 4K
|
|
minimum-io-unit-size = 256
|
|
numpebs = 4096
|
|
}
|
|
|
|
image spi-nor.img {
|
|
size = 16M
|
|
|
|
flash {
|
|
}
|
|
|
|
flashtype = "nor-16M-256"
|
|
|
|
partition spl {
|
|
image = "u-boot-spl.bin.normal.out"
|
|
offset = 0K
|
|
size = 512K
|
|
}
|
|
|
|
partition uboot-env {
|
|
offset = 960K
|
|
size = 64K
|
|
}
|
|
|
|
partition uboot {
|
|
image = "u-boot.itb"
|
|
offset = 1M
|
|
size = 4M
|
|
}
|
|
|
|
partition reserved-data {
|
|
offset = 6M
|
|
size = 10M
|
|
}
|
|
}
|