Hello all,
I am currently working on TZ_VMM on the imx6 platform. Though the majority of the code is extremely similar to the imx53 port that is already present, there is a problem that arises due to the TrustZone Protection Controller for imx6.
The address for the TZPC for imx6 is different from the TZPC of imx53 and the Versatile Express ports that already exist in Genode, so these addresses do not work when I used them.
The TZPC base address for imx6 is not provided in the Freescale documentation or on the ARM infocenter. I was wondering if you guys can give me any ideas on how to go about solving this issue.
Thanks,
-- Best regards, Swaminathan Ramesh
Hi Swaminathan,
Have you tried Freescale's i.MX community forum: https://community.freescale.com/community/imx/content In my experience the activity of Freescale insiders in the forum is a little low but it's worth a try.
Another possibility might be the source code of Linux respectively U-Boot. I didn't found TZPC information on a quick grep over my git clones but there might exist other branches in the net that are more up-to-date or even dedicated to i.MX6.
Best regards, Martin
On 10.12.2014 07:07, Swaminathan Ramesh wrote:
Hello all,
I am currently working on TZ_VMM on the imx6 platform. Though the majority of the code is extremely similar to the imx53 port that is already present, there is a problem that arises due to the TrustZone Protection Controller for imx6.
The address for the TZPC for imx6 is different from the TZPC of imx53 and the Versatile Express ports that already exist in Genode, so these addresses do not work when I used them.
The TZPC base address for imx6 is not provided in the Freescale documentation or on the ARM infocenter. I was wondering if you guys can give me any ideas on how to go about solving this issue.
Thanks,
-- Best regards, Swaminathan Ramesh
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.cl...
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi,
On 12/10/2014 07:07 AM, Swaminathan Ramesh wrote:
Hello all,
I am currently working on TZ_VMM on the imx6 platform. Though the majority of the code is extremely similar to the imx53 port that is already present, there is a problem that arises due to the TrustZone Protection Controller for imx6.
The address for the TZPC for imx6 is different from the TZPC of imx53 and the Versatile Express ports that already exist in Genode, so these addresses do not work when I used them.
Well, the i.MX53 has no ARM TrustZone protection controller (TZPC) in contrast to the Versatile Express board at all. It has a central security unit (CSU) instead, which is a component developed by Freescale. It works completely different from the TZPC, although it fulfills similar functions.
The TZPC base address for imx6 is not provided in the Freescale documentation or on the ARM infocenter. I was wondering if you guys can give me any ideas on how to go about solving this issue.
The base address is not given due to the absent of that device in i.MX6 processors. A look at the reference manual reveals that it uses the CSU too (base address: 0x021C0000). The ARM infocenter will never help you with regard to the memory map of a Freescale SoC.
By the way, don't expect the CSU code present in Genode for the i.MX53 to work on the i.MX6 without modifications!! It will not work. The CSU logic will be the same, but what device is controlled by which CSU register is completely dependent on the SoC integration. You have to consider the Security Reference Manual for i.MX6:
https://www.freescale.com/webapp/Download?colCode=IMX6DQ6SDLSRM&appType=...
Regards Stefan
Thanks,
-- Best regards, Swaminathan Ramesh
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.cl...
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hi,
On 12/10/2014 09:17 AM, Martin Stein wrote:
Hi Swaminathan,
Have you tried Freescale's i.MX community forum: https://community.freescale.com/community/imx/content In my experience the activity of Freescale insiders in the forum is a little low but it's worth a try.
Another possibility might be the source code of Linux respectively U-Boot. I didn't found TZPC information on a quick grep over my git clones but there might exist other branches in the net that are more up-to-date or even dedicated to i.MX6.
I doubt that you will find information regarding special TrustZone security hardware within the Linux source code. AFAIK they don't make use of it.
Regards Stefan
Best regards, Martin
On 10.12.2014 07:07, Swaminathan Ramesh wrote:
Hello all,
I am currently working on TZ_VMM on the imx6 platform. Though the majority of the code is extremely similar to the imx53 port that is already present, there is a problem that arises due to the TrustZone Protection Controller for imx6.
The address for the TZPC for imx6 is different from the TZPC of imx53 and the Versatile Express ports that already exist in Genode, so these addresses do not work when I used them.
The TZPC base address for imx6 is not provided in the Freescale documentation or on the ARM infocenter. I was wondering if you guys can give me any ideas on how to go about solving this issue.
Thanks,
-- Best regards, Swaminathan Ramesh
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.cl...
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.cl...
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
Hello Stefan,
Thank you very much for your response. I will work on the CSU implementation for imx6 from the Security Reference manual and let you know how it progresses
-- Best regards, Swaminathan Ramesh
On Wed, Dec 10, 2014 at 2:30 PM, Stefan Kalkowski < stefan.kalkowski@...1...> wrote:
Hi,
On 12/10/2014 07:07 AM, Swaminathan Ramesh wrote:
Hello all,
I am currently working on TZ_VMM on the imx6 platform. Though the majority of the code is extremely similar to the imx53 port that is already present, there is a problem that arises due to the TrustZone Protection Controller for imx6.
The address for the TZPC for imx6 is different from the TZPC of imx53 and the Versatile Express ports that already exist in Genode, so these addresses do not work when I used them.
Well, the i.MX53 has no ARM TrustZone protection controller (TZPC) in contrast to the Versatile Express board at all. It has a central security unit (CSU) instead, which is a component developed by Freescale. It works completely different from the TZPC, although it fulfills similar functions.
The TZPC base address for imx6 is not provided in the Freescale documentation or on the ARM infocenter. I was wondering if you guys can give me any ideas on how to go about solving this issue.
The base address is not given due to the absent of that device in i.MX6 processors. A look at the reference manual reveals that it uses the CSU too (base address: 0x021C0000). The ARM infocenter will never help you with regard to the memory map of a Freescale SoC.
By the way, don't expect the CSU code present in Genode for the i.MX53 to work on the i.MX6 without modifications!! It will not work. The CSU logic will be the same, but what device is controlled by which CSU register is completely dependent on the SoC integration. You have to consider the Security Reference Manual for i.MX6:
https://www.freescale.com/webapp/Download?colCode=IMX6DQ6SDLSRM&appType=...
Regards Stefan
Thanks,
-- Best regards, Swaminathan Ramesh
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.cl...
genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main
-- Stefan Kalkowski Genode Labs
http://www.genode-labs.com/ · http://genode.org/
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.cl... _______________________________________________ genode-main mailing list genode-main@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/genode-main