VAR-SOM-AM33 Yocto NAND Recovery: Difference between revisions
From Variscite Wiki
(Created page with "= NAND Recovery = As an easy and fast way to recover the VAR-SOM-AM33 NAND flash, Variscite provides a recovery SD card image that can be used to install the pre-built Linux...") |
No edit summary |
||
Line 6: | Line 6: | ||
*Plug your SD card to your Linux machine, run dmesg and see what device is added (i.e. /dev/sd<span style="color: rgb(255, 0, 0);">'''X'''</span>) | *Plug your SD card to your Linux machine, run dmesg and see what device is added (i.e. /dev/sd<span style="color: rgb(255, 0, 0);">'''X'''</span>) | ||
*gunzip am33-som-nand-recovery-sd. | *gunzip am33-som-nand-recovery-sd.vX.img.gz | ||
*dd if=am33-som-nand-recovery-sd. | *dd if=am33-som-nand-recovery-sd.vX.img of=/dev/sd<span style="color: rgb(255, 0, 0);">'''X'''</span> bs=128k | ||
'''Recover Nand Flash''' | '''Recover Nand Flash''' |
Revision as of 14:25, 6 October 2015
NAND Recovery
As an easy and fast way to recover the VAR-SOM-AM33 NAND flash, Variscite provides a recovery SD card image that can be used to install the pre-built Linux and Android systems.
This SD card image includes a script (nand-recovery.sh) that installs all the boot images and root file-system.
Preparing rescue SD-Card
- Plug your SD card to your Linux machine, run dmesg and see what device is added (i.e. /dev/sdX)
- gunzip am33-som-nand-recovery-sd.vX.img.gz
- dd if=am33-som-nand-recovery-sd.vX.img of=/dev/sdX bs=128k
Recover Nand Flash
- Insert the SD card into the SD/MMC slot of the custom board
- Press and hold the boot select switch while powering ON the board
- Login as root (no password)
- From Linux command line, type: "android-nand-recovery.sh -o Android". (This will install Android on the NAND)
- Unplug the SD card and reboot
NAND recovery script usage:
usage: /sbin/nand-recovery.sh options This script install Linux/Android binaries in VAR-SOM-AM33 NAND. OPTIONS: -h Show this message -o <Linux|Android> OS type (defualt: Linux). -c Install kernel with capacitive touchscreen support (defualt: no).