Re: [agl-dev-community] AGL with OPTEE on Raspberry Pi 3 #help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Please keep in mind that AGL is significantly different from Raspbian. A walk-through for building AGL from scratch for Raspberry Pi 3 and 4 is available at the following links:
https://wiki.automotivelinux.org/agl-distro/agl-raspberrypi
https://docs.automotivelinux.org/docs/en/master/getting_started/reference/getting-started/machines/raspberrypi.html

Best regards,
Leon

On 2.03.20 г. 21:12 ч., danojib@xxxxxxxxx wrote:

Hi everyone. I'm totally new to this mailing list and not even sure if this is the right way to ask question. I'm currently trying to put OPTEE and AGL together on Raspberry Pi 3. There's a github repo that combined OPTEE with Raspbian (https://github.com/benhaz1024/raspbian-tee). I've been following the similar procedures. It looks like I can run the optee_example_hello_world, but now the issue is that I don't see the homescreen anymore. I can only access its shell via USB serial, and the screen hangs in the middle of booting log (always at the same spot, shown below).

[ 21.773144] Bluetooth: HCI UART driver ver 2.3
[ 21.777909] Bluetooth: HCI UART protocol H4 registered
[ 21.783272] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 21.814435] Bluetooth: HCI UART protocol Broadcom registered
[ 21.971751] Bluetooth: RFCOMM TTY layer initialized
[ 21.986261] Bluetooth: RFCOMM socket layer initialized
[ 21.991673] Bluetooth: RFCOMM ver 1.11
(Blinking cursor here)


FYI, these are newly added files (which are outcome of build) to the SD card (besides tee-related files):

/boot/armstub8.bin
/boot/uboot.env
/root/lib/modules/4.14.98-v7/*

and these are overwritten files:

/boot/bcm2710-rpi-3-b.dtb
/boot/bcm2710-rpi-3-b-plus.dtb
/boot/config.txt
/boot/uImage

In case anyone's wondering, I've also copied the full boot log of both pure AGL and AGL with OPTEE.
AGL: https://pastebin.com/a6YzqKJk

AGL+OPTEE: https://pastebin.com/hNUv63aD

What I can guess is after OPTEE stuff is copied over to the SD card, the modules that were used in the pure AGL is not used anymore. The pure AGL module version is 4.9.80, while the newly added one says 4.14.98-v7. It looks like Weston is what GUI is related, and it isn't included in the new directory.

I'm using pre-built image (6.99.5-agl-demo-platform-crosssdk-raspberrypi3.wic). Can anyone help me walk through?


-- 
Leon Anavi
Software Engineer
konsulko.com
_._,_._,_

Links:

You receive all messages sent to this group.

View/Reply Online (#8127) | Reply To Group | Reply To Sender | Mute This Topic | New Topic
Mute #help
Your Subscription | Contact Group Owner | Unsubscribe [list-automotive-discussions82@xxxxxxxxxxx]

_._,_._,_

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux