Skip to contentSkip to conversation

u-boot as second monitor

U-Boot-Users Francisco Afonso 4 participants 5 messages Nov 7, 2006

lore
Share & tools
lore
#0 lore raw

Hi,

I have a TQM823L board that comes with the Mon8xx monitor. I have read about how to install uboot over Mon8xx, but I would like to know if it is possible to generate u-boot for a different flash address and call it after the Mon8xx boot. If so what should I change in the uboot code?

Thanks,

Francisco

#1 lore raw
Quoted 5 lines · Francisco Afonso

Hi,

I have a TQM823L board that comes with the Mon8xx monitor. I have read about how to install uboot over Mon8xx, but I would like to know if it is possible to generate u-boot for a different flash address and call

Yes, that's possible.

Quoted 1 line

it after the Mon8xx boot. If so what should I change in the uboot code?

One problem is if Mon8xx initializes the hardware before calling U-Boot. U-Boot may not work if some hardware is already initialized before U-Boot starts. I have this problem with my BDI-2000 hardware debugger. If I let the BDI initialize flash (so that I can write to it), U-Boot will hang when it starts.

Signature · 2 lines
Timur Tabi
Linux Kernel Developer @ Freescale
#2 lore raw
Quoted 6 lines · In message <[email protected]> you wrote:
Quoted 4 lines

I have a TQM823L board that comes with the Mon8xx monitor. I have read about how to install uboot over Mon8xx, but I would like to know if it is possible to generate u-boot for a different flash address and call

Yes, that's possible.

This is NOT a supported mode of operation.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The human mind  ordinarily  operates  at  only  ten  percent  of  its
capacity. The rest is overhead for the operating system.
#3 lore raw
In reply to Francisco Afonso
Quoted 5 lines · In message <[email protected]> you wrote:

I have a TQM823L board that comes with the Mon8xx monitor. I have read about how to install uboot over Mon8xx, but I would like to know if it is possible to generate u-boot for a different flash address and call it after the Mon8xx boot. If so what should I change in the uboot code?

No, this is not possible. There is no reason to keep MON8xx after installing U-Boot anyway. You won't ever need or want it again.

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"If you'll excuse me a minute, I'm going to have a cup of coffee."
- broadcast from Apollo 11's LEM, "Eagle", to Johnson  Space  Center,
Houston July 20, 1969, 7:27 P.M.
#4 lore raw

Wolfgang Denk skrev:

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

I have a TQM823L board that comes with the Mon8xx monitor. I have read about how to install uboot over Mon8xx, but I would like to know if it is possible to generate u-boot for a different flash address and call it after the Mon8xx boot. If so what should I change in the uboot code?

No, this is not possible. There is no reason to keep MON8xx after installing U-Boot anyway. You won't ever need or want it again.

It is possible, This is how you boot the AT91RM9200 from dataflash.

First the bootROM is executed and this loads "Dataflashboot.bin" into internal SRAM and jumps to the beginning. Dataflashboot.bin loads U-Boot into SDRAM and jumps into U-boot. And no, you cannot replace Dataflashboot.bin with U-boot (unless you manage to shrink it to 12 kByte)

The at91rm9200dk needs a little tweaking for this to work. Cannot link it to 0x00000000.

/Ulf

Quoted 4 lines

Best regards,

Wolfgang Denk

-------------- next part --------------
A non-text attachment was scrubbed...
Name: ulf.vcf
Type: text/x-vcard
Size: 297 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20061107/d03e153d/attachment.vcf