Re: Porting AGL to BBAI32.

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

 



Oops. See you got it working.
Walt Miner
AGL Community Manager
The Linux Foundation

Visit us at:




On Wed, May 3, 2023 at 7:05 PM Walt Miner via lists.automotivelinux.org <wminer=linuxfoundation.org@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Denys can probably answer this best. I know he was doing some rework of the TI BSPs for the upcoming Octopus release. 

Walt

Walt Miner
AGL Community Manager
The Linux Foundation

Visit us at:




On Sat, Apr 29, 2023 at 2:27 PM Ulises Vega <u.apeiron@xxxxxxxxx> wrote:
Hello everyone,

I hope you are having a wonderful weekend!!!

I'm porting AGL to bbai 32bits

I'm basing my porting in agl_bbe.inc, agl_beaglebone.inc and agl_j721e-evm.inc all of them are in meta-agl/meta-bsp/conf/include starting out previously from the templates at meta-agl/templates/machine/ for bbe and j721e-evm as suggested by Scott Murray in previous post I sent.

I have the following questions. If somebody can help, that would be much appreciated.

Ulises Vega

1.-
The following parameter appears in both agl_bbe.inc, and agl_beaglebone.inc

DISTRO_FEATURES:append = " agl-medium-arm-compiler"

Should I use it for my porting?

2.-
j721e-evm has a:

DEFAULTTUNE:k3r5 = "armv7athf"

1a) I want to find out the appropriate tuning for bbai32?
1b) should I use k3r5 or any other parameter? I know it has neon but I don't know which version?

I looked at this page https://en.wikipedia.org/wiki/Comparison_of_ARM_processors#ARMv7-A
and this one https://www.ti.com/lit/ds/symlink/am5729.pdf?ts=1682760256454
and https://git.yoctoproject.org/poky/plain/meta/conf/machine/include/arm/arch-armv7a.inc

but I don't know which tune to use.

3.-
In order to port AGL to bbai32  i want to know if the following layers are needed:

    ${METADIR}/bsp/meta-sancloud \
    ${METADIR}/bsp/meta-rtlwifi \

I got them from the template of meta-agl/templates/machine/bbe/50_bblayers.conf.inc

4.-
In order to port AGL to bbai32 I wan to enable graphics.


I saw two different configs for bbe PREFERRED_PROVIDER_virtual* are enabled but for bbe but not for beaglebone they are not .So what should I use for bbai32:

#-------------------------------------------------
## Graphics section ##
#-------------------------------------------------
PACKAGES_GFX = "ti-sgx-ddk-km"
IMAGE_INSTALL:append = " ${PACKAGES_GFX}"

# Enable Gfx Pkgs
MACHINE_FEATURES:append = " sgx"
MACHINE_FEATURES:append = " gpu"
BB_MULTI_PROVIDER_ALLOWED += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2"

DEPENDS:remove = "virtual/libgl"

# Preferred providers
PREFERRED_PROVIDER_virtual/libgles1 = ""
PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/egl      = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/libgbm   = "ti-sgx-ddk-um"
PREFERRED_PROVIDER_virtual/mesa     = "mesa-gl"



_._,_._,_

Links:

You receive all messages sent to this group.

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

_._,_._,_

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

  Powered by Linux