Dave Hylands wrote:
> Hi David,
> On 7/4/07, David Hearn <dave@...> wrote:
>> I've got the buildroot all working and I've built everything, but now I
>> want to be able to just build u-boot (I'm building native apps so don't
>> use the Linux part). It's been suggested to look into the "examples"
>> directory in the u-boot build tree, but I'm having difficulty actually
>> building it on its own.
>> For example, if I go into gumstix-buildroot/build_arm_nofpu/u-boot-1.2.0
>> and type make I get:
>> *** commands commence before first target. Stop.
> Hmmm. What does the config.mk file look like? (the one with the error)
> It should by fairly small. I tried the above on my image where
> buildroot proceeded successfully and it worked fine (rev 1445).
> Most of the time spent in buildroot is to build the toolchain itself.
I just did a 'make clean' in gumstix-buildroot, followed by a 'svn co'
of the build-root again. This time it fetched 1447 (I had 1445 I think
before). I did 'make defconfig', 'make menuconfig', selected Verdex
600MHz, removed some packages (sound related, gps and wireless) and did
make. This built fine with no errors. However, I just noticed though
that the u-boot.bin file in the buildroot folder was from the build I
did yesterday, rather than today.
I then went into u-boot-1.2.0/boards/gumstix and editied gumstix.c (put
in a comment) hoping to trigger a rebuild of u-boot, however doing
another make in the buildroot just seems to update the jffs2 image,
leaving u-boot.bin untouched - in fact, nothing about u-boot appeared in
the build text.
Trying to do a make clean in the u-boot folder gives the same error as
The config.mk is below, line 19 (the error one) is the one which says
"$(error You need to specify...) :
# This is config used for compilation of Gumstix sources
# You might change location of U-Boot in memory by setting right TEXT_BASE.
# This allows for example having one copy located at the end of ram and
# in flash device and later on while developing use other location to test
# the code in RAM device only.
TEXT_BASE = 0x5C000000
PLATFORM_CPPFLAGS += -DGUMSTIX_VERDEX
TEXT_BASE = 0xA3F00000
PLATFORM_CPPFLAGS += -DGUMSTIX_PXA255
$(error You need to specify either BR2_TARGET_GUMSTIX_BASIXCONNEX or
PLATFORM_CPPFLAGS += -DCONFIG_GUMSTIX_CPUSPEED_200
PLATFORM_CPPFLAGS += -DCONFIG_GUMSTIX_CPUSPEED_300
PLATFORM_CPPFLAGS += -DCONFIG_GUMSTIX_CPUSPEED_400
PLATFORM_CPPFLAGS += -DCONFIG_GUMSTIX_CPUSPEED_500
PLATFORM_CPPFLAGS += -DCONFIG_GUMSTIX_CPUSPEED_600
$(error You need to specify a CPU speed via GUMSTIX_nnnMHZ)
PLATFORM_CPPFLAGS += -DSVN_REVISION='"$(SVN_REVISION)"'