YuzukiTsuru / OpenixCard

Open Source Version of Allwinner PhoenixCard to Dump, Unpack, Flash Allwinner IMG Files on Linux
GNU General Public License v2.0
169 stars 22 forks source link

How to use this to flash an SD-Card image to Onboard NAND? #30

Closed deftdawg closed 1 year ago

deftdawg commented 1 year ago

Forgive me if this is a dumb question, but a solution wasn't obvious to me looking at the command line switches.

How would one take an SD image from https://github.com/johang/sd-card-images created like this:

wget http://dl.sd-card-images.johang.se/boots/2022-12-01/boot-pcduino3_nano.bin.gz
wget http://dl.sd-card-images.johang.se/debians/2022-12-12/debian-bookworm-armhf-eaha4y.bin.gz
zcat boot-pcduino3_nano.bin.gz debian-bookworm-armhf-eaha4y.bin.gz > sd-card.img

And convert sd-card.img into a format that it would flash onto the internal NAND of an AllWinner A20 when booted? (I have a PCDuino3 Nano)

YuzukiTsuru commented 1 year ago

Writing to on-board storage requires chip and software support. This software cannot do such things