From: Hannes Schmelzer <hannes@schmelzer.or.at>
To: u-boot@lists.denx.de
Subject: [U-Boot] x86: board / CPU reset?
Date: Tue, 23 Oct 2018 15:24:18 +0200 [thread overview]
Message-ID: <cec94992-4bb0-8164-d38e-8e9a841bbeea@schmelzer.or.at> (raw)
Hi folks,
i'm actually porting u-boot / coreboot to some older machine. AMD Geode
LX800.
I run into trouble while trying reset the board from console:
=>
=> reset
resetting ...
### ERROR ### Please RESET the board ###
my board uses the one and only existing 'sysreset_x86.c' reset driver.
This driver write some magic value to register 0xcf9 which causes no
reaction on my machine.
I had last week also some trouble on resetting my apollo lake board, but
not sure at this point if this is the same issue,
i will have access to the board tomorrow an will run a test.
But the question is, is this "generic" reset driver really as generic as
it looks like?
The comment of the 0xcf9 register says for example, that is on atom
E3800 so ...
A short look into the linux source code (arch/x86/kernel/reboot.c)
showed, that there is a bunch of methods for resetting a x86 machine,
the 0xcf9 method also ...
Further they have there an instruction which also looks good on my platform:
outb(0xfe, 0x64); /* pulse reset low */
Do we have here anybody who has a bit more background than me and who
could explain what is the right way here?
cheers,
Hannes
reply other threads:[~2018-10-23 13:24 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=cec94992-4bb0-8164-d38e-8e9a841bbeea@schmelzer.or.at \
--to=hannes@schmelzer.or.at \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.