Skip to contentSkip to conversation

conditional kernel image booting

U-Boot-Users sushant mishra 2 participants 2 messages Mar 4, 2005

lore
Share & tools
lore
#0 lore raw

sir,
i am now working with u boot.fromthe u boot enviornment i am doing some h/w test similar to power on self test.The test is as per my desire.Then on success or failure of each test i am storing the result as 1 or 0.i want that if all my test are not passing then i will stop there and kernel will not be booted.is this possible to do.if yes how.plz help me.

with regards
sushant kumar mishra

Yahoo! India Matrimony: Find your life partneronline.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20050304/0064da99/attachment.htm

#1 lore raw

Hello,

Quoted 3 lines · in message <[email protected]> you wrote:

i am now working with u boot.fromthe u boot enviornment i am doing some h/w test similar to power on self test.The test is as per my desire.Then on success or failure of each test i am storing the result as 1 or 0.i want that if all my test are not p assing then i will stop there and kernel will not be booted.is this possible to do.if yes how.plz help me.

Yes, this is possible. Please read the documentation, especially the FAQ section. See for example
http://www.denx.de/twiki/bin/view/DULG/CommandLineParsing

Quoted 5 lines

--0-474103575-1109940157=:14717
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<DIV>sir,</DIV>

And please don't post HTML to this list!

Best regards,

Wolfgang Denk

Signature · 3 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
We want to create puppets that pull their own strings.   - Ann Marion