leak.c:1:10: fatal error: stdio.h: No such file or directory

Questionsource /opt/os-sdk/16.0.0-aarch64/environment-setup-aarch64-uhos-linux aarch64-uhos-linux-gcc -fsanitize=address -g -o leak leak.c leak.c:1:10: fatal error: stdio.h: No such file or directory 1 | #include <stdio.h> | ^~~~~~~~~ Answeraarch64-uhos-linux-gcc --sysroot=/opt/os-sdk/16.0.0-aarch64/sysroots/aarch64-uhos-linux -fsanitize=address -g -o leak leak.cor use Makefile: cat Makefile all: leak leak: leak.c ${CC} -fsanitize=address -g -o leak leak.c clean: rm leak

picocom Settings mismatch

Questionpicocom -b 1500000 /dev/ttyUSB0 -g $HOME/logs/picocom-$(date "+%F-%H%M").log picocom v3.1 port is : /dev/ttyUSB0 flowcontrol : none baudrate is : 1500000 parity is : none databits are : 8 stopbits are : 1 escape is : C-a local echo is : no noinit is : no noreset is : no hangup is : no nolock is : no send_cmd is : sz -vv receive_cmd is : rz -vv -E imap is : omap is : emap is : crcrlf,delbs, logfile is : /home/baifudong/logs/picocom-2023-12-27-1012.

package nativesdk-gcc-sanitizers-11.3.0-r0.x86_64_nativesdk does not have a compatible architecture

Questionbitbake core-image-minimal-sdk -c populate_sdk [...] ERROR: core-image-minimal-sdk-1.0-r0 do_populate_sdk: Could not invoke dnf. Command '/data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/recipe-sysroot-native/usr/bin/dnf -v --rpmverbosity=info -y -c /data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-uhos-linux/etc/dnf/dnf.conf --setopt=reposdir=/data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-uhos-linux/etc/yum.repos.d --installroot=/data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-uhos-linux --setopt=logdir=/data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/temp --repofrompath=oe-repo,/data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/oe-sdk-repo --nogpgcheck install dnf gstreamer1.0 gstreamer1.0-libav gstreamer1.0-plugins-bad gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-ugly kernel-modules libdrm-tests libxkbcommon mc nativesdk-gcc-sanitizers packagegroup-core-boot packagegroup-core-standalone-sdk-target packagegroup-core-tools-debug packagegroup-core-tools-profile packagegroup-os-core-devel rpm run-postinsts screen target-sdk-provides-dummy' returned 1: DNF version: 4.11.1 cachedir: /data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/sdk/image/usr/local/oe-sdk-hardcoded-buildpath/sysroots/aarch64-uhos-linux/var/cache/dnf Added oe-repo repo from /data/home/baifudong/rk3326/sdk-minimal/build-rk3326-soc/tmp/work/rockchip_rk3326_soc-uhos-linux/core-image-minimal-sdk/1.0-r0/oe-sdk-repo User-Agent: falling back to 'libdnf': could not detect OS or basearch repo: using cache for: oe-repo oe-repo: using metadata from Tue 26 Dec 2023 12:55:50 PM UTC.

NOTE: Reconnecting to bitbake server

Questionbitbake -c populate_sdk core-image-minimal-sdk NOTE: Reconnecting to bitbake server... NOTE: Previous bitbake instance shutting down?, waiting to retry... NOTE: Retrying server connection (#1)... Answerpkill -9 Cooker

Error executing a python function in exec_func_python

QuestionERROR: linux-libc-headers-5.10-custom-r0 do_patch: Error executing a python function in exec_func_python() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_func_python() autogenerated', lineno: 2, function: <module> 0001: *** 0002:extend_recipe_sysroot(d) 0003: File: '/data/home/baifudong/rk3326/sdk-minimal/external/poky/meta/classes/staging.bbclass', lineno: 596, function: extend_recipe_sysroot 0592: dest = newmanifest[l] 0593: m.write(dest.replace(workdir + "/", "") + "\n") 0594: bb.utils.unlockfile(smlock) 0595: try: *** 0596: os.link(sharedm, taskmanifest) 0597: except OSError as err: 0598: if err.errno == errno.EXDEV: 0599: bb.

jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x7df9 instead

Question[ 1.006173] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000000: 0x7df9 instead [ 1.016199] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000004: 0xb427 instead [ 1.026600] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000008: 0x8dc5 instead [ 1.036564] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x0000000c: 0x15eb instead [ 1.046888] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000010: 0x8cb1 instead [ 1.056910] jffs2: jffs2_scan_eraseblock(): Magic bitmask 0x1985 not found at 0x00000014: 0x6d07 instead [ 1.
0%