mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
updates
This commit is contained in:
parent
006c147a76
commit
f3340fb817
1 changed files with 18 additions and 8 deletions
26
HOWTO/SiS630
26
HOWTO/SiS630
|
@ -25,10 +25,15 @@ www.dknypc.com (we ordered MS7308E, they shipped MS7308D, but invoiced MS7308E)
|
|||
Vendors who might work:
|
||||
www.eurocomla.com (we don't know yet -- have not tried them)
|
||||
|
||||
Linux distribution: RedHat 6.2 or later. We haven't tried anything else.
|
||||
They may all work fine.
|
||||
|
||||
Other software notes: You MUST have as version 2.9.5 or later.
|
||||
|
||||
You need to have a target machine (the machine that runs LinuxBIOS) and a build
|
||||
machine (which will let you build LinuxBIOS). These can be one and the same
|
||||
machine. In this HOWTO we assume they're different. If they are the same
|
||||
machine, all the really changes is that you have to do Step 3 first.
|
||||
machine, all that really changes is that you have to do Step 3 first.
|
||||
Also, freebios and linuxbios still share the same source tree. We use the
|
||||
name 'linuxbios' where it makes sense, and 'freebios' otherwise. But they
|
||||
are the same source base.
|
||||
|
@ -69,7 +74,7 @@ o Now copy config-2.4.0-test11.sis to .config, then
|
|||
You now have a kernel for linuxbios.
|
||||
We recommend as a test that you also
|
||||
make bzdisk
|
||||
And then try booting this kernel to make sure it works.
|
||||
And then try booting this kernel on the target to make sure it works.
|
||||
If you want, you can also install this kernel on the target machine,
|
||||
and install the modules as well, since you will need the Disk On Chip
|
||||
modules to burn the Disk On Chip part.
|
||||
|
@ -82,15 +87,15 @@ o You now need to figure out where you want to put your build images.
|
|||
cvs update
|
||||
and not lose any of your build directory.
|
||||
Linuxbios does all the builds in a single directory, much as BSD does.
|
||||
To do the build it requires a Makefile, a crt0.S file, and a ld script
|
||||
To build linuxbios requires a Makefile, a crt0.S file, and a ld script
|
||||
file. These are generated by a config tool located in
|
||||
freebios/utils/config
|
||||
The config tool is a Python program originally written by
|
||||
Dean Risinger of the ACL.
|
||||
To build the initial Makefile,
|
||||
assembly stub, and ld script,
|
||||
You need to build a config file (simple), run the config tool,
|
||||
To build the initial Makefile, assembly stub, and ld script,
|
||||
you need to build a config file (simple), run the config tool,
|
||||
cd to the build directory, and type 'make'.
|
||||
|
||||
Here is a config file for the winfast 6300
|
||||
|
||||
# This will make a target directory of ./winfast
|
||||
|
@ -98,7 +103,7 @@ o You now need to figure out where you want to put your build images.
|
|||
# CONFIG TOOL. Make it absolute if you like
|
||||
target winfast
|
||||
|
||||
# WinFast 6300 MAX mainboard
|
||||
# Leadtek WinFast 6300 MAX mainboard
|
||||
mainboard leadtek/winfast6300
|
||||
|
||||
# Enable Serial Console for debugging
|
||||
|
@ -137,6 +142,7 @@ o You now need to figure out where you want to put your build images.
|
|||
LBConfig.py, the older version.
|
||||
|
||||
Here's what it looks like when you run it.
|
||||
|
||||
python NLBConfig.py winfast.config ~/src/bios/freebios
|
||||
winfast is not a directory.
|
||||
I know I should make this, but I'm too paranoid
|
||||
|
@ -197,10 +203,13 @@ Step 4)
|
|||
IF YOU HAVE NOT DONE THIS TYPE OF WORK, DO NOT DO IT!
|
||||
WE TAKE NO RESPONSIBILITY FOR ANYTHING THAT HAPPENS AT THIS STEP.
|
||||
|
||||
Figure out if you're going to burn the DoC on the build or target
|
||||
machine. It has to be the machine with MTD modules.
|
||||
|
||||
Open the machine (LEAVE THE POWER ON), yank the flash, and
|
||||
plug in the DoC. We recommend you practice this first with the
|
||||
power off. Make sure that whatever you do, you are not shorting
|
||||
things out.
|
||||
things out. Avoid using a metal tool!
|
||||
|
||||
NOTE: YOU CAN HURT YOURSELF AT THIS STEP. We can't take any
|
||||
responsibility for what happens to you here. If you haven't
|
||||
|
@ -208,6 +217,7 @@ Step 4)
|
|||
hurt by hardware, DON'T DO IT.
|
||||
|
||||
Step 5) Run the following script:
|
||||
(TBD)
|
||||
|
||||
Step 6) Hit reset. Linuxbios should come up in a few seconds.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue