imx6ull fec1 don't work

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

imx6ull fec1 don't work

2,180 Views
2548903578
Contributor III

Hi,everyone

   When I was configuring the network, I found that the network 1 of the kernel could not be used normally, and the device could not be found frequently.
Board: Punctuality Atomic Alpha linux is based on the official development board

kernel version:5.4.47-1.0.1。

First, it is verified that the two networks can be recognized normally on the version 4.1.15-2.1.0 recommended by Punctual Atomic. However, the 5.4.47-1.0.1 version of yocto is used to compile and modify the network 1.

Labels (1)
0 Kudos
9 Replies

2,179 Views
2548903578
Contributor III

The log printed by the kernel, some of which are the print information I debugged, can see from the print information that the phy address of network 1 cannot be found:

U-Boot 2019.04-lf-5.4.y_v2019.04+g228843cdf5 (Jul 04 2022 - 11:01:56 +0000)

CPU: Freescale i.MX6ULL rev1.1 792 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 48C
Reset cause: POR
Model: Freescale i.MX6 ULL 14x14 EVK Board
Board: MX6ULL 14x14 EVK
DRAM: 512 MiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1
Loading Environment from MMC... OK
unsupported panel TFT43AB
In: serial
Out: serial
Err: serial
switch to partitions #0, OK
mmc1(part 0) is current device
flash target is MMC:1
Net:
Warning: ethernet@020b4000 (eth1) using random MAC address - da:2e:fe:e2:ba:51
eth1: ethernet@020b4000 [PRIME]
Warning: ethernet@02188000 (eth0) using random MAC address - ea:7d:2a:38:df:55
, eth0: ethernet@02188000
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
Booting from net ...
ethernet@020b4000 Waiting for PHY auto negotiation to complete... done
Using ethernet@020b4000 device
TFTP from server 192.168.0.103; our IP address is 192.168.0.200
Filename 'zImage'.
Load address: 0x80800000
Loading: #################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
#################################################################
##########
2.2 MiB/s
done
Bytes transferred = 8720696 (851138 hex)
Using ethernet@020b4000 device
TFTP from server 192.168.0.103; our IP address is 192.168.0.200
Filename 'imx6ull-evk-emmc.dtb'.
Load address: 0x83000000
Loading: ###
2.6 MiB/s
done
Bytes transferred = 35632 (8b30 hex)
Kernel image @ 0x80800000 [ 0x000000 - 0x851138 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300bb2f
Modify /soc/aips-bus@2200000/epdc@228c000:status disabled
ft_system_setup for mx6

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 5.4.47-lts-lf-5.4.y+g88b2efd7d692 (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 SMP PREEMPT Wed Aug 4 01:53:57 UTC 2021
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: div instructions available: patching division code
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt: Machine model: Freescale i.MX6 ULL 14x14 EVK Board
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] Reserved memory: created CMA memory pool at 0x96000000, size 160 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] percpu: Embedded 15 pages/cpu s32076 r8192 d21172 u61440
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: console=ttymxc0,115200 root=/dev/nfs ip=192.168.0.200:192.168.0.103:192.168.0.1:255.255.255.0::eth0:off nfsroot=192.168.0.103:/home/zxs/nfsroot,v3,tcp
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 336840K/524288K available (11264K kernel code, 745K rwdata, 4168K rodata, 1024K init, 432K bss, 23608K reserved, 163840K cma-reserved, 0K highmem)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] rcu: Preemptible hierarchical RCU implementation.
[ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[ 0.000000] random: get_random_bytes called from start_kernel+0x2c8/0x46c with crng_init=0
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000054] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002965] Console: colour dummy device 80x30
[ 0.003039] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.003074] pid_max: default: 32768 minimum: 301
[ 0.003375] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.003409] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[ 0.004910] CPU: Testing write buffer coherency: ok
[ 0.005591] CPU0: update cpu_capacity 1024
[ 0.005624] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.060599] Setting up static identity map for 0x80100000 - 0x80100060
[ 0.080572] rcu: Hierarchical SRCU implementation.
[ 0.120736] smp: Bringing up secondary CPUs ...
[ 0.120770] smp: Brought up 1 node, 1 CPU
[ 0.120792] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.120808] CPU: All CPU(s) started in SVC mode.
[ 0.121643] devtmpfs: initialized
[ 0.136567] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.137534] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.137588] futex hash table entries: 256 (order: 2, 16384 bytes, linear)
[ 0.149861] pinctrl core: initialized pinctrl subsystem
[ 0.152378] NET: Registered protocol family 16
[ 0.176839] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.179445] cpuidle: using governor menu
[ 0.196489] vdd3p0: supplied by regulator-dummy
[ 0.197821] cpu: supplied by regulator-dummy
[ 0.199128] vddsoc: supplied by regulator-dummy
[ 0.222793] No ATAGs?
[ 0.222930] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.222969] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.227172] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.227844] imx6ul-pinctrl 2290000.iomuxc-snvs: no groups defined in /soc/aips-bus@2200000/iomuxc-snvs@2290000
[ 0.227878] imx6ul-pinctrl 2290000.iomuxc-snvs: initialized IMX pinctrl driver
[ 0.230429] imx mu driver is registered.
[ 0.231457] imx rpmsg driver is registered.
[ 0.317056] vgaarb: loaded
[ 0.318873] SCSI subsystem initialized
[ 0.323767] usbcore: registered new interface driver usbfs
[ 0.323896] usbcore: registered new interface driver hub
[ 0.324130] usbcore: registered new device driver usb
[ 0.327338] i2c i2c-0: IMX I2C adapter registered
[ 0.329377] i2c i2c-1: IMX I2C adapter registered
[ 0.330268] mc: Linux media interface: v0.10
[ 0.330380] videodev: Linux video capture interface: v2.00
[ 0.330515] pps_core: LinuxPPS API ver. 1 registered
[ 0.330533] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.330585] PTP clock support registered
[ 0.333583] MIPI CSI2 driver module loaded
[ 0.333714] Advanced Linux Sound Architecture Driver Initialized.
[ 0.335462] Bluetooth: Core ver 2.22
[ 0.335612] NET: Registered protocol family 31
[ 0.335633] Bluetooth: HCI device and connection manager initialized
[ 0.335669] Bluetooth: HCI socket layer initialized
[ 0.335694] Bluetooth: L2CAP socket layer initialized
[ 0.335749] Bluetooth: SCO socket layer initialized
[ 0.336906] clocksource: Switched to clocksource mxc_timer1
[ 0.337252] VFS: Disk quotas dquot_6.6.0
[ 0.337416] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.359529] thermal_sys: Registered thermal governor 'step_wise'
[ 0.360155] NET: Registered protocol family 2
[ 0.361478] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[ 0.361553] TCP established hash table entries: 4096 (order: 2, 16384 bytes, linear)
[ 0.361660] TCP bind hash table entries: 4096 (order: 3, 32768 bytes, linear)
[ 0.361817] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.362015] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.362079] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[ 0.362459] NET: Registered protocol family 1
[ 0.393954] RPC: Registered named UNIX socket transport module.
[ 0.393988] RPC: Registered udp transport module.
[ 0.394005] RPC: Registered tcp transport module.
[ 0.394022] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.405451] PCI: CLS 0 bytes, default 64
[ 0.407077] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.410560] Bus freq driver module loaded
[ 0.412881] Initialise system trusted keyrings
[ 0.413456] workingset: timestamp_bits=30 max_order=17 bucket_order=0
[ 0.437916] NFS: Registering the id_resolver key type
[ 0.437997] Key type id_resolver registered
[ 0.438018] Key type id_legacy registered
[ 0.438122] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[ 0.439256] fuse: init (API version 7.31)
[ 0.528202] Key type asymmetric registered
[ 0.528239] Asymmetric key parser 'x509' registered
[ 0.528304] io scheduler mq-deadline registered
[ 0.528323] io scheduler kyber registered
[ 0.536072] pwm-backlight backlight-display: backlight-display supply power not found, using dummy regulator
[ 0.543540] mxsfb 21c8000.lcdif: 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.653689] sii902x bound to mxs-lcdif from 21c8000.lcdif
[ 0.657852] Console: switching to colour frame buffer device 60x34
[ 0.753903] mxsfb 21c8000.lcdif: initialized
[ 0.763753] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 0.763796] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 0.768334] mxs-dma 1804000.dma-apbh: initialized
[ 0.775061] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 21, base_baud = 5000000) is a IMX
[ 1.501219] printk: console [ttymxc0] enabled
[ 1.508056] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 67, base_baud = 5000000) is a IMX
[ 1.552177] imx_rngc 2284000.rng: Freescale RNGC registered.
[ 1.558646] imx sema4 driver is registered.
[ 1.599275] brd: module loaded
[ 1.622390] loop: module loaded
[ 1.628414] imx ahci driver is registered.
[ 1.640604] spi-nor spi4.0: unrecognized JEDEC id bytes: ff ff ff ff ff ff
[ 1.650566] libphy: Fixed MDIO Bus: probed
[ 1.655115] CAN device driver interface
[ 1.877745] pps pps0: new PPS source ptp0
[ 1.885056] libphy: fec_enet_mii_bus: probed
[ 1.889739] *******61**********
[ 1.893008] ************rc-19*************
[ 1.897288] mdio_bus 20b4000.ethernet-1: MDIO device at address 0 is missing.
[ 1.915869] ******bmcr_reg:3000********
[ 1.920786] ************rc0*************
[ 1.926197] fec 20b4000.ethernet eth0: registered PHC device 0
[ 2.147719] pps pps1: new PPS source ptp1
[ 2.156092] fec 2188000.ethernet eth1: registered PHC device 1
[ 2.163948] usbcore: registered new interface driver r8152
[ 2.169719] usbcore: registered new interface driver lan78xx
[ 2.175519] usbcore: registered new interface driver asix
[ 2.181104] usbcore: registered new interface driver ax88179_178a
[ 2.187368] usbcore: registered new interface driver cdc_ether
[ 2.193342] usbcore: registered new interface driver smsc95xx
[ 2.199275] usbcore: registered new interface driver net1080
[ 2.205039] usbcore: registered new interface driver cdc_subset
[ 2.211119] usbcore: registered new interface driver zaurus
[ 2.216795] usbcore: registered new interface driver MOSCHIP usb-ethernet driver
[ 2.224439] usbcore: registered new interface driver cdc_ncm
[ 2.230183] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 2.236738] ehci-pci: EHCI PCI platform driver
[ 2.241337] ehci-mxc: Freescale On-Chip EHCI Host driver
[ 2.247608] usbcore: registered new interface driver usb-storage
[ 2.257981] imx_usb 2184000.usb: No over current polarity defined
[ 2.264254] imx_usb 2184000.usb: 2184000.usb supply vbus not found, using dummy regulator
[ 2.301274] imx_usb 2184200.usb: 2184200.usb supply vbus not found, using dummy regulator
[ 2.314288] ci_hdrc ci_hdrc.1: EHCI Host Controller
[ 2.319371] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[ 2.356976] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[ 2.362911] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 2.371304] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.378612] usb usb1: Product: EHCI Host Controller
[ 2.383521] usb usb1: Manufacturer: Linux 5.4.47-lts-lf-5.4.y+g88b2efd7d692 ehci_hcd
[ 2.391331] usb usb1: SerialNumber: ci_hdrc.1
[ 2.397375] hub 1-0:1.0: USB hub found
[ 2.401289] hub 1-0:1.0: 1 port detected
[ 2.421323] input: 20cc000.snvs:snvs-powerkey as /devices/soc0/soc/2000000.aips-bus/20cc000.snvs/20cc000.snvs:snvs-powerkey/input/input0
[ 2.437589] input: iMX6UL Touchscreen Controller as /devices/soc0/soc/2000000.aips-bus/2040000.tsc/input/input1
[ 2.451141] read sensor who am i (0x0)error !
[ 2.455593] fxls8471: probe of 0-001e failed with error -22
[ 2.466558] snvs_rtc 20cc000.snvs:snvs-rtc-lp: registered as rtc0
[ 2.473178] i2c /dev entries driver
[ 2.480495] pxp-v4l2 pxp_v4l2: initialized
[ 2.487713] mag3110 0-000e: 0-000e supply vdd not found, using dummy regulator
[ 2.495200] mag3110 0-000e: 0-000e supply vddio not found, using dummy regulator
[ 2.502855] mag3110 0-000e: check mag3110 chip ID
[ 2.508329] mag3110 0-000e: read chip ID 0xfffffffa is not equal to 0xc4!
[ 2.515460] mag3110: probe of 0-000e failed with error -22
[ 2.524309] imx2-wdt 20bc000.wdog: timeout 60 sec (nowayout=0)
[ 2.532023] Bluetooth: HCI UART driver ver 2.3
[ 2.536526] Bluetooth: HCI UART protocol H4 registered
[ 2.541928] Bluetooth: HCI UART protocol BCSP registered
[ 2.547565] Bluetooth: HCI UART protocol LL registered
[ 2.552797] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 2.559227] Bluetooth: HCI UART protocol Marvell registered
[ 2.564972] usbcore: registered new interface driver btusb
[ 2.572387] sdhci: Secure Digital Host Controller Interface driver
[ 2.578711] sdhci: Copyright(c) Pierre Ossman
[ 2.583096] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.591908] sdhci-esdhc-imx 2190000.usdhc: Got CD GPIO
[ 2.609024] random: fast init done
[ 2.645057] mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 2.707557] mmc1: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 2.718948] caam-snvs 20cc000.caam-snvs: can't get snvs clock
[ 2.725018] caam-snvs 20cc000.caam-snvs: violation handlers armed - init state
[ 2.739071] usbcore: registered new interface driver usbhid
[ 2.744693] usbhid: USB HID core driver
[ 2.767118] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[ 2.782679] fsl-sai 202c000.sai: failed to get mclk0 clock: -2
[ 2.799392] debugfs: Directory '202c000.sai' with parent 'wm8960-audio' already present!
[ 2.809480] imx-wm8960 sound-wm8960: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.822013] imx-wm8960 sound-wm8960: snd-soc-dummy-dai <-> 2034000.asrc mapping ok
[ 2.830291] imx-wm8960 sound-wm8960: wm8960-hifi <-> 202c000.sai mapping ok
[ 2.861041] mmc1: new HS200 MMC card at address 0001
[ 2.877791] mmcblk1: mmc1:0001 8GTF4R 7.28 GiB
[ 2.882955] mmcblk1boot0: mmc1:0001 8GTF4R partition 1 4.00 MiB
[ 2.889764] mmcblk1boot1: mmc1:0001 8GTF4R partition 2 4.00 MiB
[ 2.896235] mmcblk1rpmb: mmc1:0001 8GTF4R partition 3 512 KiB, chardev (244:0)
[ 2.916637] mmcblk1: p1 p2
[ 2.968997] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=85.36
[ 2.977362] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 2.984640] usb 1-1: Product: USB2.0 Hub
[ 2.996705] hub 1-1:1.0: USB hub found
[ 3.000687] NET: Registered protocol family 26
[ 3.006721] NET: Registered protocol family 10
[ 3.011910] hub 1-1:1.0: 4 ports detected
[ 3.028667] Segment Routing with IPv6
[ 3.032547] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 3.040377] NET: Registered protocol family 17
[ 3.044902] can: controller area network core (rev 20170425 abi 9)
[ 3.051420] NET: Registered protocol family 29
[ 3.055939] can: raw protocol (rev 20170425)
[ 3.060295] can: broadcast manager protocol (rev 20170425 t)
[ 3.065995] can: netlink gateway (rev 20190810) max_hops=1
[ 3.072164] Bluetooth: RFCOMM TTY layer initialized
[ 3.077335] Bluetooth: RFCOMM socket layer initialized
[ 3.082589] Bluetooth: RFCOMM ver 1.11
[ 3.086396] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 3.091811] Bluetooth: BNEP filters: protocol multicast
[ 3.097121] Bluetooth: BNEP socket layer initialized
[ 3.102116] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 3.108113] Bluetooth: HIDP socket layer initialized
[ 3.113219] lib80211: common routines for IEEE802.11 drivers
[ 3.119053] Key type dns_resolver registered
[ 3.150245] Registering SWP/SWPB emulation handler
[ 3.156262] Loading compiled-in X.509 certificates
[ 3.196686] imx_thermal tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:95C
[ 3.214008] snvs_rtc 20cc000.snvs:snvs-rtc-lp: setting system clock to 1970-01-01T02:12:38 UTC (7958)
[ 3.226271] ####################################################################
[ 3.234027] !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
[ 3.242136] addr is 1
[ 3.244554] phy_reset:136
[ 3.467854] ####################################################################
[ 3.475700] ******bmcr_reg:3000********
[ 3.480640] SMSC LAN8710/LAN8720 20b4000.ethernet-1:01: attached PHY driver [SMSC LAN8710/LAN8720] (mii_bus:phy_addr=20b4000.ethernet-1:01, irq=POLL)
[ 5.607819] fec 20b4000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
[ 5.637621] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 5.667162] IP-Config: Complete:
[ 5.670497] device=eth0, hwaddr=da:2e:fe:e2:ba:51, ipaddr=192.168.0.200, mask=255.255.255.0, gw=192.168.0.1
[ 5.681099] host=192.168.0.200, domain=, nis-domain=(none)
[ 5.687399] bootserver=192.168.0.103, rootserver=192.168.0.103, rootpath=
[ 5.695643] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[ 5.707718] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[ 5.714495] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[ 5.723377] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[ 5.731498] ALSA device list:
[ 5.734489] #0: wm8960-audio
[ 5.805082] VFS: Mounted root (nfs filesystem) readonly on device 0:14.
[ 5.814787] devtmpfs: mounted
[ 5.820678] Freeing unused kernel memory: 1024K
[ 5.837478] Run /sbin/init as init process
[ 6.524502] systemd[1]: System time before build time, advancing clock.
[ 6.615478] systemd[1]: systemd 243+ running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN -PCRE2 default-hierarchy=hybrid)
[ 6.638475] systemd[1]: Detected architecture arm.

