LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 07-02-2008, 12:56 PM   #1
leedude
Member
 
Registered: Jan 2007
Location: Scotland
Distribution: Fedora, Debian
Posts: 81

Rep: Reputation: 15
my EB40 eval board


ive got an ARM7TDMI EB40 eval board, and havent even been able to load a program onto it.

i have downloaded arm-elf-gcc. and am completely stumped about how to use it.

here is my current way of starting it:
Code:
arm-elf-gcc led_blink.c -Isoftware -mcpu=arm7tdmi -mthumb
(I got the switches from various forum discussions on the www)


I get this:
Code:
/tmp/cckwpwwe.o(.text+0x36): In function `delay':
: undefined reference to `at91_pio_read'
/tmp/cckwpwwe.o(.text+0x5a): In function `delay':
: undefined reference to `at91_pio_read'
/tmp/cckwpwwe.o(.text+0x70): In function `delay':
: undefined reference to `at91_pio_read'
/tmp/cckwpwwe.o(.text+0x90): In function `delay':
: undefined reference to `PIO_DESC'
/tmp/cckwpwwe.o(.text+0xa8): In function `main':
: undefined reference to `at91_pio_open'
/tmp/cckwpwwe.o(.text+0xb8): In function `main':
: undefined reference to `at91_pio_open'
/tmp/cckwpwwe.o(.text+0xc4): In function `main':
: undefined reference to `at91_pio_write'
/tmp/cckwpwwe.o(.text+0xd4): In function `main':
: undefined reference to `at91_pio_write'
/tmp/cckwpwwe.o(.text+0xe4): In function `main':
: undefined reference to `at91_pio_write'
/tmp/cckwpwwe.o(.text+0xf4): In function `main':
: undefined reference to `at91_pio_write'
/tmp/cckwpwwe.o(.text+0x104): In function `main':
: undefined reference to `at91_pio_write'
/tmp/cckwpwwe.o(.text+0x114): more undefined references to `at91_pio_write' foll ow
/tmp/cckwpwwe.o(.text+0x128): In function `main':
: undefined reference to `PIO_DESC'
collect2: ld returned 1 exit status
led_blink is a sample file from the CD
software/ is the directory where all the headers from the CD are.


I can connect to angel(on board) with gdb:
Code:
arm-elf-gdb redboot_RAM.elf
(gdb) tar rdi s=/dev/ttyS0
but what do these options like rdi and s and -mthumb actually mean?

can someone help plz.
 
Old 07-02-2008, 03:51 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please post your thread once and in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of http://www.linuxquestions.org/questi...-board-653131/.
 
Old 07-02-2008, 04:19 PM   #3
leedude
Member
 
Registered: Jan 2007
Location: Scotland
Distribution: Fedora, Debian
Posts: 81

Original Poster
Rep: Reputation: 15
huh?
oop, sorry.
i honestly didnt mean to..:'(

seriously i didnt.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
my EB40 eval board leedude Programming 8 07-14-2008 12:43 PM
AT91 Eval Board leedude Programming 0 06-14-2008 01:04 PM
OpenSuse Eval xbaez SUSE / openSUSE 10 12-11-2005 01:16 PM
Professional eval? hkl8324 SUSE / openSUSE 1 06-20-2005 04:51 AM
On board cards of X-series mother board bullwinkle Linux - Hardware 3 07-10-2004 10:16 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration