public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Boot password
@ 2007-06-28 12:20 Ori Idan
  2007-06-28 14:27 ` nicky geerts
  2007-07-03 10:13 ` Stefan Roese
  0 siblings, 2 replies; 4+ messages in thread
From: Ori Idan @ 2007-06-28 12:20 UTC (permalink / raw)
  To: u-boot

I am using a board similar to IXDP425 and would like a password for boot.
I have defined CONFIG_AUTOBOOT_KEYED
And also defined: CONFIG_AUTOBOOT_PROMPT and CONFIG_AUTOBOOT_DELAY_STR

We got the CONFIG_AUTOBOOT_PROMPT but it sayed forever or until we
typed the password.

When compiling we got undefined reference to get_ticks and get_tbclk
We copied these functions from cpu/arm925t/interrupts.c to cpu/ixp/interrupts.c

What might have gone wrong?

-- 
Ori Idan

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

* [U-Boot-Users] Boot password
  2007-06-28 12:20 [U-Boot-Users] Boot password Ori Idan
@ 2007-06-28 14:27 ` nicky geerts
  2007-06-28 15:58   ` Ori Idan
  2007-07-03 10:13 ` Stefan Roese
  1 sibling, 1 reply; 4+ messages in thread
From: nicky geerts @ 2007-06-28 14:27 UTC (permalink / raw)
  To: u-boot

the autoboot keystring is actually a string that allows you to enter
command line interface of u-boot, not a boot password to prevent
booting by unauthorised users.

Nicky

2007/6/28, Ori Idan <ori@helicontech.co.il>:
> I am using a board similar to IXDP425 and would like a password for boot.
> I have defined CONFIG_AUTOBOOT_KEYED
> And also defined: CONFIG_AUTOBOOT_PROMPT and CONFIG_AUTOBOOT_DELAY_STR
>
> We got the CONFIG_AUTOBOOT_PROMPT but it sayed forever or until we
> typed the password.
>
> When compiling we got undefined reference to get_ticks and get_tbclk
> We copied these functions from cpu/arm925t/interrupts.c to cpu/ixp/interrupts.c
>
> What might have gone wrong?
>
> --
> Ori Idan
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
>

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

* [U-Boot-Users] Boot password
  2007-06-28 14:27 ` nicky geerts
@ 2007-06-28 15:58   ` Ori Idan
  0 siblings, 0 replies; 4+ messages in thread
From: Ori Idan @ 2007-06-28 15:58 UTC (permalink / raw)
  To: u-boot

Well, if the unauthorised user does not know the string so it is
actually a password.
What happened in my case was that U-boot was stuck until I entered the
autoboot keystring.
I expected it to autoboot after 5 seconds which did not happen.

-- 
Ori Idan


On 6/28/07, nicky geerts <nicky.geerts.news@gmail.com> wrote:
> the autoboot keystring is actually a string that allows you to enter
> command line interface of u-boot, not a boot password to prevent
> booting by unauthorised users.
>
> Nicky
>
> 2007/6/28, Ori Idan <ori@helicontech.co.il>:
> > I am using a board similar to IXDP425 and would like a password for boot.
> > I have defined CONFIG_AUTOBOOT_KEYED
> > And also defined: CONFIG_AUTOBOOT_PROMPT and CONFIG_AUTOBOOT_DELAY_STR
> >
> > We got the CONFIG_AUTOBOOT_PROMPT but it sayed forever or until we
> > typed the password.
> >
> > When compiling we got undefined reference to get_ticks and get_tbclk
> > We copied these functions from cpu/arm925t/interrupts.c to cpu/ixp/interrupts.c
> >
> > What might have gone wrong?
> >
> > --
> > Ori Idan
> >
> > -------------------------------------------------------------------------
> > This SF.net email is sponsored by DB2 Express
> > Download DB2 Express C - the FREE version of DB2 express and take
> > control of your XML. No limits. Just data. Click to get it now.
> > http://sourceforge.net/powerbar/db2/
> > _______________________________________________
> > U-Boot-Users mailing list
> > U-Boot-Users at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/u-boot-users
> >
>

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

* [U-Boot-Users] Boot password
  2007-06-28 12:20 [U-Boot-Users] Boot password Ori Idan
  2007-06-28 14:27 ` nicky geerts
@ 2007-07-03 10:13 ` Stefan Roese
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Roese @ 2007-07-03 10:13 UTC (permalink / raw)
  To: u-boot

Hi Ori,

On Thursday 28 June 2007, Ori Idan wrote:
> I am using a board similar to IXDP425 and would like a password for boot.
> I have defined CONFIG_AUTOBOOT_KEYED
> And also defined: CONFIG_AUTOBOOT_PROMPT and CONFIG_AUTOBOOT_DELAY_STR
>
> We got the CONFIG_AUTOBOOT_PROMPT but it sayed forever or until we
> typed the password.
>
> When compiling we got undefined reference to get_ticks and get_tbclk
> We copied these functions from cpu/arm925t/interrupts.c to
> cpu/ixp/interrupts.c

Hmmm. Just copying those files might be your problem. Most likely they have to 
be "ported" to ixp.

> What might have gone wrong?

What happens on your prompt when you type "sleep 3"?

Best regards,
Stefan

=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================

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

end of thread, other threads:[~2007-07-03 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-28 12:20 [U-Boot-Users] Boot password Ori Idan
2007-06-28 14:27 ` nicky geerts
2007-06-28 15:58   ` Ori Idan
2007-07-03 10:13 ` Stefan Roese

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