This shows you the differences between two versions of the page.
tutorials:dvk521:documentations:writing_linaro_system_into_sd_card [2013/11/21 15:14] waveshare |
tutorials:dvk521:documentations:writing_linaro_system_into_sd_card [2013/12/23 14:50] (current) |
||
---|---|---|---|
Line 8: | Line 8: | ||
===== Writing Linaro System into SD Card ===== | ===== Writing Linaro System into SD Card ===== | ||
1. Insert the SD card to your computer, it will be detected and mounted under the /media/ directory. Enter the following command on the terminal to unmount all the devices: | 1. Insert the SD card to your computer, it will be detected and mounted under the /media/ directory. Enter the following command on the terminal to unmount all the devices: | ||
- | == # sudo umount /media/* == | + | # sudo umount /media/* |
2. Find out the SD card device name on your system, say, sdc or sdc1. We assume that the device name is sdc here. | 2. Find out the SD card device name on your system, say, sdc or sdc1. We assume that the device name is sdc here. | ||
Line 17: | Line 17: | ||
Copy the [[http://dl.cubieboard.org/parteners/waveshare/Source_Code/|sunxi-bsp]] to ubuntu system. Enter the sunxi-bsp folder, use the following commnad: | 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 * |
- | == #chmod 777 scripts/* == | + | #chmod 777 scripts/* |
- | == #sudo ./scripts/sunxi-media-create.sh /dev/sdc cubieboard_hwpack.tar.xz 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 |
Option 2: | Option 2: | ||
Download the source from the web, use the following command on ubuntu system: | Download the source from the web, use the following command on ubuntu system: | ||
- | == #sudo git clone https://github.com/linux-sunxi/sunxi-bsp/ == | + | #sudo git clone https://github.com/linux-sunxi/sunxi-bsp/ |
- | == #sudo cd 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://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 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 == | + | #sudo ./scripts/sunxi-media-create.sh /dev/sdc cubieboard_hwpack.tar.xz linaro-precise-alip-20120426-84.tar.gz |
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 output, or 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. | 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 output, or 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. |