Name | Last modified | Size | License | |
---|---|---|---|---|
Parent Directory | ||||
MANIFEST | 12-Jan-2018 06:44 | 292 | open | |
MD5SUMS | 12-Jan-2018 06:44 | 147 | open | |
boot.tar.bz2 | 12-Jan-2018 06:44 | 5.0M | open | |
kernel_config | 12-Jan-2018 06:44 | 74.6K | open | |
lava-job-info | 12-Jan-2018 06:44 | 74 | open | |
linaro_android_build_cmds.sh | 12-Jan-2018 06:44 | 5.8K | open | |
linaro_kernel_build_cmds.sh | 12-Jan-2018 06:44 | 1.8K | open | |
pandaboard.img.bz2 | 26-Feb-2018 16:02 | 225.8M | open | |
pinned-manifest.xml | 12-Jan-2018 06:44 | 50.6K | open | |
source-manifest.xml | 12-Jan-2018 06:44 | 63.1K | open | |
system.tar.bz2 | 26-Feb-2018 16:02 | 174.4M | open | |
u-boot.img | 12-Jan-2018 06:44 | 193.5K | open | |
userdata.tar.bz2 | 26-Feb-2018 16:02 | 46.0M | open |
Instructions for https://android-build.linaro.org/builds/~linaro-android/panda-jb-gcc47-tilt-stable-blob/
Get artifacts
Scroll down to the ‘Downloads’ section
Click on each link to download:
- boot.tar.bz2
- system.tar.bz2
- userdata.tar.bz2
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-toolsIf 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 panda --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 panda --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2
Install graphics libraries
$ wget http://people.linaro.org/~vishal.bhoj/install-binaries-4.0.4.sh $ chmod a+x install-binaries-4.0.4.sh $ ./install-binaries-4.0.4.sh
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.
Using the Prebuilt image.
Download the pandaboard.img.bz2 and flash it.
$bunzip2 -c {image-file} | sudo dd bs=64k of={/dev/mmcblk0 or /dev/sdX}
Follow the “Install graphics libraries”
Note: The image will not boot without the graphics libraries.
Check console output
Plug in an USB-to-serial converter and run minicom
$ minicom -D /dev/ttyUSB0 -w -C minicom.txt
Instructions for https://android-build.linaro.org/builds/~linaro-android/
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 -m pinned-manifest.xml
Most commonly used build options:
$ ./linaro_android_build_cmds.sh -h #To print the script usage $ ./linaro_android_build_cmds.sh -t #To build from the tip of the branch without overlay $ ./linaro_android_build_cmds.sh -t -o <overlay> #To build from the tip of the branch with provided overlay $ ./linaro_android_build_cmds.sh -m <pinned_manifest> -o <overlay> #To reproduce an exact build from pinned manifest $ ./linaro_android_build_cmds.sh -t -l <login-id> #Provide login/access ID to clone and build code from linaro-private repositories
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-toolsIf 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 <BOARD> --boot out/target/product/<BOARD>/boot.tar.bz2 --system out/target/product/<BOARD>/system.tar.bz2 --userdata out/target/product/<BOARD>/userdata.tar.bz2
If you’re using tip of linaro image tools
$ ./linaro-image-tools/linaro-android-media-create --mmc /dev/sdc --dev <BOARD> --boot out/target/product/<BOARD>/boot.tar.bz2 --system out/target/product/<BOARD>/system.tar.bz2 --userdata out/target/product/<BOARD>/userdata.tar.bz2
Restore automount
$ dconf write /org/gnome/desktop/media-handling/automount $TMP1 $ dconf write /org/gnome/desktop/media-handling/automount-open $TMP2
Install graphics libraries
$ wget http://people.linaro.org/~vishalbhoj/install-binaries-4.0.4.sh $ chmod a+x install-binaries-4.0.4.sh $ ./install-binaries-4.0.4.sh
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