NameLast modifiedSizeLicense

Parent Directory Parent Directory
other MANIFEST 21-Oct-2012 17:35 480 open
other MD5SUMS 21-Oct-2012 17:31 147 open
application/x-tar boot.tar.bz2 21-Oct-2012 17:31 4.7M stericsson
other kernel_config 21-Oct-2012 17:31 79.8K open
other lava-job-info 21-Oct-2012 17:35 74 open
text linaro_android_build_cmds.sh 21-Oct-2012 17:31 3.4K open
text linaro_kernel_build_cmds.sh 21-Oct-2012 17:31 1.6K open
application/xml pinned-manifest.xml 21-Oct-2012 17:31 46.2K open
application/xml source-manifest.xml 21-Oct-2012 17:31 46.2K open
application/x-tar system.tar.bz2 21-Oct-2012 17:35 166.0M stericsson
application/x-tar userdata.tar.bz2 21-Oct-2012 17:35 665.9K stericsson


Instructions for https://android-build.linaro.org/builds/~linaro-android_snowball-jb-gcc47-igloo-stable-blob/

Get artifacts

Scroll down to the 'Downloads’ section

Click on each link to download:

  • target/product/snowball/boot.tar.bz2
  • target/product/snowball/system.tar.bz2
  • target/product/snowball/userdata.tar.bz2

Accept the end-user license agreement

Get linaro image tools

Run these commands to get all the dependencies for linaro-image-tools and the tip of linaro-image-tools

sudo add-apt-repository ppa:linaro-maintainers/tools
sudo apt-get update
sudo apt-get install linaro-image-tools

If you’re using a released build (with a -release or from releases.linaro.org), skip this step.
If you’re using a “tip” build do not skip the step and do the following:

sudo apt-get install bzr
bzr branch lp:linaro-image-tools

Create media (SD card)

Disable automount (instructions provided for Gnome)

TMP1=$(dconf read /org/gnome/desktop/media-handling/automount)
TMP2=$(dconf read /org/gnome/desktop/media-handling/automount-open)
dconf write /org/gnome/desktop/media-handling/automount false
dconf write /org/gnome/desktop/media-handling/automount-open false

Insert an SD card

Run 'dmesg’

dmesg

Look for a line that looks like the following at the end of the log

[288582.790722]  sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 >

WARNING In the next step, make sure you use /dev/“whatever you see above”. You can erase your hard drive with the wrong parameter.

Run linaro image tools

linaro-android-media-create --mmc /dev/sdc --dev snowball_sd --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

If you’re using tip of linaro image tools

./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev snowball_sd --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

Restore automount

dconf write /org/gnome/desktop/media-handling/automount $TMP1
dconf write /org/gnome/desktop/media-handling/automount-open $TMP2

Remove the SD card from the device writer and plug it into the board.

Check console output

Plug in an USB-to-serial converter and run minicom

minicom -D /dev/ttyUSB0 -w -C minicom.txt

Notes

  • Note 1 – Outdated U-Boot

During the 12.05 cycle, U-Boot changed and must be upgraded in eMMC if your
boot line is older than: U-boot 2012.04.01 (May 24 2012 – 19:50:12)

If you only want to be able to boot from the SD card and don’t care about
booting from the eMMC (internal flash), the quick solution is to do:

sudo linaro-android-media-create --image-file snowball.img --image-size 1500M --dev snowball_emmc --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2
sudo riff -f snowball.img

If you don’t have riff, follow the instructions below to install it.

If you want to be able to boot from the eMMC, you need to modify a few lines
in init.partitions.rc file.

mkdir temp
cd temp
mv ../boot.tar.bz2 .
tar xjf boot.tar.bz2
cd boot
mkdir temp
cd temp
mv ../uInitrd .
dd if=uInitrd of=initrd.gz bs=64 skip=1
gunzip initrd.gz
mkdir init
cd init
cpio -i < ../initrd

Open the init.partition.rc file and follow the instruction in the file

sudo find . | cpio -o -H newc | gzip > ../newinitrd.cpio.gz
mkimage -A arm -O linux -T ramdisk -C gzip -a 0 -e 0 -n initramfs -d ../newinitrd.cpio.gz ../uInitrd.new
cd ../..
cp temp/init/uInitrd.new uInitrd
rm -rf temp
cd ..
tar cjf boot.tar.bz2 boot
cd ..
mv temp/boot.tar.bz2 .
rm -rf temp

Download startupfiles from http://www.igloocommunity.org/download/linaro/startupfiles/latest

tar -xvf startupfiles_3.0.8-0.tar.gz
linaro-android-media-create --image-file snowball.img --image-size 1500M --dev snowball_emmc --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

Install riff binary package for Ubuntu (PPA)

sudo add-apt-repository ppa:igloocommunity-maintainers/snowball-tools
sudo apt-get update
sudo apt-get install riff

(OPTIONAL) Remove the PPA

sudo add-apt-repository --remove ppa:igloocommunity-maintainers/snowball-tools

Turn off the board

sudo riff -f snowball.img

Connect your board using the OTG USB port (next to power supply port) to your PC
Turn on the board
Riff will detect the board and start the execution
When execution is finalized riff will exit

On the first boot, the user interface can take up to 10 minutes to come up. Please be patient. If the board doesn’t come up, you might be affected by LP: #8823313

  • Note 2 – ADB only works over IP

In the console type:

stop adbd
setprop service.adb.tcp.port 6565
start adbd
ifconfig eth0 # to get boardsIP

On the host type:

adb connect boardsIP:6565

Instructions for https://android-build.linaro.org/builds/~linaro-android_snowball-jb-gcc47-igloo-stable-blob/

Get artifacts

Scroll down to the 'Downloads’ section

Save linaro_android_build_cmds.sh to where you’d like to make your build.

Run the build script

The linaro_android_build_cmds.sh script will download the source and create the build.

chmod +x linaro_android_build_cmds.sh
./linaro_android_build_cmds.sh

Get linaro image tools

Run these commands to get all the dependencies for linaro-image-tools and the tip of linaro-image-tools

sudo add-apt-repository ppa:linaro-maintainers/tools
sudo apt-get update
sudo apt-get install linaro-image-tools

If you’re using a released build (with a -release or from releases.linaro.org), skip this step.
If you’re using a “tip” build do not skip the step and do the following:

sudo apt-get install bzr
bzr branch lp:linaro-image-tools

Create media (SD card)

Disable automount (instructions provided for Gnome)

TMP1=$(dconf read /org/gnome/desktop/media-handling/automount)
TMP2=$(dconf read /org/gnome/desktop/media-handling/automount-open)
dconf write /org/gnome/desktop/media-handling/automount false
dconf write /org/gnome/desktop/media-handling/automount-open false

Insert an SD card

Run 'dmesg’

dmesg

Look for a line that looks like the following at the end of the log

[288582.790722]  sdc: sdc1 sdc2 sdc3 sdc4 < sdc5 sdc6 >

WARNING In the next step, make sure you use /dev/“whatever you see above”. You can erase your hard drive with the wrong parameter.

Run linaro image tools

linaro-android-media-create --mmc /dev/sdc --dev snowball_sd --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

If you’re using tip of linaro image tools

./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev snowball_sd --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

Restore automount

dconf write /org/gnome/desktop/media-handling/automount $TMP1
dconf write /org/gnome/desktop/media-handling/automount-open $TMP2

Remove the SD card from the device writer and plug it into the board.

Check console output

Plug in an USB-to-serial converter and run minicom

minicom -D /dev/ttyUSB0 -w -C minicom.txt