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
Last revision Both sides next revision
litesom:buildroot:qa [2019/06/24 14:34]
piotr.figlarek [How to install and boot firmware from eMMC memory?]
litesom:buildroot:qa [2019/06/24 14:46]
piotr.figlarek
Line 7: Line 7:
 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:
  
-  - build firmware as described on [[litesom:buildroot|Quick start]],+  - build firmware as described on [[litesom:buildroot|Quick start]].
   - configure liteboard boot switches to "Boot from SD card" mode (see [[litesom:boot_switches|Liteboard boot switches configuration]]),   - configure liteboard boot switches to "Boot from SD card" mode (see [[litesom:boot_switches|Liteboard boot switches configuration]]),
   - boot liteboard with firmware compiled in the first step,   - boot liteboard with firmware compiled in the first step,
Line 13: Line 13:
   - insert USB stick to the liteboard USB A socket,   - insert USB stick to the liteboard USB A socket,
   - mount USB stick,   - mount USB stick,
-  - dsds +  - copy ''sdcard.img'' file to eMMC memory (''/dev/mmcblk1''), 
-  - sds+  - configure liteboard boot switches to "Boot from eMMC memory" mode (see [[litesom:boot_switches|Liteboard boot switches configuration]]),
  
 +<button collapse="program-eMMC">Show steps 5…7</button> 
 +<collapse id="program-eMMC" collapsed="true"><well>
 +
 +**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>
 +
 +</well>
 +</collapse>
  
  • litesom/buildroot/qa.txt
  • Last modified: 2019/06/24 15:02
  • by piotr.figlarek