Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Odin2 Config #7742

Merged
merged 1 commit into from
Jan 24, 2025
Merged

Update Odin2 Config #7742

merged 1 commit into from
Jan 24, 2025

Conversation

FantasyGmm
Copy link
Contributor

Description

Switch to a new kernel branch, WiFi needs new firmware, I'll upload it to the repository later.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Please also note any relevant details for your test configuration.

  • Boot Test
  • Gpu Test
  • BT Test

Checklist:

Please delete options that are not relevant.

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

@github-actions github-actions bot added size/large PR with 250 lines or more Needs review Seeking for review Hardware Hardware related like kernel, U-Boot, ... labels Jan 24, 2025
@FantasyGmm FantasyGmm marked this pull request as ready for review January 24, 2025 13:39
@igorpecovnik igorpecovnik added Ready to merge Reviewed, tested and ready for merge 02 Milestone: First quarter release and removed Needs review Seeking for review labels Jan 24, 2025
@igorpecovnik igorpecovnik merged commit 2d00d09 into armbian:main Jan 24, 2025
12 checks passed
@igorpecovnik
Copy link
Member

something is not right

  [🐳|🔨]   mode of '/etc/kernel/postinst.d/initramfs-tools' changed from 0644 (rw-r--r--) to 0755 (rwxr-xr-x)
  [🐳|🌱] Unmounting [ /armbian/.tmp/mount-no-uuidgen-yet-24497-5426 ]
  [🐳|🌱] Free SD cache [ 15% ]
  [🐳|🌱] Mount point [ 80% ]
  [🐳|🌱] Update ABL settings for  [ ayn-odin2 ]
  sed: can't read /armbian/.tmp/mount-no-uuidgen-yet-24497-5426/boot/LinuxLoader.cfg: No such file or directory
  [🐳|💥] Error 2 occurred in main shell [ at /armbian/config/boards/ayn-odin2.csc:149
     pre_umount_final_image__update_ABL_settings() --> config/boards/ayn-odin2.csc:149
           pre_umount_final_image() --> <extension_magic>:281
            call_extension_method() --> lib/functions/general/extensions.sh:57
     create_image_from_sdcard_rootfs() --> lib/functions/image/rootfs-to-image.sh:108
                  do_with_logging() --> lib/functions/logging/section-logging.sh:81
           build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:104
     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
   ]
  Error:  Error 2 occurred in main shell at /armbian/config/boards/ayn-odin2.csc:149
     pre_umount_final_image__update_ABL_settings() --> config/boards/ayn-odin2.csc:149
           pre_umount_final_image() --> <extension_magic>:281
            call_extension_method() --> lib/functions/general/extensions.sh:57
     create_image_from_sdcard_rootfs() --> lib/functions/image/rootfs-to-image.sh:108
                  do_with_logging() --> lib/functions/logging/section-logging.sh:81
           build_rootfs_and_image() --> lib/functions/main/rootfs-image.sh:104
     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 ]

@amazingfate
Copy link
Contributor

which release is building?

@igorpecovnik
Copy link
Member

./compile.sh build BETA=yes BOARD=ayn-odin2 BRANCH=sm8550 BUILD_DESKTOP=no BUILD_MINIMAL=yes COMPRESS_OUTPUTIMAGE=xz,sha IMAGE_VERSION=25.2.0-trunk.384 KERNEL_CONFIGURE=no MAKE_FOLDERS=archive RELEASE=bookworm REVISION=25.2.0-trunk.384 SHARE_LOG=yes SHOW_DEBIAN=yes UPLOAD_TO_OCI_ONLY=yes

@FantasyGmm
Copy link
Contributor Author

FantasyGmm commented Jan 26, 2025

https://github.com/FantasyGmm/build/blob/67a30793383b52e4332fcc215d93d32b38558b74/config/boards/ayn-odin2.csc#L27

Here I did some filtering, because 8G2 needs mesa24.x to provide OpenGL driver, and the kernel is also needs to be relatively new version, so for some older LTS version, it is not allowed to compile, because it will have a lot of compatibility problems

https://github.com/FantasyGmm/build/blob/67a30793383b52e4332fcc215d93d32b38558b74/config/boards/ayn-odin2.csc#L33

It was return here, so the it didn't copy the file, esulting in the file not being found when sed did the replacement later on

I only use noble+gnome environments for testing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
02 Milestone: First quarter release Hardware Hardware related like kernel, U-Boot, ... Ready to merge Reviewed, tested and ready for merge size/large PR with 250 lines or more
Development

Successfully merging this pull request may close these issues.

3 participants