This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I have downloaded the u-boot source from "git://git.omapzoom.org/repo/u-boot.git" location and try to build for Panda using the following command. I am following the instructions from "http://www.omappedia.org/wiki/Building_Android_bootloader" wiki page.
"make ARCH=arm omap4panda_config"
I am getting "/bin/sh: invalid option -" error when I run the above command.
What may be the problem with my setup? I tried on 11.10 64-bit Ubuntu PC and 11.04 32-bit Ubuntu PC. Both the places same error is observed.
-Vinayaka
The problem is resolved, but unable get the reason. There are two changes I did and after that the problem got resovled
>> Problematic code was cloned on Windows using Gitorious, now I am cloning the code from a Ubuntu PC itself
>> Earlier I was using Ubuntu 11.04 & 11.10. The successful build is on 10.04 LTS.
>> Earlier I was using L27.13.1Beta version. Now I am using 4AI.4 tag
I don't which of these change is resolved the problem. I feel the first point resolved the issue, since there my be issues with Windows style & Linux style line ends!!:-)
-Vinayaka
If you are still interested in a solution, could you please provide more details about your initial setup? (Were you using cygwin, eabi version, etc...) I tried reproducing this issue on my Windows PC using Cygwin and I was unable to (I built u-boot successfully). The only thing I noticed about your initial post was you ran
$ make ARCH=arm omap4panda_config
instead of
$make ARCH=arm omap4430panda_config
However, my guess is this is a typo in the forum, and you ran the correct command during your build attempt.
Josh Arenson thanks for the input.
Yes the command I have given is right and it is the typo error in while posting.
I root caused the issue and it is due to copy from Windows to Ubuntu PC without any care. I have downloaded the source on Windows PC using GIT Bash and copied to Ubuntu PC using WinSCP tool. This caused some problem in the scripts and hence it was not able to build (The git on the ubuntu had problems and hence I downloaded on Windows). After correcting the git problem on the Ubuntu, the copied files are shown as modified (but actualy not done any modification). So I discarded the modifications on the branch and rebuilt the u-boot (and x-loader). It worked without any problem.
Thanks a lot for your support.
-Vinayaka