SDV04 Embedded Linux Kit (SDVX)

From DAVE Developer's Wiki
Revision as of 08:56, 5 September 2018 by U0013 (talk | contribs)

Jump to: navigation, search

Quick start guide[edit | edit source]

This chapter describes how to start working with the SDVX kit quickly. The following paragraphs will guide you through the setup and installation procedures.

Kit registration[edit | edit source]

200px-Emblem-important.svg.png

Customers are strongly recommended to register their kits. Registration grants access to reserved material such as source code and additional documentation.

To register the kit, please send an email to [1], providing the kit P/N and S/N.

If you also wish to access git repositories containing source code, please follow the procedure described here.

Target setup and first boot[edit | edit source]

This section describes how to quickly start SDV04 board delivered along with SDVX kit (see also the following image):

  • Connect a serial cable between the J8 connector on the SDV04 board and PC COM port through a null-modem (https://en.wikipedia.org/wiki/Null_modem) cable (not provided)
  • on host side start your favorite terminal that will be used to interact with the target's serial console; communication parameters are 115200-8-N-1
  • optionally connect the system to Ethernet LAN by plugging the cable into connector J10
  • connect the 12V power supply to the J35 connector; J16 pinout is:
    • 1: GND
    • 2: VIN
  • insert microSD card in the slot J13.
Target setup for first boot

Once power is applied to the target, the U-Boot bootloader will be fetched from the NAND flash and executed. Boot messages will be printed out to the serial console. Redundant U-Boot environment is stored in the NAND flash as well, as depicted in the following image.

microSD partition table

By default, U-Boot is configured to retrieve Linux kernel image stored in the microSD card. In turn, Linux kernel shall mount the correct root file system from the microSD card depending on the version of the board one is using. For the lite version, the root file system is stored in the mmcblk0p2 partition, while the ul uses the mmcblk0p3 partition. At the end of the boot process, Linux shell shall be available on the serial console.

The following dump shows the typical messages printed out to the console during the bootstrap process.

Host setup[edit | edit source]

Target configuration for the development stage (net_nfs)[edit | edit source]

Target configuration for standalone boot[edit | edit source]

How to update root file system on SD card[edit | edit source]

Update rfs on target[edit | edit source]

Update rfs on a Linux PC[edit | edit source]

Developing the software for the target[edit | edit source]