bootm and script images
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
Quoted 4 lines · In message <[email protected]> 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()forAU_SCRIPTmarked 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
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
Name one thing windows is better than unix in?
Making money for Microsoft?
-- Randal L. Schwartz in <[email protected]>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.
Quoted 3 lines · Wolfgang Denk
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.
Quoted 3 lines
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