I’m new to embedded linux… and wanting to learn driver development from scratch. The Duo is now a popular board. Is there any online tutorial/book [free/paid] that teaches Linux Drivers development using this board?
1 Like
I would probably start by reading "The Linux Kernel Module Programming Guide", either online or offline as a downloadable pdf.
2 Likes
Many thanks for your response… I did notice it before, seems good. Looks like a good starting point. But I guess it doesn’t include information hardware control, GPIO etc…
1 Like
A quick search shows 3 examples that use GPIO, although not specific to the Milk-V Duo. But if everything is in place in the device tree binaries (dtb) and Linux kernel was compiled with support I would expect the example code should work.
2 Likes
Sounds great! I didnt notice that!
1 Like