questions about building image for M5329EVB with BSP

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

questions about building image for M5329EVB with BSP

2,332件の閲覧回数
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
ラベル(1)
0 件の賞賛
返信
2 返答(返信)

844件の閲覧回数
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 件の賞賛
返信

844件の閲覧回数
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 件の賞賛
返信