This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hi, Pleaes apologies me, i forget to add the attachment in previous mail ,please find here... The application named as the 'makefile'. Regards, Dhawal. -==================================================== >>> "Dhawal Mer" <merdn@LNTEBG.com> 10/15/03 11:50AM >>> Hi, Thanx for immediate reply. Eric as per your info , i have successfully build (libtarget.a) the platform using net package/RAM startup. But when i try to link the basic.c example application given in chapter12 of 'Embedded software Development with eCos' doc to libtarget.a , i have got the error as given below.The make file for above i have send as attachment (Application named as rb8139). ----------------------------------------------------------------------------------------------------------------- Administrator@DHAWAL172 /ecos-c/workdir/application $ make i386-elf-gcc -nostartfiles -L/cygdrive/c/workdir/rb8139/rb8139_install/lib -Wl,- -gc-sections -Wl,--Map -Wl,basic1.map -o basic1 basic1.o -Ttarget.ld -nostdlib /cygdrive/c/workdir/rb8139/rb8139_install/lib/extras.o: In function `__static_in itialization_and_destruction_0': /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:104: undefined reference to `CYGARC_PCI_DMA_ADDRESS' /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:123: undefined reference to `CYGARC_PCI_DMA_ADDRESS' /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:141: undefined reference to `CYGARC_PCI_DMA_ADDRESS' /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:141: undefined reference to `CYGARC_PCI_DMA_ADDRESS' /ecos-c/ecos/packages/io/fileio/current/src/misc.cxx:141: undefined reference to `CYGARC_PCI_DMA_ADDRESS' collect2: ld returned 1 exit status make: *** [basic1] Error 1 --------------------------------------------------------------------------------------------- Please mail me where i am going wrong. I have also tried out configuration 'i386 pc with 8139' with 'redboot',still redboot Networking options remains disabled.Than how i should ableto enabled the network debugging ? Kindly also maill me the detail, how i can boot my system using 'libtarget.a' generated by your suggested configuration. Regards, Dhawal. ========================================================= >>> Eric Doenges <Eric.Doenges@DynaPel.com> 10/14/03 05:32PM >>> Dhawal Mer wrote: > Hi, > Thanx for your URL info. > As per your mentioned URL, i have downloaded the rltk8139.tgz . > I tried to added the rltk driver as one of the package in eCos.db as shown below. > —------------------------------------------------------------------------------------------- > eCos.db > —------------------------------------------------------------------------------------------ > package CYGPKG_DEVS_ETH_RLTK_8139 { > alias { "RLTK 8139 ethernet driver" > devs_eth_rltk_8139 8139_eth_driver } > hardware > directory devs/eth/rltk/8139 > script rltk_8139_eth_drivers.cdl > description "Ethernet driver for RLTK 8139 NIC." > } > - - - — - — - - — - — — — — - —- —- — —---- — —---- —- — — —- — - — — > package CYGPKG_DEVS_ETH_I386_PC_RLTK8139 { > alias { "Standard PC with EtherPro 10/100 ethernet device" > devs_eth_i386_pc_8139 pc_etherpro } > hardware > directory devs/eth/i386/pc/rltk8139 > script i386_pc_rltk8139_eth_drivers.cdl > description "Ethernet driver for standard PC with Intel 8139 NIC. This is > essentially support for a EtherPro 10/100 PCI card." > } > > —------------------------------------------------------------------------------------------- > After adding above statements, The RTL8139 driver get added to the package list as 'PC RealTek 8139 ethernet driver'.I have also added RTL8139 macro in the default list of i386 & removed the 82559 macro. > But when I try to configure i386 as target with RTL8139 as a NIC( Redboot as a Package ),the Option 'PC RealTek 8139 ethernet driver' in the Configuration windows remains disabled (It was showing all sub-options in disable mode too..). > Please mail me where i am wrong & if possible send me, brief procedure for adding above rltk8139 driver into the eCos Configtool 2.1/eCos Configtool 1.3. > Please also note that i have onboard ethernet , do i need to change anything in above driver for the same. You will also need a 'target' in ecos.db somewhat like this: target pc_8139 { alias { "i386 PC target with RealTek 8139 ethernet" } packages { CYGPKG_HAL_I386 CYGPKG_HAL_I386_GENERIC CYGPKG_HAL_I386_PC CYGPKG_HAL_I386_PCMB CYGPKG_IO_PCI CYGPKG_IO_SERIAL_GENERIC_16X5X CYGPKG_IO_SERIAL_I386_PC CYGPKG_DEVS_ETH_RLTK_8139 CYGPKG_DEVS_ETH_I386_PC_RLTK8139 CYGPKG_DEVICES_WALLCLOCK_DALLAS_DS12887 CYGPKG_DEVICES_WALLCLOCK_I386_PC } description "The pc target provides the packages needed to run eCos binaries on a standard i386 PC motherboard (with RealTek 8139 NIC)." } Then, in the configtool choose the menu item 'Build->Templates', and select the pc_8139 target and the 'net' package in the dialog. It shouldn't matter if the 8139 is onboard or not to the driver. Please note that I don't have an i386 PC target to test so I can't really help you much further if there are PC-specific problems. -- -------------------------------------------------------------------- | Eric Doenges | DynaPel Laboratories GmbH | | Tel: +49 89 962428 23 | Fraunhoferstrasse 9/2 | | Fax: +49 89 962428 90 | D - 85737 Ismaning, Germany | -------------------------------------------------------------------- -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Attachment:
makefile
Description: Binary data
-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |