public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] u-boot as second monitor
@ 2006-11-07 15:11 Francisco Afonso
  2006-11-07 16:48 ` Timur Tabi
  2006-11-07 17:47 ` Wolfgang Denk
  0 siblings, 2 replies; 5+ messages in thread
From: Francisco Afonso @ 2006-11-07 15:11 UTC (permalink / raw)
  To: u-boot

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

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

* [U-Boot-Users] u-boot as second monitor
  2006-11-07 15:11 [U-Boot-Users] u-boot as second monitor Francisco Afonso
@ 2006-11-07 16:48 ` Timur Tabi
  2006-11-07 17:48   ` Wolfgang Denk
  2006-11-07 17:47 ` Wolfgang Denk
  1 sibling, 1 reply; 5+ messages in thread
From: Timur Tabi @ 2006-11-07 16:48 UTC (permalink / raw)
  To: u-boot

Francisco Afonso wrote:
> 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.

> 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.

-- 
Timur Tabi
Linux Kernel Developer @ Freescale

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

* [U-Boot-Users] u-boot as second monitor
  2006-11-07 15:11 [U-Boot-Users] u-boot as second monitor Francisco Afonso
  2006-11-07 16:48 ` Timur Tabi
@ 2006-11-07 17:47 ` Wolfgang Denk
  2006-11-07 21:15   ` Ulf Samuelsson
  1 sibling, 1 reply; 5+ messages in thread
From: Wolfgang Denk @ 2006-11-07 17:47 UTC (permalink / raw)
  To: u-boot

In message <4550A211.9070706@dei.uminho.pt> 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

-- 
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.

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

* [U-Boot-Users] u-boot as second monitor
  2006-11-07 16:48 ` Timur Tabi
@ 2006-11-07 17:48   ` Wolfgang Denk
  0 siblings, 0 replies; 5+ messages in thread
From: Wolfgang Denk @ 2006-11-07 17:48 UTC (permalink / raw)
  To: u-boot

In message <4550B8CB.2010809@freescale.com> 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 
> 
> Yes, that's possible.

This is NOT a supported mode of operation.

Best regards,

Wolfgang Denk

-- 
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.

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

* [U-Boot-Users] u-boot as second monitor
  2006-11-07 17:47 ` Wolfgang Denk
@ 2006-11-07 21:15   ` Ulf Samuelsson
  0 siblings, 0 replies; 5+ messages in thread
From: Ulf Samuelsson @ 2006-11-07 21:15 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk skrev:
> In message <4550A211.9070706@dei.uminho.pt> 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


> 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 

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

end of thread, other threads:[~2006-11-07 21:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-07 15:11 [U-Boot-Users] u-boot as second monitor Francisco Afonso
2006-11-07 16:48 ` Timur Tabi
2006-11-07 17:48   ` Wolfgang Denk
2006-11-07 17:47 ` Wolfgang Denk
2006-11-07 21:15   ` Ulf Samuelsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox