# Armbian logs for b1f739f4-a394-44bf-ac80-72d8714be9f5 # Armbian build at Mon Jan 9 21:57:27 NZDT 2023 on spearmint ---------------------------------------------------------------------------------------------------------------- # ARGs: 'BOARD=pine64' 'BRANCH=current' 'RELEASE=jammy' 'BUILD_MINIMAL=no' 'BUILD_DESKTOP=yes' 'KERNEL_ONLY=no' 'KERNEL_CONFIGURE=no' 'CREATE_PATCHES=no' ---------------------------------------------------------------------------------------------------------------- ---------------------------------------------------------------------------------------------------------------- # Last revision: commit a7051956c1df8d214dede63bafbfa5b18bd57db2 (HEAD -> armbian-next, origin/armbian-next) Author: Ricardo Pardini ------------------------ armbian-next END marker ----------------------------- ---------------------------------------------------------------------------------------------------------------- # Git status: On branch armbian-next Your branch is up to date with 'origin/armbian-next'. Changes not staged for commit: (use "git add ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: lib/functions/host/prepare-host.sh modified: lib/functions/image/rootfs-to-image.sh modified: patch/kernel/archive/rockchip64-5.15/general-add-overlay-configfs.patch modified: patch/u-boot/u-boot-rockchip64/add-board-orangepi-r1-plus-lts.patch modified: patch/u-boot/u-boot-rockchip64/rk3399-ehci-probe-usb2.patch Untracked files: (use "git add ..." to include in what will be committed) 1 null no changes added to commit (use "git add" and/or "git commit -a") ---------------------------------------------------------------------------------------------------------------- # Git changes: diff --git a/lib/functions/host/prepare-host.sh b/lib/functions/host/prepare-host.sh index d54342477..8060c0fa8 100644 --- a/lib/functions/host/prepare-host.sh +++ b/lib/functions/host/prepare-host.sh @@ -102,7 +102,7 @@ prepare_host() { # sync clock if [[ $SYNC_CLOCK != no ]]; then display_alert "Syncing clock" "host" "info" - run_host_command_logged ntpdate "${NTP_SERVER:-pool.ntp.org}" + run_host_command_logged ntpdate "${NTP_SERVER:-pool.ntp.org}" > null 2&>1 || true fi fi  @@ -185,7 +185,7 @@ prepare_host() { # check free space (basic) @TODO probably useful to refactor and implement in multiple spots. local free_space_bytes free_space_bytes=$(findmnt --target "${SRC}" -n -o AVAIL -b 2> /dev/null) # in bytes - if [[ -n "$free_space_bytes" && $((free_space_bytes / 1073741824)) -lt 10 ]]; then + if [[ -n $free_space_bytes && $((free_space_bytes / 1073741824)) -lt 10 ]]; then display_alert "Low free space left" "$((free_space_bytes / 1073741824)) GiB" "wrn" # pause here since dialog-based menu will hide this message otherwise echo -e "Press \e[0;33m\x1B[0m to abort compilation, \e[0;33m\x1B[0m to ignore and continue" diff --git a/lib/functions/image/rootfs-to-image.sh b/lib/functions/image/rootfs-to-image.sh index c03d39b09..38dee3aeb 100644 --- a/lib/functions/image/rootfs-to-image.sh +++ b/lib/functions/image/rootfs-to-image.sh @@ -58,7 +58,7 @@ create_image_from_sdcard_rootfs() {  # DEBUG: print free space local freespace - freespace=$(LC_ALL=C df -h) + freespace=$(LC_ALL=C df -h > null 2&>1) || true display_alert "Free SD cache" "$(echo "$freespace" | grep "${SDCARD}" | awk '{print $5}')" "info" display_alert "Mount point" "$(echo "$freespace" | grep "${MOUNT}" | head -1 | awk '{print $5}')" "info"  diff --git a/patch/kernel/archive/rockchip64-5.15/general-add-overlay-configfs.patch b/patch/kernel/archive/rockchip64-5.15/general-add-overlay-configfs.patch index cc68eadcc..9c3593f90 100644 --- a/patch/kernel/archive/rockchip64-5.15/general-add-overlay-configfs.patch +++ b/patch/kernel/archive/rockchip64-5.15/general-add-overlay-configfs.patch @@ -1,11 +1,11 @@ -Below patch is a squash of following 4 commits borrowed from ayufan's -https://github.com/ayufan-rock64/linux-mainline-kernel repo: - From cc22206776d61948f6984a4f03d8013eb4f92984 Mon Sep 17 00:00:00 2001 From: Pantelis Antoniou  Date: Wed, 3 Dec 2014 13:23:28 +0200 Subject: [PATCH] OF: DT-Overlay configfs interface  +Below patch is a squash of following 4 commits borrowed from ayufan's +https://github.com/ayufan-rock64/linux-mainline-kernel repo: + This is a port of Pantelis Antoniou's v3 port that makes use of the new upstreamed configfs support for binary attributes.  @@ -45,28 +45,9 @@ The .default_groups is linked list since commit 1ae1602de028acaa42a0f6ff18d19756f8e825c6. This commit uses configfs_add_default_group to fix this problem.  -Change-Id: Id4903c9725ebc355aadd067bbc32047db622ce61 Signed-off-by: Slawomir Stepien  - -From 7cfb967c52d374ddcb0fc9194f38d1d5f9d8cdd8 Mon Sep 17 00:00:00 2001 -From: popcornmix  -Date: Sun, 3 Dec 2017 21:43:03 +0000 -Subject: [PATCH] configfs: New of_overlay API - -From 8637321fabb045fe8617360ef1b058978b0d8457 Mon Sep 17 00:00:00 2001 -From: Phil Elwell  -Date: Mon, 4 Dec 2017 14:07:40 +0000 -Subject: [PATCH] SQUASH: config_fs: of_overlay_apply takes a pointer - Signed-off-by: Phil Elwell   -From 274dfabb947ca32116a429c582c74aaee6ff1b5b Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Kamil=20Trzci=C5=84ski?=  -Date: Mon, 14 May 2018 11:28:09 +0200 -Subject: [PATCH] ayufan: fix overlayfs to compile on 4.17 kernel - -Change-Id: I421887697d2ba6e52aba9100100b7664760e2001 - diff --git a/Documentation/devicetree/configfs-overlays.txt b/Documentation/devicetree/configfs-overlays.txt new file mode 100644 index 0000000000000..5fa43e0643072 diff --git a/patch/u-boot/u-boot-rockchip64/add-board-orangepi-r1-plus-lts.patch b/patch/u-boot/u-boot-rockchip64/add-board-orangepi-r1-plus-lts.patch index fc89013e9..34ccaa878 100644 --- a/patch/u-boot/u-boot-rockchip64/add-board-orangepi-r1-plus-lts.patch +++ b/patch/u-boot/u-boot-rockchip64/add-board-orangepi-r1-plus-lts.patch @@ -1,6 +1,6 @@ From: schwar3kat <61094841+schwar3kat@users.noreply.github.com> Date: Wed, 08 Jun 2022 13:47:03 +1300 -Subject: Add u-boot support rk3328-orangepi-r1-plus +Subject: [PATCH] Add u-boot support rk3328-orangepi-r1-plus-lts  Signed-off-by: schwar3kat <61094841+schwar3kat@users.noreply.github.com> --- @@ -751,7 +751,7 @@ index ed197fa4..6a14eada 100644 @@ -648,6 +648,8 @@ static struct phy_driver *generic_for_phy(struct phy_device *phydev) return &genphy_driver; } -  + +#define YT_8531C_PHY_ID 0x4f51e91b + static struct phy_driver *get_phy_driver(struct phy_device *phydev) @@ -760,14 +760,11 @@ index ed197fa4..6a14eada 100644 @@ -646,6 +651,10 @@ static struct phy_driver *get_phy_driver(struct phy_device *phydev, int phy_id = phydev->phy_id; struct phy_driver *drv = NULL; -  -+ if(phy_id == YT_8531C_PHY_ID) + ++ if (phy_id == YT_8531C_PHY_ID) + env_set("ethernet_phy", "yt8531c"); + else + env_set("ethernet_phy", "rtl8211f"); list_for_each(entry, &phy_drivers) { drv = list_entry(entry, struct phy_driver, list); if ((drv->uid & drv->mask) == (phy_id & drv->mask)) - - - diff --git a/patch/u-boot/u-boot-rockchip64/rk3399-ehci-probe-usb2.patch b/patch/u-boot/u-boot-rockchip64/rk3399-ehci-probe-usb2.patch index 0676625d5..f6a5b70ff 100644 --- a/patch/u-boot/u-boot-rockchip64/rk3399-ehci-probe-usb2.patch +++ b/patch/u-boot/u-boot-rockchip64/rk3399-ehci-probe-usb2.patch @@ -1,14 +1,12 @@ -From git@z Thu Jan 1 00:00:00 1970 -Subject: [PATCH] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2. +From git@z Mon Sep 17 00:00:00 2001 From: Xavier Drudis Ferran  Date: Fri, 01 Jul 2022 20:59:59 +0200 +Subject: [PATCH] arm: dts: rockchip: rk3399: usb: ehci: Fix EHCI probe in rk3399 to access peripherals by USB 2. + Message-Id: <20220701185959.GC1700@begut> To: u-boot@lists.denx.de Cc: Simon Glass , Philipp Tomsich , Kever Yang , Lukasz Majewski , Sean Anderson , Marek Vasut  List-Id: U-Boot discussion  -MIME-Version: 1.0 -Content-Type: text/plain; charset="utf-8" -Content-Transfer-Encoding: 7bit  arch/arm/dts/rk3399.dtsi has a node  @@ -93,6 +91,7 @@ Cc: Sean Anderson  Cc: Marek Vasut   Signed-off-by: Xavier Drudis Ferran  + --- arch/arm/dts/rk3399-u-boot.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) ---------------------------------------------------------------------------------------------------------------- ------------------------------------------------------------------------------------------------------------ ## 001.000.entrypoint.log --> 🦋 0: 1415681 - 1415681 - 1415681: ehBE: group: [ ] --> 🧽 0: 1415681 - 1415681 - 1415681: ehBE: cleanup: Add callback as cleanup handler [ trap_handler_cleanup_logging ] --> 🧽 0: 1415681 - 1415681 - 1415681: ehBE: cleanup: Add callback as cleanup handler [ trap_handler_reset_output_owner ] ------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------ ## 002.000.prepare_host_basic.log --> 🦋 0: 1415681 - 1415681 - 1415681: ehBE: group: [ ] --> 🐛 0: 1415681 - 1415681 - 1415681: ehBE: debug: basic-deps are already installed on host [ nothing to be done ] --> 🦋 0: 1415681 - 1415681 - 1415681: ehBE: group: [ in 0s ] --> 🐛 0: 1415681 - 1415681 - 1415681: ehBE: debug: Executing final CLI command [ build ] --> 🐛 0: 1415681 - 1415681 - 1415681: ehBE: debug: Calling run function for command [ build: cli_standard_build_run ] --> 🐛 0: 1415681 - 1415681 - 1415681: ehBE: debug: normally logging output [ do_with_conditional_logging ] ------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------ ## 003.000.config_early_init.log --> 🦋 0: 1415681 - 1415681 - 1415681: ehBE: group: [ ] --> 🌱 0: 1415681 - 1415681 - 1415681: ehBE: info: Starting single build process [ pine64 ] --> 🦋 0: 1415681 - 1415681 - 1415681: ehBE: group: [ in 0s ] --> 🐛 0: 1415681 - 1415681 - 1415681: ehBE: debug: normally logging output [ do_with_conditional_logging ] ------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------ ## 004.000.config_source_board_file.log --> 🦋 0: 1415681 - 1415681 - 1415681: ehBE: group: [ ] --> 🌱 1: 1415681 - 1415681 - 1415681: ehBE: info: Sourcing board configuration [ /mnt/data/build-armbian/armbian-next/build/config/boards/pine64.conf ] --> 🦋 1: 1415681 - 1415681 - 1415681: ehBE: group: [ in 1s ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: Already set BRANCH, skipping interactive [ current ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: normally logging output [ do_with_conditional_logging ] ------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------ ## 005.000.config_pre_main.log --> 🦋 1: 1415681 - 1415681 - 1415681: ehBE: group: [ ] --> 🦋 1: 1415681 - 1415681 - 1415681: ehBE: group: [ in 0s ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: normally logging output [ do_with_conditional_logging ] ------------------------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------------------------------------ ## 006.000.do_main_configuration.log --> 🦋 1: 1415681 - 1415681 - 1415681: ehBE: group: [ ] --> 🌱 1: 1415681 - 1415681 - 1415681: ehBE: info: Starting main configuration [ ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: DEST_LANG... [ DEST_LANG: en_US.UTF-8 ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: Using host's /etc/timezone for [ TZDATA: Pacific/Auckland ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: .deb compression [ DEB_COMPRESS=none ] --> 🌱 1: 1415681 - 1415681 - 1415681: ehBE: info: Sourcing family configuration [ /mnt/data/build-armbian/armbian-next/build/config/sources/families/sun50iw1.conf ] --> 🌿 1: 1415681 - 1415681 - 1415681: ehBE: other: Enabling extension [ sunxi-tools ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: Sourcing common arch configuration [ common.conf ] --> 🌱 1: 1415681 - 1415681 - 1415681: ehBE: info: Sourcing arch configuration [ arm64.conf ] --> 🐛 1: 1415681 - 1415681 - 1415681: ehBE: debug: Initializing EXTENSION_MANAGER_TMP_DIR [ /mnt/data/build-armbian/armbian-next/build/.tmp/extensions-b1f739f4-a394-44bf-ac80-72d8714be9f5 ] --> 🧽 1: 1415681 - 1415681 - 1415681: ehBE: cleanup: Add callback as cleanup handler [ cleanup_handler_extensions ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Initializing EXTENSION_MANAGER [ initializing extension manager ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extensions hook point [ build_host_tools ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions_pre_sort [ compile_sunxi_tools ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions_sorted_by_sort_id [ 500_compile_sunxi_tools ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions (final sorted realnames) [ compile_sunxi_tools ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extensions hook_point: build_host_tools will run 1 functions [ 1 ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extensions hook point [ fetch_sources_tools ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions_pre_sort [ sunxi_tools ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions_sorted_by_sort_id [ 500_sunxi_tools ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions (final sorted realnames) [ sunxi_tools ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extensions hook_point: fetch_sources_tools will run 1 functions [ 1 ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extensions hook point [ run_after_build ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions_pre_sort [ 999_finish_extension_manager ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions_sorted_by_sort_id [ 999_finish_extension_manager ] --> 🐾 1: 1415681 - 1415681 - 1415681: ehBE: extensionstrace: Extensions hook_point_functions (final sorted realnames) [ 999_finish_extension_manager ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extensions hook_point: run_after_build will run 1 functions [ 1 ] --> 🌱 1: 1415681 - 1415681 - 1415681: ehBE: info: Extension manager [ processed 3 Extension Methods calls and 3 Extension Method implementations ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extension Method 'post_family_config' being called from [ cli/entrypoint.sh:155 -> cli/utils-cli.sh:126 -> cli/cli-build.sh:10 -> main/config-prepare.sh:16 -> logging/logging.sh:138 -> logging/logging.sh:112 -> configuration/main-config.sh:254 ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extension Method being called: post_family_config [ hook: post_family_config ] --> 🎣 1: 1415681 - 1415681 - 1415681: ehBE: extensions: Extension Method being called: config_tweaks_post_family_config [ hook: config_tweaks_post_family_config ] --> 🎣 2: 1415681 - 1415681 - 1415681: ehBE: extensions: Extension Method 'post_family_config_branch_current' being called from [ cli/entrypoint.sh:155 -> cli/utils-cli.sh:126 -> cli/cli-build.sh:10 -> main/config-prepare.sh:16 -> logging/logging.sh:138 -> logging/logging.sh:112 -> configuration/main-config.sh:262 ] --> 🎣 2: 1415681 - 1415681 - 1415681: ehBE: extensions: Extension Method being called: post_family_config_branch_current [ hook: post_family_config_branch_current ] --> 🐛 2: 1415681 - 1415681 - 1415681: ehBE: debug: desktop-config [ DESKTOP_ENVIRONMENT entry: ] --> 🐛 2: 1415681 - 1415681 - 1415681: ehBE: debug: Desktops available [ cinnamon Cinnamon desktop environment gnome Gnome desktop environment xfce Xfce desktop environment ] --> 💥 2: 1415681 - 1415681 - 1415681: ehBE: err: error: stdout is not a terminal. can't use dialog. [ dialog_if_terminal_set_vars --title Choose a desktop environment --backtitle Armbian building script, https://www.armbian.com | https://docs.armbian.com | (c) 2013-2023 Igor Pecovnik --menu Select the default desktop environment to bundle with this image -8 cinnamon Cinnamon desktop environment gnome Gnome desktop environment xfce Xfce desktop environment in dialog_if_terminal_set_vars() at /mnt/data/build-armbian/armbian-next/build/lib/functions/configuration/menu.sh:17 ] --> 💥 2: 1415681 - 1415681 - 1415681: ehBE: err: Build terminating... wait for cleanups... [ ] --> 🧽 2: 1415681 - 1415681 - 1415681: ehBE: trap: main_trap_handler [ EXIT and 43 trap_manager_error_handled: short_stack:/mnt/data/build-armbian/armbian-next/build/lib/functions/logging/traps.sh:1 ] ------------------------------------------------------------------------------------------------------------