[#6609] tftlcd module bf537_lq035 insert have dump info on bf537 stamp
Submitted By: Mingquan Pan
Open Date
2011-05-19 03:21:31 Close Date
2011-10-18 23:35:05
Priority:
Medium Assignee:
steven miao
Status:
Closed Fixed In Release:
N/A
Found In Release:
2011R1 Release:
Category:
N/A Board:
N/A
Processor:
ALL Silicon Revision:
Is this bug repeatable?:
Yes Resolution:
Fixed
Uboot version or rev.:
Toolchain version or rev.:
5013
App binary format:
N/A
Summary: tftlcd module bf537_lq035 insert have dump info on bf537 stamp
Details:
tftlcd module bf537_lq035 insert have dump info on bf537 stamp.
...
Hardware Trace active and enabled
Boot Mode: 0
Reset caused by Software reset
Blackfin support (C) 2004-2010 Analog Devices, Inc.
Compiled for ADSP-BF537 Rev 0.2
Blackfin Linux support by http://blackfin.uclinux.org/
Processor Speed: 500 MHz core clock and 125 MHz System Clock
NOMPU: setting up cplb tables
Instruction Cache Enabled for CPU0
External memory: cacheable in instruction cache
Data Cache Enabled for CPU0
External memory: cacheable (write-back) in data cache
Built 1 zonelists in Zone order, mobility grouping off. Total pages: 14224
Kernel command line: root=/dev/mtdblock0 rw ip=10.100.4.50 earlyprintk=serial,uart0,57600 console=ttyBF0,57600 ip=10.100.4.50:10.100.4.174:10.100.4.174:255.255.255.0:bf537-stamp:eth0:off
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory available: 48160k/65536k RAM, (6856k init code, 1180k kernel code, 536k data, 1024k dma, 7780k reserved)
NR_IRQS:146
Configuring Blackfin Priority Driven Interrupts
console [ttyBF0] enabled, bootconsole disabled
console [ttyBF0] enabled, bootconsole disabled
Calibrating delay loop... 995.32 BogoMIPS (lpj=1990656)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Blackfin Scratchpad data SRAM: 4 KB
Blackfin L1 Data A SRAM: 16 KB (16 KB free)
Blackfin L1 Data B SRAM: 16 KB (16 KB free)
Blackfin L1 Instruction SRAM: 48 KB (35 KB free)
NET: Registered protocol family 16
Blackfin DMA Controller
stamp_init(): registering device resources
bio: create slab <bio-0> at 0
i2c-bfin-twi i2c-bfin-twi.0: Blackfin BF5xx on-chip I2C TWI Contoller, regs_base@ffc01400
Switching to clocksource bfin_cs_cycles
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
debug-mmrs: setting up Blackfin MMR debugfs
msgmni has been set to 94
io scheduler noop registered (default)
bfin-uart: Blackfin serial driver
bfin-uart.0: ttyBF0 at MMIO 0xffc00400 (irq = 18) is a BFIN-UART
brd: module loaded
bfin_mii_bus: probed
bfin_mac: attached PHY driver [SMSC LAN83C185] (mii_bus:phy_addr=0:01, irq=-1, mdc_clk=2500000Hz(mdc_div=24)@sclk=125MHz)
bfin_mac bfin_mac.0: eth0: Blackfin on-chip Ethernet MAC driver, Version 1.1
rtc-bfin rtc-bfin: rtc core: registered rtc-bfin as rtc0
bfin-wdt: initialized: timeout=20 sec (nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
IP-Config: Complete:etting system clock to 1970-07-18 03:56:13 UTC (17121373)
device=eth0, addr=10.100.4.50, mask=255.255.255.0, gw=10.100.4.174,
host=bf537-stamp, domain=, nis-domain=(none),
bootserver=10.100.4.174, rootserver=10.100.4.174, rootpath=
dma_alloc_init: dma_page @ 0x028ce000 - 256 pages at 0x03f00000
Freeing unused kernel memory: 6856k freed
_____________________________________
a8888b. / Welcome to the uClinux distribution \
d888888b. / _ _ \
8P"YP"Y88 / | | |_| __ __ (TM) |
8|o||o|88 _____/ | | _ ____ _ _ \ \/ / |
8' .88 \ | | | | _ \| | | | \ / |
8`._.' Y8. \ | |__ | | | | | |_| | / \ |
d/ `8b. \ \____||_|_| |_|\____|/_/\_\ |
dP . Y8b. \ For embedded processors including |
d8:' " `::88b \ the Analog Devices Blackfin /
d8" 'Y88b \___________________________________/
:8P ' :888
8a. : _a88P For further information, check out:
._/"Yaa_: .| 88P| - http://blackfin.uclinux.org/
\ YP" `| 8P `. - http://docs.blackfin.uclinux.org/
/ \.___.d| .' - http://www.uclinux.org/
`--..__)8888P`._.' jgs/a:f - http://www.analog.com/blackfin
Have a lot of fun...
BusyBox v1.18.4 (2011-05-18 09:49:55 CST) hush - the humble shell
root:/> versiPHY: 0:01 - Link is Up - 100/Full
on
kernel: Linux release 2.6.39-rc7-ADI-2011R1-pre-svn9885, build #120 Wed May 18 10:29:45 CST 2011
toolchain: bfin-uclinux-gcc release gcc version 4.3.5 (ADI-trunk/svn-5013)
user-dist: release svn-10166, build #1746 Wed May 18 10:28:49 CST 2011
root:/> successful boot attempt
************** STEP 3: Start testing.
root:/> modprobe bf537_lq035
------------[ cut here ]------------
WARNING: at drivers/video/backlight/backlight.c:314 _backlight_device_register+0xe8/0x174 [backlight]()
bf537-bl: invalid backlight type
Modules linked in: bf537_lq035(+) backlight cfbcopyarea cfbfillrect cfbimgblt lcd
Hardware Trace:
0 Target : <0x00127f60> { _dump_stack + 0x0 }
Source : <0x00011516> { _warn_slowpath_common + 0x46 } CALL pcrel
1 Target : <0x00011516> { _warn_slowpath_common + 0x46 }
Source : <0x00031160> { _print_modules + 0x54 } RTS
2 Target : <0x0003115a> { _print_modules + 0x4e }
Source : <0x00128134> { _printk + 0x14 } RTS
3 Target : <0x00128130> { _printk + 0x10 }
Source : <0x00012168> { _vprintk + 0x164 } RTS
4 Target : <0x00012146> { _vprintk + 0x142 }
Source : <0x00012276> { _vprintk + 0x272 } JUMP.S
5 Target : <0x00012276> { _vprintk + 0x272 }
Source : <0x00011d6c> { _console_unlock + 0x1a8 } RTS
6 Target : <0x00011d64> { _console_unlock + 0x1a0 }
Source : <0x00011d56> { _console_unlock + 0x192 } IF CC JUMP pcrel
7 Target : <0x00011d46> { _console_unlock + 0x182 }
Source : <0x00011d38> { _console_unlock + 0x174 } IF CC JUMP pcrel (BP)
8 Target : <0x00011d30> { _console_unlock + 0x16c }
Source : <0x00027f06> { _up + 0x3e } RTS
9 Target : <0x00027f00> { _up + 0x38 }
Source : <0x00027ef2> { _up + 0x2a } IF CC JUMP pcrel (BP)
10 Target : <0x00027ec8> { _up + 0x0 }
Source : <0x00011d2c> { _console_unlock + 0x168 } JUMP.L
11 Target : <0x00011d0a> { _console_unlock + 0x146 }
Source : <0x00011c22> { _console_unlock + 0x5e } IF CC JUMP pcrel
12 Target : <0x00011bf6> { _console_unlock + 0x32 }
Source : <0x00011c58> { _console_unlock + 0x94 } IF CC JUMP pcrel (BP)
13 Target : <0x00011c50> { _console_unlock + 0x8c }
Source : <0x0001173a> { __call_console_drivers + 0x62 } RTS
14 Target : <0x00011734> { __call_console_drivers + 0x5c }
Source : <0x0001170e> { __call_console_drivers + 0x36 } IF CC JUMP pcrel
15 Target : <0x000116fe> { __call_console_drivers + 0x26 }
Source : <0x000116ee> { __call_console_drivers + 0x16 } IF !CC JUMP pcrel (BP)
Stack info:
SP: [0x02a75c34] <0x02a75c34> /* kernel dynamic memory */
FP: (0x02a75d38)
Memory from 0x02a75c30 to 02a76000
02a75c30: 00011516 [02a75c80] 0001151a 02a75c80 02a79718 00092d3e 02a79718 0000013a
02a75c50:<02a795c0> 00011584 0204f4c0 00000000 00000000 02076fc8 00000000 000b395c
02a75c70: 0204f4c0 00000000 00000009 02a75c80 <02a7973c> 02a75c98 <02a795c0> 000c9534
02a75c90: 000c7f1e 02a799d8 02076fc8 <02076b70> 02a75ce4 020774a8 02077488 0019c678
02a75cb0: 02a75d58 0207711c 0007fb1e 0204c814 02a75cf0 0207709c 02a75ccc 00000000
02a75cd0: 0000005f 00000000 00000000 00000000 00000000 80088009 82038004 00008202
02a75cf0: 03f01000 <000b3bfc> 0019c680 0019874c 0207711c 0019c6b4 02a75d58 00000000
02a75d10: 00000000 00000000 ffa02a44 000b3d44 0019c680 0207711c 028be540 0019c6b4
02a75d30: 00092be2 001a4c80 (00000000)<000b3598> 000b3ce0 0207711c 00000000 00000000
02a75d50: 00194e1c 00092db2 02030bf8 02045e10 000b3aaa 001a4c80 00000040 00000001
02a75d70: 00000000 000b2f8e 02a75d98 000b2fc8 000b3ce0 000b30b8 02a78154 02c860c7
02a75d90: 00000000 00158cd8 02076dcc 000b4254 00000000 02a48000 0207711c 00000040
02a75db0: 00000001 00000000 02a75d70 00000000 <02a48018><0000110a> 00000000 02a48000
02a75dd0: 0018a010 00000040 00000001 00178c70 02c98000 000283c8 00000000 00000040
02a75df0: 000323e0 00000000 02a75ee4 0207732c 00000040 00000001 00000000 020740e4
02a75e10: 02077338 02a75e50 0207703c 00000003 00000000 02a74000 02a74000 02077338
02a75e30: 00000003 02c99600 02c99604 <02c9a1de> 00000002 0012993c 00000004 00129934
02a75e50: 02c98000 000031ac 02c99780 02c99694 02c99f28 028be540 000016f8 00001718
02a75e70: 00000000 00000000 00000019 0000001a 00000014 00000000 0000000c 00000000
02a75e90: 6e72656b 00006c65 00000000 00000000 00000000 00000000 00000000 00000000
02a75eb0: 00000000 00000000 00000000 00000000 00000000 00000000 02000000 00000000
02a75ed0: 00000000 00000000 00000000 00000000 00000000 0004a0f6 02b73b94 <ffa0095a>
02a75ef0: 00032318 00000080 02a721b0 00000000 ffffe000 020740e4 02b1ad32 0000002b
02a75f10: 02a7222c 0000fffe 000031ac 02b1ad32 020740e4 02b02f1c 00008000 00002000
02a75f30: 00000000 02a76000 02b02f1c 02b02f1c 02b1b0ee ffa01100 02001004 02a9248b
02a75f50: 02b0ce5d 02a92480 02b0ce5c 00000000 00000000 0000147a 00000000 0000147a
02a75f70: 00000000 00000000 02a72020 00000000 00000001 00000000 00000000 00000000
02a75f90: 00000000 00000000 00000000 00000001 00000000 00000000 02b73c08 00000000
02a75fb0: 02b73ab4 02b73b88 02b73b94 02b69c30 02a72004 02a721b0 02c971b0 02c97ff4
02a75fd0: 00000080 02c94004 020740e4 020740e4 02b1ad32 000031ac 020740e4 000031ac
02a75ff0: 02c94004 02c94004 00000080 00000006
Return addresses in stack:
address : <0x02a795c0> { :backlight:_backlight_device_register + 0xe8 }
address : <0x02a7973c> { :backlight:_cleanup_module + 0xf0 }
address : <0x02a795c0> { :backlight:_backlight_device_register + 0xe8 }
address : <0x02076b70> { :bf537_lq035:_cleanup_module + 0x304 }
address : <0x000b3bfc> { _driver_probe_device + 0x6c }
frame 1 : <0x000b3598> { _bus_for_each_dev + 0x44 }
address : <0x02a48018> { :bf537_lq035:_init_module + 0x18 }
address : <0x0000110a> { _do_one_initcall + 0x10a }
address : <0x02c9a1de> /* kernel dynamic memory */
address : <0xffa0095a> { _system_call + 0x6a }
---[ end trace 3ae546a26066ca2e ]---
bf537-lq035: initializedroot:/>
Follow-ups
--- steven miao 2011-05-26 06:42:05
looks like missing a backlight_properties type:
--- drivers/video/bf537-lq035.c (revision 9886)
+++ drivers/video/bf537-lq035.c (working copy)
@@ -789,6 +789,7 @@
i2c_add_driver(&ad5280_driver);
memset(&props, 0, sizeof(props));
+ props.type = BACKLIGHT_RAW;
props.max_brightness = MAX_BRIGHENESS;
--- Vivi Li 2011-10-18 23:40:24
OK now. Close it.
Files
Changes
Commits
Dependencies
Duplicates
Associations
Tags
File Name File Type File Size Posted By
No Files Were Found