updated howto and the burn_mtd utility
This commit is contained in:
parent
719f89882d
commit
8239f21126
2 changed files with 25 additions and 14 deletions
23
HOWTO/SiS630
23
HOWTO/SiS630
|
|
@ -68,9 +68,11 @@ The steps for loading linuxbios are simple:
|
|||
2) get a 2.4.0-test12 kernel, patch it, then build it
|
||||
3) config and build linuxbios
|
||||
4) Get the MTD utilities from http://www.linux-mtd.infradead.org/
|
||||
5) put a Disk On Chip into the flash socket
|
||||
6) Burn the chip
|
||||
7) hit reset. You're up.
|
||||
and build the 'erase' utility
|
||||
5) Set up the 'flash_on' program in your path
|
||||
6) put a Disk On Chip into the flash socket
|
||||
7) Burn the chip
|
||||
8) hit reset. You're up.
|
||||
|
||||
---
|
||||
Step 0)
|
||||
|
|
@ -226,9 +228,18 @@ o You now need to figure out where you want to put your build images.
|
|||
You're now ready to burn the Disk On Chip, but first ....
|
||||
|
||||
Step 4) Get the MTD utilities from http://www.linux-mtd.infradead.org/
|
||||
cvs -d :pserver:anoncvs@cvs.infradead.org:/home/cvs co mtd
|
||||
cd mtd-xxyyzz/util
|
||||
make
|
||||
(You need the erase utility)
|
||||
Install the erase utility where it is in your path.
|
||||
|
||||
Step 5)
|
||||
Step 5) Set up flash_on utiliy
|
||||
flash_on.c is found in freebios/util/sis/flash_on.c
|
||||
cd to that directory, make the utility, and put it in your path
|
||||
(i.e. /usr/bin or in your private path)
|
||||
|
||||
Step 6)
|
||||
NOTE: BE ADVISED THAT THIS STEP CAN HURT OR KILL YOU!
|
||||
YOU ARE WORKING WITH A POWERED-ON COMPUTER AT THIS POINT.
|
||||
THE COMPUTER NEEDS TO BE OPENED UP, AND YOU NEED TO REMOVE A CHIP
|
||||
|
|
@ -250,12 +261,12 @@ Step 5)
|
|||
done this, or are not trained, or have a history of getting
|
||||
hurt by hardware, DON'T DO IT.
|
||||
|
||||
Step 6) Run the following script:
|
||||
Step 7) Run the following script:
|
||||
Run the burn_mtd script from util/mtd
|
||||
Here's how it looks when you run it:
|
||||
|
||||
|
||||
Step 7) Hit reset. Linuxbios should come up in a few seconds.
|
||||
Step 8) Hit reset. Linuxbios should come up in a few seconds.
|
||||
|
||||
If it doesn't work:
|
||||
|
||||
|
|
|
|||
|
|
@ -17,19 +17,19 @@ else
|
|||
linux=$2
|
||||
fi
|
||||
|
||||
../flash/flash_on
|
||||
flash_on
|
||||
|
||||
insmod /lib/modules/${v}/kernel/drivers/mtd/doc2001.o
|
||||
insmod /lib/modules/${v}/kernel/drivers/mtd/docprobe.o
|
||||
|
||||
dd conv=sync bs=65536 if=${linux} of=vmlinux.bin.gz.block
|
||||
dd conv=sync bs=63k if=${linuxbios} of=linuxbios.block
|
||||
dd conv=notrunc conv=sync bs=65536 if=${linux} of=vmlinux.bin.gz.block
|
||||
dd conv=notrunc conv=sync bs=63k if=${linuxbios} of=linuxbios.block
|
||||
|
||||
./erase /dev/mtd0 0 128
|
||||
dd if=docipl of=/dev/mtd0
|
||||
dd if=docipl of=/dev/mtd0 seek=1
|
||||
dd if=linuxbios.block of=/dev/mtd0 seek=2
|
||||
dd if=vmlinux.bin.gz.block of=/dev/mtd0 seek=128
|
||||
erase /dev/mtd0 0 128
|
||||
dd conv=notrunc if=docipl of=/dev/mtd0
|
||||
dd conv=notrunc if=docipl of=/dev/mtd0 seek=1
|
||||
dd conv=notrunc if=linuxbios.block of=/dev/mtd0 seek=2
|
||||
dd conv=notrunc if=vmlinux.bin.gz.block of=/dev/mtd0 seek=128
|
||||
|
||||
rmmod doc2001
|
||||
rmmod docprobe
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue