am I wrong? about build romimage of k7sem mb.

Andrew Ip aip at cwlinux.com
Sat May 17 21:47:00 CEST 2003


Here is the config file for 810 which should be very similar to
k7sem.

-Andrew

-- 
Andrew Ip
Email:  aip at cwlinux.com
Tel:    (852) 2542 2046
Fax:    (852) 2542 2036
Mobile: (852) 9201 9866

Cwlinux Limited
Unit 202B 2/F Lai Cheong Factory Building,
479-479A Castle Peak Road,
Lai Chi Kok, Kowloon,
Hong Kong.

Tel: (852)2542 2046
Fax: (852)2542 2036

For public pgp key, please obtain it from http://www.keyserver.net/en.
-------------- next part --------------
#
# LinuxBIOS config file for: PCCHIPS m8310lmr, Socket 7 (K7/Duron)
#

target /opt/cwlinux/buildrom/8310-etherboot

# pcchips 8310
mainboard pcchips/m810lmr

# Enable MII support (required for new 810/8310 mainboard)
option ENABLE_MII=1

# Enable Serial Console for debugging
option SERIAL_CONSOLE=1

# Use 256KB Standard Flash as Normal BIOS 
option USE_GENERIC_ROM=1
option STD_FLASH=1
option ZKERNEL_START=0xfffc0000

# payload size = 192KB
option PAYLOAD_SIZE=196608
# Rom image size = 63KB
option ROM_IMAGE_SIZE=64512

# We reuse docipl from DoC
docipl northsouthbridge/sis/730/ipl.S

# Use the internal VGA frame buffer device
option HAVE_FRAMEBUFFER=1

# use ELF Loader to load Etherboot
option USE_ELF_BOOT=1

# Use Etherboot as our payload 
payload /opt/cwlinux/etherboot/src/bin32/sis900.ebi

# Add our own special make rules to handle 256KB flash with docipl
makerule romimage: linuxbios.rom payload.block docipl ;
addaction romimage cat payload.block linuxbios.rom docipl.bin > romimage

makerule docipl: ipl.o ;
addaction docipl objcopy -O binary -R .note -R .comment -S ipl.o docipl
addaction docipl dd if=docipl skip=126 of=docipl.bin

makerule linuxbios.rom: linuxbios.strip ;
addaction linuxbios.rom dd if=linuxbios.strip of=linuxbios.rom bs=$(ROM_IMAGE_SIZE) conv=sync

# Kernel command line parameters
# commandline root=/dev/hda1 console=ttyS0,115200 console=tty0 video=sisfb:1024x768-32 at 85,font:VGA8x16


More information about the coreboot mailing list