Link to home
Start Free TrialLog in
Avatar of sctccomm
sctccomm

asked on

U-Boot access through Netconsole

I am running Fedora 19 and I am trying to set up Ethernet access to the U-Boot of an embedded device.  I have already loaded a build of U-Boot with Netconsole enabled, but I do not know the basic steps of getting connected from Linux to U-Boot via Netconsole.

Here is what I have done so far.

In U-Boot (192.168.1.1):
#setenv nc 'setenv stdout nc;setenv stdin nc'
#setenv ncip 192.168.1.100
#run nc

In Fedora 19 (192.168.1.100):
#nc -l -u 6666 &
#./uboot/tools/netconsole 192.168.1.1 6666
NOTE: the interrupt signal (normally ^C) has been mapped to ^T


After this point, there is no output on the Linux screen so it may not have connected to U-Boot.

What are the proper steps for getting Netconsole working between Linux and U-Boot?
Avatar of sctccomm
sctccomm

ASKER

I can use Wireshark to capture the packets coming out of my Linux towards the U-Boot when I type, but still no response from U-Boot.

I have also tried the following.

In U-Boot (192.168.1.1):
#setenv nc 'setenv stdin serial;setenv stdout nc'
#setenv ncip 192.168.1.100
#run nc

When I type in U-Boot, I can capture packets from the U-Boot to my Linux PC, but there is nothing shown on my Linux console.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.