Giter Site home page Giter Site logo

nishantpoorswani / meta-radxa Goto Github PK

View Code? Open in Web Editor NEW
25.0 5.0 29.0 162 KB

OpenEmbedded BSP Layer for the Radxa boards

License: GNU Lesser General Public License v3.0

BitBake 13.68% Batchfile 4.54% Makefile 0.38% C 72.95% Shell 7.12% NASL 0.30% HTML 0.22% Pascal 0.80%
meta-radxa radxa-boards rockpi bsp-layer rockpi-s rockpi-e yocto openembedded rockpi-4 rockpi4-yocto

meta-radxa's Introduction

Meta-radxa

Table of contents

  1. Introduction
  2. Dependencies
  3. List of Radxa Boards supported
  4. Using the meta-radxa layer
    1. Step 1:Fetching the Source
    2. Step 2:Setting up the Environment
    3. Step 3:Bblayers.conf Setup
    4. Step 4:Local.conf Setup
    5. Step 5:Building the Image
  5. Serial Console
  6. Login Details
  7. Networking
    1. Wifi Connectivity
    2. Bluetooth Connectivity
  8. Release Info
  9. Change Log
  10. Contributing
  11. Reporting Bugs
  12. Maintainers

Introduction

The OpenEmbedded/Yocto Project BSP layer for the Radxa machines

Dependencies

The meta-radxa layer depends on:

URI: git://git.yoctoproject.org/poky
branch: zeus

URI: git://git.openembedded.org/meta-openembedded
layers: meta-oe meta-networking meta-python meta-multimedia meta-gnome meta-xfce
branch: zeus

List of Radxa Boards supported

  1. RockPi-4A (Tested by Stephen Chan from Radxa Team)
  2. RockPi-4B (Tested by Stephen Chan from Radxa Team)
  3. RockPi-4C (Tested by Stephen Chan from Radxa Team)
  4. RockPi-E
  5. RockPi-N10
  6. RockPi-PX30
  7. RockPi-S

Using the meta-radxa layer

Step 1: Fetching the source

Fetch the source using the commands given below:

~ $ mkdir yocto
~ $ cd yocto
~/yocto $ git clone git://git.yoctoproject.org/poky -b zeus
~/yocto $ cd poky
~/yocto/poky $ git clone git://git.openembedded.org/meta-openembedded.git -b zeus
~/yocto/poky $ git clone https://github.com/nishantpoorswani/meta-radxa.git -b zeus

Step 2: Setting up the Environment

 ~/yocto/poky $ source oe-init-build-env

Step 3: Bblayers.conf Setup

  • You can simply copy the bblayers.conf.sample present in meta-radxa/conf folder to the build/conf folder and rename it to bblayers.conf
OR
  • Add the layers manually as given below to the bblayers.conf in the build/conf folder
  ${TOPDIR}/../meta \
  ${TOPDIR}/../meta-poky \
  ${TOPDIR}/../meta-yocto-bsp \
  ${TOPDIR}/../meta-openembedded/meta-oe \
  ${TOPDIR}/../meta-openembedded/meta-networking \
  ${TOPDIR}/../meta-openembedded/meta-python \
  ${TOPDIR}/../meta-openembedded/meta-multimedia \ 
  ${TOPDIR}/../meta-openembedded/meta-gnome \
  ${TOPDIR}/../meta-openembedded/meta-xfce \
  ${TOPDIR}/../meta-radxa \

Step 4: Local.conf Setup

  • You can simply copy the local.conf.sample present in meta-radxa/conf folder to the build/conf folder and rename it to local.conf and uncomment the machine for which you want to build an image
OR
  • Add the following lines in the build/conf/local.conf
MACHINE ?= "xxxx"
DISTRO_FEATURES_append = " pam systemd x11"
VIRTUAL-RUNTIME_init_manager = "systemd"
PACKAGECONFIG_append_pn-systemd = " resolved networkd"
DISTRO_FEATURES_remove = "wayland"

Replace xxxx with the machine you want to build the image for. All supported machines can be found in meta-radxa/conf/machine.

Step 5: Building the Image

  • If you wish to build a minimal image use the command given below:
~/yocto/poky/build $ bitbake -k radxa-minimal-image
OR
  • If you wish to build a console image use the command given below:
~/yocto/poky/build $ bitbake -k radxa-console-image
OR
  • If you wish to build a desktop image use the command given below:
~/yocto/poky/build $ bitbake -k radxa-desktop-image

At the end of a successful build, you should have a gpt.img image in build/tmp/deploy/images/MACHINE/ folder. The gpt.img can be directly flashed on the sd-card

Serial Console

The Serial Console for RockPi-4, RockPi-E and RockPi-N10 is enabled on UART-2. The Serial Console for RockPi-S is enabled on UART-0.

Helpful Links:

Login Details

Username: root
Password: rock

Networking

Network Devices available:

  • Wifi
  • Ethernet
  • Bluetooth

Wifi Connectivity

  • Using Commandline Based GUI(nmtui) [Available on console and desktop images]

nmtui is a curses based GUI. You can start it by running the following command:

nmtui
  • Using Commandline Utility(nmcli) [Available on console and desktop images]

nmcli is a command-line tool for controlling NetworkManager and reporting network status.

List available devices

nmcli dev

Turn on Wifi

nmcli r wifi on

Scanning different devices

nmcli dev wifi

Connect to WiFi Hotspot

nmcli dev wifi connect "SSID" password "PASSWORD"

Note:You need to replace “SSID” and “Password” with your actual WiFi’s SSID and password.

