aarch64-laptops / build

Build an Linux OS based image
221 stars 47 forks source link

Huawei Matebook E 2019 with Snapdragon 850 Support! #84

Open kmille36 opened 2 years ago

kmille36 commented 2 years ago

I'm have Huawei Matebook E 2019 with Snapdragon 850, i'm tried all method it not booting.

kmille36 commented 2 years ago

I need a tutorials for building kernel !!

New-Wheat commented 1 year ago

I have a working kernel (built from https://gitlab.com/sdm845-mainline/linux/-/tree/caleb/c630-dev) and a DTB file modified from sdm850-lenovo-yoga-c630.dts Currently, UFS, USB and Bluetooth is working

and here's the files: kernel and dtb.zip

Hope this can help you

kmille36 commented 1 year ago

does i work on snapdragon 850, and can u teach me how to build into image and boot it on my device . Thank a lot

adaasch commented 11 months ago

@New-Wheat I had some success with this kernel and dtb for another sdm850 clone. Could you please also share your dts file?

New-Wheat commented 11 months ago

OK, here it is: sdm850-huawei-matebook-e-2019.zip And by the way, I use the the source code here for testing the dtb.

adaasch commented 11 months ago

Thank you! What is your current progress? Did you get anything else to work? I'm currently struggling with ipa. It does not want to load the firmware, although the ipa_fws.elf file is in the correct path.

New-Wheat commented 11 months ago

Most of the hardwares now work well except backlight, battery monitoring, sensors and audio (sometimes it works but unstable). I don't have problems with IPA, so maybe I can't quite help with it :(

SpacingBat3 commented 11 months ago

@New-Wheat I know this might be out of topic, but any chance your DTB will work (allow me to boot Linux into shell/GUI) with Acer/Gateway GWTN133-1? It seems to have similar ACPI tables and some tables are even identical compared to this laptop. Maybe the development of DTB for similar boards could be shared in some way? See also #96 for ACPI tables as a refference.

New-Wheat commented 11 months ago

@SpacingBat3 I've compared the ACPI tables and YES, these 2 laptops are nearly the same, but slight differences do exist (i2c, hid devices, panel and some other stuff). So, I think this modified dts is more suitable for GWTN133-1 (touchpad and keyboard should be working now).

adaasch commented 10 months ago

For the records: Comparing the ACPI tables my HYRICAN Study Pad One/ENWO Pad is a close clone of the Huawei Matebook E 2019. The only differences I could spot, is the missing finger print reader and different camera modules. With the dts from @New-Wheat and the kernel from https://gitlab.com/sdm845-mainline/linux I got it running. The things not working:

Unfortunately, I am not yet experienced enough to fix these.