Dissapointment continues

You are missing either a serial to usb adapter, preferably ftdi, or a customized openwrt image that defaults to installing or a customized uboot that has builtin telnet console or Webserver, neither of which exist yet.

Yes, the guides here in the forum, the wiki. And they all state you need a serial to usb adapter. That’s the guide. There is no other.

How thoughtful of them to not mention that a serial cable was a must-have accessory. Took two months to arrive from China to Argentina. I’ve spent nearly two more weeks pulling my hair out over this. Buying it upfront would have saved me the shipping fee and a ton of frustration.

Thanks for your support and have a great year

Happy New Year!
You can set up the installation as needed via SSH.
SD boot => SSH =>

  • fw_setenv bootcmd "env default bootcmd ; saveenv ; run ubi_init ; bootmenu 0"
  • reboot

Wait until the installation to NAND completes, and the router boots from SD.
Turn off the router, switch the boot to NAND.
NAND boot => SSH =>

  • fw_setenv bootcmd "env default bootcmd ; saveenv ; run emmc_init ; bootmenu 0"
  • reboot

Wait for the router to reboot. Turn off the router, switch to eMMC boot.
Boot from eMMC => profit

With UART access, it’s easier, and you can view logs in case of an error. However, this is not an essential tool, and it can be bypassed, although it’s an unusual option that doesn’t immediately come to mind for the user.

Aren’t there steps missing? You can’t install from SD to MMC, because as Frank mentioned, there is just one controller in the CPU. It’s either one or the other.

Doesn’t he need to switch to NAND boot after the first execution of your changes? As far as I understand them you switch the default uboot option to install, right?

So it’s SD boot, fw_env changes, SD boot (installs to NAND), NAND boot, fw_env changes, NAND boot (installs to eMMC), eMMC boot?

This 21.02 MTK SDK version, that comes with; is it the only one (as compared to openwrt.org’s snapshots) that lights up the 2G/5G/6G blue LEDs on BE14000 card?

Otherwise looks workable, and AC and AX speeds are good, but how to turn on EHT320 on the 6 GHz radio? Regardless what I try on /etc/config/wireless, iwinfo shows HT20 on rax0 radio. This with the 21.02 SDK version only - I can turn on EHT320 on the 24.10 snapshot versions.

Any help appreciated.

I would have gone on the 24.10, either rc4 or snapshot, but for some reason or another, it occasionally freezes my SSH connections on WLAN… and only the SSH connections. Plus the aforementioned LED weirdness.

For led i guess there is anything missing in driver which was added in sdk somewhere…looked through some of the patches there,but have not found something led-related

Maybe you can try if self compiling from this repo has also led support. Possibly bpi released image modified a bit.

For hang i have no idea…i guess it is an issue in dma handling,but only affecting ssh is strange…what have you tried? Ping,other tcp based protocol?

Yes, ping (which doesn’t count, as is either udp or icmp). Even for more weird, plain-old Telnet session doesn’t suffer at those times. Only SSH.

We really need to keep topics separate. Could you create a new one for this issue?

2 Likes

Could be some issue in encryption. If there 1 packet gets lost and not retransmitted by tcp (or broken again) it could break ssh.

@totkeks ack better 2 topics one for mt7996-led one for ssh hang there

Sorry about topic loaning. Didn’t have credentials to start my own.

You’re right. I mixed up the memory type when I wrote that, but not the commands.
run ubi_init installs to NAND,
run emmc_init installs to eMMC.

I corrected my message.

Just want to comment that finally I bought a cable Usb Ttl Ftdi Ft232rl locally and once have it installing the new images was a piece of cake.

As I said previously. How thoughtful of them to not mention that a serial cable was a must-have accessory and bought everithing in the same package.

Now I have the latest snapshot running from eMMC and some new problems arises (ETH ports stoped working, filesystem do not use all the eMMC space, ssh connection randomly gets disconnected, etc) But I will investigate and ask in another specific threads if needed. Thanks by your support

