omapfb not initialised - ioremap failure
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linaro Linux |
Fix Released
|
High
|
Nicolas Pitre | ||
linux-linaro (Ubuntu) |
Fix Released
|
High
|
John Rigby |
Bug Description
omapfb does not seem to work for me in the linaro trees right now.
Tested on Beagle C3 (I've also had reports of similar problems with omapfb on OMAP3EVM).
I tried the following kernel trees and configurations (actual files attached below)
git://git.
HEAD is ea914bd44cd2b7c
Successful build:
* config: config-
* build log: make.log-
* dmesg output: dmesg-linaro_
8<--
[ 1.833618] OMAPFB: omapfb_init
[ 1.833740] OMAPFB: omapfb_probe
[ 1.833831] fbcvt: 1280x720@60: CVT Name - .921M9-R
[ 1.838867] OMAPFB: create 3 framebuffers
[ 1.838897] OMAPFB: fb_infos allocated
[ 1.838928] OMAPFB: allocating 1843200 bytes for fb 0
[ 1.850341] ------------[ cut here ]------------
[ 1.855102] WARNING: at arch/arm/
[ 1.863281] Modules linked in:
[ 1.866424] [<c004b2fc>] (unwind_
[ 1.875183] [<c04fed38>] (dump_stack+
[ 1.884277] [<c0080fc4>] (warn_slowpath_
[ 1.894073] [<c0080ff8>] (warn_slowpath_
[ 1.904388] [<c00500cc>] (__arm_
[ 1.914855] [<c0050150>] (__arm_
[ 1.924133] [<c0063484>] (omap_ioremap+
[ 1.933319] [<c02d6ed8>] (omapfb_
[ 1.943634] [<c02d7364>] (omapfb_
[ 1.953491] [<c02d8430>] (omapfb_
[ 1.962768] [<c030db48>] (platform_
[ 1.972564] [<c030c728>] (driver_
[ 1.982086] [<c030c8c4>] (__driver_
[ 1.991271] [<c030be08>] (bus_for_
[ 2.000274] [<c030c594>] (driver_
[ 2.009185] [<c030b540>] (bus_add_
[ 2.018341] [<c030cbb0>] (driver_
[ 2.028320] [<c030e09c>] (platform_
[ 2.037841] [<c0026c20>] (omapfb_
[ 2.046661] [<c00433d4>] (do_one_
[ 2.055603] [<c0008634>] (kernel_
[ 2.064483] ---[ end trace 2de355b0b6b05a1d ]---
[ 2.069152] omapfb omapfb: failed to ioremap framebuffer
[ 2.074615] usb 1-2: new high speed USB device using ehci-omap and address 2
[ 2.081848] omapfb omapfb: failed to allocate fbmem
[ 2.086853] OMAPFB: free_resources
[ 2.086883] OMAPFB: free all fbmem
[ 2.086883] omapfb omapfb: failed to setup omapfb
[ 2.091705] omapfb: probe of omapfb failed with error -12
[ 2.097717] regulator_
[ 2.105255] regulator_
[ 2.112792] regulator_
[ 2.120574] regulator_
[ 2.128356] regulator_
-->8
git://git.
HEAD is ecb90040e319cb4
Failed build 1:
* config: config.
* build log: make.log.
8<--
drivers/
drivers/
-->8
Failed build 2: (disabled CONFIG_
* config: config.
* build log: make.log.
8<--
arch/arm/
/home/davem/
-->8
Successful build: (also disabled CONFIG_
* config: config-
* build log: make.log-
* dmesg-linaro-
8<--
[ 1.695587] OMAPFB: omapfb_init
[ 1.695770] OMAPFB: omapfb_probe
[ 1.695770] omapfb omapfb: no displays
[ 1.699584] OMAPFB: free_resources
[ 1.699584] OMAPFB: free all fbmem
[ 1.699584] omapfb omapfb: failed to setup omapfb
[ 1.704437] omapfb: probe of omapfb failed with error -22
[ 1.711486] regulator_
[ 1.720977] regulator_
[ 1.728515] regulator_
[ 1.736206] regulator_
[ 1.743896] regulator_
-->8
This is fixed by (after cleaning up the patch): http:// permalink. gmane.org/ gmane.linux. ports.arm. omap/41348