sun50i: a64: Add Olimex A64-Teres-I board initial support
Subsystems (2)
PATCH v3 1/1 sun50i: a64: Add Olimex A64-Teres-I board initial support
Olimex A64-Teres-I board is a mainboard (the only one so far) for Olimex Teres-I DIY laptop kit.
Key features:
- Allwinner A64 Cortex-A53
- Mali-400MP2 GPU
- AXP803 PMIC
- 2GB DDR3 RAM
- MicroSD Slot
- 16GB eMMC Flash
- eDP LCD display
- HDMI
- USB Host
- Battery management
- 5V DC power supply
- Certified Open Source Hardware (OSHW)
Works:
- i2C
- MMC/SD
- PWM backlight
Known broken:
- USB
Company page: https://linux-sunxi.org/Olimex_Teres-A64
Community page: https://linux-sunxi.org/Olimex_Teres-A64
hardware sources:
https://github.com/OLIMEX/DIY-LAPTOP/tree/master/HARDWARE/A64-TERES/TERES-PCB1-A64-MAIN
This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree).
Linux commit details about the sun50i-a64-teres-i.dts sync:
"arm64: dts: allwinner: a64: Rename uart0_pins_a label to uart0_pb_pins" (sha1: d91ebb95b96c8840932dc3a10c9f243712555467)
Cosmetic warnings regarding whitespace and placement of SPDX notice for dts file was ignored.
config and .dtsi file are adapted from pinebook files.
---
Changes for v2:
* List Icenowy and Jonas as MAINTAINERS
* Add commit hash in linux tree for sun50i-a64-teres-i.dts
* Drop superfluous and unsupported Author: tag
Changes for v3:
* Use tags sun50i a64 (not sunxi)
* List key, working, and known broken features
* Reference upstream pages.
* Reference linux commit
--- MAINTAINERS | 8 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi | 41 +++ arch/arm/dts/sun50i-a64-teres-i.dts | 270 ++++++++++++++++++++ configs/teres_i_defconfig | 21 ++ 5 files changed, 342 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi create mode 100644 arch/arm/dts/sun50i-a64-teres-i.dts create mode 100644 configs/teres_i_defconfig
MAINTAINERS +8 -0
@@ -319,6 +319,14 @@ F: arch/arm/include/asm/arch-sunxi/ F: arch/arm/mach-sunxi/ F: board/sunxi/ +ARM SUNXI OLIMEX TERES-I +M: Jonas Smedegaard <[email protected]> +M: Icenowy Zheng <[email protected]> +S: Maintained +T: git https://salsa.debian.org/js/u-boot +F: arch/arm/dts/sun50i-a64-teres-i* +F: configs/teres_i_defconfig + ARM TEGRA M: Tom Warren <[email protected]> S: Maintained
arch/arm/dts/Makefile +2 -1
@@ -483,7 +483,8 @@ dtb-$(CONFIG_MACH_SUN50I) += \ sun50i-a64-pine64-plus.dtb \ sun50i-a64-pine64.dtb \ sun50i-a64-pinebook.dtb \ - sun50i-a64-sopine-baseboard.dtb + sun50i-a64-sopine-baseboard.dtb \ + sun50i-a64-teres-i.dtb dtb-$(CONFIG_MACH_SUN9I) += \ sun9i-a80-optimus.dtb \ sun9i-a80-cubieboard4.dtb \
arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi new file +41 -0
41 lines not on this page · raw message
arch/arm/dts/sun50i-a64-teres-i.dts new file +270 -0
270 lines not on this page · raw message
configs/teres_i_defconfig new file +21 -0
@@ -0,0 +1,21 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL=y +CONFIG_MACH_SUN50I=y +CONFIG_DRAM_CLK=552 +CONFIG_DRAM_ZQ=3881949 +CONFIG_MMC_SUNXI_SLOT_EXTRA=2 +CONFIG_I2C0_ENABLE=y +# CONFIG_CMD_FLASH is not set +# CONFIG_SPL_DOS_PARTITION is not set +# CONFIG_SPL_EFI_PARTITION is not set +CONFIG_DEFAULT_DEVICE_TREE="sun50i-a64-teres-i" +CONFIG_DM_REGULATOR=y +CONFIG_DM_REGULATOR_FIXED=y +CONFIG_DM_PWM=y +CONFIG_PWM_SUNXI=y +CONFIG_USB_EHCI_HCD=y +CONFIG_SYS_USB_EVENT_POLL_VIA_INT_QUEUE=y +# CONFIG_USB_GADGET is not set +CONFIG_VIDEO_BRIDGE=y +CONFIG_VIDEO_BRIDGE_ANALOGIX_ANX6345=y
Signature · 1 line
2.20.1
PATCH v3 1/1 sun50i: a64: Add Olimex A64-Teres-I board initial support
Quoted 18 lines · Jonas Smedegaard
Olimex A64-Teres-I board is a mainboard (the only one so far) for Olimex Teres-I DIY laptop kit.
Key features:
- Allwinner A64 Cortex-A53
- Mali-400MP2 GPU
- AXP803 PMIC
- 2GB DDR3 RAM
- MicroSD Slot
- 16GB eMMC Flash
- eDP LCD display
- HDMI
- USB Host
- Battery management
- 5V DC power supply
- Certified Open Source Hardware (OSHW)
Quoted 7 lines
Works:
- i2C
- MMC/SD
- PWM backlightKnown broken:
- USB
what is broken? any information?
Quoted 5 lines
Company page: https://linux-sunxi.org/Olimex_Teres-A64
Community page: https://linux-sunxi.org/Olimex_Teres-A64
hardware sources:
https://github.com/OLIMEX/DIY-LAPTOP/tree/master/HARDWARE/A64-TERES/TERES-PCB1-A64-MAIN
I usually won't prefer these links in commit message.
Quoted 45 lines
This patch enables support for the A64-Teres-I board to u-boot, including enabling screen backlight (lacking from Linux device-tree).
Linux commit details about the
sun50i-a64-teres-i.dtssync:
"arm64: dts: allwinner: a64: Renameuart0_pins_alabel touart0_pb_pins" (sha1:d91ebb95b96c8840932dc3a10c9f243712555467)Cosmetic warnings regarding whitespace and placement of SPDX notice for dts file was ignored.
config and .dtsi file are adapted from pinebook files.
Tested-by Jonas Smedegaard <[email protected]>Signed-off-by Jonas Smedegaard <[email protected]>---
Changes for v2:
* List Icenowy and Jonas asMAINTAINERS
* Add commit hash in linux tree forsun50i-a64-teres-i.dts
* Drop superfluous and unsupported Author: tagChanges for v3:
* Use tags sun50i a64 (not sunxi)
* List key, working, and known broken features
* Reference upstream pages.
* Reference linux commit--- MAINTAINERS | 8 + arch/arm/dts/Makefile | 3 +- arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi | 41 +++ arch/arm/dts/sun50i-a64-teres-i.dts | 270 ++++++++++++++++++++ configs/teres_i_defconfig | 21 ++ 5 files changed, 342 insertions(+), 1 deletion(-) create mode 100644 arch/arm/dts/sun50i-a64-teres-i-u-boot.dtsi create mode 100644 arch/arm/dts/sun50i-a64-teres-i.dts create mode 100644 configs/teres_i_defconfigMAINTAINERS +0
-0
MAINTAINERS F: arch/arm/include/asm/arch-sunxi/ · line 326
Quoted 8 lines
MAINTAINERS +5
-0@@ -319,6 +319,14 @@ F: arch/arm/include/asm/arch-sunxi/ F: arch/arm/mach-sunxi/ F: board/sunxi/ +ARM SUNXI OLIMEX TERES-I +M: Jonas Smedegaard <[email protected]> +M: Icenowy Zheng <[email protected]> +S: Maintained +T: git https://salsa.debian.org/js/u-boot
Is there any relation to this tree to Mainline. usually the git tree which are preparing PR's can list like this otherwise no need.
PATCH v3 1/1 sun50i: a64: Add Olimex A64-Teres-I board initial support
Quoting Jagan Teki (2019-04-18 18:57:59)
Quoted 5 lines · Jonas Smedegaard
Quoted 2 lines
Known broken:
- USBwhat is broken? any information?
Below is the console output - neither builtin USB1 keyboard nor an external USB USB2 hub with a USB1 keyboard attached are detected:
U-Boot 2019.04-00502-g3a85a96182-dirty (Apr 18 2019 - 17:12:25 +0200) Allwinner Technology
CPU: Allwinner A64 (SUN50I) Model: Olimex A64 Teres-I DRAM: 2 GiB MMC: Device 'mmc at 1c11000': seq 1 is in use by 'mmc at 1c10000' mmc at 1c0f000: 0, mmc at 1c10000: 2, mmc at 1c11000: 1 Loading Environment from FAT... OK In: serial Out: vidconsole Err: vidconsole Net: No ethernet found.
starting USB...
Bus usb at 1c1b000: USB EHCI 1.00
scanning bus usb at 1c1b000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=> usb tree
USB device tree:
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
Quoted 6 lines
Quoted 4 lines
Company page: https://linux-sunxi.org/Olimex_Teres-A64
Community page: https://linux-sunxi.org/Olimex_Teres-A64
hardware sources:
https://github.com/OLIMEX/DIY-LAPTOP/tree/master/HARDWARE/A64-TERES/TERES-PCB1-A64-MAINI usually won't prefer these links in commit message.
Ok, I'll remove those.
Quoted 8 lines
Quoted 8 lines
MAINTAINERS +0
-0@@ -319,6 +319,14 @@ F: arch/arm/include/asm/arch-sunxi/ F: arch/arm/mach-sunxi/ F: board/sunxi/
Quoted 8 lines
MAINTAINERS F: arch/arm/include/asm/arch-sunxi/ · line 326
Quoted 5 lines
MAINTAINERS +5
-0+ARM SUNXI OLIMEX TERES-I +M: Jonas Smedegaard <[email protected]> +M: Icenowy Zheng <[email protected]> +S: Maintained +T: git https://salsa.debian.org/js/u-bootIs there any relation to this tree to Mainline. usually the git tree which are preparing PR's can list like this otherwise no need.
Ok. Probably best I remove that line, then.
- Jonas
Signature · 11 lines
* Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190418/88ca820b/attachment.sig>
PATCH v3 1/1 sun50i: a64: Add Olimex A64-Teres-I board initial support
Quoting Jonas Smedegaard (2019-04-18 20:22:28)
Quoted 23 lines
Quoting Jagan Teki (2019-04-18 18:57:59)
Quoted 5 lines · Jonas Smedegaard
Quoted 2 lines
Known broken:
- USBwhat is broken? any information?
Below is the console output - neither builtin USB1 keyboard nor an external USB USB2 hub with a USB1 keyboard attached are detected:
U-Boot 2019.04-00502-g3a85a96182-dirty (Apr 18 2019 - 17:12:25 +0200) Allwinner Technology
CPU: Allwinner A64 (SUN50I) Model: Olimex A64 Teres-I DRAM: 2 GiB MMC: Device 'mmc at 1c11000': seq 1 is in use by 'mmc at 1c10000' mmc at 1c0f000: 0, mmc at 1c10000: 2, mmc at 1c11000: 1 Loading Environment from FAT... OK In: serial Out: vidconsole Err: vidconsole Net: No ethernet found.
Quoted 9 lines
starting USB...
Bus usb at 1c1b000: USB EHCI 1.00
scanning bus usb at 1c1b000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Hit any key to stop autoboot: 0
=> usb tree
USB device tree:
1 Hub (480 Mb/s, 0mA)
u-boot EHCI Host Controller
...and "dm tree" contains this:
[...]
regulator 0 [ ] fixed regulator |-- usb1-vbus regulator 1 [ + ] fixed regulator |-- regulator at 0
[...]
Also, if I enable CONFIG_USB_OHCI_HCD (noticing that was done generally for a64 boards recently in commit 29d280c88a), then u-boot hangs just after the "Bus usb at 1c1b000: USB EHCI 1.00".
General question: Is it appropriate to cc this many individuals (resolved by the patman script), or if not which are appropriate?
- Jonas
Signature · 11 lines
* Jonas Smedegaard - idealist & Internet-arkitekt * Tlf.: +45 40843136 Website: http://dr.jones.dk/ [x] quote me freely [ ] ask before reusing [ ] keep private -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 833 bytes Desc: signature URL: <http://lists.denx.de/pipermail/u-boot/attachments/20190418/9030df0a/attachment.sig>