DART-SD410 Android Getting Started: Difference between revisions

From Variscite Wiki
Line 51: Line 51:
The needed OS will start
The needed OS will start


= Overview =
= Start using your VAR-DT410CustomBoard =
 
The objective of this document is to guide DART-SD410 Android developers to obtain Android Lollipop sources, setting up host environment, compilation and deployment.
 
This document contains instructions for:
 
*Hardware and software requirements.
*Setup the hardware.
*Setup the toolchain.
*Download & build the sources.
*Install the binaries on the DART-SD410 SOM.

Revision as of 14:13, 18 January 2016

DART-SD410 - First Time? Start Here.

This WIKI describes:

  • Variscite's FTP tree explanatioon.
  • Switching between Android and Linux.
  • How to start using your VAR-DT410CustomBoard.

Variscite's FTP

The Variscite's FTP directory tree is as following:

dart-sd410
├── Software
│   ├── Android
│   │   ├── LL.1.2.4-01810-8x16.0-3
│   │   └── RescueImages
│   ├── Yocto
│   ├── Ubuntu
│   ├── Windows
│   └── RescueDiskImage
└── Hardware
    ├── Schematics
    ├── Datasheets
    └── Layout

Switching between OSes

In this section each supported OS has it's own subdirectory.
Additional directory named RescueDiskImage holds inside the rescue disk for switching between different OSes.
The partition table of Android and Linux is different and this image will help update the needed partition table.
To use this image it should be burnt into SD Card, to do so please follow:

Preparing rescue SD-Card

  • Plug your SD card to your Linux machine, run dmesg and see what device is added (i.e. /dev/sdX)

Run the following command to write the image file to the SD card

$ sudo dd if=~/Downloads/DART-DT410_sd_rescue.img of=/dev/sdX bs=128k
Change the /dev/sdX with your SC card device.

After the write process is finished run
$ sudo sync
  • Remove the SD card from your PC and insert it into the SD card slot of the VAR-DT410CustomBoard
  • Set Boot Select switch (SW3) to the ON position. This tells the DART-SD410 to boot from external SD card.
  • Cycle the power of the VAR-DT410CustomBoard

After this step the system will read the image from external SD card and boot into a fastboot mode. Now you are ready to burn the correct partiotion table.

  • Navigate to the RescueImages folder of the choosen OS
  • Run flashall script
  • Set Boot Select switch (SW3) to the OFF position. This tells the DART-SD410 to boot from internal eMMC device.
  • Cycle the power of the VAR-DT410CustomBoard

The needed OS will start

Start using your VAR-DT410CustomBoard