Compile Module for Atmel ARM920T

Guest #1411675
Rate this post
• ▲ useful
▼ not useful
Hello!

I have the following system:
- Target System: Atmel ARM920T with Linux 2.6.14
- My computer (where I compile the software): Ubuntu 9.04 / 
Crosscompiler: arm-linux-gcc-3.3.2

I successfully installed the crosscompiler and I'm also able to compile 
and run a "HelloWorld" on my target system

Now I want to learn about dynamically loaded modules (with insmod). So I 
want to make a module for my target system.

I heard a lot about the kernel source-code tree which is necessary to 
build a module from kernel 2.6.x on... But what do I really have to do?

Do you have some good tutorials and an example what I have to do for my 
configuration?

Thanks!
Michael

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.