How to buld source for Wandboard Quad

Discuss Ubuntu related items.

How to buld source for Wandboard Quad

Postby marvik » Thu Feb 26, 2015 5:53 am

Hi All,

I took a copy of source code from wand board https://github.com/wandboard-org/linux
I am trying to build image for wandboard quad.
How to build for wandboard Quad. any specific commands required to build or any wandboard def config available?
From which folder i should build.

Appreciation in Adv,
Thanks
marvik
 
Posts: 21
Joined: Tue Feb 17, 2015 5:20 am

Re: How to buld source for Wandboard Quad

Postby vpeter » Thu Feb 26, 2015 9:33 am

What you got are just kernel sources.

I think you should look https://eewiki.net/display/linuxonarm/Wandboard for start.
vpeter
 
Posts: 78
Joined: Wed Dec 24, 2014 7:44 am

Re: How to buld source for Wandboard Quad

Postby marvik » Thu Feb 26, 2015 10:32 am

Vpeter, thanks. I have been to this site before. I am not sure how to customize the .config options with this setup.
You have any ideas.

Thanks
marvik
 
Posts: 21
Joined: Tue Feb 17, 2015 5:20 am

Re: How to buld source for Wandboard Quad

Postby vpeter » Thu Feb 26, 2015 10:50 am

marvik wrote:I am not sure how to customize the .config options with this setup.
Not sure but you can try patches/defconfig or patches/ref_multi_v7_defconfig.
vpeter
 
Posts: 78
Joined: Wed Dec 24, 2014 7:44 am

Re: How to buld source for Wandboard Quad

Postby marvik » Thu Feb 26, 2015 11:15 am

git clone https://github.com/RobertCNelson/armv7- ... atform.git

nothing inside cd armv7-multiplatform folder except 2 files.
what about ./build_kernel.sh
marvik
 
Posts: 21
Joined: Tue Feb 17, 2015 5:20 am

Re: How to buld source for Wandboard Quad

Postby vpeter » Thu Feb 26, 2015 12:09 pm

You forgot to run
Code: Select all
git checkout origin/v3.19.x -b tmp
vpeter
 
Posts: 78
Joined: Wed Dec 24, 2014 7:44 am

Re: How to buld source for Wandboard Quad

Postby marvik » Thu Feb 26, 2015 12:19 pm

Yes i did it
git checkout origin/v3.19.x -b tmp

This the error,

error: Your local changes to the following files would be overwritten by checkout:
.gitignore
LICENSE
README.md
Please, commit your changes or stash them before you can switch branches.
Aborting
marvik
 
Posts: 21
Joined: Tue Feb 17, 2015 5:20 am

Re: How to buld source for Wandboard Quad

Postby vpeter » Thu Feb 26, 2015 12:33 pm

Remove and run git clone again.
vpeter
 
Posts: 78
Joined: Wed Dec 24, 2014 7:44 am

Re: How to buld source for Wandboard Quad

Postby marvik » Thu Feb 26, 2015 1:33 pm

Now it loaded properly.

Started from step 1

I have installed 32bit libraries on host machine which 64 bit.

export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
this test is failed
{CC}gcc: command not found
marvik
 
Posts: 21
Joined: Tue Feb 17, 2015 5:20 am

Re: How to buld source for Wandboard Quad

Postby vpeter » Thu Feb 26, 2015 1:55 pm

marvik wrote:{CC}gcc: command not found
Obviously it doesn't find gcc. Probably because you didn't run commands in correct step/folder. You must export CC in same folder where you downloaded and extract gcc.
Code: Select all
wget -c https://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
tar xf gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz
export CC=`pwd`/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
${CC}gcc --version
Don't overlook $ character.

You need to export CC next time you open terminal window and run some commands with it.
Last edited by vpeter on Thu Feb 26, 2015 3:53 pm, edited 1 time in total.
vpeter
 
Posts: 78
Joined: Wed Dec 24, 2014 7:44 am

Next

Return to Software - Ubuntu

Who is online

Users browsing this forum: Google [Bot], Majestic-12 [Bot] and 9 guests

cron