Skip to contentSkip to conversation

tegra20: add Acer Iconia Tab A500 support

PATCH In review Svyatoslav Ryhel 2 participants 6 messages Feb 16, 2025 – Feb 18, 2025

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

cover tegra20: add Acer Iconia Tab A500 support

The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor and 1GB DDR2 RAM. The A500 is sold with 64 GB, although both 16 GB and 32 GB models are available.

All important functions are implemented, including:
- installation as primary bootloader
- panel support
- booting from emmc, sd and usb
- fastboot
- bootmenu
- self-update feature

Svyatoslav Ryhel (1):
board: acer: picasso: add Acer Iconia Tab A500 support

 arch/arm/dts/Makefile                      |   1 +
 arch/arm/dts/tegra20-acer-a500-picasso.dts | 508 +++++++++++++++++++++
 arch/arm/mach-tegra/tegra20/Kconfig        |   5 +
 board/acer/picasso/Kconfig                 |  12 +
 board/acer/picasso/MAINTAINERS             |   7 +
 board/acer/picasso/Makefile                |   9 +
 board/acer/picasso/picasso.c               |  57 +++
 board/acer/picasso/picasso.env             |  18 +
 configs/picasso_defconfig                  |  83 ++++
 doc/board/acer/index.rst                   |   9 +
 doc/board/acer/picasso.rst                 | 125 +++++
 doc/board/index.rst                        |   1 +
 include/configs/picasso.h                  |  23 +
 13 files changed, 858 insertions(+)
 create mode 100644 arch/arm/dts/tegra20-acer-a500-picasso.dts
 create mode 100644 board/acer/picasso/Kconfig
 create mode 100644 board/acer/picasso/MAINTAINERS
 create mode 100644 board/acer/picasso/Makefile
 create mode 100644 board/acer/picasso/picasso.c
 create mode 100644 board/acer/picasso/picasso.env
 create mode 100644 configs/picasso_defconfig
 create mode 100644 doc/board/acer/index.rst
 create mode 100644 doc/board/acer/picasso.rst
 create mode 100644 include/configs/picasso.h
Signature · 1 line
2.43.0
#1 lore raw

PATCH 1/1 board: acer: picasso: add Acer Iconia Tab A500 support

The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor and 1GB DDR2 RAM. The A500 is sold with 64 GB, although both 16 GB and 32 GB models are available.

---
 arch/arm/dts/Makefile                      |   1 +
 arch/arm/dts/tegra20-acer-a500-picasso.dts | 508 +++++++++++++++++++++
 arch/arm/mach-tegra/tegra20/Kconfig        |   5 +
 board/acer/picasso/Kconfig                 |  12 +
 board/acer/picasso/MAINTAINERS             |   7 +
 board/acer/picasso/Makefile                |   9 +
 board/acer/picasso/picasso.c               |  57 +++
 board/acer/picasso/picasso.env             |  18 +
 configs/picasso_defconfig                  |  83 ++++
 doc/board/acer/index.rst                   |   9 +
 doc/board/acer/picasso.rst                 | 125 +++++
 doc/board/index.rst                        |   1 +
 include/configs/picasso.h                  |  23 +
 13 files changed, 858 insertions(+)
 create mode 100644 arch/arm/dts/tegra20-acer-a500-picasso.dts
 create mode 100644 board/acer/picasso/Kconfig
 create mode 100644 board/acer/picasso/MAINTAINERS
 create mode 100644 board/acer/picasso/Makefile
 create mode 100644 board/acer/picasso/picasso.c
 create mode 100644 board/acer/picasso/picasso.env
 create mode 100644 configs/picasso_defconfig
 create mode 100644 doc/board/acer/index.rst
 create mode 100644 doc/board/acer/picasso.rst
 create mode 100644 include/configs/picasso.h
arch/arm/dts/Makefile +1 -0
index 0bf3697bdbe..acea0cc2ec1 100644
@@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MESON) += \
 	meson-a1-ad401.dtb
 
 dtb-$(CONFIG_ARCH_TEGRA) += \
+	tegra20-acer-a500-picasso.dtb \
 	tegra20-asus-sl101.dtb \
 	tegra20-asus-tf101.dtb \
 	tegra20-asus-tf101g.dtb \
arch/arm/dts/tegra20-acer-a500-picasso.dts new file +508 -0

508 lines not on this page · raw message

