I'd advise against doing it just now ... You can, but I don't think this one is quite ready. The one I have posted in the UBoot for LSPro article is (probably!) just fine (tested it a bunch now) but this one doesn't even have any micon support, and seems to be in a much earlier stage of developement ... so I'm not sure if it is ready.

EDIT: I'm sure that it isn't ready, as I've had some time to tinker w/ it now...

To clarify (my enthusiasm my have gotten the best of me ), the source has netconsole support in it, but I haven't gotten to the point where I've done an install or even RAM test (thanks to bbradley for getting this set up!) of a uboot.bin that has netconsole built in with all of the stuff needed to in it. The image that I built did have netconsole built in, but no run yet and the env vars needed some more tweaking.

The uboot map shows that it's in there, and everything built fine, but that's a ways of (perhaps) from actually getting a console feed flowing through the network...

In my haste I rebricked my LSPro while testing the newest one, so I'm re-JTAGGING now...

It is my understanding that running the nc script with run nc should switch the console input/output from serial to netconsole. It does seem to do that... but only that first packet is sent. Maybe it is just a question of having only 1-way traffic now?

it is a bit slow (maybe some adjustments in buffer size?) and it needs to be set come up as the default (rather than being switched on w/ the run nc) but it works. Guess I need to understand how to hook in micon support next, and check that flash and env are all set up correctly. It still crashes when I try to boot w/ a stock kernel... but this is closer...

EDIT: speed is fine, just a bit slow on big dumps of text like 'printenv'. Also, just checking, if one sets

Code:

ser=setenv stdin serial;setenv stdout serial;setenv stderr serial

and runs 'run ser' from the netconsole side, it does indeed toggle it back to serial console, as it should.

Great news, well done. I would love to help but without jtag its a gamble . Good to see you are making progress.

Thanks, and thank bbradley as he has given me good advice or an idea whenever I've been stuck. But the next thing will be to get the rest of UBoot 1.1.4 to work properly, maybe w/ micon support, or maybe w/o. This one is still not happy about booting a kernel, but I think that is just some adjustment to the config header, hopefully. (hopefully not too much code missing... ).

well, the netconsole is just proof-of-concept (not sure that makes sense as it been proven for years... ) , but this is I think the first time we've had any netconsole on ARM-based machines. this isn't ready for use, as isn't reliable for anything yet...

Who is online

Users browsing this forum: No registered users and 0 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum