

lyh
Members-
Posts
9 -
Joined
-
Last visited
-
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
-
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?
lyh replied to lyh's topic in Radxa Rock 5B
The issue has been resolved: set CONFIG_DISABLE_CONSOLE=n. think you! -
How to enable UART debug logs during the U-Boot stage on Rock5B?
lyh posted a topic in Radxa Rock 5B
Hello, currently on Rock5B running Armbian 24, I am not seeing the U-Boot output logs during UART debugging. Where in the source code can I enable this? Thank you. -
I really appreciate your help😄
-
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?