Victor Lan

Build uImage error on i.mx53 QSB

Discussion created by Victor Lan on Feb 24, 2012
Latest reply on Feb 26, 2012 by Victor Lan

Hi everyone

I had installed ubuntu10.10 on VMware, and downloaded the android source code "Freescale-iMX53-QSB-Android 2.3-Version 4.2" from the Adeneo website "http://www.adeneo-embedded.com/".

 

Follow the user guide build prerequistes "http://source.android.com/source/initializing.html"
***Java 6: for Gingerbread and newer
$ sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
$ sudo apt-get update
$ sudo apt-get install sun-java6-jdk


***32-bit (experimental)
$ sudo apt-get install git-core gnupg flex bison gperf build-essential \ zip curl zlib1g-dev libc6-dev libncurses5-dev x11proto-core-dev \ libx11-dev libreadline6-dev libgl1-mesa-dev tofrodos python-markdown \ libxml2-utils xsltproc

ABOVE was what i did about the prerequistes.
Afterward I followed the user-guide below the appendix (file name: Release Notes r4.2.pdf).  And I unpacked the tar.gz file:
$tar zxvf i.MX53-QSB-Android-Release4.2.tar.gz
$ cd i.MX53-QSB-Android-Release4.2/scripts

Subsequently, I ran the script “download_android.sh” download the android source from repository

$./download_android.sh

After downloading, I got two additional folders: "src","install" under "i.MX53-QSB-Android-Release4.2

 

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

$./build_android.sh --board=imx53_qsb --build-choice=uboot --lunchtype=eng  

 

I got the u-boot.bin successfully. 

 

Then I would like to add USB driver before building uImage, so I changed into

$cd i.MX53-QSB-Android-Release4.2/src/kernel-imx

$make menuconfig 

 

After that, I can add the USB driver as shown in the attached file. (file name: USB driver.jpg)

Finally, I saved the .config and return to the console.

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

Now, here is the problem. 

 

$cd  i.MX53-QSB-Android-Release4.2/scripts

$./build_android.sh --board=imx53_qsb --build-choice=kernel --lunch-type=eng

 

The error message is shown as attached (file name: compile error.doc)

ps. In the attached file, the black part is under normal operation, but the red part shown on the last page is the compile error. (p. 29)


Would anyone be so kind to guide me how to solve the problem.

Really thx!!!!

Outcomes