This is the mail archive of the ecos-bugs@sourceware.org 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]

[Bug 1001344] Allow nc_test_slave for lwIP to compile for targetswith 128KiB RAM.


Please do not reply to this email. Use the web interface provided at:
http://bugs.ecos.sourceware.org/show_bug.cgi?id=1001344

--- Comment #17 from Sergei Gavrikov <sergei.gavrikov@gmail.com> 2012-05-15 10:25:48 BST ---
(Add to comment #14)
> Unfortunately I can't test on synthetic target since newer Linux
> kernel (3) doesn't seem to support ethertap (any suggestion?).

I've managed it using the latest "Linux for Human Beings" (Ubuntu 12.04
LTS, fresh installation on Oracle VirtualBox) as "described" below

1) sudo apt-get install bridge-utils

2) add to `/etc/network/interfaces'

  auto tap0
  iface tap0 inet manual

  auto br0
  iface br0 inet static
          bridge_ports tap0
          bridge_fd 0
          address 10.1.1.1
          broadcast 10.1.1.255
          netmask 255.255.255.0

/tmp/tmpCpwb07bugz

          netmask 255.255.255.0

3) add to /etc/dnsmasq.conf

  dhcp-range=10.1.1.10,10.1.1.20,255.255.255.0,12h

NOTE: From now Ubuntu uses `dnsmasq' out the box and it starts from
      /etc/init.d/dnsmasq.

Sure, my tweaks for dnsmasq.conf were the very minimal

    $ grep -Ev '(^#|^$)' /etc/dnsmasq.conf
    dhcp-range=10.1.1.10,10.1.1.20,255.255.255.0,12h

4) reboot


HINT: If you build `nc_test_master' on 64-bit host like me, fix CC
variable in net/common/current/tests/make.host

   CC = cc -m32

/tmp/tmpCpwb07bugz

   CC = cc -m32

Well, I've got the same results for NC tests (BSD, lwIP) with Linux
kernel 3.0 as I've got yesterday (see Comment #16).

-- 
Configure bugmail: http://bugs.ecos.sourceware.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]