AnsweredAssumed Answered

B4860QDS Linux - Getting Started

Question asked by bill chadwick on Oct 23, 2014
Latest reply on Oct 31, 2014 by adrianraileanu

I can boot a B4860QDS to Linux and interact with the shell over the RS232

 

I now want to get its IP Network stack up and connect the board to a PC via ethernet so that I can build and debug Linux apps from Code Warrior.

 

Is there some getting started document about this that I have failed to find ?

 

From the serial link, typing ifconfig-a I get

 

 

b4860qds login: root

root@b4860qds:~# ifconfig -a

fm1-mac3  Link encap:Ethernet  HWaddr 00:e0:0c:00:a9:02

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Memory:fe4e4000-fe4e4fff

 

fm1-mac4  Link encap:Ethernet  HWaddr 00:e0:0c:00:a9:03

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Memory:fe4e6000-fe4e6fff

 

fm1-mac5  Link encap:Ethernet  HWaddr 00:e0:0c:00:a9:04

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Memory:fe4e8000-fe4e8fff

 

fm1-mac6  Link encap:Ethernet  HWaddr 00:e0:0c:00:a9:05

          BROADCAST MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

          Memory:fe4ea000-fe4eafff

 

ip6tnl0   Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

          NOARP  MTU:1452  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

lo        Link encap:Local Loopback

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:65536  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

sit0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00

          NOARP  MTU:1480  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

tunl0     Link encap:IPIP Tunnel  HWaddr

          NOARP  MTU:1480  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

root@b4860qds:~#

 

I have tried

 

 

root@b4860qds:~#

root@b4860qds:~# ifconfig fm1-mac3 192.168.0.10 netmask 255.255.255.0 up

root@b4860qds:~# ifconfig fm1-mac3

fm1-mac3  Link encap:Ethernet  HWaddr 00:e0:0c:00:a9:02

          inet addr:192.168.0.10  Bcast:192.168.0.255  Mask:255.255.255.0

          inet6 addr: fe80::2e0:cff:fe00:a902/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:6 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:468 (468.0 B)

          Memory:fe4e4000-fe4e4fff

 

root@b4860qds:~#

 

but I can not ping my PC on 192.168.0.1 (or ping 192.168.0.10 from my pc).

 

I am connecting my B4860QDS to my PC using J18. Is that correct ?

 

 

 

.

Outcomes