Debian Recovery SD card: Difference between revisions
(Created page with "{{PageHeader|DART-MX8M - Debian recovery SD card}} {{DocImage|category1=DART-MX8M|category2=Debian}} Variscite provides a recovery SD card image that can be used to install th...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | <!-- Set release according to "release" parameter in URL and use RELEASE_STRETCH_V1.0_DART-MX8M as default | ||
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!-- | |||
--> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_STRETCH_V1.0_DART-MX8M}}}} <!-- | |||
-->{{PageHeader|{{#var:HARDWARE_NAME}} - Debian recovery SD card}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Debian}} | |||
Variscite provides a recovery SD card image that can be used to install the pre-built Debian images into the internal storage device of the SOM. | Variscite provides a recovery SD card image that can be used to install the pre-built Debian images into the internal storage device of the SOM. | ||
Revision as of 00:05, 20 June 2019
Variscite provides a recovery SD card image that can be used to install the pre-built Debian images into the internal storage device of the SOM.
Download the recovery SD card image
Download mx8m-dart-debian-recovery-sd.vXX.img.gz (latest) from Variscite's FTP server: ftp://customerv:Variscite1@ftp.variscite.com/DART-MX8M/Software/debian/
Write the image to an SD card
Using a Linux based host
Plug-in the SD card to your Linux HOST PC, run dmesg and see which device is added (i.e. /dev/sdX or /dev/mmcblkX)
$ gunzip mx8m-dart-debian-recovery-sd.vXX.img.gz $ sudo umount /dev/sdX* $ sudo dd if=mx8m-dart-debian-recovery-sd.vXX.img of=/dev/sdX bs=1M; sync (Replace /dev/sdX with your actual device)
Using a Windows based host
Download Win32 Disk Imager from: https://sourceforge.net/projects/win32diskimager/, install and run it.
Select the image file, and the SD card device - double check that the device is correct to avoid accidentally overwriting a different device.
Click on "Write".
No need to format the SD card before writing the image to it.
Recover NAND flash/eMMC
- Power-off the board.
- Insert the SD card into the SD card slot of the carrier board (DVK)
- Make sure the Boot DIP switches are set to SD card: Setting the Boot Mode
- Power up the board - it will boot into Linux from the SD card
Flash from command line
- Login as root (password root)
- From Linux command line, type the following
$ debian-emmc.sh - Flash Debian into eMMC
SD card image file tree
/opt/images/ └── Debian ├── rootfs.tar.gz └── imx-boot-sd.bin
The debian-emmc.sh script file is located at /usr/sbin/