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

Defconfig/build script #7

Open
Herrie82 opened this issue Jul 25, 2022 · 4 comments
Open

Defconfig/build script #7

Herrie82 opened this issue Jul 25, 2022 · 4 comments

Comments

@Herrie82
Copy link

@mbd98 Would you be able to share the defconfig and or build/scripts that you use? I'm trying to pick up some of the mainline kernel work for the Touchpad and trying not to reinvent the wheel here ;)

@mboudr35
Copy link
Owner

Hi!

This is one I had used: https://gist.github.com/mbd98/dc973ade2746b5589ab19869d2b31ca8

I don't fully recall how well it worked, but hopefully it's an okay starting point!

@Herrie82
Copy link
Author

Hi!

This is one I had used: https://gist.github.com/mbd98/dc973ade2746b5589ab19869d2b31ca8

I don't fully recall how well it worked, but hopefully it's an okay starting point!

Great that helps a lot! We're a bit struggling on getting a correct uImage built with a dtb. You have any recollection on how to do that?

@mboudr35
Copy link
Owner

I think I just appended the DTB onto the end of the zImage, then built the uImage from that + a ramdisk.

Sorry, been a little while since I've looked at this - been hoping to get back into it but still have other things going on!

@Herrie82
Copy link
Author

I think I just appended the DTB onto the end of the zImage, then built the uImage from that + a ramdisk.

Sorry, been a little while since I've looked at this - been hoping to get back into it but still have other things going on!

No worries, we got this working eventually and are now able to boot, get serial console and have USB working with 5.19 kernel. Rest is now to be added, sorted and tested.

We're building using Yocto and these are the recipes we're using in case you're interested:

shr-distribution/meta-smartphone@589b3e8

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