LS1021ATWR ping failed

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1021ATWR ping failed

1,212 Views
hoanguyen
Contributor II

Hi all,

I have a new loaner board LS1021A TWR and PING works fine in the u-boot but as soon as I start the kernel, ping failed from all 3 ports. Both Ping from the LS1021ATWR to another device with IP address 192.168.1.210 or from device 192.168.1.210 to LS1021A failed. I have tried to connect device *.210 directly to LS1021A or thru an external switch, it all failed.

Am I missing anything? Any services that I need to start?

Thanks

HoaN

--- 192.168.1.210 ping statistics ---
6 packets transmitted, 0 received, +3 errors, 100% packet loss, time 5006ms
pipe 3
root@ls1021atwr:~# ifconfig eth2 192.168.1.202 netmask 255.255.255.0
root@ls1021atwr:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:86
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          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:252 (252.0 B)
          Base address:0xa000

eth1      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:87
          inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:23 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)
          Base address:0xe000

eth2      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:88
          inet addr:192.168.1.202  Bcast:192.168.1.255  Mask:255.255.255.0
          UP 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)
          Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:1008 (1008.0 B)  TX bytes:1008 (1008.0 B)

root@ls1021atwr:~# libphy: mdio@2d24000:02 - Link is Down
libphy: mdio@2d24000:01 - Link is Up - 100/Full
^C
root@ls1021atwr:~# ping 192.168.1.210
PING 192.168.1.210 (192.168.1.210) 56(84) bytes of data.
From 192.168.1.200 icmp_seq=1 Destination Host Unreachable
From 192.168.1.200 icmp_seq=2 Destination Host Unreachable
From 192.168.1.200 icmp_seq=3 Destination Host Unreachable

0 Kudos
5 Replies

820 Views
ufedor
NXP Employee
NXP Employee

You may need to update the RCW.

I have verified all 3 eTSEC ports by pinging under Linux and they work fine.

Aattached are the RCW and the log file.

0 Kudos

820 Views
ufedor
NXP Employee
NXP Employee

Please provide complete U-Boot and Linux booting log.

0 Kudos

820 Views
hoanguyen
Contributor II

Ufedor,

Here is the log for both u-boot and Linux


U-Boot 2015.01+SDKv1.9+geb3d4fc (Dec 02 2015 - 10:54:04)

CPU:   Freescale LayerScape LS1021E, Version: 2.0, (0x87081120)
Clock Configuration:
       CPU0(ARMV7):1000 MHz,
       Bus:300  MHz, DDR:800  MHz (1600 MT/s data rate),
Reset Configuration Word (RCW):
       00000000: 0608000a 00000000 00000000 00000000
       00000010: 70000000 00007900 e0025a00 21046000
       00000020: 00000000 00000000 00000000 20000000
       00000030: 00080000 881b7340 00000000 00000000
Board: LS1021ATWR
CPLD:  V2.0
PCBA:  V1.0
VBank: 0
I2C:   ready
DRAM:  1 GiB
Using SERDES1 Protocol: 112 (0x70)
Firmware 'Microcode version 0.0.1 for LS1021a r1.0' for 1021 V1.0
QE: uploading microcode 'Microcode for LS1021a r1.0' version 0.0.1
Flash: 128 MiB
MMC:   FSL_SDHC: 0
EEPROM: NXID v1
PCIe1: Root Complex no link, regs @ 0x3400000
PCIe2: Root Complex no link, regs @ 0x3500000
In:    serial
Out:   serial
Err:   serial
SEC0: RNG instantiated
SATA link 0 timeout.
AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl SATA mode
flags: 64bit ncq pm clo only pmp fbss pio slum part ccc
scanning bus for devices...
Found 0 device(s).
SCSI:  Net:   eTSEC2 is in sgmii mode.
eTSEC1, eTSEC2, eTSEC3 [PRIME]
Hit any key to stop autoboot:  0
=> printenv
baudrate=115200
bootargs=root=/dev/ram0 rw console=ttyS0,115200 hdmi
bootcmd=cp.b 60300000 82000000 700000;cp.b 60a00000 88000000 2000000; cp.b 60200000 8f000000 10000;bootm 82000000 88000000 8f000000;
bootdelay=3
dnsip=192.168.1.1
eth1addr=00:04:9F:03:CC:87
eth2addr=00:04:9F:03:CC:88
ethact=eTSEC3
ethaddr=00:04:9F:03:CC:86
ethprime=eTSEC3
fdt_high=0xffffffff
filesize=124
gatewayip=192.168.1.1
initrd_high=0xffffffff
ipaddr=192.168.1.200
netmask=255.255.255.0
scsidevs=0
sdboot=fatload mmc 0 81000000 uImage; fatload mmc 0 8f000000 ls1021a-twr.dtb; fatload mmc 0 88000000 rootfs; bootm 81000000 88000000 8f000000
serverip=192.168.1.220
stderr=serial
stdin=serial
stdout=serial

