nxphovergames / navqplus Goto Github PK
View Code? Open in Web Editor NEWWorking repo for NavQPlus
Working repo for NavQPlus
[ 11.039624] NXP C45 TJA1103 30be0000.ethernet-1:0e: nxp_c45_soft_reset failed: -110
[ 11.047354] fec 30be0000.ethernet eth0: Unable to connect to phy
Note: Patch from 5.10.72 is not currently being applied.
create /home/user/CycloneDDSConfig.xml :
<CycloneDDS>
<Domain>
<General>
<NetworkInterfaceAddress>usb0,mlan0</NetworkInterfaceAddress>
</General>
</Domain>
</CycloneDDS>
Add to /home/user/.bashrc:
source /opt/ros/galactic/setup.bash
source /usr/share/colcon_argcomplete/hook/colcon-argcomplete.bash
export RMW_IMPLEMENTATION=rmw_cyclonedds_cpp
export CYCLONEDDS_URI=/home/user/CycloneDDSConfig.xml
Currently when we build, we apply some patches to some recipes in our BSP to edit the distribution. We should instead use bbappend files to do this so that we don't have issues with patches across versions. This will streamline our build approach.
The build patches that we want to turn into bbappend files are at NXPHoverGames/yocto-patches
Include ROS2 repo and install:
ros-galactic-desktop-full
ros-galactic-cv-bridge
ros-galactic-image-tools
ros-galactic-image-transport
ros-galactic-image-transport-plugins
ros-galactic-msg
ros-galactic-camera-calibration-parsers
ros-galactic-camera-info-manager
ros-galactic-launch-testing-ament-cmake
ros-galactic-vision-opencv
ros-galactic-image-pipeline
ros-humble-rmw-*
Makes sure that it 100% includes:
ros-galactic-irobot-create-msgs
Need to pull driver again and remake patch file for newer kernel version.
Issue with ROS2 daemon not starting. When running ros2 topic list, we get:
user@imx8mpnavq:~$ ros2 topic list
1659627754.979505 [0] ros2: usb0: does not match an available interface supporting udp
1659627754.979746 [0] ros2: mlan0: does not match an available interface supporting udp
[ERROR] [1659627754.979948750] [rmw_cyclonedds_cpp]: rmw_create_node: failed to create domain, error Error
>>> [rcutils|error_handling.c:108] rcutils_set_error_state()
This error state is being overwritten:
'error not set, at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/node.c:261'
with this new error message:
'rcl node's rmw handle is invalid, at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/node.c:413'
rcutils_reset_error() should be called after error handling to avoid this.
<<<
[ERROR] [1659627754.980129250] [rcl]: Failed to fini publisher for node: 1
error creating node: rcl node's rmw handle is invalid, at /tmp/binarydeb/ros-galactic-rcl-3.1.3/src/rcl/node.c:413
Hi there.
Item x interferes with item x
this is a sample of code
user@imx8mpnavq:~$
[ 283.529890] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b
[ 283.537554] CPU: 3 PID: 1 Comm: systemd Tainted: G C O 5.15.32-lts-next+g46d8c184d30d #1
[ 283.546779] Hardware name: NXP i.MX8MPlus SOM board (DT)
[ 283.552094] Call trace:
[ 283.554538] dump_backtrace+0x0/0x1a0
[ 283.558214] show_stack+0x1c/0x70
[ 283.561534] dump_stack_lvl+0x68/0x84
[ 283.565203] dump_stack+0x1c/0x38
[ 283.568522] panic+0x15c/0x31c
[ 283.571579] do_exit+0x928/0x96c
[ 283.574812] do_group_exit+0x3c/0xa0
[ 283.578391] get_signal+0x14c/0x760
[ 283.581884] do_notify_resume+0x220/0x1310
[ 283.585989] el0_ia+0xbc/0xd0
[ 283.588961] el0t_64_sync_handler+0x128/0x130
[ 283.593320] el0t_64_sync+0x1a0/0x1a4
[ 283.596989] SMP: stopping secondary CPUs
[ 283.601210] Kernel Offset: disabled
[ 283.604698] CPU features: 0x00002001,20000846
[ 283.609058] Memory Limit: none
[ 283.612117] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000008b ]---
Should probably check to see if this is present on other systems running 5.15.32
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['virtual:native:/home/landon/yocto/build-navqp/sources/meta-nxp-desktop/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/home/landon/yocto/build-navqp/sources/meta-nxp-desktop/recipes-devtools/binutils2.34/binutils-cross_2.34.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['pseudo-native', 'binutils-cross-aarch64', 'autoconf-native', 'quilt-native', 'flex-native', 'texinfo-dummy-native', 'zlib-native', 'gnu-config-native', 'm4-native', 'gettext-minimal-native', 'libtool-native', 'automake-native', 'xz-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function sstate_task_prefunc
DEBUG: Python function sstate_task_prefunc finished
DEBUG: Executing python function do_package_qa
NOTE: DO PACKAGE QA
DEBUG: Executing python function read_subpackage_metadata
DEBUG: Python function read_subpackage_metadata finished
NOTE: Package imx-vpu-hantro-vc-dbg skipping QA tests: {'arch'}
NOTE: Checking Package: imx-vpu-hantro-vc-dbg
NOTE: aarch64-fsl-linux-objdump -p /home/landon/yocto/build-navqp/build/tmp/work/cortexa53-crypto-fsl-linux/imx-vpu-hantro-vc/1.7.0-r0/packages-split/imx-vpu-hantro-vc-dbg/usr/lib/.debug/libhantro_vc8000e.so.1
NOTE: aarch64-fsl-linux-objdump -p /home/landon/yocto/build-navqp/build/tmp/work/cortexa53-crypto-fsl-linux/imx-vpu-hantro-vc/1.7.0-r0/packages-split/imx-vpu-hantro-vc-dbg/unit_tests/VPU/hantro/.debug/vc8000e_hevcenc
NOTE: aarch64-fsl-linux-objdump -p /home/landon/yocto/build-navqp/build/tmp/work/cortexa53-crypto-fsl-linux/imx-vpu-hantro-vc/1.7.0-r0/packages-split/imx-vpu-hantro-vc-dbg/unit_tests/VPU/hantro/.debug/vc8000e_h264enc
NOTE: Checking Package: imx-vpu-hantro-vc-locale
NOTE: Checking Package: imx-vpu-hantro-vc-src
NOTE: Package imx-vpu-hantro-vc skipping QA tests: {'arch'}
NOTE: Checking Package: imx-vpu-hantro-vc
NOTE: aarch64-fsl-linux-objdump -p /home/landon/yocto/build-navqp/build/tmp/work/cortexa53-crypto-fsl-linux/imx-vpu-hantro-vc/1.7.0-r0/packages-split/imx-vpu-hantro-vc/usr/lib/libhantro_vc8000e.so.1
NOTE: aarch64-fsl-linux-objdump -p /home/landon/yocto/build-navqp/build/tmp/work/cortexa53-crypto-fsl-linux/imx-vpu-hantro-vc/1.7.0-r0/packages-split/imx-vpu-hantro-vc/unit_tests/VPU/hantro/vc8000e_hevcenc
NOTE: aarch64-fsl-linux-objdump -p /home/landon/yocto/build-navqp/build/tmp/work/cortexa53-crypto-fsl-linux/imx-vpu-hantro-vc/1.7.0-r0/packages-split/imx-vpu-hantro-vc/unit_tests/VPU/hantro/vc8000e_h264enc
ERROR: QA Issue: /unit_tests/VPU/hantro/vc8000e_hevcenc contained in package imx-vpu-hantro-vc requires libc.so.6(GLIBC_2.34)(64bit), but no providers found in RDEPENDS:imx-vpu-hantro-vc? [file-rdeps]
NOTE: Checking Package: imx-vpu-hantro-vc-staticdev
NOTE: Checking Package: imx-vpu-hantro-vc-doc
NOTE: Checking Package: imx-vpu-hantro-vc-dev
ERROR: QA run found fatal errors. Please consider fixing them.
DEBUG: Python function do_package_qa finished
Include from apt install:
curl
gnupg
gnupg2
lsb-release
input-utils
libspnav-dev
libbluetooth-dev
libcwiid-dev
jstest-gtk
bash-completion
build-essential
cmake
git
ccache
pkg-config
python3-colcon-common-extensions
python3-flake8
python3-pip
python3-dev
python3-pytest-cov
python3-rosdep
python3-setuptools
python3-testresources
python3-vcstool
python3-argcomplete
python3-empy
python3-jinja2
python3-cerberus
python3-coverage
python3-matplotlib
python3-numpy
python3-packaging
python3-pkgconfig
python3-opencv
python3-wheel
python3-requests
python3-serial
python3-six
python3-toml
python3-psutil
python3-pysolar
g++
gcc
gdb
ninja-build
make
bzip2
zip
rsync
shellcheck
tzdata
unzip
valgrind
xsltproc
binutils
bc
libyaml-cpp-dev
autoconf
automake
bison
ca-certificates
openssh-client
cppcheck
dirmngr
doxygen
file
gosu
lcov
libfreetype6-dev
libgtest-dev
libpng-dev
libssl-dev
libopencv-dev
flex
genromfs
gperf
libncurses-dev
libtool
uncrustify
vim-common
libxml2-utils
mesa-utils
libeigen3-dev
protobuf-compiler
libimage-exiftool-perl
v4l-utils
v4l2loopback-utils
gstreamer1.0-nice
gstreamer1.0-opencv
include from python:
python3 -m pip install
flake8-blind-except
flake8-builtins
flake8-class-newline
flake8-comprehensions
flake8-deprecated
flake8-docstrings
flake8-import-order
flake8-quotes
pytest-repeat
pytest-rerunfailures
pytest
Error log:
| fatal: unsafe repository ('/home/landon/yocto/build/build/tmp/work/cortexa53-crypto-fsl-linux/onnxruntime/1.8.2-r0/build/pybind11/src/pybind11' is owned by someone else)
| To add an exception for this directory, call:
|
| git config --global --add safe.directory /home/landon/yocto/build/build/tmp/work/cortexa53-crypto-fsl-linux/onnxruntime/1.8.2-r0/build/pybind11/src/pybind11
| CMake Error at /home/landon/yocto/build/build/tmp/work/cortexa53-crypto-fsl-linux/onnxruntime/1.8.2-r0/build/pybind11/tmp/pybind11-gitupdate.cmake:14 (message):
| Failed to get the hash for HEAD
Need to rebase patches to 2022.04 version of u-boot. We can do this in yocto.
Possibly due to running a forced compile on linux-imx in bitbake. Trying a clean build.
For some reason in the 5.10.72_2.2.2 build, mozjs fails the do_compile task. The error output is extraordinarily large, so it's difficult to find the exact issue. A user on the page below suggested compiling it by itself.
https://community.st.com/s/question/0D53W00000EDNsKSAX/mozjs6090bbdocompile-failed-with-exit-code-1
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.