Personal tools

Difference between revisions of "Sandbox"

From ICOP tech wiki

Jump to: navigation, search
Line 1: Line 1:
測試用頁面 123
+
<!-- Set release according to "release" parameter in URL and use MORTY_V1.0_DART-6UL as default
 +
--> {{#vardefine:RELEASE_PARAM|{{#urlget:release}}}} <!--
 +
--> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM|RELEASE_MORTY_V1.0_DART-6UL}}}} <!--
 +
--> {{PageHeader|Yocto Recovery SD card}} {{DocImage|category1={{#var:HARDWARE_NAME}}|category2=Yocto|}} __toc__
 +
Variscite provides a recovery SD card image that can be used to install the pre-built U-Boot, Linux kernel and the file system into the internal storage of the SOM.
  
 +
== Download the recovery SD card image ==
 +
Download '''{{#var:RECOVERY_SD_NAME}}''' from Variscite's FTP server: {{#var:RECOVERY_SD_URL}}<br>
 +
See the detailed [{{#var:RELEASE_NOTES_LINK}} Release Notes]
  
abcd
+
{{:Recovery_SD_card_general}}
  
 +
== Recover NAND flash/eMMC ==
 +
* Power-off the board.
 +
* Insert the SD card into the SD card slot of the carrier board (DVK)
 +
* Make sure the Boot Mode is set to SD card: see {{Varlink|Yocto_Build_Release#Setting the Boot Mode|{{#var:RELEASE_LINK}}|Setting the Boot Mode}} section
 +
* Power up the board - it will boot into Linux from the SD card
  
''hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc hello world 1234 5678 aaa bbb ccc''
+
{{#lst:Yocto_Platform_Customization|{{#var:YOCTO_FLASH_SD_FROM_GUI_SECTION}}}}
<br />
 
{| class="wikitable"
 
|+標題
 
!
 
!甲
 
!乙
 
!丙
 
!丁
 
|-
 
|1
 
|
 
|
 
|
 
|
 
|-
 
|2
 
|
 
|
 
|
 
|
 
|-
 
|3
 
|
 
|
 
|
 
|
 
|}<br />123
 
  
456
+
=== Flash from command line ===
 +
* Login as root (no password)
 +
* From Linux command line, run the following script:
 +
<pre>
 +
# install_yocto.sh - Install Yocto to the SOM's internal storage (follow the printed instructions)
 +
</pre>
  
678
+
=== SD card image file tree ===
<br />
+
{{#lst:Yocto_Platform_Customization|{{#var:SD_TREE_SECTION}}}}
 +
 
 +
<pre>
 +
The install_yocto.sh script file is located at /usr/bin/
 +
</pre>

Revision as of 18:08, 6 March 2020

Yocto Recovery SD card


Variscite provides a recovery SD card image that can be used to install the pre-built U-Boot, Linux kernel and the file system into the internal storage of the SOM.

Download the recovery SD card image

Download morty-fslc-4.1.15-mx6ul-v1.0.img.gz from Variscite's FTP server: ftp://customerv:Variscite1@ftp.variscite.com/DART-6UL/Software/fslc
See the detailed Release Notes

Recovery SD card general

Recover NAND flash/eMMC

  • Power-off the board.
  • Insert the SD card into the SD card slot of the carrier board (DVK)
  • Make sure the Boot Mode is set to SD card: see Setting the Boot Mode section
  • Power up the board - it will boot into Linux from the SD card


Flash from GUI

File:DART-6UL Recovery Sumo.png

Touch/Click on the appropriate icon:

  • Install Yocto NAND, WiFi: Flash Yocto with WiFi support to NAND flash
  • Install Yocto NAND, SD card: Flash Yocto with SD card support to NAND flash
  • Install Yocto eMMC (SD/WiFi) : Flash Yocto to eMMC (installs both SD card and WiFi dtbs to the BOOT partition and let U-Boot select between them at boot time)


Flash from command line

  • Login as root (no password)
  • From Linux command line, run the following script:
# install_yocto.sh	- Install Yocto to the SOM's internal storage (follow the printed instructions)

SD card image file tree

/opt/images/
└── Yocto
    ├── imx6ul-var-dart-emmc_wifi.dtb
    ├── imx6ul-var-dart-nand_wifi.dtb
    ├── imx6ul-var-dart-sd_emmc.dtb
    ├── imx6ul-var-dart-sd_nand.dtb
    ├── imx6ull-var-dart-emmc_wifi.dtb
    ├── imx6ull-var-dart-nand_wifi.dtb
    ├── imx6ull-var-dart-sd_emmc.dtb
    ├── imx6ull-var-dart-sd_nand.dtb
    ├── rootfs.tar.gz
    ├── rootfs.ubi
    ├── SPL-nand
    ├── SPL-sd
    ├── u-boot.img-nand
    ├── u-boot.img-sd
    └── zImage


The install_yocto.sh script file is located at /usr/bin/