2009-07-31 03:40:50     为什么我还是无法编译u-boot?急

Document created by Aaronwu Employee on Sep 24, 2013
Version 1Show Document
  • View in full screen mode

2009-07-31 03:40:50     为什么我还是无法编译u-boot?急

杨 永标 (CHINA)

Message: 78236   

 

1 我安装的是Fedroa 操作系统,安装的blackfin toolchain 为blackfin-toolchain-09r1-2.i386.rpm和blackfin-toolchain-uclibc-full-09r1-2.i386.rpm,在Linux目录/opt/下生成uClinux,请问还需要安装其他工具吗?

 

2我用上述安装的工具编译u_boot,在u-boot解压目录下执行make bf518f-ezbrd 报错

 

[root@localhost u-boot-2009.06]# echo $PATH

/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/ usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/opt/uClinux/bfin-linux-uclibc/bin:/o pt/uClinux/bfin-uclinux/bin

[root@localhost u-boot-2009.06]# make bf518f-ezbrd.config

make: *** No rule to make target `bf518f-ezbrd.config'.  Stop.

[root@localhost u-boot-2009.06]# make bf518f-ezbrd_config

Configuring for bf518f-ezbrd board...

make: invalid option -- B

Usage: make [options] [target] ...

Options:

  -b, -m                      Ignored for compatibility.

  -C DIRECTORY, --directory=DIRECTORY

                              Change to DIRECTORY before doing anything.

  -d                          Print lots of debugging information.

  --debug[=FLAGS]             Print various types of debugging information.

  -e, --environment-overrides

                              Environment variables override makefiles.

  -f FILE, --file=FILE, --makefile=FILE

                              Read FILE as a makefile.

  -h, --help                  Print this message and exit.

  -i, --ignore-errors         Ignore errors from commands.

  -I DIRECTORY, --include-dir=DIRECTORY

                              Search DIRECTORY for included makefiles.

  -j [N], --jobs[=N]          Allow N jobs at once; infinite jobs with no arg.

  -k, --keep-going            Keep going when some targets can't be made.

  -l [N], --load-average[=N], --max-load[=N]

                              Don't start multiple jobs unless load is below N.

  -n, --just-print, --dry-run, --recon

                              Don't actually run any commands; just print them.

  -o FILE, --old-file=FILE, --assume-old=FILE

                              Consider FILE to be very old and don't remake it.

  -p, --print-data-base       Print make's internal database.

  -q, --question              Run no commands; exit status says if up to date.

  -r, --no-builtin-rules      Disable the built-in implicit rules.

  -R, --no-builtin-variables  Disable the built-in variable settings.

  -s, --silent, --quiet       Don't echo commands.

  -S, --no-keep-going, --stop

                              Turns off -k.

  -t, --touch                 Touch targets instead of remaking them.

  -v, --version               Print the version number of make and exit.

  -w, --print-directory       Print the current directory.

  --no-print-directory        Turn off -w, even if it was turned on implicitly.

  -W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE

                              Consider FILE to be infinitely new.

  --warn-undefined-variables  Warn when an undefined variable is referenced.

 

Report bugs to <bug-make@gnu.org>.

make: *** [bf518f-ezbrd_config] Error 2

TranslateQuoteReplyEditDelete

 

 

2009-07-31 04:11:17     Re: 为什么我还是无法编译u-boot?急

Yi Li (CHINA)

Message: 78237   

 

1. 编译kernel,还需要安装的工具请看: http://docs.blackfin.uclinux.org/doku.php?id=installing_linux

 

2. uboot 的source code请使用 2009r1: http://blackfin.uclinux.org/gf/download/frsrelease/427/6121/u-boot-2008.10-2009R1-rc3.tar.bz2

QuoteReplyEditDelete

 

 

2009-07-31 20:41:39     Re: 为什么我还是无法编译u-boot?急

杨 永标 (CHINA)

Message: 78266   

 

对于Fedora,请问需要配置哪些工具包,从何处下载,安装步骤是什么?

TranslateQuoteReplyEditDelete

 

 

2009-08-03 23:33:35     Re: 为什么我还是无法编译u-boot?急

Mike Frysinger (UNITED STATES)

Message: 78328   

 

you're using a very old version of make.  make-3.80+ supports the -B option, so if your make doesnt, then you need to upgrade either it or your distro.

Attachments

    Outcomes