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.

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

--
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/cfab21e5-f8ea-15b1-981a-82592abe25c9%40siemens.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to