Changes

Jump to: navigation, search

Axel Embedded Linux Kit (XELK)

1,504 bytes added, 11:51, 11 May 2018
Binary images on SD card
===Kit registration===
{{ImportantMessage|text='''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 [mailto:support-axel@dave.eu support-axel@dave.eu], [[Development_Kits_Identification_Codes|providing the kit P/N and S/N]].}} If you also wish to access git repositories containing source code, please follow the procedure described [[Accessing_DAVE_Embedded_Systems_restricted_git_repositories|here]].
If you also wish to access git repositories containing source code, please follow the procedure described [[Accessing_DAVE_Embedded_Systems_restricted_git_repositories|here]].}}
===Target setup and first boot===
This section describes how to quick start the AxelEVB board delivered along with XELK kit (see also the following image). The hardware setup is the same for AxelUltra and AxelLite SOMs.
The microSD provided with the XELK can be used to boot the system, since it contains a bootable partition (<code>mmcblk0p1</code>) and a root file system partition (<code>mmcblk0p2</code>).
#Insert the MicroSD card provided with the development kit into the microSD slot
#Connect the 12Vcc 12V power supply to the JP2 socket on the DACU board#(optional) To access the serial console:#*Connect a serial cable between the J251 connector on the DACU board and PC COM port through a NULLnull-modem (https://en.wikipedia.org/wiki/Null_modem) cable (not provided)#(optional) start *Start your favorite terminal software on PChist side; communication parameters are:#**Baud rate: 115200 Bps#**Data bits: 8#**Stop bits: 1#**Parity: none#(optional) to To connect the system to Ethernet LAN, please plug cable on connector J6 connector of the AXELEVB-LiteThe By default, the system is configured to boot automatically from the SD microSD card when powered up. ===Binary images on SD card===XELK SD card contains all binary images required for booting the system completely from kernel/dtb (stored on first SD <code>fat</code> card partition) to <code>ext3</code> root file system (stored on second SD card partition). Once you got the new binaries compiled from your modified sources, they have to be installed on first SD partition preserving the original file names used into <i>boot.scr</i> u-boot bootscript. Otherwise, you may create a new '''boot.scr''' file using different file names. Here below there is an example on how to create a boot.scr file for booting from SD card: The '''bootscript.txt''' is the text version of the <i>boot.scr</i> file: <pre>echo 'bootscript generated with command "mkimage -A ARM -T script -C none -n XELK -d bootscript.txt boot.scr"'
<pre class="mwsetenv fdtfile imx6q-collapsible mwxelk-collapsed">l.dtbsetenv bootfile uImage setenv mmc_loadk 'fatload mmc ${mmcdev}:1 ${loadaddr} ${bootfile}'setenv mmc_loadfdt 'fatload mmc ${mmcdev}:1 ${fdtaddr} ${fdtfile}'setenv mmcboot 'run mmc_loadk mmc_loadfdt mmcargs addip addcons addmisc adddisp0; bootm ${loadaddr} - ${fdtaddr}' echo Booting AxelLite-XELK via mmcboot run mmcboot echo mmcboot FAILURE
</pre>
 
and compile it using:
 
<pre>
mkimage -A ARM -T script -C none -n XELK -d bootscript.txt boot.scr
</pre>
 
Then copy the kernel, dtb and boot.scr into the SD card first partion (the FAT one) and boot XELK with the new images.
==Related Documents ==
8,154
edits

Navigation menu