Re: Noux application

2015-11-20 Thread Martin Stein
Hey Joseph, Am 19.11.2015 um 13:44 schrieb Joseph Lee: > I just want to let only Genode to access the ESDHC and run tz_vmm > successfully without generating data abort exception . Can i disable the > ESDHC in the Linux kernel so that the Linux (unsecure side) can't > request to access the ESDHC. P

Re: Noux application

2015-11-19 Thread Joseph Lee
Hi Martin, I really appreciate your kind response. I just want to let only Genode to access the ESDHC and run tz_vmm successfully without generating data abort exception . Can i disable the ESDHC in the Linux kernel so that the Linux (unsecure side) can't request to access the ESDHC. Please let m

Re: Noux application

2015-11-19 Thread Martin Stein
Hey Joseph, Am 19.11.2015 um 01:58 schrieb Joseph Lee: > the problem was that the SDHC driver timed out which then generates the > "Completion host signal timed out" error message. It is solved by replacing > >if (!wait_for(irq_goal, _delayer)) { > PERR("Completion host signal timed ou

Re: Noux application

2015-11-18 Thread Joseph Lee
Hi Martin, On Mon, Nov 16, 2015 at 12:37 PM, Martin Stein wrote: > Hi Joseph, > > Am 15.11.2015 um 03:05 schrieb Joseph Lee: > > Hi Martin, thank you so much! it works for me. > > Nice! Could you please also share with us what the problem was and what > solved it. > the problem was that the SDH

Re: Noux application

2015-11-16 Thread Martin Stein
Hi Joseph, Am 15.11.2015 um 03:05 schrieb Joseph Lee: > Hi Martin, thank you so much! it works for me. Nice! Could you please also share with us what the problem was and what solved it. > Now I just need to use the sd_card driver with Genode trustzone feature > (hw_imx53_qsb_tz). I tried to inco

Re: Noux application

2015-11-14 Thread Joseph Lee
Hi Martin, thank you so much! it works for me. Now I just need to use the sd_card driver with Genode trustzone feature (hw_imx53_qsb_tz). I tried to incorporate sd_card driver with tz_vmm run script and make run/tz_vmm. I get the following log messages and it gets stuck. it doesn't even run tz_vmm

Re: Noux application

2015-11-11 Thread Martin Stein
Hey Joseph, Am 11.11.2015 um 00:53 schrieb Joseph Lee: > Can anyone please tell me something about 'Completion host signal timed out' > error message? You get this message because the SDHC driver timed out when waiting for the host state that signals that both the command and the transfer of a

Re: Noux application

2015-11-10 Thread Joseph Lee
Hi, This is the whole log message attached in the previous email. I think the log message might show the components that are included in the run script. Can anyone please tell me something about 'Completion host signal timed out' error message? Starting kernel ... kernel initialized Genode 15.08

Re: Noux application

2015-11-06 Thread Joseph Lee
Hi, Thanks a lot Martin. it works. Now I try to modify the sd_card.run script based on what Christian mentioned above and make run/sd_card again. I get an error log message "Completion host signal timed out ". I have attached the whole log message here. I appreciate if you can tell me what is miss

Re: Noux application

2015-11-05 Thread Martin Stein
Hi Joseph Am 05.11.2015 um 00:52 schrieb Joseph Lee: > I just try "make run/sd_card" on imx53QSB using this branch > (https://github.com/m-stein/genode/commits/1497_usb_armory_demo) > This working branch is a good starting point as

Re: Noux application

2015-11-04 Thread Joseph Lee
Hi Christian, Thank you for your explanation! I just try "make run/sd_card" on imx53QSB using this branch ( https://github.com/m-stein/genode/commits/1497_usb_armory_demo) it displays the following log messages and hangs. It doesn'

Re: Noux application

2015-11-02 Thread Christian Helmuth
Hello Joseph, On Tue, Nov 03, 2015 at 01:31:55AM +0100, Joseph Lee wrote: > I have one more question. i know that ram__fs file system creates a storage > area in RAM and will continue using it util the system runs out of RAM. So > when i put a large file in the file system it says out of memory.

Re: Noux application

2015-11-02 Thread Joseph Lee
Hi Christian, I have one more question. i know that ram__fs file system creates a storage area in RAM and will continue using it util the system runs out of RAM. So when i put a large file in the file system it says out of memory. Could you please tell me maybe if there is a way to store a large

Re: Noux application

2015-10-29 Thread Joseph Lee
Hi Christian, Thank you so much! it works now. Best regards, On Thu, Oct 29, 2015 at 9:47 AM, Christian Helmuth < christian.helm...@genode-labs.com> wrote: > Hello Joseph, > > congrats that you managed to access the file system. > > On Wed, Oct 28, 2015 at 07:33:26PM +0100, Joseph Lee wrote: >

Re: Noux application

2015-10-29 Thread Christian Helmuth
Hello Joseph, congrats that you managed to access the file system. On Wed, Oct 28, 2015 at 07:33:26PM +0100, Joseph Lee wrote: > Now it works. There was a problem with the file system (ram_fs) > configuration in the run script. But it only works when i perform the file > access inside the *main()

Re: Noux application

2015-10-28 Thread Joseph Lee
Hi Christian, Thank you so much! Now it works. There was a problem with the file system (ram_fs) configuration in the run script. But it only works when i perform the file access inside the *main()* function of tz_vmm. it generates the following error when i try to access the file inside *_handle

Re: Noux application

2015-10-27 Thread Christian Helmuth
Hello Joseph, On Mon, Oct 26, 2015 at 03:28:40PM +0100, Joseph Lee wrote: > please find attached patches for Genode 15.08. Your patches do not apply to Genode 15.08. Therefore, I assume you're using the genode/master branch. Also, what your patches are missing is a simple test case in terms of a

Re: Noux application

2015-10-26 Thread Joseph Lee
Hi Christian, please find attached patches for Genode 15.08. Thanks, On Mon, Oct 26, 2015 at 1:25 PM, Christian Helmuth < christian.helm...@genode-labs.com> wrote: > Hello, > > see my answer below the quoted text. > > On Mon, Oct 26, 2015 at 12:54:13PM +0100, Joseph Lee wrote: > > Here is the

Re: Noux application

2015-10-26 Thread Christian Helmuth
Hello, see my answer below the quoted text. On Mon, Oct 26, 2015 at 12:54:13PM +0100, Joseph Lee wrote: > Here is the code that i put in tz_vmm. > > int fd; > char buffer[10]; > char const *file_name = "/home/test.txt"; > >if( ( fd = open(file_name, O_WRONLY | O_CREAT) ) != -1 )

Re: Noux application

2015-10-26 Thread Joseph Lee
Hi, Here is the code that i put in tz_vmm. int fd; char buffer[10]; char const *file_name = "/home/test.txt"; if( ( fd = open(file_name, O_WRONLY | O_CREAT) ) != -1 ) write( fd, "TEST ", 4 ); else printf("File could not be opened"); close( fd );

Re: Noux application

2015-10-26 Thread Christian Helmuth
Hello, On Fri, Oct 23, 2015 at 12:44:52AM +0200, Joseph Lee wrote: > I am trying to test the techniques you mentioned about accessing a function > of a Noux process from tz_vmm. I put a file in a ram_fs and allow access to > both my noux process and tz_vmm. When i run the uImage, the file is > acc

Re: Noux application

2015-10-22 Thread Joseph Lee
Hi Christian, Thank you for your answers. it really helps me out a lot. I am trying to test the techniques you mentioned about accessing a function of a Noux process from tz_vmm. I put a file in a ram_fs and allow access to both my noux process and tz_vmm. When i run the uImage, the file is acces

Re: Noux application

2015-10-20 Thread Christian Helmuth
Hello Joseph, On Tue, Oct 20, 2015 at 05:15:29PM +0200, Joseph Lee wrote: > Now i am trying implement the solution you have suggested me, but I have an > error. I place a file in a ram_fs file system and permit access to the file > system to a Noux process. I got the following log messages when I

Re: Noux application

2015-10-20 Thread Joseph Lee
2015 at 12:31:09PM +0200, Joseph Lee wrote: > > I am running a simple "tz_vmm" example in Genode on imx53 qsb. I have > Noux > > application which runs on top of Noux runtime inside the secure world. I > > wanted to access this Noux applications inside tz_vmm application,

Re: Noux application

2015-10-19 Thread Christian Helmuth
Hello Joseph, On Sat, Oct 17, 2015 at 12:31:09PM +0200, Joseph Lee wrote: > I am running a simple "tz_vmm" example in Genode on imx53 qsb. I have Noux > application which runs on top of Noux runtime inside the secure world. I > wanted to access this Noux applications inside

Noux application

2015-10-17 Thread Joseph Lee
Hi everyone, I am running a simple "tz_vmm" example in Genode on imx53 qsb. I have Noux application which runs on top of Noux runtime inside the secure world. I wanted to access this Noux applications inside tz_vmm application, calling a function of Noux application from tz_vmm code.