Skip to contentSkip to conversation

udgb on fsl booke?

DISCUSSION Daniel Walker 3 participants 3 messages May 14, 2016 – May 16, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

I noticed that udbg is missing for fsl booke , or at least it doesn't appear to be implemented. I don't know a great deal about fsl book. I'm working on an MCP85XX at the moment , and I was looking into the udbg system to get prints. It looks like fsl booke might be similar enough to 44x to use the already implemented udbg routines for that.

Does anyone have suggestion on this ? Is fsl booke missing because it's not possible to have this, or no one ever needed it ?

Thanks,

Daniel

#1 lore raw
Quoted 10 lines · Daniel Walker

Hi,

I noticed that udbg is missing for fsl booke , or at least it doesn't appear to be implemented. I don't know a great deal about fsl book. I'm working on an MCP85XX at the moment , and I was looking into the udbg system to get prints. It looks like fsl booke might be similar enough to 44x to use the already implemented udbg routines for that.

Does anyone have suggestion on this ? Is fsl booke missing because it's not possible to have this, or no one ever needed it ?

Yeah I noticed this recently too.

I don't know the history of why there isn't one, I suspect probably it just was never merged upstream. Hopefully someone from Freescale can chime in.

On my machine (p5020ds) there is a real UART, so it should just be a matter of creating a mapping for it and then using the existing udbg_16550 code.

cheers

#2 lore raw
Quoted 15 lines · Michael Ellerman
Quoted 10 lines · Daniel Walker

Hi,

I noticed that udbg is missing for fsl booke , or at least it doesn't appear to be implemented. I don't know a great deal about fsl book. I'm working on an MCP85XX at the moment , and I was looking into the udbg system to get prints. It looks like fsl booke might be similar enough to 44x to use the already implemented udbg routines for that.

Does anyone have suggestion on this ? Is fsl booke missing because it's not possible to have this, or no one ever needed it ?

Yeah I noticed this recently too.

Quoted 7 lines

I don't know the history of why there isn't one, I suspect probably it just was
never merged upstream. Hopefully someone from Freescale can chime in.

On my machine (p5020ds) there is a real UART, so it should just be a matter of
creating a mapping for it and then using the existing udbg_16550 code.

We don't have udbg support for these chips anywhere. I usually just dump the logbuffer from an external debugger (or bisect with a branch-to-self using the external debugger to see if it was reached, if the logbuffer is empty) when there's a boot problem. It'd be nice to have; it just never got done.

-Scott