Configuring u-boot to recompile from scratch

Dr. H. Nikolaus Schaller hns at computer.org
Tue Aug 25 21:32:48 CEST 2009


Well,
I was a little too fast with my success story. I now got a version  
where I can configure.

But:
* there is a script called "build" which conflicts with the directory  
"build" that configure wants to create
* if I rename the build script, configure fails

... cut cut cut ...

Note: moving to "origin/stable" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
   git checkout -b <new_branch_name>
HEAD is now at 57f7a42... U-Boot: Update for reading inodes on ext2fs  
revision 1
xtc: u-boot.xtc: configuring u-boot for gta02v6
board/neo1973/gta02/split_by_variant.sh: line 48: .../src/gta02v6/u- 
boot/build/board/neo1973/gta02/config.tmp: No such file or directory
board/neo1973/gta02/split_by_variant.sh: line 61: .../src/gta02v6/u- 
boot/build/board/neo1973/gta02/config.tmp: No such file or directory
Configuring for neo1973_gta02 board...
xtc: u-boot.xtc: making u-boot
fatal: cannot describe '57f7a4288aaa08d2dc480a923372e7a7781ce882'
Generating include/autoconf.mk
fatal: cannot describe '57f7a4288aaa08d2dc480a923372e7a7781ce882'
Generating include/autoconf.mk
make: *** No rule to make target `u-boot.udfu'.  Stop.

When looking into the build directory that was created by the  
Makefile, there is no build/board/neo1973/gta02 subdirectory.
The build directory only contains:

goldelico:u-boot hns$ ls -l build
total 0
drwxr-xr-x  3 hns  hns  306 25 Aug 21:25 include
drwxr-xr-x  2 hns  hns  102 25 Aug 21:25 include2
goldelico:u-boot hns$

Any ideas? Maybe "origin/stable" is outdated?

Nikolaus

Am 25.08.2009 um 19:05 schrieb Dr. H. Nikolaus Schaller:

>
> Am 25.08.2009 um 18:24 schrieb Werner Almesberger:
>
>> Dr. H. Nikolaus Schaller wrote:
>>> When following the instructions on
>>> http://wiki.openmoko.org/wiki/Uboot#Bootloader_source_code
>>> I get:
>>
>> You forgot this part:
>>
>> | Clone the git tree and check out the stable branch
>>                        ---------------------------
>>
>> That's
>> git checkout origin/stable
>
> Yes! Thanks! This did the trick.
>
> I have updated the Wiki to explicitly give the command...
>
> Nikolaus




More information about the devel mailing list