この方法は不完全で、 p10an01 がレンガになるので絶対に試してはいけない。現在検証中。
Windows
バックアップ
> nvflash --bl bootloader.bin --go
事前にカレントディレクトリに bootloader.bin を用意すること。
> nvflash -r --getpartitiontable partitiontable.txt
> nvflash -r --read x part-x.img
このコマンドは、x が2から始まり11 になるまで計10回行う(つまり全パーティションをイメージデータとしてカレントディレクトリに保存する)。
リストア
パーティションテーブルを確認しながら、後述のコマンドを実行する。
PartitionId=[PartitionId] Name=... DeviceId=18 StartSector=[StartSector] NumSectors=[NumSectors] BytesPerSector=2048
> nvflash --bl bootloader.bin --go
> nvflash -r --rawdevicewrite [StartSector] [NumSectors] part-[PartitionId].img
このコマンドは、10回(パーティション2から11まで)実行する。