Hello All,
I have been trying to boot the LS1021A-TWR board with Qoriq SDK v2.0 and been seeing this network driver crash there after the NFS boot hangs:
-------------snip----------------
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
sgtl5000 1-000a: Using internal LDO instead of VDDD
asoc-simple-card sound: sgtl5000 <-> 2b50000.sai mapping ok
hctosys: unable to open rtc device (rtc0)
IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
random: nonblocking pool is initialized
IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready
fsl-gianfar soc:ethernet@2d50000 eth1: Link is Up - 1Gbps/Full - flow control rx/tx
IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
Sending DHCP requests ..
------------[ cut here ]------------
WARNING: CPU: 1 PID: 0 at net/sched/sch_generic.c:321 dev_watchdog+0x1d8/0x260()
NETDEV WATCHDOG: eth1 (fsl-gianfar): transmit queue 0 timed out
Modules linked in:
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.1.8-rt8+ls1+gbd51baf #2
Hardware name: Freescale LS1021A
[<80025508>] (unwind_backtrace) from [<800222c0>] (show_stack+0x10/0x14)
[<800222c0>] (show_stack) from [<8056e888>] (dump_stack+0x70/0x8c)
[<8056e888>] (dump_stack) from [<8003cbc8>] (warn_slowpath_common+0x80/0xac)
[<8003cbc8>] (warn_slowpath_common) from [<8003cc20>] (warn_slowpath_fmt+0x2c/0x3c)
[<8003cc20>] (warn_slowpath_fmt) from [<804806c4>] (dev_watchdog+0x1d8/0x260)
[<804806c4>] (dev_watchdog) from [<8007e69c>] (call_timer_fn+0x20/0x90)
[<8007e69c>] (call_timer_fn) from [<8007e9a8>] (run_timer_softirq+0x1d8/0x218)
[<8007e9a8>] (run_timer_softirq) from [<8003fe68>] (__do_softirq+0xd4/0x200)
[<8003fe68>] (__do_softirq) from [<80040558>] (irq_exit+0x84/0xf4)
[<80040558>] (irq_exit) from [<800712ac>] (__handle_domain_irq+0x90/0xb4)
[<800712ac>] (__handle_domain_irq) from [<80009444>] (gic_handle_irq+0x3c/0x5c)
[<80009444>] (gic_handle_irq) from [<80573000>] (__irq_svc+0x40/0x54)
Exception stack(0xbf07bf98 to 0xbf07bfe0)
bf80: 00000001 00000000
bfa0: 00000000 8002e360 bf07a000 00000000 30c0387d 00000000 bf07bfe8 807ac418
bfc0: 00000001 00000000 01000000 bf07bfe0 8001fd74 8001fd78 60000113 ffffffff
[<80573000>] (__irq_svc) from [<8001fd78>] (arch_cpu_idle+0x2c/0x38)
[<8001fd78>] (arch_cpu_idle) from [<80069c30>] (cpu_startup_entry+0x22c/0x26c)
[<80069c30>] (cpu_startup_entry) from [<8000950c>] (__enable_mmu+0x0/0x14)
---[ end trace f274e2c156a0521b ]---
fsl-gianfar soc:ethernet@2d50000 eth1: Link is Up - 1Gbps/Full - flow control rx/tx
.
fsl-gianfar soc:ethernet@2d50000 eth1: Link is Up - 1Gbps/Full - flow control rx/tx
.
fsl-gianfar soc:ethernet@2d50000 eth1: Link is Up - 1Gbps/Full - flow control rx/tx
---------------8<-------------------
Could anyone confirm that network driver is working without any issues in Qoriq SDK v2.0 for Layerscape LS1021A board ?
Thanks in Advance!
-skrishna
Solved! Go to Solution.
All images of u-boot, rcw and kernel 4.1.8-rt8 are booting fine and network driver is also working fine on TWR-LS1021A-PB Rev 2.0.
All images of u-boot, rcw and kernel 4.1.8-rt8 are booting fine and network driver is also working fine on TWR-LS1021A-PB Rev 2.0.
same happens for me.
here's a (hopefully) complete bootlog:
=> run sdboot
reading uImage
3510824 bytes read in 166 ms (20.2 MiB/s)
reading ls1021a-twr.dtb
21610 bytes read in 18 ms (1.1 MiB/s)
reading rootfs
53187597 bytes read in 2257 ms (22.5 MiB/s)
## Booting kernel from Legacy Image at 81000000 ...
Image Name: Linux-4.1.8-rt8+gbd51baf
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3510760 Bytes = 3.3 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 88000000 ...
Image Name: fsl-image-mesh-ls1021atwr-201606
Image Type: ARM Linux RAMDisk Image (gzip compressed)
Data Size: 53187533 Bytes = 50.7 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
Loading Ramdisk to bbc4c000, end bef053cd ... OK
Loading Device Tree to bbc43000, end bbc4b469 ... OK
Starting kernel ...
Booting Linux on physical CPU 0xf00
Linux version 4.1.8-rt8+gbd51baf (jenkins@mercury) (gcc version 4.9.3 20150311 (prerelease) (Linaro GCC 4.9-2015.03) ) #1 SMP Sun May 15 05:05:43 CST 2016
CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=70c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
Machine model: LS1021A TWR Board
Forcing write-allocate cache policy for SMP
Memory policy: Data cache writealloc
PERCPU: Embedded 12 pages/cpu @bffcd000 s16640 r8192 d24320 u49152
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
Kernel command line: root=/dev/ram0 rw console=ttyS0,115200 hdmi high
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: 979732K/1048576K available (3695K kernel code, 224K rwdata, 1752K rodata, 236K init, 209K bss, 68844K reserved, 0K cma-reserved, 0K highmem)
Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f800000 - 0x7fe00000 ( 6 MB)
.text : 0x80008000 - 0x8055a1bc (5449 kB)
.init : 0x8055b000 - 0x80596000 ( 236 kB)
.data : 0x80596000 - 0x805ce358 ( 225 kB)
.bss : 0x805d1000 - 0x80605694 ( 210 kB)
SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
Hierarchical RCU implementation.
[8CAdditional per-CPU info printed with stalls.
[8CRCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
Architected cp15 timer(s) running at 12.50MHz (phys).
clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2e2049cda, max_idle_ns: 440795202628 ns
sched_clock: 56 bits at 12MHz, resolution 80ns, wraps every 4398046511080ns
Switching to timer-based delay loop, resolution 80ns
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: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: update cpu_capacity 1024
CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
Setting up static identity map for 0x80008280 - 0x800082e4
CPU1: update cpu_capacity 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
clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor ladder
cpuidle: using governor menu
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.
register e1000-wakeup irq error, ret = -22
Serial: AMBA PL011 UART driver
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-0: can't use DMA
i2c i2c-1: IMX I2C adapter registered
i2c i2c-1: can't use DMA
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
Advanced Linux Sound Architecture Driver Initialized.
Switched to clocksource arch_sys_counter
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
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: 51944K (bbc4c000 - bef06000)
kvm [1]: interrupt-controller@1404000 IRQ22
kvm [1]: timer IRQ18
kvm [1]: Hyp mode initialized successfully
CPU PMU: Failed to parse /pmu/interrupt-affinity[0]
hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
HugeTLB registered 2 MB page size, pre-allocated 0 pages
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.
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
PCI host bridge /soc/pcie@3400000 ranges:
IO 0x4000010000..0x400001ffff -> 0x00000000
MEM 0x4040000000..0x407fffffff -> 0x40000000
layerscape-pcie 3400000.pcie: PCI host bridge to bus 0000:00
pci_bus 0000:00: root bus resource [bus 00-ff]
pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
pci_bus 0000:00: root bus resource [mem 0x4040000000-0x407fffffff] (bus address [0x40000000-0x7fffffff])
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]
PCI host bridge /soc/pcie@3500000 ranges:
IO 0x4800010000..0x480001ffff -> 0x00000000
MEM 0x4840000000..0x487fffffff -> 0x40000000
layerscape-pcie 3500000.pcie: PCI host bridge to bus 0001:00
pci_bus 0001:00: root bus resource [bus 00-ff]
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: 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
sii902x 1-0039: Can not read edid
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
console [ttyS0] disabled
21c0500.serial: ttyS0 at MMIO 0x21c0500 (irq = 34, base_baud = 9375000) is a 16550A
console [ttyS0] enabled
21c0600.serial: ttyS1 at MMIO 0x21c0600 (irq = 34, base_baud = 9375000) is a 16550A
sii902x 1-0039: read edid fail
2950000.serial: ttyLP0 at MMIO 0x2950000 (irq = 40, base_baud = 6250000) is a FSL_LPUART
fsl-lpuart 2950000.serial: DMA tx channel request failed, operating without tx DMA
fsl-lpuart 2950000.serial: DMA rx channel request failed, operating without rx DMA
brd: module loaded
loop: module loaded
/soc/sata@3200000: could not get #clock-cells for /soc/clocking@1ee1000
ahci-qoriq 3200000.sata: AHCI 0001.0300 1 slots 1 ports ? Gbps 0x1 impl platform mode
ahci-qoriq 3200000.sata: flags: 64bit ncq sntf pm clo only pmp fbs pio slum part ccc
ahci-qoriq 3200000.sata: port 0 is not capable of FBS
scsi host0: ahci-qoriq
ata1: SATA max UDMA/133 mmio [mem 0x03200000-0x0320ffff] port 0x100 irq 27
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"
fsl-quadspi 1550000.quadspi: unrecognized JEDEC id bytes: 00, 00, 00
fsl-quadspi 1550000.quadspi: Freescale QuadSPI probe failed
fsl-quadspi: probe of 1550000.quadspi failed with error -2
m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com>
CAN device driver interface
2a70000.can supply xceiver not found, using dummy regulator
flexcan 2a70000.can: device registered (reg_base=c08bc000, irq=49)
2a80000.can supply xceiver not found, using dummy regulator
flexcan 2a80000.can: device registered (reg_base=c08be000, irq=50)
libphy: Freescale PowerQUICC MII Bus: probed
fsl-gianfar soc:ethernet@2d10000: enabled errata workarounds, flags: 0x4
fsl-gianfar soc:ethernet@2d10000 eth0: mac: 00:04:9f:03:f5:b1
fsl-gianfar soc:ethernet@2d10000 eth0: Running with NAPI enabled
fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[0]: 256
fsl-gianfar soc:ethernet@2d10000 eth0: RX BD ring size for Q[1]: 256
fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[0]: 256
fsl-gianfar soc:ethernet@2d10000 eth0: TX BD ring size for Q[1]: 256
fsl-gianfar soc:ethernet@2d50000: enabled errata workarounds, flags: 0x4
fsl-gianfar soc:ethernet@2d50000 eth1: mac: 00:04:9f:03:f5:b2
fsl-gianfar soc:ethernet@2d50000 eth1: Running with NAPI enabled
fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[0]: 256
fsl-gianfar soc:ethernet@2d50000 eth1: RX BD ring size for Q[1]: 256
fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[0]: 256
fsl-gianfar soc:ethernet@2d50000 eth1: TX BD ring size for Q[1]: 256
fsl-gianfar soc:ethernet@2d90000: enabled errata workarounds, flags: 0x4
fsl-gianfar soc:ethernet@2d90000 eth2: mac: 00:04:9f:03:f5:b3
fsl-gianfar soc:ethernet@2d90000 eth2: Running with NAPI enabled
fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[0]: 256
fsl-gianfar soc:ethernet@2d90000 eth2: RX BD ring size for Q[1]: 256
fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[0]: 256
fsl-gianfar soc:ethernet@2d90000 eth2: TX BD ring size for Q[1]: 256
pps pps0: new PPS source ptp0
e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
e1000e: Copyright(c) 1999 - 2014 Intel Corporation.
ata1: SATA link down (SStatus 0 SControl 300)
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: hcc params 0x0220f66c hci version 0x100 quirks 0x00010010
xhci-hcd xhci-hcd.0.auto: irq 52, 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
usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver usb-storage
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)
0-004c supply vcc not found, using dummy regulator
lm90 0-004c: Register 0x4 read failed (-5)
lm90 0-004c: Failed to read convrate register!
lm90 0-004c: Register 0x3 read failed (-5)
lm90 0-004c: Initialization failed!
imx2-wdt 2ad0000.watchdog: timeout 60 sec (nowayout=0)
qoriq_cpufreq: Freescale 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
sdhci-esdhc 1560000.esdhc: No vmmc regulator found
sdhci-esdhc 1560000.esdhc: No vqmmc regulator found
mmc0: SDHCI controller on 1560000.esdhc [1560000.esdhc] using ADMA 64-bit
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.0 algorithms registered in /proc/crypto
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
sgtl5000 1-000a: sgtl5000 revision 0x11
oprofile: using timer interrupt.
Initializing XFRM netlink socket
NET: Registered protocol family 17
NET: Registered protocol family 15
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
Key type dns_resolver registered
Registering SWP/SWPB emulation handler
sgtl5000 1-000a: Using internal LDO instead of VDDD
mmc0: new high speed SDHC card at address e624
mmcblk0: mmc0:e624 SL08G 7.40 GiB
mmcblk0: p1 p2 p3
asoc-simple-card sound: sgtl5000 <-> 2b50000.sai mapping ok
hctosys: unable to open rtc device (rtc0)
ALSA device list:
#0: 2b50000.sai-sgtl5000
RAMDISK: gzip image found at block 0
random: nonblocking pool is initialized
RAMDISK: incomplete write (-28 != 32768)
write error
VFS: Mounted root (ext2 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 236K (8055b000 - 80596000)
INIT: version 2.88 booting
EXT4-fs (mmcblk0p3): mounted filesystem with ordered data mode. Opts: (null)
Starting udev
udevd[163]: starting version 182
EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
Populating dev cache
udev-cache: update failed!
hwclock: can't open '/dev/misc/rtc': No such file or directory
Tue Jun 14 12:03:56 UTC 2016
hwclock: can't open '/dev/misc/rtc': No such file or directory
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-postinsINIT: Entering runlevel: 5
Configuring network interfaces... udhcpc (v1.23.2) started
Sending discover...
Sending discover...
fsl-gianfar soc:ethernet@2d10000 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Sending discover...
No lease, forking to background
done.
Starting OpenBSD Secure Shell server: sshd
generating ssh RSA key...
hwclock: can't open '/dev/misc/rtc': No such file or directory
Starting syslogd/klogd: done
Poky (Yocto Project Reference Distro) 2.0.2 ls1021atwr /dev/ttyS0
ls1021atwr login: ------------[ cut here ]------------
WARNING: CPU: 0 PID: 0 at /home/jenkins/ci/sdk/master/ls1021atwr/sources/linux/net/sched/sch_generic.c:318 dev_watchdog+0x153/0x1b4()
NETDEV WATCHDOG: eth0 (fsl-gianfar): transmit queue 1 timed out
Modules linked in:
CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.8-rt8+gbd51baf #1
Hardware name: Freescale LS1021A
[<8001d17d>] (unwind_backtrace) from [<8001ad13>] (show_stack+0xb/0xc)
[<8001ad13>] (show_stack) from [<80370741>] (dump_stack+0x51/0x64)
[<80370741>] (dump_stack) from [<8002f811>] (warn_slowpath_common+0x55/0x7c)
[<8002f811>] (warn_slowpath_common) from [<8002f853>] (warn_slowpath_fmt+0x1b/0x24)
[<8002f853>] (warn_slowpath_fmt) from [<8030895f>] (dev_watchdog+0x153/0x1b4)
[<8030895f>] (dev_watchdog) from [<8005c097>] (call_timer_fn.isra.28+0x15/0x5e)
[<8005c097>] (call_timer_fn.isra.28) from [<8005c707>] (run_timer_softirq+0x131/0x162)
[<8005c707>] (run_timer_softirq) from [<80031b91>] (__do_softirq+0x99/0x164)
[<80031b91>] (__do_softirq) from [<80032037>] (irq_exit+0x4b/0x9c)
[<80032037>] (irq_exit) from [<8005357b>] (__handle_domain_irq+0x57/0x74)
[<8005357b>] (__handle_domain_irq) from [<80009329>] (gic_handle_irq+0x29/0x40)
[<80009329>] (gic_handle_irq) from [<8037391b>] (__irq_svc+0x3b/0x5c)
Exception stack(0x80597f58 to 0x80597fa0)
7f40: 00000001 00000000
7f60: 00000000 800238a1 80596000 00000000 00000000 80597fa8 8059041c 00000001
7f80: 80584850 00000000 80598180 80597fa0 80019351 80019352 40070033 ffffffff
[<8037391b>] (__irq_svc) from [<80019352>] (arch_cpu_idle+0x14/0x1e)
[<80019352>] (arch_cpu_idle) from [<8004e4d7>] (cpu_startup_entry+0x173/0x1ac)
[<8004e4d7>] (cpu_startup_entry) from [<8055b913>] (start_kernel+0x273/0x2dc)
---[ end trace 2203d1c056f202bb ]---
fsl-gianfar soc:ethernet@2d10000 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
fsl-gianfar soc:ethernet@2d10000 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
fsl-gianfar soc:ethernet@2d10000 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
fsl-gianfar soc:ethernet@2d10000 eth0: Link is Up - 1Gbps/Full - flow control rx/tx
Poky (Yocto Project Reference Distro) 2.0.2 ls1021atwr /dev/ttyS0
bump.
this is quite a serious issue. could someone please look into this?
thanks!
Please provide corresponding U-Boot log.
Were you using SDK 2.0 pre-built images?
If "not" - what were the kernel build options?
Yes this log was with the pre-built sdk uImage, dtb, rootfs.
But custom images with a slightly modified ls1021a_defconfig, yocto sdk2 branch lead to the same issue.
Please check the board switch settings - what are they?
SW2[1:8] = 0010 1111
SW3[1:8] = 0110 0001
like described in the demo pdf.
but apparently the issue was that I didnt flash the new u-boot to the sdcard. issue seems resolved.
Please provide U-Boot log for the board.