All of lore.kernel.org
 help / color / mirror / Atom feed
From: Hannes Schmelzer <Hannes.Schmelzer@br-automation.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Antwort: Re:  am335x. u-boot.img fails to start
Date: Fri, 4 Dec 2015 10:23:22 +0100	[thread overview]
Message-ID: <OF43ED8053.30194D33-ONC1257F11.00337C06-C1257F11.003393FD@br-automation.com> (raw)
In-Reply-To: <CAGm1_ksoGNuz+YSo9f+Kbo0YSgoAcyvn_MvKN4PwhSbJv2ujkQ@mail.gmail.com>

> 
> Hi Hannes,
Hi
> 
> it is not a problem in my case as I'm booting from mmc0 and according
> to the SPL, it could find u-boot.img. There seems to be something
> u-boot.img starting code, that makes problems.
> 
> Just in case I've tried reverting the patch, but the issue remains.
Okay ... maybe you could do some git bisect if you have a known working 
revision to find out which commit introduced failure.

> 
> Yegor
Hannes
> 
> On Fri, Dec 4, 2015 at 9:39 AM, Hannes Schmelzer 
<hannes@schmelzer.or.at> wrote:
> > Hi,
> >
> > Does your board boot from MMC1 ?
> > I had similar problem on my b&r boards ... i haven't solved it at all
> > neither walked deep to find out hat the root cause is.
> >
> > just try to revert locally the commit
> >
> > a1e56cf6d430d78db3a4dc08a422311145e32315 spl: mmc: add support for
> > BOOT_DEVICE_MMC2
> >
> >
> > this works for me ... but i didn't have time yet to debug this fully.
> > Maybe next week.
> >
> > let me know what happens on your board.
> >
> > best regards,
> > Hannes
> >
> >
> >
> > On 12/04/2015 09:26 AM, Yegor Yefremov wrote:
> >
> > git master fails to start u-boot.img on at least am335x_evm_defconfig
> > some other similar boards:
> >
> > U-Boot SPL 2016.01-rc1-00373-gbe30dfb (Dec 04 2015 - 08:51:13)
> > Trying to boot from MMC
> > reading args
> > spl_load_image_fat_os: error reading image args, err - -1
> > reading u-boot.img
> > reading u-boot.img
> >
> > Compiler used:
> >
> > arm-linux-gnueabihf-gcc -v
> > Using built-in specs.
> > COLLECT_GCC=arm-linux-gnueabihf-gcc
> > COLLECT_LTO_WRAPPER=/usr/lib/gcc/arm-linux-gnueabihf/4.9/lto-wrapper
> > Target: arm-linux-gnueabihf
> > Configured with: ../src/configure -v --with-pkgversion=' 4.9.2-10'
> > --with-bugurl=file:///usr/share/doc/gcc-4.9/README.Bugs
> > --enable-languages=c,c++,go,fortran,objc --prefix=/usr
> > --program-suffix=-4.9 --enable-shared --enable-linker-build-id
> > --libexecdir=/usr/lib --without-included-gettext
> > --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.9
> > --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu
> > --enable-libstdcxx-debug --enable-libstdcxx-time=yes
> > --enable-gnu-unique-object --disable-libitm --disable-libquadmath
> > --enable-plugin --with-system-zlib --enable-objc-gc --enable-multiarch
> > --disable-sjlj-exceptions --with-arch=armv7-a --with-fpu=vfpv3-d16
> > --with-float=hard --with-mode=thumb --enable-checking=release
> > --build=x86_64-linux-gnu --host=x86_64-linux-gnu
> > --target=arm-linux-gnueabihf --program-prefix=arm-linux-
> > gnueabihf-
> > Thread model: posix
> > gcc version 4.9.2 ( 4.9.2-10)
> >
> > Any idea?
> >
> > Regards,
> > Yegor
> > _______________________________________________
> > U-Boot mailing list
> > U-Boot at lists.denx.de
> > http://lists.denx.de/mailman/listinfo/u-boot
> >
> >
> >
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot

  reply	other threads:[~2015-12-04  9:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04  8:26 [U-Boot] am335x. u-boot.img fails to start Yegor Yefremov
2015-12-04  8:39 ` Hannes Schmelzer
2015-12-04  9:00   ` Yegor Yefremov
2015-12-04  9:23     ` Hannes Schmelzer [this message]
2015-12-04  9:40       ` Yegor Yefremov

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=OF43ED8053.30194D33-ONC1257F11.00337C06-C1257F11.003393FD@br-automation.com \
    --to=hannes.schmelzer@br-automation.com \
    --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.