From: Jeroen Hofstee <jeroen@myspectrum.nl>
To: u-boot@lists.denx.de
Subject: [U-Boot] is it possilbe to have uboot find the kernel in the file system?
Date: Fri, 04 Jan 2013 21:46:12 +0100 [thread overview]
Message-ID: <50E73F94.4070908@myspectrum.nl> (raw)
In-Reply-To: <1357323597.6335.19.camel@genx.eng.msli.com>
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-lin
> 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
next prev parent reply other threads:[~2013-01-04 20:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-03 20:56 [U-Boot] is it possilbe to have uboot find the kernel in the file system? John Stile
2013-01-03 21:07 ` Wolfgang Denk
2013-01-04 2:06 ` John Stile
2013-01-04 8:00 ` Wolfgang Denk
2013-01-04 18:19 ` John Stile
2013-01-04 20:46 ` Jeroen Hofstee [this message]
2013-01-04 22:12 ` Wolfgang Denk
2013-01-05 1:25 ` John Stile
2013-01-05 1:53 ` Bo Shen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50E73F94.4070908@myspectrum.nl \
--to=jeroen@myspectrum.nl \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.