Hi Steve,
Thank you much!
LCD still problem!!!!!
What should I do then?
below is the log
stdin=serial
stdout=serial
stderr=serial
ethaddr=00:0e:99:02:51:90
bootargs=console=ttyS0,115200n8 noinitrd rw ip=192.168.3.99 root=/dev/nfs
nfsroo
t=192.168.3.113:/opt/fileroot,nolock mem=200M video=davincifb:output=lcd
serverip=192.168.3.113
ipaddr=192.168.3.99
Environment size: 369/131068 bytes
DaVinci EVM # tftp 0x80700000 uImage
TFTP from server 192.168.3.113; our IP address is 192.168.3.99
Filename 'uImage'.
Load address: 0x80700000
Loading: ###################T ##################################T #####T
#######
##################T ###############################################
###############################################################T ##
##################T ###############################################
##############################
done
Bytes transferred = 1483716 (16a3c4 hex)
DaVinci EVM # bootm
## Booting image at 80700000 ...
Image Name: Linux-2.6.27-rc6-davinci1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1483652 Bytes = 1.4 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
OK
Starting kernel ...
Uncompressing
Linux.............................................................
.................................... done, booting the kernel.
<5>Linux version 2.6.27-rc6-davinci1 ([EMAIL PROTECTED]) (gcc version 4.3.2
(GCC
) ) #12 PREEMPT Wed Oct 29 12:06:06 CST 2008
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
Machine: DaVinci EVM
Memory policy: ECC disabled, Data cache writeback
<7>On node 0 totalpages: 51200
<7>free_area_init_node: node 0, pgdat c02efe14, node_mem_map c031f000
<7> DMA zone: 32512 pages, LIFO batch:7
<7> Normal zone: 18288 pages, LIFO batch:3
DaVinci DM6446 variant 0x0
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 8192 bytes, associativity 4, 32 byte lines, 64 sets
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 50800
<5>Kernel command line: console=ttyS0,115200n8 noinitrd rw ip=192.168.3.99
root=
/dev/nfs nfsroot=192.168.3.113:/opt/fileroot,nolock mem=200M
video=davincifb:out
put=lcd
PID hash table entries: 1024 (order: 10, 4096 bytes)
Console: colour dummy device 80x30
<6>Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
<6>Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
<6>Memory: 200MB = 200MB total
<5>Memory: 199612KB available (2752K code, 272K data, 128K init)
<6>Calibrating delay loop... 147.86 BogoMIPS (lpj=739328)
Mount-cache hash table entries: 512
<6>CPU: Testing write buffer coherency: ok
<6>net_namespace: 804 bytes
<6>NET: Registered protocol family 16
<4>WARNING: both IDE and NOR flash are enabled, but share pins.
Disable IDE for NOR support.
<6>DaVinci: 71 gpio irqs
<6>usbcore: registered new interface driver usbfs
<6>usbcore: registered new interface driver hub
<6>usbcore: registered new device driver usb
<6>NET: Registered protocol family 2
<7>Switched to high resolution mode on CPU 0
<6>IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
<6>TCP established hash table entries: 8192 (order: 4, 65536 bytes)
<6>TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
<6>TCP: Hash tables configured (established 8192 bind 8192)
<6>TCP reno registered
<6>NET: Registered protocol family 1
<6>msgmni has been set to 390
<6>io scheduler noop registered
<6>io scheduler anticipatory registered (default)
<6>DaVinci: Output on LCD, Enabled windows: Video0 Video1 OSD0 OSD1
<6>DaVinci:invalid format..defaulting width to 480
<6>Setting Video0 size 720x480, position (0,0)
<6>Setting Video1 size 720x480, position (0,0)
<6>Setting OSD0 size 720x480, position (0,0)
<6>Setting OSD1 size 720x480, position (0,0)
<4>Unsupported output device!
Setting Up Clocks for DM420 OSD
Console: switching to colour frame buffer device 90x30
<6>fb0: dm_osd0_fb frame buffer device
<6>fb1: dm_vid0_fb frame buffer device
<6>fb2: dm_osd1_fb frame buffer device
<6>fb3: dm_vid1_fb frame buffer device
<1>Unable to handle kernel NULL pointer dereference at virtual address
00000000
<1>pgd = c0004000
<1>[00000000] *pgd=00000000
Internal error: Oops: 0 [#1] PREEMPT
Modules linked in:
CPU: 0 Not tainted (2.6.27-rc6-davinci1 #12)
PC is at 0x0
LR is at davincifb_probe+0x6dc/0x7ac
pc : [<00000000>] lr : [<c0151a5c>] psr: 60000013
sp : cc019d70 ip : cc019c08 fp : cc019e3c
r10: 00000000 r9 : 00000000 r8 : c02dcff0
r7 : c02e4ecc r6 : c02e4ecc r5 : c02e4ecc r4 : 00000000
r3 : c0312240 r2 : cc018000 r1 : cc031b38 r0 : 00000001
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 80004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xcc018268)
Stack: (0xcc019d70 to 0xcc01a000)
9d60: c0312240 cc018000 000002d0 000001e0
9d80: 000002d0 000005a0 00000000 00000000 00000010 00000000 00000000
00000000
9da0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000000
9dc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
0002bf20
9de0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000
00000001
9e00: 00000000 00000000 00000000 00000000 00000000 00000000 c00d087c
c02dcff8
9e20: c02dd0a4 c02dcff8 c02e4e9c c02e8c18 cc019e4c cc019e40 c0176a58
c0151390
9e40: cc019e6c cc019e50 c0175c80 c0176a48 c02dcff8 c02dd0a4 c02e4e9c
cc019e94
9e60: cc019e8c cc019e70 c0175da4 c0175bb8 00000000 00000000 c0175d54
c02e4e9c
9e80: cc019ebc cc019e90 c01754b0 c0175d64 c0137c44 cc003dd8 cc003dd8
c02dd040
9ea0: 00000000 cc019f44 c02e4e9c cc074860 cc019ecc cc019ec0 c0175abc
c017546c
9ec0: cc019efc cc019ed0 c0174d2c c0175aac c029ee7f cc019ee0 c0137f64
00000001
9ee0: cc019f44 c02e4e9c c0018e3c 00000001 cc019f24 cc019f00 c0175fb8
c0174c94
9f00: c0144270 00000001 cc019f44 cc019f3c c0018e3c 00000001 cc019f34
cc019f28
9f20: c0176c8c c0175f14 cc019f64 cc019f38 c0018ec0 c0176c24 c001879c
c029ee7f
9f40: c02ae9ac c04b313c cc019f64 c0021270 c0021304 00000000 cc019fd4
cc019f68
9f60: c00282c8 c0018e4c c00c9c30 c00c9924 cc019f00 cc032b40 c00c9d34
cc019f96
9f80: cc019fbc cc019f90 c00673f0 c00c9bc0 cc019fac 33361c10 00000000
00000000
9fa0: 00000087 c0021304 00000000 00000000 cc019fd4 c0021270 c0021304
00000000
9fc0: 00000000 00000000 cc019ff4 cc019fd8 c00085b8 c0028288 00000000
00000001
9fe0: 00000000 00000000 00000000 cc019ff8 c003fc38 c0008544 ffffffff
ffffffff
Backtrace:
[<c0151380>] (davincifb_probe+0x0/0x7ac) from [<c0176a58>]
(platform_drv_probe+0
x20/0x24)
r8:c02e8c18 r7:c02e4e9c r6:c02dcff8 r5:c02dd0a4 r4:c02dcff8
[<c0176a38>] (platform_drv_probe+0x0/0x24) from [<c0175c80>]
(driver_probe_devic
e+0xd8/0x1ac)
[<c0175ba8>] (driver_probe_device+0x0/0x1ac) from [<c0175da4>]
(__driver_attach+
0x50/0x74)
r7:cc019e94 r6:c02e4e9c r5:c02dd0a4 r4:c02dcff8
[<c0175d54>] (__driver_attach+0x0/0x74) from [<c01754b0>]
(bus_for_each_dev+0x54
/0x90)
r6:c02e4e9c r5:c0175d54 r4:00000000
[<c017545c>] (bus_for_each_dev+0x0/0x90) from [<c0175abc>]
(driver_attach+0x20/0
x28)
r7:cc074860 r6:c02e4e9c r5:cc019f44 r4:00000000
[<c0175a9c>] (driver_attach+0x0/0x28) from [<c0174d2c>]
(bus_add_driver+0xa8/0x2
10)
[<c0174c84>] (bus_add_driver+0x0/0x210) from [<c0175fb8>]
(driver_register+0xb4/
0x140)
r8:00000001 r7:c0018e3c r6:c02e4e9c r5:cc019f44 r4:00000001
[<c0175f04>] (driver_register+0x0/0x140) from [<c0176c8c>]
(platform_driver_regi
ster+0x78/0x94)
r8:00000001 r7:c0018e3c r6:cc019f3c r5:cc019f44 r4:00000001
[<c0176c14>] (platform_driver_register+0x0/0x94) from [<c0018ec0>]
(davincifb_in
it+0x84/0xa0)
[<c0018e3c>] (davincifb_init+0x0/0xa0) from [<c00282c8>]
(do_one_initcall+0x50/0
x194)
r6:00000000 r5:c0021304 r4:c0021270
[<c0028278>] (do_one_initcall+0x0/0x194) from [<c00085b8>]
(kernel_init+0x84/0xf
4)
r8:00000000 r7:00000000 r6:00000000 r5:c0021304 r4:c0021270
[<c0008534>] (kernel_init+0x0/0xf4) from [<c003fc38>] (do_exit+0x0/0x7b8)
r5:00000000 r4:00000000
Code: bad PC value.
<4>---[ end trace da227214a82491b7 ]---
<0>Kernel panic - not syncing: Attempted to kill init!
On Oct 29, 2008 12:10pm, [EMAIL PROTECTED] wrote:
Amazing with DEBUG_LL=yes component is ok! will try with a lcd now
On Oct 29, 2008 11:43am, [EMAIL PROTECTED] wrote:
> Will try this now. And I found not only lcd is not ok for default git,
but also video=davincifb:output=ntsc/pal:format=component/rgb
>
> On Oct 29, 2008 10:25am, Steve Chen [EMAIL PROTECTED]> wrote:
> > David,
> >
> >
> >
> > Try turn on DEBUG_LL in kernel config. Also, apply the attached patch.
> >
> > It may give you additional info to debug.
> >
> >
> >
> > Regards,
> >
> >
> >
> > Steve
> >
> >
> >
> > --- a/kernel/printk.c
> >
> > +++ b/kernel/printk.c
> >
> > @@ -529,6 +529,9 @@ asmlinkage int printk(const char *fmt, .
> >
> > /* cpu currently holding logbuf_lock */
> >
> > static volatile unsigned int printk_cpu = UINT_MAX;
> >
> >
> >
> > +#ifdef CONFIG_DEBUG_LL
> >
> > +void printascii(const char *string);
> >
> > +#endif
> >
> > asmlinkage int vprintk(const char *fmt, va_list args)
> >
> > {
> >
> > unsigned long flags;
> >
> > @@ -553,6 +556,10 @@ asmlinkage int vprintk(const char *fmt,
> >
> > /* Emit the output into the temporary buffer */
> >
> > printed_len = vscnprintf(printk_buf, sizeof(printk_buf), fmt, args);
> >
> >
> >
> > +#ifdef CONFIG_DEBUG_LL
> >
> > + printascii(printk_buf);
> >
> > +#endif
> >
> > +
> >
> > if (printed_len > 0) {
> >
> > unsigned int loglevel;
> >
> > int mark_len;
> >
> >
> >
> >
> >
> >
> >
> > On Tue, 2008-10-28 at 18:33, [EMAIL PROTECTED] wrote:
> >
> > > Caglar,
> >
> > > Thanks for your kindness. But as mem set to be 120MB, the same!
> >
> > > BTW i'm using a sharp 10.4" 16bitLCD
> >
> > >
> >
> > > On Oct 29, 2008 1:21am, Yusuf Caglar AKYUZ
> >
> > > wrote:
> >
> > > > -----BEGIN PGP SIGNED MESSAGE-----
> >
> > > >
> >
> > > > Hash: SHA1
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > BlackSword wrote:
> >
> > > >
> >
> > > > > Hi all,
> >
> > > >
> >
> > > > > I need you help!
> >
> > > >
> >
> > > > > I meet such a problem. My system works perfect with original
> >
> > > LSP1_20 for
> >
> > > >
> >
> > > > > lcd. And with the git version it works perfect for component
> >
> > > signal.
> >
> > > >
> >
> > > > > But when i tried bootargs video=davincifb:output=lcd. problem
> >
> > > occur. stopped
> >
> > > >
> >
> > > > > at below shows.
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > Try with mem=120M
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > Regards,
> >
> > > >
> >
> > > > Caglar
> >
> > > >
> >
> > > > -----BEGIN PGP SIGNATURE-----
> >
> > > >
> >
> > > > Version: GnuPG v2.0.9 (GNU/Linux)
> >
> > > >
> >
> > > > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org
> >
> > > >
> >
> > > >
> >
> > > >
> >
> > > > iEYEARECAAYFAkkHShAACgkQ/nL+S5dojeh3KQCfSuHJr2nkcMNsnhYsfzNrwkpQ
> >
> > > >
> >
> > > > zn8AnRgW920OQzD10UvjwuHrfH+23Hk+
> >
> > > >
> >
> > > > =UPKu
> >
> > > >
> >
> > > > -----END PGP SIGNATURE-----
> >
> > > >
> >
> > >
> >
> > >
______________________________________________________________________
> >
> > >
> >
> > > _______________________________________________
> >
> > > Davinci-linux-open-source mailing list
> >
> > > [email protected]
> >
> > >
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
> >
> >
> >
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source