MX28 & finding out boot mode
Chen Peter-B29397
B29397 at freescale.com
Thu Aug 30 04:47:21 EDT 2012
> > is there a way to find out how the MX28 was booted? I could read out
> the
> > bootmode-pins for indication. Still, either by button or by empty NAND,
> > the CPU could have been booted via USB recovery mode. And going through
> > the docs and the bootlets code, I can't find a way to determine if USB
> > recovery was used.
> >
> > So, can USB recovery mode be detected somehow? Then, this and reading
> > pins should be sufficent, no?
> >
> Add Frank&Peter who may know it.
As far as I know, the romcode decides which mode is used, I haven't read
romcode, so don't know priority of below booting selection.
OTP, button, boot media (if no boot media, will go to USB recovery mode)
Why do you need to know USB recovery mode at your code?
Peter
More information about the linux-arm-kernel
mailing list