arch/arm/mach-tegra/tegra20/Kconfig +5 -0
index 6458827d6dc..e2735d93e28 100644
@@ -33,6 +33,10 @@ config TARGET_PAZ00
 	bool "Paz00 board"
 	select BOARD_LATE_INIT
 
+config TARGET_PICASSO
+	bool "Acer Tegra20 Picasso board"
+	select BOARD_LATE_INIT
+
 config TARGET_PLUTUX
 	bool "Avionic Design Plutux board"
 	select BOARD_LATE_INIT
@@ -73,6 +77,7 @@ config SYS_SOC
 source "board/nvidia/harmony/Kconfig"
 source "board/avionic-design/medcom-wide/Kconfig"
 source "board/compal/paz00/Kconfig"
+source "board/acer/picasso/Kconfig"
 source "board/avionic-design/plutux/Kconfig"
 source "board/nvidia/seaboard/Kconfig"
 source "board/avionic-design/tec/Kconfig"
board/acer/picasso/Kconfig new file +12 -0
new file mode 100644
index 00000000000..73c0aa08508
@@ -0,0 +1,12 @@
+if TARGET_PICASSO
+
+config SYS_BOARD
+	default "picasso"
+
+config SYS_VENDOR
+	default "acer"
+
+config SYS_CONFIG_NAME
+	default "picasso"
+
+endif
board/acer/picasso/MAINTAINERS new file +7 -0
new file mode 100644
index 00000000000..99f8c0b6d7f
@@ -0,0 +1,7 @@
+PICASSO BOARD
+M:	Svyatoslav Ryhel <[email protected]>
+S:	Maintained
+F:	board/acer/picasso/
+F:	configs/picasso_defconfig
+F:	doc/board/acer/picasso.rst
+F:	include/configs/picasso.h
board/acer/picasso/Makefile new file +9 -0
new file mode 100644
index 00000000000..675059c112d
@@ -0,0 +1,9 @@
+# SPDX-License-Identifier: GPL-2.0+
+#
+#  (C) Copyright 2010,2011
+#  NVIDIA Corporation <www.nvidia.com>
+#
+#  (C) Copyright 2024
+#  Svyatoslav Ryhel <[email protected]>
+
+obj-y += picasso.o
board/acer/picasso/picasso.c new file +57 -0

57 lines not on this page · raw message

board/acer/picasso/picasso.env new file +18 -0
new file mode 100644
index 00000000000..d9409b07d98
@@ -0,0 +1,18 @@
+#include <env/nvidia/prod_upd.env>
+
+button_cmd_0_name=Volume Down
+button_cmd_0=bootmenu
+partitions=name=emmc,start=0,size=-,uuid=${uuid_gpt_rootfs}
+
+boot_block_size_r=0x100000
+boot_block_size=0x800
+boot_dev=1
+
+bootmenu_0=mount internal storage=usb start && ums 0 mmc 0; bootmenu
+bootmenu_1=mount external storage=usb start && ums 0 mmc 1; bootmenu
+bootmenu_2=fastboot=echo Starting Fastboot protocol ...; fastboot usb 0; bootmenu
+bootmenu_3=update bootloader=run flash_uboot
+bootmenu_4=reboot RCM=enterrcm
+bootmenu_5=reboot=reset
+bootmenu_6=power off=poweroff
+bootmenu_delay=-1
configs/picasso_defconfig new file +83 -0

83 lines not on this page · raw message

doc/board/acer/index.rst new file +9 -0
new file mode 100644
index 00000000000..3741a700ccd
@@ -0,0 +1,9 @@
+.. SPDX-License-Identifier: GPL-2.0+
+
+ACER
+====
+
+.. toctree::
+   :maxdepth: 2
+
+   picasso
doc/board/acer/picasso.rst new file +125 -0

125 lines not on this page · raw message

doc/board/index.rst +1 -0
index 74c4dd1f42d..b055046e649 100644
@@ -6,6 +6,7 @@ Board-specific doc
 .. toctree::
    :maxdepth: 2
 
+   acer/index
    actions/index
    advantech/index
    andestech/index
