Gateworks / uboot-venice

U-Boot Bootloader for Venice
1 stars 2 forks source link

Problem with adding OP-TEE to venice #2

Open pcichowski opened 1 year ago

pcichowski commented 1 year ago

Hi there, I am trying to add OP-TEE to Gateworks Venice GW73xx-0x i.MX8MM closely following this wiki article: http://trac.gateworks.com/wiki/venice/tee. I flash the firmware using the JTAG adapter. This problem is caused only when using SPD=opteed as a make argument for atf.

The machine is getting stuck on U-Boot, DRAM: specifically, restarting each time after a timeout. Logs:

U-Boot SPL 2021.07-g54ac394a7c-dirty (Sep 29 2022 - 15:21:57 +0200)
GSCv3   : v57 0x12aa RST:VIN Thermal protection:disabled 
RTC     : 1970-01-01   0:15:35 UTC
Model   : GW7300-00-B1B
Serial  : 852419
MFGDate : 11-13-2020
PMIC    : MP5416
DRAM    : LPDDR4 1 GiB
WDT:   Started with servicing (60s timeout)
Trying to boot from MMC1
DTB     : imx8mm-venice-gw73xx-0x
NOTICE:  BL31: v2.2(release):a9caa2cbe
NOTICE:  BL31: Built : 15:21:54, Sep 29 2022
I/TC: 
I/TC: Non-secure external DT found
I/TC: OP-TEE version: lf-5.10.52-2.1.0-rc2 (gcc version 10.4.0 (Buildroot 2022.05.2-207-g0d88416993)) #1 czw, 29 wrz 2022, 11:49:56 UTC aarch64
I/TC: Primary CPU initializing
I/TC: Primary CPU switching to normal world boot

U-Boot 2021.07-g54ac394a7c-dirty (Sep 29 2022 - 15:21:57 +0200)

CPU:   Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)
CPU:   Industrial temperature grade (-40C to 105C) at 47C
Reset cause: POR
Model: Gateworks Venice GW73xx-0x i.MX8MM Development Kit
DRAM:  

I do not know if this is a good place to ask, but no resources or solutions online seem to resolve this issue. Kind regards, Paweł

Gateworks commented 1 year ago

Paweł

Please send your question to @.*** and/or the U-Boot mailing list. Feel free to cc me. Secure boot and OP-TEE are a complicated topic that is not well documented and how to use it differs depending on the versions of ATF/OP-TEE/U-Boot you are using.

Best Regards,

Tim

Tim Harvey Software Engineer Gateworks Corporation (805)781-2000 x18 3026 S. Higuera, San Luis Obispo, CA 93401 www.gateworks.com

On Thu, Sep 29, 2022 at 6:44 AM Paweł Cichowski @.***> wrote:

Hi there, I am trying to add OP-TEE to Gateworks Venice GW73xx-0x i.MX8MM closely following this wiki article: http://trac.gateworks.com/wiki/venice/tee. I flash the firmware using the JTAG adapter. This problem is caused only when using SPD=opteed as a make argument for atf.

The machine is getting stuck on U-Boot, DRAM: specifically, restarting each time after a timeout. Logs:

U-Boot SPL 2021.07-g54ac394a7c-dirty (Sep 29 2022 - 15:21:57 +0200)

GSCv3 : v57 0x12aa RST:VIN Thermal protection:disabled

RTC : 1970-01-01 0:15:35 UTC

Model : GW7300-00-B1B

Serial : 852419

MFGDate : 11-13-2020

PMIC : MP5416

DRAM : LPDDR4 1 GiB

WDT: Started with servicing (60s timeout)

Trying to boot from MMC1

DTB : imx8mm-venice-gw73xx-0x

NOTICE: BL31: v2.2(release):a9caa2cbe

NOTICE: BL31: Built : 15:21:54, Sep 29 2022

I/TC:

I/TC: Non-secure external DT found

I/TC: OP-TEE version: lf-5.10.52-2.1.0-rc2 (gcc version 10.4.0 (Buildroot 2022.05.2-207-g0d88416993)) #1 czw, 29 wrz 2022, 11:49:56 UTC aarch64

I/TC: Primary CPU initializing

I/TC: Primary CPU switching to normal world boot

U-Boot 2021.07-g54ac394a7c-dirty (Sep 29 2022 - 15:21:57 +0200)

CPU: Freescale i.MX8MMQ rev1.0 1600 MHz (running at 1200 MHz)

CPU: Industrial temperature grade (-40C to 105C) at 47C

Reset cause: POR

Model: Gateworks Venice GW73xx-0x i.MX8MM Development Kit

DRAM:

I do not know if this is a good place to ask, but no resources or solutions online seem to resolve this issue. Kind regards, Paweł

— Reply to this email directly, view it on GitHub https://github.com/Gateworks/uboot-venice/issues/2, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABAJETDPBH5SFGTS2X45QCDWAWMLDANCNFSM6AAAAAAQYZISYQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>