I have couple 6UL Express cards that ethernet works on uboot but dosnt work in linux
ethernet led activity is solid in uboot but in linux led go on and off about 1 sec
normal boards go ok and i have installed them same way by tftp
new 3.0-r3 have some problems via sd card… dosnt work… that why tftp
i try to ping 192.168.2.2
and its ok by uboot
but not in linux
I have drop boot messages from here… because 8000 char is problem…
ask if you want some step all messages
########### first boot to system and stop uboot. ############################
U-Boot dub-2020.04-r2.2+ge135e76d14 (Jan 21 2021 - 22:46:12 +0000)
CPU: i.MX6UL rev1.1 528 MHz (running at 396 MHz)
CPU: Industrial temperature grade (-40C to 105C) at 31C
Reset cause: POR
I2C: ready
DRAM: 256 MiB
MCA: HW_VER=1 FW_VER=1.01
PMIC: PFUZE3000 DEV_ID=0x30 REV_ID=0x11
NAND: 256 MiB
MMC: FSL_SDHC: 1
In: serial
Out: serial
Err: serial
Model: Digi International ConnectCore 6UL Starter Board.
ConnectCore 6UL SOM variant 0x02: Industrial Ultralite 528MHz, 256MB NAND, 256MB DDR3, -40/+85C, Wireless, Bluetooth
Board version 4, ID 129
Boot device: NAND
Net: FEC0 [PRIME]
Fastboot: Normal
Normal Boot
Hit any key to stop autoboot: 0
=> setenv ipaddr 192.168.2.50
=> setenv serverip 192.168.2.2
=> saveenv
Saving Environment to NAND… Erasing NAND…
Erasing at 0x300000 – 100% complete.
Writing to NAND… OK
OK
####### imx update to board ( its same version that there was
U-Boot dub-2020.04-r2.2+ge135e76d14 (Jan 21 2021 - 22:46:12 +0000)
…Normal Boot
Hit any key to stop autoboot: 0
=> update uboot tftp u-boot-ccimx6ulstarter-2020.04-r0.imx
Do you really want to program the boot loader? y
Using FEC0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.50
Filename ‘u-boot-ccimx6ulstarter-2020.04-r0.imx’.
Load address: 0x80800000
Loading: #################################################
3.7 MiB/s
done
Bytes transferred = 715776 (aec00 hex)
Writing bootstream…OK
boot again and set ip addresses for tftp
U-Boot dub-2020.04-r2.2+ge135e76d14 (Jan 21 2021 - 22:46:12 +0000)
Normal Boot
Hit any key to stop autoboot: 0
=> env default -a
*** Warning - ## Resetting to default environment
, using default environment
Error: Can’t overwrite “ethaddr”
himport_r: can’t insert “ethaddr=00:04:f3:ff:ff:fa” into hash table
…
=> setenv ipaddr 192.168.2.50
=> setenv serverip 192.168.2.2
=> saveenv
Saving Environment to NAND… Erasing redundant NAND…
Erasing at 0x320000 – 100% complete.
Writing to redundant NAND… OK
OK
U-Boot dub-2020.04-r2.2+ge135e76d14 (Jan 21 2021 - 22:46:12 +0000)
…Hit any key to stop autoboot: 0
=> update linux tftp core-image-base-ccimx6ulstarter.boot.ubifs
Using FEC0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.50
Filename ‘core-image-base-ccimx6ulstarter.boot.ubifs’.
Load address: 0x80800000
Loading: ########…########
4.7 MiB/s
done
…8634368 bytes written to volume linux
Verifying firmware…
Update was successful
=> update rootfs tftp core-image-base-ccimx6ulstarter.rootfs.ubifs
Using FEC0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.50
Filename ‘core-image-base-ccimx6ulstarter.rootfs.ubifs’.
Load address: 0x80800000
Loading: #######…#########
4.8 MiB/s
done
Bytes transferred = 78217216 (4a98000 hex)
…78217216 bytes written to volume rootfs
Verifying firmware…
Update was successful
=> update recovery tftp core-image-base-ccimx6ulstarter.recovery.ubifs
Using FEC0 device
TFTP from server 192.168.2.2; our IP address is 192.168.2.50
Filename ‘core-image-base-ccimx6ulstarter.recovery.ubifs’.
Load address: 0x80800000
Loading: ########…#######
4.7 MiB/s
done
…12697600 bytes written to volume recovery
Verifying firmware…
Update was successful
=>
=>
=> ping 192.168.2.2
Using FEC0 device
host 192.168.2.2 is alive
U-Boot dub-2020.04-r2.2+ge135e76d14 (Jan 21 2021 - 22:46:12 +0000)
…Normal Boot
Hit any key to stop autoboot: 0
…Starting kernel …
Booting Linux on physical CPU 0x0
Linux version 5.4.84-dey+gb19c068819ba (oe-user@oe-host) (gcc version 9.2.0 (GCC)) #1 …
Digi Embedded Yocto 3.0-r3 ccimx6ulstarter /dev/ttymxc4
ccimx6ulstarter login: root
root@ccimx6ulstarter:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:F3:12:84:90
inet6 addr: fe80::204:f3ff:fe12:8490/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:11044 (10.7 KiB)
root@ccimx6ulstarter:~# nmcli con edit eth0
nmcli> set ipv4.addresses 192.168.2.50/24
Do you also want to set ‘ipv4.method’ to ‘manual’? [yes]:
nmcli> save
Connection ‘eth0’ (dce47dc1-937e-360e-bcb2-a5745f1e170b) successfully updated.
nmcli> print ipv4
[‘ipv4’ setting values]
ipv4.method: manual
ipv4.addresses: 192.168.2.50/24
ipv4.gateway: –
ipv4.routes: –
ipv4.route-metric: -1
ipv4.route-table: 0 (unspec)
ipv4.routing-rules: –
ipv4.may-fail: yes
ipv4.dad-timeout: -1 (default)
nmcli> quit
root@ccimx6ulstarter:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:F3:12:84:90
inet6 addr: fe80::204:f3ff:fe12:8490/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:136 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:14388 (14.0 KiB)
root@ccimx6ulstarter:~# nmcli con down eth0
Connection ‘eth0’ successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/5)
root@ccimx6ulstarter:~# nmcli con up eth0
(process:998): GLib-GIO-WARNING **: 23:29:14.029: …/glib-2.60.7/gio/gdbusobjectmanagerclient.c:1588: Processing InterfaceRemoved signal for path /org/freedesktop/NetworkManager/IP6Config/13 but no object proxy exists
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)
root@ccimx6ulstarter:~# nmcli con down eth0
Connection ‘eth0’ successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)
root@ccimx6ulstarter:~# nmcli con up eth0
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)
root@ccimx6ulstarter:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:F3:12:84:90
inet addr:192.168.2.50 Bcast:192.168.2.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:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:16614 (16.2 KiB)
root@ccimx6ulstarter:~# ping 192.168.2.50
64 bytes from 192.168.2.50: seq=0 ttl=64 time=0.332 ms
root@ccimx6ulstarter:~# ping 192.168.2.2
PING 192.168.2.2 (192.168.2.2): 56 data bytes
^C
— 192.168.2.2 ping statistics —
5 packets transmitted, 0 packets received, 100% packet loss