Welcome to NXP i.MX Release Distro 5.4-zeus (zeus)!

[ 6.704130] systemd[1]: Set hostname to <imx6ull14x14evk>.
[ 6.745402] random: systemd: uninitialized urandom read (16 bytes read)
[ 6.752706] systemd[1]: Initializing machine ID from random generator.
[ 6.759857] systemd[1]: Installed transient /etc/machine-id file.
[ 7.946149] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[ 8.603566] random: systemd: uninitialized urandom read (16 bytes read)
[ 8.612707] systemd[1]: system-getty.slice: unit configures an IP firewall, but the local system does not support BPF/cgroup firewalling.
[ 8.625305] systemd[1]: (This warning is only shown for the first unit using IP firewalling.)
[ 8.635457] systemd[1]: Created slice system-getty.slice.
[ OK ] Created slice system-getty.slice.
[ 8.667496] random: systemd: uninitialized urandom read (16 bytes read)
[ 8.675637] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ 8.718033] random: systemd: uninitialized urandom read (16 bytes read)
[ OK ] Created slice User and Session Slice.
[ OK ] Started Dispatch Password …ts to Console Directory Watch.
[ OK ] Started Forward Password R…uests to Wall Directory Watch.
[ OK ] Reached target Paths.
[ OK ] Reached target Remote File Systems.
[ OK ] Reached target Slices.
[ OK ] Reached target Swap.
[ OK ] Listening on Syslog Socket.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on Network Service Netlink Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
Mounting Kernel Debug File System...
Mounting Temporary Directory (/tmp)...
Starting File System Check on Root Device...
Starting Journal Service...
Mounting FUSE Control File System...
Mounting Kernel Configuration File System...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
[ OK ] Mounted Kernel Debug File System.
[ OK ] Mounted Temporary Directory (/tmp).
[ OK ] Started File System Check on Root Device.
[ OK ] Mounted FUSE Control File System.
[ OK ] Mounted Kernel Configuration File System.
[ OK ] Started Apply Kernel Variables.
Starting Remount Root and Kernel File Systems...
[ OK ] Started Remount Root and Kernel File Systems.
Starting Create Static Device Nodes in /dev...
[ OK ] Started Journal Service.
Starting Flush Journal to Persistent Storage...
[ 10.272921] systemd-journald[109]: Received client request to flush runtime journal.
[ OK ] Started Flush Journal to Persistent Storage.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ OK ] Reached target Local File Systems.
Starting Commit a transient machine-id on disk...
Starting Create Volatile Files and Directories...
[ OK ] Started Commit a transient machine-id on disk.
[ OK ] Started udev Kernel Device Manager.
Starting Network Service...
[ OK ] Started Create Volatile Files and Directories.
Starting Run pending postinsts...
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Network Service.
[ OK ] Started Update UTMP about System Boot/Shutdown.
Starting Network Name Resolution...
[ OK ] Started Run pending postinsts.
[ 13.867017] random: crng init done
[ 13.870447] random: 6 urandom warning(s) missed due to ratelimiting
[ OK ] Started Load/Save Random Seed.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Network Time Synchronization.
[ OK ] Created slice system-systemd\x2dbacklight.slice.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
Starting Load/Save Screen …backlight:backlight-display...
[ OK ] Started Load/Save Screen B…f backlight:backlight-display.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started Kernel Logging Service.
[ OK ] Started System Logging Service.
[ OK ] Started D-Bus System Message Bus.
[ OK ] Started Getty on tty1.
[ OK ] Started Serial Getty on ttymxc0.
[ OK ] Reached target Login Prompts.
Starting Login Service...
[ OK ] Started TEE Supplicant.
[ OK ] Started Network Name Resolution.
[ OK ] Started Login Service.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Network.
[ OK ] Reached target Host and Network Name Lookups.
[ OK ] Reached target Sound Card.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.

