frontrange Posted March 4, 2023 Share Posted March 4, 2023 I'm having trouble trying to do a custom kernel configuration using this image on my hc4. It's just not opening menuconfig, I get the screen to select the board ( odroid hc4), then the LTS/Edge kernel screen, then this is the only output: ย ~/build$ ./compile.sh BOARD=odroidhc4 BRANCH=current BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=yes KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,img [๐ฟ] Applying cmdline param [ 'BUILD_MINIMAL': '(empty)' --> 'no' early ] [๐ฟ] Applying cmdline param [ 'COMPRESS_OUTPUTIMAGE': '(empty)' --> 'sha,img' early ] [๐ฟ] Applying cmdline param [ 'BUILD_DESKTOP': '(empty)' --> 'no' early ] [๐ฟ] Applying cmdline param [ 'BRANCH': '(empty)' --> 'current' early ] [๐ฟ] Applying cmdline param [ 'BOARD': '(empty)' --> 'odroidhc4' early ] [๐ฟ] Applying cmdline param [ 'KERNEL_ONLY': '(empty)' --> 'yes' early ] [๐ฟ] Applying cmdline param [ 'KERNEL_CONFIGURE': '(empty)' --> 'yes' early ] [๐ธ] This script requires root privileges; Docker is unavailable [ trying to use sudo ] [๐ฟ] Applying cmdline param [ 'PREFER_DOCKER': '(empty)' --> 'no' early ] [๐ฟ] Applying cmdline param [ 'BUILD_MINIMAL': '(empty)' --> 'no' early ] [๐ฟ] Applying cmdline param [ 'COMPRESS_OUTPUTIMAGE': '(empty)' --> 'sha,img' early ] [๐ฟ] Applying cmdline param [ 'BUILD_DESKTOP': '(empty)' --> 'no' early ] [๐ฟ] Applying cmdline param [ 'ARMBIAN_RELAUNCHED': '(empty)' --> 'yes' early ] [๐ฟ] Applying cmdline param [ 'BRANCH': '(empty)' --> 'current' early ] [๐ฟ] Applying cmdline param [ 'BOARD': '(empty)' --> 'odroidhc4' early ] [๐ฟ] Applying cmdline param [ 'SET_OWNER_TO_UID': '(empty)' --> '1000' early ] [๐ฟ] Applying cmdline param [ 'KERNEL_ONLY': '(empty)' --> 'yes' early ] [๐ฟ] Applying cmdline param [ 'KERNEL_CONFIGURE': '(empty)' --> 'yes' early ] [๐ฑ] Starting single build process [ odroidhc4 ] [๐ฑ] Checking [ basic host setup ] [๐ฑ] Build host OS release [ jammy ] [๐ฑ] Build host architecture [ arm64 ] [๐ฑ] Sourcing board configuration [ /home/steve/build/config/boards/odroidhc4.conf ] [๐ฑ] Starting main configuration [๐ฑ] Sourcing family configuration [ /home/steve/build/config/sources/families/meson-sm1.conf ] [๐ฑ] Sourcing arch configuration [ arm64.conf ] [๐ฑ] Extension manager [ processed 4 Extension Methods calls and 4 Extension Method implementations ] [๐ฑ] Configuration prepared for BOARD build [ odroidhc4.conf ] [โจ] Repeat Build Options (early) [ ./compile.sh BOARD=odroidhc4 BRANCH=current BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=yes KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,img ] [๐ฑ] Checked directory OK for mount options [ /home/steve/build/.tmp ('main temporary dir') ] [๐ฑ] Preparing [ host ] [๐ฑ] Syncing clock [ host ] [๐จ] ย ย 4 Mar 18:52:16 ntpdate[41836]: adjust time server 38.229.56.9 offset -0.001440 sec [๐ฑ] artifact [ uboot :: uboot() ] [๐ฑ] Using cached [ GIT_INFO_UBOOT ] [๐] artifact [ present in local cache: uboot-odroidhc4-current 2023.01-S62e2-P1cd3-B680b ] [๐ฑ] artifact [ kernel :: kernel() ] [๐ฑ] Using cached [ GIT_INFO_KERNEL ] [๐ฑ] Using kernel config file [ config/kernel/linux-meson64-current.config ] [๐] artifact [ present in local cache: kernel-meson64-current 6.1.15-S4261-De511-Pb8ce-C072bHfe66-Bb436 ] [๐ฑ] artifact [ firmware :: firmware() ] [๐ฑ] Using cached [ GIT_INFO_ARMBIAN_FIRMWARE ] [๐] artifact [ present in local cache: armbian-firmware 1-SA56ad-B6be6 ] [๐ฑ] Building deb [ armbian-plymouth-theme ] [๐ฑ] shellcheck found no problems in package scripts [ shellchecked 3 scripts in 'armbian-plymouth-theme' ] [๐จ] ย dpkg-deb: building package 'armbian-plymouth-theme' in '/home/steve/build/.tmp/work-5237001b-8933-4274-b02b-98b6ec67e71c/tmp.exL1KIf5bj/armbian-plymouth-theme_23.05.0-trunk_all.deb'. [๐ธ] using legacy option [ KERNEL_ONLY=yes; stopping build mid-packages ] [๐ฑ] Runtime [ 0 min ] [โจ] Repeat Build Options [ ./compile.sh BOARD=odroidhc4 BRANCH=current BUILD_MINIMAL=no BUILD_DESKTOP=no KERNEL_ONLY=yes KERNEL_CONFIGURE=yes COMPRESS_OUTPUTIMAGE=sha,img ] [๐ฑ] Cleaning up [ please wait for cleanups to finish ] [๐ฟ] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-5237001b-8933-4274-b02b-98b6ec67e71c.log.ans ] [๐ฟ] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build-5237001b-8933-4274-b02b-98b6ec67e71c.log.ans https://paste.next.armbian.com/log ] steve@odroidhc4:~/build$ ย 0 Quote Link to comment Share on other sites More sharing options...
Werner Posted March 4, 2023 Share Posted March 4, 2023 Split post into separate topic 0 Quote Link to comment Share on other sites More sharing options...
SteeMan Posted March 5, 2023 Share Posted March 5, 2023 I'm pretty sure this is a bug and I have logged it as such: https://github.com/armbian/build/issues/4905 1 Quote Link to comment Share on other sites More sharing options...
frontrange Posted March 5, 2023 Author Share Posted March 5, 2023 (edited) FWIW, I tried a newer imageย ย Armbian 23.02.2 Jammy with Linux 6.1.11-meson64 and got a different error, which only seems to happen when the kernel configuration option is selected: ย [๐ฑ] Syncing clock [ host ] [๐จ] ย ย 5 Mar 14:14:43 ntpdate[8332]: adjust time server 69.89.207.199 offset -0.002988 sec [๐จ] ย '/home/steve/build/config/templates/customize-image.sh.template' -> '/home/steve/build/userpatches/customize-image.sh' [๐ฑ] artifact [ uboot :: uboot() ] [๐ฑ] Producing new & caching [ GIT_INFO_UBOOT ] [๐ฑ] Fetching SHA1 of tag v2023.01^{} [ https://github.com/u-boot/u-boot ] [๐ฑ] SHA1 of tag v2023.01^{} [ '62e2ad1ceafbfdf2c44d3dc1b6efc81e768a96b9' ] [๐ฑ] Getting ORAS manifest [ ORAS manifest from ghcr.io/armbian/cache-uboot/uboot-odroidhc4-current:2023.01-S62e2-P1cd3-B680b ] [๐ฑ] Downloading required [ ORAS tooling ] parse error: Invalid numeric literal at line 1, column 11 [๐ฅ] Error ย 4 occurred in SUBSHELL [ SUBSHELL at /home/steve/build/lib/functions/general/oci-oras.sh:141 ] [๐ฅ] Error 4 occurred in main shell [ at /home/steve/build/lib/functions/general/oci-oras.sh:141 ย ย ย oras_get_artifact_manifest() --> lib/functions/general/oci-oras.sh:141 ย ย is_artifact_available_in_remote_cache() --> lib/functions/artifacts/artifacts-obtain.sh:279 ย ย artifact_uboot_is_available_in_remote_cache() --> lib/functions/artifacts/artifact-uboot.sh:107 ย ย artifact_is_available_in_remote_cache() --> lib/functions/artifacts/artifacts-obtain.sh:24 ย ย ย ย ย ย ย ย do_with_logging() --> lib/functions/logging/section-logging.sh:72 ย ย ย ย obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:169 ย ย ย ย build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:209 ย ย main_default_build_packages() --> lib/functions/main/build-packages.sh:49 ย ย full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:4 ย ย ย ย ย do_with_default_build() --> lib/functions/main/default-build.sh:17 ย ย ย ย ย cli_standard_build_run() --> lib/functions/cli/cli-build.sh:17 ย ย ย ย armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:126 ย ย ย ย ย ย ย ย ย cli_entrypoint() --> lib/functions/cli/entrypoint.sh:164 ย ย ย ย ย ย ย ย ย ย ย ย ย ย main() --> compile.sh:52 ย ] [๐ฅ] Cleaning up [ please wait for cleanups to finish ] [๐ฟ] ANSI log file built; inspect it by running: [ less -RS output/logs/log-build-no-uuidgen-yet-20599-471010.log.ans ] [๐ฟ] Share log manually (or SHARE_LOG=yes): [ curl --data-binary @output/logs/log-build- ย ย Edited March 5, 2023 by frontrange 0 Quote Link to comment Share on other sites More sharing options...
SteeMan Posted March 5, 2023 Share Posted March 5, 2023 FYI a workaround reply to the bug report: "Confirm, when doing kernel configย during image buildย -- it can be worked-around by runningย ./compile.shย with commandย kernel-config, for now. I will try to come up with a way to make this work during image build, but inconsistencies arise, so fix is more complex than originally thought" 0 Quote Link to comment Share on other sites More sharing options...
DmitryVS Posted March 7, 2023 Share Posted March 7, 2023 Hello! I'm trying to build Armbian for Nano Pi Neo with some extra kernel modules. But kernel options selection dialog is simply does not firing by compile.sh script. It ignores KERNEL_CONFIGURE=yes command line option as well as interactive choice. Just builds default config silently but wrote in logging "Repeat build options [...KERNEL_CONFIGURE=yes...]". I'm doing step by step procedure described at docs.armbian.com site. I have tried to build for different boards with same result. A few years ago I did it already same way with the older version and it worked fine. Now I trying to repeat the same from scratch but unsuccessfully. There are no error messages in logging. What can be wrong? How to call kernel configuration dialog? Best regards, Dmitry 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.