You seem to have completely forgotten one thing: It is and remains a developer and tinkering board. This means that various things can be assumed to be known and available. I hate people who don’t take the trouble to inform themselves in advance and think that they are getting a completely finished and ready-to-use product. People like that should just stick with the Fritzbox. It’s for end users, ready for immediate use and requires little or no knowledge.

2 Likes

Git pull this morning on openwrt’s repository and Mediatek patches, and voila, SSH woes are gone. :+1:

Could you link to the commit? I tried to search through the most recent commits, but it’s really hard or impossible on a phone.

Is it possible that my WIFI card was burned with the latest sysupgrade?

I applied the latest sysupgrade and after the reboot it worked correctly for a few minutes and then hung. I connected via console and found that the boot (from eMMC) was interrupted. Assuming that there had been a problem with the upgrade I inserted the SD card with which I had installed the system and found that it hung at the same point.

I tried other images and found that they all interrupt the boot at the same point with the only exception of ubuntu but I could not find in the instructions the password with which the root user is configured.

This is the point at which the boot is interrupted. Can you think of something?

[ 13.331854] sfp sfp2: Host maximum power 3.0W [ 13.350917] mt7996e_hif 0001:01:00.0: assign IRQ: got 118 [ 13.356350] mt7996e_hif 0001:01:00.0: enabling device (0000 → 0002) [ 13.362727] mt7996e_hif 0001:01:00.0: enabling bus mastering [ 13.368534] mt7996e 0000:01:00.0: assign IRQ: got 115 [ 13.373595] mt7996e 0000:01:00.0: enabling device (0000 → 0002) [ 13.379609] mt7996e 0000:01:00.0: enabling bus mastering [ 13.462436] mtk-pcie-gen3 11300000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11300c00 data 1 [ 13.470950] mtk-pcie-gen3 11310000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11310c00 data 1 [ 13.525317] mt7996e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240809122254a [ 13.525317] [ 13.736609] mt7996e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20240809122249 [ 13.785651] mt7996e 0000:01:00.0: DSP Firmware Version: ____000000, Build Time: 20240809121650 [ 13.839000] mt7996e 0000:01:00.0: WA Firmware Version: ____000000, Build Time: 20240809122214 [ 14.241162] PPP generic driver version 2.4.2 [ 14.246017] NET: Registered PF_PPPOX protocol family [ 14.252492] kmodloader: done loading kernel modules from /etc/modules.d/* [ 19.181729] mtk_soc_eth 15100000.ethernet eth0: Link is Down [ 19.205059] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode [ 19.213309] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx [ 19.215290] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode [ 19.230383] br-lan: port 1(lan1) entered blocking state [ 19.235653] br-lan: port 1(lan1) entered disabled state [ 19.240897] mt7530-mmio 15020000.switch lan1: entered allmulticast mode [ 19.247534] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode [ 19.254513] mt7530-mmio 15020000.switch lan1: entered promiscuous mode [ 19.265666] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode [ 19.274458] br-lan: port 2(lan2) entered blocking state [ 19.279699] br-lan: port 2(lan2) entered disabled state [ 19.284981] mt7530-mmio 15020000.switch lan2: entered allmulticast mode [ 19.291790] mt7530-mmio 15020000.switch lan2: entered promiscuous mode [ 19.301244] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode [ 19.310027] br-lan: port 3(lan3) entered blocking state [ 19.315309] br-lan: port 3(lan3) entered disabled state [ 19.320563] mt7530-mmio 15020000.switch lan3: entered allmulticast mode [ 19.327433] mt7530-mmio 15020000.switch lan3: entered promiscuous mode [ 19.336104] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/10gbase-r link mode [ 19.368442] br-lan: port 4(eth1) entered blocking state [ 19.373733] br-lan: port 4(eth1) entered disabled state [ 19.378993] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode [ 19.386184] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode [ 19.395684] mt7530-mmio 15020000.switch wan: configuring for phy/internal link mode [ 19.404187] br-wan: port 1(wan) entered blocking state [ 19.409328] br-wan: port 1(wan) entered disabled state [ 19.414507] mt7530-mmio 15020000.switch wan: entered allmulticast mode [ 19.421219] mt7530-mmio 15020000.switch wan: entered promiscuous mode [ 19.429861] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/10gbase-r link mode [ 19.462145] br-wan: port 2(eth2) entered blocking state [ 19.467452] br-wan: port 2(eth2) entered disabled state [ 19.472715] mtk_soc_eth 15100000.ethernet eth2: entered allmulticast mode [ 19.479647] mtk_soc_eth 15100000.ethernet eth2: entered promiscuous mode

You can format log output using the “preformatted text” feature of editor here. That makes it much easier to read.

Also, did you press enter after connecting the console? This looks like the normal boot output on console. A login prompt only appears after you press enter.

This is the point where I feel extremely stupid :smile: Yes that was the problem about the boot stuck Even that wifi still not starting and when I plug the eth cable from a laptop to get access to it ETH connection never starts

This is from serial console


root@CasaBarba:~# ifup
Interface  not found
root@CasaBarba:~# iw
iw      iwinfo
root@CasaBarba:~# iw
iw      iwinfo
root@CasaBarba:~# iwinfo
phy0.0-ap0 ESSID: "CasaBarBa_2G"
          Access Point: E6:38:02:15:FB:30
          Mode: Master  Channel: 6 (2.437 GHz)  HT Mode: NOHT
          Center Channel 1: 6 2: unknown
          Tx-Power: 20 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/b/be/g/n
          Hardware: 14C3:7990 14C3:6639 [MediaTek MT7996E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

phy0.1-ap0 ESSID: "CasaBarBa_5G"
          Access Point: E6:38:02:15:FB:40
          Mode: Master  Channel: unknown (unknown)  HT Mode: NOHT
          Center Channel 1: unknown 2: unknown
          Tx-Power: 0 dBm  Link Quality: unknown/70
          Signal: unknown  Noise: -81 dBm
          Bit Rate: unknown
          Encryption: mixed WPA2/WPA3 PSK/SAE (CCMP)
          Type: nl80211  HW Mode(s): 802.11ac/ax/b/be/g/n
          Hardware: 14C3:7990 14C3:6639 [MediaTek MT7996E]
          TX power offset: none
          Frequency offset: none
          Supports VAPs: yes  PHY name: phy0

root@CasaBarba:~# [  454.700803] mt7530-mmio 15020000.switch lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[  454.701393] br-lan: port 2(lan2) entered blocking state
[  454.714292] br-lan: port 2(lan2) entered forwarding state

And this is from the laptop connected by eth port

└─$ ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

--- 192.168.1.1 ping statistics ---
4 packets transmitted, 0 received, 100% packet loss, time 3057ms

                                                                                                                                                  
┌──(nadie㉿Ferkali)-[~]
└─$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 74:d4:dd:4e:ff:e7  txqueuelen 1000  (Ethernet)
        RX packets 74  bytes 25308 (24.7 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 105  bytes 39826 (38.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1000  (Local Loopback)
        RX packets 90  bytes 7060 (6.8 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 90  bytes 7060 (6.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.0.35  netmask 255.255.255.0  broadcast 192.168.0.255
        inet6 2802:8010:4931:c400:1c3a:cf3c:158a:a6f7  prefixlen 64  scopeid 0x0<global>
        inet6 fe80::46d7:9dc8:c9fd:81fd  prefixlen 64  scopeid 0x20<link>
        ether 1c:ce:51:25:1a:b9  txqueuelen 1000  (Ethernet)
        RX packets 98751  bytes 101009766 (96.3 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 53036  bytes 9418837 (8.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

I answered myself

I reinstalled based on RC5 and now everything works again.

Thanks