Skip to content

Conversation

@axel-h
Copy link
Member

@axel-h axel-h commented Nov 14, 2023

See seL4/seL4#976

Is there anything else we would need for CI testing?

@axel-h axel-h requested a review from lsf37 as a code owner November 14, 2023 02:49
@Ivan-Velickovic
Copy link
Contributor

Someone needs to resolve seL4/util_libs#171 first.

@axel-h axel-h requested a review from kent-mcleod November 14, 2023 02:50
@Ivan-Velickovic
Copy link
Contributor

The RPi4 port seems to have been broken for a long time, I fixed most of the issues but seL4/util_libs#171 is still outstanding.

@axel-h axel-h force-pushed the patch-axel-4 branch 4 times, most recently from 7ea68d4 to 80e3107 Compare January 9, 2024 06:38
@axel-h axel-h force-pushed the patch-axel-4 branch 3 times, most recently from 3fa4cd4 to edc5b2a Compare January 12, 2024 13:09
@axel-h axel-h force-pushed the patch-axel-4 branch 3 times, most recently from fc204db to 51055c7 Compare January 26, 2024 13:17
@axel-h axel-h force-pushed the patch-axel-4 branch 8 times, most recently from 3ac8854 to f1c6a6e Compare January 31, 2024 22:49
@axel-h axel-h force-pushed the patch-axel-4 branch 2 times, most recently from e1d6449 to d3b6ca7 Compare February 6, 2024 18:05
@axel-h axel-h force-pushed the patch-axel-4 branch 3 times, most recently from a02ec85 to fcb2632 Compare March 3, 2024 17:56
@axel-h axel-h force-pushed the patch-axel-4 branch 3 times, most recently from 4257f92 to c37bf1a Compare April 12, 2024 11:32
Signed-off-by: Axel Heider <axelheider@gmx.de>
@JDuchniewicz
Copy link
Contributor

In seL4/sel4test#150 I fixed the issues with serial driver for Rpi4 in sel4test.

@lsf37
Copy link
Member

lsf37 commented Dec 5, 2025

Are these not two different issues? This one here was for 32 bit, the one Jakub fixed was for release mode/uart.

@JDuchniewicz
Copy link
Contributor

JDuchniewicz commented Dec 5, 2025

Maybe I am confused but @Ivan-Velickovic mentioned the issue I fixed in the PR: seL4/sel4test#150, specifically seL4/util_libs#171

@lsf37
Copy link
Member

lsf37 commented Dec 5, 2025

He did, but I think Ivan's original comment was already potentially confused. I guess the main question is: have you tried running the RPI4 in 32 bit mode and does it work?

@JDuchniewicz
Copy link
Contributor

Yeah just tried compiling it on the newest master and it fails with linker errors:

toolchains/arm-gnu-toolchain-14.3.rel1-x86_64-arm-none-eabi/bin/../lib/gcc/arm-none-eabi/14.3.1/../../../../arm-none-eabi/bin/ld: kernel_all.c:(.boot.text+0x6fc): undefined reference to `lockTLBEntry'

Will fix these and then confirm that the platform works.

@JDuchniewicz
Copy link
Contributor

JDuchniewicz commented Dec 9, 2025

@lsf37 I confirm sel4test works for RPi4 in the 32-bit mode. Since, I build it with arm-linux-gnueabihf toolchain I had to add it to gcc.cmake in kernel and add -fno-stack-protector otherwise the loader would not link.

Same for sel4bench except I encountered an issue with running it. Reported it as seL4/sel4bench#64

@JDuchniewicz
Copy link
Contributor

JDuchniewicz commented Dec 10, 2025

Works for me after adding a fix to sel4bench (for 32-bits there is just the PMCCNTR counter so we had asserts firing due PMCR reporting 0). https://arm.jonpalmisc.com/latest_sysreg/AArch32-pmcr

Anything else I should do @lsf37 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants