Skip to contentSkip to conversation

configs: am57xx_evm_defconfig: Enable 'bcb' command

PATCH New Sam Protsenko 2 participants 4 messages Jul 25, 2019 – Aug 1, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 configs: am57xx_evm_defconfig: Enable 'bcb' command

It is essential to have an access to BCB area of 'misc' partition on Android devices [1]. For BeagleBoard X15 the 'bcb' command will be further used for reboot reason implementation and booting to recovery. It can be also used for debugging reasons, like checking RescueParty messages in BCB area.

[1] doc/android/bcb.txt

---
Changes in v2:
- Handle HS defconfigs

 configs/am57xx_evm_defconfig        | 1 +
 configs/am57xx_hs_evm_defconfig     | 1 +
 configs/am57xx_hs_evm_usb_defconfig | 1 +
 3 files changed, 3 insertions(+)
configs/am57xx_evm_defconfig +1 -0
index a3de7a4ec4..a1b8d2d988 100644
@@ -29,6 +29,7 @@ CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_YMODEM_SUPPORT=y
 CONFIG_CMD_SPL=y
+CONFIG_CMD_BCB=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
configs/am57xx_hs_evm_defconfig +1 -0
index d2548ff660..4563e98401 100644
@@ -31,6 +31,7 @@ CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SPL_DMA_SUPPORT=y
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_SPL_SPI_LOAD=y
+CONFIG_CMD_BCB=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
configs/am57xx_hs_evm_usb_defconfig +1 -0
index b52d321a69..20063d1ebb 100644
@@ -36,6 +36,7 @@ CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_USB_GADGET=y
 CONFIG_SPL_DFU=y
 CONFIG_SPL_YMODEM_SUPPORT=y
+CONFIG_CMD_BCB=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
 # CONFIG_CMD_PMIC is not set
Signature · 1 line
2.20.1
#1 lore raw

PATCH v2 2/2 configs: am57xx_evm_defconfig: Enable 'dtimg' command

We are going to implement DTBO partition for BeagleBoard X15 further. To support this, 'dtimg' command must be enabled.

---
Changes in v2:
- Handle HS defconfigs

 configs/am57xx_evm_defconfig        | 1 +
 configs/am57xx_hs_evm_defconfig     | 1 +
 configs/am57xx_hs_evm_usb_defconfig | 1 +
 3 files changed, 3 insertions(+)
configs/am57xx_evm_defconfig +1 -0
index a1b8d2d988..96de6f48c9 100644
@@ -28,6 +28,7 @@ CONFIG_SPL_DMA_SUPPORT=y
 CONFIG_SPL_OS_BOOT=y
 CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_YMODEM_SUPPORT=y
+CONFIG_CMD_DTIMG=y
 CONFIG_CMD_SPL=y
 CONFIG_CMD_BCB=y
 # CONFIG_CMD_FLASH is not set
configs/am57xx_hs_evm_defconfig +1 -0
index 4563e98401..d776a0b244 100644
@@ -31,6 +31,7 @@ CONFIG_SPL_SEPARATE_BSS=y
 CONFIG_SPL_DMA_SUPPORT=y
 # CONFIG_SPL_NAND_SUPPORT is not set
 CONFIG_SPL_SPI_LOAD=y
+CONFIG_CMD_DTIMG=y
 CONFIG_CMD_BCB=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
configs/am57xx_hs_evm_usb_defconfig +1 -0
index 20063d1ebb..6419c53296 100644
@@ -36,6 +36,7 @@ CONFIG_SPL_SPI_LOAD=y
 CONFIG_SPL_USB_GADGET=y
 CONFIG_SPL_DFU=y
 CONFIG_SPL_YMODEM_SUPPORT=y
+CONFIG_CMD_DTIMG=y
 CONFIG_CMD_BCB=y
 # CONFIG_CMD_FLASH is not set
 # CONFIG_CMD_SETEXPR is not set
Signature · 1 line
2.20.1
#2 lore raw

PATCH v2 2/2 configs: am57xx_evm_defconfig: Enable 'dtimg' command

Quoted 4 lines · Sam Protsenko

We are going to implement DTBO partition for BeagleBoard X15 further. To support this, 'dtimg' command must be enabled.

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/20190731/7dcb8465/attachment.sig>
#3 lore raw

PATCH v2 1/2 configs: am57xx_evm_defconfig: Enable 'bcb' command

In reply to Sam Protsenko
Quoted 9 lines · Sam Protsenko

It is essential to have an access to BCB area of 'misc' partition on Android devices [1]. For BeagleBoard X15 the 'bcb' command will be further used for reboot reason implementation and booting to recovery. It can be also used for debugging reasons, like checking RescueParty messages in BCB area.

[1] doc/android/bcb.txt

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/20190731/069806db/attachment.sig>