include/configs/picasso.h new file +23 -0
new file mode 100644
index 00000000000..a58c7e5f353
@@ -0,0 +1,23 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ *  (C) Copyright 2010,2011
+ *  NVIDIA Corporation <www.nvidia.com>
+ *
+ *  (C) Copyright 2024
+ *  Svyatoslav Ryhel <[email protected]>
+ */
+
+#ifndef __CONFIG_H
+#define __CONFIG_H
+
+#include "tegra20-common.h"
+
+/* High-level configuration options */
+#define CFG_TEGRA_BOARD_STRING		"Acer Iconia Tab A500"
+
+/* Board-specific serial config */
+#define CFG_SYS_NS16550_COM1		NV_PA_APB_UARTD_BASE
+
+#include "tegra-common-post.h"
+
+#endif /* __CONFIG_H */
Signature · 1 line
2.43.0
#2 lore raw

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

Hi Svyatoslav,

arch/arm/dts/tegra20-acer-a500-picasso.dts

Quoted 49 lines · Svyatoslav Ryhel

The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor and 1GB DDR2 RAM. The A500 is sold with 64 GB, although both 16 GB and 32 GB models are available.

---
  arch/arm/dts/Makefile                      |   1 +
  arch/arm/dts/tegra20-acer-a500-picasso.dts | 508 +++++++++++++++++++++
  arch/arm/mach-tegra/tegra20/Kconfig        |   5 +
  board/acer/picasso/Kconfig                 |  12 +
  board/acer/picasso/MAINTAINERS             |   7 +
  board/acer/picasso/Makefile                |   9 +
  board/acer/picasso/picasso.c               |  57 +++
  board/acer/picasso/picasso.env             |  18 +
  configs/picasso_defconfig                  |  83 ++++
  doc/board/acer/index.rst                   |   9 +
  doc/board/acer/picasso.rst                 | 125 +++++
  doc/board/index.rst                        |   1 +
  include/configs/picasso.h                  |  23 +
  13 files changed, 858 insertions(+)

create mode 100644 arch/arm/dts/tegra20-acer-a500-picasso.dts create mode 100644 board/acer/picasso/Kconfig create mode 100644 board/acer/picasso/MAINTAINERS create mode 100644 board/acer/picasso/Makefile create mode 100644 board/acer/picasso/picasso.c create mode 100644 board/acer/picasso/picasso.env create mode 100644 configs/picasso_defconfig
create mode 100644 doc/board/acer/index.rst
create mode 100644 doc/board/acer/picasso.rst create mode 100644 include/configs/picasso.h

arch/arm/dts/Makefile +1 -0
index 0bf3697bdbe..acea0cc2ec1 100644
@@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MESON) += \
  	meson-a1-ad401.dtb
 
  dtb-$(CONFIG_ARCH_TEGRA) += \
+	tegra20-acer-a500-picasso.dtb \
  	tegra20-asus-sl101.dtb \
  	tegra20-asus-tf101.dtb \
  	tegra20-asus-tf101g.dtb \
arch/arm/dts/tegra20-acer-a500-picasso.dts new file +0 -0
new file mode 100644
index 00000000000..0c301483180

Small drive-by comment.

This is quite different from the Device Tree in the Linux kernel tree, and it hasn't been changed a lot in the last few years.

1) Is there any reason for not sync'ing with upstream Linux kernel instead of having our own Device Tree?
2) Do you think it'd be possible to use OF_UPSTREAM instead which would make it possible to use the device tree from the Linux kernel (it is available in dts/upstream/src/arm/nvidia/tegra20-acer-a500-picasso.dts)? I don't think it's a straightforward thing to do but haven't do it myself, so no clue what's required and the amount of effort to put into it. The benefit is that fixes to the DT will eventually make it to U-Boot as well and we hopefully lower the maintenance burden on U-Boot contributors/maintainers.

Cheers,
Quentin

#3 lore raw

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

пн, 17 лют. 2025 р. о 18:51 Quentin Schulz <[email protected]> пише:

Quoted 70 lines

Hi Svyatoslav,

arch/arm/dts/tegra20-acer-a500-picasso.dts

Quoted 49 lines · Svyatoslav Ryhel

The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor and 1GB DDR2 RAM. The A500 is sold with 64 GB, although both 16 GB and 32 GB models are available.

---
  arch/arm/dts/Makefile                      |   1 +
  arch/arm/dts/tegra20-acer-a500-picasso.dts | 508 +++++++++++++++++++++
  arch/arm/mach-tegra/tegra20/Kconfig        |   5 +
  board/acer/picasso/Kconfig                 |  12 +
  board/acer/picasso/MAINTAINERS             |   7 +
  board/acer/picasso/Makefile                |   9 +
  board/acer/picasso/picasso.c               |  57 +++
  board/acer/picasso/picasso.env             |  18 +
  configs/picasso_defconfig                  |  83 ++++
  doc/board/acer/index.rst                   |   9 +
  doc/board/acer/picasso.rst                 | 125 +++++
  doc/board/index.rst                        |   1 +
  include/configs/picasso.h                  |  23 +
  13 files changed, 858 insertions(+)

create mode 100644 arch/arm/dts/tegra20-acer-a500-picasso.dts create mode 100644 board/acer/picasso/Kconfig create mode 100644 board/acer/picasso/MAINTAINERS create mode 100644 board/acer/picasso/Makefile create mode 100644 board/acer/picasso/picasso.c create mode 100644 board/acer/picasso/picasso.env create mode 100644 configs/picasso_defconfig
create mode 100644 doc/board/acer/index.rst
create mode 100644 doc/board/acer/picasso.rst create mode 100644 include/configs/picasso.h

arch/arm/dts/Makefile +1 -0
index 0bf3697bdbe..acea0cc2ec1 100644
@@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MESON) += \
      meson-a1-ad401.dtb
 
  dtb-$(CONFIG_ARCH_TEGRA) += \
+     tegra20-acer-a500-picasso.dtb \
      tegra20-asus-sl101.dtb \
      tegra20-asus-tf101.dtb \
      tegra20-asus-tf101g.dtb \
arch/arm/dts/tegra20-acer-a500-picasso.dts new file +0 -0
new file mode 100644
index 00000000000..0c301483180

Small drive-by comment.

This is quite different from the Device Tree in the Linux kernel tree, and it hasn't been changed a lot in the last few years.

1) Is there any reason for not sync'ing with upstream Linux kernel instead of having our own Device Tree?
2) Do you think it'd be possible to use OF_UPSTREAM instead which would make it possible to use the device tree from the Linux kernel (it is available in dts/upstream/src/arm/nvidia/tegra20-acer-a500-picasso.dts)? I don't think it's a straightforward thing to do but haven't do it myself, so no clue what's required and the amount of effort to put into it. The benefit is that fixes to the DT will eventually make it to U-Boot as well and we hopefully lower the maintenance burden on U-Boot contributors/maintainers.

Quoted 2 lines

Cheers,
Quentin

Short answers yes and yes.

Long answer:
1. Using Linux Kernel device tree will result in at least total failure of entire video subsystem since Linux gpu/drm changed extremely quick. All devices I have submitted, including A500 heavily relay on video output to be operated correctly (being a production devices there is no exposed uart or any other output, besides the panel). This is only at the first glance, there may be more under the surface. At the same time, even if we switch to Linux device trees, this will not remove need of *-u-boot.dts to adjust Linux tree to U-Boot reality.

2. It is possible and it is even one of my current priorities. Hopefully, by the fall I will be able to configure existing frameworks and drivers to comply existing Linux trees. A small example, atm U-Boot has no helpers to parse of_graph bindings, which are heavily used by Linux to link video devices (that is expected since there is not so much devices are using video output so no one bothered). This makes most Linux bindings of video devices useless for U-Boot. Don't assume that each or nearly each framework has such flows, they are uncommon, but nonetheless they occur and destroy full picture.

#4 lore raw

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

Hi Svyatoslav,

Quoted 76 lines · Svyatoslav Ryhel

пн, 17 лют. 2025 р. о 18:51 Quentin Schulz <[email protected]> пише:

Quoted 70 lines

Hi Svyatoslav,

arch/arm/dts/tegra20-acer-a500-picasso.dts

Quoted 49 lines · Svyatoslav Ryhel

The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor and 1GB DDR2 RAM. The A500 is sold with 64 GB, although both 16 GB and 32 GB models are available.

---
   arch/arm/dts/Makefile                      |   1 +
   arch/arm/dts/tegra20-acer-a500-picasso.dts | 508 +++++++++++++++++++++
   arch/arm/mach-tegra/tegra20/Kconfig        |   5 +
   board/acer/picasso/Kconfig                 |  12 +
   board/acer/picasso/MAINTAINERS             |   7 +
   board/acer/picasso/Makefile                |   9 +
   board/acer/picasso/picasso.c               |  57 +++
   board/acer/picasso/picasso.env             |  18 +
   configs/picasso_defconfig                  |  83 ++++
   doc/board/acer/index.rst                   |   9 +
   doc/board/acer/picasso.rst                 | 125 +++++
   doc/board/index.rst                        |   1 +
   include/configs/picasso.h                  |  23 +
   13 files changed, 858 insertions(+)

