[meta-freescale] Recipe for building atf with yocto?

2019-04-16 Thread john matt
Hi All,

When I build Yocto 2.5, it builds binaries for  legacy u-boot.  For some
reason, I need to use TF-A (Trusted firrmware) based u-boot for my Yocto
build.I am wondering how if there are recipes for building atf in current
Yocto?

Thanks,
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Which version of Yocto support ATF?

2019-04-09 Thread john matt
Hi All,

I am new to ATF, and I know NXP released sdk that supports ATF. I am
wondering if yocto supports ATF? If so which version supports atf?

Thanks,
J.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Adding Soft Parser Configuration tool to Yocto build for LS1088ARDB?

2019-02-27 Thread john matt
 Hi All,

It looks like NXP has a tool that I need, and this tool is called SPC. I
have not been able to find a way to add the SPC into my Yocto build?  I am
wondering if anyone has done a recipe for integrating SPC into Yocto build?

Here is the SPC source code:
git clone https://source.codeaurora.org/external/qoriq/qoriq-components/spc

-b LSDK-18.12

Thank you in advance.
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] repo sync --no-clone-bundle is stuck at "Fetching project meta-virtualization"

2019-02-15 Thread john matt
Hi All,

I am trying to get Yocto build going on, and my repo sync command is stuck
at "Fetching project meta-virtualization".

Any ideas?

[image: image.png]
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] U-boot for custom board based on LS1088

2019-02-13 Thread john matt
Hi All,

I have successfully used Yocto to generate Linux kernel and Linux OS for my
LS1088-ARDB.

1) I am wondering what is the best way to customize (or port) U-boot to my
a custom board based on LS1088?

2) I am also wondering what are the differences between following files
(u-boot files) generated from my Yocto?

u-boot.bin
u-boot.bin-qspi
u-boot.bin-sdcard-qspi
u-boot-ls1088ardb.bin
u-boot-ls1088ardb.bin-qspi
u-boot-ls1088ardb.bin-sdcard-qspi
u-boot-ls1088ardb.bin-secure-qspi

Thank you in advance

Thanks,
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Cross compiling DPDK example from Yocto eSDK

2019-02-07 Thread john matt
Hi All,


I am trying to cross-compile Hello World app for DPDK using the Yocto
generated eSDK. I am using the hello world example for DPDK  here (
https://github.com/scylladb/dpdk/tree/master/examples/helloworld), and I
try to cross-compile it.

I am getting an error saying that please define "RTE_SDK" environment
variable. Any suggestions?

PS: My goal is to compile DPDK examples for LS1088-ARDB which is running
Yocto generated Linux QoriQ distro. If there are better ways of developing
applications for DPDK on LS1088-ARDB, please let me know.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Custom frames are being dropped on Management Complex/DPAA2 driver of LS1088-ARDB

2019-01-25 Thread john matt
HI NXP gurus,

I need your insight and suggestions on the following problem.

I created following a custom ethernet frame, and I am using raw sockets to
send/receive them using standard Linux. I built sender/receiver using
standard Linux raw socket functions, and sender/receiver works perfectly on
standard Linux machine.

When I run my receiver on LS1088-ARDB distro built using Yocto, I am not
getting any packets at all.  I am thinking that Management Complex/DPAA2
driver is dropping my custom packets. Any ideas/

[image: image.png]
Thank you all in advance,

Regards,
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] CONFIG_DYNAMIC_DEBUG not picking up on QORIQ demo

2019-01-24 Thread john matt
Hi All,

I am using https://source.codeaurora.org/external/qoriq/, and I am able to
build the Linux image. I want to enable the CONFIG_DYNAMIC_DEBUG. I did
followed the instructions by creating  deb.cfg file, and I added my own
bbappend file. However, for some reason, the CONFIG_DYNAMIC_DEBUG is not
being added to the kernel after I compile.

Any suggestions regarding this?

Surely, it should be a simple *bbappend file as follows.

FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://deb.cfg"
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Compiling AIOPSL "Hello World" on Linux Created with Yocto 2.5

2019-01-14 Thread john matt
Hi All,

I am trying to compile apps in aiopsl/apps at integration · qoriq
-open-source/aiopsl · GitHub


What is the easy way to compile (surely cross-compile) and run the AIOPSL
"Hello World" app on Linux distro created with Yocto on LS1088ARDB ? I know
there are a couple of pre created *elf files in the AIOPSL which are loaded
with AIOP_TOOL. I am under the assumption that I also need to create ELF
for the Hello World app, and I am not sure how to do it.

I have created a eSDK from my Yocto build, but it seems the headers for
AIOPSL is not included in my toolchain. For example, I could not find the
following headers in my eSDK.


#include "common/fsl_string.h"
#include "fsl_sys.h"
#include "fsl_dbg.h"

#include "apps.h"


Thanks in advance

John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Configuring WRIOP on LS1088ARDB

2019-01-14 Thread john matt
Hi All,

I am new to the networking using WRIOP on LS1088. I have successfully
compiled the Yocto project, and I was able to boot my LS1088ARDB using the
latest distro (Yocto 2.5) .

I do have a basic question regarding the WRIOP on LS1088ARDB.

Basically, I am trying to write the packets coming from the ingress flow to
a DDR memory of LS1088ARDB, and I want to read those packets from an
application.

I know there are multiple ways of achieving this, and so far the knowledge
that we gathered says that we can configure the WRIOP to write the packets
to DDR.
However, so far I failed to locate an instruction that tells me exactly how
to configure the WRIOP to write the packets to DDR?  I know WRIOP has its
internal buffer management (QMan, BMan), but I want to just write the
packets from ingress flow to DDR, and read them back with our without Qman.

Thanks,
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] A simple example of using AIOP on LS1088ARDB board?

2019-01-11 Thread john matt
Hi Zhenhuam

Thank you very much for quick response. I do have  quick follow up
question.  What I am trying to achieve is to write the packets from ingress
flow to the DDR, and read those packets from my application.

How to configure the WRIOP to write packets coming from ETH8 of LS1088ardb
to a memory address at X (Assume X is any valid memory address in DDR)? I
know WRIOP has Buffer manager and allocates memory, and might be writing
the data already to DDR to some memory address. So my question is how to
set this address in DDR and size of this buffer in user space? I have tried
"restool", and I also explored the objects created by restool. I have not
able to find any definite reference that points me to set the address and
size of the buffer pool for the ingress flow (incoming packets).

Kind  regards,
John.


On Thu, Jan 10, 2019 at 6:58 PM Zhenhua Luo  wrote:

> The detailed guide of AIOP is available in
> https://nxp.sdlproducts.com/LiveContent/web/pub.xql?c=t=home=QorIQ_LSDK_18.12=en-US#addHistory=true=GUID-7878A5F9-3B22-4F89-9709-12D3A856A48F.xml=GUID-7878A5F9-3B22-4F89-9709-12D3A856A48F_id==false=lcContent.loadDocGUID-7878A5F9-3B22-4F89-9709-12D3A856A48F.
>
>
>
> Best Regards,
>
> Zhenhua
>
> > -Original Message-
> > From: Otavio Salvador 
> > Sent: Thursday, January 10, 2019 9:16 PM
> > To: john matt ; Zhenhua Luo
> > 
> > Cc: meta-freescale Mailing List 
> > Subject: Re: [meta-freescale] A simple example of using AIOP on
> LS1088ARDB
> > board?
> >
> > On Mon, Jan 7, 2019 at 7:45 PM john matt 
> wrote:
> > > I am new to DPAA2/AIOP, and I am wondering if someone can provide a
> > simple example programming the AIOP to manipulate the packet headers. I
> did
> > find examples here:
> >
> https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.
> > com%2Fqoriq-open-
> > source%2Faiopsldata=02%7C01%7Czhenhua.luo%40nxp.com%7C3e5452
> > 488175453cff5608d676fdc3c9%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > 7C0%7C636827229620894677sdata=QVoepzgJFiqxydWGTDu2Zn0q0sRjYV
> > budEk05BTJOzI%3Dreserved=0, but I am not able to cross compile them
> > to LS1088ARDB which is running 2.5 distro.
> > >
> > >
> > > Could you guys please provide some references for cross compiling the
> aiopsl
> > examples for LS1088ARDB.
> > >
> > > I created my esdk with yocto, but it does not hasthe headers (e.g.,
> fsl_types.h).
> >
> > Adding Zhenhua Luo on Cc.
> >
> > --
> > Otavio Salvador O.S. Systems
> > https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.o
> > ssystems.com.brdata=02%7C01%7Czhenhua.luo%40nxp.com%7C3e5452
> > 488175453cff5608d676fdc3c9%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%
> > 7C0%7C636827229620894677sdata=qi3kFtN3AdpPsusctOZEy08qhI5vu5w
> > qQxk2s%2FIIkX4%3Dreserved=0
> >
> https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fcode.os
> > systems.com.brdata=02%7C01%7Czhenhua.luo%40nxp.com%7C3e54524
> > 88175453cff5608d676fdc3c9%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0%7
> > C0%7C636827229620894677sdata=EPYAYWpz58gjxNSG6rmzOod%2BSSs
> > YcjXFcnOaRAr4Cqo%3Dreserved=0
> > Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] A simple example of using AIOP on LS1088ARDB board?

