Forum: Mikrocontroller und Digitale Elektronik sama5d3_xplained Anfänger brauche Hilfe


von Thomas A. (thomas_al)


Lesenswert?

Hallo zusammen,
in bin neu hier und möchte hiermit auch alle herzlich grüssen.
Seit April letzen Jahres schufte ich mich durch die Arduinos. Dann im 
Nov habe
ich den Wechsel nach viel viel nachlesen hier zu einem ATMEL sama5d3 
xplained gewagt.
Bis Seite 10 habe ich nach dem PDF (embedded-linux-labs) von 
free-electrons.com auch alles geschafft,
bleibe jedoch an der folgenden Beschreibung hängen:

Then, we first need to configure the build system for our setup. We’re 
going to need a few
pieces of information for this:
• Which board you want to run AT91Bootstrap on
• Which device should AT91Bootstrap will be stored on
• What component you want AT91Boostrap to load
You can get the list of the supported boards by listing the board 
directory. You’ll see that in
each of these folders, we have a bunch of defconfig files, that are the 
supported combinations.
In our case, we will load U-Boot, from NAND flash.
Then, you’ve found the right defconfig file, load it using make 
<defconfig_filename>
(just the file name, without the directory part), and you can start the 
compilation using make.
Don’t forget to set the CROSS_COMPILE environment variable!
At the end of the compilation, you should have a file called 
sama5d3_xplained-nandflashbootuboot-*.
bin, in the binaries folder.

ich habe wie beschrieben in meinem /home/thomas/at91bootstrap/board/ die 
Files:
sama5d3_xplained/board.mk
sama5d3_xplained/Config.in.board
sama5d3_xplained/Config.in.boardname
sama5d3_xplained/Config.in.linux_arg
sama5d3_xplained/sama5d3_xplained.c
sama5d3_xplained/sama5d3_xplained.h
sama5d3_xplained/sama5d3_xplainednf_linux_uimage_dt_defconfig
sama5d3_xplained/sama5d3_xplainednf_linux_zimage_dt_defconfig
sama5d3_xplained/sama5d3_xplainednf_uboot_defconfig
sama5d3_xplained/sama5d3_xplainedsd_linux_uimage_dt_defconfig
sama5d3_xplained/sama5d3_xplainedsd_linux_zimage_dt_defconfig
sama5d3_xplained/sama5d3_xplainedsd_uboot_defconfig


was ich nun nicht auf die Reihe bekomme ist:
1)  load it using make <defconfig_filename>
(just the file name, without the directory part)
2) and you can start the compilation using make
Don’t forget to set the CROSS_COMPILE environment variable!

ich habe die Pfad Variable gesetzt:
export 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/g 
ames:/usr/local/games:/usr/local/xtools/arm-cortexa5-linux-uclibcgnueabi 
hf/bin/

das da in verschiedenen Varianten probiert:
make distclean
make ARCH=arm deconfig
ARCH=arm CROSS_COMPILE= sama5d3_xplainedsd_linux_uimage_dt_defconfig 
make all

Mir fehlt irgendwie der Zusammenhang und nach was ich im Internet suchen 
soll.
Weiss jemand von Euch was fehlt oder wie man es richtig macht ?

grüsse Thomas

von Thomas A. (thomas_al)


Lesenswert?

naja, dann probier ich´s mal Windows

von xxx (Gast)


Lesenswert?

cd sama5d3_xplained
make sama5d3_xplainednf_linux_uimage_dt_defconfig

Funktioniert das?

von Thomas A. (thomas_al)


Lesenswert?

hab die Festplatte neu formatiert ud  Win 7 installiert. Nen zweiten 
Versuch mit Linux werde ich nicht so schnell wagen. Dauert zu lange um 
die richtigen Infos zu bekommen.
Also auf ein neues mit Win toolchain :-)
Danke aber trotzdem

gruss Thomas

von jb (Gast)


Lesenswert?

So was baut man in einer virtuellen Maschine, Crosscompiler auf Windows 
aufziehen ist echt fürn Arsch.

gruß J

von Thomas A. (thomas_al)


Lesenswert?

damit hatte ich angefangen und bin auch recht weit gekommen, hatte aber 
Probleme mit den Schnittstellen obwohl ich cdc usw installiert hatte. 
Vielleicht lags am MacPro und VMWare Fusion. Nun probiere ich es gerade 
mit einem PC und win 7 Ultimate

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.