Bootloader needed, again (buffalo wzr-1750dhp)

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
pitfermi
DD-WRT Novice


Joined: 06 Jun 2021
Posts: 35

PostPosted: Sun Jul 03, 2022 17:17    Post subject: Reply with quote
i flashed the new bootloader,verified content, attached fly wires (living hell), and mounted the flash on one of these: https://www.aliexpress.com/item/1005001965564994.html?spm=a2g0o.order_list.0.0.17b31802UO3wPA
just like the picture shows..

for some reason the flash gets warm(almost hot). this was not the case when i had it soldered on the pcb.
i read it again with the programmer and the contents are fine. not sure where the problem lies. checked the voltages, checked for shorts, the adapter is fine. kind of confused right now.



IMG_20220703_191326.jpg
 Description:
 Filesize:  3.93 MB
 Viewed:  1872 Time(s)

IMG_20220703_191326.jpg


Sponsor
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sun Jul 03, 2022 17:42    Post subject: Reply with quote
So the device wont boot? Were you able to get a serial log of the attempt if any?

I wouldn't discount the possibility of some partition going awol or the flash chip itself, Im assuming on the current setup as shown on screenshot that it getting the correct voltages, you checked but are they right given the heat? Could be also all that cabling and sitting on the adapter causes it to run warmer.

If a partition is somehow corrupt it would account for some failed boots, but serial output would give some hints either way. If its a partition would likely be possible to get dumps from a working donor board and write them.

Serial logs (in all cases) a must to determine what and then try to hash the partition contents to compare to a working one, depending what serial output says.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
pitfermi
DD-WRT Novice


Joined: 06 Jun 2021
Posts: 35

PostPosted: Sun Jul 03, 2022 18:56    Post subject: Reply with quote
I realised i had the breakout board wiring wrong..
i had vcc and gnd one pin away, so gnd and vcc might have sorted. not sure if i caused damage to the board.
but now the flash doesnt get warm. vcc still reads 3.3V though.
Serial looks off atm. i will first verify that the usb uart adapter works.
unless i somehow killed the board, i think i might be close.
the-joker wrote:
So the device wont boot? Were you able to get a serial log of the attempt if any?

I wouldn't discount the possibility of some partition going awol or the flash chip itself, Im assuming on the current setup as shown on screenshot that it getting the correct voltages, you checked but are they right given the heat? Could be also all that cabling and sitting on the adapter causes it to run warmer.

If a partition is somehow corrupt it would account for some failed boots, but serial output would give some hints either way. If its a partition would likely be possible to get dumps from a working donor board and write them.

Serial logs (in all cases) a must to determine what and then try to hash the partition contents to compare to a working one, depending what serial output says.
pitfermi
DD-WRT Novice


Joined: 06 Jun 2021
Posts: 35

PostPosted: Sun Jul 03, 2022 19:19    Post subject: Reply with quote
ok so serial adapter is fine. verified with a wrt54GL.
it might be that i flash the bootloader wrong? there are pages, block etc. im not familiar with those. but the bootloader appears to be at address 0x00.. and since the flash still works..
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Sun Jul 03, 2022 19:49    Post subject: Reply with quote
Just attach the full serial output of the boot attempt to a text file on your reply.
_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Wildlion
DD-WRT Guru


Joined: 24 May 2016
Posts: 1415

PostPosted: Sun Jul 03, 2022 19:52    Post subject: Reply with quote
dale_gribble39 wrote:
Wildlion wrote:
What is wrong with the one I posted in that thread?

This is what's wrong with it. Open the file with HxD and look at it. 1024kb is twice the size of the normal bootloader on Broadcom ARM devices. Do you have this router? If so, would be helpful to see the information of cat /proc/mtd.

Just FYI the results is:

dev: size erasesize name
mtd0: 00100000 00010000 "boot"
mtd1: 00010000 00010000 "nvram_cfe"
mtd2: 00010000 00010000 "nvram"
mtd3: 02000000 00020000 "linux"
mtd4: 01e20000 00020000 "rootfs"
mtd5: 06000000 00020000 "ddwrt"

at it is a US version, I think it was originally a DHPD version... not that that matters?
belotv
DD-WRT Novice


Joined: 06 Jul 2022
Posts: 8
Location: Belgium

PostPosted: Wed Jul 06, 2022 17:14    Post subject: Reply with quote
Hmmm you cannot really expect the router to work with soldered fly wires connected to a breadboard holding the NAND.

Breadboards have terrible capacitive effects. Even at few hundreds of kHz it starts causing trouble, which is why it cannot be used for prototypes involving high-speed signal transmission.

It may work at low speed to write/read using your programmer, but when clocked by the router board in the MHz range it is very unlikely to work. The router is probably not able to read the chip content at all.
pitfermi
DD-WRT Novice


Joined: 06 Jun 2021
Posts: 35

PostPosted: Wed Jul 06, 2022 20:12    Post subject: Reply with quote
as a matter of fact, i did expect it to work lol. i have read blog posts where people had a similar setup to dump NAND content. I might just get rid of the breadboard and use the jumper wires directly..

anyway inserting the nand in that adapter on the breadboard is a bit of pain, as you have to make sure the pins are aligned. i managed to short vcc and gnd during mounting it in there, the flash got hot but surprisingly it did not die. i can read and write to it with the programmer just fine. Even after being super careful with everything.. 3.3V on the router pcb is still ok. not sure if something else is fried. the only thing lights up are the ethernet green LEDs on the back when the unit powers up. thats how it is since i bricked it.

i opted for this fly wire setup, because i might have flashed the CFE wrong and it might need another flash and another, so all i have to do is remove it from the adapter on the breadboard.

the pcb pads where the flash goes are really sensitive. i almost ripped some of them. unfortunately my chinese UV lamp does not harden the UV mask properly and the pads are floating lol. i have to use a laser or sth.


belotv wrote:
Hmmm you cannot really expect the router to work with soldered fly wires connected to a breadboard holding the NAND.

Breadboards have terrible capacitive effects. Even at few hundreds of kHz it starts causing trouble, which is why it cannot be used for prototypes involving high-speed signal transmission.

It may work at low speed to write/read using your programmer, but when clocked by the router board in the MHz range it is very unlikely to work. The router is probably not able to read the chip content at all.



flywires3.JPG
 Description:
 Filesize:  9.88 MB
 Viewed:  1734 Time(s)

flywires3.JPG


belotv
DD-WRT Novice


Joined: 06 Jul 2022
Posts: 8
Location: Belgium

PostPosted: Thu Jul 07, 2022 8:37    Post subject: Reply with quote
By looking at the picture, let's be honest ... you can get rid of that router. A lots of pads are damaged and it is a most probably a multilayer PCB so almost impossible to fix that.

The chip itself may work, but it is very unlikely that on the board.

CFE may have been your initial issue, but your current issue is most likely related to hardware damage.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Thu Jul 07, 2022 9:00    Post subject: Reply with quote
That just looks dirty to me There is a concerning area, its not a really good picture, but there seems to be some traces being bridged see my screenshot.), but I tend to agree that, when the setup was being done the vcc vs gnd may have been a contributor factor to current (pun intended) situation.

Now that the CFE is flashed and I presume following @pitfermi chat over at my discord server that the original MAC addresses have been writen to the donor CFE and flashed back, that its time to clean those pads remove the flywires and put the flash back into place.

There is a great deal of wiring atm, all this adds some resistance to the circuit where the tolerances may be just over the range.



Capture.PNG
 Description:
 Filesize:  1.74 MB
 Viewed:  1687 Time(s)

Capture.PNG



_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
pitfermi
DD-WRT Novice


Joined: 06 Jun 2021
Posts: 35

PostPosted: Thu Jul 07, 2022 20:03    Post subject: Reply with quote
The ripped pads are NC (no connect). the other ones are still attached.

@joker. i made sure to check for shorts/bridges.
also regarding the red area, i cut the excessive wire. it sits on the cap.
belotv wrote:
By looking at the picture, let's be honest ... you can get rid of that router. A lots of pads are damaged and it is a most probably a multilayer PCB so almost impossible to fix that.

The chip itself may work, but it is very unlikely that on the board.

CFE may have been your initial issue, but your current issue is most likely related to hardware damage.
the-joker
DD-WRT Developer/Maintainer


Joined: 31 Jul 2021
Posts: 2146
Location: All over YOUR webs

PostPosted: Thu Jul 07, 2022 20:15    Post subject: Reply with quote
Yes, you also checked the vcc vs ground but it happened anyway.

Im reminded of a truth which applies to all disciplines, measure twice cut once.

_________________
Saving your retinas from the burn!🔥
DD-WRT Inspired themes for routers
DD-WRT Inspired themes for the phpBB Forum
DD-WRT Inspired themes for the SVN Trac & FTP site
Join in for a chat @ #style_it_themes_public:matrix.org or #style_it_themes:discord

DD-WRT UI Themes Bug Reporting and Discussion thread

Router: ANus RT-AC68U E1 (recognized as C1)
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum