Open main menu

DAVE Developer's Wiki β

Changes

DESK-XZ7-L/Deployment/Standalone boot

33 bytes removed, 25 January
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:#73B2C7; padding:5px; color:white"|Notes
|-
|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|{{oldid|17164|2022/11/22}}|style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededededf8fb; padding:5px; color:#000000"|DESK-XZ7-L-1.0.0-rc1 release
|-
|!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000"|2023/01/23|!style="border-left:solid 2px #73B2C7; border-right:solid 2px #73B2C7;border-top:solid 2px #73B2C7; border-bottom:solid 2px #73B2C7; background-color:#ededed; padding:5px; color:#000000"|DESK-XZ7-L-1.0.1 release
|-
|}
<section end=History/>
__FORCETOC__
<section begin=Body/>
==Standalone boot==
 
=== Introduction ===
This document was written and tested with the software/hardware combination described in the history table above. However, it contains general concepts that can be adapted to any DAVE Embedded Systems' Linux platform.
** in this configuration the primary boot images and rootfs will be fetched from NAND flash storage
=== Program boot images into internal storage ======= Program the Quad-SPI NOR flash ====
This chapter is compatible with ''Bora''[[BORA SOM | BORA]], ''Boralite'' [[BORA Xpress SOM | BORA Xpress]] and ''BoraX'' [[BORA Lite SOM | BORA Lite]] platforms, but below there is log for ''BoraX'' platformBORA Xpress SOM.
First of all, create a bootable microSD card as described [[DESK-XZ7-L/Development/Creating_and_building_the_Petalinux_project#Petalinux_build | here]]. Alternatively you can download binaries from [https://mirror.dave.eu/desk-xz-l/ mirror] and install it on microSD or into <code>tftpboot</code> directory in your host device.
</pre>
=====Programming Quad-SPI NOR flash from microSD=====
* Initialize and format Quad-SPI NOR flash memory
</pre>
=====Programming Quad-SPI NOR flash from ethernet=====
* Initialize and format Quad-SPI NOR flash memory
</pre>
==== Program the NAND flash ==== This chapter is compatible with [[BORA Lite SOM | BORA Lite]] SOM.
This chapter is compatible First of all, create a bootable microSD card as described [[DESK-XZ7-L/Development/Creating_and_building_the_Petalinux_project| here]] with ''Boralite'' platform<code>config_boralite_nand_usd</code> configuration file, and install <code>wic</code> binary on microSD. Then create artifact to install on NAND flash with <code>config_boralite_nand</code> configuration file, as described [[DESK-XZ7-L/Development/Creating_and_building_the_Petalinux_project| here]], and save the <code>BOOT.BIN</code> and <code>dave-image-devel-zynq-generic.tar.gz</code> artifact into the first partition of microSD.
First of all, create a bootable microSD card as described [[DESK-XZ7-L/Development/Creating_and_building_the_Petalinux_project#Petalinux_build | here]] with <code>config_boralite_nand_usd</code> configuration file, and install <code>wic</code> binary on microSD. Then create artifact to install on NAND flash with <code>config_boralite_nand</code> configuration file, as described [[DESK-XZ7-L/Development/Creating_and_building_the_Petalinux_project#Petalinux_build | here]], and save the <code>BOOT.BIN</code> and <code>dave-image-devel-zynq-generic.tar.gz</code> artifact into the first partition of microSD. In this case <code>BOOT.BIN</code> binary that came from to <code>config_boralite_nand_usd</code> and <code>config_boralite_nand</code> are different, so save it with different name. Alternatively you can download binaries from [https://mirror.dave.eu/desk-xz-l/ mirror] and install on microSD.
In this case Then, install the following files into the microSD first partition of microSD you need to install the following file:
* <code>BOOT.BIN</code>. This binary come from to <code>config_boralite_nand_usd</code> configuration file, and need to install on uSDmicroSD
* <code>boot.scr</code>
* <code>desk-xz7-l-1.0.1_boralite_nand_BOOT.BIN.EXTENDED</code>. This binary come from to <code>config_boralite_nand</code> configuration file, and need has to install be installed on NAND flash
* <code>desk-xz7-l-1.0.1_boralite_nand_dave-image-devel-zynq-generic.tar.gz</code>
* <code>image.ub</code>
Let's see how to program binary into ==== Programming NAND flash memoryfrom microSD ====
* Delete delete all partition on NAND flash memory
<pre class="workstation-terminal">
root@boralite:~# for i in $(seq 0 2); do sudo flash_erase /dev/mtd$i 0 0; done
Erasing 128 Kibyte @ 15e0000 -- 100 % complete
Erasing 128 Kibyte @ 20000 -- 100 % complete
</pre>
* Install install <code>BOOT.BIN</code> on NAND flash memory
<pre class="workstation-terminal">
</pre>
* Install install <code>dave-image-devel-zynq-generic.tar.gz</code> rootfs on NAND flash memory
<pre class="workstation-terminal">
</pre>
----<section end=Body/>
[[Category:BORA]]
8,226
edits