STE Snowball boot loader upgrade procedures listed on Linaro Android build page are incorrect.

Bug #1130481 reported by Botao
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Linaro Android
Fix Released
Medium
Axel Fagerstedt

Bug Description

The boot loader upgrade procedures currently listed on Linaro STE Snowball Android Jelly Bean build page are incorrect. I followed 2 methods it mentioned and both cause boot failure on the board. Please refer to attachment to get full boot log.

I also summarized the correct procedures based on Linux Linaro ubuntu build and share them here (Tested):

$ git clone http://git.linaro.org/git-ro/hwpack/snowball.git
$ mkdir temp
$ cd temp
$ cp ../snowball/hwpacks/linaro-snowball .
$ vi linaro-snowball

Replace mmc_id: '1:1' to mmc_id: '0:2', then save and exit vi.

$ bzr branch lp:linaro-image-tools
$ ./linaro-image-tools/linaro-hwpack-create linaro-snowball 1
$ wget http://snapshots.linaro.org/quantal/images/developer/280/linaro-quantal-developer-20130219-280.tar.gz
$ sudo ./linaro-image-tools/linaro-media-creat --image-file snowball_emmc.img --dev snowball_emmc --hwpack Your_Hardware_Pack_File.tar.gz --binary linaro-quantal-developer-20130219-280.tar.gz

If you don't have riff in your system:
$ sudo add-apt-repository ppa:igloocommunity-maintainers/snowball-tools
$ sudo apt-get update
$ sudo apt-get install riff

Ensure there is no Micro SD card plugged in your Snowball board, then:
$ sudo riff -m erase

Plug Snowball board with the USB port which is in the middle of power and audio out. After erase completed, plug USB cable out.
$ sudo riff -m flash -f snowball_emmc.img

Flash your Micro SD card with Linux Linaro ubuntu Quantal or Linaro Android image, then plug in and boot it. The latest u-boot version currently is "U-Boot 2013.01.-rc1".

Revision history for this message
Botao (botao-sun) wrote :
Dave Pigott (dpigott)
description: updated
Botao (botao-sun)
description: updated
description: updated
Botao (botao-sun)
description: updated
Revision history for this message
Soumya Basak (soumya-basak) wrote :

I've tried the above procedures with Linaro android jellybean builds

https://android-build.linaro.org/builds/~linaro-android-member-ste/snowball-linaro-jb-13.02-release/

the boot-test is failed after boot loader update, serial log is here:

https://pastebin.linaro.org/1905/

lp bug: https://bugs.launchpad.net/linaro-android/+bug/1151625

@ Botao, would you please check your side for the same issue is reproduce or not .

Revision history for this message
Soumya Basak (soumya-basak) wrote :

I've tried two method for Android build
booting from the eMMC from our build page and
& using hwpack , in both the cases it boot test failed,

but according to our android build page, using riff to flash the image & boot from SD-card it will boot fine.

Changed in linaro-android:
status: New → Fix Released
Revision history for this message
Botao (botao-sun) wrote :

This bug has not been "Fix Released" yet. The current status is Linaro Android image for STE Snowball can't boot successfully with boot loader "U-Boot 2013.01.-rc1". With the same boot loader version, Linux Linaro ubuntu image works well.

Changed in linaro-android:
status: Fix Released → New
vishal (vishalbhoj)
Changed in linaro-android:
assignee: nobody → Axel Fagerstedt (fagerstedt-axel)
milestone: none → 13.04
importance: Undecided → Medium
Revision history for this message
Soumya Basak (soumya-basak) wrote :

STE Snowball booting failed with Linaro Android image and boot loader "U-Boot 2013.01.-rc1". Please refer to attachment to get the full boot log.

Build: http://snapshots.linaro.org/android/~linaro-android-member-ste/snowball-linaro-jb/258/

Changed in linaro-android:
status: New → In Progress
Changed in linaro-android:
status: In Progress → Fix Committed
Revision history for this message
Soumya Basak (soumya-basak) wrote :

Hi Axel, can you please update our linaro-android snowball builds pages with procedures and steps. It will help for our QA testing for weekly and montly release test. : )

Fathi Boudra (fboudra)
Changed in linaro-android:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.