From: Alexander Holler <holler@ahsoftware.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] wandboard: Add board revision detection support
Date: Tue, 26 May 2015 20:55:24 +0200 [thread overview]
Message-ID: <5564C19C.8060105@ahsoftware.de> (raw)
In-Reply-To: <20150525094104.D45A138228F@gemini.denx.de>
Am 25.05.2015 um 11:41 schrieb Wolfgang Denk:
> Dear Fabio,
>
> In message <CAOMZO5DFpUjmgF_SoRNaGtxExzBQ1-bVTFVTBnTMy40QpDwXZw@mail.gmail.com> you wrote:
>>
>> "If the gpio command would be enabled, it would even be possible to reset the
>> BRCM- WLAN and Bluetooth modules by just adding some stuff to uEnv.txt."
>>
>> This sounds like a real hack for me, sorry.
>
> Consider it as an example for being able to do many different things
> that have not even been thought of at the time of implementations. to
> try out things. Maybe we decide later to implement the features a C
> code, but for testing or working aound problems is is always nice to
> have scripting capabilities.
Exactly. It's just another example besides the possibility to choose the
correct dtb based on the board revision without modifying u-boot at all
(if gpio would be enabled). And also the example is a hack, that's the
stuff which is necessary very often, until someone fixes something in a
driver (and managed it to get the fix upstream), or even to circumvent
problems with some HW.
Btw., in regard to the above specific hack, the same problem (failure to
upload firmware because it's already uploaded) exists for Bluetooth too.
Personally I've modified (hacked) the wandboard-rfkill-driver a year ago
to disable the regulator of the brcm-module completely for some
milliseconds at startup (and when the module is unloaded, to save
power). But that involves having to manage own patches for the kernel,
so I might even prefer to use just a hack in uEnv.txt to fix the reset
problem with the brcm-module.
Besides that I don't really care what a maintainer said to some previous
similiar problem. Maintainers are humans too, maybe he just had
forgotten about the gpio-command.
Regards,
Alexander Holler
next prev parent reply other threads:[~2015-05-26 18:55 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-21 22:24 [U-Boot] [PATCH v2] wandboard: Add board revision detection support Fabio Estevam
2015-05-22 7:49 ` Stefano Babic
2015-05-23 0:38 ` Vagrant Cascadian
2015-05-23 16:27 ` Alexander Holler
2015-05-24 7:43 ` Stefano Babic
2015-05-24 14:27 ` Fabio Estevam
2015-05-24 14:30 ` Stefano Babic
2015-05-24 17:29 ` Alexander Holler
2015-05-24 18:03 ` Alexander Holler
2015-05-24 18:47 ` Fabio Estevam
2015-05-24 22:22 ` Alexander Holler
2015-05-24 23:42 ` Fabio Estevam
2015-05-25 9:41 ` Wolfgang Denk
2015-05-25 11:25 ` Fabio Estevam
2015-05-26 18:55 ` Alexander Holler [this message]
2015-05-26 22:11 ` Fabio Estevam
2015-05-24 19:03 ` Tom Rini
2015-05-24 18:44 ` Fabio Estevam
2015-06-08 6:35 ` Stefano Babic
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=5564C19C.8060105@ahsoftware.de \
--to=holler@ahsoftware.de \
--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