UEFI: A9 crashes on boot with Device Tree

Bug #1067784 reported by Ryan Harkin
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro UEFI
Fix Released
Medium
Ryan Harkin

Bug Description

When A9 is booted with UEFI, it works fine with an ATAGS kernel.

However, when it is boots a device tree kernel, it crashes during the boot sequence.

###########################################
This issue is observed on following images:
https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=152
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-mp-13.02-release/#build=2

Tags: uefi vexpress
Ryan Harkin (ryanharkin)
information type: Proprietary → Public
Anmar Oueja (anmar)
Changed in linaro-landing-team-arm:
milestone: none → 2012.11
Changed in linaro-landing-team-arm:
milestone: 2012.11 → none
Revision history for this message
Botao (botao-sun) wrote :

This issue still exists on ARM Versatile Vexpress A9 with Linaro Android Jelly Bean image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-jb-gcc47-armlt-tracking-open/#build=152

Please refer to attachment to get full boot log.

Botao (botao-sun)
description: updated
Revision history for this message
Ryan Harkin (ryanharkin) wrote :

Botao,

Please stop testing/updating this bug until it's marked as fixed.

Thanks!
Ryan.

Changed in linaro-uefi:
status: New → Confirmed
Changed in linaro-landing-team-arm:
status: Triaged → Confirmed
Changed in linaro-uefi:
assignee: nobody → Ryan Harkin (ryanharkin)
Changed in linaro-landing-team-arm:
importance: Critical → Medium
Changed in linaro-uefi:
importance: Undecided → Medium
Revision history for this message
Ryan Harkin (ryanharkin) wrote :

I've just pushed the fix for this to uefi-next and triggered a CI job.

To fix, I reverted part of this commit:

https://git.linaro.org/gitweb?p=arm/uefi/uefi-next.git;a=commit;h=9d59a88be171f74ae08ad63b3e8d1b77a87522e8
9d59a88 ArmPkg/ArmCpuLib: Fixed SMP Cortex-A9 and Cortex-A15

Specifically, the changes to file ArmPkg/Drivers/ArmCpuLib/ArmCortexA9Lib/ArmCortexA9Lib.c.

This is the same fix that also resolves the ATAGS version of this bug.

Changed in linaro-landing-team-arm:
status: Confirmed → Fix Committed
Changed in linaro-uefi:
status: Confirmed → Fix Committed
Changed in linaro-landing-team-arm:
milestone: none → 2013.04
Changed in linaro-uefi:
milestone: none → 13.04
Fathi Boudra (fboudra)
Changed in linaro-uefi:
status: Fix Committed → Fix Released
Changed in linaro-landing-team-arm:
status: Fix Committed → Fix Released
Revision history for this message
Botao (botao-sun) wrote :

Tested. On ARM Versatile Express A9 board with Linaro Android image:

https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-mp/#build=274

Device Tree works well after UEFI upgraded:

root@android:/ # cd /proc/device-tree
root@android:/proc/device-tree # ls
#address-cells
#size-cells
aliases
arm,hbi
arm,vexpress,site
cache-controller@1e00a000
chosen
clcd@10020000
compatible
cpus
dcc
interrupt-controller@1e001000
interrupt-parent
memory-controller@100e0000
memory-controller@100e1000
memory@60000000
model
name
panels
pmu
scu@1e000000
smb
timer@100e4000
timer@1e000600
watchdog@100e5000
watchdog@1e000620
root@android:/proc/device-tree #

Revision history for this message
Botao (botao-sun) wrote :

Tested. On ARM Versatile Express A9 board with Linux Linaro ubuntu image:

http://snapshots.linaro.org/quantal/pre-built/vexpress/301/vexpress-quantal_developer_20130425-301.img.gz

Device Tree works well after UEFI upgraded:

root@localhost:~# cat /proc/device-tree/model
V2P-CA9
root@localhost:~#

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.