Author Topic: ex-AntMiner BBB acting funny. Help?  (Read 306 times)

0 Members and 1 Guest are viewing this topic.

Offline technix

  • Super Contributor
  • ***
  • Posts: 3503
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
ex-AntMiner BBB acting funny. Help?
« on: May 10, 2021, 03:40:56 am »
I bought an ex-AntMiner BeagleBone Black. It lacked the HDMI circuitry entirely with no pads and traces, it lacked all USB power switch and connectors although pads are still there, it lacked any buttons and the power jack, and the eMMC is replaced with 2Gb (512MB) raw NAND. I have restored all those missing parts that still have its pads and replaced the onboard NAND with a 64Gb (8GB) part.

Now the BBB in question refuses to boot at all, especially it refuses to do USB boot with the USB boot button pressed and no microSD card present. When I attached a J-Link, the CPU is trapped in Data Abort dead loop.

How to fix that?
 

Offline thinkfat

  • Supporter
  • ****
  • Posts: 1582
  • Country: de
    • Matthias' Hackerst├╝bchen
Re: ex-AntMiner BBB acting funny. Help?
« Reply #1 on: May 10, 2021, 06:49:23 am »
You could try single-stepping the boot Rom. Also, There are a couple of memory locations in internal sram that store diagnostic codes from the boot process. They might help you find the issue.
Everybody likes gadgets. Until they try to make them.
 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3503
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: ex-AntMiner BBB acting funny. Help?
« Reply #2 on: May 10, 2021, 01:57:55 pm »
I think I have found the problem. On a real BBB the boot selector button pulls SYSBOOT[2] low from 5'b11100 to 5'b11000 to prioritize USB over MMC0, however on my board the default boot mode is already 5'b10011 prioritizing NAND so the button does nothing. I need to cut the boot selector button's ground pin and bodge in a pull up so the button makes 5'b10011 boot selection a 5'b10111, which no longer allows NAND but allows MMC0 and USB boot.
 

Offline technix

  • Super Contributor
  • ***
  • Posts: 3503
  • Country: cn
  • From Shanghai With Love
    • My Untitled Blog
Re: ex-AntMiner BBB acting funny. Help?
« Reply #3 on: May 10, 2021, 02:19:32 pm »
After a quick trip under a knife and a bodge wire, WE GOT ENUMERATION!!!
[attachimg=1]
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf