Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
litesom:buildroot:qa [2019/06/24 14:41]
piotr.figlarek
litesom:buildroot:qa [2019/06/24 15:02] (current)
piotr.figlarek
Line 3: Line 3:
 ===== How to install and boot firmware from eMMC memory? ===== ===== How to install and boot firmware from eMMC memory? =====
  
-This same image (file ``sdcard.img``) created by the Buildroot (see [[litesom:buildroot|Quick start]]) can be installed on liteSOM eMMC memory.+This same image (file ''sdcard.img'') created by the Buildroot (see [[litesom:buildroot|Quick start]]) can be installed on liteSOM eMMC memory.
  
 Below you can find list of steps required it install and boot liteSOM from eMMC memory: Below you can find list of steps required it install and boot liteSOM from eMMC memory:
Line 17: Line 17:
  
 <button collapse="program-eMMC">Show steps 5…7</button>  <button collapse="program-eMMC">Show steps 5…7</button> 
-<collapse id="find-sd-card" collapsed="true"><well> +<collapse id="program-eMMC" collapsed="true"><well> 
-**Method 1**+ 
 +**Step no. 5** 
 + 
 +<code> 
 +[  166.513081] usb 1-1: new high-speed USB device number 2 using ci_hdrc 
 +[  166.755810] usb-storage 1-1:1.0: USB Mass Storage device detected 
 +[  166.773805] scsi host0: usb-storage 1-1:1.0 
 +[  167.853525] random: crng init done 
 +[  167.876991] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 2 
 +[  167.906527] sd 0:0:0:0: [sda] 8212480 512-byte logical blocks: (4.20 GB/3.92 GiB) 
 +[  167.915863] sd 0:0:0:0: [sda] Write Protect is off 
 +[  167.924621] sd 0:0:0:0: [sda] No Caching mode page found 
 +[  167.930288] sd 0:0:0:0: [sda] Assuming drive cache: write through 
 +[  167.959291]  sda: sda1 
 +[  167.975830] sd 0:0:0:0: [sda] Attached SCSI removable disk 
 +</code> 
 + 
 +**Step no. 6** 
 + 
 +<code> 
 +# mkdir /mnt/usb 
 +# mount /dev/sda1 /mnt/usb/ 
 +</code> 
 + 
 +**Step no. 7** 
 + 
 +<code> 
 +# dd if=/mnt/usb/sdcard.img  of=/dev/mmcblk1 bs=4M 
 +21+0 records in 
 +21+0 records out 
 +# sync 
 +</code>
  
-Insert SD cart to PC and check last lines from ''dmesg'' command output. Name assigned to the detected SD card will be presented as in the following example. 
 </well> </well>
 </collapse> </collapse>
  
  • litesom/buildroot/qa.1561387285.txt.gz
  • Last modified: 2019/06/24 14:41
  • by piotr.figlarek