Enabling 64k page size for Oracle Cloud Ampere A1 #339
martinmanyhats
announced in
Announcements
Replies: 3 comments
-
I converted the issue to a discussion, as you already solved it. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks. My first FOSS submission, wasn't entirely sure of the protocol :)
martin
…On Sun, 3 Jul 2022 at 09:45, ptitSeb ***@***.***> wrote:
I converted the issue to a discussion, as you already solved it.
—
Reply to this email directly, view it on GitHub
<#339 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAI23OKQEWIUJNEEO7VUEQLVSFHKTANCNFSM52QLGSTA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
No problems :) And thank you for your contribution. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an Oracle Cloud instance which is installed with AlmaLinux 8.6 (aka CentOS 8.6), which has a 64k page size. This page size is not currently supported by box64.
Without this option a build with:
$ cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo
When running a simple ELF 64-bit LSB executable (classic hello world in C):
./box64 ../../hello/hello
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:65536
Box64 with Dynarec v0.1.9 452a390 built on Jun 30 2022 11:07:01
Error: PageSize configuation is wrong: configured with 4096, but got 65536
I have created a PR which allows for building box86 with a 64k page size:
#334
Resulting in:
./box64 ../../hello/hello
Dynarec for ARM64, with extension: ASIMD AES CRC32 PMULL ATOMICS PageSize:65536
Box64 with Dynarec v0.1.9 826f9cf built on Jun 30 2022 10:09:17
Using default BOX64_LD_LIBRARY_PATH: ./:lib/:lib64/:x86_64/:bin64/:libs64/
Using default BOX64_PATH: ./:bin/
Counted 21 Env var
Looking for ../../hello/hello
Rename process to "hello"
Using native(wrapped) libc.so.6
Using native(wrapped) ld-linux-x86-64.so.2
Using native(wrapped) libpthread.so.0
Using native(wrapped) librt.so.1
hello world
Hope this helps anyone in a similar situation.
martin
Beta Was this translation helpful? Give feedback.
All reactions