> One will be the fallback image, the other is the primary. If you're not > building for fallback, then you'll just have the primary, but will need to > adjust things so that it's base is at ffffxxxx rather than fffexxxx, or > build a 'fallback' image but with ZKERNEL_START moved down to the bottom > of your FLASH instead of ffff0000. In a fallback image, ZKERNEL_START > normally points so that the fallback image can find the primary. In a > primary image, it points to the bottom of flash (typically) and is used to > find your primary payload.
Hmmm... Bochs seems to find the BIOS and execute it just fine (well until later on, that is) without mucking with anything. Attached are my Config and config files. The payload will eventually be an etherboot image which will boot from IDE (CompactFlash) -- offhand, do I use any old ethernet driver for etherboot, since I'm falling back to IDE? And do I use (for example) ne.img, ne.lzrom, ne.o or ne.rom? None of them are being identified as an ELF image, even though the etherboot config file is saying to create ELF images. Regards, Andrew
arch i386 mainboardinit cpu/i386/entry16.inc mainboardinit cpu/i386/entry32.inc ldscript cpu/i386/entry16.lds ldscript cpu/i386/entry32.lds mainboardinit cpu/i386/reset16.inc ldscript cpu/i386/reset16.lds option SERIAL_SUPERIO_BASEADDRESS=0x3f0 option HAVE_PIRQ_TABLE=1 mainboardinit superio/SMC/fdc37n958fr/setup_serial.inc mainboardinit pc80/serial.inc mainboardinit arch/i386/lib/console.inc northbridge intel/430tx southbridge intel/piix4e #mainboardinit cpu/p6/earlymtrr.inc mainboardinit ram/dump_northbridge.inc mainboardinit ram/ramtest.inc mainboardinit mainboard/dauphin/orasis-v1/do_ramtest.inc superio SMC/fdc37n958fr #option ENABLE_FIXED_AND_VARIABLE_MTRRS option PIIX4_DEVFN=0x38 option ZKERNEL_START=0xfffc0000 option ZKERNEL_MASK=0x7f option L430TX=1 option SMC_BASE=0x3F0 option CONFIG_UDELAY_TSC=1 object mainboard.o object irq_tables.o cpu p5
target orasis-v1 mainboard dauphin/orasis-v1 option HAVE_PIRQ_TABLE=1 # Enable Serial Console for debugging option SERIAL_CONSOLE=1 #option INBUF_COPY=1 option DEFAULT_CONSOLE_LOGLEVEL=9 option DEBUG=1 option SERIAL_POST=1 option USE_ELF_BOOT=1 option USE_GENERIC_ROM=1 option ROM_SIZE=262144 option NO_KEYBOARD=0 keyboard pc80 payload /dev/null option BOOT_IDE=1 option PAYLOAD_SIZE=196608 # Path to your kernel (vmlinux) linux /home/andrew/linuxbios/linux # Kernel command line parameters #commandline root=/dev/hda2 console=ttyS0,9600 single commandline root=/dev/hda2 option RAMTEST=0

