* [U-Boot] Broken: U-Boot SPL 2016.01
@ 2016-01-14 21:29 Peter Kümmel
2016-01-14 21:49 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Peter Kümmel @ 2016-01-14 21:29 UTC (permalink / raw)
To: u-boot
In 2016.01 SPL is broken on an omap board with DM3730:
U-Boot SPL 2016.01-00076-g72128b2 (Jan 14 2016 - 22:07:33)
wrong hwadapnr: 1075903588
The error message comes from drivers/i2c/omap24xx_i2c.c:
static struct i2c *omap24_get_base(struct i2c_adapter *adap)
{
switch (adap->hwadapnr) {
case 0:
return (struct i2c *)I2C_BASE1;
break;
case 1:
return (struct i2c *)I2C_BASE2;
break;
#if (I2C_BUS_MAX > 2)
case 2:
return (struct i2c *)I2C_BASE3;
break;
#if (I2C_BUS_MAX > 3)
case 3:
return (struct i2c *)I2C_BASE4;
break;
#if (I2C_BUS_MAX > 4)
case 4:
return (struct i2c *)I2C_BASE5;
break;
#endif
#endif
#endif
default:
printf("wrong hwadapnr: %d\n", adap->hwadapnr);
break;
}
return NULL;
}
Has anything changed in the I2C configuration for SPL?
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Broken: U-Boot SPL 2016.01
2016-01-14 21:29 [U-Boot] Broken: U-Boot SPL 2016.01 Peter Kümmel
@ 2016-01-14 21:49 ` Tom Rini
2016-01-14 23:32 ` Peter Kümmel
0 siblings, 1 reply; 4+ messages in thread
From: Tom Rini @ 2016-01-14 21:49 UTC (permalink / raw)
To: u-boot
On Thu, Jan 14, 2016 at 10:29:44PM +0100, Peter K?mmel wrote:
> In 2016.01 SPL is broken on an omap board with DM3730:
>
> U-Boot SPL 2016.01-00076-g72128b2 (Jan 14 2016 - 22:07:33)
> wrong hwadapnr: 1075903588
Seems like gd isn't pointing in the right place or looking at garbage or
something.
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160114/9580e764/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Broken: U-Boot SPL 2016.01
2016-01-14 21:49 ` Tom Rini
@ 2016-01-14 23:32 ` Peter Kümmel
2016-01-15 14:53 ` Tom Rini
0 siblings, 1 reply; 4+ messages in thread
From: Peter Kümmel @ 2016-01-14 23:32 UTC (permalink / raw)
To: u-boot
Am 14.01.2016 um 22:49 schrieb Tom Rini:
> On Thu, Jan 14, 2016 at 10:29:44PM +0100, Peter K?mmel wrote:
>
>> In 2016.01 SPL is broken on an omap board with DM3730:
>>
>> U-Boot SPL 2016.01-00076-g72128b2 (Jan 14 2016 - 22:07:33)
>> wrong hwadapnr: 1075903588
>
> Seems like gd isn't pointing in the right place or looking at garbage or
> something.
>
After disabling CONFIG_EXPERT (and implicitly
CONFIG_SYS_MALLOC_CLEAR_ON_INIT) it works again.
Seems with for a GCC update from 5.2 to 5.3 this flag is very critical.
Many thanks,
Peter
^ permalink raw reply [flat|nested] 4+ messages in thread
* [U-Boot] Broken: U-Boot SPL 2016.01
2016-01-14 23:32 ` Peter Kümmel
@ 2016-01-15 14:53 ` Tom Rini
0 siblings, 0 replies; 4+ messages in thread
From: Tom Rini @ 2016-01-15 14:53 UTC (permalink / raw)
To: u-boot
On Fri, Jan 15, 2016 at 12:32:04AM +0100, Peter K?mmel wrote:
>
>
> Am 14.01.2016 um 22:49 schrieb Tom Rini:
> >On Thu, Jan 14, 2016 at 10:29:44PM +0100, Peter K?mmel wrote:
> >
> >>In 2016.01 SPL is broken on an omap board with DM3730:
> >>
> >>U-Boot SPL 2016.01-00076-g72128b2 (Jan 14 2016 - 22:07:33)
> >>wrong hwadapnr: 1075903588
> >
> >Seems like gd isn't pointing in the right place or looking at garbage or
> >something.
> >
>
> After disabling CONFIG_EXPERT (and implicitly
> CONFIG_SYS_MALLOC_CLEAR_ON_INIT) it works again.
>
> Seems with for a GCC update from 5.2 to 5.3 this flag is very critical.
To be clear, disabling or enabling CONFIG_SYS_MALLOC_CLEAR_ON_INIT ?
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160115/38ec3c73/attachment.sig>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-01-15 14:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-14 21:29 [U-Boot] Broken: U-Boot SPL 2016.01 Peter Kümmel
2016-01-14 21:49 ` Tom Rini
2016-01-14 23:32 ` Peter Kümmel
2016-01-15 14:53 ` Tom Rini
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.