create mode 100644 arch/arm/dts/tegra20-acer-a500-picasso.dts create mode 100644 board/acer/picasso/Kconfig create mode 100644 board/acer/picasso/MAINTAINERS create mode 100644 board/acer/picasso/Makefile create mode 100644 board/acer/picasso/picasso.c create mode 100644 board/acer/picasso/picasso.env create mode 100644 configs/picasso_defconfig
create mode 100644 doc/board/acer/index.rst
create mode 100644 doc/board/acer/picasso.rst create mode 100644 include/configs/picasso.h

arch/arm/dts/Makefile +1 -0
index 0bf3697bdbe..acea0cc2ec1 100644
@@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MESON) += \
       meson-a1-ad401.dtb
 
   dtb-$(CONFIG_ARCH_TEGRA) += \
+     tegra20-acer-a500-picasso.dtb \
       tegra20-asus-sl101.dtb \
       tegra20-asus-tf101.dtb \
       tegra20-asus-tf101g.dtb \
arch/arm/dts/tegra20-acer-a500-picasso.dts new file +0 -0
new file mode 100644
index 00000000000..0c301483180

Small drive-by comment.

This is quite different from the Device Tree in the Linux kernel tree, and it hasn't been changed a lot in the last few years.

1) Is there any reason for not sync'ing with upstream Linux kernel instead of having our own Device Tree?
2) Do you think it'd be possible to use OF_UPSTREAM instead which would make it possible to use the device tree from the Linux kernel (it is available in dts/upstream/src/arm/nvidia/tegra20-acer-a500-picasso.dts)? I don't think it's a straightforward thing to do but haven't do it myself, so no clue what's required and the amount of effort to put into it. The benefit is that fixes to the DT will eventually make it to U-Boot as well and we hopefully lower the maintenance burden on U-Boot contributors/maintainers.

Quoted 2 lines

Cheers,
Quentin

Short answers yes and yes.

Quoted 11 lines

Long answer:
1. Using Linux Kernel device tree will result in at least total failure of entire video subsystem since Linux gpu/drm changed extremely quick. All devices I have submitted, including A500 heavily relay on video output to be operated correctly (being a production devices there is no exposed uart or any other output, besides the panel). This is only at the first glance, there may be more under the surface. At the same time, even if we switch to Linux device trees, this will not remove need of *-u-boot.dts to adjust Linux tree to U-Boot reality.

