Китаёзы охуели, beaglebone-посоны няши.
MarsBoard AM335X support for beaglebone's u-boot:
Makes http://www.marsboard.com/marsboard_am335x_feature.html boot and
work at 1GHz. Not sure if it's the proper way to detect it, as i only
have my board id eeprom as a reference:
aa 55 33 ee 41 33 33 35 42 4e 4c 54 30 30 41 35 |.U3.A335BNLT00A5|
31 30 30 30 42 42 42 4b 32 35 30 30 45 4d 44 58 |1000BBBK2500EMDX|
Thanks to zmatt for help!
---
board/ti/am335x/board.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/board/ti/am335x/board.h b/board/ti/am335x/board.h
index 637c8d596f..1c5fc8ee01 100644
--- a/board/ti/am335x/board.h
+++ b/board/ti/am335x/board.h
@@ -85,6 +85,11 @@ static inline int board_is_m10a(void)
return board_is_bone_lt() && !strncmp(board_ti_get_rev(), "M10A", 4);
}
+static inline int board_is_marsboard(void)
+{
+ return board_is_bone_lt() && !strncmp(board_ti_get_rev(), "00A5", 4);
+}
+
static inline int board_is_os00(void)
{
return board_is_bone_lt() && !strncmp(board_ti_get_rev(), "OS00", 4);
@@ -92,7 +97,7 @@ static inline int board_is_os00(void)
static inline int board_is_beaglebonex(void)
{
- return board_is_pb() || board_is_bone() || board_is_bone_lt() || board_is_bbg1() || board_is_beaglelogic() || board_is_os00();
+ return board_is_pb() || board_is_bone() || (board_is_bone_lt() && !board_is_marsboard()) || board_is_bbg1() || board_is_beaglelogic() || board_is_os00();
}
static inline int board_is_evm_sk(void)
--
2.15.1