i.MX53 QSB. Is the 2011-01 BSP workable?

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

i.MX53 QSB. Is the 2011-01 BSP workable?

2,371 Views
Claude_Sylvain
Contributor I

Hello all,


- I am trying to re-build the i.MX53 QSB 2011-01 BSP using the
  L2.6.35_11.01.00_ER_source_bundle.tar.gz file downloaded
  from Freescale Web site.
  I had not yet be able to built it.
  Seems that Ltib can not get source code from the PPP and GPP.

- Is anyone been able to built this BSP ?


- Is the Android BSP from Adeneo for the i.MX53 QSB is more
  suitable to develop on the i.MX53 QSB ?


Claude

Labels (1)
0 Kudos
14 Replies

1,218 Views
YiLi
Contributor I

Claude,

 

Thanks for the quick reply, I will follow up with that link and post additional questions there.

 

Yi

0 Kudos

1,218 Views
Claude_Sylvain
Contributor I

Hello Yi,

 

See the following link:

http://imxcommunity.org/forum/topics/imx53-quick-start-board-the

 

Claude

0 Kudos

1,218 Views
YiLi
Contributor I
Related question, I also tried to rebuild the image with the ltib as the readme_ubuntu_vm.pdf (attached) instructed and succeed with test & developement package build. But is there a default ltib configure file to reproduce the demo images? Thanks, Yi
0 Kudos

1,218 Views
Claude_Sylvain
Contributor I

Curtis Wald said:

> I have a solution for the mtd-utils build error. I saw the same error
> building for an I.MX28. I verified the solution implemented works for I.MX53.
>
> The host used is Ubuntu 11.04 Natty 64 bit. The problem is not host
> dependent - but rather compiler version.
>
> There is a thread with more info on this issue at
> http://comments.gmane.org/gmane.linux.drivers.mtd/34059
>
>
> A quick solution:
>
>   1) Clean up from the failed ltib build:
>
>     $ rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils
>
>   2) In the ltib distribution there is an older version of
>      mtd-utils, so let's use that one instead
>
>     $ cd /home/user/ltib/dist/lfs-5.1/mtd-utils
>
>     $ mv mtd-utils.spec mtd-utils-201006.spec
>
>     $ ln -s mtd-utils-20060302.spec mtd-utils.spec
>
>   3) Build ltib again and this will use the older version which
>      built correctly.
>
>      $ cd /home/user/ltib
>
>      $ ./ltib
>
> An alternative solution if you desire to use the default mtd-utils
> (newer revision) bundled with the ltib distribution would be to
> create a patch and add it to the mtd-utils.spec file to not
> build /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/
> ubi-utils/old-utils subdirectory. Based on the thread above
> this directory is deprecated. The patch would change the Makefile
> excluding old-utils.There are many example for adding patches
> in dist/lfs5.1/search_for_example_dir_here
>

- Really interesting.

- I think I will go with using a newer version of "mtd-utils".
  I don't like regression.


Thank you.

Claude


0 Kudos

1,218 Views
CurtisWald
NXP Employee
NXP Employee

I have a solution for the mtd-utils build error. I saw the same error building for an I.MX28. I verified the solution implemented works for I.MX53.

The host used is Ubuntu 11.04 Natty 64 bit. The problem is not host dependent - but rather compiler version.

There is a thread with more info on this issue at http://comments.gmane.org/gmane.linux.drivers.mtd/34059

A quick solution:

1) Clean up from the failed ltib build:

  $ rm -fr /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils

2) In the ltib distribution there is an older version of mtd-utils, so let's use that one instead

  $ cd /home/user/ltib/dist/lfs-5.1/mtd-utils

  $ mv mtd-utils.spec mtd-utils-201006.spec

  $ ln -s mtd-utils-20060302.spec mtd-utils.spec

3) Build ltib again and this will use the older version which built correctly.

   $ cd /home/user/ltib

   $ ./ltib

 

