Skip to contentSkip to conversation

arm: sunxi: Add support for Pengpod 1000 tablet

PATCH New Bob Ham 3 participants 7 messages May 30, 2018 – Jun 1, 2018

Subsystems (2)
lore
Share & tools
lore

Bob Ham

author
#0 lore raw

PATCH 1/1 arm: sunxi: Add support for Pengpod 1000 tablet

This is initial support for the Pengpod 1000 tablet. The display is not currently working but the UART works fine and allows access to the u-boot console. Memory timing is fine and Linux boots from SD card and runs OK.

---
 arch/arm/dts/Makefile                   |   1 +
 arch/arm/dts/sun4i-a10-pengpod-1000.dts | 246 ++++++++++++++++++++++++++++++++
 configs/PengPod_1000_defconfig          |  22 +++
 3 files changed, 269 insertions(+)
 create mode 100644 arch/arm/dts/sun4i-a10-pengpod-1000.dts
 create mode 100644 configs/PengPod_1000_defconfig
arch/arm/dts/Makefile +1 -0
index a0349a8975..49dcf22984 100644
@@ -265,6 +265,7 @@ dtb-$(CONFIG_MACH_SUN4I) += \
 	sun4i-a10-olinuxino-lime.dtb \
 	sun4i-a10-pcduino.dtb \
 	sun4i-a10-pcduino2.dtb \
+	sun4i-a10-pengpod-1000.dtb \
 	sun4i-a10-pov-protab2-ips9.dtb
 dtb-$(CONFIG_MACH_SUN5I) += \
 	sun5i-a10s-auxtek-t003.dtb \
arch/arm/dts/sun4i-a10-pengpod-1000.dts new file +246 -0

246 lines not on this page · raw message

configs/PengPod_1000_defconfig new file +22 -0
new file mode 100644
index 0000000000..114051cc72
@@ -0,0 +1,22 @@
+CONFIG_ARM=y
+CONFIG_ARCH_SUNXI=y
+CONFIG_SPL=y
+CONFIG_SPL_I2C_SUPPORT=y
+CONFIG_MACH_SUN4I=y
+CONFIG_DRAM_CLK=408
+CONFIG_DRAM_ZQ=123
+CONFIG_DRAM_EMR1=4
+CONFIG_USB1_VBUS_PIN=""
+CONFIG_USB2_VBUS_PIN=""
+CONFIG_USB_EHCI_HCD=y
+CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:18,pclk_khz:51000,le:315,ri:4,up:30,lo:4,hs:1,vs:1,sync:3,vmode:0"
+CONFIG_VIDEO_LCD_POWER="PH8"
+CONFIG_VIDEO_LCD_BL_EN="PH7"
+CONFIG_VIDEO_LCD_BL_PWM="PB2"
+CONFIG_VIDEO_LCD_PANEL_LVDS=y
+CONFIG_DEFAULT_DEVICE_TREE="sun4i-a10-pengpod-1000"
+# CONFIG_SYS_MALLOC_CLEAR_ON_INIT is not set
+# CONFIG_SYS_EXTRA_OPTIONS is not set
+# CONFIG_CMD_IMLS is not set
+# CONFIG_CMD_FLASH is not set
+# CONFIG_CMD_FPGA is not set
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 arm: sunxi: Add support for Pengpod 1000 tablet

Quoted 6 lines · Bob Ham

This is initial support for the Pengpod 1000 tablet. The display is not currently working but the UART works fine and allows access to the u-boot console. Memory timing is fine and Linux boots from SD card and runs OK.

Maxime

Signature · 10 lines
Maxime Ripard, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180531/f0905142/attachment.sig>
#2 lore raw

PATCH 1/1 arm: sunxi: Add support for Pengpod 1000 tablet

In reply to Bob Ham
Quoted 19 lines · Bob Ham

This is initial support for the Pengpod 1000 tablet. The display is not currently working but the UART works fine and allows access to the u-boot console. Memory timing is fine and Linux boots from SD card and runs OK.

---
 arch/arm/dts/Makefile                   |   1 +
 arch/arm/dts/sun4i-a10-pengpod-1000.dts | 246 ++++++++++++++++++++++++++++++++
 configs/PengPod_1000_defconfig          |  22 +++
 3 files changed, 269 insertions(+)
 create mode 100644 arch/arm/dts/sun4i-a10-pengpod-1000.dts
 create mode 100644 configs/PengPod_1000_defconfig
arch/arm/dts/Makefile +0 -0
index a0349a8975..49dcf22984 100644

arch/arm/dts/Makefile dtb-$(CONFIG_MACH_SUN4I) += \ · line 268

Quoted 4 lines
arch/arm/dts/Makefile +1 -0
@@ -265,6 +265,7 @@ dtb-$(CONFIG_MACH_SUN4I) += \
        sun4i-a10-olinuxino-lime.dtb \
        sun4i-a10-pcduino.dtb \
        sun4i-a10-pcduino2.dtb \
+       sun4i-a10-pengpod-1000.dtb \

Is Linux supported this dts or in ML? couldn't find either?

author
#3 lore raw

PATCH 1/1 arm: sunxi: Add support for Pengpod 1000 tablet

Quoted 4 lines · Jagan Teki
Quoted 1 line · Bob Ham

This is initial support for the Pengpod 1000 tablet.

Is Linux supported this dts or in ML? couldn't find either?

I haven't sent the .dts for Linux yet. The U-Boot and Linux .dts was identical when I first created it back in 2017 but they have diverged slightly now, just with some different pinctrl bits in Linux.

I was going to send the Linux .dts after the U-Boot .dts was accepted, in case there were changes needed.

Signature · 11 lines
Bob Ham <[email protected]>

for (;;) { ++pancakes; }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 2913 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180531/470df3bc/attachment.sig>
#4 lore raw

PATCH 1/1 arm: sunxi: Add support for Pengpod 1000 tablet

Quoted 4 lines · Bob Ham
Quoted 2 lines · Jagan Teki
Quoted 1 line · Bob Ham

This is initial support for the Pengpod 1000 tablet.

Quoted 8 lines
Quoted 1 line

Is Linux supported this dts or in ML? couldn't find either?

I haven't sent the .dts for Linux yet. The U-Boot and Linux .dts was identical when I first created it back in 2017 but they have diverged slightly now, just with some different pinctrl bits in Linux.

I was going to send the Linux .dts after the U-Boot .dts was accepted, in case there were changes needed.

It could be other way around, try to send Linux first.

author
#5 lore raw

PATCH 1/1 arm: sunxi: Add support for Pengpod 1000 tablet

Quoted 6 lines · Jagan Teki
Quoted 2 lines · Bob Ham

I was going to send the Linux .dts after the U-Boot .dts was accepted, in case there were changes needed.

It could be other way around, try to send Linux first.

Sent. Out of interest, why Linux first? I would have thought U-Boot first; you can test the U-Boot .dts without Linux but you can't test the Linux .dts without U-Boot :-)

Signature · 11 lines
Bob Ham <[email protected]>

for (;;) { ++pancakes; }

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 2913 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180601/1b6adf46/attachment.sig>
#6 lore raw

PATCH 1/1 arm: sunxi: Add support for Pengpod 1000 tablet

Quoted 11 lines · Bob Ham
Quoted 6 lines · Jagan Teki
Quoted 2 lines · Bob Ham

I was going to send the Linux .dts after the U-Boot .dts was accepted, in case there were changes needed.

It could be other way around, try to send Linux first.

Sent. Out of interest, why Linux first? I would have thought U-Boot first; you can test the U-Boot .dts without Linux but you can't test the Linux .dts without U-Boot :-)

Not may drivers support dt in U-Boot, still need to add. So sending Linux make more reliable with node definitions and we sync few of the nodes or sometimes all(atleast from Allwinner platform)