如何获取i.MX28 的source code

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

如何获取i.MX28 的source code

1,597 Views
邓洲
Contributor I

Hi Freescale,

我们要基于i.MX28平台上来开发一款产品,想获取到i.MX28 的source code。Freescale

是通过ltib 来提供的source code ,我根据所提供的文档,在ubuntu14.04 desktop版上试图使用ltib来

获取到i.MX28 linux 和uboot的source code,可是在安装ltib时遇到了些麻烦(ltib实在是太麻烦了),

using /home/dany/ima28/L2.6.35_1.1.0_130130_source/litb_28/ltib/config/platform/host/ltib.preconfig

Processing: fake-provides

===========================

Processing: mkspooflinks

==========================

Processing: distcc

====================

Processing: ccache

====================

Processing: bison

===================

Processing: flex

==================

Processing: texinfo

=====================

Processing: autoconf

======================

Processing: libtool

=====================

Processing: lkc

=================

Build path taken because: directory build, no prebuilt rpm,

Cowardly refusing to clobber existing directory:

/opt/freescale/ltib/usr/src/rpm/BUILD/lkc-1.4

Remove this by hand if you really want to rebuild this package from scratch

Died at ./ltib line 1392.

traceback:

main::build_host_rpms:1392

  main::host_checks:1447

   main:554

Started: Fri Jan 30 14:21:23 2015

Ended:   Fri Jan 30 14:21:28 2015

Elapsed: 5 seconds

These packages failed to build:

lkc

Build Failed

在build ltib时,会有以上的failed log,(rpm 有安装)

请帮忙看看是什么原因,

另外,我们项目进度的原因,请先帮忙提供下i.MX28 linux 和uboot的source code,

非常感谢!!

BR,

苏州佳世达电通有限公司

工业自动化部门

0512-66658800-6061

Labels (1)
6 Replies

1,026 Views
igorpadykov
NXP Employee
NXP Employee

Hi 邓洲 邓

you can find below useful tips for building ltib

LTIB build fails on lkc, using Ubuntu 11.10 and LTIB 9.1.1

i.MX Linux BSP Environment Setup

https://community.freescale.com/docs/DOC-93454

https://community.freescale.com/docs/DOC-93455

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

1,026 Views
邓洲
Contributor I

Hi igorpadykov,

thanks a lot,

According to your suggestion, I install the patches on my ubuntu14.04, use

./install-patches.sh <ltib full path>

show following failed info when build ltib, 

"

Processing: elftosb

=====================

Build path taken because: no prebuilt rpm,

rpmbuild --dbpath ///opt/freescale/ltib/var/lib/rpm --target x86_64 --define '_unpackaged_files_terminate_build 0' --define '_target_cpu x86_64' --define '__strip strip' --define '_topdir /opt/freescale/ltib/usr/src/rpm' --define '_prefix /opt/freescale/ltib/usr' --define '_tmppath /home/dany/ima28/L2.6.35_1.1.0_130130_source/litb_28/ltib/tmp' --define '_rpmdir /opt/freescale/ltib/usr/src/rpm/RPMS'  --define '_mandir /opt/freescale/ltib/usr/share/man' --define '_sysconfdir /opt/freescale/ltib/etc' --define '_localstatedir /var' -bb --clean --rmsource  /home/dany/ima28/L2.6.35_1.1.0_130130_source/litb_28/ltib/dist/lfs-5.1/elftosb/elftosb.spec

error: Unable to open temp file.

Building target platforms: x86_64

Building for target x86_64

RPM build errors:

    Unable to open temp file.

Build time for elftosb: 0 seconds

Failed building elftosb

Died at ./ltib line 1392.

traceback:

main::build_host_rpms:1392

  main::host_checks:1447

   main:554

Started: Thu Feb  5 16:47:30 2015

Ended:   Thu Feb  5 16:47:31 2015

Elapsed: 1 seconds

These packages failed to build:

elftosb

Build Failed

"

error: Unable to open temp file. and use df command to check tmpfs, only 1% used


/dev/sda7 42301688 11638896 28490940   30% /
none             4   0   40% /sys/fs/cgroup
udev       1013364   4  10133601% /dev
tmpfs       2048961152   2037441% /run
none          5120   451161% /run/lock
none       1024476  76  10244001% /run/shm
none        102400  68   1023321% /run/user
/dev/sda1 48128436 22795268 25333168   48% /media/dany/AEB89C1FB89BE45D
/dev/sdb1 14429008  6993592  7435416   49% /media/dany/UUI

Are there any other method to get the i.MX28 linux and uboot source code?

thanks!!


BR

Dany

0 Kudos

1,026 Views
igorpadykov
NXP Employee
NXP Employee

Hi Dany

suggest to install 9.04, ltib should be

built without problems on that release

http://old-releases.ubuntu.com/releases/9.04/

~igor

0 Kudos

1,026 Views
洲邓
Contributor II

Hi ,

I followed https://community.freescale.com/docs/DOC-98910

build ltib success  in Ubuntu 14.10 64 bits

thanks for your support,

BR

Deng zhou

0 Kudos

1,026 Views
LuisCasado
NXP Employee
NXP Employee

Hello,

I followed this https://community.freescale.com/docs/DOC-98910

And I can build in Ubuntu 14.04 64 bits

Luis

1,026 Views
洲邓
Contributor II

Hi Luis.

thanks!

I followed this https://community.freescale.com/docs/DOC-98910

And I can build ltib  in Ubuntu 14.10 64 bits

thanks again~

Deng zhou

0 Kudos