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

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



Dan Miller 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??

Okay, I figured out what's wrong...
The current version of Ubuntu Linux that I'm using as my base platform, has /bin/sh defined as:
sh -> dash
rather than the typical
sh -> bash

Apparently dash (whatever the H#&@ that is) doesn't define many of the typical shell commands that we expect to have present.

Once I changed /bin/sh to point to bash, everything is proceeding normally.

sheesh...

___________________________ 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/