ltib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Ltib] imx53 QSB on Ubuntu 12.04


From: Bair, Richard
Subject: Re: [Ltib] imx53 QSB on Ubuntu 12.04
Date: Wed, 29 Aug 2012 18:29:05 -0700

********************************************************************************************************************
1) This is the uboot error I get by just copying the imx directory to the CVS 
tree:

Processing: u-boot
====================
Build path taken because: no prebuilt rpm, 
Testing network connectivity for gpp
OK GPP: is available
Try u-boot-2009.08.tar.bz2.md5 from the GPP
21:04:08 URL:http://bitshrine.org/gpp/u-boot-2009.08.tar.bz2.md5 [56/56] -> 
"u-boot-2009.08.tar.bz2.md5" [1]
Try u-boot-2009.08.tar.bz2 from the GPP
21:05:06 URL:http://bitshrine.org/gpp/u-boot-2009.08.tar.bz2 [8736849/8736849] 
-> "u-boot-2009.08.tar.bz2" [1]
Try u-boot-v2009.08-imx_11.09.01.tar.bz2.md5 from the GPP
http://bitshrine.org/gpp/u-boot-v2009.08-imx_11.09.01.tar.bz2.md5:
21:05:06 ERROR 404: Not Found.
Try u-boot-v2009.08-imx_11.09.01.tar.bz2 from the GPP
http://bitshrine.org/gpp/u-boot-v2009.08-imx_11.09.01.tar.bz2:
21:05:07 ERROR 404: Not Found.
Can't get: u-boot-v2009.08-imx_11.09.01.tar.bz2 at ./ltib line 834.


f_buildrpms() returned an error, exiting
traceback:
 main:580


Started: Wed Aug 29 21:01:27 2012
Ended:   Wed Aug 29 21:05:07 2012
Elapsed: 220 seconds

VERSION          : 11.4.1
CVS_VERSION      : $Revision: 1.88 $ (Savannah)
PLATFORM         : imx51
GNUTARCH         : arm
TOOLCHAIN        : tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm
TOOLCHAIN_CFLAGS : -O2 -fsigned-char -mfloat-abi=softfp -mfpu=vfp

These packages failed to build:
u-boot 

********************************************************************************************************************
2) Next I copy from BSP packages directory (uboot and kernel files) to the CVS 
tree (Sources) and I u-boot appear to build and the kernel bulds for quite some 
time prior to failing with the following message:

Assembler messages:
Error: unknown architecture `armv7-a'

Error: unrecognized option -march=armv7-a
make[2]: *** [scripts/mod/empty.o] Error 1
make[2]: *** Waiting for unfinished jobs....
  HOSTCC  scripts/genksyms/parse.o
  HOSTLD  scripts/genksyms/genksyms
make[1]: *** [scripts/mod] Error 2
make[1]: *** Waiting for unfinished jobs....
make: *** [scripts] Error 2
error: Bad exit status from /home/rich/imx53/ltib/tmp/rpm-tmp.3262 (%build)


RPM build errors:
    Bad exit status from /home/rich/imx53/ltib/tmp/rpm-tmp.3262 (%build)
Build time for kernel-2.6.35: 361 seconds

Failed building kernel-2.6.35


f_buildrpms() returned an error, exiting
traceback:
 main:580


Started: Wed Aug 29 21:20:06 2012
Ended:   Wed Aug 29 21:27:19 2012
Elapsed: 433 seconds

VERSION          : 11.4.1
CVS_VERSION      : $Revision: 1.88 $ (Savannah)
PLATFORM         : imx51
GNUTARCH         : arm
TOOLCHAIN        : tc-fsl-x86lnx-armeabi-nptl-4.1.2-3.i386.rpm
TOOLCHAIN_CFLAGS : -O2 -fsigned-char -mfloat-abi=softfp -mfpu=vfp

These packages failed to build:
kernel-2.6.35 

Build Failed




On Wed, Aug 29, 2012 at 1:47 PM, Bair, Richard
<address@hidden> wrote:
> Hello and thanks for reading!
>
> I'm new to the imx53 QSB and that processor family in general.  I have two 
> questions/issues:
>
> ITEM 1
> ======
> I've successfully installed the CVS update of LTIB on Ubuntu 12.04 based on 
> support from this list.  I was able to successfully build uboot and a 
> 2.6.22-mx kernel selecting one of the supported platforms (imx31 ads).
>
> The issue I have is that the platform for the imx53 is not available by 
> default in the CVS and that's my current target.  I've been somewhat 
> successful getting the imx53 and im5x "menu items" to appear when I copy from 
> the BSP tree to the CVS tree.  Specifically, I copy:
>
> /home/rich/imx53/L2.6.35_11.09.01_ER/L2.6.35_11.09.01_ER_source/ltib/config/platform/imx
>
> to the CVS build tree.  Again, this allows me to pick "imx Reference Boards" 
> and an "im5x" platform when I run ./ltib.  However, typically uboot will 
> build and the kernel will fail (I'll post the message later today).
>
> a) Is there a process for integrating imx53 BSP support into the main CVS?  
> How?


The integration may have to come from Freescale due to license
restrictions.  Even if you wanted to integrate it, you may not be
allowed to distribute it [to us].   Now that Freescale requires a
login to get to their bsp's, I would not give out whatever I
downloaded unless I had specific permission to do so (that's just me).
  Stuart may be able to provide some more insight to the process if
one exists.


> b) I also request support on the error message (again, will post near-term)
>
> ITEM 2
> ======
> Once I have built /rootfs, is there a script for copying to the uSD card?  So 
> far I've only created the uSD card using the windows application:  
> MCIMX535-START-R-BSP-11-09_C.exe.


You may have to dig into your bsp package but for my board there were
instructions on how to format and copy files-systems to flash, sd or
hd.   i've use one called /root/diskinit-1.2.sh.  Generally these type
of short scripts either tftp the disk image or mount the host nfs
share and the contents are simply copied.  Nothing special about it.


>
> Any advice you could offer would be appreciated.
>
> Thanks,
> Rich

_______________________________________________
LTIB home page: http://ltib.org

Ltib mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/ltib



reply via email to

[Prev in Thread] Current Thread [Next in Thread]