util_libs icon indicating copy to clipboard operation
util_libs copied to clipboard

morello: Add support for QEMU platform

Open heshamelmatary opened this issue 1 year ago • 4 comments

This was tested on a baseline AArch64 Morello/QEMU without CHERI.

Basic support for a PL011 driver.

heshamelmatary avatar Jan 11 '24 15:01 heshamelmatary

Do you expect this to match the hardware, so we'd put this in a morello folder and not morello-qemu

axel-h avatar Jan 11 '24 15:01 axel-h

Since this created another PL011 driver, it could be put on top of https://github.com/seL4/util_libs/pull/157 to reduce the duplication a bit.

axel-h avatar Jan 11 '24 15:01 axel-h

Do you expect this to match the hardware, so we'd put this in a morello folder and not morello-qemu

Not quite. PL011's address and IRQ are different. Also hardware has extra clock, pl011, and timer (SP804) drivers. Unfortunately, I don't think drivers can be currently shared in util_libs.

heshamelmatary avatar Jan 11 '24 15:01 heshamelmatary

Since this created another PL011 driver, it could be put on top of #157 to reduce the duplication a bit.

I believe that's the right direction, but are there plans to merge #157 soon? If not, we could just merge this and then remove later not to block https://github.com/seL4/seL4/issues/1158 ?

heshamelmatary avatar Jan 11 '24 15:01 heshamelmatary