nand bad block with an RT809H, didn't boot

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Formaster
    Senior Member
    • Jul 2021
    • 68
    • Switzerland

    #1

    nand bad block with an RT809H, didn't boot

    Hello guys

    I did a dump from a MX30LF4G28AD@TSOP48 nand with an RT809H. If I flash back the firmware, the auto verify show everithing ok, but if click on Verify button there is a lot of inconsistence bytes.

    I did a bad block check and found it few. However I use any bad block management algorithm, after flashing the verify show the same inconsistences.

    The device didn't boot up. What I did wrong? Thank's in advance!
    Attached Files
  • lotas
    Badcaps Legend
    • Jan 2016
    • 4486
    • Russia

    #2
    Re: nand bad block with an RT809H, didn't boot

    RT809H - does not know how to work correctly with Bad Block and Error Correction Codes (ECC).

    Comment

    • Formaster
      Senior Member
      • Jul 2021
      • 68
      • Switzerland

      #3
      Re: nand bad block with an RT809H, didn't boot

      Originally posted by lotas
      RT809H - does not know how to work correctly with Bad Block and Error Correction Codes (ECC).
      Thank's. Do you think the dump is correct in this case? Should I buy a brand new nand or what device can correct handle?

      Comment

      • lotas
        Badcaps Legend
        • Jan 2016
        • 4486
        • Russia

        #4
        Re: nand bad block with an RT809H, didn't boot

        What kind of device, where is this nand? You can post this dump (I'll take a look when I have time).

        Comment

        • Formaster
          Senior Member
          • Jul 2021
          • 68
          • Switzerland

          #5
          Re: nand bad block with an RT809H, didn't boot

          It is a Zyxel ax7501-b0 router, with custom ISP firmware on it. I wanted replace to the original firmware, but it is also not as easy as thought. (drive link, while too big to attach)

          https://drive.google.com/drive/folde...usp=share_link

          thank's in advance and big reputation!+++

          Comment

          • Formaster
            Senior Member
            • Jul 2021
            • 68
            • Switzerland

            #6
            Re: nand bad block with an RT809H, didn't boot

            Sadly the ssh/telnet ports are filtered from the isp fw. If somebody find theese rules in the bin would be cool. I don't know how to insert the original firmware into the full dump.

            Comment

            • lotas
              Badcaps Legend
              • Jan 2016
              • 4486
              • Russia

              #7
              Re: nand bad block with an RT809H, didn't boot

              Errors in the middle of the dump, the programmer does not know this ECC algorithm.
              Attached Files

              Comment

              • Formaster
                Senior Member
                • Jul 2021
                • 68
                • Switzerland

                #8
                Re: nand bad block with an RT809H, didn't boot

                Originally posted by lotas
                Errors in the middle of the dump, the programmer does not know this ECC algorithm.
                What do you think about TL866II? Don't want to spend 400 for a GQ-5X if not neccessary.

                Comment

                • lotas
                  Badcaps Legend
                  • Jan 2016
                  • 4486
                  • Russia

                  #9
                  Re: nand bad block with an RT809H, didn't boot

                  I don’t know about TL866II, but it won’t work well with BB either, then it’s better to take Xgecu t56 programmer (it has more functions).

                  https://aliexpress.ru/popular/xgecu-...%BE%D1%80.html

                  Comment

                  • Formaster
                    Senior Member
                    • Jul 2021
                    • 68
                    • Switzerland

                    #10
                    Re: nand bad block with an RT809H, didn't boot

                    What kind of interface could be here? SPI? 3 pins are 3.3v, one gnd.

                    Is there a little chance to revive if the uboot not damaged?
                    Attached Files

                    Comment

                    • lotas
                      Badcaps Legend
                      • Jan 2016
                      • 4486
                      • Russia

                      #11
                      Re: nand bad block with an RT809H, didn't boot

                      Most likely UART interface (RX, TX, 3.3v, GND).

                      Comment

                      • Formaster
                        Senior Member
                        • Jul 2021
                        • 68
                        • Switzerland

                        #12
                        Re: nand bad block with an RT809H, didn't boot

                        Is it normal than 3 pins are 3.3v?

                        Comment

                        • lotas
                          Badcaps Legend
                          • Jan 2016
                          • 4486
                          • Russia

                          #13
                          Re: nand bad block with an RT809H, didn't boot

                          According to your pinout: 1 - 3.3v, 2 - RX or TX, 3 - TX or RX, 5 - GND.
                          Attached Files

                          Comment

                          • lotas
                            Badcaps Legend
                            • Jan 2016
                            • 4486
                            • Russia

                            #14
                            Re: nand bad block with an RT809H, didn't boot

                            Originally posted by Formaster
                            Is it normal than 3 pins are 3.3v?
                            Yes

                            Comment

                            • Formaster
                              Senior Member
                              • Jul 2021
                              • 68
                              • Switzerland

                              #15
                              Re: nand bad block with an RT809H, didn't boot

                              thank you, the connection is up, but signs bad. I so stupid, why not beginned on uart.
                              Attached Files

                              Comment

                              • lotas
                                Badcaps Legend
                                • Jan 2016
                                • 4486
                                • Russia

                                #16
                                Re: nand bad block with an RT809H, didn't boot

                                There should be a boot log when the router is turned on.

                                Comment

                                • Formaster
                                  Senior Member
                                  • Jul 2021
                                  • 68
                                  • Switzerland

                                  #17
                                  Re: nand bad block with an RT809H, didn't boot

                                  It won't boot up correctly, because the damaged firmware. All the led's lights. Is any chance to get back in the life?

                                  The official update bin I have, but is not the full dump of the nand.

                                  Comment

                                  • CapLeaker
                                    Leaking Member
                                    • Dec 2014
                                    • 8033
                                    • Canada

                                    #18
                                    Re: nand bad block with an RT809H, didn't boot

                                    Look at the firmware and see ich you find a file with an even number like 8.00MB or 16MB… take that file and flash it to the nand. The file is as big as the nand flash itself.

                                    As for the original question sometimes the RT809H does misidentify corrupted firmware as bad blocks. That’s why I save the contents, write the NAND full with 1’s. Verify it, then FF the NAND and verify it again, to really see if I have a corrupted flash, or a bad flash.

                                    Comment

                                    • Formaster
                                      Senior Member
                                      • Jul 2021
                                      • 68
                                      • Switzerland

                                      #19
                                      Re: nand bad block with an RT809H, didn't boot

                                      The nand is 4gb size, the official update bin are 66mb, the full dump is around 544mb.

                                      Do you mean need to find the boot partition which must be 8 or 16mb? Sorry for my misunderstood.

                                      Comment

                                      • Formaster
                                        Senior Member
                                        • Jul 2021
                                        • 68
                                        • Switzerland

                                        #20
                                        Re: nand bad block with an RT809H, didn't boot

                                        Originally posted by lotas
                                        Errors in the middle of the dump, the programmer does not know this ECC algorithm.
                                        Which ECC algorithm need? Only found on MX datasheet 8 bit. Think to buy a Flashcat Mach1, which designed for SLC, MLC and TLC NAND.

                                        It can handle ECC's as Hamming, RS and BHC.

                                        If its a recommended programmer, i take a same router to dump the nand correctly and flash it to my device. But not sure about the MAC and SerialNr. change

                                        (on device list there is only MX30LF4G28AB, but compared the datasheet not much difference between MX30LF4G28AD.)
                                        Last edited by Formaster; 11-10-2022, 12:17 PM.

                                        Comment

                                        Related Topics

                                        Collapse

                                        • privato89
                                          Nintendo Switch Oled HEG-001: Second-Stage Boot Failure
                                          by privato89
                                          Hello everyone,

                                          I'm facing an issue with a HEG-001 motherboard that is unable to complete the Second-Stage Boot. I'd like to start directly with my conclusion, which is the decision to replace the MAX77621AEWI chip, and understand if it could be a correct evaluation.

                                          Before I dive into the process that led me to this decision, I want to mention that I have a fully equipped lab where I can perform any kind of tests.

                                          Let's begin:

                                          Following some guides online, I tried to understand how the Boot phase of the Nintendo Switch works, and what are the...
                                          03-26-2024, 06:37 AM
                                        • hinisa
                                          Xiaomi router freezes at boot after re-capping
                                          by hinisa
                                          I'm using Xiaomi Router 4A gigabit edition as wireless repeater. It worked fine for 2 years or so, but last week, wireless started to disappear.

                                          When I unplug/replug the power, it was working fine for a day/half a day or so until it freezes again.

                                          After testing with different power supply adapters and concluding it wasn't the issue I finally opened the case and this was the situation:



                                          Anyway I proceed to clean up the mess and replace all caps but unfortunately it made the situation worse. Now router can't even boot, either it freezes during...
                                          07-08-2023, 05:58 AM
                                        • Luke Anders
                                          Lenovo Legion 5 (15ACH6H/17ACH6H) - Does not boot into any OS
                                          by Luke Anders
                                          Hi everyone,

                                          A few details about the laptop itself:

                                          Name: Lenovo Legion 5
                                          Model: 15ACH6H (according to its back cover details) / 17ACH6H (according to the BIOS Menu)
                                          BIOS Version: GKCN60WW
                                          EC Version: GKEC65WW
                                          Serial Number: PF39AQ7Z
                                          Board Model: NM-D562 Rev 3.0
                                          RAM: 16GB Installed, DDR4 (brand new)
                                          NVME: 500GB NVME drive (brand new, installed Windows 10 onto it for testing purposes and tested on another laptop (a dell XPS) works perfectly fine and boots in)

                                          I bought this laptop recently from eBay as a faulty device....
                                          10-12-2024, 05:13 AM
                                        • menshawy
                                          MEC5050 Boot Block Disable needed
                                          by menshawy
                                          hi
                                          please help to know how can i unlock Boot Block in MEC5050
                                          M.B LA-7731P


                                          THANKS...
                                          04-04-2023, 10:12 AM
                                        • tikanot
                                          ACER NITRO 5 AN515-42 boot and block
                                          by tikanot
                                          hello i have an ACER NITRO 5 AN515-42 and he boot and block at boot no error or bluescreen. I have flash the ec, flash the bios and change bios chip and same mistake. I don't where to search the mistake.
                                          05-10-2022, 08:15 AM
                                        • Loading...
                                        • No more items.
                                        Working...