imx53 quick start board development environment

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

imx53 quick start board development environment

跳至解决方案
5,803 次查看
leonardfairclot
Contributor II

I'm stepping through the steps and here are a few issues that I have found:  Please note I'm working with Ubuntu:

7.3.5 - Configure tftp server

               I do not have "/etc/inetd.conf" or "/etc.default/atftpd".  I also do not have "/etc/exports" is this a new file?

Do I need this to compile code for the imx53?

I skipped this and continued on and then ran into:

"user@ubuntu:~/imx53/11.09.01/L2.6.35_11.09.01_ER_source$ ls

EULA  install  ltib.tar.gz  package_manifest.txt  pkgs  redboot_201003.zip  tftp.zip"

"~/imx53/11.09.01/L2.6.35_11.09.01_ER_source$" directory of file does not exist, if I take the $ off it says this is a directory.  What is this looking for?  This is a directory but I'm not sure what it is looking for.

标签 (1)
标记 (4)
0 项奖励
回复
1 解答
4,111 次查看
Yuri
NXP Employee
NXP Employee

Please use the next topic how to prepare virtual machine for LTIB.

https://community.freescale.com/message/294343#294343

Please pay attention on files "Create-Ubuntu11-10-ltib11-09-01.docx" and  "ubuntu-ltib-patch.tgz", linked there.

I tried the described approach on Ubuntu 12.04 - it works.

在原帖中查看解决方案

0 项奖励
回复
62 回复数
1,084 次查看
leonardfairclot
Contributor II

Hi Yuri

Here's a start of a program I'm going to work on from here on out. It's

called smib.c You can see I'm trying to open a serial port. It's not

finding "open" and it's not finding "fcntl.h"

Any ideas would be very helpful.

Thanks

Leonard

0 项奖励
回复
1,084 次查看
Yuri
NXP Employee
NXP Employee

Please try the enclosed.

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

Hi Yuri

Haven't heard from you in a while. Any luck on getting some information together for me? I have the serial port opening and writing however I can't seem to get it o read. It returns a -1 which I believe is an error. I would like to start trying to connect to a database.

Please let me know

Leonard.

Sent from my iPhone

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

I found it. I didn't extract "linux-imx5-g++.tar.gz" This is where

that directory is. I've attached my Make file (MakeSample). I'd

appreciate it if you could take a look at it. I also attached a c file

that Ia programmer was working on before I took over.

I need an easy environment that I can do the following on the imx53:

1) open a com port

2) open a ethernet port and connect to a mysql database

3) display a series of pictures or videos

4) once screen is touched, display a numeric keypad for user to enter a

number.

5) once user has entered a uvalid number the display will display name

and a point value along with the pictures and video.

Would GNome work or QT. Are these the same type tools? I looked for

GNOME and didn't have much luck, can you attach the pdf?

Thanks

Leonard

0 项奖励
回复
1,084 次查看
Yuri
NXP Employee
NXP Employee

As for
"... an easy environment that I can do the following on the imx53:

1) open a com port

2) open a ethernet port and connect to a mysql database

..."

Sounds good, but  I am afraid this will require some time even to find proper docs
and instructions how to implement such project.

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

Would you like some part time work?

I agree, the more I dig into this the more I'm seeing it's not going to

be easy. Lets start with the com port and the QT install?

What would your approach be?

Thanks

Leonard

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

Hey Yuri

I don't have that directory. Did I get the wrong download? Can you send me the link?

Thanks

Leonard

Sent from my iPhone

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

If I do a "ls" I see the file. If I do "ls -l" it has all rights including executable rights. Am I missing something

Leonard

Sent from my iPhone

0 项奖励
回复
1,084 次查看
Yuri
NXP Employee
NXP Employee

Please try the following command :

./hello

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

I didn't try that. Can you explain what that does. In windows the ..would back up on directory

Thanks

Leonard

Sent from my iPhone

0 项奖励
回复
1,084 次查看
Yuri
NXP Employee
NXP Employee

./hello - run hello from current directory

Note,
../hello - run hello from the next upper directory 

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

Tried this and there was a confilct. Something has to give. I've been

here for hours and 0 lines of code.

1. Install Eclipse.

sudo apt-get install eclipse

2. Then start Eclipse.

3. Help -> Install new software.

4. Click: Add

Name : CDT

Location : http://download.eclipse.org/tools/cdt/releases/galileo

5. In CDT Main feature, check:

Eclipse C/C++ development tools. (Binary runtime and user

documentation.)

6. In CDT optional feature:

CDT GNU Toolchain Build Support.

CDT GNU Toolchain Debug Support.

CDT Utilities.

Eclipse C/C++ Development Platform.

7. Restart Eclipse.

8. Perfect !!!

0 项奖励
回复
1,084 次查看
Yuri
NXP Employee
NXP Employee

> 8. Perfect !!!

So, all (or at least somewhat) is working ?

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

I still cannot open a c project. I'm so frustrated now. I added what you suggested. What else do I have to do? I want to be able to move on and install QT. I should of had some of this completed by now.

Sent from my iPhone

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

Did you get my last reply? The addons for eclipse didn't work. When I

chose new project I can select general and cvs.

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

I would agree, but I take out printf and it compiles, I add a int x; and

it compiles. I'm trying to add the plug ins for eclipse and it looked

as it it worked but I still do not have a c project. If anything it

removed Java and now I have general and cvs to choose from under New

Project. I must be getting tired or I'm missing something. I was going

to try and install eclipse from scratch and I downloaded a zip file that

I was supposed to extract into a directory and I can't run that.

Frustrated!

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

/opt/freescale/usr/local/gcc-4.4.4-glibc-2.11.1-multilib-1.0/arm-fsl-linux-gnueabi/bin/../lib/gcc/arm-fsl-linux-gnueabi/4.4.4/../../../../arm-fsl-linux-gnueabi/bin/gcc

0 项奖励
回复
1,084 次查看
Yuri
NXP Employee
NXP Employee

where ""ltib-fix-rpm-flag.patch" is mentioned ?

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

Yuri

Is it possible for you to call me. I'm at 702-992-7206. This will be a

lot more productive.

Thanks

Leonard

0 项奖励
回复
1,084 次查看
Yuri
NXP Employee
NXP Employee

The distro package from the Web is "L2.6.35_11.09.01_ER_source.tar.gz".
It should be unpacked in order to get the following structure of files and directories :
EULA 
install 
ltib.tar.gz 
package_manifest.txt 

pkgs 
redboot_201003.zip 
tftp.zip


Next - just run ./install

0 项奖励
回复
1,084 次查看
leonardfairclot
Contributor II

Yuri

I have this I'm currently at the install tlib. the command is "./tlib"

I'm getting

"I ran the command: sudo -S -l which returned :

sudo passwd for leonard: Sorry, try again

This means you do not have permission to execute rpm commands asa root."

can you tell me how to get around this?

thanks

Leonard

0 项奖励
回复