support for flashing origen quad (4412) needs to be added

Bug #1081714 reported by vishal
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
New
Critical
Fahad Kunnathadi
Linaro Image Tools
Fix Released
Critical
Tushar Behera
Linaro Ubuntu
Won't Fix
Wishlist
Unassigned
linaro-landing-team-samsung
In Progress
Medium
Tushar Behera

Bug Description

Here are the boot commands for origen_quad:

Command for flashing the binaries is below.
sudo dd if=bl1 of=/dev/sdc bs=512 seek=1
sudo dd if=u-boot.bin of=/dev/sdc bs=512 seek=49

bootargs=console=ttySAC2,115200n8 rootwait ro init=/init androidboot.console=ttySAC2 console=ttySAC2 root=/dev/mmcblk0p2
bootcmd_android=fatload mmc 0:2 0x40008000 zImage; fatload mmc 0:2 0x42000000 uInitrd;bootm 0x40008000 0x42000000

the bl1 binary(u-boot-mmc-spl.bin) and u-boot.bin are available part of the boot.tar.bz2.

Related branches

Revision history for this message
vishal (vishalbhoj) wrote :
Revision history for this message
Fathi Boudra (fboudra) wrote :

As agreed at Platform leads meeting, set the bug to critical to make sure it will be taken care before l-i-t 2012.11 release.

Changed in linaro-image-tools:
milestone: none → 2012.11
assignee: nobody → Данило Шеган (danilo)
importance: Undecided → Critical
status: New → Triaged
Fathi Boudra (fboudra)
summary: - support for flashing origen quad needs to be added
+ support for flashing origen quad (4412) needs to be added
Revision history for this message
Данило Шеган (danilo) wrote :

Release is to happen today: based on our previous lessons about doing things at the last minute, we won't commit to both finishing this, testing it and then doing a rollout. I will keep the bug as Critical, which means it will be done over the next few days, but will not be in 2012.11 release.

Changed in linaro-image-tools:
milestone: 2012.11 → 2012.12
Revision history for this message
Данило Шеган (danilo) wrote :

After discussion on IRC with Fahad, it seems that u-boot binary being used can not easily load any boot scripts from the boot partition (unlike Linaro's u-boot which loads boot.scr). Since the used u-boot is proprietary, we can't really establish how to get it to take parameters we want to pass to it automatically.

We can only extend l-i-t to allow one to use u-boot commands to load the script manually, but I am not sure if that's the desired approach.

Changed in linaro-image-tools:
status: Triaged → Incomplete
assignee: Данило Шеган (danilo) → Fahad Kunnathadi (fahad-k)
Revision history for this message
Loïc Minier (lool) wrote :

U-Boot is GPL, we can't ship a proprietary U-Boot; if it's a pre-existing firmware, the only solution is to conform to whatever it's allowing to interface with, but if it's based on U-Boot there should definitely be the source available for download...

Revision history for this message
Fathi Boudra (fboudra) wrote :

you can download u-boot source code for origen4 quad from http://git.insignal.co.kr/insignal/u-boot/tree/?h=exynos-ics
And also, you can download bl1 image from http://www.origenboard.org/wiki/index.php/WiKi#Download_Proprietary

Revision history for this message
Tushar Behera (tusharbehera) wrote :

It includes a binary firmware code to enable secure boot. BL1 is built from the source and the firmware binary is added to it. BL2 is built from the source. Please update whether it is an accepted solution.

Revision history for this message
Fathi Boudra (fboudra) wrote :

Yes, it's similar to our current Origen support.

Changed in linaro-image-tools:
status: Incomplete → Triaged
Fathi Boudra (fboudra)
Changed in linaro-android:
milestone: none → 12.12
assignee: nobody → Fahad Kunnathadi (fahad-k)
status: New → Triaged
importance: Undecided → Critical
Changed in linaro-ubuntu:
milestone: none → 12.12
Revision history for this message
Tushar Behera (tusharbehera) wrote :

But in current Origen u-boot, there is no firmware binary involved. Currently I need to get confirmations -
1. From Samsung that it is ok to put the firmware binary in u-boot tree (without the license) (Approval pending)
2. Whether it is ok to use the firmware binary in GPL u-boot.

Revision history for this message
Данило Шеган (danilo) wrote :

We are waiting for more information so updating the bug status to reflect that.

Changed in linaro-image-tools:
status: Triaged → Incomplete
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: New → Triaged
importance: Undecided → Critical
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
status: Triaged → In Progress
Changed in linaro-landing-team-samsung:
status: New → In Progress
Changed in linaro-landing-team-samsung:
importance: Undecided → Medium
assignee: nobody → Tushar Behera (tusharbehera)
milestone: none → 2012.12
status: In Progress → Fix Released
Changed in linaro-image-tools:
assignee: Fahad Kunnathadi (fahad-k) → Tushar Behera (tusharbehera)
Revision history for this message
vishal (vishalbhoj) wrote :

Removing the android team from the bug as the landing team has fixed the issue.

Changed in linaro-android:
status: Triaged → Won't Fix
assignee: Fahad Kunnathadi (fahad-k) → nobody
milestone: 12.12 → none
Fathi Boudra (fboudra)
no longer affects: linaro-android
Milo Casagrande (milo)
Changed in linaro-image-tools:
status: Incomplete → Fix Released
Fathi Boudra (fboudra)
Changed in linaro-ubuntu:
milestone: 12.12 → 13.01
Revision history for this message
Fathi Boudra (fboudra) wrote :

Mark wontfix for Linaro Ubuntu. It isn't planned to have a hwpack atm.
In addition, bl1 issue is still not sorted.
We can revisit the Origen 4412 support later if there's interest and bl1 issue is sorted.
Indeed, patches are welcome.

Changed in linaro-ubuntu:
milestone: 13.01 → 13.02
status: In Progress → Confirmed
importance: Critical → Medium
milestone: 13.02 → 13.01
status: Confirmed → Won't Fix
importance: Medium → Wishlist
Revision history for this message
Tushar Behera (tusharbehera) wrote :

Insignal has released the u-boot binaries. It has a total of 4 components.

bl1 - firmware binary, at offset sector 1
bl2 - spl binary, at offset sector 31
bl3 - u-boot binary, at offset sector 63
bl4 - trustzone firmware binary, at offset 761

Need to modify l-(a)-m-c to support this new structure.

Changed in linaro-landing-team-samsung:
status: Fix Released → In Progress
milestone: 2012.12 → 2013.03
vishal (vishalbhoj)
Changed in linaro-android:
assignee: nobody → Fahad Kunnathadi (fahad-k)
importance: Undecided → Critical
Revision history for this message
vishal (vishalbhoj) wrote :

New binary update is being handled by infrastructure team in linaro-image-tools under this bug:
https://bugs.launchpad.net/linaro-android/+bug/1155702

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.