While executing an application on a custom M5272C3 board with 16 Meg SDRAM, i get a Bad Frame Format error as soon as i execute the application. The RAMFS is configured to 1024K. The application size is 793780 bytes. I transfer the application onto the board using tftp.

However when i try to execute another application of size 594388 bytes this error is not shown. Both the applications were compiled using the same toolchain and exact same options.

Enclosed is the uClinux log and the obj header dump of uClinux.

Why do i get this bad frame format error.

Thanks,
Praveen C

uClinux/COLDFIRE(m5272)
COLDFIRE port done by Greg Ungerer, [EMAIL PROTECTED]
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
Built 1 zonelists
Kernel command line: 
PID hash table entries: 128 (order: 7, 512 bytes)
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory available: 13796k/16384k RAM, (894k kernel code, 143k data)
Mount-cache hash table entries: 512
NET: Registered protocol family 16
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 1024 (order: 0, 4096 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 1024 bind 1024)
TCP reno registered
io scheduler noop registered
io scheduler cfq registered (default)
ColdFire internal UART serial driver version 1.00
ttyS0 at 0x10000100 (irq = 73) is a builtin ColdFire UART
ttyS1 at 0x10000140 (irq = 74) is a builtin ColdFire UART
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
FEC ENET Version 0.2
fec: PHY @ 0x0, ID 0x0022561b -- AM79C874
eth0: ethernet 00:00:00:00:00:00
PPP generic driver version 2.4.2
uclinux[mtd]: RAM probe address=0x143648 size=0x11d000
Creating 1 MTD partitions on "RAM":
0x00000000-0x0011d000 : "ROMfs"
uclinux[mtd]: set ROMfs to be root filesystem
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (romfs filesystem) readonly.
Freeing unused kernel memory: 48k freed (0x129000 - 0x134000)
Shell invoked to run file: /etc/rc
Command: hostname uClinux
Command: /bin/expand /etc/ramfs.img /dev/ram1
Command: mount -t proc proc /proc
Command: mount -t ext2 /dev/ram1 /var
Command: mkdir /var/tmp
Command: mkdir /var/log
Command: mkdir /var/run
Command: mkdir /var/lock
Command: mkdir /var/empty
Command: ifconfig lo 127.0.0.1
Command: route add -net 127.0.0.0 netmask 255.0.0.0 lo
Command: dhcpcd -p -a eth0 &
[16]
eth0: config: auto-negotiation on, 100FDX, 100HDX, 10FDX, 10HDX.
Command: cat /etc/motd
Welcome to
          ____ _  _
         /  __| ||_|                 
    _   _| |  | | _ ____  _   _  _  _ 
   | | | | |  | || |  _ \| | | |\ \/ /
   | |_| | |__| || | | | | |_| |/    \
   |  ___\____|_||_|_| |_|\____|\_/\_/
   | |
   |_|

For further information check:
http://www.uclinux.org/

Execution Finished, Exiting

Sash command shell (version 1.1.1)
/> Nov 30 00:00:04 dhcpcd[16]: dhcpConfig: failed to update /etc/resolv.conf: Re
ad-only file system

Nov 30 00:00:04 dhcpcd[16]: dhcpConfig: failed to write cache file /etc/dhcpc/dh
cpcd-eth0.cache: No such file or directory

Nov 30 00:00:04 dhcpcd[16]: dhcpConfig: failed to write info file /etc/dhcpc/dhc
pcd-eth0.info: No such file or directory


/> 
/> 
/> 
/> cd tmp
/var/tmp> tftp 192.168.10.80
tftp> binary
tftp> get rrh
Received 793780 bytes in 14.2 seconds
tftp> /var/tmp> chmod 777 rrh
/var/tmp> ./rrh&
[22]
/var/tmp> bad frame format: 00000000
PC: [<000ad076>]
SR: 2700  SP: 00f43cc4  a2: 00282c00
d0: 00000000    d1: fffffffa    d2: 00000000    d3: 00000040
d4: 0000003f    d5: 00001000    a0: 202d1764    a1: 00e73e38
Process rrh (pid: 22, stackpage=003688f0)
Stack from 00f43cc4:
        fffffffa 00000000 00000040 0000003f 00001000 202d1764 00e73e38 00282c00
        00000000 ffffffff 00000000 4c082700 000ad076 00059dd6 00000000 00000040
        00059df2 00e73e38 00000040 0005a2d4 00e73e34 00000040 00000000 00000001
        00000000 00000001 00f43e6c 00000000 00f43e6c 00f43e74 000000f5 00134320
        00f43dd8 00134366 00e73d9c 000000c1 00000093 0000003f 00000000 00000000
        00000000 00000001 00000000 00000040 00000000 00000000 00000000 00000000
