All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Booting to an alternate bank on an ADS512101?
@ 2011-06-10 22:24 Timur Tabi
  2011-06-11  7:42 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Timur Tabi @ 2011-06-10 22:24 UTC (permalink / raw)
  To: u-boot

Hi,

I just got an ADS512101, so I have a few beginner questions on it.

Is it possible to boot to an "alternate" flash bank on this board, like the
"pixis_reset altbank" command does?  I know that jumper P4 is supposed to do a
flash recovery, but that doesn't seem to work for me (I'll email the
manufacturer about that later).  And even if it did, that's not exactly what I
want, since it requires me to physically move the jumpers.

Instead, I'd like to be able to write a new u-boot.bin into some address in NOR
flash, and then reset the board and boot that U-Boot instead.  If for some
reason this U-boot fails, then a hard reset will bring me back to the original
U-Boot.

-- 
Timur Tabi
Linux kernel developer at Freescale

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [U-Boot] Booting to an alternate bank on an ADS512101?
  2011-06-10 22:24 [U-Boot] Booting to an alternate bank on an ADS512101? Timur Tabi
@ 2011-06-11  7:42 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2011-06-11  7:42 UTC (permalink / raw)
  To: u-boot

Dear Timur Tabi,

In message <4DF29990.9040706@freescale.com> you wrote:
> 
> I just got an ADS512101, so I have a few beginner questions on it.

Which exact board revision is this?

> Is it possible to boot to an "alternate" flash bank on this board, like the
> "pixis_reset altbank" command does?  I know that jumper P4 is supposed to do a

I don't know what "pixis_reset altbank" does, but there is a separate
bank of NOR flash on the mpc5121ads board, which you can select with a
jumper.

> flash recovery, but that doesn't seem to work for me (I'll email the
> manufacturer about that later).  And even if it did, that's not exactly what I
> want, since it requires me to physically move the jumpers.

To switch between the "main" and the "alternate" flash banks you
always have to set/remove the jumper. On this hardware there is no
software way to perform this switching.

> Instead, I'd like to be able to write a new u-boot.bin into some address in NOR
> flash, and then reset the board and boot that U-Boot instead.  If for some
> reason this U-boot fails, then a hard reset will bring me back to the original
> U-Boot.

THis does not work on this hardware. You have to move the jumper.

Alternatively, attach a JTAG debugger...

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I don't mind criticism. You know me. I've  never  been  one  to  take
offence  at  criticism. No one could say I'm the sort to take offence
at criticism -- Not twice, anyway. Not without blowing bubbles.
                                  - Terry Pratchett, _Witches Abroad_

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-11  7:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-10 22:24 [U-Boot] Booting to an alternate bank on an ADS512101? Timur Tabi
2011-06-11  7:42 ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.