public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Detecting U-boot in linux kernel startup
@ 2010-11-17 17:04 Kristoffer Ericson
  2010-11-17 17:40 ` Wolfgang Denk
  0 siblings, 1 reply; 2+ messages in thread
From: Kristoffer Ericson @ 2010-11-17 17:04 UTC (permalink / raw)
  To: u-boot

Greetings,

Im in the situation where most of the hp jornada 700-series handhelds
got a rom containing wince while mine (and shortly alot more) contain uboot.
So instead of adding alot of #ifdefs inside the kernel, I thought that I could
do a check at bootup instead. I basicly need some unique id that only the flashrom
would contain (e.g "u-boot ..blabla).

So, any good location/string to check to confirm that its infact u-boot on the
rom and not wince?

Best wishes
Kristoffer

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

* [U-Boot] Detecting U-boot in linux kernel startup
  2010-11-17 17:04 [U-Boot] Detecting U-boot in linux kernel startup Kristoffer Ericson
@ 2010-11-17 17:40 ` Wolfgang Denk
  0 siblings, 0 replies; 2+ messages in thread
From: Wolfgang Denk @ 2010-11-17 17:40 UTC (permalink / raw)
  To: u-boot

Dear Kristoffer Ericson,

In message <20101117170442.GA820@boggieman> you wrote:
> 
> Im in the situation where most of the hp jornada 700-series handhelds
> got a rom containing wince while mine (and shortly alot more) contain uboot.
> So instead of adding alot of #ifdefs inside the kernel, I thought that I could
> do a check at bootup instead. I basicly need some unique id that only the flashrom
> would contain (e.g "u-boot ..blabla).
> 
> So, any good location/string to check to confirm that its infact u-boot on the
> rom and not wince?

Why not just add a unique marker to the kernel's command line when
booting from U-Boot?


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Leave bigotry in your quarters; there's no room for it on the bridge.
	-- Kirk, "Balance of Terror", stardate 1709.2

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

end of thread, other threads:[~2010-11-17 17:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-17 17:04 [U-Boot] Detecting U-boot in linux kernel startup Kristoffer Ericson
2010-11-17 17:40 ` Wolfgang Denk

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