[Gta04-owner] 3.2-rc6-gta04 - another week, another rc.
Dr. H. Nikolaus Schaller
hns at goldelico.com
Mon Dec 19 11:03:40 CET 2011
Am 19.12.2011 um 10:45 schrieb NeilBrown:
> On Mon, 19 Dec 2011 07:37:08 +0100 "Dr. H. Nikolaus Schaller"
> <hns at goldelico.com> wrote:
>
>> Hi Neil,
>> great news!
>>
>> Am 19.12.2011 um 01:14 schrieb NeilBrown:
>>
>>>
>>> Hi,
>>> git://neil.brown.name/gta04 merge
>>>
>>> is now based on 3.2-rc6.
>>>
>>> Other changes:
>>>
>>> - power management for wifi is now fully automatic.
>>> When you 'up' the interface the power is turned on.
>>> Wnen you 'down' it, the regulator is turned off.
>>
>> One question to this: is this interlocked with Bluetooth?
>> There may be a hciattach running that will hickup if power
>> is switched off.
>
> The regulator stays on as long as either wifi or bluetooth want it.
> wifi indicates it needs power by the interface being "up" and bluetooth
> indicates that it needs power via the 'rfkill' status.
>
> So there should be no hicups.
Ok, great!
>
>>
>>> We really want them to start out with power off though.
>>> I think the best way to achieve this is to change uboot to
>>> *not* turn those regulators on. It should probably leave as
>>> many regulators off as possible.
>>
>> I think the current u-boot does not switch on VAUX4. It just
>> switches on VAU2 and VAUX3 (which probably shouldn't
>> be as well).
>
> In board/goldelico/gta04/gta04.c, in misc_init_r, I can see:
>
> /* Bluetooth VAUX4 = 3.3V -- CHECKME: 3.3 V is not officially supported! We use 0x09 = 2.8V here*/
> twl4030_pmrecv_vsel_cfg(TWL4030_PM_RECEIVER_VAUX4_DEDICATED,
> /*TWL4030_PM_RECEIVER_VAUX4_VSEL_33*/ 0x09,
> TWL4030_PM_RECEIVER_VAUX4_DEV_GRP,
> TWL4030_PM_RECEIVER_DEV_GRP_P1);
>
> which would turn VAUX4 on. However I just did a "git pull" and found that
> line now has "#if 0 / #endif" wrapped around it, so maybe this is fixed.
Yes.
>
> I'll have to build myself a uboot ... are there any tricks I need to know, or
What do you intend to change?
> is it just "./configure ; make" ??
Nothing special (except the branch name 'gta04e'). According to
http://projects.goldelico.com/p/gta04-uboot/page/Build/
make config_omap3_gta04
Please let me know if there are any problems.
Nikolaus
More information about the Gta04-owner
mailing list