Git Product home page Git Product logo

Comments (5)

Mikdadali avatar Mikdadali commented on August 12, 2024 3

pls help
image

image

image

from kernel.

rancidfrog avatar rancidfrog commented on August 12, 2024

When BUILD_KERNEL := true
BOARD_MKBOOTIMG_ARGS += --dt_dir $(OUT)/dtbs
Should be
BOARD_MKBOOTIMG_ARGS += --dt_dir $(OUT)/obj/KERNEL_OBJ/arch/arm/boot/dts
https://github.com/sonyxperiadev/device-sony-shinano/blob/master/BoardConfig.mk#L117
https://github.com/sonyxperiadev/device-sony-shinano/blob/master/BoardConfig.mk#L39
Maybe default should be:
BOARD_MKBOOTIMG_ARGS += --dt_dir $(OUT)/obj/KERNEL_OBJ/arch/arm/boot/dts
And, KernelConfig.mk, https://github.com/sonyxperiadev/vendor-sony-kernel/blob/master/KernelConfig.mk , is changing to BUILD_KERNEL := false it should change output to
BOARD_MKBOOTIMG_ARGS += --dt_dir $(OUT)/dtbs

from kernel.

mengxiaoxi avatar mengxiaoxi commented on August 12, 2024

hi

1 check if you have downloaded and extracted prebuilt kernel in
vendor/sony/kernel folder

2 it should be boot.img insteadof bootimg...
2015年12月27日 下午11:21,"rancidfrog" [email protected]写道:

Kernel fails to build inline because the dtbs folder is not copied to
output directory

mkqcdtbootimg: failed to open '/out/target/product/aries/dtbs': No such file or directory
build/core/Makefile:566: recipe for target '/out/target/product/aries/bootimg' failed
make: *** [/out/target/product/aries/bootimg] Error 1

Androidmk I believe is the culprit:
https://githubcom/sonyxperiadev/kernel/blob/misc-dev/Androidmk#L61
and,
https://githubcom/sonyxperiadev/kernel/blob/misc-dev/Androidmk#L135


Reply to this email directly or view it on GitHub
#535.

from kernel.

rancidfrog avatar rancidfrog commented on August 12, 2024

That is translation problem, you using translator google?
Vendor/sony/kernel is for aosp only.
And, guideline should be followed:

BUILD_KERNEL := true
-include vendor/sony/kernel/KernelConfig.mk

Kernelconfig.mk Should change output folder to: BOARD_MKBOOTIMG_ARGS += --dt_dir $(OUT)/dtbs
The same way it changes build_kernel to false.
Because, if kernel project not included, build kernel is true, which will need output folder to be: $(OUT)/obj/KERNEL_OBJ/arch/arm/boot/dts

from kernel.

rancidfrog avatar rancidfrog commented on August 12, 2024

With new appended dtb not needed anymore

from kernel.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.