- How to compile an Armbian firmware with 3D acceleration support for Rock-5B RK3588?
- How to compile an Armbian firmware with 3D acceleration support for Rock-5B RK3588?
-
How to compile an Armbian firmware with 3D acceleration support for Rock-5B RK3588?
I have tried compiling on both a new system with Ubuntu 22.04 (x64) and Ubuntu 24.04 (arm64), but it keeps getting stuck at the mesa-vpu stage. I am located in China. Is there a better way to successfully compile it? I was able to compile it normally a few months ago, but now itโs not working. log-build-5775b9ef-6d5d-4d23-90d7-18deff3e5ae2.log.ans
- How to compile an Armbian firmware with 3D acceleration support for Rock-5B RK3588?
-
How to compile an Armbian firmware with 3D acceleration support for Rock-5B RK3588?
The code being compiled is the latest mainline. My compile command: ./compile.sh build BOARD=rock-5b BRANCH=vendor BUILD_DESKTOP=yes BUILD_MINIMAL=no DESKTOP_APPGROUPS_SELECTED= DESKTOP_ENVIRONMENT=gnome DESKTOP_ENVIRONMENT_CONFIG_NAME=config_base KERNEL_CONFIGURE=no RELEASE=noble ENABLE_EXTENSIONS=mesa-vpu It has not been compiled successfully and is stuck here. I am in China and have used a VPN. Sometimes it compiles successfully, but after installation, the 3D acceleration feature is not detected. In the GNOME settings, it shows as LLVM software rendering. Installing 3D extension packages [ mesa-vpu ] [๐ธ] WARNING: SDCARD /var/cache/apt dir is not empty [ before 'apt-get --no-install-recommends install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0' :: /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt (2 files) ] [๐จ] /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt: [๐จ] total 3.9M [๐จ] drwxrwxr-x 2 root root 4.0K Mar 12 18:57 . [๐จ] -rw-r--r-- 1 root root 2.3M Mar 12 18:57 pkgcache.bin [๐จ] -rw-r--r-- 1 root root 1.6M Mar 12 18:57 srcpkgcache.bin [๐จ] drwxr-xr-x 13 root root 4.0K Mar 12 18:37 .. [๐จ] E: Unable to correct problems, you have held broken packages. [๐ธ] Command failed, retrying in 5s [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ] [๐ธ] WARNING: SDCARD /var/cache/apt dir is not empty [ before 'apt-get --no-install-recommends install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0' :: /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt (2 files) ] [๐จ] /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt: [๐จ] total 3.9M [๐จ] drwxrwxr-x 2 root root 4.0K Mar 12 18:57 . [๐จ] -rw-r--r-- 1 root root 2.3M Mar 12 18:57 pkgcache.bin [๐จ] -rw-r--r-- 1 root root 1.6M Mar 12 18:57 srcpkgcache.bin [๐จ] drwxr-xr-x 13 root root 4.0K Mar 12 18:37 .. [๐จ] E: Unable to correct problems, you have held broken packages. [๐ธ] Command failed, retrying in 5s [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ] [๐ธ] WARNING: SDCARD /var/cache/apt dir is not empty [ before 'apt-get --no-install-recommends install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0' :: /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt (2 files) ] [๐จ] /home/qqq/lyh/v24_11_build/.tmp/rootfs-1777ddf6-77e5-4225-bf2d-2f8abff527ae/var/cache/apt: [๐จ] total 3.9M [๐จ] drwxrwxr-x 2 root root 4.0K Mar 12 18:57 . [๐จ] -rw-r--r-- 1 root root 2.3M Mar 12 18:57 pkgcache.bin [๐จ] -rw-r--r-- 1 root root 1.6M Mar 12 18:57 srcpkgcache.bin [๐จ] drwxr-xr-x 13 root root 4.0K Mar 12 18:37 .. [๐จ] E: Unable to correct problems, you have held broken packages. [๐ธ] Command failed, retrying in 5s [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ] [๐ธ] Command failed 3 times, giving up [ chroot_sdcard_apt_get_install libgl1-mesa-dri libglx-mesa0 mesa-utils mesa-utils-extra glmark2 glmark2-wayland glmark2-es2-wayland glmark2-es2 glmark2-x11 glmark2-es2-x11 chromium rockchip-multimedia-config chromium libv4l-rkmpp gstreamer1.0-rockchip libwidevinecdm0 ] [๐ฅ] Error 1 occurred in main shell [ at /home/qqq/lyh/v24_11_build/extensions/mesa-vpu.sh:160 post_install_kernel_debs__3d() --> extensions/mesa-vpu.sh:160 post_install_kernel_debs() --> <extension_magic>:222 call_extension_method() --> lib/functions/general/extensions.sh:57 install_distribution_agnostic() --> lib/functions/rootfs/distro-agnostic.sh:309 do_with_logging() --> lib/functions/logging/section-logging.sh:81 build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:28 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:36 do_with_default_build() --> lib/functions/main/default-build.sh:42 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50 ] [๐ฅ] Cleaning up [ please wait for cleanups to finish ] [๐ฟ] Unmounting recursively [ SDCARD - be patient ] [๐ฑ] Unmounted OK after 2 attempt(s) [ SDCARD ] [๐ฟ] Unmounting recursively [ MOUNT - be patient ] [๐ฟ] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-1777ddf6-77e5-4225-bf2d-2f8abff527ae.log.ans ] [๐ฟ] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-1777ddf6-77e5-4225-bf2d-2f8abff527ae.log.ans https://paste.armbian.com/log ]
- How to enable UART debug logs during the U-Boot stage on Rock5B?
- How to enable UART debug logs during the U-Boot stage on Rock5B?
- How does armbian recompile uboot and kernel๏ผ
-
How does armbian recompile uboot and kernel๏ผ
Hello, my development board is Rock5B, and I am using the Armbian system for a recent project. I have already compiled the firmware in the armbian/build/ directory, and the device starts up normally. I want to modify and customize my U-Boot and kernel. After compiling Armbian, I would like to recompile U-Boot or the kernel in the armbian/build/cache/sources directory. Are there any commands to rebuild U-Boot and the kernel?
lyh
Members
-
Joined
-
Last visited