Trustzone support for QUARTZ64
#3
(07-14-2021, 04:30 PM)CounterPillow Wrote: The board is still in quite an early development phase so I don't think anybody has looked into this yet. You're better off looking into a ROCKPro64 right now.


Hello!



I received my Quartz64 model-A. Booting the Slackware as well as CRUX each with 5.13.0 kernel seems to boot. The serial console is on the UART2 (2x10 PI-2 header pins 8 and 10). I used the SDCard to boot. It would be nice to know if USB and eMMC boots also work.



Each of the two images I tried have Trustzone bootloaders enabled, and that includes OPTEE (BL32 phase) as well! So this is very promising to my requirements for eval/testing/exploring. The userland tee-supplicant and example OPTEE binaries are not included in the image, so I will have to build them.



An aside, for the first boot the Linux OOPS'd and panicked. But just did fsck on each of the partitions on the SDcard, and the board booted all the way in the login prompt, was able to login and look around.



It will help if someone who knows the JTAG/SWD header location and details can share those details. If using openocd then the config file will also help.


Updated  8 Aug 2021:
Attempting to trace the location of the Trusted Firmware A (TF-A) and OP-TEE sources:
  1. https://wiki.pine64.org/wiki/Quartz64_De...ing_Status leads to
  2. http://opensource.rock-chips.com/wiki_Main_Page, which leads to
  3. http://opensource.rock-chips.com/wiki_ATF

The comment on this page is "Rockchip do not provide the ATF source code, you can find the ATF binaries in rkbin repository".
The plat/rockchip directory under mainline the AT=F, https://github.com/ARM-software/arm-trus...t/rockchip, sources does not have an rk3566 folder or an rk folder. Is RK3566's startup the same as one of the rk33's? Which one if so? Or has Rockchip really not released the AT-F source code?

If no sources available for rk3566, it would be disappointing: the chain of trust really depends on trusting RockChip's TF-A binaries, not the solution builder. Also, the Linux part of the userland OP-TEE cannot be built. I wanted to evaluate signed and encrypted boot, which then I cannot.

Does anyone have any comments on this? Will Rockchip ever release these sources? When if so?
  Reply


Messages In This Thread
Trustzone support for QUARTZ64 - by capablegh - 07-14-2021, 01:07 PM
RE: Trustzone support for QUARTZ64 - by capablegh - 08-07-2021, 08:31 AM
RE: Trustzone support for QUARTZ64 - by capablegh - 08-09-2021, 05:33 AM
RE: Trustzone support for QUARTZ64 - by rrollet - 09-15-2022, 02:37 AM
RE: Trustzone support for QUARTZ64 - by diederik - 04-26-2023, 05:20 AM
RE: Trustzone support for QUARTZ64 - by NCLI - 04-26-2023, 05:32 PM
RE: Trustzone support for QUARTZ64 - by diederik - 04-27-2023, 02:35 AM
RE: Trustzone support for QUARTZ64 - by tllim - 04-27-2023, 02:16 PM
RE: Trustzone support for QUARTZ64 - by diederik - 04-27-2023, 02:38 PM
RE: Trustzone support for QUARTZ64 - by NCLI - 04-28-2023, 01:58 AM
RE: Trustzone support for QUARTZ64 - by NCLI - 04-26-2023, 03:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Quartz64 seeming died Darin755 0 157 01-19-2024, 07:29 PM
Last Post: Darin755
  Quartz64 model a neither booting nor resetting without pressing reset button aleix 2 1,191 08-24-2023, 04:52 AM
Last Post: aleix
  Thoughts on repairs for a Quartz64-B beepy 1 794 08-02-2023, 05:02 PM
Last Post: beepy
Question Li-Pol QUARTZ64 Model-B vs Model-A polrus 1 768 07-13-2023, 10:36 PM
Last Post: tllim
  can't get quartz64-A working jyoung 14 4,504 04-29-2023, 04:41 PM
Last Post: diederik
  Booting Quartz64 Model B Jojo120120 14 7,670 01-23-2023, 03:31 AM
Last Post: balbes150
  OpenBSD support? pion 5 3,867 12-23-2022, 11:10 AM
Last Post: TRS-80
  quartz64 model b 2x20 max power proj964 1 1,559 10-23-2022, 05:32 AM
Last Post: CounterPillow
  quartz64 model b 2x20 pin header proj964 1 1,505 10-23-2022, 05:21 AM
Last Post: CounterPillow
  JTAG/SWD on Quartz64 model A capablegh 4 4,796 10-03-2022, 03:16 PM
Last Post: fatalfeel

Forum Jump:


Users browsing this thread: 1 Guest(s)