First system image of Sculpt OS for the PinePhone
Hello, I'm happy to announce the first system image of Sculpt OS for the PinePhone: https://genodians.org/nfeske/2023-02-01-mobile-sculpt Thanks to the wonderful team at Genode Labs for having made that possible! Speaking for myself, I'm overjoyed. :-) BTW, I will present this version on Saturday at FOSDEM in Brussels: https://fosdem.org/2023/schedule/event/genode_on_the_pinephone/ For the immediate testing period at the current stage, I am mostly interested in the operation of the modem and the overall robustness. Hence, I would appreciate your responses with testing mobile-data connectivity and voice calls as well as reporting of glaring bugs or annoyances. Regarding the use as daily driver for me personally, I see two blocking issues, which I will tackle next. - A sleep mode that turns off the screen after a few seconds of no interactivity. I think with this change, one battery charge could get us through the day. - A prolonged standby mode that switches off the application processor and keeps the SCP watching the modem for incoming calls and booting the application processor on such events. This will ultimately allow us stay receptive for incoming calls for several days without recharging. Should you like to experiment with building / experimenting / modifying the system, please share your rough direction so that I can supplement further documentation to support you. Wishing you fun with trying out Sculpt OS on the PinePhone! Norman -- Dr.-Ing. Norman Feske Genode Labs https://www.genode-labs.com · https://genode.org Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth ___ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Running genode on QEMU having board support of raspberry pi for arm_v8.
Dear genodians, As I saw that you already worked on the Raspberry for Genode framework,I wanted to ask about that because I am also working on it. I am trying the port genode having the arm_v8a support of Raspberry board to run that on QEMU. So I need some guidance from you on how to start and what should be the roadmap for generating the boot image (.img file ) having arm 64 architecture which can be booted and run on QEMU. It would be very helpful for me if you guide me to port genode on QEMU for arm_v8a. Regards, DHIRAJ. ___ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Re: Goa: build libraries fails on arm_v8a
Hello again too, On 2/1/23 17:23, Sebastian Sumpf wrote: 1. libgcc is in ld.lib.so on Genode, so you should link against ld.lib.so or its api and get rid of -lgcc and -static-libgcc. The pthread things are in libc.lib.so Would this be only for libraries or for binaries too? I'm asking, as I did not introduce this, but only modified code that was there before. 2. Because of the error you encountered it might very well be that the resulting shared object will not contain a .dynamic section. This would make it impossible for the dynamic linker to load the library at runtime. So, please make sure with At least on x86_64 the WasmEdge binary was able to use the resulting libraries. ! genode-aarch64-objdump -ph libc++.lib.so that the library has a PT_DYNAMIC segment as well as a .dynamic section with data in it once you got everything linked together. You can also send the output here and I will have a look. I will check that and send you the output, if necessary. Regards, Pirmin ___ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Re: Goa: build libraries fails on arm_v8a
Hello again, On 2/1/23 14:18, Duss Pirmin wrote: Hello Sebastian Thanks for the quick patch. On 01.02.23 13:26, Sebastian Sumpf wrote: For Goa to build libraries the following version is required: - repository: g...@gitlab.com:/gapfruit-community/goa.git - branch: library_support This, I could not find and used the one from GitHub. This was okay. Sorry for putting the wrong repository there. The attached patch [1] resolves the linking error for me, somehow the .got ended up first in the DYNAMIC segment. Can you please check if it works for you? However, I see a lot of undefined references to cxx.lib.a and pthread stuff afterwards. Looks like "-Lllvm/var/abi/arm_v8a" is missing in the linking command of libc++.lib.so. Additionally, "-lgcc" seems a little dangerous. The patch indeed fixes the problem. I get the same linker errors that you described now. I think, these I can fix, by tweaking the Goa project. Great. Two notes from my side: 1. libgcc is in ld.lib.so on Genode, so you should link against ld.lib.so or its api and get rid of -lgcc and -static-libgcc. The pthread things are in libc.lib.so 2. Because of the error you encountered it might very well be that the resulting shared object will not contain a .dynamic section. This would make it impossible for the dynamic linker to load the library at runtime. So, please make sure with ! genode-aarch64-objdump -ph libc++.lib.so that the library has a PT_DYNAMIC segment as well as a .dynamic section with data in it once you got everything linked together. You can also send the output here and I will have a look. Good luck, Sebastian -- Sebastian Sumpf Genode Labs http://www.genode-labs.com · http://genode.org Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth ___ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Re: Goa: build libraries fails on arm_v8a
Hello Sebastian Thanks for the quick patch. On 01.02.23 13:26, Sebastian Sumpf wrote: For Goa to build libraries the following version is required: - repository: g...@gitlab.com:/gapfruit-community/goa.git - branch: library_support This, I could not find and used the one from GitHub. This was okay. Sorry for putting the wrong repository there. The attached patch [1] resolves the linking error for me, somehow the .got ended up first in the DYNAMIC segment. Can you please check if it works for you? However, I see a lot of undefined references to cxx.lib.a and pthread stuff afterwards. Looks like "-Lllvm/var/abi/arm_v8a" is missing in the linking command of libc++.lib.so. Additionally, "-lgcc" seems a little dangerous. The patch indeed fixes the problem. I get the same linker errors that you described now. I think, these I can fix, by tweaking the Goa project. Regards, Pirmin ___ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Re: Goa: build libraries fails on arm_v8a
Hello Pirmin, On 2/1/23 08:49, Duss Pirmin wrote: On 31.01.23 19:39, Sebastian Sumpf wrote: These are some very old issues (2011). Could you let me know how to reproduce this? The Goa project can be found as follows: - repository: g...@github.com:trimpim/wasmedge-genode.git - branch: llvm-arm_v8a_failure For Goa to build libraries the following version is required: - repository: g...@gitlab.com:/gapfruit-community/goa.git - branch: library_support This, I could not find and used the one from GitHub. In the llvm directory execute the following commands: ``` goa build-dir goa build ``` In theory `goa build` should suffice, but for some reason this fails with some compiler errors. As it works by issuing the commands separate, I did not investigate further. The attached patch [1] resolves the linking error for me, somehow the .got ended up first in the DYNAMIC segment. Can you please check if it works for you? However, I see a lot of undefined references to cxx.lib.a and pthread stuff afterwards. Looks like "-Lllvm/var/abi/arm_v8a" is missing in the linking command of libc++.lib.so. Additionally, "-lgcc" seems a little dangerous. Regards, Sebastian [1] dynamic.patch Regards, Pirmin ___ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users -- Sebastian Sumpf Genode Labs http://www.genode-labs.com · http://genode.org Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth diff --git a/share/goa/ld/genode_rel.ld b/share/goa/ld/genode_rel.ld index 9b5add9..01b57ad 100644 --- a/share/goa/ld/genode_rel.ld +++ b/share/goa/ld/genode_rel.ld @@ -191,7 +191,7 @@ SECTIONS .data1 : { *(.data1) } .dynamic: { *(.dynamic) } : dynamic : rw /* See: genode_dyn.ld */ - .got: { *(.got.plt) *(.got) } + .got: { *(.got.plt) *(.got) } : rw /* Exception handling */ .eh_frame : { ___ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users