root@OpenWrt:~# picocom /dev/ttyUSB0
picocom v3.1
port is : /dev/ttyUSB0
flowcontrol : none
baudrate is : 9600
parity is : none
databits are : 8
stopbits are : 1
escape is : C-a
local echo is : no
noinit is : no
noreset is : no
hangup is : no
nolock is : no
send_cmd is : sz -vv
receive_cmd is : rz -vv -E
imap is :
omap is :
emap is : crcrlf,delbs,
logfile is : none
initstring : none
exit_after is : not set
exit is : no
Type [C-a] [C-h] to see available commands
Terminal ready
at
OK
AT+MSMPD=1
OK
AT+MSMPD=0
OK
AT+MSMPD=1
OK
AT+CSCLK=1
OK
[ 2960.285599] usb 1-1: USB disconnect, device number 3
[ 2960.290831] cdc_ncm 1-1:1.0 usb0: unregister 'cdc_ncm' usb-1e1c0000.xhci-1, CDC NCM (NO ZLP)
[ 2960.370457] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
FATAL: [ 2960.378945] option 1-1:1.2: device disconnected
read zero bytes [ 2960.385061] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
from port
term_[ 2960.393857] option 1-1:1.3: device disconnected
exitfunc: reset [ 2960.400312] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
failed for dev U[ 2960.409240] option 1-1:1.4: device disconnected
NKNOWN: Not a tt[ 2960.415663] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
One would be to try modemmanager to autodetect the modem, and then add respective netif addons to configure it
E.g. this for other type of modems (yours has completely different vendor command subset) https://openwrt.org/docs/guide-user/network/wan/wwan/ltedongle
OK. Is RT-AX53U image one of those without U-Boot?
I really think, basic functionality for this 4G-AX56 takes only
-original U-Boot (to take the whole 512MB RAM in use)
-original device tree (to add at least the one missing network connector)
-RT-AX53U kernel and everything on top of that.
since openwrt doesn't supply the boot loader, it have to be extracted from an existing vendor image, for the device you're trying to flash.
if the git commit nor wiki page mention cutting and appending files using dd, it doesn't.
It sounds very much like fdt file. Is there any need for something else what can only be found by dumping whole MTD partition and mounting it somewhere else?
My goal was to use this device as a "home automation gateway" to control a summer cottage remotedly.
Network seems to already work using AX53U OpenWRT version and if I only can make modem work and the device to boot automatelly, it will be enough. Working LED's are not essential in the first place for this usage.
I have same kind of automation already working in our home on RT-AX53U router having OpenWRT. The rest is PHP scripts. Unfortunatelly this 4G-AX56 does not have PHP installed. It could be used having the original FW if there was PHP.