Go Premium for a chance to win a PS4. Enter to Win

x
?

U-Boot access through Netconsole

Posted on 2016-06-15
1
Medium Priority
?
41 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Join & Write a Comment

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
Suggested Courses
Course of the Month10 days, 9 hours left to enroll

886 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