Open main menu

DAVE Developer's Wiki β

Changes

no edit summary
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Feb 2022
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|First DESK-MX8M-L release
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|2.0.0
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|Feb 2023
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#edf8fb; padding:5px; color:#000000"|DESK-MX8M-L-2.0.0 release
|-
|}
The procedure has been tested on a Linux PC running Ubuntu LTS (>=16.04) distribution with
*a 16 GB microSD card [1]
*the binary files delivered along with the [[DESK-MX8M-L/General/Release_Notes#Downloadable_binary_images|DESKMX8M-L 2.0.0-rc2]].
The resulting card is partitioned as depicted [[ORCA_SOM/ORCA_Evaluation_Kit/Getting_started/Unboxing#microSD_Layout|here]].
echo "[Done]"
</pre>
Attention, if you are making a uSD for MITO 8M Mini SOM, then the last line must be modified with <code>dd if=$BOOT of=$DRIVE bs=1k seek=33</code>
Here is an example that shows how to use this script. Let's assume that the binary files were downloaded in the <code>sdcard</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>Image</code>
* Device tree blob: <code>imx8mp-mito8mplus-cb1001cb1008.dtb</code> or <code>imx8mm-mito8mmini.dtb</code>
This is the list of the binary files that will be used by the script:
-rw-r--r-- 1 dvdk dvdk 28150272 Feb 16 09:35 Image
-rw-r--r-- 1 dvdk dvdk 40521 Feb 16 09:35 imx8mm-mito8mmini.dtb
-rw-r--r-- 1 dvdk dvdk 58111 Feb 16 09:35 imx8mp-mito8mplus-cb1001cb1008.dtb
dvdk@vagrant:~/desk-mx-l/sdcard$
</pre>
'binaries/Image' -> '/mnt/Image'
'binaries/imx8mm-mito8mmini.dtb' -> '/mnt/imx8mm-mito8mmini.dtb'
'binaries/imx8mp-mito8mplus-cb1001cb1008.dtb' -> '/mnt/imx8mp-mito8mplus-cb1001cb1008.dtb'
[Extracting rfs (this may take a while...)]
[Programming flash.bin]
echo 'bootscript generated with command "mkimage -A ARM -T script -C none -n DESK-MX8M -d bootscript.txt boot.scr"'
setenv fdtfile imx8mp-mito8mplus-cb1001cb1008.dtb
setenv bootfile Image
setenv mmc_loadk 'fatload mmc ${sd_dev}:1 ${loadaddr} ${bootfile}'
dave_user
417
edits