LTIB for iMX6 on 12.04: LTIB

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

LTIB for iMX6 on 12.04: LTIB

跳至解决方案
9,098 次查看
BillHegardt
Contributor II
[ My sincere apologies for sending this as a message rather than posting it. Ooops. ]

I'm trying to build LTIB on Ubuntu 12.04 for the iMX6.

I using LTIB from L3.0.15_12.04.01_ER_source.tar.gz
I've run into numerous problems and applied patches to resolve them until I hit this one which I don't know how to handle. The patch I found from VJ does not fix this.  Any ideas?

[ I'm wondering if I should give up and try Linaro instead ]
Processing: elftosb
=====================
Build path taken because: no prebuilt rpm, 
Testing network connectivity
OK GPP: 

Try elftosb-12.04.01.tar.gz.md5 from the GPP
http://bitshrine.org/gpp/elftosb-12.04.01.tar.gz.md5:
10:04:00 ERROR 404: Not Found.
Try elftosb-12.04.01.tar.gz from the GPP
http://bitshrine.org/gpp/elftosb-12.04.01.tar.gz:
10:04:00 ERROR 404: Not Found.
Can't get: elftosb-12.04.01.tar.gz at ./ltib line 790.
Died at ./ltib line 1380.
traceback:
 main::build_host_rpms:1380
  main::host_checks:1435
   main:542


标签 (1)
标记 (2)
1 解答
2,167 次查看
EricNelson
Senior Contributor II

Hi Bill,

That package should be included in the source package:

~/$ tar ztvf L3.0.15_12.04.01_ER_source.tar.gz | grep elf
-rwxrwxrwx r80115/r80115 7329259 2012-05-01 04:14 L3.0.15_12.04.01_ER_source/pkgs/elftosb-12.04.01.tar.gz
-rwxrwxrwx r80115/r80115 58 2012-05-01 04:14 L3.0.15_12.04.01_ER_source/pkgs/elftosb-12.04.01.tar.gz.md5

Then, once you've done the install step, it should appear in /opt/freescale/pkgs/:

~/$ ls -l /opt/freescale/pkgs/elftosb-12.04.01.tar.gz*
-rwxr-xr-x 1 ericn gitosis 7329259 2012-07-09 12:15 /opt/freescale/pkgs/elftosb-12.04.01.tar.gz
-rwxr-xr-x 1 ericn gitosis 58 2012-07-09 12:15 /opt/freescale/pkgs/elftosb-12.04.01.tar.gz.md5

You might want to verify the md5sum of your source package.

在原帖中查看解决方案

0 项奖励
8 回复数
2,167 次查看
swapneelsangar
Contributor II

hiiiii

This elftosb-11.09.01.tar.gz and elftosb-11.09.01.tar.gz.md5 files are present at pkgs.I find the md5sum of

elftosb-11.09.01.tar.gz in opt/freescale/pkgs . Also find the md5sum elftosb-11.09.01.tar.gz from source package.

rahul@rahul:~$ md5sum /opt/freescale/pkgs/elftosb-11.09.01.tar.gz

10deccaf1af9e9d396ffbf51e7d320c0  /opt/freescale/pkgs/elftosb-11.09.01.tar.gz

rahul@rahul:~$ md5sum imx53/11.09.01/L2.6.35_11.09.01_ER_source/pkgs/elftosb-11.09.01.tar.gz

10deccaf1af9e9d396ffbf51e7d320c0  imx53/11.09.01/L2.6.35_11.09.01_ER_source/pkgs/elftosb-11.09.01.tar.gz

both are same also open the elftosb-11.09.01.tar.gz.md5 files in both the path in text file then they also show same code.
10deccaf1af9e9d396ffbf51e7d320c0  elftosb-11.09.01.tar.gz.

So why this error comes??  Please guide me how to solve this issue.

Thank you

swapneel



0 项奖励
2,167 次查看
omveerchaudhary
Contributor I

Hi,

I'm a beginner for ltib. I tried ltib on ubuntu 12.04 but failed. Then I shifted to ubuntu 10.04 and 11.10(VM), ltib worked well on both with some corrections.

Please follow  what I learnt: LTIB for UBUNTU 11.10 & error faced.

Regards

Omveer

0 项奖励
2,167 次查看
praveeng
Contributor II

BillHegardt  -> Can you please tell me , from which link  did you download the LTIB for iMX6. I am also in need of L3.0.15_12.04.01_ER_source.tar.gz

0 项奖励
2,167 次查看
VladanJovanovic
NXP Employee
NXP Employee

i.MX 6 info is now on freescale.com:

i.MX6Q Product Summary Page

0 项奖励
2,167 次查看
gan
Contributor I

I had the same question once.  No one answered.

My understanding is that that archive is not publicly distributed so you need access to a Freescale support area (extranet)

[EDIT]:  Not true anymore.  Use Vladan's link below.  (Thanks Vladan) /gan

0 项奖励
2,167 次查看
BillHegardt
Contributor II

Got it building now. Thanks!

0 项奖励
2,168 次查看
EricNelson
Senior Contributor II

Hi Bill,

That package should be included in the source package:

~/$ tar ztvf L3.0.15_12.04.01_ER_source.tar.gz | grep elf
-rwxrwxrwx r80115/r80115 7329259 2012-05-01 04:14 L3.0.15_12.04.01_ER_source/pkgs/elftosb-12.04.01.tar.gz
-rwxrwxrwx r80115/r80115 58 2012-05-01 04:14 L3.0.15_12.04.01_ER_source/pkgs/elftosb-12.04.01.tar.gz.md5

Then, once you've done the install step, it should appear in /opt/freescale/pkgs/:

~/$ ls -l /opt/freescale/pkgs/elftosb-12.04.01.tar.gz*
-rwxr-xr-x 1 ericn gitosis 7329259 2012-07-09 12:15 /opt/freescale/pkgs/elftosb-12.04.01.tar.gz
-rwxr-xr-x 1 ericn gitosis 58 2012-07-09 12:15 /opt/freescale/pkgs/elftosb-12.04.01.tar.gz.md5

You might want to verify the md5sum of your source package.

0 项奖励
2,167 次查看
spearson
Contributor III

I ran into the same problem with iMX2 (L2.6.35...) 

http://vijay496.blogspot.in/2012/03/ltib-for-ubuntu-1110-error-faced.html

VJs patches worked well for me. Your problem is that LTIB cannot find the new path in the latest Linux Kernel directory structure, so you must create a symbolic link between the two (either that or update the LTB perl script):

sudo ln -s /usr/include/i386-linux-gnu/sys /usr/include/sys

I had to delete the /opt/freescale/ltib/usr/src/rpm/BUILD/eltosb-10.12.01 directory manually before starting ./ltib for the symbolic link work correctly.

You are almost through my installation notes (only other fail for me was menuconfig, which needed me to increase the size of the terminal window in the VM).  I have managed to get 12.04 compiling (I can build a viable application executable), but have yet to make a bootable SD card.  12.04 has been used by others, but I am running Jaunty until I have time to figure out what is going wrong.

Hope this helps.

0 项奖励