Environment size: 725/131068 bytes
=> ping 192.168.1.220
eTSEC3 Waiting for PHY auto negotiation to complete......... TIMEOUT !
eTSEC3: No link.
eTSEC1 Waiting for PHY auto negotiation to complete......... TIMEOUT !
eTSEC1: No link.
Speed: 100, full duplex
Using eTSEC2 device
host 192.168.1.220 is alive
=> ping 192.168.1.210
Speed: 100, full duplex
Using eTSEC2 device
host 192.168.1.210 is alive
=>
Speed: 100, full duplex
Using eTSEC2 device
host 192.168.1.210 is alive
=> run sdboot
reading uImage
3604656 bytes read in 174 ms (19.8 MiB/s)
reading ls1021a-twr.dtb
21873 bytes read in 19 ms (1.1 MiB/s)
reading rootfs
55689009 bytes read in 2449 ms (21.7 MiB/s)
## Booting kernel from Legacy Image at 81000000 ...
   Image Name:   Linux-3.12.37-rt51+ls1+gaaa395f
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3604592 Bytes = 3.4 MiB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 88000000 ...
   Image Name:   fsl-image-core-2015-08-17
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    55688945 Bytes = 53.1 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 8f000000
   Booting using the fdt blob at 0x8f000000
   Loading Kernel Image ... OK
   Using Device Tree in place at 8f000000, end 8f008570

Starting kernel ...

Booting Linux on physical CPU 0xf00
Linux version 3.12.37-rt51+ls1+gaaa395f (legend@mcore0) (gcc version 4.8.3 20140401 (prerelease) (Linaro GCC 4.8-2014.04) ) #5 SMP Thu Aug 13 14:14:22 CST 2015
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=70c73c7d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine: Freescale LS1021A, model: LS1021A TWR Board
Memory policy: ECC disabled, Data cache writealloc
PERCPU: Embedded 8 pages/cpu @80e44000 s8640 r8192 d15936 u32768
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260096
Kernel command line: root=/dev/ram0 rw console=ttyS0,115200 hdmi
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 978688K/1048576K available (3780K kernel code, 278K rwdata, 1868K rodata, 188K init, 198K bss, 69888K reserved, 0K highmem)
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    vmalloc : 0xc0800000 - 0xff000000   (1000 MB)
    lowmem  : 0x80000000 - 0xc0000000   (1024 MB)
    pkmap   : 0x7fe00000 - 0x80000000   (   2 MB)
    modules : 0x7f800000 - 0x7fe00000   (   6 MB)
      .text : 0x80008000 - 0x8058c384   (5649 kB)
      .init : 0x8058d000 - 0x805bc1c0   ( 189 kB)
      .data : 0x805be000 - 0x806038b8   ( 279 kB)
       .bss : 0x806038c0 - 0x806354b4   ( 199 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
        RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 12.50MHz (phys).
Switching to timer-based delay loop
sched_clock: ARM arch timer >56 bits at 12500kHz, resolution 80ns
sched_clock: 32 bits at 100 Hz, resolution 10000000ns, wraps every 4294967286ms
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 25.00 BogoMIPS (lpj=125000)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
CPU0: update cpu_power 1024
CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
Setting up static identity map for 0x8038a298 - 0x8038a2fc
CPU1: Booted secondary processor
CPU1: update cpu_power 1024
CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
Brought up 2 CPUs
SMP: Total of 2 processors activated (50.00 BogoMIPS).
CPU: All CPU(s) started in HYP mode.
CPU: Virtualization extensions available.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
regulator-dummy: no parameters
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
syscon 1570000.scfg: regmap [mem 0x01570000-0x0157ffff] registered
irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
irq: no irq domain found for /soc/uqe@2400000/qeic@80 !
hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 8 bytes.
bio: create slab <bio-0> at 0
3P3V: 3300 mV
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c i2c-0: IMX I2C adapter registered
i2c i2c-1: IMX I2C adapter registered
i2c i2c-2: of_i2c: modalias failure on /soc/i2c@21a0000/ltc2945@67
i2c i2c-2: IMX I2C adapter registered
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
PTP clock support registered
fsl-ifc 1530000.ifc: Freescale Integrated Flash Controller
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
cfg80211: Calling CRDA to update world regulatory domain
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP: reno registered
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 54376K (88001000 - 8b51b000)
hw perfevents: enabled with ARMv7 Cortex-A7 PMU driver, 5 counters available
NFS: Registering the id_resolver key type
Key type id_resolver registered
Key type id_legacy registered
jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 2017
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
layerscape-pcie 3400000.pcie: phy link never came up
layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [io  0x1000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
pci_bus 0000:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers enabled
pci 0000:00:00.0: BAR 1: assigned [mem 0x4040000000-0x4043ffffff]
pci 0000:00:00.0: BAR 0: assigned [mem 0x4044000000-0x4044ffffff]
pci 0000:00:00.0: BAR 6: assigned [mem 0x4045000000-0x4045ffffff pref]
pci 0000:00:00.0: PCI bridge to [bus 01]
layerscape-pcie 3500000.pcie: phy link never came up
layerscape-pcie 3500000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [io  0x10000-0x1ffff] (bus address [0x0000-0xffff])
pci_bus 0001:00: root bus resource [mem 0x4840000000-0x487fffffff] (bus address [0x40000000-0x7fffffff])
pci_bus 0001:00: root bus resource [bus 00-ff]
PCI: bus0: Fast back to back transfers disabled
PCI: bus1: Fast back to back transfers enabled
pci 0001:00:00.0: BAR 1: assigned [mem 0x4840000000-0x4843ffffff]
pci 0001:00:00.0: BAR 0: assigned [mem 0x4844000000-0x4844ffffff]
pci 0001:00:00.0: BAR 6: assigned [mem 0x4845000000-0x4845ffffff pref]
pci 0001:00:00.0: PCI bridge to [bus 01]
Sii902x: read id = 0xB0
-0x02-0x03
-0x00
Unimplemented SVD code 34
Unimplemented SVD code 16
syscon 1570000.scfg: Failed to create debugfs directory
Console: switching to colour frame buffer device 60x34
fb0: fb device registered successfully.
fb1: fb device registered successfully.
fb2: fb device registered successfully.
fb3: fb device registered successfully.
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 118, base_baud = 9375000) is a 16550A_FSL64
console [ttyS0] enabled
21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 118, base_baud = 9375000) is a 16550A_FSL64
of_serial 2402200.ucc: clk or clock-frequency not defined
of_serial: probe of 2402200.ucc failed with error -2
serial: Freescale lpuart driver
2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 112, base_baud = 6250000) is a FSL_LPUART
brd: module loaded
loop: module loaded
ahci 3200000.sata: AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl platform mode
ahci 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc
ahci 3200000.sata: port 0 is not capable of FBS
scsi0 : ahci_platform
ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 133
60000000.nor: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000089 Chip ID 0x00227e
Amd/Fujitsu Extended Query Table at 0x0040
  Amd/Fujitsu Extended Query version 1.3.
