Improve company productivity with a Business Account.Sign Up

x
  • Status: Open
  • Priority: Medium
  • Security: Public
  • Views: 81
  • Last Modified:

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?
0
sctccomm
Asked:
sctccomm
1 Comment
 
sctccommAuthor Commented:
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.
0

Join & Write a Comment

Featured Post

Build your data science skills into a career

Are you ready to take your data science career to the next step, or break into data science? With Springboard’s Data Science Career Track, you’ll master data science topics, have personalized career guidance, weekly calls with a data science expert, and a job guarantee.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now