Hello, Jan Kiszka <[email protected]> wrote: > On 06.06.19 17:52, Johannes Maisch wrote: > > Hello, > > thanks for your assistance. However, we can't boot freertos at the > > moment. I adapted the linker script like this and rebuilt the > > freertos-demo: > > > > ENTRY(vectors) > > > > SECTIONS { > > /* jailhouse arm inmates have to start at address zero */ > > . = 0x48000000; > > .boot : { *(.boot) } > > > > . = ALIGN(4096); > > . = . + 0x1000; > > stack_top = .; > > . = . + 0x1000; > > irq_stack_top = .; > > bss_start = .; > > .bss : { > > *(.bss) > > *(COMMON) > > } > > > > after that i tried to boot freertos in u-boot with the following commands: > > > > => load mmc 0:1 0x48000000 freertos-demo.bin > > reading freertos-demo.bin > > 198508 bytes read in 45 ms (4.2 MiB/s) > > => go 0x48000000 > > > > But the Freertos-demo still doesn't work. Is there anything else we have to > > do? > > > > Hans, I suppose this build on top of the lib inmate in Jailhouse, ie. its > loader stub, right? That now expects the Jailhouse Comm Region to be present > and filled.
No, I do not rely on the jailhouse loader stub. The loader stub is included in the file "boot_stub.S". Of course the boot stub assumes a specific state of the CPU. If u-boot provides a different state (MMU already on, Caches on, Runtime/Protection mode, ...) then FreeRTOS will not boot. > > Johannes, try commenting out the revision and signature check in > jailhouse/inmates/lib/setup.c for the bare-metal build. > > Jan > > -- > Siemens AG, Corporate Technology, CT RDA IOT SES-DE > Corporate Competence Center Embedded Linux Hans -- Siemens AG Corporate Technology Research & Technology Center CT RDA IOT SES-DE Otto-Hahn-Ring 6 81739 Muenchen, Germany mailto: [email protected] phone: +49 1520 3450 138 fax: +49 89 636 33045 _____________________________________________________ SIEMENS AG: Chairman of the Supervisory Board: Jim Hagemann Snabe Managing Board: Joe Kaeser, Chairman, President and Chief Executive Officer Roland Busch, Lisa Davis, Klaus Helmrich, Janina Kugel, Cedrik Neike, Michael Sen, Ralf P. Thomas Registered offices: Berlin and Munich, Germany Commercial registries: Berlin Charlottenburg, HRB 12300, Munich, HRB 6684 WEEE-Reg.-No. DE 23691322 -- You received this message because you are subscribed to the Google Groups "Jailhouse" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jailhouse-dev/20190607071640.i7nmepioqthtpjan%40jpc.jpnet. For more options, visit https://groups.google.com/d/optout.
