From joelv1907 at gmail.com Tue Aug 3 18:55:22 2021 From: joelv1907 at gmail.com (Joel Valenciano) Date: Tue, 3 Aug 2021 11:55:22 -0500 Subject: app/seoul: build fails with several "duplicate case value" errors Message-ID: When trying to build seoul, I run into several "duplicate case value" errors in executor/instructions.inc. This error seems to occur with the upstream version as well, but I don't know what is causing it. Log contents are attached. -------------- next part -------------- A non-text attachment was scrubbed... Name: make.log Type: text/x-log Size: 4846 bytes Desc: not available URL: From alexander.boettcher at genode-labs.com Tue Aug 3 20:42:25 2021 From: alexander.boettcher at genode-labs.com (Alexander Boettcher) Date: Tue, 3 Aug 2021 20:42:25 +0200 Subject: app/seoul: build fails with several "duplicate case value" errors In-Reply-To: References: Message-ID: Hello, On 03.08.21 18:55, Joel Valenciano wrote: > When trying to build seoul, I run into several "duplicate case value" > errors in executor/instructions.inc. This error seems to occur with > the upstream version as well, but I don't know what is causing it. On our side it is fine, seoul is build & run every night. The instruction.inc file is generated by an python script [0] during prepare_port, which uses the host python2 and gcc toolchain. Maybe you have an to old/new/unsupported setup, we have not encounter up to now. Which Linux distribution you are using, what are the versions of your python2 and the host tool chain ? Cheers, Alex. [0] genode/contrib/seoul-800924f3dc293d6c21d4e15fac0605ad4d7269b9/src/app/seoul/executor/build_instructions.py -- Alexander Boettcher Genode Labs https://www.genodians.org - https://www.genode.org From joelv1907 at gmail.com Tue Aug 3 21:09:16 2021 From: joelv1907 at gmail.com (Joel Valenciano) Date: Tue, 3 Aug 2021 14:09:16 -0500 Subject: app/seoul: build fails with several "duplicate case value" errors In-Reply-To: References: Message-ID: I use Arch Linux, so it may be too recent. python says version "2.7.18", so I don't think that is the problem. GCC says version "11.1.0", I think that's probably where the problem is. On Tue, Aug 3, 2021, 1:42 PM Alexander Boettcher < alexander.boettcher at genode-labs.com> wrote: > Hello, > > On 03.08.21 18:55, Joel Valenciano wrote: > > When trying to build seoul, I run into several "duplicate case value" > > errors in executor/instructions.inc. This error seems to occur with > > the upstream version as well, but I don't know what is causing it. > > On our side it is fine, seoul is build & run every night. > > The instruction.inc file is generated by an python script [0] during > prepare_port, which uses the host python2 and gcc toolchain. Maybe you have > an to old/new/unsupported setup, we have not encounter up to now. > > Which Linux distribution you are using, what are the versions of your > python2 and the host tool chain ? > > Cheers, > > Alex. > > [0] > genode/contrib/seoul-800924f3dc293d6c21d4e15fac0605ad4d7269b9/src/app/seoul/executor/build_instructions.py > -- > Alexander Boettcher > Genode Labs > > https://www.genodians.org - https://www.genode.org > > _______________________________________________ > Genode users mailing list > users at lists.genode.org > https://lists.genode.org/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From dckc at madmode.com Thu Aug 5 04:27:24 2021 From: dckc at madmode.com (Dan Connolly) Date: Wed, 4 Aug 2021 21:27:24 -0500 Subject: how to find the thread stack limit? Message-ID: I'm trying to port this XS JavaScript engine to genode. It wants to know the stack limit. Any suggestions on how to do this? https://github.com/Moddable-OpenSource/moddable/blob/public/xs/sources/xsCommon.c#L518-L542 char* fxCStackLimit() { #if mxWindows ULONG_PTR low, high; GetCurrentThreadStackLimits(&low, &high); return (char*)low + (32 * 1024); #elif mxMacOSX pthread_t self = pthread_self(); void* stackAddr = pthread_get_stackaddr_np(self); size_t stackSize = pthread_get_stacksize_np(self); return (char*)stackAddr - stackSize + (8 * 1024); #elif mxLinux pthread_attr_t attrs; if (pthread_getattr_np(pthread_self(), &attrs) == 0) { void* stackAddr; size_t stackSize; if (pthread_attr_getstack(&attrs, &stackAddr, &stackSize) == 0) { return (char*)stackAddr + (4 * 1024); } } return C_NULL; #else return C_NULL; #endif } -- Dan Connolly http://www.madmode.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From dckc at madmode.com Thu Aug 5 04:20:26 2021 From: dckc at madmode.com (Dan Connolly) Date: Wed, 4 Aug 2021 21:20:26 -0500 Subject: link error when trying to run XS JavaScript engine Message-ID: XS is a JavaScript engine designed for microcontrollers. I have been working on getting it running under genode in fits and starts. https://github.com/dckc/genode-js-xs In my most recent episode, I can get goa build to work, but when I try goa run, I get: [init -> genode-js-xs] Error: LD: ELF without DYNAMIC segment appears to be statically linked (ld="no") `file hello` says: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter ld.lib.so, with debug_info, not stripped I put the full link command in https://github.com/dckc/genode-js-xs/pull/12 Any clues on how to diagnose / fix? What does (ld="no") mean? -- Dan Connolly http://www.madmode.com/ From alexander.boettcher at genode-labs.com Thu Aug 5 20:53:29 2021 From: alexander.boettcher at genode-labs.com (Alexander Boettcher) Date: Thu, 5 Aug 2021 20:53:29 +0200 Subject: app/seoul: build fails with several "duplicate case value" errors In-Reply-To: References: Message-ID: <6aa68856-1ae6-1881-6ed4-d6dcf6f5ce9d@genode-labs.com> Hello, On 03.08.21 21:09, Joel Valenciano wrote: > I use Arch Linux, so it may be too recent. > > python says version "2.7.18", so I don't think that is the problem. > > GCC says version "11.1.0", I think that's probably where the problem is. indeed. I think it will be fixed with one of our next toolchain updates. You may try [0] as a workaround, which uses Genode's toolchain instead of the host one. Hope it helps, Alex. [0] https://github.com/alex-ab/genode/commit/993404ade10bbf2a575f0a4d61ddff68f3175c68 > > On Tue, Aug 3, 2021, 1:42 PM Alexander Boettcher < > alexander.boettcher at genode-labs.com> wrote: > >> Hello, >> >> On 03.08.21 18:55, Joel Valenciano wrote: >>> When trying to build seoul, I run into several "duplicate case value" >>> errors in executor/instructions.inc. This error seems to occur with >>> the upstream version as well, but I don't know what is causing it. >> >> On our side it is fine, seoul is build & run every night. >> >> The instruction.inc file is generated by an python script [0] during >> prepare_port, which uses the host python2 and gcc toolchain. Maybe you have >> an to old/new/unsupported setup, we have not encounter up to now. >> >> Which Linux distribution you are using, what are the versions of your >> python2 and the host tool chain ? >> >> Cheers, >> >> Alex. >> >> [0] >> genode/contrib/seoul-800924f3dc293d6c21d4e15fac0605ad4d7269b9/src/app/seoul/executor/build_instructions.py >> -- >> Alexander Boettcher >> Genode Labs >> >> https://www.genodians.org - https://www.genode.org >> >> _______________________________________________ >> Genode users mailing list >> users at lists.genode.org >> https://lists.genode.org/listinfo/users > > > _______________________________________________ > Genode users mailing list > users at lists.genode.org > https://lists.genode.org/listinfo/users > -- Alexander Boettcher Genode Labs https://www.genodians.org - https://www.genode.org From alexander.boettcher at genode-labs.com Thu Aug 5 21:20:19 2021 From: alexander.boettcher at genode-labs.com (Alexander Boettcher) Date: Thu, 5 Aug 2021 21:20:19 +0200 Subject: how to find the thread stack limit? In-Reply-To: References: Message-ID: <1f05fe2c-a5a2-78ae-b398-5f41a6286a4e@genode-labs.com> Hello, On 05.08.21 04:27, Dan Connolly wrote: > I'm trying to port this XS JavaScript engine to genode. It wants to know > the stack limit. Any suggestions on how to do this? > > > https://github.com/Moddable-OpenSource/moddable/blob/public/xs/sources/xsCommon.c#L518-L542 > > char* fxCStackLimit() > { > #if mxWindows > ULONG_PTR low, high; > GetCurrentThreadStackLimits(&low, &high); > return (char*)low + (32 * 1024); > #elif mxMacOSX > pthread_t self = pthread_self(); > void* stackAddr = pthread_get_stackaddr_np(self); > size_t stackSize = pthread_get_stacksize_np(self); > return (char*)stackAddr - stackSize + (8 * 1024); > #elif mxLinux > pthread_attr_t attrs; > if (pthread_getattr_np(pthread_self(), &attrs) == 0) { > void* stackAddr; > size_t stackSize; > if (pthread_attr_getstack(&attrs, &stackAddr, &stackSize) == 0) { > return (char*)stackAddr + (4 * 1024); pthread_attr_getstacksize and friends are supported on Genode, see [0]. Just try out. Cheers, Alex. [0] repos/libports/src/lib/libc/pthread.cc -- Alexander Boettcher Genode Labs https://www.genodians.org - https://www.genode.org From alexander.boettcher at genode-labs.com Thu Aug 5 21:26:56 2021 From: alexander.boettcher at genode-labs.com (Alexander Boettcher) Date: Thu, 5 Aug 2021 21:26:56 +0200 Subject: link error when trying to run XS JavaScript engine In-Reply-To: References: Message-ID: <4dc1f2bb-94ac-fc03-ea37-30a0fb3e0a1d@genode-labs.com> Hello, On 05.08.21 04:20, Dan Connolly wrote: > XS is a JavaScript engine designed for microcontrollers. I have been > working on getting it running under genode in fits and starts. > https://github.com/dckc/genode-js-xs > > In my most recent episode, I can get goa build to work, but when I try > goa run, I get: > > [init -> genode-js-xs] Error: LD: ELF without DYNAMIC segment appears > to be statically linked (ld="no") > > `file hello` says: > > ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically > linked, interpreter ld.lib.so, with debug_info, not stripped > > I put the full link command in https://github.com/dckc/genode-js-xs/pull/12 > > Any clues on how to diagnose / fix? What does (ld="no") mean? Does readelf -l hello shows a DYNAMIC program header ? In case your file is statically linked, you need the ld="no" option, e.g. ... Cheers, Alex. -- Alexander Boettcher Genode Labs https://www.genodians.org - https://www.genode.org From bynuribascay at gmail.com Tue Aug 3 10:42:05 2021 From: bynuribascay at gmail.com (=?UTF-8?B?TnVyaSBCYcWfw6dheQ==?=) Date: Tue, 3 Aug 2021 11:42:05 +0300 Subject: ASAP Please Help Me (I'm in intern but know nothing about GENODE) Message-ID: Hello Dear Genode Developers, First, I would like to say sorry for taking your time. I'm Nuri and 21 years old. I'm a ceng student and my boss wants me to start to develop apps by using genode or sculpt i don't know.However, I could not even print Hello World! during 9 days (except by using bash with echo command) Can you please help me about these topics and thanks from now on. Will I develop apps for genode, or sculpt os? As I know, I need to know C++ language to develop apps in genode or sculpt os but do not know where I can programing c++ in genode, I can only open terminal (bash). How and where to start programming (first hello world) to develop apps? I have; *Windows 10 *Ubuntu 20.04 *Genode Sculpt 21.03b as virtualBox *I built sculpt os 19.07 image and I have this bootable usb stick by the help of this video below youtube.com/watch?v=7g8hDQQt-VI&ab_channel=genode-alex I'm curiously waiting for your reply. Best regards. Thank you Nuri Bas -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.helmuth at genode-labs.com Mon Aug 9 14:58:28 2021 From: christian.helmuth at genode-labs.com (Christian Helmuth) Date: Mon, 9 Aug 2021 14:58:28 +0200 Subject: link error when trying to run XS JavaScript engine In-Reply-To: References: Message-ID: <20210809125828.GD4800@genode-labs.com> Hello Dan, On Thu, Aug 05, 2021 at 04:20:26 CEST, Dan Connolly wrote: > In my most recent episode, I can get goa build to work, but when I try > goa run, I get: > > [init -> genode-js-xs] Error: LD: ELF without DYNAMIC segment appears > to be statically linked (ld="no") > > `file hello` says: > > ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically > linked, interpreter ld.lib.so, with debug_info, not stripped > > I put the full link command in https://github.com/dckc/genode-js-xs/pull/12 I had a look at your command line and it duplicates some arguments (see below) which may be the cause of this error. /usr/local/genode/tool/current/bin/genode-x86-gcc [...] -Wl,-melf_x86_64 -Wl,-gc-sections -Wl,-z -Wl,max-page-size=0x1000 -Wl,-Ttext=0x01000000 -Wl,--dynamic-linker=ld.lib.so -Wl,--dynamic-list=/home/connolly/projects/goa/share/goa/ld/genode_dyn.dl -Wl,--eh-frame-hdr -Wl,-rpath-link=. -Wl,-T -Wl,/home/connolly/projects/goa/share/goa/ld/genode_dyn.ld [...] -Wl,-melf_x86_64 -Wl,-gc-sections -Wl,-z -Wl,max-page-size=0x1000 -Wl,-Ttext=0x01000000 -Wl,--dynamic-linker=ld.lib.so -Wl,--dynamic-list=/home/connolly/projects/goa/share/goa/ld/genode_dyn.dl -Wl,--eh-frame-hdr -Wl,-rpath-link=. -Wl,-T -Wl,/home/connolly/projects/goa/share/goa/ld/genode_dyn.ld [...] Please retry without the duplicate and report back. Greets -- Christian Helmuth Genode Labs https://www.genode-labs.com/ · https://genode.org/ https://twitter.com/GenodeLabs · https://www.genodians.org/ Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth From christian.helmuth at genode-labs.com Mon Aug 9 15:07:34 2021 From: christian.helmuth at genode-labs.com (Christian Helmuth) Date: Mon, 9 Aug 2021 15:07:34 +0200 Subject: ASAP Please Help Me (I'm in intern but know nothing about GENODE) In-Reply-To: References: Message-ID: <20210809130734.GE4800@genode-labs.com> Hello Nuri, you are very welcome to subscribe to this mailing list at https://lists.genode.org/listinfo/users Otherwise you will miss future answers to this thread of emails. On Tue, Aug 03, 2021 at 10:42:05 CEST, Nuri Başçay wrote: > First, I would like to say sorry for taking your time. > I'm Nuri and 21 years old. > I'm a ceng student and my boss wants me to start to develop apps by using > genode or sculpt i don't know.However, I could not even print Hello World! > during 9 days (except by using bash with echo command) > > Can you please help me about these topics and thanks from now on. > Will I develop apps for genode, or sculpt os? > As I know, I need to know C++ language to develop apps in genode or sculpt > os but do not know where I can programing c++ in genode, I can only open > terminal (bash). > How and where to start programming (first hello world) to develop apps? >From the information in your email I recommend you start by reading the Genode Foundations book esp. Chapter "Getting started" Section "Hello world" at https://genode.org/documentation/genode-foundations/ https://genode.org/documentation/genode-foundations/21.05/getting_started/index.html Regards -- Christian Helmuth Genode Labs https://www.genode-labs.com/ · https://genode.org/ https://twitter.com/GenodeLabs · https://www.genodians.org/ Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth From dckc at madmode.com Tue Aug 10 05:54:57 2021 From: dckc at madmode.com (Dan Connolly) Date: Mon, 9 Aug 2021 22:54:57 -0500 Subject: link error when trying to run XS JavaScript engine In-Reply-To: <20210809125828.GD4800@genode-labs.com> References: <20210809125828.GD4800@genode-labs.com> Message-ID: On Mon, Aug 9, 2021 at 7:59 AM Christian Helmuth wrote: > I had a look at your command line and it duplicates some arguments > (see below) which may be the cause of this error. > ... > Please retry without the duplicate and report back. It works! Thank you very much. -- Dan Connolly http://www.madmode.com/ From dckc at madmode.com Tue Aug 10 06:20:45 2021 From: dckc at madmode.com (Dan Connolly) Date: Mon, 9 Aug 2021 23:20:45 -0500 Subject: how to find the thread stack limit? In-Reply-To: <1f05fe2c-a5a2-78ae-b398-5f41a6286a4e@genode-labs.com> References: <1f05fe2c-a5a2-78ae-b398-5f41a6286a4e@genode-labs.com> Message-ID: On Thu, Aug 5, 2021 at 2:20 PM Alexander Boettcher wrote: > pthread_attr_getstacksize and friends are supported on Genode indeed. that works just fine. Thanks! -- Dan Connolly http://www.madmode.com/ From bynuribascay at gmail.com Tue Aug 10 09:46:57 2021 From: bynuribascay at gmail.com (=?UTF-8?B?TnVyaSBCYcWfw6dheQ==?=) Date: Tue, 10 Aug 2021 10:46:57 +0300 Subject: ASAP Please Help Me (I'm in intern but know nothing about GENODE) In-Reply-To: <20210809130734.GE4800@genode-labs.com> References: <20210809130734.GE4800@genode-labs.com> Message-ID: Hello Christian, First, I would like to thank you to reply my mail. Finally I installed Genode on ubuntu and did Hello World example thanks to you. However, I think that I need some more hint to go further. I want to be a genode developer but I dont know how to program in genode or sculpt os like in c++( Genode uses C++ as I know) I mean how to run c++ code in genode or sculpt? I would like to ask you kindly that, How can I start to programming and develop myself? Please, Answer the mail as simple as possible and sorry for my bad English. I'm looking forward for your reply. Thank you. Christian Helmuth , 9 Ağu 2021 Pzt, 16:07 tarihinde şunu yazdı: > Hello Nuri, > > you are very welcome to subscribe to this mailing list at > > https://lists.genode.org/listinfo/users > > Otherwise you will miss future answers to this thread of emails. > > On Tue, Aug 03, 2021 at 10:42:05 CEST, Nuri Başçay wrote: > > First, I would like to say sorry for taking your time. > > I'm Nuri and 21 years old. > > I'm a ceng student and my boss wants me to start to develop apps by using > > genode or sculpt i don't know.However, I could not even print Hello > World! > > during 9 days (except by using bash with echo command) > > > > Can you please help me about these topics and thanks from now on. > > Will I develop apps for genode, or sculpt os? > > As I know, I need to know C++ language to develop apps in genode or > sculpt > > os but do not know where I can programing c++ in genode, I can only open > > terminal (bash). > > How and where to start programming (first hello world) to develop apps? > > From the information in your email I recommend you start by reading > the Genode Foundations book esp. Chapter "Getting started" Section > "Hello world" at > > https://genode.org/documentation/genode-foundations/ > > https://genode.org/documentation/genode-foundations/21.05/getting_started/index.html > > Regards > -- > Christian Helmuth > Genode Labs > > https://www.genode-labs.com/ · https://genode.org/ > https://twitter.com/GenodeLabs · https://www.genodians.org/ > > Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden > Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bynuribascay at gmail.com Tue Aug 10 10:13:44 2021 From: bynuribascay at gmail.com (=?UTF-8?B?TnVyaSBCYcWfw6dheQ==?=) Date: Tue, 10 Aug 2021 11:13:44 +0300 Subject: ASAP Please Help me After Hello World in Genode Message-ID: Hello Developers, I'm an intern student and my boss wants me to learn genode. Finally I installed Genode on Ubuntu and made a Hello World example thanks to your community and genode documentation. However, I think that I need some more hints to go further. I want to be a genode developer but I don't know how to program in genode or sculpt os like in c++( Genode uses C++ as I know) I mean how to run c++ code in genode or sculpt? I would like to ask you kindly, How can I start programming and develop myself? (That means going one step further than hello world, maybe antoter basic example to run and compile by genode sculpt) Please, Answer the mail as simple as possible and sorry for my bad English. I'm looking forward to your reply. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bynuribascay at gmail.com Wed Aug 11 14:53:01 2021 From: bynuribascay at gmail.com (=?UTF-8?B?TnVyaSBCYcWfw6dheQ==?=) Date: Wed, 11 Aug 2021 15:53:01 +0300 Subject: I need your opinion please help me Message-ID: Hi Genode Developers. I'm Nuri and I'm an intern student. My boss wants me to learn genode and develop apps. Firstly, thanks for your replies. Thanks to your reply, I ran Hello World in the Linux Genode scenario. The main point is that, It is my first time using Ubuntu and working on an operating system framework. I'm a computer engineering student (my 2nd year finished now). I know flutter, java and python etc. Is there a way to say kindly to my boss that it is impossible to develop genode projects with my knowledge? If yes, please let me know your opinion (what can I say to my boss for example I talked the genode developers so, they said that you need to study more something to start to develop genode) If it is easy to develop apps for genode, please let me know how I can do that. I read genode foundations book and study in this link " https://genode.org/documentation/developer-resources/index " but I just did Hello World project on genode after 3 weeks. So please help me ASAP dear Genode Developers. By the help of this link below, I tried to run "Creating your first client-server scenario " but got an error and couldn't do anything. https://genode.org/documentation/developer-resources/index And here it is the error that I mentioned ( generating initrd cp: cannot stat 'genode/initramfs': No such file or directory ) input; $ make run/hello KERNEL=linux output; including /home/nuri/genode/tool/run/power_on/qemu including /home/nuri/genode/tool/run/log/qemu including /home/nuri/genode/tool/run/image/disk including /home/nuri/genode/tool/run/boot_dir/linux including /home/nuri/genode/repos/lab/run/hello.run building targets: core init app/hello spawn make core init app/hello make[1]: Entering directory '/home/nuri/genode/build/x86_64' checking library dependencies... Library ldso_so_support Library syscall-linux Library startup-linux Library cxx Library ld Library base Program app/hello/hello Program init/init Library base-linux-common Library core-linux Program core/linux/core-linux COMPILE version.o LINK core-linux make[1]: Leaving directory '/home/nuri/genode/build/x86_64' genode build completed checking configuration syntax CHECK init building targets: lib/ld/linux spawn make lib/ld/linux make[1]: Entering directory '/home/nuri/genode/build/x86_64' checking library dependencies... Library syscall-linux Library startup-linux Library timeout Library cxx Library seccomp Library ldso_so_support Library base-linux-common Library base-linux Library ld-linux Program lib/ld/linux/ld-linux make[1]: Leaving directory '/home/nuri/genode/build/x86_64' genode build completed using 'core-linux' as 'core' using 'ld-linux.lib.so' as 'ld.lib.so' using 'core-linux' as 'core' using 'ld-linux.lib.so' as 'ld.lib.so' generating initrd cp: cannot stat 'genode/initramfs': No such file or directory while executing "exec cp genode/initramfs init" (procedure "build_initrd" line 16) invoked from within "build_initrd $binaries" (procedure "run_boot_dir" line 28) invoked from within "run_boot_dir $binaries" (procedure "build_boot_image" line 35) invoked from within "build_boot_image "core ld.lib.so init hello"" (file "/home/nuri/genode/repos/lab/run/hello.run" line 20) invoked from within "source $include_name" ("foreach" body line 6) invoked from within "foreach include_name [get_cmd_arg --include ""] { # first check if the include name is absolute if {[string first "/" $include_name] == 0} { puts ..." (file "/home/nuri/genode/tool/run/run" line 1062) make: *** [Makefile:393: run/hello] Error 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: From bynuribascay at gmail.com Wed Aug 11 14:58:06 2021 From: bynuribascay at gmail.com (=?UTF-8?B?TnVyaSBCYcWfw6dheQ==?=) Date: Wed, 11 Aug 2021 15:58:06 +0300 Subject: I Just Need Your Opinion Message-ID: Hi dear Genode Developers, I'm Nuri and I'm an intern student. My boss wants me to learn genode and develop apps. Firstly, thanks for your replies. Thanks to your reply, I ran Hello World in the Linux Genode scenario. The main point is that, It is my first time using Ubuntu and working on an operating system framework. I'm a computer engineering student (my 2nd year finished now). I know flutter, java and python etc. Is there a way to say kindly to my boss that it is impossible to develop genode projects with my knowledge? If yes, please let me know your opinion (what can I say to my boss for example I talked the genode developers so, they said that you need to study more something to start to develop genode) If it is easy to develop apps for genode, please let me know how I can do that. I read genode foundations book and study in this link " https://genode.org/documentation/developer-resources/index " but I just did Hello World project on genode after 3 weeks. So please help me ASAP dear Genode Developers. -------------- next part -------------- An HTML attachment was scrubbed... URL: From christian.helmuth at genode-labs.com Wed Aug 11 15:42:14 2021 From: christian.helmuth at genode-labs.com (Christian Helmuth) Date: Wed, 11 Aug 2021 15:42:14 +0200 Subject: I need your opinion please help me In-Reply-To: References: Message-ID: <20210811134214.GA29349@genode-labs.com> Hi Nuri, On Wed, Aug 11, 2021 at 14:53:01 CEST, Nuri Başçay wrote: > Hi Genode Developers. [...] I'm afraid repeating your introductory text over and over will not help to get more attention. > By the help of this link below, I tried to run "Creating your first > client-server scenario > > " > but got an error and couldn't do anything. > https://genode.org/documentation/developer-resources/index > And here it is the error that I mentioned > ( > generating initrd > cp: cannot stat 'genode/initramfs': No such file or directory > ) > input; > > $ make run/hello KERNEL=linux You missed to declare the BOARD parameter like follows. make run/hello KERNEL=linux BOARD=linux See https://genode.org/documentation/genode-foundations/21.05/getting_started/Hello_world.html#Building_the_component for reference. The run script can be executed from within the build directory via the command: make run/hello KERNEL=linux BOARD=linux Greets -- Christian Helmuth Genode Labs https://www.genode-labs.com/ · https://genode.org/ https://twitter.com/GenodeLabs · https://www.genodians.org/ Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth From bynuribascay at gmail.com Wed Aug 11 15:51:58 2021 From: bynuribascay at gmail.com (=?UTF-8?B?TnVyaSBCYcWfw6dheQ==?=) Date: Wed, 11 Aug 2021 16:51:58 +0300 Subject: I need your opinion please help me In-Reply-To: <20210811134214.GA29349@genode-labs.com> References: <20210811134214.GA29349@genode-labs.com> Message-ID: I'm so sorry. Will not do again. Thank you. Best Regards. Christian Helmuth , 11 Ağu 2021 Çar, 16:42 tarihinde şunu yazdı: > Hi Nuri, > > On Wed, Aug 11, 2021 at 14:53:01 CEST, Nuri Başçay wrote: > > Hi Genode Developers. > [...] > > I'm afraid repeating your introductory text over and over will not > help to get more attention. > > > By the help of this link below, I tried to run "Creating your first > > client-server scenario > > < > https://genode.org/documentation/developer-resources/client_server_tutorial > > > > " > > but got an error and couldn't do anything. > > https://genode.org/documentation/developer-resources/index > > And here it is the error that I mentioned > > ( > > generating initrd > > cp: cannot stat 'genode/initramfs': No such file or directory > > ) > > input; > > > > $ make run/hello KERNEL=linux > > You missed to declare the BOARD parameter like follows. > > make run/hello KERNEL=linux BOARD=linux > > See > https://genode.org/documentation/genode-foundations/21.05/getting_started/Hello_world.html#Building_the_component > for reference. > > The run script can be executed from within the build directory via the > command: > > make run/hello KERNEL=linux BOARD=linux > > Greets > -- > Christian Helmuth > Genode Labs > > https://www.genode-labs.com/ · https://genode.org/ > https://twitter.com/GenodeLabs · https://www.genodians.org/ > > Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden > Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth > > _______________________________________________ > Genode users mailing list > users at lists.genode.org > https://lists.genode.org/listinfo/users -------------- next part -------------- An HTML attachment was scrubbed... URL: From devuser at alternateapproach.com Sat Aug 14 04:44:39 2021 From: devuser at alternateapproach.com (John J. Karcher) Date: Fri, 13 Aug 2021 22:44:39 -0400 Subject: I Just Need Your Opinion In-Reply-To: References: Message-ID: <378a13c8-678b-c5ba-da6c-ed729d7fb3bd@alternateapproach.com> On 8/11/21 8:58 AM, Nuri Başçay wrote: > Hi dear Genode Developers, [snip] I'm not much of a Genode developer, but I have followed the project closely for quite a while, so hopefully I can give you a few hints. > The main point is that, It is my first time using Ubuntu and working on > an operating system framework. I'm a computer engineering student (my > 2nd year finished now). I know flutter, java and python etc. > > Is there a way to say kindly to my boss that it is impossible to develop > genode projects with my knowledge? If yes, please let me know your > opinion (what can I say to my boss for example I talked the genode > developers so, they said that you need to study more something to start > to develop genode) This is a good question, which you probably have to answer yourself. Since most Genode development is done in C++, this is the most important skill. (I don't think you need to be a C++ expert, but a general knowledge is necessary.) > If it is easy to develop apps for genode, please let me know how I can > do that. > I read genode foundations book and study in this link " > https://genode.org/documentation/developer-resources/index >  " but I > just did Hello World project on genode after 3 weeks. > > So please help me ASAP dear Genode Developers. "Genode Foundations" is the main development guide, so it is good that you have followed that far enough to test the "Hello World" example. Another good source of info is the "Genodians" web site / blog (https://genodians.org/). The content there varies from elementary to extremely advanced; one good starting point might be the articles on the custom "Goa" tool, which automates much of the tedious parts of the development process. Another thing to note is that there are two main ways to build components for Genode: 1) Including your component directly in a custom build image ("scenario"), as with the "Hello World" example. This is typically for embedded solutions. 2) Building components for Sculpt, which is the Genode desktop environment. For regular applications, this is probably what you want. Here are a couple of Genodians articles to help you get started with option #2: - https://genodians.org/nfeske/2019-11-25-goa - this is the first in a series, and starts with another "Hello World" example. - https://genodians.org/nfeske/2020-01-16-goa-publish - this one describes how to "publish" the component, so it can be installed in Genode Sculpt. I hope you have success! Please feel free to ask more questions - the more specific, the better! Hope it helps, John J. Karcher devuser at alternateapproach.com From norman.feske at genode-labs.com Tue Aug 31 12:31:42 2021 From: norman.feske at genode-labs.com (Norman Feske) Date: Tue, 31 Aug 2021 12:31:42 +0200 Subject: Announcement: Genode OS Framework version 21.08 released Message-ID: <416b6277-a01e-032d-bf01-51619344e0cf@genode-labs.com> I'm happy to announce the release of Genode version 21.08. https://genode.org/news/genode-os-framework-release-21.08 The most prominent topics of the new version are GPU support and a fresh approach for porting device-driver code from the Linux kernel to Genode. Up to now, the use of hardware-accelerated graphics has remained a mere experimentation ground for Genode. As such, GPUs remain unused by Sculpt OS. The current release aims to change that, setting the goal of making GPUs a commodity feature of Genode-based systems. This line of work comprises a largely improved version of our custom GPU multiplexer for Intel GPUs, a novel way of decoupling the display driver from the GPU driver, and a revamped Mesa library stack. The second major topic is a new device-driver environment (DDE) for executing unmodified Linux driver code as Genode components. With the re-imagined DDE introduced by Genode 21.08, the porting of such drivers takes only a fraction of time compared to our previous porting efforts. A quick summary of the current release: - Linux-device-driver environment re-imagined - New device drivers - i.MX8mq framebuffer driver - i.MX8mq SD-card driver - Pinephone framebuffer - Pine-A64-LTS networking driver - RAM framebuffer driver for Qemu - Revived GPU support - Mesa 21.0.0 - Architectural integration of GPU multiplexing - Refined user-level network routing - Updated and improved VirtualBox - Media playback and SSL validation for Qt5 and QtWebEngine - Modular integration of LTE modem stack in Sculpt OS - Tool-chain support for RISC-V The detailed release documentation is available here: https://genode.org/documentation/release-notes/21.08 Have fun with exploring the new version! 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