VAR-SOM-SD600 fastboot: Difference between revisions

From Variscite Wiki
No edit summary
No edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
== General information ==
== General information ==


Qualcomm's propietary bootloaders (SBLs) can not be shared with customers Bad installation of either SBLs or LK bootloader (fastboot), will result in sending SOM back to Variscite for an RMA procedure.
Boot sequence and partition table consist of:


== Pre-built package ==
#Qualcomm's proprietary bootloaders (SBLs). Reside in the first partitions
#LK bootloader (fastboot)
#Kernel
#Android FS


*Plug-in the supplied SD card to your Linux machine, run dmesg and see which device is added (i.e. /dev/sdX or /dev/mmcblk0)
<span style="color:#ff0000;">Note</span>: Bad installation of either SBLs or LK bootloader (fastboot), will result in sending SOM back to Variscite for an RMA procedure.
*Download mx6qd-som-nand-recovery-sd.v23.img.gz (or latest which is available on Variscite's FTP)
*For the Dual lite download mx6dl-som-nand-recovery-sd.v23.img.gz
*For the Solo download mx6solo-som-nand-recovery-sd.v23.img.gz
<pre>$ gunzip mx6qd-som-nand-recovery-sd.v23.img.gz
$ sudo dd if=mx6qd-som-nand-recovery-sd.v23.img of=/dev/sdX bs=128k
</pre>
== Recover Nand Flash: ==


*Insert the SD card into the SD/MMC slot of the custom board
== Pre-built package ==
*Press and hold the boot-select button, power-off and power-on the board
*The board will automatically boot into Linux from SD-Card


- boot.img: Linux Kernel + Ramdisk boot
- cache.img: Android Cache partition
- emmc_appsboot.mbn: Fastboot bootloader
- flashall.sh: A script to flash images over fastboot
- persist.img: Android persist partition
- recovery.img: Recovery image
- system.img: Android system partition
- userdata.img: Android data partition


== Flashing pre-built binaries to eMMC flash-storage ==


=== Flash from GUI ===
Execute the fastboot script
<pre>$cd /path to prebuilt imagages folder
$sudo ./flashall
</pre>
<br/>The following should be displayed on ubuntu host:




Line 26: Line 33:




*Press the right arrow on the upper right corner to change the desktop into Utilities.




Line 32: Line 38:




<pre>"waiting for device"
</pre>
Connect device to PC:


*Press and hold the fastboot button
*Power up the device, or press the reset button
*Connect the OTG cable to PC


*Push FlashAndroid or FlashYocto icon.
The following should be displayed on the host Ubuntu:
 
 
 
=== Flash from command line ===


*Login as root (no password)
<br/>The following should be displayed on ubuntu host:
*From Linux command line, type: "nand-recovery.sh" (This will install Yocto/Linux on the NAND)
<br/><br/><br/><br/><br/><pre>"connected"
*To install Android type: "nand-recovery.sh -o Android".
</pre><br/><br/> <br/><br/><br/><br/><br/> <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/> <br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
*Reboot and Unplug the SD card

Latest revision as of 15:20, 30 April 2014

General information

Boot sequence and partition table consist of:

  1. Qualcomm's proprietary bootloaders (SBLs). Reside in the first partitions
  2. LK bootloader (fastboot)
  3. Kernel
  4. Android FS

Note: Bad installation of either SBLs or LK bootloader (fastboot), will result in sending SOM back to Variscite for an RMA procedure.

Pre-built package

- boot.img: Linux Kernel + Ramdisk boot
- cache.img: Android Cache partition
- emmc_appsboot.mbn: Fastboot bootloader
- flashall.sh: A script to flash images over fastboot
- persist.img: Android persist partition
- recovery.img: Recovery image
- system.img: Android system partition
- userdata.img: Android data partition 

Flashing pre-built binaries to eMMC flash-storage

Execute the fastboot script

$cd /path to prebuilt imagages folder
$sudo ./flashall


The following should be displayed on ubuntu host:






"waiting for device"

Connect device to PC:

  • Press and hold the fastboot button
  • Power up the device, or press the reset button
  • Connect the OTG cable to PC

The following should be displayed on the host Ubuntu:


The following should be displayed on ubuntu host:






"connected"