Skip to contentSkip to conversation

Booting to an alternate bank on an ADS512101?

U-Boot Timur Tabi 2 participants 2 messages Jun 10, 2011 – Jun 11, 2011

lore
Share & tools
lore

Timur Tabi

author
#0 lore raw

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.

Signature · 2 lines
Timur Tabi
Linux kernel developer at Freescale
#1 lore raw

Dear Timur Tabi,

Quoted 2 lines · In message <[email protected]> you wrote:

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

Which exact board revision is this?

Quoted 2 lines

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.

Quoted 3 lines

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.

Quoted 4 lines

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

Signature · 7 lines
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_