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:quick_start [2017/02/04 19:32]
filug [Run firmware on liteSOM]
litesom:buildroot:quick_start [2019/06/24 14:59] (current)
piotr.figlarek
Line 1: Line 1:
-====== Buildroot and liteSOM - quick start ====== +====== Quick start ======
- +
-<alert type="info"> +
-[[:liteSOM:about|liteSOM]] is supported by the [[https://buildroot.org|Buildroot]] since [[https://git.buildroot.net/buildroot/plain/CHANGES?id=2016.11-rc1|2016.11]] release. +
-</alert>+
  
 ===== Download Buildroot sources ===== ===== Download Buildroot sources =====
Line 10: Line 6:
  
   * download [[https://buildroot.org/download.html|stable release]] from [[https://buildroot.org/downloads/]],   * download [[https://buildroot.org/download.html|stable release]] from [[https://buildroot.org/downloads/]],
-  * clone latest from FIXME ''git.buildroot.net/buildroot'' repository.+  * clone latest from [[https://git.buildroot.net/buildroot]] repository.
  
-We recommends to use always the latest **stable** release. \\+We recommends to use always **the latest stable** release.\\
 Below we will use stable release [[https://buildroot.org/downloads/buildroot-2016.11.2.tar.gz|2016.11.2]]. Below we will use stable release [[https://buildroot.org/downloads/buildroot-2016.11.2.tar.gz|2016.11.2]].
  
Line 52: Line 48:
 <alert type="danger">Make certain that ''of=...'' points to your SD card. In case of mistake (when ''of=...'' points to your system disk) you can damage data on your system disk.</alert> <alert type="danger">Make certain that ''of=...'' points to your SD card. In case of mistake (when ''of=...'' points to your system disk) you can damage data on your system disk.</alert>
  
-<accordion> +<button collapse="find-sd-card">Show how to find SD card</button>  
-<panel title="Check how to find SD card device ...">+<collapse id="find-sd-card" collapsed="true"><well>
 **Method 1** **Method 1**
  
Line 87: Line 83:
 <code> <code>
 sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 bs=4M sudo dd if=output/images/sdcard.img of=/dev/mmcblk0 bs=4M
-</code>    +</code> 
-</panel+</well
-</accordion>+</collapse>
  
 ===== Run firmware on liteSOM ===== ===== Run firmware on liteSOM =====
Line 95: Line 91:
 Insert programmed SD card to the [[litesom:liteboard]] card socket. Insert programmed SD card to the [[litesom:liteboard]] card socket.
  
-Configure [[:litesom:boot switches]] as presented below. +Configure [[:litesom:boot switches]] to boot liteSOM from SD card.
-<grid><col sm="7"><well> +
-^  BMODE0  ^  BMODE1  ^  BT_CFG1[7]  ^  BT_CFG1[6]  ^  BT_CFG1[5]  ^  BT_CFG2[3] +
-|          |    ON    |              |      ON      |              |              | +
-|   OFF    |          |     OFF      |              |     OFF      |     OFF      | +
-^        ^        ^      3            4                  ^            ^ +
-</well></col></grid>+
  
 Connect your [[litesom:liteboard]] to your PC via USB ↔ micro USB cable. Connect your [[litesom:liteboard]] to your PC via USB ↔ micro USB cable.
Line 107: Line 97:
 [[litesom:liteboard]] will be automatically powered-up and on debug console you should see starting Linux, as presented below. [[litesom:liteboard]] will be automatically powered-up and on debug console you should see starting Linux, as presented below.
  
 +<button collapse="log">Show log</button> 
 +<collapse id="log" collapsed="true">
 <code> <code>
 U-Boot SPL 2016.09.01 (Feb 04 2017 - 20:06:45) U-Boot SPL 2016.09.01 (Feb 04 2017 - 20:06:45)
Line 359: Line 351:
 buildroot login:  buildroot login: 
 </code> </code>
 +</collapse>
  
 +With default configuration you can log as a ''root'' (no password needed) and start to use your [[litesom::liteboard]].
  • litesom/buildroot/quick_start.1486236755.txt.gz
  • Last modified: 2017/02/04 19:32
  • by filug