From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Netconsole at startup
Date: Thu, 23 Sep 2004 17:14:06 +0200 [thread overview]
Message-ID: <20040923151411.DF95AC108D@atlas.denx.de> (raw)
In-Reply-To: Your message of "Thu, 23 Sep 2004 11:37:27 +1200." <41520CB7.3030405@tait.co.nz>
In message <41520CB7.3030405@tait.co.nz> you wrote:
>
> > Which architecture, which board?
>
> I thought the whole point of the core code of u-boot was that it was
> architecture independent - I'm obviously wrong there...Its a custom
> mpc859 board as it happens.
It's the intention to be HW independent, but obviously this may need
support on the driver side, too.
MPC8xx should work, though.
> >>If I define CFG_CONSOLE_IS_IN_ENV, then the netconsole stuff refuses to
> >>run (i.e. it doesn't use serial but it doesn't use nc either!!) - even
> >
> > What does your overwrite_console() look like?
>
> Why should I even have it defined - if its supposed to read the device
> from the environment then it seems reasonable that it does so at a point
> when initialisation is complete and its able to make use of it.
It may be reasonable, but I'm also pretty sure that it was never
tested when we implemented the NC stuff.
> > And what exactly are you trying to do here? What does your
> > environment settings look like?
>
> I have stdin=nc, stdout=nc, stderr=nc, ncip=172.25.x.x - all values that
> work fine when used interactively!!
In interactive mode these settings take effect MUCH later.
> I can see the assignment in console_init_r() occuring OK for the values
> in the environment, its just that (presumably) the init order is not
> correct somewhere so it doesn't actually work!!
Probably. I guess you will have to debug & fix this.
> One suggestion for the shell script to drive it from Linux - add a
> '-icrnl' to the stty line to stop 'cr' characters getting translated -
> works wonders at confounding the password patch from Pantelis Antoniou :-))
I hate boot loaders which have passwords. They might deny me access
to the machine ...
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
That Microsoft, the Trabant of the operating system world, may be
glancing over the Berlin Wall at the Audis and BMWs and Mercedes. In
their own universe Trabants and Ladas were mainstream too...
-- Evan Leibovitch
prev parent reply other threads:[~2004-09-23 15:14 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-22 21:41 [U-Boot-Users] Netconsole at startup Robin Gilks
2004-09-22 22:35 ` Wolfgang Denk
2004-09-22 23:37 ` Robin Gilks
2004-09-23 15:14 ` Wolfgang Denk [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040923151411.DF95AC108D@atlas.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox