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

sys_inactive_file/sys_active_file 内容中的宏写反了 #1

Open
xiaoaniubi opened this issue Aug 20, 2024 · 5 comments
Open

sys_inactive_file/sys_active_file 内容中的宏写反了 #1

xiaoaniubi opened this issue Aug 20, 2024 · 5 comments

Comments

@xiaoaniubi
Copy link

image

@OnePlusOSSAdmin
Copy link
Contributor

感谢您的反馈,我们会在后续版本修正这个问题。

@chandu078
Copy link

chandu078 commented Oct 1, 2024

Hello @OnePlusOSSAdmin, it seems the OSS kernel source is broken, and we are unable to boot the OSS kernel. Could you please recheck and test OSS kernel source?

@MandySingh3
Copy link

MandySingh3 commented Oct 15, 2024

Hello @OnePlusOSSAdmin, Im getting error for file prepare_vendor.sh can you please help me with this.

`
mandy_singh@mandy-singh:~/android/PixelOS/kernel/Oneplus/tools/build/bazel_wrapper$ sudo bash build.sh
[sudo] password for mandy_singh:

  • KERNEL_PARAM=waipio
  • BUILD_VARIANT=user
  • SOC_VARIANT=QCOM
    +++ dirname -- build.sh
    ++ cd -- .
    ++ pwd
  • SCRIPT_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel/Oneplus/tools/build/bazel_wrapper
    ++ realpath /home/mandy_singh/android/PixelOS/kernel/Oneplus/tools/build/bazel_wrapper/../../../../
  • SRC_TOP_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel
  • BZL_TOOL=/home/mandy_singh/android/PixelOS/kernel/prebuilts/build-tools/path/linux-x86/bazel
  • BAZEL_OUTPUT_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel/out/bazel_output
  • WORKSPACE_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace/kernel
  • KERNEL_PLATFORM_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel/kernel_platform
  • OLD_ENVIRONMENT_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace/kernel/environment
  • GKI_ABI_FILE_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel/kernel_platform/oplus/config/abi_gki_aarch64_oplus_internal
  • QCOM_GKI_ABI_FILE_REAL_PATH=/home/mandy_singh/android/PixelOS/kernel/kernel_platform/msm-kernel/android/abi_gki_aarch64_qcom
  • KERNEL_OUT_DIR=out
  • GKI_PREBUILTS_DIR=prebuilts/gki-kernel-binaries
  • KERNEL_PLATFORM_RELATIVE_PATH=../../../../kernel_platform
  • '[' waipio == waipio ']'
  • GKI_KERNEL_BINARIES_RELATIVE_PATH=../../../../kernel_platform/out/msm-waipio-waipio-gki/gki_kernel/dist
  • OLD_ENVIRONMENT_RELATIVE_PATH=../../../bazel_workspace/kernel/environment
  • BUILD_KERNEL_COMMAND='kernel_platform/build/android/prepare_vendor.sh waipio gki'
  • BUILD_KERNEL_WITH_PREBUILT_GKB_COMMAND='GKI_PREBUILTS_DIR=prebuilts/gki-kernel-binaries kernel_platform/build/android/prepare_vendor.sh waipio gki'
  • rm -rf /home/mandy_singh/android/PixelOS/kernel/out/bazel_output
  • rm -rf /home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace/kernel
    ++ dirname /home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace/kernel
  • mkdir -p /home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace
  • cp -rf /home/mandy_singh/android/PixelOS/kernel/Oneplus/tools/build/bazel_wrapper/ /home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace/kernel
  • cp -rf /home/mandy_singh/android/PixelOS/kernel/kernel_platform/oplus/config/abi_gki_aarch64_oplus_internal /home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace/kernel
  • cp -rf /home/mandy_singh/android/PixelOS/kernel/kernel_platform/msm-kernel/android/abi_gki_aarch64_qcom /home/mandy_singh/android/PixelOS/kernel/out/bazel_workspace/kernel
  • export -p
  • '[' '!' -f /home/mandy_singh/android/PixelOS/kernel/prebuilts/build-tools/path/linux-x86/bazel ']'
  • echo 'can not find bazel tools, build kernel directly'
    can not find bazel tools, build kernel directly
  • build_kernel
  • echo ========================================================
    ========================================================
  • echo ' Build kernel'
    Build kernel
  • eval kernel_platform/build/android/prepare_vendor.sh waipio gki
    ++ kernel_platform/build/android/prepare_vendor.sh waipio gki
    build.sh: line 65: kernel_platform/build/android/prepare_vendor.sh: No such file or directory
  • exit
    `

@OnePlusOSSAdmin
Copy link
Contributor

@MandySingh3 Prepare build environment as this manifest:
https://git.codelinaro.org/clo/la/kernelplatform/manifest/-/blob/KERNEL.PLATFORM.3.0.r1-07400-kernel.0/KERNEL.PLATFORM.3.0.r1-07400-kernel.0.xml?ref_type=tags
You should get kernel_platform/build/android/prepare_vendor.sh

export
TARGET_BOARD_PLATFORM=pineapple
PRODUCT_DEVICE=pineapple

kernel_platform/build/android/prepare_vendor.sh pineapple gki

@MandySingh3
Copy link

Thank you, I will try to compile the kernel again and post update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants