Unimplemented cp15 register write (c9, c12, {0, 0}) with Ubuntu OMAP image

Bug #570456 reported by Loïc Minier
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
qemu-maemo
Fix Released
Medium
Moshehoori
qemu-kvm (Ubuntu)
Fix Released
Medium
Loïc Minier

Bug Description

When running:
qemu-maemo-system-arm -M beagle -m 256 -sd maverick-preinstalled-netbook-armel+omap.img -serial stdio
with a slightly modified Ubuntu OMAP image (see bug #609700)

I get:

Texas Instruments X-Loader 1.4.4ss (Jul 13 2010 - 12:38:37)
Beagle xM Rev A
Reading boot sector
Loading u-boot.bin from mmc

U-Boot 2010.03-rc1 (Jun 01 2010 - 09:57:03)

OMAP35XX-GP ES3.1, CPU-OPP2, L3-165MHz, Max clock-600Mhz
OMAP3 Beagle board + LPDDR/NAND
I2C: ready
DRAM: 256 MB
NAND: 256 MiB
*** Warning - bad CRC or NAND, using default environment

ERROR : Unsupport USB mode
Check that mini-B USB cable is attached to the device
In: serial
Out: serial
Err: serial
No EEPROM on expansion board
Beagle xM Rev A
Die ID #51454d5551454d555400000051454d55
Hit any key to stop autoboot: 0
mmc1 is available
reading boot.scr

273 bytes read
Running bootscript from mmc ...
## Executing script at 82000000
reading uImage

3396340 bytes read
reading uInitrd

6326078 bytes read
## Booting kernel from Legacy Image at 80000000 ...
   Image Name: Ubuntu Kernel
   Image Type: ARM Linux Kernel Image (uncompressed)
   Data Size: 3396276 Bytes = 3.2 MB
   Load Address: 80008000
   Entry Point: 80008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 81600000 ...
   Image Name: Ubuntu Initrd
   Image Type: ARM Linux RAMDisk Image (gzip compressed)
   Data Size: 6326014 Bytes = 6 MB
   Load Address: 00000000
   Entry Point: 00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
qemu: fatal: Unimplemented cp15 register write (c9, c12, {0, 0})

R00=c0700e4c R01=c04abfe0 R02=00000000 R03=00000006
R04=c06af2f0 R05=c0700e48 R06=00000000 R07=c000d248
R08=00000000 R09=00000000 R10=00000000 R11=cfc25f84
R12=00000010 R13=cfc25f70 R14=0000ffff R15=c000d32c
PSR=40000013 -Z-- A svc32
zsh: abort (core dumped) qemu-maemo-system-arm -M beagle -m 256 -sd -serial stdio

Related branches

Revision history for this message
Loïc Minier (lool) wrote :

So I understand this might due to I2C being enabled in the Ubuntu kernels? Is it enough to disable the config option as a temporary workaround?

Revision history for this message
Loïc Minier (lool) wrote :

18:58 <jcrigby> I was using an omap git kernel
[...]
18:59 <jcrigby> It was omap usb configuring phy with i2c
18:59 <jcrigby> and i2c not working right for that specific case

TODO:
* check whether the workaround works with Ubuntu 10.04 linux-ti-omap
* prepare an updated linux-ti-omap package in a PPA for testing

Revision history for this message
Loïc Minier (lool) wrote :

I tried latest qemu-maemo from Ubuntu branch (in my ports-dev PPA) with latest Ubuntu OMAP image (note that this is not the linux-ti-omap4 branch), and got a different error:
qemu: fatal: Unimplemented cp15 register write (c9, c12, {0, 0})

R00=c0700e4c R01=c04abfe0 R02=00000000 R03=00000006
R04=c06af2f0 R05=c0700e48 R06=00000000 R07=c000d248
R08=00000000 R09=00000000 R10=00000000 R11=cfc25f84
R12=00000010 R13=cfc25f70 R14=0000ffff R15=c000d32c
PSR=40000013 -Z-- A svc32
zsh: abort (core dumped) qemu-maemo-system-arm -M beagle -m 256 -sd -serial stdio

summary: - Hangs in early kernel startup when booting a beagleboard image
+ Unimplemented cp15 register write (c9, c12, {0, 0}) with Ubuntu OMAP
+ image
description: updated
Loïc Minier (lool)
Changed in qemu-maemo:
status: New → Fix Released
importance: Undecided → High
assignee: nobody → Loïc Minier (lool)
importance: High → Medium
Loïc Minier (lool)
Changed in qemu-kvm (Ubuntu):
status: New → In Progress
importance: Undecided → Medium
Loïc Minier (lool)
Changed in qemu-kvm (Ubuntu):
assignee: nobody → Loïc Minier (lool)
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qemu-kvm - 0.12.4+noroms-0ubuntu6

---------------
qemu-kvm (0.12.4+noroms-0ubuntu6) maverick; urgency=low

  * New patch, arm-ignore-writes-of-perf-reg-cp15-with-crm-12, on ARMv7,
    ignore writes to cp15 with crm == 12; these are to setup perf
    counters which we don't have; LP: #570456.
 -- Loic Minier <email address hidden> Mon, 26 Jul 2010 15:04:23 +0200

Changed in qemu-kvm (Ubuntu):
status: Fix Committed → Fix Released
Moshehoori (moshehoori)
Changed in qemu-maemo:
assignee: Loïc Minier (lool) → Moshehoori (moshehoori)
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.