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?

Johannes


Am 04.06.2019 um 12:27 schrieb Dr. Johann Pfefferl:
Hello,

the start address can be adapted in the linker script file
"lscript.lds".

The UART is initialized completely by FreeRTOS itself including the
clock gating (hopefully).

Hans

Jan Kiszka <[email protected]> wrote:
On 04.06.19 11:09, [email protected] wrote:
Hello,

we want to do a comparison of running FreeRTOS on the Banana Pi with Jailhouse 
and running FreeRTOS bare-metal on the Banana Pi for a study-project at 
Hochschule Esslingen. We were successfull in doing this with the Jailhouse 
hypervisor, but we currently didn't find a way to boot FreeRTOS bare-metal on 
the banana pi. So our question is, if there's a way to boot the 
freertos-demo.bin from the freertos-cell bare-metal on the banana pi.

Conceptually, you need to make the demo executable at a different physical
address (it's configured to run from address 0, but RAM starts at 0x40000000
on the board), and then you could load it there via u-boot and jump to it.
You also have to ensure that the demo configures its uart itself and doesn't
rely on the root cell to do anything. I don't recall if that is already the
case. Hans may tell more about that.

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/9d12161b-a004-ad5e-0dfe-1b1c249358cb%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to