IMX6 sabre lite board

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

IMX6 sabre lite board

5,739 Views
jk1z
Contributor I

Hi All,

I have downloaded the uboot and linux source from the 

http://imxcommunity.org/group/i-mx-6-series-processors/forum/topics/i-mx6-resources

and try to compile it, but I got some errors.

Did anyone compiled it as separate source ? (both linux and uboot source - without using LTIB).

Is there any specific config file to be used?

thanks and rgds.

Labels (1)
0 Kudos
Reply
14 Replies

3,471 Views
jk1z
Contributor I

i have checked this out and now it got compiled. many thanks.

0 Kudos
Reply

3,471 Views
DirkBehme
Contributor III

And this shows that you haven't checked out the "imx_v2009.08" branch :(

git checkout -b imx_v2009.08 origin/imx_v2009.08

0 Kudos
Reply

3,471 Views
jk1z
Contributor I

> git branch -a
* master
remotes/origin/HEAD -> origin/master
remotes/origin/imx_v2009.08
remotes/origin/imx_v2009.08_10.04.01
remotes/origin/imx_v2009.08_10.05.02
remotes/origin/imx_v2009.08_10.07.11
remotes/origin/imx_v2009.08_10.10.01
remotes/origin/imx_v2009.08_10.11.01
remotes/origin/imx_v2009.08_11.04.01
remotes/origin/imx_v2009.08_11.05.01
remotes/origin/imx_v2009.08_11.09.01
remotes/origin/imx_v2009.08_11.11.01
remotes/origin/imx_v2009.08_12.01.01
remotes/origin/imx_v2009.08_12.02.01
remotes/origin/maddev-imx-android-r10.3
remotes/origin/maddev-imx-android-r13.2
remotes/origin/master

0 Kudos
Reply

3,471 Views
DirkBehme
Contributor III

What does "git branch -a" show?

"git log" should show

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/commit/?h=imx_v2009.08&id=d3020f5dfa80f3c106...

as topmost commit.

0 Kudos
Reply

3,471 Views
jk1z
Contributor I

yes Dirk,

I have cloned the uboot git, is there any way I can verify it for the correct version?

0 Kudos
Reply

3,471 Views
DirkBehme
Contributor III

It has a SabreLite config:

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/tree/include/configs/mx6q_sabrelite.h?h=imx_...

Are you sure you followed Florent's advice "checkout the branch "imx_v2009.08""?

0 Kudos
Reply

3,471 Views
jk1z
Contributor I

Hi Florent,

thanks for the correction and git works now.

but the source that cloned, is not having the config file for mx6q sabre, and so it gives error.

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

make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- mx6q_sabrelite_config
make: *** No rule to make target `mx6q_sabrelite_config'. Stop.
make: *** [mx6q_sabrelite_config] Error 1

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

-rgds

0 Kudos
Reply

3,471 Views
FlorentAuger
Contributor V

The address to clone is not correct. I provided you with the web page showing the details of the repository !

You should go on that page with a web browser, and you'll see that the repository can be cloned with the link provided at the bottom of the page:

"Clone
git://git.freescale.com/imx/uboot-imx.git
http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git"


0 Kudos
Reply

3,471 Views
jk1z
Contributor I

hi Florent,

thanks for the reply, I tried with installing git in my windows machine and used git bash to clone the repository.

But I got a fatal error:

"no address associated with the name

The remote end hung up unexpectedly."

I used the command - git clone git://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git

Kindly let me know if there anything to be corrected.

rgds 

0 Kudos
Reply

3,471 Views
FlorentAuger
Contributor V

As Dirk said, we don't know which of the versions you use !!!

I cloned the first git suggested for u-boot:

http://git.freescale.com/git/cgit.cgi/imx/uboot-imx.git/

then checkout the branch "imx_v2009.08", and build successfully the i.MX6DQ Sabre-lite u-boot with the commands that I put above.

0 Kudos
Reply

3,471 Views
DirkBehme
Contributor III

As mentioned above: Please share the details you've done and the errors you get! Which U-Boot do you use?

0 Kudos
Reply

3,471 Views
jk1z
Contributor I

hi Florent,

Linux kernel I have succeeded the compilation - by changing the menuconfig options.

For uboot, I dint find any config file related to sabrelite board.

Do anyone have done the compilation for u-boot?

Also there is no any specific func spec or documents for sabre lite, and IMX6Q processors.

any suggestions on this would be more helpful.

thanks and regards.

0 Kudos
Reply

3,471 Views
FlorentAuger
Contributor V

Please refer to the method used for other i.MX, such in the BSP doc: uboot_mx5x.pdf.

Typically, to build u-boot for the sabre lite board, it is:

make CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi- mx6q_sabrelite_config

make CROSS_COMPILE=/opt/freescale/usr/local/gcc-4.1.2-glibc-2.5-nptl-3/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-

Other cross compiler versions should work.

0 Kudos
Reply

3,471 Views
DirkBehme
Contributor III

The page you mention above points to 4 different U-Boot/Kernel sources. Which one have you used? Please share the details you've done and the errors you get. Yes, a lot of people are working without LTIB.

0 Kudos
Reply