Bluetooth Connectivity

  • Bluetooth on RockPi-4B/RockPi-4C

Activating bluetooth:

hciconfig hci0 up

Check Bluetooth device:

 $ hciconfig
 hci0:   Type: Primary  Bus: UART
         BD Address: 43:45:C5:00:1F:AC  ACL MTU: 1021:8  SCO MTU: 64:1
         UP RUNNING 
         RX bytes:876 acl:0 sco:0 events:62 errors:0
         TX bytes:4755 acl:0 sco:0 commands:62 errors:0
  • Bluetooth on RockPi-E

Manual setup for bluetooth:

Bluetooth is activated by default on the RockPi-E

Check Bluetooth device:

 $ hciconfig
 hci0:   Type: Primary  Bus: USB
         BD Address: 74:EE:2A:55:23:F7  ACL MTU: 1021:8  SCO MTU: 255:12
         UP RUNNING 
         RX bytes:40357 acl:34 sco:0 events:814 errors:0
         TX bytes:216782 acl:379 sco:0 commands:101 errors:0
  • Bluetooth on RockPi-N10

Activating bluetooth:

hciconfig hci0 up

Check Bluetooth device:

 $ hciconfig
 hci0:   Type: Primary  Bus: UART
         BD Address: 22:22:70:B2:10:6F  ACL MTU: 1021:8  SCO MTU: 255:12
         UP RUNNING 
         RX bytes:1399 acl:0 sco:0 events:45 errors:0
         TX bytes:3458 acl:0 sco:0 commands:45 errors:0
  • Bluetooth on RockPi-S

Activating bluetooth:

hciconfig hci0 up

Check Bluetooth device:

 $ hciconfig
 hci0:   Type: Primary  Bus: UART
         BD Address: 22:22:70:B2:10:6F  ACL MTU: 1021:8  SCO MTU: 255:12
         UP RUNNING 
         RX bytes:1399 acl:0 sco:0 events:45 errors:0
         TX bytes:3458 acl:0 sco:0 commands:45 errors:0

Release Info

  1. RockPi-4
  • Kernel version: 4.4.154-109-b04eccb4588e333bdaf3ba7e6e4186d2ebe53770
  • U-Boot version: 2017.09-04d66f4b45a47531b5ff6cdbddcdc2cc35fa7aea
  1. RockPi-E
  • Kernel version: 4.4.194-12-615ae743115011bbe1cd1edc5c9118bf95527f54
  • U-Boot version: 2019.10-7b93f1b8bce4106266d4a38dde96fd8080faccea
  1. RockPi-N10
  • Kernel version: 4.4.167-c36a21e2be755919e8b406069206e67126b7e712
  • U-Boot version: 2017.09-7c49a7da79caf2f68bc1074dfa21864d7f23b9e1
  1. RockPi-PX30
  • Kernel version: 4.4.189-dc47906e88166ae315f0472743de4d80f2bea786
  • U-Boot version: 2017.09-cfc37de87bc064b2d6d384566e24c5e4245f113a
  1. RockPi-S
  • Kernel version: 4.4.143-55-6b7accbc999b6caa8ef603b9d904c99694d0bf41
  • U-Boot version: 2017.09-233a23e3ed0b3e5250253ee455c3c5df2080f99c

Change Log

  • Added board support for RockPi-N10
  • Added board support for RockPi-PX30
  • Added board support for RockPi-4A
  • Added board support for RockPi-4C
  • RockPi-4 Kernel updated to 4.4.154-109-b04eccb4588e333bdaf3ba7e6e4186d2ebe53770
  • RockPi-4 U-Boot branch updated from stable-4.4-rockpi4 to rk3399-pie-gms-express-baseline
  • RockPi-4 U-Boot updated to 2017.09-04d66f4b45a47531b5ff6cdbddcdc2cc35fa7aea
  • RockPi-4 boards support SPI + NVME booting
  • RockPi-4b dtb changed from rockpi-4b-linux.dtb to rk3399-rock-pi-4b.dtb
  • RockPi-S Kernel updated to 4.4.143-55-6b7accbc999b6caa8ef603b9d904c99694d0bf41
  • RockPi-S U-Boot updated to 2017.09-c93a0fc70993c12e605b1312577252ca9cdec6c8
  • RockPi-S and RockPi-E gpt images have now been updated to use the 2 partition instead of the tradition 5 partition
  • Use ttySx as debuger console instead of ttyFIQ0 for RockPi-S and RockPi-E
  • Major Reorganization in U-Boot recipes. New structure will make it easier for adding new boards
  • Added recipe for making desktop images
  • Added recipe for setting up BT firmware and driver at boot for Rockpi-4, RockPi-E, RockPi-N10 and RockPi-S
  • Added recipe for kernel-headers, file-system resize at boot, mraa and create-ap

Contributing

Please use github for pull requests: https://github.com/nishantpoorswani/meta-radxa/pulls

Reporting bugs

The github issue tracker (https://github.com/nishantpoorswani/meta-radxa/issues) is being used to keep track of bugs.

Maintainers

meta-radxa's People

Contributors

nishantpoorswani avatar pheki avatar stepheninvamrs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

meta-radxa's Issues

Can't rotate screen for DSI display?

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?

missed /system/etc/firmware

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.

Support for Rock 5b?

I want to use yocto for Rock 5b.
How hard would it be? Any hints on where to start?

radxa-minimal-image.bb:do_image_rockchip_radxa_gpt_img failed with exit code '1'

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.