Here's an OpenWrt test build for the Notion R281.
DISCLAIMER: Please note that I'm providing these builds WITHOUT WARRANTY OR SUPPORT. FLASH AT YOUR OWN RISK, I TAKE NO RESPONSIBILITY IF IT BREAKS YOUR DEVICE. (I have already flashed these in mine before I made it available.)
It is already implied that if you flash this, then you are also comfortable with unbricking the device, should anything go wrong. I'm providing these builds to aid in getting the modem fully supported in vanilla OpenWrt. If you find something is not working concerning the builds, then let me know and I'll see what I can do. For other inquiries like 'how do I install this <package>, how do I configure for <anything>...' then Google and the countless other forums are your bestfriends for those.
Now this doesn't come totally without support, and here are somethings you need to remember, so PLEASE READ CAREFULLY:
1. The unit comes in two configurations. To check for this, gain root shell access and run 'cat /proc/cmdline'. If you see 'root=/dev/mtdblock5', then your unit is already configured and ready to be migrated to OpenWrt. If not, then you need to run
in the terminal, or in u-boot just replace fw_setenv with setenv.
TAKE NOTE: With the recent release of 5.3+ firmware for Smart Bro, there has been a bootloader update preventing tftp recovery. For such units, there is nothing much you can do if you can't regain tftp function in the bootloader. The one thing you can do is flash a bootloader version from before this change was made, but note that flashing this may render your device FULLY BRICKED, and the only way to recover would be to desolder the flash chip and reprogram it. Let me know if you wish to take this risk.
2. In case you want to return to stock, then it is easy to do so via the recovery mode. Here's how:
a. Connect the unit to your computer via ethernet cable. Set a static address of 10.10.10.3/24 to the wired interface.
b. Run a tftp server, pointing it to where your 'firmware.bin' file is located. (This file is 38.8MiB in size, which is an mtd dump of the mtd4: firmware1 or mtd5: firmware2).
c. Hold the reset button at the back of the unit before turning it on. Keep pressing it until it automatically runs recovery mode where it will load the 'firmware.bin' file via tftp at 10.10.10.3. You will know this already happening when you see activity over the LAN led or your RJ45 port, or the transfer progress in the server you're using, if there is any.
d. Wait for the unit to finish downloading and flashing the file, and when it restarts, then you have recovered the unit on stock firmware.
3. If you wish to help out with getting the modem supported in OpenWrt, then do this in the terminal, or luci, wherever you're comfortable:
You will see from syslog that it is failing to send AT commands to the modem, thus unable to initialize and bring up the connection to the internet. You will need to edit /etc/gcom/ncm.json under the "marvell" section (use vi or nano) with the correct commands sequence, from initialize, configure, connect, and disconnect, to achieve this. If you find this out and share this information, then me and many others will be very grateful. After you have edited it, then restart the wwan network, or restart the modem then restart wwwan. You can also send AT commands directly to the modem for manual debugging like this:
4. You can install packages from snapshot, or the 22.03-rc5 release, PROVIDED that the package you are installing DOES NOT INSTALL KERNEL MODULES. Those kernel modules would need to be integrated into my test builds. I have included kmod-wireguard for wireguard (installed) and kmod-tun for openvpn (not-installed). It will be much better if you install from the 22.03-rc5 release as this snapshot is a couple of commits ahead of 22.03-rc5 when it was branched off and tagged as rc5.
5. I have converted LAN1 on this unit into WAN, so you can use it as a router. I have also implemented the '2Gbps CPU bandwidth' achievement using this PR: You do not have permission to view the full content of this post. Log in or register now. (let's hope it gets merged soon as it makes for a great improvement). You can readily test this if you have gigabit fibre connection. Just connect it to LAN1/WAN. Please report your findings when you do so.
6. With this test build, it is based on vanilla OpenWrt. So apart from a very basic network setup of involving LAN and WAN, and disabled wireless interfaces, you will have to setup everything on your own. THIS IS NOT FOR THE FAINT OF HEART. You will need to put in your work, as I have put in mine into getting this unit supported under mainline OpenWrt. You will have to consult online documentation, or make your own researches, to do what it is you wish to do, you can start here: You do not have permission to view the full content of this post. Log in or register now.
QUESTION: Why doesn't my 3G/4G Information page look like yours below, or why doesn't the Preferred LTE bands page work?
ANSWER: That's because I have modified several files for it to work with this modem, and I have not yet submitted those changes upstream. Regarding the preferred LTE bands, that would need a change as well to a compatible AT command that works with the modem, which I have not yet done. Anyway, these are just cosmetic issues, as you can still directly send commands to the modem in the terminal.
7. I have mentioned before that with the migration from stock firmware to OpenWrt, open-source wireless drivers are now available. It brings in Wi-Fi Wave2, WPA3, 802.11r (band-steering), and Mesh Wi-Fi improvements, to name a few. Have fun learning and getting these technologies to work within your network setup.
I have already submitted patches to support the Notion R281 in upstream OpenWrt. Let's wait until it is accepted, then it will be available for download from the site.
Without further ado, here's how you install OpenWrt:
Stock firmware runs an old OpenWrt Chaos Calmer release. Unfortunately,
because of the changes in the flash layout, this cannot be sysupgrade-d
readily from stock. Installation will be via tftpboot in the bootloader.
Connect the USB-TTL serial converter as follows, indicated on the board
by the APTX marking near three round PCB pads:
(GND) (RX) (TX) APTX
Baud rate is 57600.
1. Connect the computer to the device via ethernet cable.
Set a static adddress of 10.10.10.3/24 to the wired interface.
2. Start the TFTP server, point it to where the initramfs image is
located. Rename the image to 'test.bin'.
3. Turn on the device. There will be a three-second delay before the
default 'Boot system code via flash' is selected.
4. Interrupt the boot process by pressing 1 to 'System Load Linux to
SDRAM via TFTP'.
5. Press enter to accept the default 'Input device IP (10.10.10.123)'.
6. Press enter to accept the default 'Input server IP (10.10.10.3)'.
7. Press enter to accept the default 'Input Linux Kernel filename ()',
or enter 'test.bin'.
8. Wait for the initramfs to load.
9. Reconnect the wired interface to any LAN ports of the device
via dhcp.
9. Flash the sysupgrade image at
You do not have permission to view the full content of this post. Log in or register now.
<link removed by the moderator>
DISCLAIMER: Please note that I'm providing these builds WITHOUT WARRANTY OR SUPPORT. FLASH AT YOUR OWN RISK, I TAKE NO RESPONSIBILITY IF IT BREAKS YOUR DEVICE. (I have already flashed these in mine before I made it available.)
It is already implied that if you flash this, then you are also comfortable with unbricking the device, should anything go wrong. I'm providing these builds to aid in getting the modem fully supported in vanilla OpenWrt. If you find something is not working concerning the builds, then let me know and I'll see what I can do. For other inquiries like 'how do I install this <package>, how do I configure for <anything>...' then Google and the countless other forums are your bestfriends for those.
Now this doesn't come totally without support, and here are somethings you need to remember, so PLEASE READ CAREFULLY:
1. The unit comes in two configurations. To check for this, gain root shell access and run 'cat /proc/cmdline'. If you see 'root=/dev/mtdblock5', then your unit is already configured and ready to be migrated to OpenWrt. If not, then you need to run
Code:
fw_setenv bootargs console=ttyS1,56700n8 root=/dev/mtdblock5
in the terminal, or in u-boot just replace fw_setenv with setenv.
TAKE NOTE: With the recent release of 5.3+ firmware for Smart Bro, there has been a bootloader update preventing tftp recovery. For such units, there is nothing much you can do if you can't regain tftp function in the bootloader. The one thing you can do is flash a bootloader version from before this change was made, but note that flashing this may render your device FULLY BRICKED, and the only way to recover would be to desolder the flash chip and reprogram it. Let me know if you wish to take this risk.
2. In case you want to return to stock, then it is easy to do so via the recovery mode. Here's how:
a. Connect the unit to your computer via ethernet cable. Set a static address of 10.10.10.3/24 to the wired interface.
b. Run a tftp server, pointing it to where your 'firmware.bin' file is located. (This file is 38.8MiB in size, which is an mtd dump of the mtd4: firmware1 or mtd5: firmware2).
c. Hold the reset button at the back of the unit before turning it on. Keep pressing it until it automatically runs recovery mode where it will load the 'firmware.bin' file via tftp at 10.10.10.3. You will know this already happening when you see activity over the LAN led or your RJ45 port, or the transfer progress in the server you're using, if there is any.
d. Wait for the unit to finish downloading and flashing the file, and when it restarts, then you have recovered the unit on stock firmware.
3. If you wish to help out with getting the modem supported in OpenWrt, then do this in the terminal, or luci, wherever you're comfortable:
Code:
uci set network.wwan=interface
uci set network.wwan.proto='ncm'
uci set network.wwan.auto='0'
uci set network.wwan.device='/dev/ttyACM0'
uci set network.wwan.pdptype='IP'
uci set network.wwan.apn='smartlte'
uci set network.wwan.ipv6='auto'
uci set network.wwan.delay='5'
uci set network.wwan.pincode='<pincode>' # if your SIM has PIN1 enabled, replace <pincode>
uci commit network
ifup wwan
You will see from syslog that it is failing to send AT commands to the modem, thus unable to initialize and bring up the connection to the internet. You will need to edit /etc/gcom/ncm.json under the "marvell" section (use vi or nano) with the correct commands sequence, from initialize, configure, connect, and disconnect, to achieve this. If you find this out and share this information, then me and many others will be very grateful. After you have edited it, then restart the wwan network, or restart the modem then restart wwwan. You can also send AT commands directly to the modem for manual debugging like this:
Code:
sms_tool -d /dev/ttyACM0 at '<at-command>' # replace <at-command> with the actual command like AT+CFUN?
4. You can install packages from snapshot, or the 22.03-rc5 release, PROVIDED that the package you are installing DOES NOT INSTALL KERNEL MODULES. Those kernel modules would need to be integrated into my test builds. I have included kmod-wireguard for wireguard (installed) and kmod-tun for openvpn (not-installed). It will be much better if you install from the 22.03-rc5 release as this snapshot is a couple of commits ahead of 22.03-rc5 when it was branched off and tagged as rc5.
5. I have converted LAN1 on this unit into WAN, so you can use it as a router. I have also implemented the '2Gbps CPU bandwidth' achievement using this PR: You do not have permission to view the full content of this post. Log in or register now. (let's hope it gets merged soon as it makes for a great improvement). You can readily test this if you have gigabit fibre connection. Just connect it to LAN1/WAN. Please report your findings when you do so.
6. With this test build, it is based on vanilla OpenWrt. So apart from a very basic network setup of involving LAN and WAN, and disabled wireless interfaces, you will have to setup everything on your own. THIS IS NOT FOR THE FAINT OF HEART. You will need to put in your work, as I have put in mine into getting this unit supported under mainline OpenWrt. You will have to consult online documentation, or make your own researches, to do what it is you wish to do, you can start here: You do not have permission to view the full content of this post. Log in or register now.
QUESTION: Why doesn't my 3G/4G Information page look like yours below, or why doesn't the Preferred LTE bands page work?
ANSWER: That's because I have modified several files for it to work with this modem, and I have not yet submitted those changes upstream. Regarding the preferred LTE bands, that would need a change as well to a compatible AT command that works with the modem, which I have not yet done. Anyway, these are just cosmetic issues, as you can still directly send commands to the modem in the terminal.
7. I have mentioned before that with the migration from stock firmware to OpenWrt, open-source wireless drivers are now available. It brings in Wi-Fi Wave2, WPA3, 802.11r (band-steering), and Mesh Wi-Fi improvements, to name a few. Have fun learning and getting these technologies to work within your network setup.
I have already submitted patches to support the Notion R281 in upstream OpenWrt. Let's wait until it is accepted, then it will be available for download from the site.
Without further ado, here's how you install OpenWrt:
Stock firmware runs an old OpenWrt Chaos Calmer release. Unfortunately,
because of the changes in the flash layout, this cannot be sysupgrade-d
readily from stock. Installation will be via tftpboot in the bootloader.
Connect the USB-TTL serial converter as follows, indicated on the board
by the APTX marking near three round PCB pads:
(GND) (RX) (TX) APTX
Baud rate is 57600.
1. Connect the computer to the device via ethernet cable.
Set a static adddress of 10.10.10.3/24 to the wired interface.
2. Start the TFTP server, point it to where the initramfs image is
located. Rename the image to 'test.bin'.
3. Turn on the device. There will be a three-second delay before the
default 'Boot system code via flash' is selected.
4. Interrupt the boot process by pressing 1 to 'System Load Linux to
SDRAM via TFTP'.
5. Press enter to accept the default 'Input device IP (10.10.10.123)'.
6. Press enter to accept the default 'Input server IP (10.10.10.3)'.
7. Press enter to accept the default 'Input Linux Kernel filename ()',
or enter 'test.bin'.
8. Wait for the initramfs to load.
9. Reconnect the wired interface to any LAN ports of the device
via dhcp.
9. Flash the sysupgrade image at
You do not have permission to view the full content of this post. Log in or register now.
<link removed by the moderator>