Hi all !!
I've defined a cofiguration using Linux 2.4.0 rmk2 np2
I'm using a small ramdisk for booting and a big JFFS partition in Flash
that contains all of my user stuff.
I downloaded madplay on my board and tried to play an MP3 sound.
But the program crashes and my board hangs.
Any idea ???
Here are the traces frommy screen:
STKP
C19F3FFC
MMU table start=C19F4000
Boot data start=C19F8000
Boot data size=00008000
Stack data base=C19F0000
Stack data size=00004000
FLASH_BASE=00000000
Evacuating 1MB of Flash to DRAM at: C1E00000
done
Map Flash virtual section to DRAM at: C1E00000
btflash_init: mfrid=00890089
devid=00180018
walking flash descriptors
btflash_init: found flash 28F128J3A
flashDescriptor=0000D00C
flashSectors=0000CDEC
nsectors=00000080
flash_size=02000000
flash_address_mask=01FFFFFF
get_param: could not find parameter system_rev
dram_size: 02000000
>> Compaq OHH BootLoader, Rev 02.0B.02
>> 01-03-11_11:29
>> ARM Processor Rev=6901B118
>> (c) 2000 Compaq Cambridge Research Laboratory
>> Contains code (c) 2000 John G Dorsey licensed under GPLv2
Press Return to start the OS now, any other key for monitor menu
eval param blk
+ set copy_ramdisk 0x00000001
setting param=copy_ramdisk to value=0x00000001
+ set linuxargs "initrd root=/dev/ram ramdisk_size=8192"
setting param=linuxargs to value=initrd root=/dev/ram
ramdisk_size=8192
booting flash...
boot_magic=5A5ABEEF
kernel_image_first_word=E1A00000
Linux ELF flash_imgstart=5008000C size=0009EE00 dest=C0000000
offset=00008000
MMU Control=C19F4071
copying Linux kernel ... done
--More--(10%)copying Linux kernel ... done
linuxEntryPoint: C0008000
kernel_image_dest: C0000000
kernel_image_offset: 00008000
C0008000: E1A00000
C0008004: E1A00000
C0008008: E1A00000
C000800C: E1A00000
C0008010: E1A00000
C0008014: E1A00000
C0008018: E1A00000
C000801C: E1A00000
C0008020: EA000002
C0008024: 016F2818
Copying compressed ramdisk from 00140004 to C0800000...Done
root_filesystem_name=ramdisk
argc=00000002
args=initrd root=/dev/ram ramdisk_size=8192
setting boot parameters
get_param: could not find parameter system_rev
first_word_of_ramdisk=00268500
Setting up Linux parameters at address=C0000100
using_ramdisk=00000001
initrd_start=C0800000
dram_size=02000000
nr_pages=00002000
command line is: initrd root=/dev/ram ramdisk_size=8192
linuxEntryPoint=C0008000
Booting Linux image
Uncompressing Linux.................................................
done, booting the kernel.
Linux version 2.4.0-rmk2-np2 ( [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]> ) (gcc version 2.95.2 19991024
(release)) #2 Mon Mar 12 10:
40:32 CET 2001
Processor: Intel StrongARM-1110 revision 8
Architecture: Intel-Assabet
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: keepinitrd
Console: colour dummy device 80x30Console: colour dummy device 80x30
Calibrating delay loop... 194.15 BogoMIPS
Memory: 32MB = 32MB total
Memory: 27400KB available (1294K code, 343K data, 68K init)
Dentry-cache hash table entries: 4096 (order: 3, 32768 bytes)
Buffer-cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 2048 (order: 2, 16384 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
scale: SA-1110 clock scaling initialized, clock speed is 206 MHz
Starting kswapd v1.8
Console: switching to colour frame buffer device 40x30
pty: 256 Unix98 ptys configured
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 50MHz system bus speed for PIO modes; override with
idebus=xx
RAMDISK: Compressed image found at block 0
JFFS version 1.0, (C) 1999, 2000 Axis Communications AB
loop: loaded (max 8 devices)
SA1100 serial driver version 1.3
ttyS0 on SA1100 UART1 (irq 15)
ttyS1 on SA1100 UART3 (irq 17)
ttyS2 on SA1100 UART2 (irq 16), using IRDA
UCB1200 generic module installed
ucb1200 touch screen driver initialized
UDA1341 audio driver initialized
SA1100 flash: probing for 6 partitions (buswidth = 4)
SA1100: Found 2 x16 CFI devices at location 0 in 16 bit mode
JEDEC ID: 89 18
mtd: Giving out device 0 to mtd0 : Loader
mtd: Giving out device 1 to mtd1 : Params
mtd: Giving out device 2 to mtd2 : Kernel
mtd: Giving out device 3 to mtd3 : Ramdisk
mtd: Giving out device 4 to mtd4 : File System
mtd: partition "mtd5 : Other" is out of reach -- disabled
mtd: Giving out device 5 to mtd5 : Other
SA1100 flash access initialized
--More--(31%)SA1100 flash access initialized
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.95 (c) 1998-1999 Rebel.com
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 68K
INIT: version 2.74 booting
INIT: Entering runlevel: 3
Starting system logger: syslogd
Starting INET services: inetd
Linux login: root
[root@Linux /root]$ls /dev/dsp
/dev/dsp: No such file or directory
[root@Linux /root]$uname -a
Linux Linux 2.4.0-rmk2-np2 #2 Mon Mar 12 10:40:32 CET 2001 armv4l
unknown
[root@Linux /root]$mknod /dev/dsp c 14 3
[root@Linux /root]$mknod /dev/dsp c 14 3[root@Linux /root]$ls -l
/dev/dsp
crw-r--r-- 1 root root 14, 3 Jan 1 00:00 /dev/dsp
[root@Linux /root]$cd /etc/rc.d
[root@Linux rc.d]$./myinit.sh
mtdblock_open
ok
/dev/dsp: File exists
[root@Linux rc.d]$cd /usr/mtdblock4/usr/SOUND/bin
[root@Linux bin]$ls
madplay diana.mp3
[root@Linux bin]$./madplay diana.mp3
./madplay diana.mp3
MPEG Audio Decoder version 0.11.4 (beta) - Copyright (C) 2000 Robert
Leslie
Unhandled fault: section permission fault (2D) at 0xffffff64
pgd = c1974000
--More--(41%)pgd = c1974000
*pgd = b1f00442, *pmd = b1f00442(bad)
Unable to handle kernel paging request at virtual address 00009ac2
pgd = c0004000
*pgd = c01b4001, *pmd = c01b4001, *pte = 00000000, *ppte = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<c001ffd4>] lr : [<c00202f4>]
sp : c18a3df8 ip : 20000013 fp : c18a3e30
r10: 01000000 r9 : 0000000c r8 : c18a3e58
r7 : 00000003 r6 : 00000000 r5 : e59c3000 r4 : 00009ac2
r3 : 00000005 r2 : 01000000 r1 : c0176274 r0 : 00009ac2
Flags: nzcv IRQs on FIQs on Mode SVC_32 Segment user
Control: C189D17F Table: C189D17F DAC: 00000015
Process syslogd (pid: 37, stackpage=c18a3000)
Code: e3150601 0a00000c (e5d43000) e357000f e5d41001
Stack:
c18a3de0: c00202f4 c001ffd4 00000013 ffffffff
c18d5a20 c18a3e3c
c18a3e00: 00000001 00000004 ffffffff 00009ac2 c18a3e58 c012e9d0
00000003 20000013
c18a3e20: c013098c c18a3e54 c18a3e34 c00202f4 c001fcf4 ffffffff
c18a3e8c 0000000f
c18a3e40: c01697f8 c0166900 c18a3ec0 c18a3e58 c00198a0 c0020234
c0166900 a0000013
c18a3e60: 00009aea 0000000f ffffffdf 00000000 0000000f c01697f8
c0166900 c18a3f0c
c18a3e80: c013098c c18a3ec0 00009ac2 c18a3ea0 00009aea c005d43c
20000013 ffffffff
c18a3ea0: c0166900 c18a2000 00000000 c18a2000 0000000b c18a3ed4
c18a3ec4 c005d4d4
c18a3ec0: c005d40c c0166900 c18a3eec c18a3ed8 c005cdd8 c005d4c0
c18a2000 c18a2000
c18a3ee0: c18a3efc c18a3ef0 c00291e4 c005cba8 c18a3fb4 c18a3f00
c001db40 c002905c
c18a3f00: 00000000 00000001 c18a2320 0000000b 00000000 00030001
4010b000 c18bb620
c18a3f20: a0000013 c18a2000 c000e3a0 c017d220 c18a3f60 c0023028
c0166924 c18a2000
c18a3f40: c18a2000 00001000 bfffeda0 00000000 00000001 c18a3f9c
c18a3f64 c0025a94
c18a3f60: c002414c 00000000 c18a2000 c0166928 c0166928 bfffeda0
00000006 c0160c80
c18a3f80: 4010b000 a0000010 c000517f 00000001 c18a2000 a0000010
c000517f c18a3ff4
c18a3fa0: 02018870 40104f28 00000000 c18a3fb8 c0019c5c c001d848
40108560 00000001
c18a3fc0: 4010a6f0 00000fb8 4010a6f0 bfffeda3 00000001 bfffed3c
00000000 02018870
c18a3fe0: 40104f28 bfffed10 bfffed14 bfffece0 40092cb0 4010b000
a0000010 ffffffff
Backtrace:
Function entered at [<c001fce8>] from [<c00202f4>]
Function entered at [<c0020228>] from [<c00198a0>]
r8 = C0166900 r7 = C01697F8 r6 = 0000000F r5 = C18A3E8C
r4 = FFFFFFFF
Function entered at [<c005d400>] from [<c005d4d4>]
--More--(57%)Function entered at [<c005d400>] from [<c005d4d4>]
r8 = 0000000B r7 = C18A2000 r6 = 00000000 r5 = C18A2000
r4 = C0166900
Function entered at [<c005d4b4>] from [<c005cdd8>]
r4 = C0166900
Function entered at [<c005cb9c>] from [<c00291e4>]
r5 = C18A2000 r4 = C18A2000
Function entered at [<c0029050>] from [<c001db40>]
Function entered at [<c001d83c>] from [<c0019c5c>]
Unable to handle kernel paging request at virtual address e5862004
pgd = c0008000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<c001f848>] lr : [<c001f83c>]
sp : c0265ea0 ip : c000d1a0 fp : c0265ec4
r10: c000e080 r9 : ffffffff r8 : ffffffff
r7 : 0200e680 r6 : fffffffe r5 : c0264000 r4 : e5862000
r3 : 0200f000 r2 : ffffffff r1 : 0200e680 r0 : e5862000
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: C000917F Table: C000917F DAC: 00000015
Process init (pid: 1, stackpage=c0265000)
Code: e2504000 0a000052 (e5942004) e1520007 8a000028
Stack:
c0265e80: c001f83c c001f848
a0000013 ffffffff
c0265ea0: c000e09c c0264000 0200e680 c012ea60 c0265f98 c000e080
c0265f70 c0265ec8
c0265ec0: c001fa84 c001f828 c0264000 c0264000 c0265f94 c0265ee0
c001dbb8 c001d74c
c0265ee0: c0265f98 00000001 c0264320 00000011 00000000 00040002
00000025 00000000
c0265f00: 0000000b 00000000 00000019 0000002a fffffdfe 00000001
c0265f34 c0265f40
c0265f20: c0265f2c c00286ac c001b168 c18a2000 00000025 c0265f8c
c0265f44 c002979c
c0265f40: c002414c 00000000 c0160c80 0200e680 c0265f98 c012ea60
0000000f 02001d80
c0265f60: 0200dd80 c0265f94 c0265f74 c00202f4 c001fa04 c0160c80
0200de40 00000000
c0265f80: c000517f 02001e88 00000000 c0265f98 c0019c28 c0020234
00000000 0000000d
c0265fa0: 00000007 00000000 0200e680 0200de40 00000000 00000001
02001e88 02001d80
c0265fc0: 0200dd80 bffffbe4 33320023 bffffbc8 0200e6a0 02003678
20000010 ffffffff
c0265fe0: 00002000 c01a1078 c0175a20 c0175a10 00000000 c0266000
c001b3e0 c00190a4
Backtrace:
Function entered at [<c001f81c>] from [<c001fa84>]
Function entered at [<c001f9f8>] from [<c00202f4>]
Function entered at [<c0020228>] from [<c0019c28>]Function entered at
[<c0020228>] from [<c0019c28>]
r8 = 02001E88 r7 = C000517F r6 = 00000000 r5 = 0200DE40
r4 = C0160C80
Kernel panic: Attempted to kill init!
Unable to handle kernel paging request at virtual address e59f227c
pgd = c0008000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<c006cdf4>] lr : [<c006cd90>]
sp : c0265ca8 ip : e59f2248 fp : c0265cd4
r10: 00000000 r9 : 00000000 r8 : 00000000
r7 : 00000000 r6 : c1b907e0 r5 : c0245600 r4 : c0245600
r3 : 00000000 r2 : 0000001f r1 : c0267b20 r0 : 00000156
Flags: NzCv IRQs on FIQs on Mode SVC_32 Segment user
Control: C000917F Table: C000917F DAC: 00000015
Process init (pid: 1, stackpage=c0265000)
Code: e596508c e5960020 (e59c4034) e59510b0 e2400001
Stack:
c0265c80:
c006cd90 c006cdf4
c0265ca0: a0000013 ffffffff c196bde0 e59f2248 00000001 c1b907e0
c0245638 00000000
c0265cc0: c0245600 c0169818 c0265ce4 c0265cd8 c006d0f4 c006cd20
c0265d10 c0265ce8
c0265ce0: c005e5a8 c006d0f0 00000000 c0264000 c0265e58 c0264000
0000000b 00000000
c0265d00: c000e080 c0265d24 c0265d14 c0048984 c005e434 c0178960
c0265d34 c0265d28
c0265d20: c00489a8 c0048960 c0265d44 c0265d38 c00258c4 c00489a0
c0265d64 c0265d58
c0265d40: c00290b0 c002585c c01309dc 00000000 00000000 00000001
c0265d84 c0265d68
c0265d60: c001e8fc c002905c 00000003 c0264000 e5862004 fffffffe
c0265e30 c0265d88
c0265d80: c001fba8 c001e814 00000001 00000001 00000400 c0265dc0
c0265da4 c006b534
c0265da0: c0069a00 c0265dcc c0265dcc 00001000 c0016460 c0265df8
c0265dc4 c006b694
c0265dc0: c006b4bc c0265e4c c0265e3c 00000000 c0265e1c 00001000
c0016460 c0265e1c
c0265de0: 00000001 00000001 c0265e1c c0265e84 c0265dfc c006bb74
c006b668 c0265e1c
c0265e00: 00000400 c0265e4c ffffffff e5862004 c0265e58 c012e9e8
00000005 a0000013
c0265e20: c000e080 c0265e54 c0265e34 c00202f4 c001fa04 ffffffff
c0265e8c fffffffe
c0265e40: 0200e680 ffffffff c0265ec4 c0265e58 c00198a0 c0020234
e5862000 0200e680
c0265e60: ffffffff 0200f000 e5862000 c0264000 fffffffe 0200e680
ffffffff ffffffff
c0265e80: c000e080 c0265ec4 c000d1a0 c0265ea0 c001f83c c001f848
a0000013 ffffffff
c0265ea0: c000e09c c0264000 0200e680 c012ea60 c0265f98 c000e080
c0265f70 c0265ec8
c0265ec0: c001fa84 c001f828 c0264000 c0264000 c0265f94 c0265ee0
c001dbb8 c001d74c
c0265ee0: c0265f98 00000001 c0264320 00000011 00000000 00040002
00000025 00000000
c0265f00: 0000000b 00000000 00000019 0000002a fffffdfe 00000001
c0265f34 c0265f40
--More--(89%)c0265f20: c0265f2c c00286ac c001b168 c18a2000 00000025
c0265f8c c0265f44 c002979c
c0265f40: c002414c 00000000 c0160c80 0200e680 c0265f98 c012ea60
0000000f 02001d80
c0265f60: 0200dd80 c0265f94 c0265f74 c00202f4 c001fa04 c0160c80
0200de40 00000000
c0265f80: c000517f 02001e88 00000000 c0265f98 c0019c28 c0020234
00000000 0000000d
c0265fa0: 00000007 00000000 0200e680 0200de40 00000000 00000001
02001e88 02001d80
c0265fc0: 0200dd80 bffffbe4 33320023 bffffbc8 0200e6a0 02003678
20000010 ffffffff
c0265fe0: 00002000 c01a1078 c0175a20 c0175a10 00000000 c0266000
c001b3e0 c00190a4
Backtrace:
Function entered at [<c006cd14>] from [<c006d0f4>]
Function entered at [<c006d0e4>] from [<c005e5a8>]
Function entered at [<c005e428>] from [<c0048984>]
Function entered at [<c0048954>] from [<c00489a8>]
r4 = C0178960
Function entered at [<c0048994>] from [<c00258c4>]
Function entered at [<c0025850>] from [<c00290b0>]
Function entered at [<c0029050>] from [<c001e8fc>]
Function entered at [<c001e808>] from [<c001fba8>]
r7 = FFFFFFFE r6 = E5862004 r5 = C0264000 r4 = 00000003
Function entered at [<c001f9f8>] from [<c00202f4>]
Function entered at [<c0020228>] from [<c00198a0>]
r8 = FFFFFFFF r7 = 0200E680 r6 = FFFFFFFE r5 = C0265E8C
r4 = FFFFFFFF
Function entered at [<c001f81c>] from [<c001fa84>]
Function entered at [<c001f9f8>] from [<c00202f4>]
Function entered at [<c0020228>] from [<c0019c28>]
r8 = 02001E88 r7 = C000517F r6 = 00000000 r5 = 0200DE40
r4 = C0160C80
Kernel panic: Attempted to kill init!
Cyrille Ngalle
Software Engineer
Smart Fusion
Phone : 04.97.23.25.61
Mobile : 06.62.58.89.05
e-mail : [EMAIL PROTECTED]
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.