User Tools

Site Tools


tutorials:dvk521:documentations:writing_linaro_system_into_sd_card

Differences

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

Link to this comparison view

tutorials:dvk521:documentations:writing_linaro_system_into_sd_card [2013/11/21 14:29]
waveshare
tutorials:dvk521:documentations:writing_linaro_system_into_sd_card [2013/12/23 14:50] (current)
Line 1: Line 1:
-====== ​Dvk521 User Manual ​======+====== ​Writing Linaro System into SD Card ====== 
 +Note: 
 +linaro-precise-alip-201204 is used for demonstration. After the system was written into SD card, the default Linux kernel version is 3.0. We'll upgrade it to 3.4.61 later on the Linux kernel porting section.
  
-<WRAP noprint><​WRAP left box 60%> +===== Format the SD Card ===== 
-//__About this Article__// +format the SD card by using [[http://dl.cubieboard.org/parteners/waveshare/Software/HPUSBDisk.exe|HPUSBDisk.exe]]
-  * **Author**: ​waveshare ​--- services@waveshare.net --- 2013/11/21 11:05 +
-</​WRAP></​WRAP>​+
  
-===== Development Environment Setup ===== +===== Writing Linaro System into SD Card ===== 
-What to do: install ubuntu on the computer hard drive by using [[https://wiki.ubuntu.com/​WubiGuide|wubi.exe]] +1. Insert the SD card to your computer, it will be detected and mounted under the /mediadirectoryEnter the following command ​on the terminal to unmount all the devices: 
-Default System: WIN7 32 bit +  # sudo umount ​ /​media/​*  ​
-(Note: it's possible to install ​the ubuntu12.04 ​on virtual machine, however, some wired problems may occur when burning ​the image into the SD card)+
  
 +2. Find out the SD card device name on your system, say, sdc or sdc1. We assume that the device name is sdc here. 
 +    ​
 +3. 
  
-===== ubuntu Basic Commands ===== +Option 1:
-Update software source: +
-== # sudo apt-get upgrade ==  +
-== # sudo apt-get install update ==  +
-Install text editor vim: +
-== # sudo apt-get vim == +
  
 +Copy the [[http://​dl.cubieboard.org/​parteners/​waveshare/​Source_Code/​|sunxi-bsp]] to ubuntu system. Enter the sunxi-bsp folder, use the following commnad:
 +  #chmod 777 *  ​
 +  #chmod 777 scripts/​*  ​
 +  #sudo  ./​scripts/​sunxi-media-create.sh ​ /dev/sdc cubieboard_hwpack.tar.xz linaro-precise-alip-20120426-84.tar.gz  ​
 +Option 2:
  
 +Download the source from the web, use the following command on ubuntu system:
 +  #sudo git clone https://​github.com/​linux-sunxi/​sunxi-bsp/  ​
 +  #sudo cd sunxi-bsp  ​
 +  #sudo wget http://​dl.linux-sunxi.org/​amery/​sunxi-3.0/​latest/​cubieboard_hwpack.tar.xz  ​
 +  #sudo wget http://​releases.linaro.org/​12.04/​ubuntu/​precise-images/​alip/​linaro-precise-alip-20120426-84.tar.gz ​
 +  #sudo  ./​scripts/​sunxi-media-create.sh ​ /dev/sdc cubieboard_hwpack.tar.xz linaro-precise-alip-20120426-84.tar.gz
  
-===== Cross Compiler Installation ===== 
  
-The ARM cross compile tool chain is required for porting kerneluse the following command ​to install: +4. When completed, insert the SD card into Cubieboard, power up the board to boot Linaro system. On the first startup, the video output ​is HDMI-to-VGA outputor serial port output. You can connect ​the Cubieboard ​to the monitor through an HDMI-to-VGA convertor, or use the [[http://​dl.cubieboard.org/​parteners/​waveshare/​Software/​ultra-serial-port-monitor.exe|serial port monitor]] to display the Cubieboard system terminal. ​
-== # sudo apt-get install gcc-arm-linux-gnueabihf == +
  
  
tutorials/dvk521/documentations/writing_linaro_system_into_sd_card.1385015358.txt.gz · Last modified: 2013/12/23 14:50 (external edit)