NXP i.MX Release Distro 5.4-zeus imx6ull14x14evk ttymxc0

imx6ull14x14evk login:
imx6ull14x14evk login:
imx6ull14x14evk login: root
root@imx6ull14x14evk:~# uname -a
Linux imx6ull14x14evk 5.4.47-lts-lf-5.4.y+g88b2efd7d692 #1 SMP PREEMPT Wed Aug 4 01:53:57 UTC 2021 armv7l GNU/Linux
root@imx6ull14x14evk:~# [ 36.327240] VSD_3V3: disabling
[ 64.504959] imx-sdma 20ec000.sdma: Direct firmware load for imx/sdma/sdma-imx6q.bin failed with error -2
[ 64.515486] imx-sdma 20ec000.sdma: Falling back to sysfs fallback for: imx/sdma/sdma-imx6q.bin
[ 69.607631] cfg80211: failed to load regulatory.db
[ 125.927673] imx-sdma 20ec000.sdma: external firmware not found, using ROM firmware

root@imx6ull14x14evk:~#
root@imx6ull14x14evk:~#

0 Kudos

2,178 Views
2548903578
Contributor III

And from the point of view of my debugging many times, not every time I can't find it, but occasionally it will be successful. It's just that the probability is very low, and I don't know how to trigger it.Here is an article with a very similar problem to mine. I'm guessing it might be the same board I'm using.

