Ringo
November 23, 2023, 6:59am
1
Good Morning Sirs,
after trying to install openwrt-23.05.0-ipq807x-generic-edgecore_eap102-squashfs-factory.ubi following Matthew Hagan procedure, I got the device looping in these errors
[ 691.846287] hsl_phy_phydev_get[798]:ERROR:phy_addr 3 phydev is NULL
[ 692.874955] hsl_phy_phydev_get[798]:ERROR:phy_addr 0 phydev is NULL
[ 692.874992] hsl_phy_phydev_get[798]:ERROR:phy_addr 1 phydev is NULL
[ 692.880024] hsl_phy_phydev_get[798]:ERROR:phy_addr 2 phydev is NULL
[ 692.886289] hsl_phy_phydev_get[798]:ERROR:phy_addr 3 phydev is NULL
Any suggestions?
Thanks in advance
Tony
Ringo
November 23, 2023, 8:44am
3
Tnx Frollic
but the problem persist in the same manner...lopp on phy_addr error
kirdes
November 23, 2023, 10:37am
4
Please try the snapshot build. There are a few fixes regarding ssdk phydev enumeration in the snapshot.
1 Like
Ringo
November 23, 2023, 11:05am
5
Hi Kirdes,
if you mean for snapshot the one you can find here:
edge-core/edge-core_eap102_1
Already done as wrote in the first post.
Thank you
frollic
November 23, 2023, 11:06am
6
wouldn't be the snapshot.
Ringo
November 23, 2023, 12:46pm
8
Thnx kirdes,
but it's impossible to do sysupgrade with the error in loop.
How could I upload it?
Tnx again
Antonio
frollic
November 23, 2023, 1:14pm
9
kirdes
November 23, 2023, 1:18pm
10
Yeah sorry I thought you already installed OpenWRT.
BTW you can also open a ssh session to the running initramfs and do the install of the factory image. The log spam is only present in the serial connection.
Or use the snapshot initramfs image
Ringo
November 23, 2023, 1:38pm
11
Tnx Kirdes,
already tried to open an ssh session but , although I can see ip address (from serial monitor) assigned on br-lan (192.168.1.1) , the interface is not pingable and ssh fails.
Ringo
November 23, 2023, 1:46pm
12
Here you can see what I see from serial monitor:
[ 179.689253] hsl_phy_phydev_get[773]:ERROR:phy_addr 1 phydev is NULL
[ 179.694292] hsl_phy_phydev_get[773]:ERROR:phy_addr 2 phydev is NULL
[ 179.700557] hsl_phy_phydev_get[773]:ERROR:phy_addr 3 phydev is NULL
ss
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: miireg: <> mtu 0 qdisc noop state DOWN qlen 1000
link/generic
3: wan: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 14:44:8f:1f:b8:19 brd ff:ff:ff:ff:ff:ff
inet6 fe80::1644:8fff:fe1f:b819/64 scope link
valid_lft forever preferred_lft forever
4: lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br-lan state UP qlen 1000
link/ether 14:44:8f:1f:b8:1a brd ff:ff:ff:ff:ff:ff
5: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:03:7f:12:ce:83 brd ff:ff:ff:ff:ff:ff
6: wlan1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:03:7f:12:b2:57 brd ff:ff:ff:ff:ff:ff
7: br-lan: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP qlen 1000
link/ether 14:44:8f:1f:b8:1a brd ff:ff:ff:ff:ff:ff
inet 192.168.1.1/24 brd 192.168.1.255 scope global br-lan
valid_lft forever preferred_lft forever
inet6 fd43:80b:8d3a::1/60 scope global noprefixroute
valid_lft forever preferred_lft forever
inet6 fe80::1644:8fff:fe1f:b81a/64 scope link
valid_lft forever preferred_lft forever
root@OpenWrt:/# [ 180.729237] hsl_phy_phydev_get[773]:ERROR:phy_addr 0 phydev is NULL
[ 180.729284] hsl_phy_phydev_get[773]:ERROR:phy_addr 1 phydev is NULL
[ 180.734321] hsl_phy_phydev_get[773]:ERROR:phy_addr 2 phydev is NULL
[ 180.740594] hsl_phy_phydev_get[773]:ERROR:phy_addr 3 phydev is NULL
[ 181.769227] hsl_phy_phydev_get[773]:ERROR:phy_addr 0 phydev is NULL
[ 181.769253] hsl_phy_phydev_get[773]:ERROR:phy_addr 1 phydev is NULL
[ 181.774292] hsl_phy_phydev_get[773]:ERROR:phy_addr 2 phydev is NULL
[ 181.780559] hsl_phy_phydev_get[773]:ERROR:phy_addr 3 phydev is NULL
frollic
November 23, 2023, 1:51pm
13
same with all three factory images ?
23.05.0, .2, and snapshot ?
(stupid question, I know, just making sure)
kirdes
November 23, 2023, 6:21pm
15
Please describe exactly what are you doing.
Do you bootm an initramfs image or do you cp the factory.ubi image via tftp and flash that in u-boot (as described in the commit message)?
Please try first to tftpboot the snapshot initramfs image and boot that (bootm)
And check if the log spam is fixed or still there.
Ringo
November 23, 2023, 8:32pm
16
I copy the factory.ubi image via tftp and flash it in u-boot.
Where I can find the snapshot image (I found only factory.ubi e update.bin)?
Thank you
frollic
November 23, 2023, 8:37pm
17
images will be the same, but snapshots are bleeding edge, you've already been given the link.
Ringo
November 23, 2023, 8:42pm
18
this is the procedure I make:
tftpboot 0x44000000 openwrt-eap102-squashfs-factory.ubi`
sf probe
imxtract 0x44000000 ubi
nand device 0
nand erase 0x0 0x3400000
nand erase 0x3c00000 0x3400000
nand write $fileaddr 0x0 $filesize
nand write $fileaddr 0x3c00000 $filesize
reset
frollic
November 23, 2023, 8:43pm
19
if you're tftpboot:ing, you need to use the initramfs image, as @kirdes described,
Ringo
November 23, 2023, 8:48pm
20
so itb file..ok tomorrow I will try and let you know. I missed the second link, excuse me.
The commands for itb are the same as ubi files?
Thanx