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

4.1 #13

Open
mkschreder opened this issue Aug 12, 2018 · 1 comment
Open

4.1 #13

mkschreder opened this issue Aug 12, 2018 · 1 comment

Comments

@mkschreder
Copy link

I'm trying to build 4.1 kernel but it complains that it can not find machine id. In fact this at first results in an exception but if I comment the exception for "read" instruction then I can get a bit further. So it seems that it is not able to read something related to atags/machine id.

Do you know how to solve this?

@mkschreder
Copy link
Author

I solved machine id by passing 0xffffffff in r1 instead of machine which makes the new kernel use device tree. However now it seems there are deeper problems because machine_desc variable is set after setup of fdt but then it appears to be zero at arch_get_nr_irqs. The same image boots in qemu with the same memory size. It seems there is something that overwrites memory under armjs..

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

1 participant