can not build std flash rom correctly

bendany bendany at mistdl.com
Thu May 8 05:45:00 CEST 2003


I cann' t build the standard flashrom correctly.
here is my config

--------------------------------------------------------------
target k7sem
mainboard elitegroup/k7sem
cpu k7

option SERIAL_CONSOLE=1
option DEFAULT_CONSOLE_LOGLEVEL=8
option MAXIMUM_CONSOLE_LOGLEVEL=8
option DEBUG=1
option MII_ENABLE=1
option USE_GENERIC_ROM=1
option STD_FLASH=1

option ROM_SIZE=131072
option PAYLOAD_SIZE=65536

option USE_ELF_BOOT=1
payload ../sis900.ebi
----------------------------------------------

and after make. I found the romimage is strange. the lastest binary code is 
0001ffe0h: EC 58 03 59 34 4D D3 19 42 03 69 6A 6B 6C 2C B2 ; ìX.Y4M?B.ijkl,?
0001fff0h: 4D D3 6D 6E 6F 02 DF 00 00 00 00 00 00 12 00 FF ; MÓmno.?.......ÿ

and I know it should be (romimage from cwlinux.com)
0001ffe0h: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ; ................
0001fff0h: EA 04 00 00 F0 00 00 00 E9 5B 00 FF FF 00 00 00 ; ?..?..é[.ÿÿ...

and the linuxbios code does not start at address 00010000h, instead of 0001bbdch
but when i use the follow config, and build again, the result code sounds correct.
(the config I copy from the maillist)
---------------------------------------------
target smartcore-p3

mainboard digitallogic/smartcore-p3

# Enable Serial Console for debugging
option SERIAL_CONSOLE=1
option DEFAULT_CONSOLE_LOGLEVEL=8
option MAXIMUM_CONSOLE_LOGLEVEL=8
option DEBUG=1
option USE_GENERIC_ROM=1
option STD_FLASH=1

option ROM_SIZE=131072
option ROM_IMAGE_SIZE=65536

option USE_ELF_BOOT=1
payload ../sis900.ebi
--------------------------------------------------------------

is it something wrong with my config?

Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20030508/17f3cfdf/attachment.html>


More information about the coreboot mailing list