Hello John,

On 01/04/2013 07:19 PM, John Stile wrote:
On Fri, 2013-01-04 at 09:00 +0100, Wolfgang Denk wrote:
Dear John Stile,

In message <1357265217.7939.131.camel@genx> you wrote:
u-boot-2012.10.tar.bz2  does not have support for the at91sam9g20ek
I treid to apply my patches for u-boot-1.3.4, but they are way too old.
Is there a newer patch set?
I see the following board configurations supported in current mainline
code: at91sam9g20ek_nandflash, at91sam9g20ek_dataflash_cs0, and
at91sam9g20ek_dataflash_cs1 .  Anything wrong with those?
note the trailing _nandflash, _dataflash_cs0 etc.
I'm going to have to wrestle with buildroot's uboot configuration or
something... But it would be helpful to know what he build error means.

my buildroot .config sets:
BR2_TARGET_UBOOT=y
BR2_TARGET_UBOOT_BOARDNAME="at91sam9g20ek"
BR2_TARGET_UBOOT_CUSTOM_TARBALL=y
BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="ftp://ftp.denx.de/pub/u-boot/u-boot-2012.10.tar.bz2";
BR2_TARGET_UBOOT_VERSION="custom"
BR2_TARGET_UBOOT_FORMAT_BIN=y
BR2_TARGET_AT91BOOTSTRAP=y
BR2_TARGET_AT91BOOTSTRAP_BOARD="at91sam9g20ek"
BR2_TARGET_AT91BOOTSTRAP_DATAFLASH=y
BR2_TARGET_AT91BOOTSTRAP_MEMORY="dataflash"

uboot build error:
uboot custom Configuring
PATH="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/bin:/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin:/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/sbin/:/home/jstile/Komodo-Edit-7/bin:/home/jstile/Komodo-Edit-7/bin:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.4:/usr/games/bin:/home/jstile/bin:/home/jstile/bin"
 AR="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-ar" 
AS="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-as" 
LD="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-ld" 
NM="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-nm" 
CC="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gcc" 
GCC="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-l
in
  ux-uclibcgnueabi-gcc" CPP="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-cpp" 
CXX="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-g++" 
FC="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-gfortran" 
RANLIB="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-ranlib" 
STRIP="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-strip" 
OBJCOPY="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-objcopy" 
OBJDUMP="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" 
CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" FC_FOR_BUILD="/usr/bin/ld" LD_FOR_BUILD="/usr/bin/ld
" C
  FLAGS_FOR_BUILD="-O2 -I/home/jstile/svn_rmserver/buildroot-2011.11/output/host/include -I/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/include" 
CXXFLAGS_FOR_BUILD="-I/home/jstile/svn_rmserver/buildroot-2011.11/output/host/include -I/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/include" 
LDFLAGS_FOR_BUILD="-L/home/jstile/svn_rmserver/buildroot-2011.11/output/host/lib -L/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/lib 
-Wl,-rpath,/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/lib" FCFLAGS_FOR_BUILD="" 
DEFAULT_ASSEMBLER="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-as" 
DEFAULT_LINKER="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-ld" CFLAGS="-pipe -Os  -D_LARGEFILE_SOURCE 
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CXXFLAGS="-pipe -Os  -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" LDFLAGS="" 
FCFLAGS="
" P
  KG_CONFIG="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/pkg-config" 
PERLLIB="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/lib/perl" 
STAGING_DIR="/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot"
 CONFIG_NOSOFTFLOAT=1 /usr/bin/make -j2 -C /home/jstile/svn_rmserver/buildroot-2011.11/output/build/uboot-custom 
CROSS_COMPILE=" 
/home/jstile/svn_rmserver/buildroot-2011.11/output/host/usr/bin/arm-unknown-linux-uclibcgnueabi-" ARCH=arm 
at91sam9g20ek_config
last word, misses the _nandflash, you should get it there somehow..
make[1]: Entering directory 
`/home/jstile/svn_rmserver/buildroot-2011.11/output/build/uboot-custom'
make[1]: Leaving directory 
`/home/jstile/svn_rmserver/buildroot-2011.11/output/build/uboot-custom'
make[1]: Entering directory 
`/home/jstile/svn_rmserver/buildroot-2011.11/output/build/uboot-custom'
make: *** No rule to make target `at91sam9g20ek_config'.  Stop.
make[1]: *** [at91sam9g20ek_config] Error 1
make[1]: Leaving directory 
`/home/jstile/svn_rmserver/buildroot-2011.11/output/build/uboot-custom'
make: *** 
[/home/jstile/svn_rmserver/buildroot-2011.11/output/build/uboot-custom/.stamp_configured]
 Error 2

What should the target be?
one of the ones listed in boards.cfg with _config appended, e.g. at91sam9g20ek_nandflash_config
Maybe my buildroot is also so old it doesn't support the new uboot
configuration syntax?
no idea, since I don't use buildroot, but you might get around it by setting

BR2_TARGET_UBOOT_BOARDNAME="at91sam9g20ek_nandflash"


Regards,,
Jeroen



_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to