From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Pull request: nand flash
Date: Thu, 10 Oct 2013 18:52:57 -0400 [thread overview]
Message-ID: <52572FC9.3000904@ti.com> (raw)
In-Reply-To: <1381443015.7979.460.camel@snotra.buserror.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 10/10/2013 06:10 PM, Scott Wood wrote:
> On Thu, 2013-10-10 at 15:18 -0400, Tom Rini wrote:
>> On 10/10/2013 03:00 PM, Albert ARIBAUD wrote:
>>> On Thu, 10 Oct 2013 17:52:14 +0200, Albert ARIBAUD
>>> <albert.u.boot@aribaud.net> wrote:
>>>
>>>> Hi Tom,
>>>>
>>>> On Thu, 10 Oct 2013 07:45:17 -0400, Tom Rini <trini@ti.com> wrote:
>>>>
>>>>> -----BEGIN PGP SIGNED MESSAGE-----
>>>>> Hash: SHA1
>>>>>
>>>>> On 10/10/2013 04:12 AM, Albert ARIBAUD wrote:
>>>>>> Hi Tom,
>>>>>>
>>>>>> On Wed, 9 Oct 2013 21:45:25 -0400, Tom Rini <trini@ti.com> wrote:
>>>>>>
>>>>>>> On Wed, Oct 09, 2013 at 01:29:55PM -0500, Scott Wood wrote:
>>>>>>>
>>>>>>>> Sorry for the lateness, but here are some MTD/UBI bugfixes. They've
>>>>>>>> been acked by Stefan Roese.
>>>>>>>>
>>>>>>>> The following changes since commit b770e88a6c2548727f0d57a3e9e8bb0830f977b5:
>>>>>>>>
>>>>>>>> Fix number base handling of "load" command (2013-10-07 15:54:18 -0400)
>>>>>>>>
>>>>>>>> are available in the git repository at:
>>>>>>>>
>>>>>>>> git://git.denx.de/u-boot-nand-flash.git master
>>>>>>>>
>>>>>>>> for you to fetch changes up to cc734f5ab26134e5e8d57c34edc257c89ac5b1d2:
>>>>>>>>
>>>>>>>> cmd_ubi: add write.part command, to write a volume in multiple parts (2013-10-09 12:52:22 -0500)
>>>>>>>>
>>>>>>>> ----------------------------------------------------------------
>>>>>>>> Paul Burton (4):
>>>>>>>> mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN
>>>>>>>> cmd_mtdparts: use 64 bits for flash size, partition size & offset
>>>>>>>> cmd_ubi: use int64_t volume size for 'ubi create'
>>>>>>>> cmd_ubi: add write.part command, to write a volume in multiple parts
>>>>>>>
>>>>>>> OK, problem:
>>>>>>> Author: Paul Burton <paul.burton@imgtec.com>
>>>>>>> Date: Wed Sep 4 15:16:57 2013 +0100
>>>>>>>
>>>>>>> cmd_mtdparts: use 64 bits for flash size, partition size & offset
>>>>>>>
>>>>>>> Causes a number of platform such as am3517_crane to fail to build with
>>>>>>> recent toolchains with errors such as:
>>>>>>> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/arm-linux-gnueabihf-ld.bfd:
>>>>>>> error:
>>>>>>> /opt/linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2013.03-20130313_linux/bin/../lib/gcc/arm-linux-gnueabihf/4.7.3/libgcc.a(bpabi.o)
>>>>>>> uses VFP register arguments, u-boot does not
>>>>>>>
>>>>>>> Which we need to sort out, one way or another. Albert, any quick ideas?
>>>>>>
>>>>>> Builds OK on my side, both nand-flash/master and a merge of nf/master
>>>>>> and u-boot/master, with gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-1ubuntu1)
>>>>>>
>>>>>> Tom, can you specify which toolchain shows the issue?
>>>>>
>>>>> Both ELDK 5.3 and Linaro 2013.03 (one TI has picked for some things) do
>>>>> the above. ELDK 5.2 is OK
>>>>
>>>> I'll test with ELDK5.3 in about an hour.
>>>
>>> I've installed eldk-eglibc-i686-arm-toolchain-gmae-5.3.sh and can build
>>> am3517_crane on both nand-flash/master as well as on a merge of
>>> u-boot/master and nand-flash/master
>>
>> Here we go, armhf toolchains trigger this problem because, I suspect, we
>> aren't enforcing a flag to say "no, really, no hfp here" or similar.
>
> Any idea why this patchset triggers it? Does the 64-bit stuff cause
> something from libgcc to be used that previously wasn't? There is some
> open-coded 64-bit division, but it's by a power of two so GCC should
> convert it to a shift (and the ability to do 64-bit shifts was already
> required by print_size()).
I'm not sure what parts of this math exactly cause things to go all
nutty, but I suspect the answer is that we should be enforcing
- -msomething or another than hf defaults to using (un)setting.
- --
Tom
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQIcBAEBAgAGBQJSVy/JAAoJENk4IS6UOR1WgyIP+gIIF7gvWREeqfbtxt0jktj3
cDc0VsT5FHoIK7qVAmOxhRP7yhN62sSkQJJ8D8b71Vequ5bTiuuDlSs1qml6Rb2F
bD4ivDCRSK/7RuE13XJOgSuUnhSEbXdWS5b5WzpHD4r9t+IM6vF03FVBx6Ob4h+Q
x8jBZlNjDT+wmDmuSRhN0opIDmhj1+mPt66fkXap/ZsAqyNfHfyWdFIfnprH4JxT
RYrtP57vPTELwSQJJY0IOYAw8y/JgMiOO4zkrh6AO87dwZtoRi3M2eV18qcEYjvz
g9rHdXMpoaxIecicDgDY4Lnr0XT7phyKaFV1ZEUKxdC1CA1Lsc+LRsuAJFr1s6wB
QZZH9ckmJgeYWRmF6jP5qpDCVzzBkZn5D0Nq5gOrkcbaPVNpUQ9//7aEiwWLULDu
rhas3MrT+m1MD8OO6LTZG5zn3MYhm8Ih7NHLFOp7W+AZuZlZorjW/+XLHe+UWtKU
caExJ4+zXOOjUl7Tz3EWEVBdpM3ikYleHTD/pFbMyP9PpR/Y0o6H8X7VU/Xz8L9v
AnkCWdlhavD9NMAIAj/4PuyVTPjUIDWIH7CCk4UcrgFSJaXWQX+2sPIkE+IgiVO4
Cd9UvEsFVcY82uvbWSXLdx/lfa9uIhBqz7JGcseB6Ch20elWrv0uqpGTmPJm5J+d
bpdD+ilktDFpS857eMyW
=BKAP
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2013-10-10 22:52 UTC|newest]
Thread overview: 164+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-10-09 18:29 [U-Boot] Pull request: nand flash Scott Wood
2013-10-10 1:45 ` Tom Rini
2013-10-10 8:12 ` Albert ARIBAUD
2013-10-10 11:45 ` Tom Rini
2013-10-10 15:52 ` Albert ARIBAUD
2013-10-10 19:00 ` Albert ARIBAUD
2013-10-10 19:18 ` Tom Rini
2013-10-10 22:10 ` Scott Wood
2013-10-10 22:52 ` Tom Rini [this message]
2013-10-11 7:11 ` Albert ARIBAUD
2013-10-11 12:36 ` Albert ARIBAUD
2013-10-11 0:11 ` Otavio Salvador
2013-10-14 15:17 ` Tom Rini
-- strict thread matches above, loose matches on Subject: below --
2016-09-02 16:31 Scott Wood
2016-09-06 16:58 ` Tom Rini
2016-07-25 18:44 Scott Wood
2016-07-26 2:33 ` Tom Rini
2016-06-20 8:11 Scott Wood
2016-06-20 12:45 ` Tom Rini
2016-06-04 4:35 Scott Wood
2016-06-06 11:16 ` Tom Rini
2016-02-13 6:14 Scott Wood
2016-02-14 18:56 ` Tom Rini
2015-05-25 0:25 Scott Wood
2015-05-25 12:36 ` Tom Rini
2015-03-31 20:59 Scott Wood
2015-04-01 0:56 ` Tom Rini
2015-03-31 20:55 Scott Wood
2015-01-09 20:12 Scott Wood
2015-01-10 19:10 ` Tom Rini
2014-11-27 7:25 Scott Wood
2014-11-27 18:09 ` Tom Rini
2014-10-10 1:08 Scott Wood
2014-10-10 14:39 ` Tom Rini
2014-09-25 20:28 Scott Wood
2014-09-26 0:15 ` Tom Rini
2014-03-05 2:09 Scott Wood
2014-03-05 21:08 ` Tom Rini
2014-03-12 12:34 ` Gupta, Pekon
2013-12-18 23:10 Scott Wood
2013-12-19 17:45 ` Tom Rini
2013-11-22 20:32 Scott Wood
2013-11-25 21:56 ` Tom Rini
2013-08-23 15:48 Scott Wood
2013-08-23 19:28 ` Tom Rini
2013-07-12 21:13 Scott Wood
2013-07-12 21:23 ` Tom Rini
2013-06-28 16:46 Scott Wood
2013-07-01 19:28 ` Tom Rini
2013-06-06 16:33 Scott Wood
2013-06-07 18:19 ` Tom Rini
2013-05-31 19:52 Scott Wood
2013-05-31 21:28 ` Tom Rini
2013-05-31 21:44 ` Scott Wood
2013-05-31 22:08 ` Tom Rini
2013-02-26 21:44 Scott Wood
2013-02-28 20:25 ` Tom Rini
2012-12-21 21:37 Scott Wood
2012-12-22 12:53 ` Tom Rini
2012-12-14 22:06 Scott Wood
2012-12-18 19:58 ` Tom Rini
2012-11-26 21:49 Scott Wood
2012-11-27 16:45 ` Tom Rini
2012-09-18 1:21 Scott Wood
2012-09-18 16:26 ` Tom Rini
2012-06-08 19:59 Scott Wood
2012-06-19 20:12 ` Wolfgang Denk
2012-05-18 23:23 Scott Wood
2012-05-20 20:49 ` Wolfgang Denk
2012-02-28 20:57 Scott Wood
2012-03-03 14:18 ` Wolfgang Denk
2012-01-26 22:12 Scott Wood
2012-02-11 21:15 ` Wolfgang Denk
2011-12-07 22:11 Scott Wood
2011-10-10 22:12 Scott Wood
2011-10-12 20:44 ` Wolfgang Denk
2011-10-03 23:57 Scott Wood
2011-10-04 20:42 ` Wolfgang Denk
2011-07-01 22:02 Scott Wood
2011-07-04 7:34 ` Wolfgang Denk
2011-05-24 21:09 Scott Wood
2011-06-01 20:00 ` Wolfgang Denk
2011-05-17 18:20 Scott Wood
2011-05-18 12:31 ` Wolfgang Denk
2011-05-13 16:16 Scott Wood
2011-05-15 21:24 ` Wolfgang Denk
2011-04-15 21:28 Scott Wood
2011-04-20 20:52 ` Wolfgang Denk
2011-04-01 19:58 Scott Wood
2011-04-01 20:18 ` Wolfgang Denk
2011-02-09 19:59 Scott Wood
2011-02-09 20:25 ` Wolfgang Denk
2011-02-02 22:16 Scott Wood
2011-02-04 19:37 ` Wolfgang Denk
2011-02-04 19:46 ` Scott Wood
2011-02-04 20:45 ` Wolfgang Denk
2011-01-12 23:15 Scott Wood
2011-01-17 19:08 ` Wolfgang Denk
2010-12-16 21:36 Scott Wood
2010-12-16 22:20 ` Wolfgang Denk
2010-12-07 22:05 Scott Wood
2010-12-08 22:17 ` Wolfgang Denk
2010-10-18 20:14 Scott Wood
2010-10-18 20:24 ` Wolfgang Denk
2010-10-11 20:34 Scott Wood
2010-10-12 18:29 ` Wolfgang Denk
2010-09-13 19:44 Scott Wood
2010-09-15 20:06 ` Wolfgang Denk
2010-08-16 22:01 Scott Wood
2010-08-17 21:54 ` Wolfgang Denk
2010-07-09 19:41 Scott Wood
2010-07-14 19:44 ` Wolfgang Denk
2010-05-26 23:00 Scott Wood
2010-05-28 17:46 ` Wolfgang Denk
2010-01-27 21:13 Scott Wood
2010-02-03 19:08 ` Wolfgang Denk
2010-01-19 23:22 Scott Wood
2010-01-21 21:02 ` Wolfgang Denk
2010-01-19 23:11 Scott Wood
2010-01-11 18:03 Scott Wood
2010-01-12 22:43 ` Wolfgang Denk
2009-12-11 19:14 Scott Wood
2009-12-14 20:29 ` Wolfgang Denk
2009-09-29 16:12 Scott Wood
2009-09-30 21:34 ` Wolfgang Denk
2009-08-18 15:47 Scott Wood
2009-08-21 20:56 ` Wolfgang Denk
2009-08-21 21:11 ` Scott Wood
2009-07-18 17:40 Scott Wood
2009-07-18 22:59 ` Wolfgang Denk
2009-07-07 23:04 Scott Wood
2009-07-08 19:51 ` Wolfgang Denk
2009-07-08 19:55 ` Scott Wood
2009-07-13 23:29 ` David Brownell
2009-07-07 22:35 Scott Wood
2009-07-07 22:38 ` Scott Wood
2009-04-03 20:33 Scott Wood
2009-04-03 20:49 ` Wolfgang Denk
2009-03-23 22:08 Scott Wood
2009-03-25 21:39 ` Wolfgang Denk
2009-03-17 17:10 Scott Wood
2009-03-17 23:39 ` Wolfgang Denk
2009-02-06 23:31 Scott Wood
2009-02-07 22:43 ` Wolfgang Denk
2009-01-23 17:08 Scott Wood
2009-01-23 21:51 ` Wolfgang Denk
2009-01-28 8:23 ` Wolfgang Denk
2009-01-28 8:42 ` Liu Dave
2009-01-28 9:00 ` Wolfgang Denk
2009-01-28 16:55 ` Scott Wood
2008-12-16 21:16 Scott Wood
2008-12-16 23:32 ` Liu Dave
2008-12-17 17:41 ` Scott Wood
2008-12-18 7:25 ` Liu Dave
2008-12-30 22:25 ` Wolfgang Denk
2008-12-03 18:50 Scott Wood
2008-12-04 23:16 ` Wolfgang Denk
2008-11-25 16:50 Scott Wood
2008-10-31 21:40 Scott Wood
2008-11-01 15:21 ` Wolfgang Denk
2008-10-31 21:16 Scott Wood
2008-11-01 15:20 ` Wolfgang Denk
2008-10-29 21:31 Scott Wood
2008-10-30 19:57 ` Wolfgang Denk
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=52572FC9.3000904@ti.com \
--to=trini@ti.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox