booting problem Panel Card Stamp926

Hi,
pls could somebody help me? I have a problem with booting my panel card. Here is my env variables:


U-Boot 1.1.4 (Oct 25 2007 - 20:20:37)

U-Boot code: 23F00000 -> 23F33FD8 BSS: -> 23F79028
RAM Configuration:
Bank #0: 20000000 64 MB
Manufacturer: AMD (Spansion) (227e)
Chip: AMD MIRROR S29GL512N 512Mbit 128kB Sectors
Unknown Chip: (4eb4)
Flash: 64 MB
LCD: ET035005DM6
In: serial
Out: serial
Err: serial
dm9000 i/o: 0x30000000, id: 0x90000a46
MAC: 00:50:c2:3a:b6:88
Operating at 100M full duplex mode
Hit any key to stop autoboot: 0
U-Boot> print
ethaddr=00:50:C2:3A:B6:88
ipaddr=192.168.1.2
serverip=192.168.1.1
ramboot=tftpboot 21400000 initrd.bin;setenv bootargs $(basicargs) initrd=0x$(fileaddr),0x$(filesize) $(mtdparts);bootm $(kerneladdr)
usbboot=run=64M;run setbasicargs;setenv bootargs console=ttyS0,115200 mem=64M root=/dev/ram rw mtdparts=physmap-flash.0:384k(boot),1664k(linux),3072k(initrd),10240k(cfg),-(custom)
root=/dev/sda1 rootdelay=5 ro;bootm 10060000
lcd=EDT
bootargs=console=tty1,115200 mem=64M root=/dev/ram rw mtdparts=physmap-flash.0:384k(boot),1664k(linux),5120k(initrd),10240k(cfg),-(custom) initrd=0x23400000,0x500000
64M=mw ffffea08 85227279
ramsize=64M
bootdelay=3
baudrate=115200
kerneladdr=10060000
bootcmd=run flashboot
basicargs=console=ttyS0,115200 mem=64M root=/dev/ram rw
mtdparts=mtdparts=physmap-flash.0:384k(boot),1664k(linux),3072k(initrd),10240k(cfg),-(custom)
uimageaddr=10060000
initrdaddr=10200000
flashboot=run cprootfs;setenv bootargs console=ttyS0,115200 mem=64M root=/dev/ram rw mtdparts=physmap-flash.0:384k(boot),1664k(linux),3072k(initrd),10240k(cfg),-(custom) initrd=0x21400000,0x300000;bootm 10060000
cprootfs=cp.b 10200000 21400000 300000
inaddr=21400000
insize=300000
stdin=serial
stdout=serial
stderr=serial

Environment size: 1217/131068 bytes

and this is the error message:


Unable to handle kernel paging request at virtual address e1a01000
pgd = c0004000
[e1a01000] *pgd=00000000
Internal error: Oops: 5 [#1]
Modules linked in:
CPU: 0 Not tainted (2.6.22-taskit3 #1)
PC is at find_lock_page+0x34/0xe8
LR is at find_lock_page+0x2c/0xe8
pc : [] lr : [] psr: a0000093
sp : c038d9c8 ip : fffffffa fp : c038d9e0
r10: 00000000 r9 : 00000400 r8 : c0384c9c
r7 : 000001d8 r6 : c0384c9c r5 : 000001d8 r4 : e1a01000
r3 : c1459c30 r2 : 00000000 r1 : 000001d8 r0 : e1a01000
Flags: NzCv IRQs off FIQs on Mode SVC_32 Segment kernel
Control: 0005317f Table: 20004000 DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc038c258)
Stack: (0xc038d9c8 to 0xc038e000)
d9c0: c03fb460 00020030 00000000 c038da04 c038d9e4 c005b05c
d9e0: c005af5c c03fb460 c1704420 00000000 c03fb460 00000400 c038da4c c038da08
da00: c01579d0 c005b044 00000000 000001d8 00000000 00000000 00000000 00000ec2
da20: c0384c9c 00000000 00008000 00000000 c03fb460 c3eafc00 00000002 00000002
da40: c038da9c c038da50 c0118edc c0157910 c038c000 c0073fac c038da9c c038da68
da60: c005de08 c005df48 c038c000 c0073fac c038dab4 00000400 00000000 00000004
da80: c03fb460 0000000a 00000004 c03fb460 c038dae8 c038daa0 c0118fe8 c0118cf4
daa0: 00000000 00000001 000000d0 c0384ba0 00000400 c035ef80 00000004 c038db90
dac0: 0000000a 00000004 c03fb460 00000400 c035ef80 00000004 c038db90 c038daf8
dae0: c038daec c00a00a4 c0118f24 c038db78 c038dafc c00a063c c00a0090 00000800
db00: 00000000 00000400 00000000 c038db50 00000000 c0384ba0 00000001 00000001
db20: 0000000a c3dfe9f8 c038db8c 00000001 00000761 00000001 0000000a c3dfed10
db40: c038dba4 20000013 c02b0130 00000000 00000000 00000000 c035ef80 c3dfea8c
db60: 00000000 c00b8128 00000000 c038dbd4 c038db7c c00a0890 c00a0150 c038db90
db80: c038db88 c00b7b2c 00000000 00000000 00000000 c3dfea8c c035ef80 00000761
dba0: 00000000 c038dbcc c0384ba0 c005a67c c0124888 c035ef80 00000000 c035ef80
dbc0: c038dbe4 00000000 c038dbe4 c038dbd8 c00b8140 c00a083c c038dc10 c038dbe8
dbe0: c005c43c c00b8138 00000000 00000fff 00000000 c3dfe9f8 00000000 00000004
dc00: c038dd40 c038dc28 c038dc14 c005c53c c005c394 00000000 00000fff c038dc74
dc20: c038dc2c c00b5a44 c005c53c c009bc94 c0098b84 c0122ad4 c01227d0 c1642340
dc40: c038dc68 c038dc50 c00ad3d4 00000000 00000fff 00000000 c3dfe9f8 00000000
dc60: 00000004 c038dd40 c038dccc c038dc78 c00b60a0 c00b5a30 c009bbec 00005680
dc80: c3ee7a00 c038dcbc c038dc94 c3dfe98c c3dfea34 00000001 0000000c c3efd608
dca0: c038dcd0 c3dfe9f8 c3efd5b0 c3efd5b0 c3dfea60 c038de68 c038dd48 c038dd40
dcc0: c038dce4 c038dcd0 c00b6254 c00b6018 00000000 c3dfe9f8 c038dd00 c038dce8
dce0: c00b94bc c00b624c fffffff4 c3efd5b0 c3dfe9f8 c038dd30 c038dd04 c007eaf4
dd00: c00b94a4 c03741a0 c038de68 00000000 c3dfe9f8 c038dd80 c026a1ac c038dd40
dd20: 00000001 c038dd7c c038dd34 c007f698 c007ea48 c038dd40 c0058a9c 00000101
dd40: c03741a0 c3efd4b8 019ff37b 00000004 c026a1b2 c02a981c c038de68 c026a1ac
dd60: c038dd80 c026a1ac c001f864 00000001 c038ddec c038dd80 c007fc84 c007ed58
dd80: c3f0ee28 c03741a0 c03741a0 c3efd344 c038deac 00000101 00000001 00000000
dda0: c162bca0 c038decc 00000000 ffffff9c c001ee48 c03dc000 c038dec4 c038deb0
ddc0: c0076944 00000011 00000000 c03ea3c0 c02a981c c038de68 00000001 00000000
dde0: c038ddfc c038ddf0 c007ebec c007fc04 c038de28 c038de00 c007ff94 c007ebd8
de00: c0078654 ffffff9c c026a1ac 00000001 c038de68 c02a9a50 c038def8 c038de48
de20: c038de2c c00800cc c007fd64 c3ee7800 c038de68 c02a99c4 fffffff4 c038de60
de40: c038de4c c0080130 c0080088 00000011 00000000 c038decc c038de64 c007b740
de60: c008011c 00000011 c3efd4b8 c03741a0 c03741a0 c3efd344 c038deac 00000101
de80: 00000001 00000000 c162bca0 c038decc 00000000 ffffff9c c001ee48 c03dc000
dea0: c038dec4 c038deb0 c0076944 00000011 00000000 c03ea3c0 c3ee7800 c026a1ac
dec0: c038def4 c038ded0 c007c4a0 c007b720 c026a1ac c02a9a50 c02a99c4 c038def8
dee0: c001ee48 00000000 c038df5c c038def8 c0026554 c007c470 00000000 00000000
df00: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
df20: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
df40: c02c3974 00000000 00000000 c038c000 c038df6c c038df60 c0022260 c0026524
df60: c038df80 c038df70 c00222fc c0022250 c02c3978 c038dff4 c038df84 c0008bf4
df80: c002227c 1a003b00 6d00be00 00000000 00000001 a1007f00 00000000 00000000
dfa0: 00000000 c038dfb0 c0022e24 c0033bb4 00000000 00000000 c00089c0 c0039de8
dfc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
dfe0: 00000000 00000000 00000000 c038dff8 c0039de8 c00089d0 05007200 a200b300
Backtrace:
[] (find_lock_page+0x0/0xe8) from [] (find_or_create_page+0x28/0xa8)
r6:00000000 r5:00020030 r4:c03fb460
[] (find_or_create_page+0x0/0xa8) from [] (rd_make_request+0xd0/0x29c)
r8:00000400 r7:c03fb460 r6:00000000 r5:c1704420 r4:c03fb460
[] (rd_make_request+0x0/0x29c) from [] (generic_make_request+0x1f8/0x230)
[] (generic_make_request+0x0/0x230) from [] (submit_bio+0xd4/0xf8)
[] (submit_bio+0x0/0xf8) from [] (mpage_bio_submit+0x24/0x34)
r7:c038db90 r6:00000004 r5:c035ef80 r4:00000400
[] (mpage_bio_submit+0x0/0x34) from [] (do_mpage_readpage+0x4fc/0x588)
[] (do_mpage_readpage+0x0/0x588) from [] (mpage_readpage+0x64/0x80)
[] (mpage_readpage+0x0/0x80) from [] (ext2_readpage+0x18/0x20)
r4:00000000
[] (ext2_readpage+0x0/0x20) from [] (read_cache_page_async+0xb8/0x1a8)
[] (read_cache_page_async+0x0/0x1a8) from [] (read_cache_page+0x10/0x58)
[] (read_cache_page+0x0/0x58) from [] (ext2_get_page+0x24/0x290)
r5:00000fff r4:00000000
[] (ext2_get_page+0x0/0x290) from [] (ext2_find_entry+0x98/0x1e0)
[] (ext2_find_entry+0x0/0x1e0) from [] (ext2_inode_by_name+0x18/0x34)
[] (ext2_inode_by_name+0x0/0x34) from [] (ext2_lookup+0x28/0x88)
r4:c3dfe9f8
[] (ext2_lookup+0x0/0x88) from [] (do_lookup+0xbc/0x190)
r6:c3dfe9f8 r5:c3efd5b0 r4:fffffff4
[] (do_lookup+0x0/0x190) from [] (__link_path_walk+0x950/0xeac)
[] (__link_path_walk+0x0/0xeac) from [] (link_path_walk+0x90/0x160)
[] (link_path_walk+0x0/0x160) from [] (path_walk+0x24/0x28)
r7:00000000 r6:00000001 r5:c038de68 r4:c02a981c
[] (path_walk+0x0/0x28) from [] (do_path_lookup+0x240/0x268)
[] (do_path_lookup+0x0/0x268) from [] (__path_lookup_intent_open+0x54/0x94)
[] (__path_lookup_intent_open+0x0/0x94) from [] (path_lookup_open+0x24/0x2c)
r7:fffffff4 r6:c02a99c4 r5:c038de68 r4:c3ee7800
[] (path_lookup_open+0x0/0x2c) from [] (open_exec+0x30/0xc8)
[] (open_exec+0x0/0xc8) from [] (do_execve+0x40/0x1c4)
r5:c026a1ac r4:c3ee7800
[] (do_execve+0x0/0x1c4) from [] (kernel_execve+0x40/0x88)
[] (kernel_execve+0x0/0x88) from [] (run_init_process+0x20/0x2c)
r7:c038c000 r6:00000000 r5:00000000 r4:c02c3974
[] (run_init_process+0x0/0x2c) from [] (init_post+0x90/0xe0)
[] (init_post+0x0/0xe0) from [] (kernel_init+0x234/0x28c)
r4:c02c3978
[] (kernel_init+0x0/0x28c) from [] (do_exit+0x0/0x760)
Code: e1a01005 eb0326e8 e2504000 0a000027 (e5943000)
Kernel panic - not syncing: Attempted to kill init!

I really dont know what to do, thaks for every reply.
Em

Re: booting problem Panel Card Stamp926

You have to execute the 64M variable somewhere in your boot process so that the SDRAM controller is correctly configured for the whole 64MB of RAM. Otherwise, it is just configured for 32MB but the kernel will think it has 64MB because of the mem=64M. So add "run $(64M)" to either bootcmd or flashboot.

Re: booting problem Panel Card Stamp926

i dont know how to, when you look up, there's my environment variables and everywhere i see 64M. COuld you please paste me here how the variables should look like?
Thx very much

Re: booting problem Panel Card Stamp926

Currently your bootcmd looks like that

bootcmd=run flashboot

It should look like that

bootcmd=run 64M;run flashboot

To do that, enter the following command

setenv bootcmd run 64M\;run flashboot

To make this change persistent over reboot:

saveenv

P.S.: My advice with "$(64M)" was wrong, "run 64M" alone is correct.

Re: booting problem Panel Card Stamp926

thank you very very much, it's working now :)

Syndicate content