-
I'm attempting to add a custom layer to my yocto-tegra image and running into some problems. I'm following the Yocto manual instructions here. I'm able to run the
As instructed, I then run
Are there some specific instructions for adding a custom layer to a yocto-tegra build that differ from the Yocto Manual instructions? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
No, there's nothing special. The instructions in the manual may not be 100% complete, though. Try
Most of the bitbake commands only work if your current working directory is the build directory (that's the |
Beta Was this translation helpful? Give feedback.
-
Ah, got it, thanks, that did it. So, I've added a simple "hello world" C++ program, but when building I'm getting the errors shown below. I've done this exact same thing with a Yocto build on a Raspberry Pi Zero recently without any problems. Do you know if the yocto-tegra build includes the proper dependencies necessary for building a simple C++ program? The BBLAYERS in my yocto-tegra project are:
The BBLAYERS in my yocto raspberry pi project were:
I wonder if I need to include meta-openembedded/meta-oe in my yocto-tegra build in order to properly build my C++ custom layer? Any idea?
|
Beta Was this translation helpful? Give feedback.
-
Thanks @madisongh - I wasn't aware of the demo distro. I've built it and managed to flash it to the Jetson but when the Jetson boots a splash screen looking like this appears and never goes away, no mouse control or anything. I think I just realized my problem. To build, I ran |
Beta Was this translation helpful? Give feedback.
-
Thanks guys, it turned out to be a typo I had in my local.conf to add my example C++ layer. I had added My "example" C++ application is now being built and added to the demo image. When starting up the Jetson with the demo image the example executable is in /usr/bin and displays the expected "hello world" output. Thank you for the help... I'm getting there.... |
Beta Was this translation helpful? Give feedback.
Thanks guys, it turned out to be a typo I had in my local.conf to add my example C++ layer. I had added
IMAGE_INSTALL = "example"
when it should have beenIMAGE_INSTALL_append = " example"
.My "example" C++ application is now being built and added to the demo image.
When starting up the Jetson with the demo image the example executable is in /usr/bin and displays the expected "hello world" output.
Thank you for the help... I'm getting there....