Bricked GL-AR150 (ereased uboot)

You linked the GL-inet uboot but what is the different between this one and the one you linked?

You should use the GL inet one, that is the only one they have tested.

1 Like

i tried to read and flash the eeprom but its failing. Bought a new eeprom and that one works. What is it that is all on the eeprom that I have to flash to get it working?

You need to flash the last 64K byte which contains radio as well. But this can be written using uboot.

So uboot is working then you can try to do using uboot.

1 Like

so if I flash uboot in the last 64k i can flash the rest via uboot? Can you link me the rest?

I just finished getting the flash readout. @alzhao could you take a look and fix the bin so I can upload it to a new eeprom :slight_smile: ? (i broke some legs on the old one lol)
If you can give me the right bin file that I can flash with flashrom ( I am on mac that is why) then I can flash it since I am in no way good at filling up the file. So please give me a 16.777.216 bytes file please :slight_smile: you are the best!
Can be downloaded here:
https://github.com/d1slact0r/pineapple-firmware-builder/raw/master/backup.bin

image

OK, you need to split your file and only exclude the last 64K from 00FF0000 to one separate file, call it radio.bin

Then use your programmer to flash this file to the last 64K of your new flash.
Also flash the correct uboot. Then you can solder your flash to the board then boot. Enter uboot web ui and flash firmware.

1 Like

Thank you so much ! Is it possible that you fill this and send me the bin file ? I’ve no idea how to split the file and exclude the last 64kb… (I’m using Linux and flashrom)

On Linux you should use dd to extrude one part of a file into another file.

Pls use google find examples.

1 Like

Oke so then I get 2 files?
1 radio.bin
2. uboot.bin

Then where do I flash that to ?

Uboot.bin flash to the start of the flash
Radio.bin flash to the end of the flash.

Actually I said this in previous reply.

1 Like

thanks that makes a lot of sense. But it is not possible for you to give a bin file that I can flash using flashrom ? Since with the program flashrom and bus pirate I can not flash a specific region as far as I know.

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.

1 Like

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.

1 Like

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:

1 Like

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?