Hello!!
I adapt Takeshi's patch to my EPIA. Thanks for your help very much. So,
It works great.
But I want to know what Bochs does . I think that we need Bochs for VGA
and HDD(LILO). Is that right ?
Who can explain what Bochs does ? Please.
regards
newbie.
I found the Config of elitegroup/k7sem has missed something...
without the following lines. I can't build the correct romimage.
---------------------------
mainboardinit cpu/i386/reset16.inc
ldscript cpu/i386/reset16.lds
---------------------------
but with these lines, I can build the correct image, but
linuxbios don't go.
output message is :
----------------------------
LinuxBIOS-1.0.0 Sat May 17 19:34:29 CST 2003 starting...
0
LinuxBIOS-1.0.0 Sat May 17 19:34:29 CST 2003 starting...
0
LinuxBIOS-1.0.0 Sat May 17 19:34:29 CST 2003 starting...
0
----------------------------
while I download the romimage from cwlinux.com. I can run LinuxBIOS.
here is my config file
-------------------------------------
target k7sem
mainboard elitegroup/k7sem
cpu k7
option ZKERNEL_START=0xfffc0000
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 CONFIG_COMPRESS=0
option ROM_SIZE=131072
option PAYLOAD_SIZE=65536
option USE_ELF_BOOT=1
payload ../sis900.ebi
---------------------------------------
am I miss something?
Hi,
i was trying to make a memory map in the eeprom but i have some
questions when i saw linuxbios_c.map and linuxbios.map ...
We "compile" linuxbios_c with c_start.o and linuxbios.a until generate
linuxbios_payload and linuxbios_c.map.
We "compile" crt0.S and we make the crt0.o.
After we "compile" crt0.o with linuxbios_payload generating linuxbios
binary and linuxbios.map
If we see inside the map files, i can see that there are labels at the
same position in the both map files for example:
linuxbios_c.map :
00004000 A _RAMBASE
00080000 A _ROMBASE
linuxbios.map:
00004000 A _RAMBASE
00080000 A _ROMBASE
How is it possible ? when in theory al linuxbios_c is in the payload of
linuxbios?
linuxbios.map:
000805a0 D _payload
00085e5d D _epayload
also i saw in some file (.ld) in the tree of freebios a picture of memory:
Memory map:
0x00000 (4*4096 bytes) : stack
0x04000 (4096 bytes) : private data
0x05000 : data space
0x90000 : kernel stack
0xf0000 (64 Kbyte) : EPROM
Is it right ? i think that i'm confusing the memory in RAM and the
memory in EPROM. But i don't know how build a correct idea.
Thanks.
Xavi.
Greetings,
I have committed a few cleanups to baremetal to make the environment a bit
more useful.
The lib directory contains a new startup function in _main.c which locates
the top of RAM using the linuxbios table and checks for a signature
there. If absent, it moves the stack to high ram, and initializes a simple
structure containing pointers to the lbmemory structs in the table, and
the highest address of freely usable ram.
Bounce buffers and such are allocated by subtracting from the dree RAM
value.
When an additional baremetal program is run, it will detect the existant
structure and use its values. Together, this allows for arbitrary stacking
of payloads and safely returning to the calling payload.
A 'terminal payload' such as a kernel elf image may simply ignore all of
that and do what it wants.
This is still subject to change, and amounts to a platform for discussion
and a little practical exprimentation.
G'day,
sjames
--
-------------------------steven james, director of research, linux labs
... ........ ..... .... 230 peachtree st nw ste 2701
the original linux labs atlanta.ga.us 30303
-since 1995 http://www.linuxlabs.com
office 404.577.7747 fax 404.577.7743
-----------------------------------------------------------------------
ASUS TX97LE , the northbridge is 82439TX, southbridge is 82371AB,
and I try it with the linuxbios build by mainboard digitallogic/smartcore-p5, test it. and succeeded
loading the etherboot payload.
need more test.
recommended/required hardware should be listed in the FAQ or README
(or did I pass-over it?)
1) Diskonchip model(s) number for ordering
(Diskonchip Millenium 8MB MD2810-D08? --> www.m-sys.com)
2) Zif socket model/ordering numbers
(so far, i'm looking at a 32-6554-11 32-pin zif dip .6 spacing (gold
over nickel plating) <-- is this a good one? pulled from linuxbios mail
list archives)
Roger
http://www.eskimo.com/~roger/index.html
Can anyone recommend a debugger for bringing up LinuxBios on an
x86 system...
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com