[U-Boot] U-boot-2012.04 compilation for qemu-mips board
krishna dwivedi
krishna.dwivedi01 at gmail.com
Mon Jul 1 12:10:26 CEST 2013
Hi Wolfgang,
I knew i have to run make qemu_mips_config before make allI am using ELDK
5.3 toolchain and compiling u-boot recipe came as a part of ELDK..But in
yocto environment,we use bitbake instead of make.I already tried make:
[unknown at h229 build]$ make qemu_mips_config
make: *** No rule to make target `qemu_mips_config'. Stop.
I guess i need command analogous to make qemu_mips_config to run before
bitbake u-boot.
Regards,
Krishna
On Mon, Jul 1, 2013 at 3:31 PM, Wolfgang Denk <wd at denx.de> wrote:
> Dear krishna dwivedi,
>
> In message <CAKAK--n326NQLOxERi47i63qeruOAcLr=ifHeoY9Ca=
> X3C0zJA at mail.gmail.com> you wrote:
> >
> > Board Configuration:
> >
> > Target Arch CPU
> > BoardName
> > qemu_mips mips mips32 qemu-mips
>
> This builds fine for me:
>
> + MAKEALL_LOGDIR=/work/wd/tmp-mips-LOG
> + BUILD_DIR=/work/wd/tmp-mips
> + ./MAKEALL qemu_mips
> Configuring for qemu_mips - Board: qemu-mips, Options: SYS_BIG_ENDIAN
> text data bss dec hex filename
> 205520 7482 217512 430514 691b2 /work/wd/tmp-mips/u-boot
>
> --------------------- SUMMARY ----------------------------
> Boards compiled: 1
> ----------------------------------------------------------
>
> > While bitbake u-boot:
> >
> > Log data follows:
> > | DEBUG: Executing shell function do_compile
> > | NOTE: make -j 4 CROSS_COMPILE=mips-poky-linux- CC=mips-poky-linux-gcc
> > --sysroot=/home/netlogic/eldk/build/tmp/sysroots/qemumips all
> > | awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }'
> > boards.cfg > .boards.depend
> > | System not configured - see README
> > | make: *** [all] Error 1
> > | ERROR: oe_runmake failed
> >
> > Anyone please let me know what could be issue here.
>
> You must run "make qemu_mips_config" before you can run "make all".
>
> Best regards,
>
> Wolfgang Denk
>
> --
> DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> "The fundamental principle of science, the definition almost, is
> this: the sole test of the validity of any idea is experiment."
> - Richard P. Feynman
>
More information about the U-Boot
mailing list