number of CFI chips: 1
10 ofpart partitions found on MTD device 60000000.nor
Creating 10 MTD partitions on "60000000.nor":
0x000000000000-0x000000020000 : "NOR bank0 RCW Image"
0x000000100000-0x000000200000 : "NOR bank0 u-boot Image"
0x000000200000-0x000000300000 : "NOR bank0 DTB Image"
0x000000300000-0x000000a00000 : "NOR bank0 Linux Kernel Image"
0x000000a00000-0x000004000000 : "NOR bank0 Ramdisk Root File System Image"
0x000004000000-0x000004020000 : "NOR bank4 RCW Image"
0x000004100000-0x000004200000 : "NOR bank4 u-boot Image"
0x000004200000-0x000004300000 : "NOR bank4 DTB Image"
0x000004300000-0x000004a00000 : "NOR bank4 Linux Kernel Image"
0x000004a00000-0x000008000000 : "NOR bank4 Ramdisk Root File System Image"
m25p80 spi0.0: found mr25h256, expected m25p80
m25p80 spi0.0: mr25h256 (32 Kbytes)
6Freescale DSPI master initialized
CAN device driver interface
flexcan 2a70000.can: device registered (reg_base=c0836000, irq=158)
flexcan 2a80000.can: device registered (reg_base=c0838000, irq=159)
libphy: Freescale PowerQUICC MII Bus: probed
fsl-gianfar ethernet.4: enabled errata workarounds, flags: 0x4
Unimplemented SVD code 34
Unimplemented SVD code 16
fsl-gianfar ethernet.4 eth0: mac: 00:04:9f:03:cc:86
fsl-gianfar ethernet.4 eth0: Running with NAPI enabled
fsl-gianfar ethernet.4 eth0: RX BD ring size for Q[0]: 256
fsl-gianfar ethernet.4 eth0: RX BD ring size for Q[1]: 256
fsl-gianfar ethernet.4 eth0: TX BD ring size for Q[0]: 256
fsl-gianfar ethernet.4 eth0: TX BD ring size for Q[1]: 256
fsl-gianfar ethernet.5: enabled errata workarounds, flags: 0x4
fsl-gianfar ethernet.5 eth1: mac: 00:04:9f:03:cc:87
fsl-gianfar ethernet.5 eth1: Running with NAPI enabled
fsl-gianfar ethernet.5 eth1: RX BD ring size for Q[0]: 256
fsl-gianfar ethernet.5 eth1: RX BD ring size for Q[1]: 256
fsl-gianfar ethernet.5 eth1: TX BD ring size for Q[0]: 256
fsl-gianfar ethernet.5 eth1: TX BD ring size for Q[1]: 256
fsl-gianfar ethernet.6: enabled errata workarounds, flags: 0x4
fsl-gianfar ethernet.6 eth2: mac: 00:04:9f:03:cc:88
fsl-gianfar ethernet.6 eth2: Running with NAPI enabled
fsl-gianfar ethernet.6 eth2: RX BD ring size for Q[0]: 256
fsl-gianfar ethernet.6 eth2: RX BD ring size for Q[1]: 256
fsl-gianfar ethernet.6 eth2: TX BD ring size for Q[0]: 256
fsl-gianfar ethernet.6 eth2: TX BD ring size for Q[1]: 256
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
e1000: Copyright (c) 1999-2006 Intel Corporation.
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
xhci-hcd xhci-hcd.0.auto: irq 125, io mem 0x03100000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
ata1: SATA link down (SStatus 0 SControl 300)
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
ina2xx 0-0040: power monitor ina220 (Rshunt = 1000 uOhm)
ina2xx 0-0041: power monitor ina220 (Rshunt = 1000 uOhm)
imx2-wdt 2ad0000.wdog: timeout 60 sec (nowayout=0)
qoriq_cpufreq: Freescale PowerPC qoriq CPU frequency scaling driver
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: no vqmmc regulator found
mmc0: no vmmc regulator found
mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA
caam 1700000.crypto: Instantiated RNG4 SH1
caam 1700000.crypto: device ID = 0x0a14030000000000 (Era 7)
caam 1700000.crypto: job rings = 4, qi = 0
caam algorithms registered in /proc/crypto
caam_jr 1710000.jr: registering rng-caam
caam 1700000.crypto: fsl,sec-v5.3 algorithms registered in /proc/crypto
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
sgtl5000 1-000a: sgtl5000 revision 0x11
mmc0: new high speed SDHC card at address 0007
sgtl5000 1-000a: Failed to get supply 'VDDD': -19
1-000a: 1200 mV normal
sgtl5000 1-000a: Using internal LDO instead of VDDD
mmcblk0: mmc0:0007 SD16G 14.9 GiB
mmcblk0: p1
vf610-sgtl5000 sound.9:  sgtl5000 <-> 2b50000.sai mapping ok
oprofile: using timer interrupt.
nf_conntrack version 0.5.0 (16141 buckets, 64564 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP: cubic registered
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
lib80211: common routines for IEEE802.11 drivers
Key type dns_resolver registered
regulator-dummy: disabling
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
ALSA device list:
  #0: FSL-VF610-TWR-BOARD
RAMDISK: gzip image found at block 0
usb 1-1: new high-speed USB device number 2 using xhci-hcd
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
usb 2-1: Parent hub missing LPM exit latency info.  Power management will be impacted.
hub 2-1:1.0: USB hub found
hub 2-1:1.0: 4 ports detected
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 188K (8058d000 - 805bc000)
INIT: version 2.88 booting
Starting udev
udevd[163]: starting version 182
&&&&
ready to mount
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
Starting Bootlog daemon: bootlogd.
Populating dev cache
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
hwclock: can't open '/dev/misc/rtc': No such file or directory
Thu Aug  6 07:14:00 UTC 2015
hwclock: can't open '/dev/misc/rtc': No such file or directory
Running postinst /etc/rpm-postinsts/100-sysvinit-inittab...
Running postinst /etc/rpm-postinsts/101-inetutils-inetd...
Running postinst /etc/rpm-postinsts/102-util-linux-readprofile...
Running postinst /etc/rpm-postinsts/103-debianutils...
Running postinst /etc/rpm-postinsts/104-inetutils-ftpd...
Running postinst /etc/rpm-postinsts/105-inetutils-tftpd...
Running postinst /etc/rpm-postinsts/106-inetutils-telnetd...
update-rc.d: /etc/init.d/run-postinsts exists during rc.d purge (continuing)
Removing any system startup links for run-postinsts ...
  /etc/rcS.d/S99run-postinsts
INIT: Entering runlevel: 5
Configuring network interfaces... udhcpc (v1.22.1) started
Sending discover...
Sending discover...
Sending discover...
No lease, failing
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
  generating ssh RSA key...
  generating ssh ECDSA key...
  generating ssh DSA key...
  generating ssh ED25519 key...
done.
Starting HOSTAP Daemon: Configuration file: /etc/hostapd.conf
rfkill: Cannot open RFKILL control device
Could not read interface wlan0 flags: No such device
Could not read interface wlan0 flags: No such device
nl80211 driver initialization failed.
rmdir[ctrl_interface]: No such file or directory
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting network benchmark server: netserver.
Starting system log daemon...0
Starting kernel log daemon...0
Starting internet superserver: xinetd.
Stopping Bootlog daemon: bootlogd.

fsl-networking (QorIQ SDK) QorIQ-SDK-V1.8 ls1021atwr /dev/ttyS0

ls1021atwr login: root
root@ls1021atwr:~# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:86
          UP 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)
          Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)

