On Mon, 25 Jun 2001, Armin Schindler wrote:
> I'm using linuxbios to create a bootloader for a linux kernel on a IDE
> compact flash on a STPC Atlas. I have everything so far to init all
> necessary parts, jump to 32bit c-code, init/set everything else, load
> the kernelimage from a certain loaction from the compact flash into
> 0x100000 and jump to it. This seems to work pretty good, but the
> kernel won't execute correctly.
Are you using the standard way of doing this, config tool and makefiles?
or did you just extract the source, because ...
> First I'm unsure which kernel image I should use. For
> testing I used the 1,5MB uncompressed vmlinux, but the
> system crashed when the kernel starts the paging at the very
> beginning. What could I possibly done wrong, when enabling
> paging crashes ?
just about everything. You need to see how the Makefiles package up the
kernel so that linuxbios can put it into memory.
> bvmlinux does decompress itself to 0x100000, right ?
> But isn't it located at that address ? It would
> overwrite itself ? Did I miss something here ?
I think maybe yes. I think you need to look at how kernels get built and
integrated into a flash image. If you want to send me your code files I
can plug them into the tree and you can try to work with that.
ron