AW: L4 Bootsrap Fiasco Addr
tobias.woelfel at tum.de
Thu Oct 9 15:47:48 CEST 2014
>On Tue Oct 07, 2014 at 13:29:24 +0000, Wölfel, Tobias wrote:
>> I am working on porting Fiasco.OC to openrisc (or1k), but are stucked at booting the kernel.
>> The problem is that the addr in boot_info.kernel_start is pointing to the beginning of the bootstrap, and therefore it will not start the kernel.
>> In startup.cc there is the mbi, mb_info and mb_mod, which I suppose is the place where the addr is coming from.
>> But where is it set exactly?
>It is set in bootstrap by looking at the ELF info of the file.
>What's the entry point of the binary (readelf -h fiasco)?
It is at 0x100. That is also the value which I found with readelf.
But when fiasco is linked into bootstrap, that's not where it will be.
When bootstraping, it will be moved to a different location in memory? But then the starting addr should be something else?
More information about the l4-hackers