VAR-SOM-AM33 Yocto NAND Recovery: Difference between revisions
From Variscite Wiki
Line 14: | Line 14: | ||
*Press and hold the boot select switch while powering ON the board<br> | *Press and hold the boot select switch while powering ON the board<br> | ||
*Login as root (no password) | *Login as root (no password) | ||
*From Linux command line, type: "''' | *From Linux command line, type: "'''nand-recovery.sh'''". (This will install Linux on the NAND) | ||
*Unplug the SD card and reboot | *Unplug the SD card and reboot | ||
Revision as of 15:18, 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 (get latest)
- 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: "nand-recovery.sh". (This will install Linux 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).