2019-01-07 Thread john matt
Hi All,


I am new to DPAA2/AIOP, and I am wondering if someone can provide a simple
example programming the AIOP to manipulate the packet headers. I did find
examples here:  https://github.com/qoriq-open-source/aiopsl, but I am not
able to cross compile them to LS1088ARDB which is running 2.5 distro.

Could you guys please provide some references for cross compiling the
aiopsl examples for LS1088ARDB.

I created my esdk with yocto, but it does not hasthe headers (e.g.,
fsl_types.h).

Thanks in advance
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] bitbake -c populate_sdk_ext not Creating a SDK

2018-12-19 Thread John Matt
Hi All,

I am trying to create a  sdk, and according to my reading based on Yocto
documentation,
" *bitbake -c populate_sdk_ext*" command will create a sdk, and place it
under tmp/deploy/sdk  folder.


build_ls1088ardb$ bitbake -c populate_sdk_ext

Command produces following results:

*Nothing to do.  Use 'bitbake world' to build everything, or run 'bitbake
--help' for usage information.*
But, I do not see the SDK folder?


Any ideas?

Thanks,
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] A source control for custom recipes

2018-12-19 Thread John Matt
Thanks Octavio and Bob and Bas,

After doing some research, I decided to settle down with what Octavio
purposed because it looks like more flat similar.

Thank you all again for a great response

Thanks,
John.

On Thu, Dec 13, 2018 at 5:50 AM Otavio Salvador <
otavio.salva...@ossystems.com.br> wrote:

> On Wed, Dec 12, 2018 at 8:36 PM John Matt  wrote:
> > I am wondering if people use repo tool or gitsubmodules?  Currently, I
> am debating if I need to copy the YOCTO repo to my local git (we have an
> internal git), or use the YOCTO repo externally, and only manage my recipes
> in my internal git in my organization?
>
> We use repo for most projects here at O.S. Systems. Please take a look at:
>
> https://doc.ossystems.com.br/managing-platforms.html
>
> It explains how we usually do.
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] A source control for custom recipes

2018-12-12 Thread John Matt
 Hi Bob,

Thanks for the response.

I am wondering if people use repo tool or gitsubmodules?  Currently, I am
debating if I need to copy the YOCTO repo to my local git (we have an
internal git), or use the YOCTO repo externally, and only manage my recipes
in my internal git in my organization?


Regards,
Janarbek.

On Tue, Dec 11, 2018 at 8:28 PM Bob Cochran  wrote:

> On 12/11/18 5:39 PM, John Matt wrote:
>
> Hi All,
>
> I am newbie, and I am wondering what is the accepted way of using git
> (source control) for custom recipes in Yocto?
>
> My recipes are very custom that now one except my team needs them, and I
> am wondering what is the suggested way of managing custom recipes? We are
> using Yocto .2.5.
>
> Thanks in advance,
> J.
>
> Hi John,
>
> We have lots of internal recipes for our own projects and plenty of
> customizations (e.g., bbappend).  We manage these by maintaining our own
> layer and keeping a bare repo of the layer on a shared drive that everyone
> / all machines pull from and push to.
>
> Bob
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] A source control for custom recipes

2018-12-11 Thread John Matt
Hi All,

I am newbie, and I am wondering what is the accepted way of using git
(source control) for custom recipes in Yocto?

My recipes are very custom that now one except my team needs them, and I am
wondering what is the suggested way of managing custom recipes? We are
using Yocto .2.5.

Thanks in advance,
J.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Fetcher failure: Fetch command export PSEUDO_DISABLED=1;

2018-10-29 Thread John Matt
Well, it was fixed once I switched to another PC which has wired connection
to internet. Previously, I was trying to build on a laptop with wireless
network connection.



On Sat, Oct 27, 2018 at 11:07 AM Otavio Salvador <
otavio.salva...@ossystems.com.br> wrote:

> On Mon, Oct 22, 2018 at 8:39 PM John Matt  wrote:
> > I am hitting following error when I was building core-image-minimal for
> LS1088ARDB target. Any ideas ? The build process does not stop, it still
> finishes, but I am concerned with this error, and i want to fix it.
> ...
> > Connecting to downloads.yoctoproject.org 
> > (downloads.yoctoproject.org)|198.145.29.63|:80...
> connected.
> > HTTP request sent, awaiting response... 503 Service Unavailable
> > 2018-10-22 14:30:44 ERROR 503: Service Unavailable.
>
> The error seems to be network related. Does it still fails?
>
> --
> Otavio Salvador O.S. Systems
> http://www.ossystems.com.brhttp://code.ossystems.com.br
> Mobile: +55 (53) 9 9981-7854  Mobile: +1 (347) 903-9750
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Fetcher failure: Fetch command export PSEUDO_DISABLED=1;

2018-10-22 Thread John Matt
Hi All,

I am hitting following error when I was building core-image-minimal for
LS1088ARDB target. Any ideas ? The build process does not stop, it still
finishes, but I am concerned with this error, and i want to fix it.

Regards.


WARNING: Failed to fetch URL
http://downloads.yoctoproject.org/releases/uninative/2.2/x86_64-nativesdk-libc.tar.bz2;sha256sum=e3b77208169bf1ac4e89496f3cdbf27695f5b18a2694a908a793390f28b67f83,
attempting MIRRORS if available
ERROR: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export
DBUS_SESSION_BUS_ADDRESS="unix:abstract=/tmp/dbus-UDNpRlyoRk"; export
SSH_AUTH_SOCK="/run/user/1000/keyring/ssh"; export
PATH="/home/janarbek/fsl-community-bsp/sources/poky/scripts:/home/janarbek/fsl-community-bsp/ls1088_ABC/tmp/work/aarch64-fslc-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin/aarch64-fslc-linux:/home/janarbek/fsl-community-bsp/ls1088_ABC/tmp/work/aarch64-fslc-linux/defaultpkgname/1.0-r0/recipe-sysroot/usr/bin/crossscripts:/home/janarbek/fsl-community-bsp/ls1088_ABC/tmp/work/aarch64-fslc-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/sbin:/home/janarbek/fsl-community-bsp/ls1088_ABC/tmp/work/aarch64-fslc-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/usr/bin:/home/janarbek/fsl-community-bsp/ls1088_ABC/tmp/work/aarch64-fslc-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/sbin:/home/janarbek/fsl-community-bsp/ls1088_ABC/tmp/work/aarch64-fslc-linux/defaultpkgname/1.0-r0/recipe-sysroot-native/bin:/home/janarbek/fsl-community-bsp/sources/poky/bitbake/bin:/home/janarbek/fsl-community-bsp/ls1088_ABC/tmp/hosttools";
export HOME="/home/janarbek"; /usr/bin/env wget -t 2 -T 30 -nv
--passive-ftp --no-check-certificate -P
/home/janarbek/fsl-community-bsp/downloads//uninative/e3b77208169bf1ac4e89496f3cdbf27695f5b18a2694a908a793390f28b67f83
'
http://downloads.yoctoproject.org/releases/uninative/2.2/x86_64-nativesdk-libc.tar.bz2'
--progress=dot -v failed with exit code 8, output:
--2018-10-22 14:30:44--
http://downloads.yoctoproject.org/releases/uninative/2.2/x86_64-nativesdk-libc.tar.bz2
Resolving downloads.yoctoproject.org (downloads.yoctoproject.org)...
198.145.29.63
Connecting to downloads.yoctoproject.org
(downloads.yoctoproject.org)|198.145.29.63|:80...
connected.
HTTP request sent, awaiting response... 503 Service Unavailable
2018-10-22 14:30:44 ERROR 503: Service Unavailable.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Creating a sdcard image for LS1088 ARDB

2018-10-18 Thread John Matt
Hi All,

I was able to build core-image-minimal for LS1088ARDB, and I have a bunch
of files in the tmp/deploy/images folder.

I am wondering how to create a sdcard image.

Some of the files are as
follows-
core-imge-minimal-ls1088ardb-rootfs.ext2.gz
core-imge-minimal-ls1088ardb-rootfs.tar.gz

core-imge-minimal-ls1088ardb.ext2.gz
core-imge-minimal-ls1088ardb.ext2.gz.u-boot
core-imge-minimal-ls1088ardb.manifest
core-imge-minimal-ls1088ardb.tar.gz
Image
*.dtb
*.bin

and u-boot.bin files


Please suggest me how to create a sdcard image using these files ?

Regards,
Janarbek.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Help to find support for LS1088

2018-10-15 Thread John Matt
Hi All,

I am new to this mailing list and, I want to know how much meta-freescale
has a support for LS1088 from NXP?

Is there a some place that I need to be looking for in order to find how
much LS1088 is supported?  Basically, I want to build linux using Yocto for
LS1088.


Regards,
John.
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale