Re: [U-Boot] Disable tftp and access

2015-01-31 Thread Nable
Hi!

I haven't tested this approach, but you can define the following variables
in your board config (see include/configs/mimc200.h for example):
#define CONFIG_SILENT_CONSOLE   /* enable silent startup */
#define CONFIG_DISABLE_CONSOLE  /* disable console */
#define CONFIG_SYS_DEVICE_NULLDEV   /* include nulldev device */

Then you can set "stdin=nulldev\0" in your environment. I hope it helps.

I should also mention that if you are going to sell devices and want to
completely disable access to the firmware/software, then you should also
somehow disable debug ports (such as JTAG).
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Disable tftp and access

2015-01-31 Thread Jakub Jančo
Hello,

can someone help me disable serial access to uboot?


--
S pozdravom Jakub Janco

2015-01-23 18:41 GMT+01:00 Jakub Jančo :

> Thanks for answer,
>
> according to http://www.denx.de/wiki/view/DULG/UBootEnvVariables
> if I set bootdelay=0, then will not be possible to tftp image by dhcp or
> by push?
>
> I can't find information about possible options for stdin.
>
> Thanks.
>
>
>
> --
> S pozdravom Jakub Janco
>
> 2015-01-21 8:11 GMT+01:00 Albert ARIBAUD :
>
>> Hello Jakub,
>>
>> On Tue, 20 Jan 2015 20:09:21 +0100, Jakub Jančo 
>> wrote:
>> > Hello,
>> >
>> > I want to disable uboot tftp on my device and if uboot allow some
>> > login/access(eg. by console) then disable it too.
>> >
>> > My aim is to lock uboot except booting image(OS), I want manage it only
>> > from OS(changing env variables only from OS)
>> >
>> > I want to ask what env variables I should change to disable tftp
>> functions
>> > and access?
>>
>> Basically, you should look into the bootdelay and stdin variables.
>>
>> > Thanks,
>> > Kubco
>>
>> Amicalement,
>> --
>> Albert.
>> ___
>> U-Boot mailing list
>> U-Boot@lists.denx.de
>> http://lists.denx.de/mailman/listinfo/u-boot
>>
>
>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Disable tftp and access

2015-01-23 Thread Jakub Jančo
Thanks for answer,

according to http://www.denx.de/wiki/view/DULG/UBootEnvVariables
if I set bootdelay=0, then will not be possible to tftp image by dhcp or by
push?

I can't find information about possible options for stdin.

Thanks.



--
S pozdravom Jakub Janco

2015-01-21 8:11 GMT+01:00 Albert ARIBAUD :

> Hello Jakub,
>
> On Tue, 20 Jan 2015 20:09:21 +0100, Jakub Jančo 
> wrote:
> > Hello,
> >
> > I want to disable uboot tftp on my device and if uboot allow some
> > login/access(eg. by console) then disable it too.
> >
> > My aim is to lock uboot except booting image(OS), I want manage it only
> > from OS(changing env variables only from OS)
> >
> > I want to ask what env variables I should change to disable tftp
> functions
> > and access?
>
> Basically, you should look into the bootdelay and stdin variables.
>
> > Thanks,
> > Kubco
>
> Amicalement,
> --
> Albert.
> ___
> U-Boot mailing list
> U-Boot@lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] Disable tftp and access

2015-01-20 Thread Albert ARIBAUD
Hello Jakub,

On Tue, 20 Jan 2015 20:09:21 +0100, Jakub Jančo 
wrote:
> Hello,
> 
> I want to disable uboot tftp on my device and if uboot allow some
> login/access(eg. by console) then disable it too.
> 
> My aim is to lock uboot except booting image(OS), I want manage it only
> from OS(changing env variables only from OS)
> 
> I want to ask what env variables I should change to disable tftp functions
> and access?

Basically, you should look into the bootdelay and stdin variables.

> Thanks,
> Kubco

Amicalement,
-- 
Albert.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] Disable tftp and access

2015-01-20 Thread Jakub Jančo
Hello,

I want to disable uboot tftp on my device and if uboot allow some
login/access(eg. by console) then disable it too.

My aim is to lock uboot except booting image(OS), I want manage it only
from OS(changing env variables only from OS)

I want to ask what env variables I should change to disable tftp functions
and access?


Thanks,
Kubco
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot