All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Robinson <pbrobinson@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 1/3] config: am335x_evm: detect Black Wireless using BWA
Date: Wed, 5 Apr 2017 17:14:54 +0100	[thread overview]
Message-ID: <CALeDE9M865j6r9psw28Cf0QvwbmoLaTqcH5mxdFsRGoMsot8xw@mail.gmail.com> (raw)
In-Reply-To: <20170330192954.22673-1-robertcnelson@gmail.com>

"On Thu, Mar 30, 2017 at 8:29 PM, Robert Nelson <robertcnelson@gmail.com> wrote:
> BeagleBone Black Wireless is clone of the BeagleBone Black (BBB) with
> the Ethernet replaced by a TI wl1835 wireless module.
>
> This board can be indentified by the BWAx value after A335BNLT (BBB)
> in the at24 eeprom:
> BWAx [aa 55 33 ee 41 33 33 35  42 4e 4c 54 42 57 41 35  |.U3.A335BNLTBWA5|]
>
> http://beagleboard.org/black-wireless
> https://github.com/beagleboard/beaglebone-black-wireless
>
> firmware: https://github.com/beagleboard/beaglebone-black-wireless/tree/master/firmware
> wl18xx mac address: /proc/device-tree/ocp/ethernet at 4a100000/slave at 4a100200/mac-address
>
> Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
> CC: Tom Rini <trini@konsulko.com>
> CC: Jason Kridner <jkridner@beagleboard.org>
> CC: Will Newton <willn@resin.io>
> ---
>  board/ti/am335x/board.c      | 7 +++++++
>  include/configs/am335x_evm.h | 2 ++

Shouldn't this also update "CONFIG_OF_LIST="am335x-evm am335x-bone
am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"" in
configs/am335x_evm_defconfig ans possibly other am33xx_ configs?

Peter

> diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
> index 8eaf3e9a5c..304ae34fb7 100644
> --- a/board/ti/am335x/board.c
> +++ b/board/ti/am335x/board.c
> @@ -651,6 +651,13 @@ int board_late_init(void)
>  #ifdef CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG
>         char *name = NULL;
>
> +       if (board_is_bone_lt()) {
> +               /* BeagleBoard.org BeagleBone Black Wireless: */
> +               if (!strncmp(board_ti_get_rev(), "BWA", 3)) {
> +                       name = "BBBW";
> +               }
> +       }
> +
>         if (board_is_bbg1())
>                 name = "BBG1";
>         set_board_info_env(name);
> diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
> index 27126871f7..dcac2f5816 100644
> --- a/include/configs/am335x_evm.h
> +++ b/include/configs/am335x_evm.h
> @@ -138,6 +138,8 @@
>                         "setenv fdtfile am335x-bone.dtb; fi; " \
>                 "if test $board_name = A335BNLT; then " \
>                         "setenv fdtfile am335x-boneblack.dtb; fi; " \
> +               "if test $board_name = BBBW; then " \
> +                       "setenv fdtfile am335x-boneblack-wireless.dtb; fi; " \
>                 "if test $board_name = BBG1; then " \
>                         "setenv fdtfile am335x-bonegreen.dtb; fi; " \
>                 "if test $board_name = A33515BB; then " \
> --
> 2.11.0
>
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

  parent reply	other threads:[~2017-04-05 16:14 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-30 19:29 [U-Boot] [PATCH 1/3] config: am335x_evm: detect Black Wireless using BWA Robert Nelson
2017-03-30 19:29 ` [U-Boot] [PATCH 2/3] config: am335x_evm: detect Green Wireless using GW1 Robert Nelson
2017-04-04 20:00   ` Tom Rini
2017-04-09  1:15   ` [U-Boot] [U-Boot, " Tom Rini
2017-03-30 19:29 ` [U-Boot] [PATCH 3/3] config: am335x_evm: detect BeagleBone Blue using BLA Robert Nelson
2017-04-04 20:00   ` Tom Rini
2017-04-09  1:15   ` [U-Boot] [U-Boot, " Tom Rini
2017-03-30 19:32 ` [U-Boot] [PATCH 1/3] config: am335x_evm: detect Black Wireless using BWA Robert Nelson
2017-04-04 20:00 ` Tom Rini
2017-04-05 16:14 ` Peter Robinson [this message]
2017-04-05 16:50   ` Robert Nelson
2017-04-05 17:15     ` Robert Nelson
2017-04-09  1:15 ` [U-Boot] [U-Boot, " Tom Rini

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=CALeDE9M865j6r9psw28Cf0QvwbmoLaTqcH5mxdFsRGoMsot8xw@mail.gmail.com \
    --to=pbrobinson@gmail.com \
    --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 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.