Virtual keyboard on Nitpicker

2017-05-22 Thread Johannes Kliemann
Hi,

we want to create a virtual keyboard for touch screen devices. This
shall be done by letting the keyboard provide an input service.
The problem here is that Nitpicker only provides input to the currently
active client. Since the keyboard needs to receive input events from the
touch screen, with this policy it would also receive its own sent keys.
We need a way to send these keys to another client while still receiving
further touch input.
How can this be done without compromising current security mechanism or
creating unnecessary large pieces of trusted code?

Regards
JK

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


Re: tool_chain for 64 bit

2017-05-22 Thread Christian Prochaska
Hi Boris,

On 22.05.2017 12:07, Boris Mulder wrote:
> I'm trying to compile the new toolchain using tool/tool_chain x86.
> However, it gives the following error:

does the attached patch help?

It might be necessary to delete the tool chain build directory before
running the tool_chain script again.

Christian
disable multilib support for the bootstrap tool chain

From: Christian Prochaska 


---
 tool/tool_chain |3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tool/tool_chain b/tool/tool_chain
index 4b466c1..dc5ebed 100755
--- a/tool/tool_chain
+++ b/tool/tool_chain
@@ -184,7 +184,8 @@ export MAKEFLAGS
 endif
 
 COMMON_BOOTSTRAP_CONFIG = $(CONFIG_QUIET) \
-  --prefix=$(LOCAL_BOOTSTRAP_INSTALL_LOCATION)
+  --prefix=$(LOCAL_BOOTSTRAP_INSTALL_LOCATION) \
+  --disable-multilib
 
 BINUTILS_BOOTSTRAP_CONFIG += $(COMMON_BOOTSTRAP_CONFIG)
 
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


Re: nic_drv crashes with resource request

2017-05-22 Thread Christian Helmuth
Hello Boris,

On Mon, May 22, 2017 at 10:24:32AM +0200, Boris Mulder wrote:
> When I try to run my scenario under the latest master branch, the
> nic_drv stops working with the following message:
> 
> [init] child "nic_drv" announces service "Nic"
> [init -> nic_drv] resource_request: ram_quota=1642496
> [init -> nic_drv] used before freeing emergency=2478080
> [init -> nic_drv] used after freeing emergency=2461696
> [init] child "nic_drv" requests resources: ram_quota=1642496

Unfortunately, I can't reproduce this issue with master (f6386c6ce1)
and "make run/lwip KERNEL=nova". Could you please provide a bit more
context about the used test case and hardware configuration? Does any
other component complain about insufficient RAM?

Regards
-- 
Christian Helmuth
Genode Labs

https://www.genode-labs.com/ · https://genode.org/
https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth

--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


tool_chain for 64 bit

2017-05-22 Thread Boris Mulder
I'm trying to compile the new toolchain using tool/tool_chain x86.
However, it gives the following error:

configuring bootstrap gcc...
The following languages will be built: c,ada,c++,lto
*** This configuration is not supported in the following subdirectories:
 target-libquadmath gotools target-libgfortran target-libgo
target-libffi target-zlib target-libjava target-libobjc target-libgomp
target-libcilkrts target-liboffloadmic target-libatomic target-libitm
target-libsanitizer target-libmpx target-libssp target-boehm-gc
(Any other directories should still work fine.)
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find crt1.o: No such file or directory
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find crti.o: No such file or directory
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching
for -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when
searching for -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc.a when searching
for -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: skipping
incompatible /usr/lib/gcc/x86_64-linux-gnu/4.8/libgcc_s.so when
searching for -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find -lgcc_s
/home/boris/projects/l2-17.05/build/bootstrap/install/bin/ld: cannot
find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
configure: error: I suspect your system does not have 32-bit development
libraries (libc and headers). If you have them, rerun configure with
--enable-multilib. If you do not have them, and want to build a
64-bit-only compiler, rerun configure with --disable-multilib.

I don't need the 32 bit stuff. However, I have no idea in which
configure scripts this should be put. What do I need to do to build the
toolchain for 64 bit?

-- 

Met vriendelijke groet / kind regards,

Boris Mulder

Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands
+31 35 631 3253 (office)


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main


nic_drv crashes with resource request

2017-05-22 Thread Boris Mulder
Hello,

When I try to run my scenario under the latest master branch, the
nic_drv stops working with the following message:

[init] child "nic_drv" announces service "Nic"
[init -> nic_drv] resource_request: ram_quota=1642496
[init -> nic_drv] used before freeing emergency=2478080
[init -> nic_drv] used after freeing emergency=2461696
[init] child "nic_drv" requests resources: ram_quota=1642496

I've tried giving it and its client (in this case vfs with lxip) more
RAM, but to no avail. Currently the config looks like this:



  








   
   





 



  




What could I be doing wrong?

-- 

Met vriendelijke groet / kind regards,

Boris Mulder

Cyber Security Labs B.V. | Gooimeer 6-31 | 1411 DD Naarden | The Netherlands
+31 35 631 3253 (office)


--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
___
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main