Call Trace:
        [<0005aff6>] [<00059946>] [<000922c0>] [<000afbfc>]
        [<00040000>] [<000522c0>] [<0005c226>] [<000922c0>]
        [<000afbfc>] [<000922c0>] [<00064434>] [<000922c0>]
        [<00111700>] [<000922c0>] [<0008c532>] [<000922c0>]
        [<000716b2>] [<00071792>] [<00072bcc>] [<00040bd2>]
        [<00040c04>] [<00040bd2>] [<0004386a>]

/var/tmp> ./rrh&
[22]
/var/tmp> RRH Starting...
Simulator Init...
Invoked Transmitter constructor successfully...!..
        <0>:<6>:Started Dispatcher 
<1>:<2>:Setting detection intervals.

sh 17: Child 22 died
bad frame format: 00000000
PC: [<000872b8>]
SR: 2000  SP: 002d1d14  a2: 00280f40
d0: 20404e90    d1: 00000004    d2: 00c11f94    d3: 00000000
d4: 00000000    d5: 00000000    a0: 508f202e    a1: 00000000
Process pdflush (pid: 8, stackpage=002c4600)
Stack from 002d1d14:
        00000004 00c11f94 00000000 00000000 00000000 508f202e 00000000 00280f40
        20404e90 ffffffff 00000000 4c082000 000872b8 00000000 00000000 0000000e
        00000000 ffffffff 00124ebc 00280f40 002d1e44 002d1f5e 00e78e34 002d1e88
        0000000a 00e78e34 00000004 00000000 00000000 00000000 00000000 000c1cb4
        002d1e7c 002d1f5e 00e78e34 002d1e88 00000fff 002d1e44 00059d76 00e78e38
        002d1e44 00000000 0000000e 00000000 00000000 002d1e3c 00e78d9c 00060648
Call Trace:
        [<000880fc>] [<0009bce6>] [<0009a8ee>] [<0009a8d6>]
        [<0009bce6>] [<0005f1c0>] [<000866d8>] [<0009bc5a>]
        [<00086c64>] [<000443e2>] [<0005fb64>] [<00087172>]
        [<00087118>] [<0005f336>] [<00110172>] [<0005fc66>]
        [<00056060>] [<0005f28a>] [<0005627c>] [<00056170>]
        [<00040c5e>]
bad frame format: 00000000
PC: [<000d2e7a>]
SR: 2000  SP: 002a3f28  a2: 00e79820
d0: ffffa9cf    d1: 00000004    d2: 002a3f02    d3: ffffaa33
d4: bfffffff    d5: 00000030    a0: 4e560000    a1: 00126bcc
Process ksoftirqd/0 (pid: 2, stackpage=002a08d0)
Stack from 002a3f28:
        00000004 002a3f02 ffffaa33 bfffffff 00000030 4e560000 00126bcc 00e79820
        ffffa9cf ffffffff 00000000 48082000 000d2e7a ffffa9cf 000d6438 00e79820
        002a3f98 0000000a 00000100 002a3000 0004db88 00e79820 00000001 0013d504
        0004c0d0 002a3000 00056060 002a3ff4 002a3f98 002a3f98 0004c124 0013d504
        00002000 00000711 00110f6e 0004c424 00000000 00056060 002a3000 000443e2
        0004c3ac 0005627c 00000000 002a0efc 00000711 fffffff7 ffffefef fefeffff
Call Trace:
        [<00040c5e>]
Kernel panic - not syncing: Aiee, killing interrupt handler!
images/image.elf:     file format elf32-m68k

Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         000df970  00040000  00040000  00002000  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, CODE
  1 .data         00009690  0011f970  0011f970  000e1970  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  2 .init         0000d000  00129000  00129000  000eb000  2**2
                  CONTENTS, ALLOC, LOAD, CODE
  3 .bss          0000d648  00136000  00136000  000f8000  2**4
                  ALLOC
  4 .comment      00001476  00000000  00000000  000f8000  2**0
                  CONTENTS, READONLY
  5 .romfs        0011c800  00136000  00136000  000fa000  2**0
                  CONTENTS, ALLOC, LOAD, DATA
_______________________________________________
uClinux-dev mailing list
uClinux-dev@uclinux.org
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by uclinux-dev@uclinux.org
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev

Reply via email to