Compile Module for Atmel ARM920T

Gast #1418975
Hello!

I have the following system:
- Target System: Atmel AT91RM9200 (includes 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

Antwort schreiben

Eine eigene Frage? Dieser Thread ist über 17 Jahre alt. Stell sie in einem eigenen Thread – dort lesen mehr Leute mit, und sie wird öfter und schneller beantwortet.

Neuen Thread starten

Eine Lösung, Ergänzung oder Rückmeldung zu diesem Thread? Dann antworte hier.

Formatierung
  • [c]C-Code[/c]
  • [code]Code in anderen Sprachen, ASCII-Zeichnungen[/code]
  • [math]Formel in LaTeX-Syntax[/math]
  • [[Titel]] – Link zu einem Artikel
  • Verweis auf einen anderen Beitrag: Rechtsklick auf dessen Beitrags-ID (#8078628), „Adresse kopieren“, in den Text einfügen

Mehr zur Formatierung

Längeren Sourcecode als Anhang, nicht in den Text. JPG nur für Fotos und Scans; Zeichnungen und Screenshots als PNG oder GIF. Siehe Bildformate.

Schon registriert? Anmelden

Wird nicht angezeigt. Wir schicken dir einen Link; sobald du damit bestätigst, erscheint dein Beitrag.

Mit dem Abschicken legst du einen kostenlosen Account an und erkennst die Nutzungsbedingungen und die Datenschutzerklärung an.