GL ar300m have both nor (16MB) and and (128 MB) flash. As shipped from factory, the device uses Uboot to decide with one to boot.
I am just wondering who is building the image for this device because it does not seem to boot at all.
Although this router is not supported, I just wanted to document that I tried using the image as linked
https://librecmc.org/librecmc/downloads/snapshots/v1.4.1/ar71xx/generic/librecmc-ar71xx-generic-gl-ar300-squashfs-sysupgrade.bin
I tried flashing the NOR flash as recommended in this guide
http://gl-inet.com/docs/mini/ar300m/
it does not seem to boot.
GL ar300m have both nor (16MB) and and (128 MB) flash. As shipped from factory, the device uses Uboot to decide with one to boot.
I am just wondering who is building the image for this device because it does not seem to boot at all.
I am aware of the issue. The image works on my 1st GL-AR300M, but not any newer generations. There is a bug in u-boot when flashing an image. GL.Inet still has not responded to my request for u-boot_mod sources they are using for the GL-AR300M.
I am aware of the issue. The image works on my 1st GL-AR300M, but not any newer generations. There is a bug in u-boot when flashing an image. GL.Inet still has not responded to my request for u-boot_mod sources they are using for the GL-AR300M.
I think the above link is wrong. AR300 and AR300M is different and you must use the link of AR300M firmware.
AR300M's newest version changed Nand flash and I think that caused the firmware model not work.
I think the above link is wrong. AR300 and AR300M is different and you must use the link of AR300M firmware.
AR300M's newest version changed Nand flash and I think that caused the firmware model not work.
You are right. There is a GL-AR300M image https://librecmc.org/librecmc/downloads/snapshots/v1.4.1/ar71xx/generic/librecmc-ar71xx-generic-gl-ar300m-squashfs-sysupgrade.bin But (again) I did not have any luck with it on newer revisions of the GL-AR300M. I did have it working on a first run of the GL-AR300M, but I think the flash layout changed or there is a bug in u-boot (maybe both).
Looks like I was missing the fact that the default behavior was to boot from nand flash instead of nor flash :\ Depending on the revision of u-boot used, it will boot from nor flash on the 3rd failure or if newer u-boot firmware is installed and the switch is in the correct position during boot. libreCMC does not currently have nand flash images available, but I'll look at applying patches from the domino-team lede/openwrt repositories.
https://gl-inet.com/docs/mini/ar300m/
Looks like I was missing the fact that the default behavior was to boot from nand flash instead of nor flash :\ Depending on the revision of u-boot used, it will boot from nor flash on the 3rd failure or if newer u-boot firmware is installed and the switch is in the correct position during boot. libreCMC does not currently have nand flash images available, but I'll look at applying patches from the domino-team lede/openwrt repositories.
Depending on the revision of u-boot used, it will boot from nor flash on the 3rd failure
On older versions u-boot, the switch does not work. I set bootcmd to run blf : fw_setenv bootcmd run blf after manually flashing libreCMC with mtd. Don't do this unless you have a serial cable and spi flasher ready to go or are able to debug other failures.
If you can wait a few days, nand flash support should be ready.
>
Depending on the revision of u-boot used, it will boot from nor flash on the 3rd failure
On older versions u-boot, the switch does not work. I set bootcmd to `run blf` : `fw_setenv bootcmd run blf` after manually flashing libreCMC with mtd. Don't do this unless you have a serial cable and spi flasher ready to go or are able to debug other failures.
If you can wait a few days, nand flash support should be ready.
Don't do this unless you have a serial cable and spi flasher ready to go or are able to debug other failure
I don't have a serial cable and api flasher so I probably won't. thanks
Yikes, that sounds bad.
> Don't do this unless you have a serial cable and spi flasher ready to go or are able to debug other failure
I don't have a serial cable and api flasher so I probably won't. thanks
I wonder if this change makes any different. I apologize if it did.
I just realize that I am a fool
```
cat /proc/cpuinfo
system type : Qualcomm Atheros QCA9533 ver 2 rev 0
machine : GL-AR300M
processor : 0
cpu model : MIPS 24Kc V7.4
BogoMIPS : 432.53
wait instruction : yes
microsecond timers : yes
tlb_entries : 16
extra interrupt vector : yes
hardware watchpoint : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
isa : mips1 mips2 mips32r1 mips32r2
ASEs implemented : mips16
shadow register sets : 1
kscratch registers : 0
package : 0
core : 0
VCED exceptions : not available
VCEI exceptions : not available
```
I realize there is another revision of ar300M
https://store.gl-inet.com/collections/travel-routers/products/gl-ar300m-mini-smart-router?variant=3097496944667
I wonder if this change makes any different. I apologize if it did.
Edit: the reason why I ask is because the manufacturer has a naming convention.
.img is nand and .bin is nor
https://gogs.librecmc.org/libreCMC/libreCMC/releases
can you clarify the 1.4.2 release bulletin
*GL-AR300M (2nd gen/ new nand flash) support.
librecmc-ar71xx-generic-gl-ar300m-squashfs-sysupgrade.bin
do I apply this flash to nor or nand?
Edit: the reason why I ask is because the manufacturer has a naming convention.
.img is nand and .bin is nor
I was planning on building a NAND image as soon as my GL-AR300M units arrived, and trying it out on my unit, if that is helpful. My IRC nick is christopher74837.
I was planning on building a NAND image as soon as my GL-AR300M units arrived, and trying it out on my unit, if that is helpful. My IRC nick is christopher74837.
The GL-AR300M is still not officially supported by the libreCMC project and incorrectly flashing can result in a soft brick. To do the initial install, it must be from u-boot.
nand image : librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img from u-boot
nor image : librecmc-ar71xx-generic-gl-ar300m-squashfs-sysupgrade.bin
Keep in mind that u-boot can boot from both nand or nor flash. After 3 failed boots, it will (by default) boot from nor flash. If there are any problem, please file issues against this open issue.
# Nand images for the GL-AR300M are now available :
[v1.4.2-main](https://librecmc.org/librecmc/downloads/snapshots/v1.4.2/ar71xx/nand/)
[v1.4.2-core](https://librecmc.org/librecmc/downloads/snapshots/v1.4.2-core/ar71xx/nand/)
The GL-AR300M is still not officially supported by the libreCMC project and incorrectly flashing can result in a soft brick. To do the initial install, it must be from u-boot.
nand image : librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img from u-boot
nor image : librecmc-ar71xx-generic-gl-ar300m-squashfs-sysupgrade.bin
Keep in mind that u-boot can boot from both nand or nor flash. After 3 failed boots, it will (by default) boot from nor flash. If there are any problem, please file issues against this open issue.
I built my own librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img from v1.4.2 source, and loaded it onto recently purchased gl-ar300m, using u-boot web interface. LuCi comes up fine, and I see 125052 kb MemTotal after I log in via ssh.
I have not yet tried rebuilding or replacing u-boot.
One oddity: After I press button to update nand firmware, Web interface gets stuck perpetually on message "UPDATE IN PR" and will not reboot on its own. But if you wait for a few minutes, and then try to go to http://192.168.1.1 again, then system will reboot into new firmware. Actually, the first time I tried this, it rebooted back into old firmware, but the second time I gave it more time and it run the librecmc firmware.
I built my own librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img from v1.4.2 source, and loaded it onto recently purchased gl-ar300m, using u-boot web interface. LuCi comes up fine, and I see 125052 kb MemTotal after I log in via ssh.
I have not yet tried rebuilding or replacing u-boot.
One oddity: After I press button to update nand firmware, Web interface gets stuck perpetually on message "UPDATE IN PR" and will not reboot on its own. But if you wait for a few minutes, and then try to go to http://192.168.1.1 again, then system will reboot into new firmware. Actually, the first time I tried this, it rebooted back into old firmware, but the second time I gave it more time and it run the librecmc firmware.
Keep in mind that if it fails to boot from nand flash, it will fall back to booting from nor flash (after 3 failed boot attempts). Using a serial cable helps debug what is happening. Did you also flash the nor image in this case?
Keep in mind that if it fails to boot from nand flash, it will fall back to booting from nor flash (after 3 failed boot attempts). Using a serial cable helps debug what is happening. Did you also flash the nor image in this case?
Negative, I only flashed the NAND image. It occurred to me that maybe the first time system fell back to a openwrt NOR image, but I didn't think at the time to check the RAM amount or anything.
Negative, I only flashed the NAND image. It occurred to me that maybe the first time system fell back to a openwrt NOR image, but I didn't think at the time to check the RAM amount or anything.
I hope this images handles multiple streams of browsing and video streaming better than the original image.
this image works
librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img
I am closing bug report
thank you for all of you efforts @RISCI_ATOM
I hope this images handles multiple streams of browsing and video streaming better than the original image.
Although this router is not supported, I just wanted to document that I tried using the image as linked
https://librecmc.org/librecmc/downloads/snapshots/v1.4.1/ar71xx/generic/librecmc-ar71xx-generic-gl-ar300-squashfs-sysupgrade.bin
I tried flashing the NOR flash as recommended in this guide
http://gl-inet.com/docs/mini/ar300m/
it does not seem to boot.
GL ar300m have both nor (16MB) and and (128 MB) flash. As shipped from factory, the device uses Uboot to decide with one to boot.
I am just wondering who is building the image for this device because it does not seem to boot at all.
I am aware of the issue. The image works on my 1st GL-AR300M, but not any newer generations. There is a bug in u-boot when flashing an image. GL.Inet still has not responded to my request for u-boot_mod sources they are using for the GL-AR300M.
I think the above link is wrong. AR300 and AR300M is different and you must use the link of AR300M firmware.
AR300M's newest version changed Nand flash and I think that caused the firmware model not work.
You are right. There is a GL-AR300M image https://librecmc.org/librecmc/downloads/snapshots/v1.4.1/ar71xx/generic/librecmc-ar71xx-generic-gl-ar300m-squashfs-sysupgrade.bin But (again) I did not have any luck with it on newer revisions of the GL-AR300M. I did have it working on a first run of the GL-AR300M, but I think the flash layout changed or there is a bug in u-boot (maybe both).
sorry for the late reply, I did use the ar300m nor build.
I always mess up writing these issue reports.
https://gl-inet.com/docs/mini/ar300m/
Looks like I was missing the fact that the default behavior was to boot from nand flash instead of nor flash :\ Depending on the revision of u-boot used, it will boot from nor flash on the 3rd failure or if newer u-boot firmware is installed and the switch is in the correct position during boot. libreCMC does not currently have nand flash images available, but I'll look at applying patches from the domino-team lede/openwrt repositories.
RISCI_Atom
I think I tried using the switch and I think I am booting from nor flash since I tried the stock NOR from gl-inet website and that image works
Nor flash bin does not seem to work from librecmc
here is my fw_printenv
On older versions u-boot, the switch does not work. I set bootcmd to
run blf
:fw_setenv bootcmd run blf
after manually flashing libreCMC with mtd. Don't do this unless you have a serial cable and spi flasher ready to go or are able to debug other failures.If you can wait a few days, nand flash support should be ready.
Yikes, that sounds bad.
I don't have a serial cable and api flasher so I probably won't. thanks
Accidentally clicked closed issue button.
I just realize that I am a fool
I realize there is another revision of ar300M
https://store.gl-inet.com/collections/travel-routers/products/gl-ar300m-mini-smart-router?variant=3097496944667
I wonder if this change makes any different. I apologize if it did.
All it says it that it appears to be identical to the QCA9531
https://wikidevi.com/wiki/Qualcomm_Atheros
https://gogs.librecmc.org/libreCMC/libreCMC/releases
can you clarify the 1.4.2 release bulletin
*GL-AR300M (2nd gen/ new nand flash) support.
librecmc-ar71xx-generic-gl-ar300m-squashfs-sysupgrade.bin
do I apply this flash to nor or nand?
Edit: the reason why I ask is because the manufacturer has a naming convention.
.img is nand and .bin is nor
nand images have not yet been built for the most recent release of libreCMC. It is a nor flash image.
I was planning on building a NAND image as soon as my GL-AR300M units arrived, and trying it out on my unit, if that is helpful. My IRC nick is christopher74837.
My units won't arrive for a week, but I could build the image tomorrow morning I think if I don't get too busy.
Nand images for the GL-AR300M are now available :
v1.4.2-main
v1.4.2-core
The GL-AR300M is still not officially supported by the libreCMC project and incorrectly flashing can result in a soft brick. To do the initial install, it must be from u-boot.
nand image : librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img from u-boot
nor image : librecmc-ar71xx-generic-gl-ar300m-squashfs-sysupgrade.bin
Keep in mind that u-boot can boot from both nand or nor flash. After 3 failed boots, it will (by default) boot from nor flash. If there are any problem, please file issues against this open issue.
thanks. I apologize that I would probably will not be to test it anytime soon. Too busy with whatever I am doing.
I built my own librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img from v1.4.2 source, and loaded it onto recently purchased gl-ar300m, using u-boot web interface. LuCi comes up fine, and I see 125052 kb MemTotal after I log in via ssh.
I have not yet tried rebuilding or replacing u-boot.
One oddity: After I press button to update nand firmware, Web interface gets stuck perpetually on message "UPDATE IN PR" and will not reboot on its own. But if you wait for a few minutes, and then try to go to http://192.168.1.1 again, then system will reboot into new firmware. Actually, the first time I tried this, it rebooted back into old firmware, but the second time I gave it more time and it run the librecmc firmware.
Keep in mind that if it fails to boot from nand flash, it will fall back to booting from nor flash (after 3 failed boot attempts). Using a serial cable helps debug what is happening. Did you also flash the nor image in this case?
Negative, I only flashed the NAND image. It occurred to me that maybe the first time system fell back to a openwrt NOR image, but I didn't think at the time to check the RAM amount or anything.
this image works
librecmc-ar71xx-nand-gl-ar300m-ubi-factory.img
I am closing bug report
thank you for all of you efforts @RISCI_ATOM
I hope this images handles multiple streams of browsing and video streaming better than the original image.