Tegra: add ASUS/Google Nexus 7 (2012) support
Subsystems (3)
cover Tegra: add ASUS/Google Nexus 7 (2012) support
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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
Jonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optional
Svyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) support
arch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/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 configs/grouper_E1565.config create mode 100644 configs/grouper_PM269.config create mode 100644 configs/grouper_common_defconfig create mode 100644 configs/tilapia.config create mode 100644 include/configs/grouper.h
Signature · 1 line
2.37.2
PATCH 1/4 configs: tegra-common-post: add GPIO keyboard as STDIN device
GPIO keyboard is used on many newly upstreamed devices.
--- include/configs/tegra-common-post.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-)
include/configs/tegra-common-post.h +7 -1
@@ -35,6 +35,12 @@#define STDIN_KBD_USB ""#endif +#ifdef CONFIG_BUTTON_KEYBOARD +#define STDIN_BTN_KBD ",button-kbd" +#else +#define STDIN_BTN_KBD "" +#endif +#ifdef CONFIG_VIDEO #define STDOUT_VIDEO ",vidconsole"#else
@@ -48,7 +54,7 @@#endif #define TEGRA_DEVICE_SETTINGS \ - "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC "\0" \ + "stdin=serial" STDIN_KBD_KBC STDIN_KBD_USB STDOUT_CROS_EC STDIN_BTN_KBD "\0" \ "stdout=serial" STDOUT_VIDEO "\0" \ "stderr=serial" STDOUT_VIDEO "\0" \ ""
Signature · 1 line
2.37.2
PATCH 2/4 configs: tegra-common-post: make PXE and DHCP boot targets optional
In reply to Svyatoslav RyhelFrom: Jonas Schwöbel <[email protected]>
Disabling the network related features in defconfig causes build to fail so make them optional.
--- include/configs/tegra-common-post.h | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-)
include/configs/tegra-common-post.h +16 -4
@@ -8,9 +8,21 @@#define __TEGRA_COMMON_POST_H#if IS_ENABLED (CONFIG_CMD_USB ) -# define BOOT_TARGET_USB (func) func(USB, usb, 0) +#define BOOT_TARGET_USB (func) func(USB, usb, 0)#else -# define BOOT_TARGET_USB (func) +#define BOOT_TARGET_USB (func) +#endif + +#if CONFIG_IS_ENABLED (CMD_DHCP ) &&CONFIG_IS_ENABLED (CMD_PXE ) +#define BOOT_TARGET_PXE (func) func(PXE, pxe, na) +#else +#define BOOT_TARGET_PXE (func) +#endif + +#if CONFIG_IS_ENABLED (CMD_DHCP ) +#define BOOT_TARGET_DHCP (func) func(DHCP, dhcp, na) +#else +#define BOOT_TARGET_DHCP (func)#endif #ifndef BOOT_TARGET_DEVICES
@@ -18,8 +30,8 @@ func(MMC, mmc, 1) \ func(MMC, mmc, 0) \ BOOT_TARGET_USB(func) \ - func(PXE, pxe, na) \ - func(DHCP, dhcp, na) + BOOT_TARGET_PXE(func) \ + BOOT_TARGET_DHCP(func)#endif #include <config_distro_bootcmd.h>
Signature · 1 line
2.37.2
PATCH 3/4 ARM: tegra: add SoC UID calculation function
In reply to Svyatoslav RyhelThis is a small tool for calculation of SoC UID based on the same Linux function. It can be further used for generation of device unique data like mac address or exposing it as serial number.
--- arch/arm/include/asm/arch-tegra/fuse.h | 7 ++ arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 +++++++++++++++++++++++++ 3 files changed, 159 insertions(+), 1 deletion(-) create mode 100644 arch/arm/mach-tegra/fuse.c
arch/arm/include/asm/arch-tegra/fuse.h +7 -0
@@ -19,4 +19,11 @@ struct fuse_regs { u32 security_mode; /* 0x1A0: FUSE_SECURITY_MODE */ }; +/** +* Calculate SoC UID +* +* Return: uid if ok, 0 on error +*/ +unsigned long long tegra_chip_uid (void ); +#endif /* ifndef _FUSE_H_ */
arch/arm/mach-tegra/Makefile +1 -1
@@ -14,7 +14,7 @@ endif obj-$(CONFIG_TEGRA_GP_PADCTRL) += ap.o obj-y += board.o board2.o -obj-y += cache.o +obj-y += cache.o fuse.o obj-$(CONFIG_TEGRA_CLKRST) += clock.o obj-$(CONFIG_$(SPL_)TEGRA_CRYPTO) += crypto.o obj-$(CONFIG_TEGRA_PINCTRL) += pinmux-common.o
arch/arm/mach-tegra/fuse.c new file +151 -0
151 lines not on this page · raw message
Signature · 1 line
2.37.2
PATCH 4/4 board: asus: grouper: add Google Nexus 7 (2012) support
In reply to Svyatoslav RyhelNexus 7 is a mini tablet computer co-developed by Google and Asus that runs the Android operating system. The Nexus 7 features a 7" display, an Nvidia Tegra 3 quad-core chip, 1 GB of RAM and 8/16 GB of internal storage.
This patch brings support for all 3 known ASUS/Google devices:
- Nexus 7 (2012) E1565
- Nexus 7 (2012) PM269
- Nexus 7 (2012) 3G - tilapia
--- arch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ 18 files changed, 1137 insertions(+) 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 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 configs/grouper_E1565.config create mode 100644 configs/grouper_PM269.config create mode 100644 configs/grouper_common_defconfig create mode 100644 configs/tilapia.config create mode 100644 include/configs/grouper.h
arch/arm/dts/Makefile +3 -0
@@ -227,6 +227,9 @@ dtb-$(CONFIG_ARCH_TEGRA) += tegra20-harmony.dtb \ tegra20-ventana.dtb \ tegra20-colibri.dtb \ tegra30-apalis.dtb \ + tegra30-asus-nexus7-grouper-PM269.dtb \ + tegra30-asus-nexus7-grouper-E1565.dtb \ + tegra30-asus-nexus7-tilapia-E1565.dtb \ tegra30-beaver.dtb \ tegra30-cardhu.dtb \ tegra30-colibri.dtb \
arch/arm/dts/tegra30-asus-grouper-common.dtsi new file +125 -0
125 lines not on this page · raw message
arch/arm/dts/tegra30-asus-nexus7-grouper-E1565.dts new file +40 -0
@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra30-asus-grouper-common.dtsi" + +/ { + model = "ASUS Google Nexus 7 (Project Nakasi / ME370T) E1565"; + compatible = "asus,grouper", "nvidia,tegra30"; + + pmic_i2c: i2c@7000d000 { + status = "okay"; + clock-frequency = <400000>; + }; + + panel: panel { + compatible = "simple-panel"; + + power-supply = <&vdd_pnl_reg>; + enable-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_HIGH>; + + backlight = <&backlight>; + + display-timings { + timing@0 { + /* 1280x800@60Hz */ + clock-frequency = <68000000>; + + hactive = <800>; + hfront-porch = <24>; + hback-porch = <32>; + hsync-len = <24>; + + vactive = <1280>; + vfront-porch = <5>; + vback-porch = <32>; + vsync-len = <1>; + }; + }; + }; +};
arch/arm/dts/tegra30-asus-nexus7-grouper-PM269.dts new file +65 -0
65 lines not on this page · raw message
arch/arm/dts/tegra30-asus-nexus7-tilapia-E1565.dts new file +40 -0
@@ -0,0 +1,40 @@ +// SPDX-License-Identifier: GPL-2.0 +/dts-v1/; + +#include "tegra30-asus-grouper-common.dtsi" + +/ { + model = "ASUS Google Nexus 7 (Project Bach / ME370TG) E1565"; + compatible = "asus,tilapia", "nvidia,tegra30"; + + pmic_i2c: i2c@7000d000 { + status = "okay"; + clock-frequency = <400000>; + }; + + panel: panel { + compatible = "simple-panel"; + + power-supply = <&vdd_pnl_reg>; + enable-gpios = <&gpio TEGRA_GPIO(N, 6) GPIO_ACTIVE_HIGH>; + + backlight = <&backlight>; + + display-timings { + timing@0 { + /* 1280x800@60Hz */ + clock-frequency = <81750000>; + + hactive = <800>; + hfront-porch = <64>; + hback-porch = <128>; + hsync-len = <64>; + + vactive = <1280>; + vfront-porch = <5>; + vback-porch = <2>; + vsync-len = <1>; + }; + }; + }; +};
arch/arm/mach-tegra/tegra30/Kconfig +5 -0
@@ -20,6 +20,10 @@ config TARGET_COLIBRI_T30 bool "Toradex Colibri T30 board" select BOARD_LATE_INIT +config TARGET_GROUPER + bool "Asus and Google Grouper board" + select BOARD_LATE_INIT + config TARGET_TEC_NG bool "Avionic Design TEC-NG board" select BOARD_LATE_INIT
@@ -29,6 +33,7 @@ endchoice config SYS_SOC default "tegra30" +source "board/asus/grouper/Kconfig" source "board/toradex/apalis_t30/Kconfig" source "board/nvidia/beaver/Kconfig" source "board/nvidia/cardhu/Kconfig"
board/asus/grouper/Kconfig new file +20 -0
@@ -0,0 +1,20 @@ +if TARGET_GROUPER + +config SYS_BOARD + default "grouper" + +config SYS_VENDOR + default "asus" + +config SYS_CONFIG_NAME + default "grouper" + +config GROUPER_TPS65911 + bool "Enable support TI TPS65911 PMIC" + default n + +config GROUPER_MAX77663 + bool "Enable support MAXIM MAX77663 PMIC" + default n + +endif
board/asus/grouper/MAINTAINERS new file +6 -0
@@ -0,0 +1,6 @@ +GROUPER BOARD +M: Svyatoslav Ryhel <[email protected]> +S: Maintained +F: board/asus/grouper/ +F: include/configs/grouper.h +F: configs/grouper_common_defconfig
board/asus/grouper/Makefile new file +14 -0
@@ -0,0 +1,14 @@ +# SPDX-License-Identifier: GPL-2.0-or-later +# +# (C) Copyright 2010-2012 +# NVIDIA Corporation <www.nvidia.com> +# +# (C) Copyright 2021 +# Svyatoslav Ryhel <[email protected]> + +ifdef CONFIG_SPL_BUILD +obj-$(CONFIG_GROUPER_MAX77663) += grouper-spl-max.o +obj-$(CONFIG_GROUPER_TPS65911) += grouper-spl-ti.o +endif + +obj-y += grouper.o
board/asus/grouper/grouper-spl-max.c new file +46 -0
46 lines not on this page · raw message
board/asus/grouper/grouper-spl-ti.c new file +42 -0
42 lines not on this page · raw message
board/asus/grouper/grouper.c new file +209 -0
209 lines not on this page · raw message
board/asus/grouper/pinmux-config-grouper.h new file +362 -0
362 lines not on this page · raw message
configs/grouper_E1565.config new file +2 -0
@@ -0,0 +1,2 @@ +CONFIG_DEFAULT_DEVICE_TREE="tegra30-asus-nexus7-grouper-E1565" +CONFIG_GROUPER_MAX77663=y
configs/grouper_PM269.config new file +2 -0
@@ -0,0 +1,2 @@ +CONFIG_DEFAULT_DEVICE_TREE="tegra30-asus-nexus7-grouper-PM269" +CONFIG_GROUPER_TPS65911=y
configs/grouper_common_defconfig new file +85 -0
85 lines not on this page · raw message
configs/tilapia.config new file +3 -0
@@ -0,0 +1,3 @@ +CONFIG_DEFAULT_DEVICE_TREE="tegra30-asus-nexus7-tilapia-E1565" +CONFIG_GROUPER_MAX77663=y +CONFIG_SYS_PROMPT="Tegra30 (Tilapia) # "
include/configs/grouper.h new file +68 -0
68 lines not on this page · raw message
Signature · 1 line
2.37.2
Re: [PATCH v1 4/4] board: asus: grouper: add Google Nexus 7 (2012) support
Hi Svyatoslav,
Quoted 42 lines · Svyatoslav Ryhel
Nexus 7 is a mini tablet computer co-developed by Google and Asus that runs the Android operating system. The Nexus 7 features a 7" display, an Nvidia Tegra 3 quad-core chip, 1 GB of RAM and 8/16 GB of internal storage.
This patch brings support for all 3 known ASUS/Google devices:
- Nexus 7 (2012) E1565
- Nexus 7 (2012) PM269
- Nexus 7 (2012) 3G - tilapiaSigned-off-by Svyatoslav Ryhel <[email protected]>--- arch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ 18 files changed, 1137 insertions(+) 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 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
Quoted 8 lines
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 configs/grouper_E1565.config create mode 100644 configs/grouper_PM269.config create mode 100644 configs/grouper_common_defconfig create mode 100644 configs/tilapia.config create mode 100644 include/configs/grouper.h
Please can add you add a doc/board/... file to describe how to put this on the device?
Regards,
Simon
Re: [PATCH v1 4/4] board: asus: grouper: add Google Nexus 7 (2012) support
Hello Simon,
ср, 19 квіт. 2023 р. о 04:47 Simon Glass <[email protected]> пише:
Quoted 55 lines
Hi Svyatoslav,
Quoted 42 lines · Svyatoslav Ryhel
Nexus 7 is a mini tablet computer co-developed by Google and Asus that runs the Android operating system. The Nexus 7 features a 7" display, an Nvidia Tegra 3 quad-core chip, 1 GB of RAM and 8/16 GB of internal storage.
This patch brings support for all 3 known ASUS/Google devices:
- Nexus 7 (2012) E1565
- Nexus 7 (2012) PM269
- Nexus 7 (2012) 3G - tilapiaSigned-off-by Svyatoslav Ryhel <[email protected]>--- arch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ 18 files changed, 1137 insertions(+) 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 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.cQuoted 8 lines
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 configs/grouper_E1565.config create mode 100644 configs/grouper_PM269.config create mode 100644 configs/grouper_common_defconfig create mode 100644 configs/tilapia.config create mode 100644 include/configs/grouper.h
Quoted 5 lines
Please can add you add a doc/board/... file to describe how to put this on the device?
Regards,
Simon
Sure, I will add doc/board/... for all boards I am proposing in the next patchset iteration.
Best regards,
Svyatoslav R.
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error: asm/arch/clock.h: No such file or directory
#include <asm/arch/clock.h>
^~~~~~~~~~~~~~~~~~compilation terminated.scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1
Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support
External email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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
Jonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optional
Svyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) support
arch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/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 configs/grouper_E1565.config create mode 100644 configs/grouper_PM269.config create mode 100644 configs/grouper_common_defconfig create mode 100644 configs/tilapia.config create mode 100644 include/configs/grouper.h
--
2.37.2
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 7 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory
Quoted 7 lines
#include <asm/arch/clock.h> ^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1
Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2
Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186. I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.
Best regards,
Svyatoslav R.
Quoted 62 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/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 configs/grouper_E1565.config create mode 100644 configs/grouper_PM269.config create mode 100644 configs/grouper_common_defconfig create mode 100644 configs/tilapia.config create mode 100644 include/configs/grouper.h--
2.37.2
Svyatoslav,
I tried to build w/V2 of your Nexus patches applied to TOT u-boot-tegra/master, and I get these errors from 'buildman tegra':
aarch64: + p2771-0000-000
+In file included from arch/arm/mach-tegra/fuse.c:16:0:+arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: asm/arch/clock-tables.h: No such file or directory
+ #include <asm/arch/clock-tables.h>
+ ^~~~~~~~~~~~~~~~~~~~~~~~~
+compilation terminated.
+make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1
+make[1]: *** [arch/arm/mach-tegra] Error 2
+make: *** [sub-make] Error 2
aarch64: + p2771-0000-500
+In file included from arch/arm/mach-tegra/fuse.c:16:0:+arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: asm/arch/clock-tables.h: No such file or directory
+ #include <asm/arch/clock-tables.h>
+ ^~~~~~~~~~~~~~~~~~~~~~~~~
+compilation terminated.
+make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1
+make[1]: *** [arch/arm/mach-tegra] Error 2
+make: *** [sub-make] Error 2
These are the two T186 builds, they don't have or use a clock-tables.h .
Please test building your patchset on TOT u-boot-tegra/master _before_ posting. Use buildman (preferred) or 'make xxx_defconfig && make' for each Tegra board (cumbersome).
I won't take any future patches from you unless they're marked w/'passes buildman' or 'each Tegra board builds OK w/make', etc. I certainly can't push a PR to TomR if it fails to build.
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 11:05 PM
To: Tom Warren <[email protected]>
Cc: Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support
External email: Use caution opening links or attachments
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 8 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory #include <asm/arch/clock.h>
Quoted 7 lines
^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed
make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2
Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186.
I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.
Best regards,
Svyatoslav R.
Quoted 75 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/mach-tegra/fuse.c create mode 100644board/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.ccreate 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 configs/grouper_E1565.config create mode 100644
configs/grouper_PM269.configcreate mode 100644 configs/grouper_common_defconfig create mode 100644configs/tilapia.configcreate mode 100644include/configs/grouper.h--
2.37.2
чт, 13 квіт. 2023 р. о 20:13 Tom Warren <[email protected]> пише:
Quoted 24 lines
Svyatoslav,
I tried to build w/V2 of your Nexus patches applied to TOT u-boot-tegra/master, and I get these errors from 'buildman tegra':
aarch64: + p2771-0000-000(quoted diff) +16
-0+In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: asm/arch/clock-tables.h: No such file or directory + #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2 aarch64: + p2771-0000-500 +In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: asm/arch/clock-tables.h: No such file or directory + #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2
Quoted 5 lines
These are the two T186 builds, they don't have or use a
clock-tables.h.Please test building your patchset on TOT u-boot-tegra/master _before_ posting. Use buildman (preferred) or 'make
xxx_defconfig&& make' for each Tegra board (cumbersome).I won't take any future patches from you unless they're marked w/'passes buildman' or 'each Tegra board builds OK w/make', etc. I certainly can't push a PR to TomR if it fails to build.
Thank you! I have reloaded patches with fixes. It passed ./tools/buildman/buildman -Pr tegra or do I need to run other tests. If yes, pls specify which.
Best regards,
Svyatoslav R.
Quoted 112 lines
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 11:05 PM
To: Tom Warren <[email protected]>
Cc: Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 8 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory #include <asm/arch/clock.h>Quoted 7 lines
^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed
make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186.
I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.Best regards,
Svyatoslav R.Quoted 75 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/mach-tegra/fuse.c create mode 100644board/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.ccreate 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 configs/grouper_E1565.config create mode 100644
configs/grouper_PM269.configcreate mode 100644 configs/grouper_common_defconfig create mode 100644configs/tilapia.configcreate mode 100644include/configs/grouper.h--
2.37.2
Mailing list reduction.
Tom,
May I extend this patchset with adding commits for other t20/t30 devices bringup. They are all typical and look like grouper bringup. This should decrease quantity of separate patches sent involving your assist. Devices in interest are Asus Transformers, LG P880/P895 and Htc One X.
Best regards,
Svyatoslav R.
13 квітня 2023 р. 20:13:25 GMT+03:00, Tom Warren <[email protected]> написав(-ла):
Quoted 141 lines
Svyatoslav,
I tried to build w/V2 of your Nexus patches applied to TOT u-boot-tegra/master, and I get these errors from 'buildman tegra':
aarch64: + p2771-0000-000
(quoted diff) +16
-0+In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: asm/arch/clock-tables.h: No such file or directory + #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2 aarch64: + p2771-0000-500 +In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: asm/arch/clock-tables.h: No such file or directory + #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2These are the two T186 builds, they don't have or use a
clock-tables.h.Please test building your patchset on TOT u-boot-tegra/master _before_ posting. Use buildman (preferred) or 'make
xxx_defconfig&& make' for each Tegra board (cumbersome).I won't take any future patches from you unless they're marked w/'passes buildman' or 'each Tegra board builds OK w/make', etc. I certainly can't push a PR to TomR if it fails to build.
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 11:05 PM
To: Tom Warren <[email protected]>
Cc: Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 8 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory #include <asm/arch/clock.h>Quoted 7 lines
^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed
make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186.
I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.Best regards,
Svyatoslav R.Quoted 75 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/mach-tegra/fuse.c create mode 100644board/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.ccreate 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 configs/grouper_E1565.config create mode 100644
configs/grouper_PM269.configcreate mode 100644 configs/grouper_common_defconfig create mode 100644configs/tilapia.configcreate mode 100644include/configs/grouper.h--
2.37.2
This patchset is specific to the Nexus 7, IIUC. If the new devices also fall under that umbrella, then I see no problem with adding them here. But if they don't, maybe an ancillary patchset on top of this one would be better.
Note that I still can't build with your latest (v3) patchset - grouper fails buildman and make. And I don't know where you are getting the '-Pr' argument w/buildman, my version doesn't support a -r option AFAICT.
tom@tom-ThinkPad-T580:~/denx/uboot-tegra$ buildman tegra30
Building current source for 6 boards (6 threads, 2 jobs per thread)
arm: + grouper_common
+drivers/video/tegra.c:24:30: fatal error: asm/arch/display.h: No such file or directory
+ #include <asm/arch/display.h>
+ ^
+compilation terminated.
+make[3]: *** [drivers/video/tegra.o] Error 1
+make[2]: *** [drivers/video] Error 2
+make[1]: *** [drivers] Error 2
+make: *** [sub-make] Error 2
5 0 1 /6 0:00:14 : beaver
Completed: 6 total built, 6 newly), duration 0:01:26, rate 0.07Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Sunday, April 16, 2023 4:56 AM
To: Tom Warren <[email protected]>
Cc: Jonas Schwöbel <[email protected]>; [email protected]
Subject: RE: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support
External email: Use caution opening links or attachments
Mailing list reduction.
Tom,
May I extend this patchset with adding commits for other t20/t30 devices bringup. They are all typical and look like grouper bringup. This should decrease quantity of separate patches sent involving your assist. Devices in interest are Asus Transformers, LG P880/P895 and Htc One X.
Best regards,
Svyatoslav R.
13 квітня 2023 р. 20:13:25 GMT+03:00, Tom Warren <[email protected]> написав(-ла):
Quoted 150 lines
Svyatoslav,
I tried to build w/V2 of your Nexus patches applied to TOT u-boot-tegra/master, and I get these errors from 'buildman tegra':
aarch64: + p2771-0000-000
(quoted diff) +16
-0+In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2 aarch64: + p2771-0000-500 +In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2These are the two T186 builds, they don't have or use a
clock-tables.h.Please test building your patchset on TOT u-boot-tegra/master _before_ posting. Use buildman (preferred) or 'make
xxx_defconfig&& make' for each Tegra board (cumbersome).I won't take any future patches from you unless they're marked w/'passes buildman' or 'each Tegra board builds OK w/make', etc. I certainly can't push a PR to TomR if it fails to build.
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 11:05 PM
To: Tom Warren <[email protected]>
Cc: Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 8 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory #include <asm/arch/clock.h>Quoted 7 lines
^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed
make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186.
I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.Best regards,
Svyatoslav R.Quoted 79 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/mach-tegra/fuse.c create mode 100644board/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.ccreate 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 configs/grouper_E1565.config create mode 100644
configs/grouper_PM269.configcreate mode 100644 configs/grouper_common_defconfig create mode 100644configs/tilapia.configcreate mode 100644include/configs/grouper.h--
2.37.2
Only last commit (actual Nexus 7 bring up) is specific to Nexus 7, 3 commits before it are common for all devices in interest. I assume they all can be set in one patchset.
Though, I have some concerns about if I am able to get perfect timing of merge. You see, HTC One X and LG P895/P880 require some additional drivers for their panels. I was thinking about getting all these devices into state ready to merge in this sequence and then hold it till I will merge panel and bridge drivers. U-Boot maintainers are a bit worried if there are drivers merged and none of supported devices uses it. Having merge-ready devices should help with passing those drivers.
Another solution may be to merge devices as they are and just pray that there will be no defconfig re-sync which will remove all yet non existing configs (like configs for panel drivers). Maybe you can advice something?
About buildman. I am building on top of U-Boot master. I will look into this deeper and let you know. Sorry for disturbance and thank you for your help and patience.
Best regards,
Svyatoslav R.
17 квітня 2023 р. 18:08:02 GMT+03:00, Tom Warren <[email protected]> написав(-ла):
Quoted 190 lines
This patchset is specific to the Nexus 7, IIUC. If the new devices also fall under that umbrella, then I see no problem with adding them here. But if they don't, maybe an ancillary patchset on top of this one would be better.
Note that I still can't build with your latest (v3) patchset - grouper fails buildman and make. And I don't know where you are getting the '-Pr' argument w/buildman, my version doesn't support a -r option AFAICT.
tom@tom-ThinkPad-T580:~/denx/uboot-tegra$ buildman tegra30 Building current source for 6 boards (6 threads, 2 jobs per thread) arm: + grouper_common(quoted diff) +8
-0+drivers/video/tegra.c:24:30: fatal error: asm/arch/display.h: No such file or directory + #include <asm/arch/display.h> + ^ +compilation terminated. +make[3]: *** [drivers/video/tegra.o] Error 1 +make[2]: *** [drivers/video] Error 2 +make[1]: *** [drivers] Error 2 +make: *** [sub-make] Error 2 5 0 1 /6 0:00:14 : beaverCompleted: 6 total built, 6 newly), duration 0:01:26, rate 0.07
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Sunday, April 16, 2023 4:56 AM
To: Tom Warren <[email protected]>
Cc: Jonas Schwöbel <[email protected]>; [email protected]
Subject: RE: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
Mailing list reduction.
Tom,
May I extend this patchset with adding commits for other t20/t30 devices bringup. They are all typical and look like grouper bringup. This should decrease quantity of separate patches sent involving your assist. Devices in interest are Asus Transformers, LG P880/P895 and Htc One X.
Best regards,
Svyatoslav R.13 квітня 2023 р. 20:13:25 GMT+03:00, Tom Warren <[email protected]> написав(-ла):
Quoted 150 lines
Svyatoslav,
I tried to build w/V2 of your Nexus patches applied to TOT u-boot-tegra/master, and I get these errors from 'buildman tegra':
aarch64: + p2771-0000-000
(quoted diff) +16
-0+In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2 aarch64: + p2771-0000-500 +In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2These are the two T186 builds, they don't have or use a
clock-tables.h.Please test building your patchset on TOT u-boot-tegra/master _before_ posting. Use buildman (preferred) or 'make
xxx_defconfig&& make' for each Tegra board (cumbersome).I won't take any future patches from you unless they're marked w/'passes buildman' or 'each Tegra board builds OK w/make', etc. I certainly can't push a PR to TomR if it fails to build.
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 11:05 PM
To: Tom Warren <[email protected]>
Cc: Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 8 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory #include <asm/arch/clock.h>Quoted 7 lines
^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed
make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186.
I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.Best regards,
Svyatoslav R.Quoted 79 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/mach-tegra/fuse.c create mode 100644board/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.ccreate 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 configs/grouper_E1565.config create mode 100644
configs/grouper_PM269.configcreate mode 100644 configs/grouper_common_defconfig create mode 100644configs/tilapia.configcreate mode 100644include/configs/grouper.h--
2.37.2
I have run buildman on top of u-boot master with 4 commits from the current patchset + 4 more boards bringup (Asus Transformer T20, Asus Transformer T30, LG X3, HTC endeavoru). I have totally 8 commits. Here is log of buildman:
clamor@xeon:/u-boot$ ./tools/buildman/buildman tegra
Building current source for 31 boards (12 threads, 1 job per thread)
arm: w+ dalmore
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ venice2
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ jetson-tk1
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ apalis-tk1
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ cei-tk1-som
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ nyan-big
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ plutux
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ tec
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ ventana
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ transformer_t20
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ paz00
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ trimslice
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ medcom-wide
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ seaboard
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ harmony
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ grouper_common
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ colibri_t20
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ transformer_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ tec-ng
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ endeavoru
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ cardhu
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ x3_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ beaver
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ colibri_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ apalis_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
6 25 0 /31 apalis_t30
Completed: 31 total built, 31 newly), duration 0:05:13, rate 0.10As you can see there are no failures, and warnings are about gcc I use for arm. I assume that the tegra branch you are using may not be up-to-date.
Best regards,
Svyatoslav R.
пн, 17 квіт. 2023 р. о 18:08 Tom Warren <[email protected]> пише:
Quoted 191 lines
This patchset is specific to the Nexus 7, IIUC. If the new devices also fall under that umbrella, then I see no problem with adding them here. But if they don't, maybe an ancillary patchset on top of this one would be better.
Note that I still can't build with your latest (v3) patchset - grouper fails buildman and make. And I don't know where you are getting the '-Pr' argument w/buildman, my version doesn't support a -r option AFAICT.
tom@tom-ThinkPad-T580:~/denx/uboot-tegra$ buildman tegra30 Building current source for 6 boards (6 threads, 2 jobs per thread) arm: + grouper_common(quoted diff) +8
-0+drivers/video/tegra.c:24:30: fatal error: asm/arch/display.h: No such file or directory + #include <asm/arch/display.h> + ^ +compilation terminated. +make[3]: *** [drivers/video/tegra.o] Error 1 +make[2]: *** [drivers/video] Error 2 +make[1]: *** [drivers] Error 2 +make: *** [sub-make] Error 2 5 0 1 /6 0:00:14 : beaverCompleted: 6 total built, 6 newly), duration 0:01:26, rate 0.07
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Sunday, April 16, 2023 4:56 AM
To: Tom Warren <[email protected]>
Cc: Jonas Schwöbel <[email protected]>; [email protected]
Subject: RE: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
Mailing list reduction.
Tom,
May I extend this patchset with adding commits for other t20/t30 devices bringup. They are all typical and look like grouper bringup. This should decrease quantity of separate patches sent involving your assist. Devices in interest are Asus Transformers, LG P880/P895 and Htc One X.
Best regards,
Svyatoslav R.13 квітня 2023 р. 20:13:25 GMT+03:00, Tom Warren <[email protected]> написав(-ла):
Quoted 150 lines
Svyatoslav,
I tried to build w/V2 of your Nexus patches applied to TOT u-boot-tegra/master, and I get these errors from 'buildman tegra':
aarch64: + p2771-0000-000
(quoted diff) +16
-0+In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2 aarch64: + p2771-0000-500 +In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2These are the two T186 builds, they don't have or use a
clock-tables.h.Please test building your patchset on TOT u-boot-tegra/master _before_ posting. Use buildman (preferred) or 'make
xxx_defconfig&& make' for each Tegra board (cumbersome).I won't take any future patches from you unless they're marked w/'passes buildman' or 'each Tegra board builds OK w/make', etc. I certainly can't push a PR to TomR if it fails to build.
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 11:05 PM
To: Tom Warren <[email protected]>
Cc: Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 8 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory #include <asm/arch/clock.h>Quoted 7 lines
^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed
make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186.
I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.Best regards,
Svyatoslav R.Quoted 79 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/mach-tegra/fuse.c create mode 100644board/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.ccreate 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 configs/grouper_E1565.config create mode 100644
configs/grouper_PM269.configcreate mode 100644 configs/grouper_common_defconfig create mode 100644configs/tilapia.configcreate mode 100644include/configs/grouper.h--
2.37.2
Thanks, Svyatoslav.
I do all my testing on top of TOT u-boot-tegra/master, as that's what I'll use to send a PR to TomR. Before I apply any patches, I usually sync to TOT u-boot/master, via 'git rebase', then apply the patches, then build/test.
But in this case, rebasing to TOT u-boot/master has resulted in my dev laptop not being able to run buildman. It fails w/a python error. So I've been applying your patches to TOT u-boot-tegra/master, and trying to build there. That should still build, IMO.
I'll set up another laptop w/a more recent Ubuntu distro & try using buildman there w/u-boot/master. Otherwise, I'll have to do a git bisect of u-boot/master to see where it begins to fail to support buildman.
(Adding TomR for vis, buildman error below:)
tom@tom-ThinkPad-T580:~/denx/uboot-tegra$ buildman tegra
Traceback (most recent call last):
File "/home/tom/denx/uboot-tegra/tools/buildman/buildman", line 24, in <module>
from buildman import control
File "/home/tom/denx/uboot-tegra/tools/buildman/../buildman/control.py", line 6, in <module>
import importlib.resources
ModuleNotFoundError: No module named 'importlib.resources'Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Tuesday, April 18, 2023 12:32 AM
To: Tom Warren <[email protected]>
Cc: Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) support
External email: Use caution opening links or attachments
I have run buildman on top of u-boot master with 4 commits from the current patchset + 4 more boards bringup (Asus Transformer T20, Asus Transformer T30, LG X3, HTC endeavoru). I have totally 8 commits. Here is log of buildman:
clamor@xeon:/u-boot$ ./tools/buildman/buildman tegra Building current source for 31 boards (12 threads, 1 job per thread)
arm: w+ dalmore
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ venice2
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ jetson-tk1
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ apalis-tk1
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ cei-tk1-som
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ nyan-big
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ plutux
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ tec
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ ventana
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ transformer_t20
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ paz00
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ trimslice
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ medcom-wide
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ seaboard
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ harmony
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ grouper_common
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ colibri_t20
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ transformer_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ tec-ng
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ endeavoru
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ cardhu
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ x3_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ beaver
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ colibri_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
arm: w+ apalis_t30
+arm-none-eabi-ld.bfd: warning: -z norelro ignored
6 25 0 /31 apalis_t30
Completed: 31 total built, 31 newly), duration 0:05:13, rate 0.10As you can see there are no failures, and warnings are about gcc I use for arm. I assume that the tegra branch you are using may not be up-to-date.
Best regards,
Svyatoslav R.
пн, 17 квіт. 2023 р. о 18:08 Tom Warren <[email protected]> пише:
Quoted 195 lines
This patchset is specific to the Nexus 7, IIUC. If the new devices also fall under that umbrella, then I see no problem with adding them here. But if they don't, maybe an ancillary patchset on top of this one would be better.
Note that I still can't build with your latest (v3) patchset - grouper fails buildman and make. And I don't know where you are getting the '-Pr' argument w/buildman, my version doesn't support a -r option AFAICT.
tom@tom-ThinkPad-T580:~/denx/uboot-tegra$ buildman tegra30 Building current source for 6 boards (6 threads, 2 jobs per thread) arm: + grouper_common(quoted diff) +8
-0+drivers/video/tegra.c:24:30: fatal error: asm/arch/display.h: No such +file or directory #include <asm/arch/display.h> + ^ +compilation terminated. +make[3]: *** [drivers/video/tegra.o] Error 1 +make[2]: *** [drivers/video] Error 2 +make[1]: *** [drivers] Error 2 +make: *** [sub-make] Error 2 5 0 1 /6 0:00:14 : beaverCompleted: 6 total built, 6 newly), duration 0:01:26, rate 0.07
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Sunday, April 16, 2023 4:56 AM
To: Tom Warren <[email protected]>
Cc: Jonas Schwöbel <[email protected]>; [email protected]
Subject: RE: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
Mailing list reduction.
Tom,
May I extend this patchset with adding commits for other t20/t30 devices bringup. They are all typical and look like grouper bringup. This should decrease quantity of separate patches sent involving your assist. Devices in interest are Asus Transformers, LG P880/P895 and Htc One X.
Best regards,
Svyatoslav R.13 квітня 2023 р. 20:13:25 GMT+03:00, Tom Warren <[email protected]> написав(-ла):
Quoted 153 lines
Svyatoslav,
I tried to build w/V2 of your Nexus patches applied to TOT u-boot-tegra/master, and I get these errors from 'buildman tegra':
aarch64: + p2771-0000-000
(quoted diff) +16
-0+In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2 aarch64: + p2771-0000-500 +In file included from arch/arm/mach-tegra/fuse.c:16:0: +arch/arm/include/asm/arch-tegra/clock.h:42:10: fatal error: +asm/arch/clock-tables.h: No such file or directory #include <asm/arch/clock-tables.h> + ^~~~~~~~~~~~~~~~~~~~~~~~~ +compilation terminated. +make[2]: *** [arch/arm/mach-tegra/fuse.o] Error 1 +make[1]: *** [arch/arm/mach-tegra] Error 2 +make: *** [sub-make] Error 2These are the two T186 builds, they don't have or use a
clock-tables.h.Please test building your patchset on TOT u-boot-tegra/master _before_ posting. Use buildman (preferred) or 'make
xxx_defconfig&& make' for each Tegra board (cumbersome).I won't take any future patches from you unless they're marked w/'passes buildman' or 'each Tegra board builds OK w/make', etc. I certainly can't push a PR to TomR if it fails to build.
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 11:05 PM
To: Tom Warren <[email protected]>
Cc: Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>; [email protected]
Subject: Re: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
чт, 13 квіт. 2023 р. о 02:07 Tom Warren <[email protected]> пише:
Quoted 8 lines
Svyatoslav,
This series (patches 3 & 4, in particular) fails when applied to u-boot-tegra/master TOT. Error snippet is below (from make p2771-0000-500_defconfig && make):
CC
arch/arm/mach-tegra/fuse.oarch/arm/mach-tegra/fuse.c:14:10: fatal error:asm/arch/clock.h: No such file or directory #include <asm/arch/clock.h>Quoted 7 lines
^~~~~~~~~~~~~~~~~~compilation terminated.
scripts/Makefile.build:256: recipe for target 'arch/arm/mach-tegra/fuse.o' failed
make[1]: *** [arch/arm/mach-tegra/fuse.o] Error 1 Makefile:1845: recipe for target 'arch/arm/mach-tegra' failed
make: *** [arch/arm/mach-tegra] Error 2Hello Tom.
Thanks for your check. Issue was caused by non exposed headers for T186.
I have fixed that in v2, I hope buildman will pass. Additionally I have modified grouper defconfig in such a way that it should pass even without device fragment.Best regards,
Svyatoslav R.Quoted 82 lines
buildman/tegra also fails for that board, and 2 others. Removing those two patches (3 & 4 in your Nexus7 patchset) gets make & buildman working again. Buildman/tegra worked fine on the base u-boot-tegra/master repo (before I applied your patchset w/git am).
PTAL,
Tom
-----Original Message-----
From: Svyatoslav Ryhel <[email protected]>
Sent: Wednesday, April 12, 2023 12:50 PM
To: Tom Warren <[email protected]>; Svyatoslav Ryhel <[email protected]>; Marek Vasut <[email protected]>; Philippe Reynes <[email protected]>; Marcel Ziswiler <[email protected]>; Fabio Estevam <[email protected]>; Simon Glass <[email protected]>; Jonas Schwöbel <[email protected]>
Cc: [email protected]
Subject: [PATCH v1 0/4] Tegra: add ASUS/Google Nexus 7 (2012) supportExternal email: Use caution opening links or attachments
This patchset adds support for native use of U-Boot on ASUS/Google Nexus 7 (2012), aka grouper/tilapia as a replacement of vendor bootloader. 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 UIDJonas Schwöbel (1):
configs: tegra-common-post: make PXE and DHCP boot targets
optionalSvyatoslav Ryhel (3):
configs: tegra-common-post: add GPIO keyboard as STDIN device
ARM: tegra: add SoC UID calculation function
board: asus: grouper: add Google Nexus 7 (2012) supportarch/arm/dts/Makefile | 3 + arch/arm/dts/tegra30-asus-grouper-common.dtsi | 125 ++++++ .../dts/tegra30-asus-nexus7-grouper-E1565.dts | 40 ++ .../dts/tegra30-asus-nexus7-grouper-PM269.dts | 65 ++++ .../dts/tegra30-asus-nexus7-tilapia-E1565.dts | 40 ++ arch/arm/include/asm/arch-tegra/fuse.h | 7 + arch/arm/mach-tegra/Makefile | 2 +- arch/arm/mach-tegra/fuse.c | 151 ++++++++ arch/arm/mach-tegra/tegra30/Kconfig | 5 + board/asus/grouper/Kconfig | 20 + board/asus/grouper/MAINTAINERS | 6 + board/asus/grouper/Makefile | 14 + board/asus/grouper/grouper-spl-max.c | 46 +++ board/asus/grouper/grouper-spl-ti.c | 42 ++ board/asus/grouper/grouper.c | 209 ++++++++++ board/asus/grouper/pinmux-config-grouper.h | 362 ++++++++++++++++++ configs/grouper_E1565.config | 2 + configs/grouper_PM269.config | 2 + configs/grouper_common_defconfig | 85 ++++ configs/tilapia.config | 3 + include/configs/grouper.h | 68 ++++ include/configs/tegra-common-post.h | 28 +- 22 files changed, 1319 insertions(+), 6 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/mach-tegra/fuse.c create mode 100644board/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.ccreate 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 configs/grouper_E1565.config create mode100644
configs/grouper_PM269.configcreate mode 100644 configs/grouper_common_defconfig create mode 100644configs/tilapia.configcreate mode 100644include/configs/grouper.h--
2.37.2