Skip to contentSkip to conversation

configs: am57xx: change default board name to beagle_x15

PATCH In review Praneeth Bajjuri 3 participants 3 messages Aug 22, 2018 – Aug 26, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 configs: am57xx: change default board name to beagle_x15

beagleboard x15 is the first supported platform variant of am57xx in AOSP (android open source project) now.

changing board name to stay in consistent with aosp target name.

---
 configs/am57xx_evm_defconfig    | 2 +-
 configs/am57xx_hs_evm_defconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
configs/am57xx_evm_defconfig +1 -1
index 1572dc80db03..07ab01e921bf 100644
@@ -14,7 +14,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard"
+CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board"
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_MISC_INIT_R is not set
configs/am57xx_hs_evm_defconfig +1 -1
index 895719286dc5..0522c10b01c4 100644
@@ -20,7 +20,7 @@ CONFIG_SPL_LOAD_FIT=y
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard"
+CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board"
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_MISC_INIT_R is not set
Signature · 1 line
2.7.4
#1 lore raw

PATCH 1/1 configs: am57xx: change default board name to beagle_x15

Quoted 16 lines · Praneeth Bajjuri

beagleboard x15 is the first supported platform variant of am57xx in AOSP (android open source project) now.

changing board name to stay in consistent with aosp target name.

---
 configs/am57xx_evm_defconfig    | 2 +-
 configs/am57xx_hs_evm_defconfig | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
configs/am57xx_evm_defconfig +0 -0
index 1572dc80db03..07ab01e921bf 100644

configs/am57xx_evm_defconfig CONFIG_NR_DRAM_BANKS=2 · line 17

Quoted 5 lines
configs/am57xx_evm_defconfig +1 -1
@@ -14,7 +14,7 @@ CONFIG_NR_DRAM_BANKS=2
 CONFIG_SPL_LOAD_FIT=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard"
+CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board"

The issue will now be unless we rename the RC files in our offering for AM57x EVM, then it will not boot correctly. We can/should ideally ship both sets of RC files (they are the same now, but different HW may need different RC files).

I propose we do some U-Boot scripting and set this boot variable based on runtime board detection in U-Boot. Right after we set fdt_file, we can also set android_hardware, then we can replace the above with:

androidboot.hardware=${android_hardware}"

Andrew

Quoted 17 lines
configs/am57xx_evm_defconfig +0 -0
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_MISC_INIT_R is not set
configs/am57xx_hs_evm_defconfig +1 -1
index 895719286dc5..0522c10b01c4 100644
@@ -20,7 +20,7 @@ CONFIG_SPL_LOAD_FIT=y
 CONFIG_SPL_FIT_IMAGE_POST_PROCESS=y
 CONFIG_OF_BOARD_SETUP=y
 CONFIG_USE_BOOTARGS=y
-CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=am57xevmboard"
+CONFIG_BOOTARGS="androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board"
 # CONFIG_USE_BOOTCOMMAND is not set
 CONFIG_SYS_CONSOLE_INFO_QUIET=y
 # CONFIG_MISC_INIT_R is not set
#2 lore raw
In reply to Praneeth Bajjuri
Quoted 6 lines · Praneeth Bajjuri

beagleboard x15 is the first supported platform variant of am57xx in AOSP (android open source project) now.

changing board name to stay in consistent with aosp target name.

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180826/73d239b4/attachment.sig>