Re: QProcess/QProcessEnvironment not declared

2018-03-01 Thread Christian Prochaska
ory). Regards, Christian qprocess_genode.patch From: Christian Prochaska <christian.procha...@genode-labs.com> --- repos/libports/lib/mk/qt5_core.mk |2 -- 1 file changed, 2 deletions(-) diff --git a/repos/libports/lib/mk/qt5_core.mk b/repos/libports/lib/mk/qt5_core.mk index 8ead924..1fd61a8

Re: Custom InputMethod for QtVirtualKeyboard

2017-09-21 Thread Christian Prochaska
Hi Johannes, On 18.09.2017 09:22, Johannes Kliemann wrote: > Hi Christian, > > I tried to implement a custom InputMethod for the QtVirtualKeyboard. But > I couldn't find any useful information on how to do this. > > Beside the Technical Guide [1] for the keyboard there seems to be no >

Re: Qt5 QInputMethod

2017-09-07 Thread Christian Prochaska
Hi Johannes, On 04.09.2017 17:25, Johannes Kliemann wrote: > while working with the QtVirtualKeyboard, I noticed that I can attach a > QInputMethod directly to the keyboard which is a much cleaner solution > than using a hidden input field. > > As far as I understood it, it is required to create

Re: Qt5 Threads

2017-08-30 Thread Christian Prochaska
Hi Johannes, On 30.08.2017 16:22, Johannes Kliemann wrote: > is anyone using threads in Qt5 applications on Genode? > Is it possible to use QThreads or are Genodes own threads required? If > so, how would I get an instance of Genode::Env in a Qt application > (which I would need for the thread).

Re: Qt Virtualkeyboard example

2017-08-14 Thread Christian Prochaska
Hi Johannes, On 14.08.2017 16:03, Johannes Kliemann wrote: > I finally got the plugin to load. > What was missing was the correct initialization in QNitpickerIntegration. > I have added the missing parts to load the QPlatformInputContext [1] and > it now finds the qtvirtualkeyboardplugin. good

Re: Qt Virtualkeyboard example

2017-08-02 Thread Christian Prochaska
Hi Johannes, On 31.07.2017 15:20, Johannes Kliemann wrote: > after applying your commit and fixing the vpaths for the plugin > directory it compiles but it still fails to find the > qtvirtualkeyboardplugin. from looking at what gets built and installed with Qt for Linux, it seems there are

Re: Qt Virtualkeyboard example

2017-07-27 Thread Christian Prochaska
Hi Johannes, On 27.07.2017 13:50, Johannes Kliemann wrote: > How can I add QtQuick dependencies on Genode, is there already some code > example? there are two QtQuick examples in the libports repository: qt5_quicktest.run and qt5_samegame.run. Regards, Christian

Re: Qt Virtualkeyboard example

2017-07-26 Thread Christian Prochaska
moc_trace.cpp \ moc_desktopinputpanel.cpp \ moc_inputview.cpp \ moc_appinputpanel.cpp # source files generated from existing source files ('%.moc: %.cpp' rule in import-qt5.inc) # extracted from 'compiler_moc_source_make_all' rule COMPILER_MOC_SOURCE_MAKE_ALL_FILES = \ qt5_create_generated_incs_w

Re: tool_chain for 64 bit

2017-05-22 Thread Christian Prochaska
script again. Christian disable multilib support for the bootstrap tool chain From: Christian Prochaska <christian.procha...@genode-labs.com> --- tool/tool_chain |3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tool/tool_chain b/tool/tool_chain index 4b466c1..dc

Re: lxip echo not working

2017-03-10 Thread Christian Prochaska
Hi Boris, On 10.03.2017 16:58, Boris Mulder wrote: > How can I make my own Genode component that uses both the genode > Component API and the linux tcp/ip stack with sockets? One important requirement when implementing 'Libc::Component::construct()' is to wrap the socket-using code in the

Re: Reading thread registers

2017-03-07 Thread Christian Prochaska
Hi Denis, On 03.03.2017 08:35, Denis Huber wrote: > Hallo Christian, and hallo Genode community. > > Preliminary: I want to read the registers of a thread A from a task from > another thread B on another task. I am using Genode 16.08 on Fiasco.OC. > I am also using the Genode mechanism of

Re: Reading thread registers

2016-08-30 Thread Christian Prochaska
Hi Denis, On 25.08.2016 15:45, Denis Huber wrote: > Is it possible to aquire the thread's registers through simply reading > them in the UTCB which is pointed by Thread_state::utcb? If yes, what is > the layout of the UTCB in the memory? > Or do I also have to pause the thread to find relevant

Re: Reading thread registers

2016-08-19 Thread Christian Prochaska
Hi Denis, On 19.08.2016 10:30, Denis Huber wrote: > I tried reading the registers through the "Thread_state > Cpu_thread::state()" method, but it did not contain any information > about (just zeros). > > I'm using Genode 16.05, kernel Fiasco.OC (pbax9 build). By inspecting > the kernel API of

Re: GDB monitor

2016-03-19 Thread Christian Prochaska
Hi Joscha, On 17.03.2016 11:02, Joscha Benz wrote: > localhost:: Die Wartezeit für die Verbindung ist abgelaufen. Does it help when you add 'ipv4' to the qemu_args line for the UART redirection, so that it reads: append qemu_args " -chardev

Re: GDB monitor

2016-03-15 Thread Christian Prochaska
Hi Joscha, the 'gdb_monitor.run' script should work out of the box on foc_x86_32, nova_x86_32 and (with one failing test) foc_pbxa9 on Qemu. I tried it with your github branch and it worked for me after I removed the newly added TCP redirection line from the run script. The

Re: Problem with custom rm-service

2016-02-09 Thread Christian Prochaska
Hi David, On 08.02.2016 18:06, David Werner wrote: > Is 8*1024 bytes a reasonable stack size? for simple components without big objects allocated on the stack it's usually enough. Personally, I tend to use 2*1024*sizeof(Genode::addr_t) in new components. Christian

Re: Problem with custom rm-service

2016-02-08 Thread Christian Prochaska
Hi David, On 08.02.2016 15:26, David Werner wrote: > Genode::Pager_entrypoint::entry()::: Could not > resolve pf=401feff8 ip=100b9af this page fault address is part of the thread stack area on Fiasco.OC (0x4000 - 0x5000). So it looks like there is a

Re: QT5 Linux_x86

2016-01-14 Thread Christian Prochaska
Hello Torsten, On 14.01.2016 12:24, Torsten Thoben wrote: > I'm new to Genode and i want to use QT5 with the Linux_x86 Kernel. The > demo example works well, but if i try to run qt5_quicktest or other qt5 > run files, the only thing i see is a empty window and a Mouse Courser. I > use Ubuntu

Re: Debugging Genode applications on Ubuntu 14.04 64bit

2015-12-11 Thread Christian Prochaska
Hi Menno, on the 'linux_x86' Genode platform, we usually use the GDB of the host Linux system for debugging. There are some limitations on the GDB features that can be used, for example, breakpoints in shared libraries might not work. But features like showing a backtrace usually work. For

Re: Error in the example "qt5_openglwindow"

2015-12-07 Thread Christian Prochaska
Hi Humberto, On 11/20/2015 04:05 PM, Humberto López León wrote: > I am also interested in learning about the use of OpenGL in Qt from Genode. > I basically like to know how to make the port of some of the ejemlos who > are on qtbase/examples/opengl. The examples in this directory require the

Re: Error in the example "qt5_openglwindow"

2015-11-18 Thread Christian Prochaska
for the analogclock example, so it uses the correct main.cpp file. Christian qt5_qnitpickerwindowsurface.patch From: Christian Prochaska <christian.procha...@genode-labs.com> --- .../nitpicker/qnitpickerwindowsurface.cpp |3 +++ 1 file changed, 3 insertions(+) diff --git a

Re: Error in the example "qt5_openglwindow"

2015-11-16 Thread Christian Prochaska
Hello Humberto, On 11/12/2015 11:17 PM, Humberto López León wrote: > I also tried two more examples of qt5_gui module (qtbase/examples/gui), > the rasterwindow and analogclock. To include these examples in the > compilation mechanism of Genode I relied on the example > "qt5_openglwindow". Both

Re: Error in the example "qt5_openglwindow"

2015-11-12 Thread Christian Prochaska
Hello Humberto, On 11/12/2015 06:17 PM, Humberto López León wrote: > Hello Genode community, > > I'm testing the port of Qt_5.1.0 in Genode 15.08. I ran the example > "qt5_openglwindow" but a sale with black background is shown. I tried it > on in the pbxa9 using Qemu with hw and foc. > does

Re: Turmvilla scenario

2015-11-06 Thread Christian Prochaska
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello, On 11/06/2015 11:41 AM, Christian Helmuth wrote: > Hello Vincent, > > On Thu, Nov 05, 2015 at 06:18:36PM +0800, Vincent Digital wrote: >> Can I clarify with you that the nic_bridge can both support Wifi_Driver as >> well as the Nic_Driver. In

Re: Turmvilla scenario

2015-10-07 Thread Christian Prochaska
Hello Vincent, On 10/07/2015 03:23 AM, Vincent Digital wrote: > Hi, Can anyone help out. I'm trying to create the Turmvilla scenario on my > Lenovo X201 By following the setup file as compiled by@cproc > : >

Re: run/noux_vim yields black SDL window on linux_x86

2015-09-17 Thread Christian Prochaska
Hello, I just tried the 'noux_vim' run script on Xubuntu 14.04 and it worked for me. This is the log output I'm seeing: spawn ./core Genode 15.08-34-g8c7e052 int main(): --- create local services --- int main(): --- start init --- int main(): transferred 17592186044415 MB to init int main():

Re: Build Target linux-arm: Wrong Compiler?

2015-09-02 Thread Christian Prochaska
Hello Daniel, On 09/02/2015 05:21 PM, Krefft, Daniel wrote: > 1. Is it possible to build the linux_arm target for ARM (as suspected)? > 2. Where can we change the compiler option pointing to e.g. > arm-none-eabi? please have a look at the following discussion in the mailing list archive:

Re: Building Genode for Linux/ARM

2015-05-19 Thread Christian Prochaska
Hi Alex, On 05/19/2015 10:26 AM, Alexander Senier wrote: Adding -march=armv7-a manually to the above g++ invocation succeed, but I don't see where to set the architecture in the build config. creating a file '/build/linux_arm/etc/tools.conf' with the line CC_MARCH+=-march=armv7-a should do

Re: Building Genode for Linux/ARM

2015-05-19 Thread Christian Prochaska
Hi Alex, good to hear that you got it to work. On 05/19/2015 01:41 PM, Alexander Senier wrote: The only disadvantage is that the run scripts fail, as expect has some issues with creating PTYs. I remember having some problems with chroot environments and terminals in general when /dev/pts was

Re: Building Genode for Linux/ARM

2015-05-18 Thread Christian Prochaska
Hi Alex, the Linux platforms don't support cross-compiling at this stage, which means that 'linux_arm' only works on an ARM Linux host system. Regards, Christian On 18.05.2015 22:10, Alexander Senier wrote: Hi all, I'm trying to build Genode for the Linux base platform for ARM without

Re: Virtualbox + rump_fs + qemu

2015-03-16 Thread Christian Prochaska
Hello Adrian, On 11.03.2015 00:02, a3an wrote: I just wonder what will be done to fix this. Is there a way to open problem-ticket for this problem ? Or, is there an explanation as to what the problem is ? you can create an issue at https://github.com/genodelabs/genode/issues There's no

Re: Virtualbox + rump_fs + qemu

2015-02-26 Thread Christian Prochaska
Hello Adrian, I could reproduce your problem now. It occurred when I stored the 'w7.vbox' file in the '/VirtualBox VMs/w7/' directory. Before, I had it stored in the root directory only and the problem did not occur. For running Windows 7 with VirtualBox on Nova we're using the

Re: Virtualbox + rump_fs + qemu

2015-02-25 Thread Christian Prochaska
Hello Adrian, I could not reproduce the same problem you reported, but found two other problems when trying to run VirtualBox in Qemu: First, 'atapi_drv' does not run well on newer Qemu versions (I used Qemu 2.2.0), so I changed your run script to use the 'ahci' driver instead (see attachment).

Re: Virtualbox + rump_fs + qemu

2015-02-23 Thread Christian Prochaska
Hello Adrian, On 02/23/2015 12:29 PM, a3an wrote: Hello Christian, thanks. I have added fs/ to the vfs config section of virtualbox. But now the system hangs and has to be canceled. No messages from virtualbox either. Can you please send your complete run script? Regards, Christian

Re: Debug over serial

2014-11-11 Thread Christian Prochaska
Hello Ben, On 11/10/2014 04:44 AM, Nobody III wrote: I have a serial cable and have connected two computers with it, but I haven't been able to figure out how to obtain Genode's boot output. I am currently using the fiasco kernel but I will probably later use fiasco.oc and possibly nova. I

Re: ATA support

2014-11-05 Thread Christian Prochaska
Hi Ben, On 11/04/2014 05:38 PM, Nobody III wrote: As a side question, is there an easy way to combine input from a PS/2 keyboard and a USB mouse or should I write a server for that? please have a look at the 'input_merger' server in the 'os' repository. The README file describes how it can be

Re: Genode is out of frequency range on 1920x1080 monitor

2014-11-04 Thread Christian Prochaska
Hello Ben, On 11/02/2014 03:10 AM, Nobody III wrote: My computer has a 1920x1080 monitor, and, when I run Genode from a CD, my monitor gives me an out of frequency range error when it starts the terminal echo test. This seems to be a bug in fb_drv. I have an intel i915 graphics card, if that

Re: Problem when manipulating QT window geometry

2014-09-16 Thread Christian Prochaska
Hello Marcus, On 09/16/2014 10:27 AM, Marcus Nolte wrote: Hey Christian, Thanks for your reply. I built a little test case and played around a little more. When I emit a QtSignal, which is connected to a slot where the resizing is done, everything works properly (with and without your

Re: Help compiling Genode on hw_rpi

2014-08-30 Thread Christian Prochaska
Hello Reinier, I just tried to reproduce the problem, but all went well here. Can you please post the complete build log? Christian -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/

Re: Help compiling Genode on hw_rpi

2014-08-30 Thread Christian Prochaska
Hello Reinier, On 30.08.2014 20:59, Reinier Millo Sánchez wrote: Hi Christian I have activated this repos on my configuration GENODE_DIR= /home/millo/Working/SistemaOperativo/Building/RaspberryPi/Genode BASE_DIR = $(GENODE_DIR)/repos/base CONTRIB_DIR = $(GENODE_DIR)/contrib

Re: Process creation on Fiasco.OC / L4

2014-07-30 Thread Christian Prochaska
Hello Josef, On 30.07.2014 18:46, Stark, Josef wrote: Hi all, I am trying to find out how process creation (and termination) is done on the Fiasco.OC/L4 platform. I took a look at cli_monitor and launchpad apps and tried to trace the function calls to fiasco.OC/L4 but I am not very

Re: Using a real harddisk

2014-07-06 Thread Christian Prochaska
Hello Wolfgang, On 06.07.2014 18:01, w_schm...@gmx.de wrote: Hi, i have still problems accessing a real harddisc. I now started again using the rump_ext2 test. Is usd the run script below and get no result at all, it stops at [init - acpi - pci_drv] virtual void

Re: Hi~ I am ajblane. I have a question. Please, help me.

2014-05-23 Thread Christian Prochaska
Hello, On 05/23/2014 12:05 PM, ch ajblane wrote: Hi sir: If I want to implement GDB port to support linux_x86_64 . How can i do? Please have a look at the following git branch, which adds generic x86_64 support and support for nova_x86_64:

Re: Some error in using Qt on genode

2014-04-18 Thread Christian Prochaska
Hello, On 18.04.2014 09:25, longjks wrote: Library stdcxx COMPILE allocator-inst.o /home/android/longjks_new/genode-13.08_longjks/libports/contrib/stdcxx-4.7.2/src/c++98/allocator-inst.cc:30:18: fatal error: memory: No such file or directory compilation terminated. make[3]: ***

Re: Genode Source building

2013-08-23 Thread Christian Prochaska
Hello, On 08/23/2013 11:54 AM, Venkada Ramanujam wrote: hi, when i put $ make prepare PKG=libc i got following error. checking out 'lib/libutil' to 'contrib/libc-8.2.0/libutil' svn: OPTIONS of 'http://svn.freebsd.org/base/release/8.2.0/lib/libutil': Could not resolve hostname

Re: tool/run: can't cancel 'run_genode_until forever'

2013-08-08 Thread Christian Prochaska
On 08/08/2013 10:53 AM, Martin Stein wrote: When executing a run test that does 'run_genode_until forever' and the test stucks irrecoverable somewhere it's not possible for me to cancel the process via [strg + c] in contrast to the same situation with 'run_genode_until STRING TIMEOUT'. The

Re: Dataspace juju

2013-07-10 Thread Christian Prochaska
Hi Daniel, On 07/09/2013 09:36 PM, Daniel Waddington wrote: Hi, We're having bad juju with dataspaces. As we try larger dataspaces things seem to go wrong (like hanging, bad mappings and exceptions). Can someone check out my test program..

Re: Dataspace juju

2013-07-10 Thread Christian Prochaska
On 10.07.2013 14:10, Christian Prochaska wrote: at an address which is aligned to the dataspace size actually, it's not aligned exactly to the dataspace size, but I don't know the correct wording. What I mean is, that a dataspace of size 102M, for example, will be placed at address 128M

Re: Dataspace juju

2013-07-10 Thread Christian Prochaska
Hi Daniel, On 10.07.2013 16:48, Daniel Waddington wrote: Hi Alex, I see, so there is some 2^N round up. Why is this, I thought it used an AVL tree to manage memory? From my understanding it's a mapping optimization for some kernels. Something like: mapping 64M to another task can be done

Re: Dataspace juju

2013-07-10 Thread Christian Prochaska
() failed but not the page faults. Christian On 10.07.2013 21:52, Daniel Waddington wrote: Hi Christian, But this is 2GB which even rounded up to 128M is 1920MB?? The RAM dataspace should be plenty big enough. Daniel On Wed, 2013-07-10 at 20:26 +0200, Christian Prochaska wrote: Hi Daniel

Re: issue while running arora

2013-06-03 Thread Christian Prochaska
Hello, On 06/03/2013 10:38 AM, Raja Sekhar wrote: Quota exceeded: pci_drv memory for slab: 2048 used quota:313592 ds_size: 1048576 sizeof(Ram_session_component): 248 quota_limit: 806912 that's the problem:

Re: Genode 12.11 on Ubuntu 64 bits: Could not open file ld.lib.so seems to cause black window

2013-01-14 Thread Christian Prochaska
Hello, On 14.01.2013 23:49, Paul Dufresne wrote: First, I did not search yet for issues showing this. It is just a ... hey, that's seems wrong, anyone knows about this?. After my make run/demo on Linux Ubuntu 64 bits, I got a big black window, that was empty so I closed it. if your Ubuntu

Re: Issue in Arora

2012-10-30 Thread Christian Prochaska
Hello, it looks like the currently selected thread in GDB monitor is not the one which got the page fault. You can list the other threads with the info threads command and then choose another thread with the 'thread n' command (for example 'thread 2') and then you can print the backtrace of the

Re: [Question] Genode File/IO sync

2012-09-27 Thread Christian Prochaska
Hello, from your error description alone it's hard to tell what goes wrong. Can you perhaps send us a test program (and run script) where the loss of file content can be observed? The file content should get flushed when closing the file via the 'close()' function. Does your test program do that?

Re: error with using %lld in Genode::printf or sprintf and including sstream

2012-07-10 Thread Christian Prochaska
On 10.07.2012 21:34, Christian Helmuth wrote: Another one is that I get compilation errors as below: error message: /usr/local/genode-gcc/bin/../lib/gcc/arm-elf-eabi/4.6.1/../../../../arm-elf-eabi/lib/libstdc++.a(eh_catch.o): In function '__cxa_begin_catch': (.text.__cxa_begin_catch+0xc0):

Re: Has anyone had success with GCC SVN/4.7

2012-03-19 Thread Christian Prochaska
Hi Taru, On 03/19/2012 05:40 AM, Taru Karttunen wrote: Hello I was hacking around gccgo (go implementation in gcc) and I can get the runtime and the compiler compiled when using gcc-4.7-RC-20120314. But the issue becomes rest of Genode not liking a newer gcc. Has anyone else had success