Re: Develop TrustZone for iMX6

2015-04-28 Thread Christian Helmuth
Hello bharath, On April 29, 2015 6:55:01 AM CEST, bharath wrote: >> please, follow Martin's advice and do not use the outdated RUN_OPT >> setting when using u-boot. If you replace it like this: > >> RUN_OPT += --include image/uboot > >> You will even find a uImage in your 'var/run/tz_vmm_mx6' fo

Develop TrustZone for iMX6

2015-04-28 Thread bharath
> please, follow Martin's advice and do not use the outdated RUN_OPT > setting when using u-boot. If you replace it like this: > RUN_OPT += --include image/uboot > You will even find a uImage in your 'var/run/tz_vmm_mx6' folder. Sorry I > was not recognizing that you were using the old, invalid

Re: run scripts not working

2015-04-28 Thread Nobody III
No. I was hoping I wouldn't need to do that. I'll try it. Thanks! On Apr 28, 2015 12:45 AM, "Stefan Kalkowski" < stefan.kalkow...@genode-labs.com> wrote: > Hi, > > On 04/28/2015 06:37 AM, Nobody III wrote: > > I updated to the latest git version of Genode, then tried to build the > > demo scenario

synchronization between normal and secure world

2015-04-28 Thread Stefan Brenner
Hi, just a short question, I am using the TZ VMM example on i.MX53. How can I syncronize accesses to a shared memory range between secure world and normal world? I would be interested in a mutex that can be acquired both from Genode in secure world, as well as from Linux in normal world. Ciao --

Re: Develop TrustZone for iMX6

2015-04-28 Thread Stefan Kalkowski
Hi, On 04/28/2015 01:26 PM, bharath wrote: >> Hi Bharath, Stefan > >> Although Stefan is absolutely right, I'd like to suggest you to NOT >> modify the "RUN_OPT = --target uboot" lines to "RUN_OPT += --target >> uboot" but to remove them from your build.conf. The "--target uboot" >> would be igno

Develop TrustZone for iMX6

2015-04-28 Thread bharath
> Hi Bharath, Stefan > Although Stefan is absolutely right, I'd like to suggest you to NOT > modify the "RUN_OPT = --target uboot" lines to "RUN_OPT += --target > uboot" but to remove them from your build.conf. The "--target uboot" > would be ignored by the run tools anyway and this way you keep y

Re: Develop Trustzone support for imx6

2015-04-28 Thread Martin Stein
Hi Bharath, Stefan On 28.04.2015 10:29, Stefan Kalkowski wrote: > Your problem lies in here: > >> RUN_OPT = --target uboot >> RUN_OPT = --target uboot > > You have overwritten the definition of RUN_OPT above (namely: RUN_OPT = > --include boot_dir/hw). When you just change it to: > > RUN_OPT

Re: Develop Trustzone support for imx6

2015-04-28 Thread Stefan Kalkowski
Hi, On 04/28/2015 09:38 AM, bharath wrote: > Stefan Kalkowski writes: > >> >> Hi, >> >> On 04/28/2015 07:20 AM, bharath wrote: >>> [1] $BUILD_DIR/etc/build.conf >> >> can please post this file to the list? >> >> Regards >> Stefan >> > > Hi Stefen, > > BUILD_DIR/etc/build.conf contains: > > GE

Re: TrustZone image problem

2015-04-28 Thread bharath
> Hi Bharath, > Please verify if your build directory has enough space. If it has 100% > utilization, it would have created a truncated uboot image. > Hope this helps, > Thanks > Vasan Hi Vasan, You are saying about enough space in my system where I am building the uImage right? If that is

Re: Develop Trustzone support for imx6

2015-04-28 Thread bharath
Stefan Kalkowski writes: > > Hi, > > On 04/28/2015 07:20 AM, bharath wrote: > > [1] $BUILD_DIR/etc/build.conf > > can please post this file to the list? > > Regards > Stefan > Hi Stefen, BUILD_DIR/etc/build.conf contains: GENODE_DIR= genode-hw_sabrelite_tz_support BASE_DIR = $(GE