?

U-Boot access through Netconsole

Posted on 2016-06-15
1
Medium Priority
?
56 Views
Last Modified: 2017-07-31
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
Comment
Question by:sctccomm
1 Comment
 

Author Comment

by:sctccomm
ID: 41655951
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

Featured Post

Receive 1:1 tech help

Solve your biggest tech problems alongside global tech experts with 1:1 help.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month9 days, 11 hours left to enroll

612 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question