[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] problem building petalinux-v0.30-rc1



John Williams wrote:
Hi Dan,

On Fri, Mar 13, 2009 at 9:31 AM, Dan Miller <dan@xxxxxxxxxx> wrote:
  
I'm trying to build PetaLinux for MicroBlaze, for an ML505 development
board.  I configured the kernel itself, specifying the ML506 target which
should be close enough.  Everything built mostly fine, until I got to
u-boot, where I get stopped:

u-boot/petalinux-uboot-config
u-boot/petalinux-uboot-config: 48: source: not found

Line 48 in that script contains:

source $CONFIG_CONFIG

So apparently CONFIG_CONFIG isn't defined??
Is this indicating that I was supposed to do another "make config" operation
for u-boot somewhere??  Or is something else wrong??
    

Did you do the standard "make meunconfig; make;" process?

Can you please post an edited version of your console session showing
your steps and the output?

Thanks,

John
  
To clarify this, I'm running as root, and I ran:
# cd /home/petalinux-v.30-rc1
# sh ./settings.sh
I checked to ensure that PETALINUX and PETALINUX_VER were defined, then proceeded:
# cd software/petalinux-dist
# make menuconfig
(configured board as Xilinx ML506, left all other settings default)
# make all
Got one error in some file (no longer remember the name, it had undefined PATH_MAX, added 
#include <limits.h> and proceeded).

//*******************************
Also, on further research, I see that CONFIG_CONFIG is defined in the top-level makefile, as
CONFIG_CONFIG = $(ROOTDIR)/config/.config
And this file *does* exist...  

Has nobody else experienced this error??
I'm tempted to change ROOTDIR from 
ROOTDIR  = $(shell pwd)
to 
ROOTDIR=$PETALINUX

I wonder if that would solve the problem?
Or should I edit the u-boot makefile and explicitly define CONFIG_CONFIG?

Dan
 



___________________________ microblaze-uclinux mailing list microblaze-uclinux@xxxxxxxxxxxxxx Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/