Hi Juergen,
2014-05-05 15:04 GMT+02:00 Juergen Borleis <[email protected]>:
> > > And did you also disable the login?
> >
> > I just found out that the problem is fixed by modifying the standard
> > /etc/inittab file in ${PTXDIST}/projectroot. I just removed the "console"
> >
> > id from the sysinit and respawn lines and left the id field empty:
> > ::sysinit:/etc/init.d/rcS
> > ::respawn:/sbin/getty -L 115200 ttySAC0 vt100
> >
> > (of course this still starts a shell on ttySAC0 but that's expected)
>
> But you should not modify the inittab file from the PTXdist installation.
> Copy
> the (changed) file you want to use to your local BSP directory
> to "projectroot/etc/inittab". PTXdist will prefer this local file instead
> of
> the global one.
>
Yes, sorry, this was misleading. I had actually done as you say, but did not
explain it properly.
>
> > Not sure why this makes a difference (according to the comments in the
> > example inittab file from Busybox [1] I would interpret that leaving it
> > empty would be equivalent to specifying "console"), but now it works both
> > with the default bootargs (console=ttySAC0,115200) and with console=null
> > (or just "console=").
>
> Strange.
>
> > Since the standard inittab example from Busybox also leaves the id field
> > empty for the sysinit line and for the login shell on the default
> console,
> > you may want to do the same in ptxdist.
>
> Needs some more tests and code review to change it in PTXdist. But we
> should
> keep it in mind. Thanks for this information.
>
If there are any other tests I can do regarding this issue, or just
anything else,
please let me know.
Thank you and best regards,
Guillermo