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>
This commit is contained in:
Lukasz Tekieli
2024-04-14 21:06:44 +02:00
committed by Arnout Vandecappelle
parent 917078b57a
commit 517f032992
4 changed files with 65 additions and 6 deletions

View File

@@ -0,0 +1,4 @@
#!/bin/bash
support/scripts/genimage.sh -c board/visionfive2/genimage.cfg
support/scripts/genimage.sh -c board/visionfive2/genimage_spi-nor.cfg