* [U-Boot-Users] bootm and script images
@ 2005-09-16 10:23 Matthias Fuchs
2005-09-16 10:51 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Matthias Fuchs @ 2005-09-16 10:23 UTC (permalink / raw)
To: u-boot
Hi,
I am wondering if there is a special reason why bootm currently cannot
handle script images. Does anything speak against bootm calling
autoscript() for AU_SCRIPT marked images?
Matthias
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot-Users] bootm and script images
2005-09-16 10:23 [U-Boot-Users] bootm and script images Matthias Fuchs
@ 2005-09-16 10:51 ` Wolfgang Denk
2005-09-16 13:07 ` Matthias Fuchs
0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2005-09-16 10:51 UTC (permalink / raw)
To: u-boot
In message <432A9D2A.2060501@esd-electronics.com> you wrote:
>
> I am wondering if there is a special reason why bootm currently cannot
> handle script images. Does anything speak against bootm calling
> autoscript() for AU_SCRIPT marked images?
Yes. Bootm is intended to boot (Linux) kernel images, that's all.
There are other commands to deal with other objects, like "go" for
standalone images, "autoscr" for scripts,
Please keep the design smalland simple. We don't need no eierlegende
Woll-Milch-S?ue in U-Boot :-)
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
Name one thing windows is better than unix in?
Making money for Microsoft?
-- Randal L. Schwartz in <8cvi5t4c3t.fsf@gadget.cscaper.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot-Users] bootm and script images
2005-09-16 10:51 ` Wolfgang Denk
@ 2005-09-16 13:07 ` Matthias Fuchs
0 siblings, 0 replies; 3+ messages in thread
From: Matthias Fuchs @ 2005-09-16 13:07 UTC (permalink / raw)
To: u-boot
Wolfgang,
this is what I need to do: we have u-boot running on a PCI adapter card.
The whatever-image is directly loaded into the card's RAM over the PCI
bus. Then we trigger booting the image by modifying a magic RAM cell.
Currently only Linux kernel images and combined kernel + initrd images
are supported. Now we want to allow using u-boot scripts with the same
mechanism.
So if you think that a "universal" boot command would blow things up to
much, I will think of a mofication of our loadpci BSP command. I will
decide inside this command if bootm or autoscr must be used.
Wolfgang Denk wrote:
> Yes. Bootm is intended to boot (Linux) kernel images, that's all.
> There are other commands to deal with other objects, like "go" for
> standalone images, "autoscr" for scripts,
Yes, I know.
>
> Please keep the design smalland simple. We don't need no eierlegende
> Woll-Milch-S?ue in U-Boot :-)
Well, it would be just one more case in the bootm switch statement.
Matthias
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-16 13:07 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-16 10:23 [U-Boot-Users] bootm and script images Matthias Fuchs
2005-09-16 10:51 ` Wolfgang Denk
2005-09-16 13:07 ` Matthias Fuchs
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox