ARM Verdex: Kernel too large
misc0110 opened this issue · 9 comments
misc0110 commented
The ARM Verdex version fails in the CI, as the kernel image is too large. QEMU expects a 32MB flash, and the kernel is copied to offset 31MB of the flash:
With the current kernel size of >1.5MB, this fails, and SWEB does not boot.
dgruss commented
maybe we scrap verdex?
misc0110 commented
I'm not sure if anyone uses that anyway, so this could be a solution
misc0110 commented
Alternatively, we disable the debug infos for verdex, then it should fit again.
misc0110 commented
Why was that PR reverted?
dgruss commented
Introducing unnecessary dependencies and complexity.Am 12.05.2021 19:11 schrieb Michael Schwarz ***@***.***>:
Why was that PR reverted?
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
misc0110 commented
As far as i can see, it doesn't solve the issue and just aborts when the kernel is too large. I see three options:
- Disable debug information for Verdex (remove
-gstabs2
in ) - this gets the kernel to ~400kb, it boots again, but it runs into an assert regarding memory corruption -> someone would have to debug that - Remove Verdex from the CI pipeline (ugly)
- Remove Verdex entirely
dgruss commented
Option 3 is best.
…On 12.05.21 19:41, Michael Schwarz wrote:
As far as i can see, it doesn't solve the issue and just aborts when the
kernel is too large. I see three options:
1. Disable debug information for Verdex (remove |-gstabs2| in
https://github.com/IAIK/sweb/blob/a86c7e5b679aaf766f2163ba14975ca89559bc15/arch/arm/verdex/CMakeLists.include#L3
<https://github.com/IAIK/sweb/blob/a86c7e5b679aaf766f2163ba14975ca89559bc15/arch/arm/verdex/CMakeLists.include#L3>)
- this gets the kernel to ~400kb, it boots again, but it runs into
an assert regarding memory corruption -> someone would have to debug
that
2. Remove Verdex from the CI pipeline (ugly)
3. Remove Verdex entirely
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#253 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAN2M6T7WIDLSLQS4VLNSTDTNK4V7ANCNFSM44YUEOWQ>.