75XX Offboard Flash: Difference between revisions
From embeddedTS Manuals
(Created page with "This needs to be done directly on the SBC. You can find the latest SPI image [ftp://ftp.embeddedarm.com/ts-arm-sbc/ts-7500-linux/binaries/ts-images/4mb-spiflash-latest.dd.bz2 he...") |
m (Links auto-updated for 2022 re-branding ( https://files.embeddedarm.com/ts-arm-sbc/ts-7500-linux/binaries/ts-images/4mb-spiflash-latest.dd.bz2 → https://files.embeddedTS.com/ts-arm-sbc/ts-7500-linux/binaries/ts-images/4mb-spiflash-latest.dd.bz2)) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
This needs to be done directly on the SBC. You can find the latest SPI image [ | This needs to be done directly on the SBC. You can find the latest SPI image [https://files.embeddedTS.com/ts-arm-sbc/ts-7500-linux/binaries/ts-images/4mb-spiflash-latest.dd.bz2 here]. Make sure you decompress the image first before writing. | ||
'''Backup''' | '''Backup''' | ||
Entire SPI flash | |||
<source lang=bash> | |||
spiflashctl -l 1 -R 64 -z 65536 > spiflash.dd | |||
</source> | |||
Kernel | |||
<source lang=bash> | |||
spiflashctl -l 1 -R 4095 -z 512 -k part1 > /temp/zImage | |||
</source> | |||
Initrd | |||
<source lang=bash> | <source lang=bash> | ||
spiflashctl -l | spiflashctl -l 1 -R 32 -z 65536 -k part2 > /temp/initrd | ||
</source> | </source> | ||
'''Restore''' | '''Restore''' | ||
Entire SPI flash | |||
<source lang=bash> | |||
spiflashctl -l 1 -W 64 -z 65536 -i /path/to/4mb-spiflash-latest.dd | |||
</source> | |||
Kernel | |||
<source lang=bash> | |||
spiflashctl -l 1 -W 4095 -z 512 -k part1 -i /temp/zImage | |||
</source> | |||
Initrd | |||
<source lang=bash> | <source lang=bash> | ||
spiflashctl -l 1 -W 32 -z 65536 -k part2 -i /temp/initrd | |||
</source> | </source> |
Latest revision as of 16:27, 17 January 2022
This needs to be done directly on the SBC. You can find the latest SPI image here. Make sure you decompress the image first before writing.
Backup
Entire SPI flash
spiflashctl -l 1 -R 64 -z 65536 > spiflash.dd
Kernel
spiflashctl -l 1 -R 4095 -z 512 -k part1 > /temp/zImage
Initrd
spiflashctl -l 1 -R 32 -z 65536 -k part2 > /temp/initrd
Restore
Entire SPI flash
spiflashctl -l 1 -W 64 -z 65536 -i /path/to/4mb-spiflash-latest.dd
Kernel
spiflashctl -l 1 -W 4095 -z 512 -k part1 -i /temp/zImage
Initrd
spiflashctl -l 1 -W 32 -z 65536 -k part2 -i /temp/initrd