Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-13 Thread Pavel Machek
Hi! > > I'll fire up ELDK 5.4 + Pandaboard later today (which uses thumb) but I > > think you need to bisect down to when exactly things break since my gut > > is telling me it's not toolchain / thumb but something else that broke > > things. > > Panda + ELDK 5.4, which sets CONFIG_SYS_THUMB_BUIL

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Tom Rini
On Wed, Apr 08, 2015 at 06:06:08PM +0200, Pavel Machek wrote: > On Wed 2015-04-08 11:53:38, Tom Rini wrote: > > On Wed, Apr 08, 2015 at 04:06:34PM +0200, Pavel Machek wrote: > > > On Wed 2015-04-08 09:49:53, Tom Rini wrote: > > > > On Wed, Apr 08, 2015 at 02:09:57PM +0200, Pavel Machek wrote: > > >

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Tom Rini
On Wed, Apr 08, 2015 at 11:53:38AM -0400, Tom Rini wrote: > On Wed, Apr 08, 2015 at 04:06:34PM +0200, Pavel Machek wrote: > > On Wed 2015-04-08 09:49:53, Tom Rini wrote: > > > On Wed, Apr 08, 2015 at 02:09:57PM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > > >>maybe this helps? I just ste

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Pavel Machek
On Wed 2015-04-08 11:53:38, Tom Rini wrote: > On Wed, Apr 08, 2015 at 04:06:34PM +0200, Pavel Machek wrote: > > On Wed 2015-04-08 09:49:53, Tom Rini wrote: > > > On Wed, Apr 08, 2015 at 02:09:57PM +0200, Pavel Machek wrote: > > > > Hi! > > > > > > > > > >>maybe this helps? I just stepped into same

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Tom Rini
On Wed, Apr 08, 2015 at 04:06:34PM +0200, Pavel Machek wrote: > On Wed 2015-04-08 09:49:53, Tom Rini wrote: > > On Wed, Apr 08, 2015 at 02:09:57PM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > >>maybe this helps? I just stepped into same problem on an am335x, > > > > >>but had not yet time to

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Pavel Machek
On Wed 2015-04-08 09:49:53, Tom Rini wrote: > On Wed, Apr 08, 2015 at 02:09:57PM +0200, Pavel Machek wrote: > > Hi! > > > > > >>maybe this helps? I just stepped into same problem on an am335x, > > > >>but had not yet time to look deeper in it ... > > > > > > > >I did not try the cleanup_before_lin

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Pavel Machek
On Wed 2015-04-08 15:13:27, Marek Vasut wrote: > On Wednesday, April 08, 2015 at 02:09:57 PM, Pavel Machek wrote: > > Hi! > > > > > >>maybe this helps? I just stepped into same problem on an am335x, > > > >>but had not yet time to look deeper in it ... > > > > > > > >I did not try the cleanup_befo

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Marek Vasut
On Wednesday, April 08, 2015 at 02:09:57 PM, Pavel Machek wrote: > Hi! > > > >>maybe this helps? I just stepped into same problem on an am335x, > > >>but had not yet time to look deeper in it ... > > > > > >I did not try the cleanup_before_linux(), but "dcache off" should have > > >same effect, ri

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Tom Rini
On Wed, Apr 08, 2015 at 02:09:57PM +0200, Pavel Machek wrote: > Hi! > > > >>maybe this helps? I just stepped into same problem on an am335x, > > >>but had not yet time to look deeper in it ... > > > > > >I did not try the cleanup_before_linux(), but "dcache off" should have > > >same effect, right

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-08 Thread Pavel Machek
Hi! > >>maybe this helps? I just stepped into same problem on an am335x, > >>but had not yet time to look deeper in it ... > > > >I did not try the cleanup_before_linux(), but "dcache off" should have > >same effect, right? > > Hmm.. not exactly... cleanup_before_linux() does also disable the mmu

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-07 Thread Heiko Schocher
Hello Pavel, Am 07.04.2015 09:56, schrieb Pavel Machek: Hi! In u-boot 2015.04-rc, as soon as execution hits printf("%d"), it hangs. (Usually, that's after "DRAM: " message). Now, I have to admit I'm chainloading u-boot from U-Boot 2013.01.01 (Mar 25 2015 - 15:57:21) tftp 0x0140 .../u-bo

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-07 Thread Pavel Machek
Hi! > >In u-boot 2015.04-rc, as soon as execution hits printf("%d"), it > >hangs. (Usually, that's after "DRAM: " message). > > > >Now, I have to admit I'm chainloading u-boot from > > > >U-Boot 2013.01.01 (Mar 25 2015 - 15:57:21) > > > >tftp 0x0140 .../u-boot.bin > >Waiting for PHY auto negot

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-07 Thread Pavel Machek
On Mon 2015-04-06 23:02:48, Marek Vasut wrote: > On Monday, April 06, 2015 at 09:23:23 PM, Pavel Machek wrote: > > On Mon 2015-04-06 20:48:45, Marek Vasut wrote: > > > On Monday, April 06, 2015 at 08:14:44 PM, Pavel Machek wrote: > > > > On Mon 2015-04-06 16:59:55, Marek Vasut wrote: > > > > > On M

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-06 Thread Heiko Schocher
Hello Pavel, Am 06.04.2015 16:40, schrieb Pavel Machek: Hi! In u-boot 2015.04-rc, as soon as execution hits printf("%d"), it hangs. (Usually, that's after "DRAM: " message). Now, I have to admit I'm chainloading u-boot from U-Boot 2013.01.01 (Mar 25 2015 - 15:57:21) tftp 0x0140 .../u-boo

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-06 Thread Marek Vasut
On Monday, April 06, 2015 at 09:23:23 PM, Pavel Machek wrote: > On Mon 2015-04-06 20:48:45, Marek Vasut wrote: > > On Monday, April 06, 2015 at 08:14:44 PM, Pavel Machek wrote: > > > On Mon 2015-04-06 16:59:55, Marek Vasut wrote: > > > > On Monday, April 06, 2015 at 04:40:09 PM, Pavel Machek wrote:

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-06 Thread Pavel Machek
On Mon 2015-04-06 20:48:45, Marek Vasut wrote: > On Monday, April 06, 2015 at 08:14:44 PM, Pavel Machek wrote: > > On Mon 2015-04-06 16:59:55, Marek Vasut wrote: > > > On Monday, April 06, 2015 at 04:40:09 PM, Pavel Machek wrote: > > > > Hi! > > > > > > > > In u-boot 2015.04-rc, as soon as executi

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-06 Thread Marek Vasut
On Monday, April 06, 2015 at 08:14:44 PM, Pavel Machek wrote: > On Mon 2015-04-06 16:59:55, Marek Vasut wrote: > > On Monday, April 06, 2015 at 04:40:09 PM, Pavel Machek wrote: > > > Hi! > > > > > > In u-boot 2015.04-rc, as soon as execution hits printf("%d"), it > > > hangs. (Usually, that's afte

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-06 Thread Pavel Machek
On Mon 2015-04-06 16:59:55, Marek Vasut wrote: > On Monday, April 06, 2015 at 04:40:09 PM, Pavel Machek wrote: > > Hi! > > > > In u-boot 2015.04-rc, as soon as execution hits printf("%d"), it > > hangs. (Usually, that's after "DRAM: " message). > > printf("%d") expects an argument, so could it be

Re: [U-Boot] printf("%d") breaks u-boot 2015.01+

2015-04-06 Thread Marek Vasut
On Monday, April 06, 2015 at 04:40:09 PM, Pavel Machek wrote: > Hi! > > In u-boot 2015.04-rc, as soon as execution hits printf("%d"), it > hangs. (Usually, that's after "DRAM: " message). printf("%d") expects an argument, so could it be that it touches random piece of memory and thus hangs? Best