Reset on Beaglebone Black has become unreliable/broken

Ahmad Fatoum a.fatoum at pengutronix.de
Tue Dec 3 12:28:39 PST 2024


On 03.12.24 19:51, Konstantin Kletschke wrote:
> On Tue, Dec 03, 2024 at 07:28:24PM +0100, Ahmad Fatoum wrote:
> 
>> You can enable it for barebox.bin too, but enabling it for MLO only
>> should work too.
> 
> Okay.
> 
>>> 2~�W-�,-H]
>>>           ���k׋�ҫ�.LWC�C�C��arebox 2024.10.0-00152-g53c99b9f550b-dirty #15 Mon Dec 2 15:07:37 CET 2024
>>
>> Hmm, CONFIG_BAUDRATE is set correctly?
> 
> CONFIG_BAUDRATE=115200, never changed that.
> 
>> If it doesn't work at a later place, it won't work when you move it
>> earlier. I have a BBB here, so I can give enabling DEBUG_LL a try
> 
> Ou, then I have misunderstood one of your intial mails where I thought
> moving it earlier should change something, if RAM setup fails getting an
> output eventually despite of that.

- Try it first on a correctly working system an see that you get a >
  at the usual place.

- Try it on a broken system and see if you get a >

- If you don't, try on correct working system if you see > if you
  move it earlier

- Then try on broken system

>> too if you get stuck.
> 
> I manage to get DEBUG_LL on and run it, but the only difference is the
> scrambled output in my terminal on powerup boot or when resetting with 
> "my cold restart" modification. 
> But wait, I do not know if it as glitch, when CONFIG_LL_DEBUG is on and
> I power on, I see a "2" immediately put out in terminal prepended first.
> When the system gets stuck it does it in a way I do not see anything with
> or without enabled in stuck case.

See the patch I just Cc'd you on.
 
> I extremely appreciate your help getting CONFIG_LL_DEBUG run.> I can support with a dozen of BBBs within a day to your office, its
> nearly on my way from my home to my work :-D

I was particularly interested in DEBUG_LL, because that was a regression
as I know that it used to work.

I wish you best luck with debugging the actual issue you have now. :-)

Let me know how it goes,
Ahmad

> 
> Regards
> Konsti
> 


-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list