[okl4-developer] Roottask pagefault at 00000000
Nelson Tam
nelson at ok-labs.com
Thu Mar 20 21:23:16 EST 2008
Hi Lukas,
On 18/03/2008, at 3:28 AM, Lukas HANEL wrote:
> Which elf files should be modifed?
> And after modifing them, wouldn't they be deleted/rebuild by the
> build-system?
> At least after changing their sources. So how could this task be
> automated?
> Where in the build-scripts could one add this line?
>
> Could you please give me some hints how to solve this problem!
Give this a try. In tools/build.py, look for CreateImages(), and add:
nobits_image = Command(os.path.join(self.builddir, "image.elf.nobits"),
elf_image,
Action("tools/pyelf/elfweaver modify " + \
"-o$TARGET $SOURCE --remove_nobits",
"[ELF ] $TARGET"))
Depends(nobits_image, apps)
(then, further down the function...)
return [elf_image, nobits_image, sim_image, boot_image]
What this does is take elf_image, run it through elfweaver, and
creating a new image with nobits sections removed.
However from your description it may not be the cause of your problems.
--
(nt)
Nelson Tam
nelson at ok-labs.com
More information about the Developer
mailing list