root@ls1021atwr:~# ifconfig eth0 192.168.1.200 netmask 255.255.255.0
root@ls1021atwr:~# ifconfig eth1 192.168.1.201 netmask 255.255.255.0
root@ls1021atwr:~# libphy: mdio@2d24000:00 - Link is Up - 100/Full
ifconfig
eth0      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:86
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          UP 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)
          Base address:0xa000

eth1      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:87
          inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING 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)
          Base address:0xe000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)

root@ls1021atwr:~# ping -c 3 192.168.1.220
PING 192.168.1.220 (192.168.1.220) 56(84) bytes of data.
From 192.168.1.200 icmp_seq=1 Destination Host Unreachable
From 192.168.1.200 icmp_seq=2 Destination Host Unreachable
From 192.168.1.200 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.220 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2006ms
pipe 3
root@ls1021atwr:~# ping -c 3 192.168.1.210
PING 192.168.1.210 (192.168.1.210) 56(84) bytes of data.
From 192.168.1.200 icmp_seq=1 Destination Host Unreachable
From 192.168.1.200 icmp_seq=2 Destination Host Unreachable
From 192.168.1.200 icmp_seq=3 Destination Host Unreachable

--- 192.168.1.210 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2006ms
pipe 3
root@ls1021atwr:~# ping -c 3 192.168.1.200
PING 192.168.1.200 (192.168.1.200) 56(84) bytes of data.
64 bytes from 192.168.1.200: icmp_seq=1 ttl=64 time=0.101 ms
64 bytes from 192.168.1.200: icmp_seq=2 ttl=64 time=0.041 ms
64 bytes from 192.168.1.200: icmp_seq=3 ttl=64 time=0.035 ms

--- 192.168.1.200 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.035/0.059/0.101/0.029 ms
root@ls1021atwr:~# ping -c 3 192.168.1.201
PING 192.168.1.201 (192.168.1.201) 56(84) bytes of data.
64 bytes from 192.168.1.201: icmp_seq=1 ttl=64 time=0.109 ms
64 bytes from 192.168.1.201: icmp_seq=2 ttl=64 time=0.041 ms
64 bytes from 192.168.1.201: icmp_seq=3 ttl=64 time=0.032 ms

--- 192.168.1.201 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 1998ms
rtt min/avg/max/mdev = 0.032/0.060/0.109/0.035 ms
root@ls1021atwr:~#

0 Kudos

820 Views
ufedor
NXP Employee
NXP Employee

Please provide output of the "ifconfig -a".

0 Kudos

820 Views
hoanguyen
Contributor II

ifconfig -a

root@ls1021atwr:/# ifconfig -a
can0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:16  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:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:158

can1      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00
          NOARP  MTU:16  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:10
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:159

eth0      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:86
          inet addr:192.168.1.200  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:684 (684.0 B)
          Base address:0xa000

eth1      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:87
          inet addr:192.168.1.201  Bcast:192.168.1.255  Mask:255.255.255.0
          UP 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)
          Base address:0xe000

eth2      Link encap:Ethernet  HWaddr 00:04:9f:03:cc:88
          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)
          Base address:0x4000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          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)

root@ls1021atwr:/#

0 Kudos