Changes

Jump to: navigation, search

How to create a bootable microSD card (XELK)

7 bytes removed, 08:40, 24 January 2020
no edit summary
|-
|}
 
Please use this [https://wiki.dave.eu/index.php/How_to_create_a_bootable_microSD_card_(XUELK) page] for older releases.
{{ImportantMessage|text=The procedure described here was tested with a physical machine. In case of a virtual machine such as the [[Managed_Virtual_Machine_(MVM)|MVM]], it might not work properly. Also, it is worth remembering that USB controller of the MVM is disabled by default. See also [[MVM_FAQs#Q:_How_to_use_the_USB_devices_connected_to_the_host_machine.3F|this section]].}}
This article shows how to create a bootable microSD for the [[Axel_Embedded_Linux_Kit_(XELK)#XELK_4.0.0|XELK-4.0.0]] kit by using a simple bash script. <br>
'''Note:''' Starting from this release the support for the SPL has been introduced in Uboot. Previous versions of this script will no longer produce a fully functional and bootable microSD card. <br>
Please use this [https://wiki.dave.eu/index.php/How_to_create_a_bootable_microSD_card_(XUELK) script] for older releases.
The procedure has been tested on a Linux PC running Ubuntu LTS (>=16.04) distribution with
</pre>
Here is an example that shows how to use this script. Let's assume that the binary files were downloaded in the <code>xuelk-4.0.0</code> subdirectory of the working directory. Before invoking the script, the following files has to be renamed in order to make them compatible with the default U-Boot environment variables:*bootscript: <code>boot.scr</code>*Linux kernel: <code>uImage</code>*Device tree blob: <code>imx6ul-sbcx.dtb</code>.
This is the list of the binary files that will be used by the script:
<pre>
</pre>
Once created, the SD card can be inserted into the [[Axel_Embedded_Linux_Kit_(XELK) | XELK]] or [[:Category:SBC-AXEL | SBCX]] kit: the <code>boot.scr</code> script will recognize the proper Carrier board and then it will select the related device tree file.
[1] In case you have a different size, you'll need to change the <code>sfdisk</code> parameters accordingly.
8,154
edits

Navigation menu