[uClinux-dev] Minimum RAM for uClinux

Deepu d deepu_tanur at yahoo.com
Tue Oct 18 03:03:07 EDT 2005


I am newbie in uclinux. I am trying to simulate a
hello program in skyeye.
I have followed the "Adding User Apps Howto " document
and added my entries in config/configure.help,
config/config.in and in /user/Makefile.

For simulating in skyeye I wrote a skyeye.conf as
below

##########################################################
#skyeye config file sample
cpu: arm7tdmi

mach: at91

mem_bank: map=M, type=RW, addr=0x00000000,
size=0x00004000
mem_bank: map=M, type=RW, addr=0x01000000,
size=0x00400000
mem_bank: map=M, type=R,  addr=0x01400000,
size=0x00400000, file=./images/romfs.img
mem_bank: map=M, type=RW, addr=0x02000000,
size=0x00400000
mem_bank: map=M, type=RW, addr=0x02400000,
size=0x00008000
mem_bank: map=M, type=RW, addr=0x04000000,
size=0x00400000
mem_bank: map=I, type=RW, addr=0xf0000000,
size=0x10000000
#set nic info state=on/off  mac=xx:xx:xx:xx:xx:xx 
ethmod=tuntap/vnet #hostip=dd.dd.dd.dd
net: state=on, mac=0:4:3:2:1:f, ethmod=tuntap,
hostip=10.0.0.1
#log: logon=1, logfile=/tmp/test.log, start=100000,
end=1000000
log: logon=0, logfile=/tmp/test.log, start=3200000,
end=3330000
########################################################

and ..

#skyeye linux-2.4.x/linux
(skyeye) tar s
(skyeye) load
(skyeye) run
.
.
.
/> hello
BINFMT_FLAT: bad magic/rev (0x1010100, need 0x4)
BINFMT_FLAT: bad magic/rev (0x1010100, need 0x4)
print: Exec format error
/>

The program does't work and gives the above error
messages.

what is the problem.
The hello file is there  in /uClinux-dist/romfs file.
But it appeares to be an executable file but all other
application in the /romfs file are  program file.

Please help me.

deepu D




	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com



More information about the uClinux-dev mailing list