* Christer Weinigel <[EMAIL PROTECTED]> [020318 00:58]: > Tell LinuxBIOS to boot an elf Image, and tell LinuxBIOS where it is: > > option USE_ELF_BOOT=1 > option ZKERNEL_START=0xfffe0000 > option ZKERNEL_MASK=0xffff
So it's not necessary to specify a payload here? is the usage of ZKERNEL_START and USE_ELF_BOOT contradictionary to PAYLOAD? > I have placed natsemi.elf in the first 64k of my BIOS flash > chip, and LinuxBIOS in the second 64k. > > insmod bios.o > dd if=natsemi.elf of=/dev/bios bs=64k > dd if=linuxbios.rom of=/dev/bios bs=64k seek=1 when specifying payload to the above, the size of the bios image is always assumed to be 512k, even though i have not found where this is defined. Any hints? Additionally i'm still stuck with free_mem_end_ptr sticking to 0x00000000, while free_mem_ptr is 0x04xxxxxx or 0x05xxxxxx depending on which binutils i used (2.11.90.0.29 and 2.11.92.0.10) Best regards, Stefan Reinauer -- Ok hex 4666 dup negate do i 4000 dup 2* negate do " *" 0 dup 2dup 1e 0 do 2swap * e >>a 2* 5 pick + -rot - j + dup dup * e >>a rot dup dup * e >>a rot swap 2dup + 10000 > if 3drop 3drop " " 0 dup 2dup leave then loop 2drop 2drop type 268 +loop cr drop 5de +loop