Skip to contentSkip to conversation

Finish support for enabling BeagleBoard.org PocketBeagle.

PATCH New Vagrant Cascadian 2 participants 10 messages Apr 29, 2019 – May 3, 2019 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

cover Finish support for enabling BeagleBoard.org PocketBeagle.

Partial support for PocketBeagle was added in:

commit:eff0c977b3b9466657362869e04da231a892e31e
"Add support for BeagleBoard.org PocketBeagle"

This series:
- Adds necessary device-tree files from linux 5.1-rc7
- Enables am335x-pocketbeagle in am335x_evm_defconfig.

Vagrant Cascadian (2):
ti: Add device-tree for am335x-pocketbeagle.
ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

 arch/arm/dts/Makefile                   |   1 +
 arch/arm/dts/am335x-osd335x-common.dtsi | 124 +++++++++++++
 arch/arm/dts/am335x-pocketbeagle.dts    | 237 ++++++++++++++++++++++++
 configs/am335x_evm_defconfig            |   2 +-
 4 files changed, 363 insertions(+), 1 deletion(-)
 create mode 100644 arch/arm/dts/am335x-osd335x-common.dtsi
 create mode 100644 arch/arm/dts/am335x-pocketbeagle.dts
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/2 ti: Add device-tree for am335x-pocketbeagle.

Add device-tree files from linux 5.1-rc7 needed to complete support for PocketBeagle.

---

 arch/arm/dts/Makefile                   |   1 +
 arch/arm/dts/am335x-osd335x-common.dtsi | 124 +++++++++++++
 arch/arm/dts/am335x-pocketbeagle.dts    | 237 ++++++++++++++++++++++++
 3 files changed, 362 insertions(+)
 create mode 100644 arch/arm/dts/am335x-osd335x-common.dtsi
 create mode 100644 arch/arm/dts/am335x-pocketbeagle.dts
arch/arm/dts/Makefile +1 -0
index b4dc57edbd..d03419285a 100644
@@ -255,6 +255,7 @@ dtb-$(CONFIG_AM33XX) += \
 	am335x-evmsk.dtb \
 	am335x-bonegreen.dtb \
 	am335x-icev2.dtb \
+	am335x-pocketbeagle.dtb \
 	am335x-pxm50.dtb \
 	am335x-rut.dtb \
 	am335x-shc.dtb \
arch/arm/dts/am335x-osd335x-common.dtsi new file +124 -0

124 lines not on this page · raw message

arch/arm/dts/am335x-pocketbeagle.dts new file +237 -0

237 lines not on this page · raw message

Signature · 1 line
2.20.1
#2 lore raw

PATCH 1/2 ti: Add device-tree for am335x-pocketbeagle.

Quoted 4 lines · Vagrant Cascadian

Add device-tree files from linux 5.1-rc7 needed to complete support for PocketBeagle.

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/20190430/92f4fba8/attachment.sig>
#3 lore raw

PATCH 1/2 ti: Add device-tree for am335x-pocketbeagle.

In reply to Vagrant Cascadian
Quoted 5 lines · Vagrant Cascadian

Add device-tree files from linux 5.1-rc7 needed to complete support for PocketBeagle.

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/20190503/c03be2eb/attachment.sig>
#4 lore raw

PATCH 2/2 ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

In reply to Vagrant Cascadian

Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig.

---

 configs/am335x_evm_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/am335x_evm_defconfig +1 -1
index 105ff01d14..967ee82bca 100644
@@ -31,7 +31,7 @@ CONFIG_MTDPARTS_DEFAULT="mtdparts=nand.0:128k(NAND.SPL),128k(NAND.SPL.backup1),1
 # CONFIG_SPL_EFI_PARTITION is not set
 CONFIG_OF_CONTROL=y
 CONFIG_DEFAULT_DEVICE_TREE="am335x-evm"
-CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2"
+CONFIG_OF_LIST="am335x-evm am335x-bone am335x-boneblack am335x-evmsk am335x-bonegreen am335x-icev2 am335x-pocketbeagle"
 CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y
 CONFIG_SPL_ENV_IS_NOWHERE=y
 CONFIG_BOOTCOUNT_LIMIT=y
Signature · 1 line
2.20.1
#5 lore raw

PATCH 2/2 ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

Quoted 3 lines · Vagrant Cascadian

Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig.

We need to update include/configs/am335x_evm.h too so that it detects this variant and loads the right dtb.

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/20190430/9db4f7fe/attachment.sig>
#6 lore raw

PATCH 2/2 ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

Quoted 8 lines · Tom Rini
Quoted 3 lines · Vagrant Cascadian

Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig.

We need to update include/configs/am335x_evm.h too so that it detects this variant and loads the right dtb.

I believe this was already added in the original commit that added partial support:

	"findfdt="\
...
  		"if test $board_name = A335PBGL; then " \
			"setenv fdtfile am335x-pocketbeagle.dtb; fi; " \

In my tests, it loaded the correct .dtb file; Is there something I'm missing?

live well,
vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190430/368c4298/attachment.sig>

#7 lore raw

PATCH 2/2 ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

Quoted 13 lines · Vagrant Cascadian
Quoted 8 lines · Tom Rini
Quoted 3 lines · Vagrant Cascadian

Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig.

We need to update include/configs/am335x_evm.h too so that it detects this variant and loads the right dtb.

I believe this was already added in the original commit that added partial support:

Quoted 8 lines
	"findfdt="\
...
  		"if test $board_name = A335PBGL; then " \
			"setenv fdtfile am335x-pocketbeagle.dtb; fi; " \

In my tests, it loaded the correct .dtb file; Is there something I'm missing?

Nope, I missed that it was there, 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/20190430/3b12eb17/attachment.sig>
#8 lore raw

PATCH 2/2 ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

In reply to Vagrant Cascadian
Quoted 3 lines · Vagrant Cascadian

Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig.

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/20190501/7aba5e85/attachment.sig>
#9 lore raw

PATCH 2/2 ti: Add am335x-pocketbeagle to am335x_evm_defconfig.

In reply to Vagrant Cascadian
Quoted 4 lines · Vagrant Cascadian

Add am335x-pocketbeagle to CONFIG_OF_LIST in am335x_evm_defconfig.

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/20190503/f808f5a5/attachment.sig>