An alternative solution if you desire to use the default mtd-utils (newer revision) bundled with the ltib distribution would be to create a patch and add it to the mtd-utils.spec file to not build /opt/freescale/ltib/usr/src/rpm/BUILD/mtd-utils/ubi-utils/old-utils subdirectory. Based on the thread above this directory is deprecated. The patch would change the Makefile excluding old-utils.There are many example for adding patches in dist/lfs5.1/search_for_example_dir_here

 

-Curtis


0 Kudos

1,218 Views
mdc
Contributor V

We typically do all our testing on Ubuntu. I've used 9.04, 10.04, and 10.10 with no trouble. You'll likely have better success with an Ubuntu host, just make sure all the required packages are installed.

 

What may be easier is with your Quickstart board there should have been a DVD included. On this DVD is a vmware image with a 10.04 Ubuntu host and ltib installed and ready to run. You'll find the vm image and a pdf detailing how to install at FILES\SOFTWARE on the DVD.

0 Kudos

1,218 Views
jayakumar2
Contributor V

"On this DVD is a vmware image with a 10.04 Ubuntu host and ltib installed and ready to run".

That's nice. Any chance that this image is available online or downloadable somewhere? I ran into the same problem Claude did. The i.MX40 ARM2 Linux User's Guide said to do ./<ltib_release>/install (page 2-2) and I did not find install so I assumed just run ./ltib. That failed on trying to get mtd-utils. I've now corrected that and ran the <something>install. Hopefully that'll finish soon.

0 Kudos

1,218 Views
Claude_Sylvain
Contributor I

- Following the i.MX53_START_Linux_BSP_UserGuide.pdf, chapiter 2,
  I installed Ltib.
  Now, things seems to work better.

- But, Ltib fail with a compile error :-(
  See attached file that contain the Ltib log and the source file
  in which the error happen.

- I tried to patch that file, but, since Ltib re-generate the source
  directory in which the file reside,  the patch is lost.

- I don't know what to do at this point.
  Seems that the compiler I use is more strict than the usual
  one, and generate error that is not considered as error by
  other compiler version.
  I currently use a GNU/Linux Slackware 13.37 box as host.
  Is it possible that using a GNU/Linux Ubuntu 9.04 box will get
  rid of that problem ?


Any comment will be appreciated.

Claude.



0 Kudos

1,218 Views
Claude_Sylvain
Contributor I

Matt Clemens said:

>
> I took another look at this, and ltib is looking for the mtd-utils
> package in the GPP because it's not finding it in
> /opt/freescale/pkgs. However, that package doesn't exist in the
> GPP as it's part of the BSP release and should have been
> installed to /opt/freescale/pkgs when you installed ltib.
> I'm guessing you either just untarred ltib.tar.gz from the BSP
> release, or you didn't have /opt/freescalepkgs with write permissions
> when you ran the install script.
>

- You find my problem.  I just untarred "ltib.tar.gz".


>
> Would recommend you take a look at the following documents in
> the linuxdocs package that's part of the bundle in the BSP release:
>
> ltib_build_host_setup.pdf - make sure you have all the host
> packages mentioned in this doc installed
>

- I have already read this document.  But, I will read it
  again to make sure.


>
> i.MX53_START_Linux_BSP_UserGuide.pdf - Refer to Chapter 2 for the
> proper way to install and run ltib the first time.
>

- Humm...  There is a trap here...  I explain...
- I get over the Ltib installation instruction in
  "i.MX53_START_Linux_BSP_UserGuide.pdf", chapiter 2; and
  took the Ltib installation instruction in the following
  document:
    "ltib/doc/LtibInstall".

- I will avoid this "LtibInstall" document and will read/use the
  "i.MX53_START_Linux_BSP_UserGuide.pdf" document instead.


Thank you very much!

Claude




0 Kudos

1,218 Views
mdc
Contributor V

I took another look at this, and ltib is looking for the mtd-utils package in the GPP because it's not finding it in /opt/freescale/pkgs. However, that package doesn't exist in the GPP as it's part of the BSP release and should have been installed to /opt/freescale/pkgs when you installed ltib. I'm guessing you either just untarred ltib.tar.gz from the BSP release, or you didn't have /opt/freescalepkgs with write permissions when you ran the install script.

 

Would recommend you take a look at the following documents in the linuxdocs package that's part of the bundle in the BSP release:

 

ltib_build_host_setup.pdf - make sure you have all the host packages mentioned in this doc installed

 

i.MX53_START_Linux_BSP_UserGuide.pdf - Refer to Chapter 2 for the proper way to install and run ltib the first time.

0 Kudos

1,218 Views
iafg
Contributor IV
Hey I haven't tried this... it may be the LTIB source needs mtd-utils source files....

Iain Galloway (Future) said:

Hi Claude,

I think your Ubuntu environment is missing the package mtd-utils.

Use "Synaptic" package manager to find and install these. Just put 'mtd' in the "Quicksearch" box.

or from a terminal window:

lucid@ubuntu:~$ aptitude install mtd-utils

 

0 Kudos

1,218 Views
iafg
Contributor IV

Hi Claude,

I think your Ubuntu environment is missing the package mtd-utils.

Use "Synaptic" package manager to find and install these. Just put 'mtd' in the "Quicksearch" box.

or from a terminal window:

lucid@ubuntu:~$ aptitude install mtd-utils

0 Kudos

1,218 Views
Claude_Sylvain
Contributor I

Matt Clemens said:

>
> As far as your problem pulling packages from the GPP, are you behind
> a proxy?
>

- No, there is no proxy at my place.


>
> Below is how I have the proxy env variables set on my machine
> when I'm on the freescale network. If you're behind a proxy,
> change to reflect your proxy server. If you're not behind a
> proxy, make sure you don't have these set.
>
>
>   $ printenv | grep proxy
>
>   http_proxy=http://wwwgate0.freescale.net:1080/
>
>   ftp_proxy=ftp://wwwgate0.freescale.net:1080/
>
>   https_proxy=https://wwwgate0.freescale.net:1080/
>

- None of the variables mentioned above exist on my
  GNU/Linux Host.


- Below the revealing part of what Ltib say about the error:


                      +++

...
...


Processing: u-boot-tools
==========================

Processing: mtd-utils
=======================
Build path taken because: no prebuilt rpm,
Try mtd-utils-201006.tar.bz2.md5 from the PPP
Try mtd-utils-201006.tar.bz2.md5 from the GPP
http://bitshrine.org/gpp/mtd-utils-201006.tar.bz2.md5:
15:55:02 ERROR 404: Not Found.
Try mtd-utils-201006.tar.bz2 from the PPP
Try mtd-utils-201006.tar.bz2 from the GPP
http://bitshrine.org/gpp/mtd-utils-201006.tar.bz2:
15:55:03 ERROR 404: Not Found.
Can't get: mtd-utils-201006.tar.bz2 at ./ltib line 790.
Died at ./ltib line 1380.
traceback:
 main::build_host_rpms:1380
  main::host_checks:1435
   main:542


Started: Tue May  3 15:55:00 2011
Ended:   Tue May  3 15:55:03 2011
Elapsed: 3 seconds

These packages failed to build:
mtd-utils

Build Failed

                      +++


Claude



0 Kudos

1,218 Views
mdc
Contributor V

Yes, this release should be fine, but FYI, 11.03 is the latest. You can download here:

 

 

http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX53QSB&fpsp=1&tab=Design_Tools_Tab

 

As far as your problem pulling packages from the GPP, are you behind a proxy?

 

Below is how I have the proxy env variables set on my machine when I'm on the freescale network. If you're behind a proxy, change to reflect your proxy server. If you're not behind a proxy, make sure you don't have these set.

 

$ printenv | grep proxy

http_proxy=http://wwwgate0.freescale.net:1080/

ftp_proxy=ftp://wwwgate0.freescale.net:1080/

https_proxy=https://wwwgate0.freescale.net:1080/

0 Kudos