[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] Automatic login
Hi John,
Thanks a lot for your work, this is exactly what I was looking for.
However, sorry my lack of knowledge but, what do I have to do with the
new patch in order to include it in Petalinux? Copy somewhere, execute
something...? I'm really new on all this world and sometimes I feel a
bit lost ;-)
Thank again!
Raul
-----Mensaje original-----
De: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] En nombre de John
Williams
Enviado el: martes, 27 de mayo de 2008 3:07
Para: microblaze-uclinux@xxxxxxxxxxxxxx
Asunto: Re: [microblaze-uclinux] Automatic login
Hi again Raul,
Torrego Raul wrote:
> I'm trying to connect my board via telnet, but I've realized that this
> is not possible until the login/password is typed (my intention was to
> do this via telnet) so, is there any way of getting an automatic
login?
> This is, is there something that can be configured so that petalinux
> starts itself?
This is such a useful functionality I had to go and do it streaght away!
The attached patch should apply cleanly to a petalinux-v0.30 tree.
No custom vendor Makefile hacking required, it just adds some new
menuconfig options under
Customise user/vendor settings -> System settings:
[*] Autologin
Autologin application: "/bin/sh"
If autologin is enabled, it defaults to running "/bin/sh" which will
boot direct to a shell prompt.
However, you may wish it to run your own app on startup instead, just
edit the "Autologin application" field and point it to the binary you
require. Parameters can be specified sperated by spaces as expected.
Obviously if you get this wrong you'll have a very unhappy system on
bootup.
This feature will be in the next release.
Regards,
John
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/