Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Running elf/bin files in linux on a ARM9
PostPosted: Wed Jan 11, 2012 6:47 pm 
Offline

Joined: Wed Jan 04, 2012 6:24 pm
Posts: 3
I seem to be missing an important, and probably basic, part of knowledge to get my software running.

I have a SAM9G25-ek board running a Linux kernel with a buildroot filesystem. I can connect via serial/ssh with no problems.

I also have a Linux and Windows tool chain that will compile the provided example code and some of my own. I have used scp to copy the .bin and .elf files onto the board but they always seg fault when I execute them. Am I supposed to be moving these files to the board using sam-ba, im guessing so because they are labeled sram and ddram, if so how I access them to start them after it has booted into linux? I have used several of the example files as well as some of my own, including a basic hello world.

Apologies if I'm missing something basic but I've looked everywhere and the instructions I find are always just 'execute the program' without much else.


Top
 Profile  
 
 Post subject: Re: Running elf/bin files in linux on a ARM9
PostPosted: Wed Jan 11, 2012 11:37 pm 
Offline

Joined: Wed Jan 04, 2012 6:24 pm
Posts: 3
Ah yea I was definitely confused.

I was using arm-none-eabi and the examples where I needed to be using arm-none-linux-gnueabi.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron