AW: L4 Bootsrap Fiasco Addr
Wölfel, Tobias <[email protected]>
| Newsgroups | gmane.comp.micro-kernel.l4.devel |
|---|---|
| Message-ID | <71414EC57EAFC5468846DEF5F7D1B4E6018CD0E5@BADWLRZ-SWMBX13.ads.mwn.de> |
Hi, >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? Thanks, Tobias