-
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Openauto recipe #1
Comments
@sharavan-lab suggest we use this for the yocto work |
sure |
@sharavan-lab Can you share your openauto recipe? |
Right now I am using your recipe for openauto. I see libaasdk_protobuf linking issues. Do you face similar issue,tooo? Its trying to finf aasdk lib in openauto bin folder |
Your build command expansion for opeauto.bb cmake -G Ninja -DCMAKE_MAKE_PROGRAM=ninja /home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/openauto -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_BINDIR:PATH=bin -DCMAKE_INSTALL_SBINDIR:PATH=sbin -DCMAKE_INSTALL_LIBEXECDIR:PATH=libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DCMAKE_INSTALL_SHAREDSTATEDIR:PATH=../com -DCMAKE_INSTALL_LOCALSTATEDIR:PATH=/var -DCMAKE_INSTALL_LIBDIR:PATH=lib -DCMAKE_INSTALL_INCLUDEDIR:PATH=include -DCMAKE_INSTALL_DATAROOTDIR:PATH=share -DCMAKE_INSTALL_SO_NO_EXE=0 -DCMAKE_TOOLCHAIN_FILE=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/toolchain.cmake -DCMAKE_NO_SYSTEM_FROM_IMPORTED=1 -DOE_QMAKE_PATH_PREFIX=/usr -DOE_QMAKE_PATH_HEADERS=/usr/include -DOE_QMAKE_PATH_LIBS=/usr/lib -DOE_QMAKE_PATH_ARCHDATA=/usr/lib -DOE_QMAKE_PATH_DATA=/usr/share -DOE_QMAKE_PATH_BINS=/usr/bin -DOE_QMAKE_PATH_LIBEXECS=/usr/lib/libexec -DOE_QMAKE_PATH_PLUGINS=/usr/lib/plugins -DOE_QMAKE_PATH_QML=/usr/lib/qml -DOE_QMAKE_PATH_TRANSLATIONS=/usr/share/translations -DOE_QMAKE_PATH_DOCS=/usr/share/doc -DOE_QMAKE_PATH_SETTINGS=/etc -DOE_QMAKE_PATH_EXAMPLES=/usr/share/examples -DOE_QMAKE_PATH_TESTS=/usr/share/tests -DOE_QMAKE_PATH_HOST_PREFIX=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/recipe-sysroot-native -DOE_QMAKE_PATH_HOST_BINS=/usr/bin -DOE_QMAKE_PATH_HOST_DATA=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/recipe-sysroot/usr/lib -DOE_QMAKE_PATH_HOST_LIBS=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/recipe-sysroot/usr/lib -DOE_QMAKE_PATH_EXTERNAL_HOST_BINS=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/recipe-sysroot-native/usr/bin -DOE_QMAKE_PATH_QT_HEADERS=/usr/include -DOE_QMAKE_PATH_QT_ARCHDATA=/usr/lib -DOE_QMAKE_PATH_QT_DATA=/usr/share -DOE_QMAKE_PATH_QT_BINS=/usr/bin -DOE_QMAKE_PATH_QT_TRANSLATIONS=/usr/share/translations -DOE_QMAKE_PATH_QT_DOCS=/usr/share/doc -DOE_QMAKE_PATH_QT_SETTINGS=/etc -DOE_QMAKE_PATH_QT_EXAMPLES=/usr/share/examples -DOE_QMAKE_PATH_QT_TESTS=/usr/share/tests -DCMAKE_BUILD_TYPE=Release -DRPI3_BUILD=TRUE -DAASDK_INCLUDE_DIRS=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/../aasdk/include -DAASDK_LIBRARIES=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/image/usr/bin/libaasdk.so -DAASDK_PROTO_INCLUDE_DIRS=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/../aasdk -DAASDK_PROTO_LIBRARIES=/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/openauto/0.1-r0/image/usr/bin/libaasdk_proto.so ../git -Wno-dev |
yeah, i hit that error too. I'm working on fix with aasdk detection. |
try the latewst one, I removed the paths and rely on the autodetection |
Hello Matt,
I have made the links to the aasdk /aasdk_proto
libraries in CMakelists, and able to move forward a little. For
libbcm_host.so I tried to use userland package from yocto, and linked it.
Now I am stuck with this one...
/home/sharavan/sara_raspi/raspi_build/tmp/work/aarch64-poky-linux/aasdk/0.1-r0/build/aasdk_proto/WifiInfoResponseMessage.pb.h:407:
*undefined reference to
`f1x::aasdk::proto::messages::WifiInfoResponse_Status_IsValid(int)'.*
PLease let me know any updates from your side.
Best Regards
…On Sat, Jan 30, 2021 at 5:39 AM Matthew Hilton ***@***.***> wrote:
try the latewst one, I removed the paths and rely on the autodetection
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHDOMIUGZU2L44X4GKOSVTS4NE2BANCNFSM4WVKXI7Q>
.
|
The problem with userland may be that it is still not 64bit compatible. I just changed
The problem i encountered now, is after i connect my android device via USB to Raspberry, i get:
I guess audio is not correctly configured yet, still need to debug. |
hello adrianalin, autoapp/Service/SensorService.cpp:233:50: error: too many arguments to function 'int gps_read(gps_data_t*)' regards |
i'll add a steps to readme so @sharavan-lab can test the same steps to build image. but here are what i did to run in qemu
|
Matt,
I have this patch included, I am working on pi3B,
core-image-x11 , build, with yocto warrior. I looked at the patch and the
below is the root cause , where the declaration seems to be missing for
gps_read()
- (gps_read(&this->gpsData_) > 0) &&
+ (gps_read(&this->gpsData_, msg, 10) > 0) &&
Regards
…On Sun, Feb 14, 2021 at 7:05 PM adrianalin ***@***.***> wrote:
@sharavan-lab <https://github.com/sharavan-lab> see this patch
https://github.com/matt2005/csng_yocto/blob/main/meta-crankshaft/recipes-openauto/openauto/openauto/0001-Fix-compile-errors.patch
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHDOMM2EJPIFIKQIY2R7ITS67GTXANCNFSM4WVKXI7Q>
.
|
i have it working already. i just need to write steps. give me a couple of days. Raspberry Pi ZeroThis took about 36 hours mkdir -p ~/yocto
cd ~/yocto
sudo chmod 777 ~/yocto
repo init -u https://github.com/matt2005/yocto_manifests.git -b main
repo sync
mkdir -p ~/yocto/rpi/build/conf
cp ~/yocto/rpi/meta-rpi/conf/local.conf.sample ~/yocto/rpi/build/conf/local.conf
cp ~/yocto/rpi/meta-rpi/conf/bblayers.conf.sample ~/yocto/rpi/build/conf/bblayers.conf
sed -i 's/IMAGE_FSTYPES = "tar.xz"/IMAGE_FSTYPES = "tar.xz rpi-sdimg"/g' ~/yocto/rpi/build/conf/local.conf
sed -i 's/MACHINE = "raspberrypi3"/#MACHINE = "raspberrypi3"/g' ~/yocto/rpi/build/conf/local.conf
sed -i 's/DISTRO_FEATURES = "ext2/DISTRO_FEATURES = "x11 ext2/g' ~/yocto/rpi/build/conf/local.conf
export MACHINE=raspberrypi0-wifi
source ~/yocto/poky-dunfell/oe-init-build-env ~/yocto/rpi/build
bitbake crankshaft-image then for pi3
That will produce 2 images using x11 sato. |
Ok, thanks. :-)
…On Mon, Feb 15, 2021 at 3:28 PM Matthew Hilton ***@***.***> wrote:
i have it working already. i just need to write steps. give me a couple of
days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ASHDOMNHTCDEU4JR7BUGP7TS7DV45ANCNFSM4WVKXI7Q>
.
|
fixed gps_read issue...I am on sumo branch , which branch you guys working on. thisi is the issue I have now... |
MainWindow.cpp:1263:54: error: 'class QMediaContent' has no member named 'request' THanks |
This will build same as my setup try running this for a pi3, it'll take about 48hours to build fully. mkdir -p ~/yocto
cd ~/yocto
sudo chmod 777 ~/yocto
repo init -u https://github.com/matt2005/yocto_manifests.git -b main
repo sync
mkdir -p ~/yocto/rpi/build/conf
cp ~/yocto/poky-dunfell/meta-crankshaft/conf/local.conf.sample ~/yocto/rpi/build/conf/local.conf
cp ~/yocto/poky-dunfell/meta-crankshaft/conf/bblayers.conf.sample ~/yocto/rpi/build/conf/bblayers.conf
export MACHINE=raspberrypi3
source ~/yocto/poky-dunfell/oe-init-build-env ~/yocto/rpi/build
bitbake crankshaft-image |
Link issue
The text was updated successfully, but these errors were encountered: