Project Home
Project Home
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - network problem in using I.mx6 bsp: (2 Items)
   
network problem in using I.mx6 bsp  
 details at http://boundarydevices.com/6q_bootscript
U-Boot > run bootcmd_test
mmc0 is current device
reading ifs-mx6q-nitrogen.raw
4675788 bytes read in 262 ms (17 MiB/s)
## Starting application at 0x10800000 ...
SCU_CONFIG = 00000501, 2 cpus
L2 cache enabled
CPU0: L1 Icache: 1024x32
CPU0: L1 Dcache: 1024x32 WB
CPU0: VFP-d32 FPSID=41033094
CPU0: NEON MVFR0=10110222 MVFR1=01111111
CPU0: 412fc09a: Cortex A9 MPCore rev 10 792MHz
PLL1 - System     : 792MHz
PLL2 - System Bus : 528MHz
PLL3 - OTG USB    : 480MHz
PLL4 - Audio      : 144MHz
PLL5 - Video      : 288MHz
PLL7 - Host USB   : 480MHz
PLL8 - Enet       : 50MHz
IPG clock     : 66000000Hz
IPG per clock : 66000000Hz
UART clock    : 80000000Hz
CSPI clock    : 60000000Hz
AHB clock     : 132000000Hz
AXI clock     : 198000000Hz
EMI_SLOW clock: 22000000Hz
DDR clock     : 396000000Hz
USDHC1 clock  : 198000000Hz
USDHC2 clock  : 198000000Hz
USDHC3 clock  : 198000000Hz
USDHC4 clock  : 198000000Hz
ENFC clock    : 24000000Hz
decompressing...CPU1: L1 Icache: 1024x32
CPU1: L1 Dcache: 1024x32 WB
CPU1: VFP-d32 FPSID=41033094
CPU1: NEON MVFR0=10110222 MVFR1=01111111
CPU1: 412fc09a: Cortex A9 MPCore rev 10 792MHz
cpu_startnext: cpu1 -> fc409b8c

System page at phys:10017000 user:fc408000 kern:fc408000
Starting next program at vfe04a1ec
cpu_startnext: cpu0 -> fe04a1ec
Welcome to QNX Neutrino 6.5.0 SP1 on the i.mx6Q Nitrogen (ARM Cortex-A9 MPCore)
Starting watchdog...
Starting UART1,3 drivers (/dev/ser1,3)...
Starting I2C1,2,3 driver (/dev/i2c1,2,3)...
Starting SD3 (microSD) memory card driver...
Starting SD4 (microSD) memory card driver...
Path=0 - FREESCALE USDHC
(devf  t1::f3s_flash_probe:285) Unable to properly identify any flash devices
Starting SATA driver...
Starting USB host1 and OTG driver (operating in host mode)
Launching devb-umass...
Starting Ethernet driver
Starting Touch Driver
mx6q_nitrogen_tsc2004_dev_reset: Unable to communicate with touchscreen - 5
Error: unable to reset module dev1
Unable to access "/dev/devi" (2)
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
fec0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:19:b8:01:15:b0
        media: Ethernet 10baseT full-duplex (none)
# ifconfig fec0 192.168.78.78 netmask 255.255.255.0
# ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 33192
        inet 127.0.0.1 netmask 0xff000000
fec0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        address: 00:19:b8:01:15:b0
        media: Ethernet 10baseT full-duplex (none)
#


then what is the problem? Is something wrong with the network drive in the BSP?
Re: network problem in using I.mx6 bsp  
something more to add:

1. using 6.5.1, and i.mx6 dual-core
2. below is the nicinfo information:
    # nicinfo fec0
fec0:
  IMX 6Q ENET Ethernet Controller

  Link is DOWN

  Physical Node ID ........................... 0019B8 0115B0
  Current Physical Node ID ................... 0019B8 0115B0
  Current Operation Rate ..................... 10.00 Mb/s full-duplex
  Active Interface Type ...................... Unknown
  Maximum Transmittable data Unit ............ 1514
  Maximum Receivable data Unit ............... 1514
  Hardware Interrupt ......................... 0x96
  Memory Aperture ............................ 0x2188000 - 0x2188fff
  Promiscuous Mode ........................... Off
  Multicast Support .......................... Enabled

  Packets Transmitted OK ..................... 0
  Bytes Transmitted OK ....................... 0
  Broadcast Packets Transmitted OK ........... 0
  Multicast Packets Transmitted OK ........... 0
  Memory Allocation Failures on Transmit ..... 0

  Packets Received OK ........................ 0
  Bytes Received OK .......................... 0
  Broadcast Packets Received OK .............. 0
  Multicast Packets Received OK .............. 0
  Memory Allocation Failures on Receive ...... 0

  Single Collisions on Transmit .............. 0
  Multiple Collisions on Transmit ............ 0
  Deferred Transmits ......................... 0
  Late Collision on Transmit errors .......... 0
  Transmit Underruns ......................... 0
  No Carrier on Transmit ..................... 0
  Jabber detected ............................ 0
  Receive Alignment errors ................... 0
  Received packets with CRC errors ........... 0
  Oversized Packets received ................. 0
  Short packets .............................. 0

3.  So, if someone can tell me the possible reason why the link is down and why I couldnot configure address? Thank you!