Hi, Sergei, Thanks a lot for your reply. I feel very excited that I am connected to the big eCos family. :-)
I am using eCos 3.0 with "i386 PC Target (vmWare)". Yes, you are right, the "CYGPKG_IO_ETH_DRIVERS" is missing. From the ecc file, I can see the following lines # Redboot Networking # This option includes networking support in RedBoot. # cdl_component CYGPKG_REDBOOT_NETWORKING { # This option is not active # ActiveIf constraint: CYGPKG_IO_ETH_DRIVERS # CYGPKG_IO_ETH_DRIVERS (unknown) == 0 # --> 0 Any idea why the lines related to "CYGPKG_IO_ETH_DRIVERS" is commented out? I am doing development on a Lin64 RedHat 4 machine. Thanks a lot! Jingzhao On Sat, Jun 19, 2010 at 1:43 AM, Sergei Gavrikov <sergei.gavri...@gmail.com> wrote: > On Fri, 18 Jun 2010, Jingzhao wrote: >> >> Hi, all, >> >> I am new to RedBoot and eCos. I was able to compile RedBoot and >> download it to a VMWare machine. Nice output from the console. > > Hi Jingzhao, > > What target do you use? > >> However, I don't know how to enable networking for RedBoot. I don't >> see any information from the RedBoot output what IP address it uses. >> The "ip_address" command is not there. > > You have to add 'CYGPKG_IO_ETH_DRIVERS' eCos package. That package > provides a generic, platform-independent Ethernet I/O. > >> When I looked the eCos configuration for RedBoot, the "RedBoot >> Networking" is grayed out. I cannot even specify a static IP address >> as the field is disabled. >> >> Can any one give me a hand? > > With added package above you will get 'RedBoot Networking' enabled, but, > that won't be mean that you will get networking on your target (your > target must have H/W Ethernet device drivers something like > > CYGPKG_DEVS_ETH_YOURNIC > CYGPKG_DEVS_ETH_ARCH_TARGET > > ). > > Well, in such a case (if your target has not NIC) RedBoot will say about > an absent NIC on its start > > +No network interfaces found > > HTH > > Sergei -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss