VAR-SOM-MX6 Ubuntu NAND Recovery: Difference between revisions
From Variscite Wiki
(Created page with "Variscite provides a recovery SD-card image that can be used to install the pre-built U-Boot, Linux kernel and the eMMC root file system into the Nand-Flash This SD card imag...") |
|||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{PageHeader|VAR-SOM-MX6 - Ubuntu Linaro Alip-20151215 NAND Recovery}} {{DocImage|category1=VAR-SOM-MX6|category2=Alip}} __toc__ | |||
{{note|Note:<br/>Under construction!!! Under construction!!! Under construction!!!|info}} | |||
Variscite provides a recovery SD-card image that can be used to install the pre-built U-Boot, Linux kernel and the eMMC root file system into the Nand-Flash | Variscite provides a recovery SD-card image that can be used to install the pre-built U-Boot, Linux kernel and the eMMC root file system into the Nand-Flash | ||
This SD card image includes a script (ub-emmc.sh) that installs all the boot images and root file-system. | This SD card image includes a script (ub-emmc.sh) that installs all the boot images and root file-system. | ||
Line 5: | Line 9: | ||
* Plug-in the supplied SD card to your Linux HOST PC, run dmesg and see which device is added (i.e. /dev/sdX or /dev/mmcblk0) | * Plug-in the supplied SD card to your Linux HOST PC, run dmesg and see which device is added (i.e. /dev/sdX or /dev/mmcblk0) | ||
* Download linaro-alip-20151215- | * Download linaro-alip-20151215-v3.img.gz ( latest which is available on Variscite's FTP) | ||
<pre>$ gunzip linaro-alip-20151215- | <pre>$ gunzip linaro-alip-20151215-v3.img.gz | ||
$ sudo dd | $ sudo dd if=linaro-alip-20151215-v3.img of=/dev/sdX bs=1M | ||
Replace /dev/sdX with your true device, You can find it with dmesg. | Replace /dev/sdX with your true device, You can find it with dmesg. | ||
</pre> | </pre> | ||
Line 42: | Line 46: | ||
├── imx6q-var-som.dtb | ├── imx6q-var-som.dtb | ||
├── imx6q-var-som-vsc.dtb | ├── imx6q-var-som-vsc.dtb | ||
├── linaro-alip-20151215- | ├── linaro-alip-20151215-v3.tar.bz2 | ||
├── mmcblk1p1 | ├── mmcblk1p1 | ||
├── SPL | ├── SPL |
Latest revision as of 06:51, 19 January 2016
VAR-SOM-MX6 - Ubuntu Linaro Alip-20151215 NAND Recovery
Note:
Under construction!!! Under construction!!! Under construction!!!
Under construction!!! Under construction!!! Under construction!!!
Variscite provides a recovery SD-card image that can be used to install the pre-built U-Boot, Linux kernel and the eMMC root file system into the Nand-Flash This SD card image includes a script (ub-emmc.sh) that installs all the boot images and root file-system.
Preparing rescue SD-Card:
- Plug-in the supplied SD card to your Linux HOST PC, run dmesg and see which device is added (i.e. /dev/sdX or /dev/mmcblk0)
- Download linaro-alip-20151215-v3.img.gz ( latest which is available on Variscite's FTP)
$ gunzip linaro-alip-20151215-v3.img.gz $ sudo dd if=linaro-alip-20151215-v3.img of=/dev/sdX bs=1M Replace /dev/sdX with your true device, You can find it with dmesg.
Recover Nand Flash
- Power-off the board.
- Insert the SD card into the SD/MMC slot of the carrier board (DVK)
- Press and hold the boot-select button, and power-on the board while button is pressed
- The board will automatically boot into Linux from SD-Card
Flash from command line
- System is at aluologin mode no password required/
- From Linux command line, type one of flash options
$ cd rootfs/opt/images/Alip/ $ ./ub-emmc.sh
- in case of yocto-emmc.sh, change boot arguments to :
$ setenv bootargs console=ttymxc0,115200 video=mxcfb1:off root=/dev/mmcblk1p1 rootwait rw $ saveenv
SDCARD image file tree
opt/ └── images └── Alip ├── imx6dl-var-som.dtb ├── imx6dl-var-som-solo.dtb ├── imx6dl-var-som-solo-vsc.dtb ├── imx6q-var-dart.dtb ├── imx6q-var-som.dtb ├── imx6q-var-som-vsc.dtb ├── linaro-alip-20151215-v3.tar.bz2 ├── mmcblk1p1 ├── SPL ├── ub-emmc.sh ├── u-boot.img └── uImage 3 directories, 11 files