* [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:??
@ 2010-02-03 9:48 Tony Mozi
2010-02-03 12:28 ` Cameron Hutchison
0 siblings, 1 reply; 3+ messages in thread
From: Tony Mozi @ 2010-02-03 9:48 UTC (permalink / raw)
To: buildroot
Hi all,
I'm fighting with the buildroot and for the moment, it's the king of the ring...
Well, I want to make the cross-compilation for an ARM.
I have make 'make menuconfig', load files, ...
When I start the board, I have 2 problems :
1/ On minicom -s :
Starting network...
ip: RTNETLINK answers: File exists
When I write a command, like ls, there is no effect.
What does it mean?
2/ On the LCD of the board :
Welcome to Buildroot
uclibc login:
Have you got an idea?
(Sorry for the previous message without object)
BR
Tony
_________________________________________________________________
Nouveau?! Tout Windows Live d?barque dans votre t?l?phone. Voir les Windows phone
http://clk.atdmt.com/FRM/go/175819071/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100203/bcdfd4cf/attachment.htm>
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:??
2010-02-03 9:48 [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:?? Tony Mozi
@ 2010-02-03 12:28 ` Cameron Hutchison
2010-02-03 15:08 ` [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:?? [RESOLVED] Tony Mozi
0 siblings, 1 reply; 3+ messages in thread
From: Cameron Hutchison @ 2010-02-03 12:28 UTC (permalink / raw)
To: buildroot
Tony Mozi <spooflinux@hotmail.fr> writes:
>When I start the board, I have 2 problems :
>1/ On minicom -s :
>Starting network...
>ip: RTNETLINK answers: File exists
This isn't a problem. It occurs (I think) because there are commands in
/etc/inittab to initialise the loopback interface, which get executed
again when "ifup -a" runs from the /etc/init.d/S40network initscript.
You can ignore this error.
>When I write a command, like ls, there is no effect.
>What does it mean?
It means there is nothing listening for your command because...
>2/ On the LCD of the board :
>Welcome to Buildroot
>uclibc login:
>Have you got an idea?
....it looks like you are not running a getty on ttyS0 (or whatever your
console is on).
In "make menuconfig", under Target Options --> Generic serial port
config, there is the option to set the serial port to run a getty on. If
you set this properly, you should end up with a line (uncommented) in
/etc/inittab that reads:
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
This line will allow you to log into the system through minicom. You
should see the same prompt there you showed above that was on the LCD.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:?? [RESOLVED]
2010-02-03 12:28 ` Cameron Hutchison
@ 2010-02-03 15:08 ` Tony Mozi
0 siblings, 0 replies; 3+ messages in thread
From: Tony Mozi @ 2010-02-03 15:08 UTC (permalink / raw)
To: buildroot
It's OK :)
Generic serial port config was not enable.
I activated it and I changed
ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
by
ttyS0::respawn:/sbin/getty -L ttyUSB0 115200 vt100 # GENERIC_SERIAL
because I use an USB to RS232 converter.
Now, when I start the UART, I receive at the end :
Welcome to Buildroot
buildroot login :
I pass the login and I have an access on the serial console.
Good job :)
Tony
> To: buildroot at busybox.net
> From: lists at xdna.net
> Date: Wed, 3 Feb 2010 12:28:51 +0000
> Subject: Re: [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:??
>
> Tony Mozi <spooflinux@hotmail.fr> writes:
>
> >When I start the board, I have 2 problems :
>
> >1/ On minicom -s :
> >Starting network...
> >ip: RTNETLINK answers: File exists
>
> This isn't a problem. It occurs (I think) because there are commands in
> /etc/inittab to initialise the loopback interface, which get executed
> again when "ifup -a" runs from the /etc/init.d/S40network initscript.
> You can ignore this error.
>
>
> >When I write a command, like ls, there is no effect.
> >What does it mean?
>
> It means there is nothing listening for your command because...
>
>
> >2/ On the LCD of the board :
> >Welcome to Buildroot
> >uclibc login:
>
> >Have you got an idea?
>
> ....it looks like you are not running a getty on ttyS0 (or whatever your
> console is on).
>
> In "make menuconfig", under Target Options --> Generic serial port
> config, there is the option to set the serial port to run a getty on. If
> you set this properly, you should end up with a line (uncommented) in
> /etc/inittab that reads:
>
> ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100 # GENERIC_SERIAL
>
> This line will allow you to log into the system through minicom. You
> should see the same prompt there you showed above that was on the LCD.
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
_________________________________________________________________
T?l?chargez Internet Explorer 8 et surfez sans laisser de trace !
http://clk.atdmt.com/FRM/go/182932252/direct/01/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20100203/35b05577/attachment.htm>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2010-02-03 15:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-03 9:48 [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:?? Tony Mozi
2010-02-03 12:28 ` Cameron Hutchison
2010-02-03 15:08 ` [Buildroot] ip: RTNETLINK answers: File exists? uclibc login:?? [RESOLVED] Tony Mozi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox