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

Missing file in MMI-S3SG32.39-191R2 readme #65

Open
dynamikmechanik opened this issue Jan 31, 2024 · 6 comments
Open

Missing file in MMI-S3SG32.39-191R2 readme #65

dynamikmechanik opened this issue Jan 31, 2024 · 6 comments

Comments

@dynamikmechanik
Copy link

Hi, @chenyt9 I am hitting an error on line 41 of the readme for MMI-S3SG32.39-191R2,

$ python vendor/mediatek/proprietary/tools/dct/python/DrvGen.py kernel-4.19/drivers/misc/mediatek/dws/mt6765/maui_evb.dws $kernel_out_dir/arch/arm/boot/dts/maui_evb $kernel_out_dir/arch/arm/boot/dts/maui_evb cust_dtsi
python: can't open file '[my_top_dir]/vendor/mediatek/proprietary/tools/dct/python/DrvGen.py': [Errno 2] No such file or directory

I have tag MMI-S3SG32.39-191R2 checked out of kernel-mtk and I do not see a vendor directory or DrvGen.py. Is there another step I need to take to include this directory? Thank you.

Originally posted by @dynamikmechanik in #62 (comment)

@dynamikmechanik
Copy link
Author

Also, what commit/tag should I check out for arm-linux-androideabi-49 on line 19:

git clone https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9

Do I need to checkout a specific commit/tag for the build-tools? Thank you.

@dynamikmechanik
Copy link
Author

Should I run the following to get clan prebuilts?

mkdir -vp $my_top_dir/prebuilts/clang/host
cd $my_top_dir/prebuilts/clang/host
git clone https://android.googlesource.com/platform/prebuilts/clang/host/linux-x86

If so, what commit/tag should I use? Thank you.

@chenyt9
Copy link
Contributor

chenyt9 commented Feb 1, 2024

@dynamikmechanik ,
I have updated the readme, the command is to generate cust_dtsi file, could you get the file from https://github.com/MotorolaMobilityLLC/kernel-mtk/blob/MMI-S3SG32.39-191R2/cust.dtsi
mv cust_dtsi $kernel_out_dir/arch/arm/boot/dts/maui_evb/.
Thanks.

@dynamikmechanik
Copy link
Author

dynamikmechanik commented Feb 2, 2024

Thanks for the responses. Now I am hitting an error from line 59 to the end of the readme. Each command errors with No such file or directory as it cannot find the Makefile. Each of the folders only has an empty folder named .tmp_versions

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