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

Documentation on how to extract Device Tree data from Windows #79

Open
TheOneWithTheBraid opened this issue Mar 4, 2022 · 1 comment

Comments

@TheOneWithTheBraid
Copy link

I am looking for information on how to find proper information for creating device trees based on information found in the original Windows on ARM.

As expected, my Windows ARM device cannot boot without the proper device tree available. I'm just curious whether you figured out ways to easily find the required device information from the pre-installed Windows or even made utilities helping in automating device tree creation.

In case it helps, I'm working on a Samsung Galaxy Book S with a Snapdragon 8cx gen 1.

@bm16ton
Copy link

bm16ton commented Mar 5, 2022

I would like to second that question. Dumping the tables wasnt a super help to me because i know nothing of acpi, in the hope I could redneck it easier I looked at device manager (was greatful to find you get to it same way as win98 my last windows pc) but say for fingerprint reader didnt seem to say basic things like spi bus number or irq gpio pin number etc. The windows program installer didnt have any apps for that either. In the end I accidentally stumbled across the schematic (posted justr a few issues ago) and that tells me most of everything i personally needed at the moment. Unfortunately I believe certain regulators are turned off that would let tools like i2cdetect (for our i2c hosts we would use "i2cdetect -r -y busnum") to show. Ie LSM6DSM i think needs s2a-1p8 enabled. I know sum kernel patches to bring gpio numbering the same as acpi but not sure if it covered all gpio or if i2c/spi bus numbers match up. Also not a clue currently how to translate bank/gpio number to linux gpio number. More questions then answers i know, i had hoped someone more knowledgable would have responded, but well get it eventually

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