kumquat-buildroot/board/visionfive2/genimage_spi-nor.cfg
Lukasz Tekieli 517f032992 board/visionfive2: add spi-nor image
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>
2024-04-28 20:19:14 +02:00

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
}
}