Yeah, most if not all our Rockchip-based boards have a -u-boot.dtsi to fix things up but mainly add binman nodes and add bootph properties (though those should be upstreamable to the kernel DTS, just that we're still struggling to get it right on the first try and kernel DTS updates really takes a long time for us to be merged in U-Boot.

Quoted 9 lines

2. It is possible and it is even one of my current priorities. Hopefully, by the fall I will be able to configure existing frameworks and drivers to comply existing Linux trees. A small example, atm U-Boot has no helpers to parse of_graph bindings, which are heavily used by Linux to link video devices (that is expected since there is not so much devices are using video output so no one bothered). This makes most Linux bindings of video devices useless for U-Boot. Don't assume that each or nearly each framework has such flows, they are uncommon, but nonetheless they occur and destroy full picture.

I think Qualcomm does have support for display in U-Boot as well, maybe there's something to be learned/adapted/shared with them as well.

In any case, good luck and have fun!

Cheers,
Quentin

#5 lore raw

Re: [PATCH v1 1/1] board: acer: picasso: add Acer Iconia Tab A500 support

вт, 18 лют. 2025 р. о 11:35 Quentin Schulz <[email protected]> пише:

Quoted 108 lines

Hi Svyatoslav,

Quoted 76 lines · Svyatoslav Ryhel

пн, 17 лют. 2025 р. о 18:51 Quentin Schulz <[email protected]> пише:

Quoted 70 lines

Hi Svyatoslav,

arch/arm/dts/tegra20-acer-a500-picasso.dts

Quoted 49 lines · Svyatoslav Ryhel

The Acer Iconia A500 is a tablet computer designed, developed and marketed by Acer Inc. It is powered by 1 GHz Nvidia Tegra 2 processor and 1GB DDR2 RAM. The A500 is sold with 64 GB, although both 16 GB and 32 GB models are available.

---
   arch/arm/dts/Makefile                      |   1 +
   arch/arm/dts/tegra20-acer-a500-picasso.dts | 508 +++++++++++++++++++++
   arch/arm/mach-tegra/tegra20/Kconfig        |   5 +
   board/acer/picasso/Kconfig                 |  12 +
   board/acer/picasso/MAINTAINERS             |   7 +
   board/acer/picasso/Makefile                |   9 +
   board/acer/picasso/picasso.c               |  57 +++
   board/acer/picasso/picasso.env             |  18 +
   configs/picasso_defconfig                  |  83 ++++
   doc/board/acer/index.rst                   |   9 +
   doc/board/acer/picasso.rst                 | 125 +++++
   doc/board/index.rst                        |   1 +
   include/configs/picasso.h                  |  23 +
   13 files changed, 858 insertions(+)

create mode 100644 arch/arm/dts/tegra20-acer-a500-picasso.dts create mode 100644 board/acer/picasso/Kconfig create mode 100644 board/acer/picasso/MAINTAINERS create mode 100644 board/acer/picasso/Makefile create mode 100644 board/acer/picasso/picasso.c create mode 100644 board/acer/picasso/picasso.env create mode 100644 configs/picasso_defconfig
create mode 100644 doc/board/acer/index.rst
create mode 100644 doc/board/acer/picasso.rst create mode 100644 include/configs/picasso.h

arch/arm/dts/Makefile +1 -0
index 0bf3697bdbe..acea0cc2ec1 100644
@@ -84,6 +84,7 @@ dtb-$(CONFIG_ARCH_MESON) += \
       meson-a1-ad401.dtb
 
   dtb-$(CONFIG_ARCH_TEGRA) += \
+     tegra20-acer-a500-picasso.dtb \
       tegra20-asus-sl101.dtb \
       tegra20-asus-tf101.dtb \
       tegra20-asus-tf101g.dtb \
arch/arm/dts/tegra20-acer-a500-picasso.dts new file +0 -0
new file mode 100644
index 00000000000..0c301483180

Small drive-by comment.

This is quite different from the Device Tree in the Linux kernel tree, and it hasn't been changed a lot in the last few years.

1) Is there any reason for not sync'ing with upstream Linux kernel instead of having our own Device Tree?
2) Do you think it'd be possible to use OF_UPSTREAM instead which would make it possible to use the device tree from the Linux kernel (it is available in dts/upstream/src/arm/nvidia/tegra20-acer-a500-picasso.dts)? I don't think it's a straightforward thing to do but haven't do it myself, so no clue what's required and the amount of effort to put into it. The benefit is that fixes to the DT will eventually make it to U-Boot as well and we hopefully lower the maintenance burden on U-Boot contributors/maintainers.

Quoted 2 lines

Cheers,
Quentin

Short answers yes and yes.

Quoted 11 lines

Long answer:
1. Using Linux Kernel device tree will result in at least total failure of entire video subsystem since Linux gpu/drm changed extremely quick. All devices I have submitted, including A500 heavily relay on video output to be operated correctly (being a production devices there is no exposed uart or any other output, besides the panel). This is only at the first glance, there may be more under the surface. At the same time, even if we switch to Linux device trees, this will not remove need of *-u-boot.dts to adjust Linux tree to U-Boot reality.

Yeah, most if not all our Rockchip-based boards have a -u-boot.dtsi to fix things up but mainly add binman nodes and add bootph properties (though those should be upstreamable to the kernel DTS, just that we're still struggling to get it right on the first try and kernel DTS updates really takes a long time for us to be merged in U-Boot.

Quoted 9 lines

2. It is possible and it is even one of my current priorities. Hopefully, by the fall I will be able to configure existing frameworks and drivers to comply existing Linux trees. A small example, atm U-Boot has no helpers to parse of_graph bindings, which are heavily used by Linux to link video devices (that is expected since there is not so much devices are using video output so no one bothered). This makes most Linux bindings of video devices useless for U-Boot. Don't assume that each or nearly each framework has such flows, they are uncommon, but nonetheless they occur and destroy full picture.

Quoted 3 lines

I think Qualcomm does have support for display in U-Boot as well, maybe there's something to be learned/adapted/shared with them as well.

Qualcomm does not initiate entire video pipe from scratch and does not support use of u-boot as primary bootloader.

Quoted 4 lines

In any case, good luck and have fun!

Cheers,
Quentin