public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Robert Nelson <robertcnelson@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/3] config: am335x_evm: detect BeagleBone Blue using BLA
Date: Thu, 30 Mar 2017 14:29:54 -0500	[thread overview]
Message-ID: <20170330192954.22673-3-robertcnelson@gmail.com> (raw)
In-Reply-To: <20170330192954.22673-1-robertcnelson@gmail.com>

BeagleBone Blue is next grenation of boards from BeagleBoard.org, focusing
on robotics with a TI wl1835 wireless module for connectivity.

This board can be indentified by the BLAx value after A335BNLT (BBB)
in the at24 eeprom:
BLAx: [aa 55 33 ee 41 33 33 35  42 4e 4c 54 42 4c 41 30 |.U3.A335BNLTBLA2|]

http://beagleboard.org/blue
https://github.com/beagleboard/beaglebone-blue

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      | 4 ++++
 include/configs/am335x_evm.h | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c
index 54589638b3..3e842d3187 100644
--- a/board/ti/am335x/board.c
+++ b/board/ti/am335x/board.c
@@ -660,6 +660,10 @@ int board_late_init(void)
 		if (!strncmp(board_ti_get_rev(), "GW1", 3)) {
 			name = "BBGW";
 		}
+		/* BeagleBoard.org BeagleBone Blue */
+		if (!strncmp(board_ti_get_rev(), "BLA", 3)) {
+			name = "BBBL";
+		}
 	}
 
 	if (board_is_bbg1())
diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h
index d90c5156d3..5fbc1e3ff9 100644
--- a/include/configs/am335x_evm.h
+++ b/include/configs/am335x_evm.h
@@ -144,6 +144,8 @@
 			"setenv fdtfile am335x-bonegreen.dtb; fi; " \
 		"if test $board_name = BBGW; then " \
 			"setenv fdtfile am335x-bonegreen-wireless.dtb; fi; " \
+		"if test $board_name = BBBL; then " \
+			"setenv fdtfile am335x-boneblue.dtb; fi; " \
 		"if test $board_name = A33515BB; then " \
 			"setenv fdtfile am335x-evm.dtb; fi; " \
 		"if test $board_name = A335X_SK; then " \
-- 
2.11.0

  parent reply	other threads:[~2017-03-30 19:29 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 ` Robert Nelson [this message]
2017-04-04 20:00   ` [U-Boot] [PATCH 3/3] config: am335x_evm: detect BeagleBone Blue using BLA 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
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=20170330192954.22673-3-robertcnelson@gmail.com \
    --to=robertcnelson@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox