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

MSM8996 Support #580

Open
cordlandwehr opened this issue Feb 21, 2024 · 3 comments
Open

MSM8996 Support #580

cordlandwehr opened this issue Feb 21, 2024 · 3 comments

Comments

@cordlandwehr
Copy link

Hi, I am trying to ran a meta-qcom build on a spare OnePlus-3 device. I took latest version of meta-qcom as well as a recent version of poky:master branch. From the generated artifacts I try to boot the device via:

$ fastboot boot boot-apq8096-db820c-qcom-armv8a.img
Sending 'boot.img' (8040 KB)                       OKAY [  0.280s]
Booting                                            FAILED (remote: 'dtb not found')
fastboot: error: Command failed

So you have any hint why a dtb might not be landed in the img file? The overall Yocto process though complained (warnings) about missing adreno and furth qcom firmware but succeeded without error.

@lumag
Copy link
Collaborator

lumag commented Feb 24, 2024

I'd guess that you are trying to boot the apq8096-db820c image (which uses the apq8096-db820c.dtb) on a phone which has strict DTB requirements. Please open conf/machine/qcom-armv8a.conf, add qcom/msm8996-oneplus3.dtb to the KERNEL_DEVICETREE list, build the image and boot using boot-msm8996-oneplus3-qcom-armv8a.img. Note, there are two different models: OnePlus 3 and 3T, please choose the correct DTB.

@cordlandwehr
Copy link
Author

Thanks a lot for the hint! Yet this seems not to work or to not work entirely. I tried with the specific oneplus3 dtb (after confirming that this really is a non-3T variant) and am getting the exact same output as before.

@lumag
Copy link
Collaborator

lumag commented Apr 5, 2024

@cordlandwehr you might need to add and/or fix bootloader properties like qcom,msm-id, qcom-board-id and qcom,pmic-id, check them in the downstream tree.

Another suggestion is to ask this quesiton on the #linux-msm channel on OFTC.

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

2 participants