On Fri, Apr 03, 2009 at 10:06:16AM +0200, Christopher Friedt wrote:
> I'm not having any luck getting Linux to run on my handheld, so my
> next question is:
>
> Is it possible to launch an arbitrary elf binary (e.g.
> arm-softfloat-elf) from within HaRET ?
Haret wont care about the contents of the kernel - it just copies it
to physical ram and then jumps to it. So, just deploy your own blob
and run it with BOOTLINUX. The location of physical ram (if you don't
want to use PIC) is RAMADDR + PHYSOFFSET_KERNEL.
This would require that an entry point be available at the start of
the blob. If that's an issue, just add a new haret variable, copy the
variable into 'struct preloadData', and then change the line in
preloader() from:
lin_t startfunc = (lin_t)destKernel;
to:
lin_t startfunc = (lin_t)(destKernel + data->myNewVariable);
-Kevin
_______________________________________________
Haret mailing list
[email protected]
https://handhelds.org/mailman/listinfo/haret