questions about building image for M5329EVB with BSP

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

questions about building image for M5329EVB with BSP

2,329 Views
ayang
Contributor I
Hi.
 
I downloaded M5329EVB uClinux BSP from freescale website. I installed the BSP on a Fedora Core 6 Linux PC. When I input command "./ltib", it says GCC compiler cannot be found.
 
There are some questions:
1) Other than BSP, do I need to download GCC, uClinux kernel package... from other places to build my application firmware? In other words, does BSP have everything (GCC tools, uClinux kernel, TCP/IP stack, nano-X...)?
 
2) Is there a step by step instructions on how to setup the development environment for M5329EVB uClinux BSP?
 
Thanks,
 
Allen
Labels (1)
0 Kudos
Reply
2 Replies

841 Views
jpa
Contributor IV
Allen,

It seems like ages since I've done this, but on the off chance that I can help...

Is "/opt/freescale/usr/local/gcc-4.1-uclibc-0.9/m68k-uclibc/bin/" in your path?  (Check to make sure that uCLinux GCC is installed there, I am using an older version of the BSP)

If not, you might try adding
    C_BIN_PATH="/opt/freescale/usr/local/gcc-4.1-uclibc-0.9/m68k-uclibc/bin/"
    export C_BIN_PATH
   PATH=$C_BIN_PATH:$PATH
to the top of /etc/profile. 

I'm a Linux newbie, so there may be a better way to do this, but it works for me. 

Once you're able to configure ltib, you'll be able to see the packages that are available...just be aware that many of them may need work before they compile, at least in my experience.

Hope this helps,

John
0 Kudos
Reply

841 Views
jpa
Contributor IV
Allen,

You may also want to take a look at  AN3408...

http://www.freescale.com/files/32bit/doc/app_note/AN3408.pdf

John
0 Kudos
Reply