This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Problems in building Redboot with ROM File System
- From: "Manoj Abraham" <manojkabraham at india dot com>
- To: "Andrew Lunn" <andrew at lunn dot ch>, ecos-discuss at sources dot redhat dot com
- Date: Thu, 16 Sep 2004 21:55:22 +0800
- Subject: [ECOS] Problems in building Redboot with ROM File System
Hai,
Thanks for your reply. I tried to include ROM File System package while building image for Redboot. I also included following packages
1. IO Subsystem
2. eCos Kernel
3. C Lib
4. Linux Comp.layer
5. File IO
6. Posix File IO Comp. layer
I have selected the Base of ROM FS as 0xFE10000
When I give build it is giving the following error
make[1]: Leaving directory `/working/xalted/test/b_build/redboot/current'
ecos-c/cygwin/working/xalted/test/b_install/lib/extras.o: In function `fcc_eth_RxEvent':
make: Leaving directory `/working/xalted/test/b_build'
/ecos-c/cygwin/opt/ecos/updates/ecos/packages/devs/eth/powerpc/fcc/current/src/if_fcc.c:515: undefined reference to `sscanf'
collect2: ld returned 1 exit status
make[1]: *** [/ecos-c/cygwin/working/xalted/test/b_install/bin/redboot.elf] Error 1
make: *** [build] Error 2
I am surprised to see that the file if_fcc.c doesnot use the fn sscanf()..
Can you please tell me what is the mistake I have made while selecting the pkges?
Thank you
Manoj K Abraham
Dept.of Comp. Sc,
M.I.T Manipal,
INDIA
----- Original Message -----
From: Andrew Lunn <andrew@lunn.ch>
Date: Thu, 16 Sep 2004 11:23:47 +0200
To: Manoj Abraham <manojkabraham@india.com>
Subject: Re: [ECOS] Laoding Filesystem to the target
> On Thu, Sep 16, 2004 at 05:11:52PM +0800, Manoj Abraham wrote:
> > Hi all,
> >
>
> > Thanks in advnce. Can anyone help me in loading the filesystem? My
> > flash is working fine and i loaded the redboot.bin and I got
> > Redbboot prompt. Now I want to load the file system into the Flash.I
> > have 32MB ROM and 128MB RAM on Board.I loaded the Redboot img to ROM
> > at 0xFE000000. I have created one romfs.img from ROM
> > directory. Where should i load this image?
>
> You should think of eCos as a set of tools in a toolbox. How you
> configure and use them is up to you and your target hardware.
>
> For the ROMFS there are a number of locations the romfs can be in. The
> fileio1 test actually puts the filesystem inside the test image, not
> in ROM. You could do the same for your application if you want. Or you
> can put it into flash if you want. Where is up to you. When you mount
> the filesystem you just need to pass the address. Redboot can be used
> to put the filesystem image into flash. Just use the same procedure
> you used for installing the redboot rom image, ie load it into RAM and
> then write it to flash.
>
> Andrew
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
--
India.com free e-mail - www.india.com.
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and ads-free mailboxes!
Powered by Outblaze
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss