[PATCH v5 0/7] Tegra: add ASUS/Google Nexus 7 (2012) support

Svyatoslav Ryhel clamor95 at gmail.com
Tue Jun 6 09:18:43 CEST 2023


This patchset adds support for native use of U-Boot on:
- ASUS T30 Transformers (7 devices, all models);
- ASUS/Google Nexus 7 (2012), both grouper and tilapia
- LG Optimus 4X HD (P880) and Optimus Vu (P895)
- HTC One X (endeavoru)
as a replacement for the vendor bootloader.

Current commits are designed to work on re-crypted devices but can
be used on clean unmodified devices with slight restrictions (like
no booting/mounting emmc and no self updating feature).

All device setup commits fall under the same pattern. Alongside device
bringup tegra requires few small patches:
 - add gpio keyboard as stdin device
 - make networking boot options optional
 - add a small tool to generate SoC UID

Commits passed ./tools/buildman/buildman tegra
Building current source for 30 boards (12 threads, 1 job per thread)
   30    0    0 /30             0:00:06  : apalis_t30
Completed: 30 total built, 30 newly), duration 0:05:23, rate 0.09

---
Changes from v4:
- fixed documentation
- fixed CONFIG_* definitions

Changes from v3:
- extended amount of devices supported

Changes from v2:
 - fuse build is excluded for T186 (it is not supported in it anyway)

Changes from v1:
 - fix fuse headers for newer Tegra generations
 - allow grouper_common_defconfig to pass without fragments
---

Jonas Schwöbel (1):
  configs: tegra-common-post: make PXE and DHCP boot targets optional

Svyatoslav Ryhel (6):
  configs: tegra-common-post: add GPIO keyboard as STDIN device
  ARM: tegra: add SoC UID calculation function
  board: asus: transformer: add ASUS Transformer T30 family support
  board: asus: grouper: add Google Nexus 7 (2012) support
  board: lg: x3: add Optimus 4X HD and Optimus Vu support
  board: htc: endeavoru: add One X support

 arch/arm/dts/Makefile                         |  12 +
 arch/arm/dts/tegra30-asus-grouper-common.dtsi | 157 ++++++
 .../dts/tegra30-asus-nexus7-grouper-E1565.dts |  43 ++
 .../dts/tegra30-asus-nexus7-grouper-PM269.dts |  36 ++
 .../dts/tegra30-asus-nexus7-tilapia-E1565.dts |  62 +++
 arch/arm/dts/tegra30-asus-p1801-t.dts         |  17 +
 arch/arm/dts/tegra30-asus-tf201.dts           |   9 +
 arch/arm/dts/tegra30-asus-tf300t.dts          |  18 +
 arch/arm/dts/tegra30-asus-tf300tg.dts         |   9 +
 arch/arm/dts/tegra30-asus-tf300tl.dts         |   9 +
 arch/arm/dts/tegra30-asus-tf600t.dts          |  89 ++++
 arch/arm/dts/tegra30-asus-tf700t.dts          |  13 +
 arch/arm/dts/tegra30-asus-transformer.dtsi    | 211 ++++++++
 arch/arm/dts/tegra30-htc-endeavoru.dts        | 166 +++++++
 arch/arm/dts/tegra30-lg-p880.dts              |  40 ++
 arch/arm/dts/tegra30-lg-p895.dts              |  50 ++
 arch/arm/dts/tegra30-lg-x3.dtsi               | 180 +++++++
 arch/arm/include/asm/arch-tegra/fuse.h        |   7 +
 arch/arm/mach-tegra/Makefile                  |   4 +
 arch/arm/mach-tegra/fuse.c                    | 151 ++++++
 arch/arm/mach-tegra/tegra30/Kconfig           |  20 +
 board/asus/grouper/Kconfig                    |  22 +
 board/asus/grouper/MAINTAINERS                |   6 +
 board/asus/grouper/Makefile                   |  14 +
 board/asus/grouper/grouper-spl-max.c          |  45 ++
 board/asus/grouper/grouper-spl-ti.c           |  41 ++
 board/asus/grouper/grouper.c                  | 202 ++++++++
 board/asus/grouper/pinmux-config-grouper.h    | 362 ++++++++++++++
 board/asus/transformer-t30/Kconfig            |  23 +
 board/asus/transformer-t30/MAINTAINERS        |   6 +
 board/asus/transformer-t30/Makefile           |  11 +
 .../pinmux-config-transformer.h               | 365 ++++++++++++++
 .../transformer-t30/transformer-t30-spl.c     |  41 ++
 board/asus/transformer-t30/transformer-t30.c  | 201 ++++++++
 board/htc/endeavoru/Kconfig                   |  12 +
 board/htc/endeavoru/MAINTAINERS               |   6 +
 board/htc/endeavoru/Makefile                  |  11 +
 board/htc/endeavoru/endeavoru-spl.c           |  47 ++
 board/htc/endeavoru/endeavoru.c               | 116 +++++
 board/htc/endeavoru/pinmux-config-endeavoru.h | 362 ++++++++++++++
 board/lg/x3-t30/Kconfig                       |  26 +
 board/lg/x3-t30/MAINTAINERS                   |   6 +
 board/lg/x3-t30/Makefile                      |  11 +
 board/lg/x3-t30/pinmux-config-x3.h            | 449 ++++++++++++++++++
 board/lg/x3-t30/x3-t30-spl.c                  |  48 ++
 board/lg/x3-t30/x3-t30.c                      | 176 +++++++
 configs/endeavoru_defconfig                   |  84 ++++
 configs/grouper_E1565.config                  |   2 +
 configs/grouper_PM269.config                  |   2 +
 configs/grouper_common_defconfig              |  84 ++++
 configs/p1801-t.config                        |   2 +
 configs/p880.config                           |   4 +
 configs/p895.config                           |   4 +
 configs/tf201.config                          |   2 +
 configs/tf300t.config                         |   2 +
 configs/tf300tg.config                        |   2 +
 configs/tf300tl.config                        |   2 +
 configs/tf600t.config                         |   4 +
 configs/tf700t.config                         |   2 +
 configs/tilapia.config                        |   3 +
 configs/transformer_t30_defconfig             |  85 ++++
 configs/x3_t30_defconfig                      |  88 ++++
 doc/board/asus/grouper_common.rst             |  95 ++++
 doc/board/asus/index.rst                      |  10 +
 doc/board/asus/transformer_t30.rst            |  96 ++++
 doc/board/htc/endeavoru.rst                   |  90 ++++
 doc/board/htc/index.rst                       |   9 +
 doc/board/lg/index.rst                        |   9 +
 doc/board/lg/x3_t30.rst                       |  93 ++++
 include/configs/endeavoru.h                   |  65 +++
 include/configs/grouper.h                     |  61 +++
 include/configs/tegra-common-post.h           |  28 +-
 include/configs/transformer-common.h          |  94 ++++
 include/configs/transformer-t30.h             |  23 +
 include/configs/x3-t30.h                      |  77 +++
 75 files changed, 5029 insertions(+), 5 deletions(-)
 create mode 100644 arch/arm/dts/tegra30-asus-grouper-common.dtsi
 create mode 100644 arch/arm/dts/tegra30-asus-nexus7-grouper-E1565.dts
 create mode 100644 arch/arm/dts/tegra30-asus-nexus7-grouper-PM269.dts
 create mode 100644 arch/arm/dts/tegra30-asus-nexus7-tilapia-E1565.dts
 create mode 100644 arch/arm/dts/tegra30-asus-p1801-t.dts
 create mode 100644 arch/arm/dts/tegra30-asus-tf201.dts
 create mode 100644 arch/arm/dts/tegra30-asus-tf300t.dts
 create mode 100644 arch/arm/dts/tegra30-asus-tf300tg.dts
 create mode 100644 arch/arm/dts/tegra30-asus-tf300tl.dts
 create mode 100644 arch/arm/dts/tegra30-asus-tf600t.dts
 create mode 100644 arch/arm/dts/tegra30-asus-tf700t.dts
 create mode 100644 arch/arm/dts/tegra30-asus-transformer.dtsi
 create mode 100644 arch/arm/dts/tegra30-htc-endeavoru.dts
 create mode 100644 arch/arm/dts/tegra30-lg-p880.dts
 create mode 100644 arch/arm/dts/tegra30-lg-p895.dts
 create mode 100644 arch/arm/dts/tegra30-lg-x3.dtsi
 create mode 100644 arch/arm/mach-tegra/fuse.c
 create mode 100644 board/asus/grouper/Kconfig
 create mode 100644 board/asus/grouper/MAINTAINERS
 create mode 100644 board/asus/grouper/Makefile
 create mode 100644 board/asus/grouper/grouper-spl-max.c
 create mode 100644 board/asus/grouper/grouper-spl-ti.c
 create mode 100644 board/asus/grouper/grouper.c
 create mode 100644 board/asus/grouper/pinmux-config-grouper.h
 create mode 100644 board/asus/transformer-t30/Kconfig
 create mode 100644 board/asus/transformer-t30/MAINTAINERS
 create mode 100644 board/asus/transformer-t30/Makefile
 create mode 100644 board/asus/transformer-t30/pinmux-config-transformer.h
 create mode 100644 board/asus/transformer-t30/transformer-t30-spl.c
 create mode 100644 board/asus/transformer-t30/transformer-t30.c
 create mode 100644 board/htc/endeavoru/Kconfig
 create mode 100644 board/htc/endeavoru/MAINTAINERS
 create mode 100644 board/htc/endeavoru/Makefile
 create mode 100644 board/htc/endeavoru/endeavoru-spl.c
 create mode 100644 board/htc/endeavoru/endeavoru.c
 create mode 100644 board/htc/endeavoru/pinmux-config-endeavoru.h
 create mode 100644 board/lg/x3-t30/Kconfig
 create mode 100644 board/lg/x3-t30/MAINTAINERS
 create mode 100644 board/lg/x3-t30/Makefile
 create mode 100644 board/lg/x3-t30/pinmux-config-x3.h
 create mode 100644 board/lg/x3-t30/x3-t30-spl.c
 create mode 100644 board/lg/x3-t30/x3-t30.c
 create mode 100644 configs/endeavoru_defconfig
 create mode 100644 configs/grouper_E1565.config
 create mode 100644 configs/grouper_PM269.config
 create mode 100644 configs/grouper_common_defconfig
 create mode 100644 configs/p1801-t.config
 create mode 100644 configs/p880.config
 create mode 100644 configs/p895.config
 create mode 100644 configs/tf201.config
 create mode 100644 configs/tf300t.config
 create mode 100644 configs/tf300tg.config
 create mode 100644 configs/tf300tl.config
 create mode 100644 configs/tf600t.config
 create mode 100644 configs/tf700t.config
 create mode 100644 configs/tilapia.config
 create mode 100644 configs/transformer_t30_defconfig
 create mode 100644 configs/x3_t30_defconfig
 create mode 100644 doc/board/asus/grouper_common.rst
 create mode 100644 doc/board/asus/index.rst
 create mode 100644 doc/board/asus/transformer_t30.rst
 create mode 100644 doc/board/htc/endeavoru.rst
 create mode 100644 doc/board/htc/index.rst
 create mode 100644 doc/board/lg/index.rst
 create mode 100644 doc/board/lg/x3_t30.rst
 create mode 100644 include/configs/endeavoru.h
 create mode 100644 include/configs/grouper.h
 create mode 100644 include/configs/transformer-common.h
 create mode 100644 include/configs/transformer-t30.h
 create mode 100644 include/configs/x3-t30.h

-- 
2.39.2



More information about the U-Boot mailing list