https://community.nxp.com/t5/i-MX-Processors/One-of-Ethernet-interfaces-can-t-find-PHY-until-reboot/...

But this article doesn't say how to solve this problem at the end.

Attached schematic and modified dts.

Hope to get a reply!

0 Kudos

2,151 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

You can refer to this https://community.nxp.com/t5/i-MX-Processors/imx6ull-lan8720A/m-p/1296584. If still not work contact us.

Wish you have a nice day

0 Kudos

2,140 Views
2548903578
Contributor III

Hi,

I feel that it has a very big relationship with the device tree. Here I have done a test to change the imx6ul-14x14-evk.dtsi content in the device tree in 4.1.15-2.1.0 to 5.4.47-1.0.1 in the test fec1 has a high probability of being successful (especially power-on and then reset), but it is still unstable.

0 Kudos

2,142 Views
2548903578
Contributor III

Hello, this post was posted by me, but I tested it several times and found that it was really good, but there will still be a problem that the device cannot be found in the future. That is to say, it is very unstable for fec1.

0 Kudos

2,117 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

I see that the BSP version you can using is not our GA release version.

So still recommend you to use the BSP we supply, as we have test it on our board and chip.

Hope this can do help for you

https://www.nxp.com/design/software/embedded-software/i-mx-software/embedded-linux-for-i-mx-applicat...

0 Kudos

2,107 Views
2548903578
Contributor III

Hi,

I am using yocto to compile the kernel, etc., and it is really convenient to use yocto. This version is what I found in yocto. If this version is not suitable, how can I find a suitable version for me in the yocto source code?

0 Kudos

2,105 Views
Rita_Wang
NXP TechSupport
NXP TechSupport
0 Kudos

2,099 Views
2548903578
Contributor III

Hi,

Thank you very much for your reply, I am trying the new version. After the download is complete, I will test if there is still a problem.

0 Kudos