nishantpoorswani / meta-radxa Goto Github PK
View Code? Open in Web Editor NEWOpenEmbedded BSP Layer for the Radxa boards
License: GNU Lesser General Public License v3.0
OpenEmbedded BSP Layer for the Radxa boards
License: GNU Lesser General Public License v3.0
for Rock Pi 4
bitbake -k radxa-console-image
no folder /system in the installed system
Wi-Fi does not works
I copied /system/etc/firmware from the Ubuntu Server image and Wi-Fi works.
Hi, I have rk3399 pro SoM with a DSI display connected to it. I'm trying to rotate the screen without success:
root@rockpi-n10-rk3399pro:~# DISPLAY=:0 xrandr
xrandr: Failed to get size of gamma for output default
Screen 0: minimum 720 x 1280, current 720 x 1280, maximum 720 x 1280
default connected 720x1280+0+0 0mm x 0mm
720x1280 0.00*
root@rockpi-n10-rk3399pro:~# DISPLAY=:0 xrandr --output default --rotate left
xrandr: output default cannot use rotation "left" reflection "none"
root@rockpi-n10-rk3399pro:~# DISPLAY=:0 xrandr --output default --rotate normal
xrandr: Failed to get size of gamma for output default
root@rockpi-n10-rk3399pro:~# DISPLAY=:0 xrandr -o left
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 139 (RANDR)
Minor opcode of failed request: 2 (RRSetScreenConfig)
Serial number of failed request: 14
Current serial number in output stream: 14
Usually, I'm expecting something like DSI-1 connected primary ....
when I execute xrandr.
Is there something I'm missing?
ERROR: radxa-minimal-image-1.0-r0 do_image_rockchip_radxa_gpt_img: Execution of '/home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/temp/run.do_image_rockchip_radxa_gpt_img.557881' failed with exit code 127
ERROR: Logfile of failure stored in: /home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/temp/log.do_image_rockchip_radxa_gpt_img.557881
Log data follows:
| DEBUG: Executing python function set_image_size
| DEBUG: 515933.600000 = 396872 * 1.300000
| DEBUG: 515933.600000 = max(515933.600000, 65536)[515933.600000] + 0
| DEBUG: 515934.000000 = int(515933.600000)
| DEBUG: 515934 = aligned(515934)
| DEBUG: returning 515934
| DEBUG: Python function set_image_size finished
| DEBUG: Executing python function extend_recipe_sysroot
| NOTE: Direct dependencies are ['/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/gcc/gcc-runtime_9.3.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/gcc/libgcc_9.3.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/dpkg/dpkg_1.19.7.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/dosfstools/dosfstools_4.1.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/opkg-utils/opkg-utils_0.4.2.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/quilt/quilt-native_0.66.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-core/glibc/glibc_2.31.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-extended/xz/xz_5.2.4.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-connectivity/openssl/openssl_1.1.1o.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/swig/swig_3.0.12.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-extended/pigz/pigz_2.4.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-extended/parted/parted_3.3.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/mklibs/mklibs-native_0.1.44.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-core/update-rc.d/update-rc.d_0.8.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-kernel/kmod/kmod-native_git.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/makedevs/makedevs_1.0.1.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-kernel/dtc/dtc_1.6.0.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-kernel/kmod/depmodwrapper-cross_1.0.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-core/glibc/ldconfig-native_2.12.1.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/mtools/mtools_4.0.23.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/python/python3_3.8.13.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/gcc/gcc-cross_9.3.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/apt/apt-native_1.2.31.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-core/glibc/cross-localedef-native_2.31.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta-radxa/recipes-kernel/linux/linux-rockpi-4_4.4.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta-radxa/recipes-bsp/rk-binary/radxa-binary-native_git.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/fdisk/gptfdisk_1.0.4.bb:do_populate_sysroot', '/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/binutils/binutils-cross_2.34.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/e2fsprogs/e2fsprogs_1.45.7.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/prelink/prelink_git.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-devtools/bison/bison_3.5.4.bb:do_populate_sysroot', 'virtual:native:/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta/recipes-core/coreutils/coreutils_8.31.bb:do_populate_sysroot']
| NOTE: Installed into sysroot: ['gcc-runtime', 'libgcc', 'dosfstools-native', 'glibc', 'kern-tools-native', 'swig-native', 'parted-native', 'lzop-native', 'dtc-native', 'mtools-native', 'gcc-cross-aarch64', 'linux-rockpi-4', 'radxa-binary-native', 'bc-native', 'gptfdisk-native', 'binutils-cross-aarch64', 'bison-native', 'coreutils-native', 'linux-libc-headers', 'lzo-native', 'mpfr-native', 'gmp-native', 'libmpc-native', 'popt-native']
| NOTE: Skipping as already exists in sysroot: ['dpkg-native', 'opkg-utils-native', 'qemuwrapper-cross', 'quilt-native', 'xz-native', 'openssl-native', 'pigz-native', 'mklibs-native', 'update-rc.d-native', 'kmod-native', 'makedevs-native', 'pseudo-native', 'depmodwrapper-cross', 'ldconfig-native', 'python3-native', 'apt-native', 'cross-localedef-native', 'patch-native', 'e2fsprogs-native', 'prelink-native', 'bzip2-native', 'zlib-native', 'gettext-minimal-native', 'gnu-config-native', 'autoconf-native', 'libtool-native', 'perl-native', 'pkgconfig-native', 'gettext-native', 'automake-native', 'systemd-systemctl-native', 'shadow-native', 'qemu-native', 'gdk-pixbuf-native', 'libpcre-native', 'util-linux-native', 'texinfo-dummy-native', 'readline-native', 'ncurses-native', 'shared-mime-info-native', 'gtk-doc-native', 'flex-native', 'glib-2.0-native', 'sqlite3-native', 'gdbm-native', 'libffi-native', 'libnsl2-native', 'libtirpc-native', 'db-native', 'curl-native', 'attr-native', 'debianutils-native', 'gtk+3-native', 'elfutils-native', 'binutils-native', 'm4-native', 'gobject-introspection-native', 'ninja-native', 'libjpeg-turbo-native', 'libpng-native', 'meson-native', 'libpcre2-native', 'libcap-ng-native', 'libxml2-native', 'itstool-native', 'at-spi2-atk-native', 'cairo-native', 'libxrender-native', 'pango-native', 'libxcomposite-native', 'atk-native', 'libxfixes-native', 'libxi-native', 'libxext-native', 'libxrandr-native', 'fontconfig-native', 'libx11-native', 'libxdamage-native', 'libxcursor-native', 're2c-native', 'cmake-native', 'python3-setuptools-native', 'dbus-native', 'at-spi2-core-native', 'libxcb-native', 'pixman-native', 'libsm-native', 'util-macros-native', 'xorgproto-native', 'freetype-native', 'fribidi-native', 'harfbuzz-native', 'libxft-native', 'gperf-native', 'expat-native', 'xtrans-native', 'unzip-native', 'libxtst-native', 'libpthread-stubs-native', 'xcb-proto-native', 'libxdmcp-native', 'libxau-native', 'libice-native', 'icu-native']
| DEBUG: sed -e 's:^[^/]*/:/home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/recipe-sysroot-native/:g' /home/.../Yocto_Radxa/dunfell_ext/tmp/sysroots-components/x86_64/gcc-cross-aarch64/fixmepath /home/.../Yocto_Radxa/dunfell_ext/tmp/sysroots-components/x86_64/bison-native/fixmepath /home/.../Yocto_Radxa/dunfell_ext/tmp/sysroots-components/x86_64/gmp-native/fixmepath | xargs sed -i -e 's:FIXMESTAGINGDIRTARGET:/home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/recipe-sysroot:g; s:FIXMESTAGINGDIRHOST:/home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/recipe-sysroot-native:g' -e 's:FIXME_PSEUDO_SYSROOT:/home/.../Yocto_Radxa/dunfell_ext/tmp/sysroots-components/x86_64/pseudo-native:g' -e 's:FIXME_HOSTTOOLS_DIR:/home/.../Yocto_Radxa/dunfell_ext/tmp/hosttools:g' -e 's:FIXME_PKGDATA_DIR:/home/.../Yocto_Radxa/dunfell_ext/tmp/pkgdata/rockpi-4b-rk3399:g' -e 's:FIXME_PSEUDO_LOCALSTATEDIR:/home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/pseudo/:g' -e 's:FIXME_LOGFIFO:/home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/temp/fifo.557881:g'
| DEBUG: Python function extend_recipe_sysroot finished
| DEBUG: Executing shell function do_image_rockchip_radxa_gpt_img
| 0+0 records in
| 0+0 records out
| 0 bytes copied, 1.5151e-05 s, 0.0 kB/s
| Warning: The resulting partition is not properly aligned for best performance: 64s % 2048s != 0s
| Model: (file)
| Disk /home/.../Yocto_Radxa/dunfell_ext/tmp/deploy/images/rockpi-4b-rk3399/radxa-minimal-image-rockpi-4b-rk3399-gpt.img: 664MB
| Sector size (logical/physical): 512B/512B
| Partition Table: gpt
| Disk Flags:
|
| Number Start End Size File system Name Flags
| 1 32.8kB 4129kB 4096kB loader1
| 2 8389kB 12.6MB 4194kB loader2
| 3 12.6MB 16.8MB 4194kB trust
| 4 16.8MB 134MB 117MB boot boot, esp
| 5 134MB 664MB 530MB rootfs
|
| GPT fdisk (gdisk) version 1.0.4
|
| Partition table scan:
| MBR: protective
| BSD: not present
| APM: not present
| GPT: present
|
| Found valid GPT with protective MBR; using GPT.
|
| Command (? for help):
| Expert command (? for help): Partition number (1-5): Enter the partition's new unique GUID ('R' to randomize): New GUID is C12A7328-F81F-11D2-BA4B-00A0C93EC93B
|
| Expert command (? for help):
| Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
| PARTITIONS!!
|
| Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to radxa-minimal-image-rockpi-4b-rk3399-gpt.img.
| Warning: The kernel is still using the old partition table.
| The new table will be used at the next reboot or after you
| run partprobe(8) or kpartx(8)
| The operation has completed successfully.
| GPT fdisk (gdisk) version 1.0.4
|
| Partition table scan:
| MBR: protective
| BSD: not present
| APM: not present
| GPT: present
|
| Found valid GPT with protective MBR; using GPT.
|
| Command (? for help):
| Expert command (? for help): Partition number (1-5): Enter the partition's new unique GUID ('R' to randomize): New GUID is B921B045-1DF0-41C3-AF44-4C6F280D3FAE
|
| Expert command (? for help):
| Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING
| PARTITIONS!!
|
| Do you want to proceed? (Y/N): OK; writing new GUID partition table (GPT) to radxa-minimal-image-rockpi-4b-rk3399-gpt.img.
| Warning: The kernel is still using the old partition table.
| The new table will be used at the next reboot or after you
| run partprobe(8) or kpartx(8)
| The operation has completed successfully.
| mkfs.fat: warning - lowercase labels might not work properly with DOS or Windows
| mkfs.fat 4.1 (2017-01-24)
| 229320+0 records in
| 229320+0 records out
| 117411840 bytes (117 MB, 112 MiB) copied, 0.283368 s, 414 MB/s
| 1031868+0 records in
| 1031868+0 records out
| 528316416 bytes (528 MB, 504 MiB) copied, 1.29013 s, 410 MB/s
|
| load addr is 0x200000!
| pack input /home/egor/My_Designs/Nobilis/Yocto_Radxa/dunfell_ext/tmp/deploy/images/rockpi-4b-rk3399/u-boot-rockpi-4b-rk3399.bin
| pack file size: 990386
| crc = 0xbf8780bc
| pack /home/.../Yocto_Radxa/dunfell_ext/tmp/deploy/images/rockpi-4b-rk3399/u-boot.img success!
| /home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/temp/run.do_image_rockchip_radxa_gpt_img.557881: line 143: /home/.../Yocto_Radxa/dunfell_ext/tmp/deploy/images/rockpi-4b-rk3399/mkimage: No such file or directory
| WARNING: /home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/temp/run.do_image_rockchip_radxa_gpt_img.557881:1 exit 127 from '/home/.../Yocto_Radxa/dunfell_ext/tmp/deploy/images/rockpi-4b-rk3399/mkimage -n rk3399 -T rksd -d /home/.../Yocto_Radxa/dunfell_ext/tmp/deploy/images/rockpi-4b-rk3399/radxa-binary/ddr.bin /home/.../Yocto_Radxa/dunfell_ext/tmp/deploy/images/rockpi-4b-rk3399/idbloader.img'
| ERROR: Execution of '/home/.../Yocto_Radxa/dunfell_ext/tmp/work/rockpi_4b_rk3399-poky-linux/radxa-minimal-image/1.0-r0/temp/run.do_image_rockchip_radxa_gpt_img.557881' failed with exit code 127
ERROR: Task (/media/egor/work/My_Designs/RockPi4/yocto_poky_dunfell/poky/build/../meta-radxa/recipes-core/images/radxa-minimal-image.bb:do_image_rockchip_radxa_gpt_img) failed with exit code '1'
NOTE: Tasks Summary: Attempted 5001 tasks of which 4993 didn't need to be rerun and 1 failed.
I want to use yocto for Rock 5b.
How hard would it be? Any hints on where to start?
Hi,
Is it possible to add Rock 3A among the supported boards?
Or you have to give up.
Thanks.
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.