Difference between revisions of "Prebuilt SD card images running debian"

(Download Method: Optimize dd call as described at http://lists.debian.org/20120516155205.GC3603@einval.com)
(Download Method: Add alternative plain "cp" as alternative to "dd": Works just as well, and some argue it is nicer to SD devices.)
Line 22: Line 22:
  
 
'''Linux:'''
 
'''Linux:'''
*dd to card
+
*transfer to card
For example an image with the file name of "debian_2g.img" would be downloaded to the SD card connected to a linux machine using the following command
+
For example an image with the file name of "debian_2g.img" would be downloaded to the SD card connected to a linux machine using one of the following commands:
  
 
<nowiki># dd bs=4M oflag=sync if=debian_2g.img of=/dev/sdX</nowiki>
 
<nowiki># dd bs=4M oflag=sync if=debian_2g.img of=/dev/sdX</nowiki>
 +
or
 +
<nowiki># cp debian_2g.img /dev/sdX</nowiki>
  
 
where X is the uSD card.
 
where X is the uSD card.

Revision as of 11:56, 8 January 2013

The A13 board can boot from the SD card. There are some ready made SD card images that are suitable. Some of these images can be found in this wiki section.

Once a suitable SD card is imaged with these files, place it into the board then power the board on, it should boot.

All images will have been generated for a specific SD card size. To use these images you must use a SD card that is the specified size or larger.

When the image is downloaded the SD card will only have partitions set up for the originally specified size for the image. If a larger SD card was used you can access the extra memory by using resize2fs.

Note: Some SD cards will list a size on them however the exact number of usable bytes can vary either through bad sectors or different manufacturers. The consequence of this is that an image from a particular size SD card may not fit on another of the same size. If this is the case an error will come up when imaging the card "No space left on device" or a windows error depending on the tool being used. If this issue comes up use a larger SD card size.

Download Method

These images can be downloaded using the methods below

Windows:


Linux:

  • transfer to card

For example an image with the file name of "debian_2g.img" would be downloaded to the SD card connected to a linux machine using one of the following commands:

# dd bs=4M oflag=sync if=debian_2g.img of=/dev/sdX or # cp debian_2g.img /dev/sdX

where X is the uSD card.

Images

Debian image

A13 Debian Linux Image

Configuration

  • 2g SD card image
  • without X
  • includes Mplayer CLI, GCC
  • The default user/password are root/password

Extract it and write the image (A13_Micro_Debian_first_preliminary_release.img) on SD card

Note: as this comes in a tar.bz2 file this is best imaged using linux

Debian with GUI (X)

A13 Debian Image with X

Configuration

  • 4g SD card image
  • wpa-supplicant (change /etc/network/interfaces to enter your ssid/key)
  • xfce4
  • tightvncserver (starts on boot)
  • various dev tools (python, gcc, etc)
  • sudo
  • 500mb swap file
  • custom (non-debug) kernel
  • default user name and password: olinuxino and olinuxino

once logged in to start the user interface type "startx"

Forum thread link for this image

Linaro Image

Linaro ALIP image

Configuration

  • 4gb SD card image
  • Linaro alip ( lubuntu 12.04 widh lxde desktop environment, minimal )
  • kernel 3.4.19
  • to setup networking you can edit /etc/network/interfaces
  • Password is linaro

Forum thread link for this image