[OpenWrt-Devel] [PATCH] ath79: add support for gl-e750
luochongjun at gl-inet.com
luochongjun at gl-inet.com
Wed May 27 22:42:58 EDT 2020
Hi Koen,
I'm really sorry that I missed your previous email.
Tried sysupgrade --> results in platform_check failure.
In the original device naming convention, E750 was named glinet,gl-e750
However, in today's openwrt, the name of the device is glinet_gl-e750, so platform_check failure is prompted.
You'd better use uboot to upgrade your firmware, follow the link below for the uboot upgrade steps
https://docs.gl-inet.com/en/3/troubleshooting/debrick/
this device also only has 1 ethernet port exposed on the board.
Yes, the E750 has only one ethernet port,
In E750, we only use GMAC0, but in ATH79 target, I had to initialize P4 via GMAC1 connected to the Ethernet switch, so you'll see eth0 and eth1 on your system.
I have tried to use GMAC0 to initialize P4 directly, but after initializing P4 in this way, the speed of P4 can only be 100M, not 100M/10M.
Best Regards
Chongjun Luo | Software Engineer
Chongjun.Luo at gl-inet.com
GL.iNet WiFi for Things
Website: www.gl-inet.com | LinkedIn: gl-inet.com | Tel: +86-755-8660-6126
Room 305-306, Skyworth Digital Building , Shiyan Street, Baoan District, Shenzhen, China
Email Disclaimer: The content of this email is confidential and intended for the recipient specified in message only. It is strictly forbidden to share any part of this message with any third party, without a written consent of the sender. If you received this message by mistake, please reply to this message and follow with its deletion, so that we can ensure such a mistake does not occur in the future.
From: Koen Vandeputte
Date: 2020-05-27 22:01
To: Luochongjun; openwrt-devel
CC: Gianni Stubbe
Subject: Re: [OpenWrt-Devel] [PATCH] ath79: add support for gl-e750
On 27.05.20 15:33, Koen Vandeputte wrote:
>
> On 07.05.20 13:46, Luochongjun wrote:
>> The gl-e750 is a portable travel router that gives you safe access to
>> the internet while traveling.
>>
>> Specifications:
>> - SoC: Qualcomm Atheros AR9531 (650MHz)
>> - RAM: 128 MB DDR2
>> - Flash: 16 MB SPI NOR (W25Q128FVSG) + 128 MB SPI NAND (GD5F1GQ4UFYIG)
>> - Ethernet: 10/100: 1xLAN
>> - Wireless: QCA9531 2.4GHz (bgn) + QCA9887 5GHz (ac)
>> - USB: 1x USB 2.0 port
>> - Switch: 1x switch
>> - Button: 1x reset button
>> - OLED Screen: 128*64 px
>>
>> Flash instruction:
>> Support for sysupgrade directive upgrades, as well as luci upgrades.
>
> Hi,
>
> I retested this patch just to be sure I didn't miss anything before.
>
>
> Did you test this patch on actual hardware before sending this?
>
> I've got 2x e750-Mudi devices which:
>
> - I first flashed to the latest Gl.inet firmware (18.06 based) (works
> fine)
>
> - Tried sysupgrade --> results in platform_check failure
>
> - Tried forced sysupgrade --> does not boot afterwards
>
> - Tried uboot recovery (both sysupgrade and factory images) --> does
> not boot
>
>
> Using gl.inet official img, the uboot recovery mode works fine.
>
> Thanks,
>
> Koen
>
>
I just soldered UART to the board.
Ethernet is not coming up properly.
relevant prints:
[ 0.551090] libphy: Fixed MDIO Bus: probed
[ 0.872975] ag71xx 19000000.eth: Could not connect to PHY device.
Deferring probe.
[ 0.881098] ag71xx 1a000000.eth: invalid MAC address, using random
address
[ 1.139873] random: fast init done
[ 1.520295] libphy: ag71xx_mdio: probed
[ 1.525811] libphy: ar8xxx-mdio: probed
[ 1.538905] switch0: Atheros AR8229 rev. 1 switch registered on mdio.0
[ 1.587451] ag71xx 1a000000.eth: connected to PHY at fixed-0:00
[uid=00000000, driver=Generic PHY]
[ 1.597499] eth0: Atheros AG71xx at 0xba000000, irq 5, mode: gmii
[ 1.605610] NET: Registered protocol family 10
[ 1.614929] Segment Routing with IPv6
[ 1.618900] NET: Registered protocol family 17
[ 1.623601] 8021q: 802.1Q VLAN Support v1.8
[ 1.631247] PCI host bridge /ahb/pcie-controller at 180c0000 ranges:
[ 1.637642] MEM 0x0000000010000000..0x0000000013ffffff
[ 1.643057] IO 0x0000000000000000..0x0000000000000000
[ 1.648655] PCI host bridge to bus 0000:00
[ 1.652937] pci_bus 0000:00: root bus resource [mem
0x10000000-0x13ffffff]
[ 1.660051] pci_bus 0000:00: root bus resource [io 0x0000]
[ 1.665824] pci_bus 0000:00: root bus resource [??? 0x00000000 flags 0x0]
[ 1.672845] pci_bus 0000:00: No busn resource found for root bus,
will use [bus 00-ff]
[ 1.682374] pci 0000:00:00.0: BAR 0: assigned [mem
0x10000000-0x101fffff 64bit]
[ 1.690010] pci 0000:00:00.0: BAR 6: assigned [mem
0x10200000-0x1020ffff pref]
[ 2.013961] ag71xx 19000000.eth: connected to PHY at mdio.0:1f:04
[uid=004dd042, driver=Generic PHY]
[ 2.024473] eth1: Atheros AG71xx at 0xb9000000, irq 4, mode: mii
[ 10.293731] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 11.325088] eth0: link up (1000Mbps/Full duplex)
[ 11.329934] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 17.716093] eth0: link down
this device also only has 1 ethernet port exposed on the board.
Regards,
Koen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200528/058494fd/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catch8C5C.jpg
Type: image/jpeg
Size: 80149 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20200528/058494fd/attachment.jpg>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list