Worse case you can do it yourself, just fill a file with null bytes, then write to the areas like Alfie said, and then flash that.
Just flash uboot and then boot into uboot console and flash everything else.
Check here about uboot commands etc.
You need to use tftp, erase and cp.b to write data.
Nice thinking john! So to get straight so I do not mess this up:
I get my backup.bin, remove the first 256KB fill that with the correct uboot and flash it to the eeprom?
How far have you gotten with it all? Have you flashed a new uboot to the eeprom yet using a programmer? If i understand the bootloader is at the start of the memory, so you can just flash it from 0 to uboot.bin size.
After that you can boot the router like Alfie wrote, and flash the firmware using uboot.
I have no knowledge of how flashrom works. Everytime when I wanted to flash the uboot.bin it was complaining that it was not 64MB big. So it was not allowing me to flash it. As far as I know now. There should be some “force” option but I did not had time to test it yet with the force flag or with the DD command to fill in the other bytes to make it 64MB.
I will report back when I have tried it
If the hardware flasher requires an image the exact size, then yeah. Copy the uboot file and add null bytes to the end of it with dd to make it the exact size needed.
Just to add, here is a video of a guy doing a memory upgrade on his router, so he is using similar tools to what you are using to flash the ram:
Luckly my german is okish haha that is a lot of clear information. But totally forgot about the ART. I have to flash the ART aswell if I read else where on here. How do I get the correct ART?
Just try the uboot only first and see if it works
Both of you thank you very much! Just had some free time and managed to flash the eeprom the right way. I managed to get uboot up and running and when flashing gl-ar150-3.0 (https://dl.gl-inet.com/firmware/ar150/clean/) it shows that it is doing something (blinking green+red) and after 1 min its solid green. But then nothing. No wifi no eth connection. Can this be because of that I have used a 128 MB flash chip?
AR150 doesn’t support 128MB flash. Only 16MB.
This could be the reason.
ah that is too bad. No way to mark only an active part ? Otherwise can you give a model replacement chip ?
You can choose GL-AR300M or GL-AR750S, both of them support 128MB nand.
He was asking about the memory chip model/part number
Yes exactly! So any help on that ?
I just looked it up. The chip I have now is this one:
This one was installed:
This looks like the same one just different manufacturer ?
I think 128 mean 16MB (128Mbit/8).
So it should be the correct capacity.
Can you get the full log from UART?
Sorry for the super late reply, got a new job and only got time today (and had to buy some extra stuff). The log is unreadable… I am on a iMac and with the CH341A baud speed is 115200. But this is what I get:
sudo cu -l /dev/cu.wchusbserial1420 -s 115200 Password: Connected. ?#??R???R???R???R???R???R??IR*?IR*?IR*%H???? ????????A?L????)??͓??J??e?*???Ҫ??Ҫ??Ҫ??Ҫ??Ҫ??Ҫ??Ҫ??Ҫ??j?C???&?(?*?3?JJ5?? ?K?G?KIE????JU?G?˪??C?HHI??'??6?j A?????S ?C?F??*J??+??d?ɕ??)???H? ??*????????j????Uu?? ? ]?:??v?k????? ?n?ݠ??ŵ?? ]??? څvY?? Z ?LQz??]??kA? 21?Ӫ? ʹi???i?8빮?*?#?nV͠nVմ?Ѵ? ??r?8???.?j?KꀮV??? ??n??? ??sXVj??و-?sY, ???n? ?U??KA??+ݬ??-? ڕc ? ?? Ju?? A?Y????Սa?R?nA?]??J??.??????'?0??ڀ?? ????C?H(??t??????:??? ?K6???.?*??E?sY.??A?.???.W?kA?K?f?NkŲ???Y??? j L?k ?????? *?L?k ??w??? *??Z??k?i?Y+j LZkdkٚ?????????:?+j ?Z?A??i?Y j L?k ????*?????:? j L?k ??w???+*?L?k ????*?j??Z??k?i Y+j LZk?dkٺ?????Z?A??i?Y+j ?Z?A??i?Y j L?k ????*??A??i? j L?k ??w??? *?L?k ??w??? *?LZkdk?i Y+j ?$*??ﮂ???d???i+?i/*??i?ɬY"?????,Wѿ?j ?a?????
Could this be that I maybe did not solder the eeprom corretly ?
If you solder incorrectly then it could burn very quickly.
Maybe just miss setting or maybe need to try a different usb-uart adapter.
thanks for the quick reply! What will be the correct setting? I do not have a second uart adapter saidly i have this uart adapter currently https://hsto.org/files/d03/09a/014/d0309a0146644845acab04718e2dfb13.JPG
You can try the adapter from us.