[U-Boot] [PATCH v2] wandboard: Add board revision detection support

Fabio Estevam festevam at gmail.com
Sun May 24 20:47:55 CEST 2015


On Sun, May 24, 2015 at 3:03 PM, Alexander Holler <holler at ahsoftware.de> wrote:

> Hmm, just one comment more.
>
> 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. So
> at least WLAN would reliable work even after a reboot or reset, without the
> need for the rfkill-driver. Also the wandboard-rfkill-driver has more
> advantages, e.g. the rfkill. ;)
>
> For those which don't know it, currently, without the
> wandboard-rfkill-driver, WLAN works only once after power up, but not after
> the reboot. Thats because the HW doesn't reset the brcm on reset, so after a
> reboot or reset uploading the firmware fails (because it is already uploaded
> due to the missing reset of the module).

Mainline kernel has proper way of handling the reset of the Wifi chip
via pwrseq mechanism.

Please see this patch I did for cuboxi:
https://git.kernel.org/cgit/linux/kernel/git/shawnguo/linux.git/commit/?h=imx/dt&id=ec5757d85c0fd32274a6052b8a4482d626c01ae5

So we should really not add such hack in U-boot as mainline kernel has
the proper solution.

Regards,

Fabio Estevam


More information about the U-Boot mailing list