sun6i: Add defconfig for MSI Primo81 tablet
PATCH 1/2 sun6i: Add defconfig for MSI Primo81 tablet
This patch uses the same ZQ and DRAM clock settings as in the pre-installed Android firmware.
--- board/sunxi/Kconfig | 13 +++++++++++++ board/sunxi/MAINTAINERS | 5 +++++ configs/MSI_Primo81_defconfig | 12 ++++++++++++ 3 files changed, 30 insertions(+) create mode 100644 configs/MSI_Primo81_defconfig
board/sunxi/Kconfig +13 -0
@@ -149,6 +149,19 @@ config TARGET_MINI_X bool "MINI_X" depends on MACH_SUN4I +config TARGET_MSI_PRIMO81 + bool "MSI Primo81 (7.85\" tablet)" + depends on MACH_SUN6I + ---help--- + The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND, + 1024x768 IPS LCD display, mono speaker, 0.3 MP front camera, 2.0 MP + rear camera, 3500 mAh battery, gt911 touchscreen, mma8452 accelerometer + and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons + (both volume buttons are also connected to the UBOOT_SEL pin). The + external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB + OTG and 3.5mm headphone jack. More details are available at + http://linux-sunxi.org/MSI_Primo81 + config TARGET_BA10_TV_BOX bool "BA10_TV_BOX" depends on MACH_SUN4I
board/sunxi/MAINTAINERS +5 -0
@@ -66,3 +66,8 @@ IPPO-Q8H-V5 BOARD M: Chen-Yu Tsai <[email protected]> S: Maintained F: configs/Ippo_q8h_v5_defconfig + +MSI-PRIMO81 BOARD +M: Siarhei Siamashka <[email protected]> +S: Maintained +F: configs/MSI_Primo81_defconfig
configs/MSI_Primo81_defconfig new file +12 -0
@@ -0,0 +1,12 @@ +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="" +CONFIG_FDTFILE="sun6i-a31s-primo81.dtb" +CONFIG_USB_KEYBOARD=n ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN6I=y ++S:CONFIG_TARGET_MSI_PRIMO81=y ++S:CONFIG_DRAM_CLK=360 ++S:CONFIG_DRAM_ZQ=122 +# Wifi power ++S:CONFIG_AXP221_DLDO1_VOLT=3300
Signature · 1 line
2.0.4
PATCH 2/2 sun7i: Add defconfig for MSI Primo73 tablet
This patch uses the same DRAM settings as in the pre-installed Android firmware. The LCD display is supported too.
---
The LCD settings are only useful with the recent u-boot video patches from Hans de Goede, but do not cause any harm even without them.
board/sunxi/Kconfig | 13 +++++++++++++ board/sunxi/MAINTAINERS | 5 +++++ board/sunxi/Makefile | 1 + configs/MSI_Primo73_defconfig | 12 ++++++++++++ 4 files changed, 31 insertions(+) create mode 100644 configs/MSI_Primo73_defconfig
board/sunxi/Kconfig +13 -0
@@ -149,6 +149,19 @@ config TARGET_MINI_X bool "MINI_X" depends on MACH_SUN4I +config TARGET_MSI_PRIMO73 + bool "MSI Primo73 (7\" tablet)" + depends on MACH_SUN7I + ---help--- + The MSI Primo73 is an A20 based tablet, with 1G RAM, 16G NAND, + 1024x600 TN LCD display, mono speaker, 0.3 MP front camera, 2.0 MP + rear camera, 3000 mAh battery, gt911 touchscreen, mma8452 accelerometer + and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons + (both volume buttons are also connected to the UBOOT_SEL pin). The + external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB + OTG and 3.5mm headphone jack. More details are available at + http://linux-sunxi.org/MSI_Primo73 + config TARGET_MSI_PRIMO81 bool "MSI Primo81 (7.85\" tablet)" depends on MACH_SUN6I
board/sunxi/MAINTAINERS +5 -0
@@ -67,6 +67,11 @@ M: Chen-Yu Tsai <[email protected]> S: Maintained F: configs/Ippo_q8h_v5_defconfig +MSI-PRIMO73 BOARD +M: Siarhei Siamashka <[email protected]> +S: Maintained +F: configs/MSI_Primo73_defconfig + MSI-PRIMO81 BOARD M: Siarhei Siamashka <[email protected]> S: Maintained
board/sunxi/Makefile +1 -0
@@ -31,6 +31,7 @@ obj-$(CONFIG_TARGET_MELE_A1000G) += dram_sun4i_360_1024_iow8.o obj-$(CONFIG_TARGET_MELE_M3) += dram_sun7i_384_1024_iow16.o obj-$(CONFIG_TARGET_MINI_X) += dram_sun4i_360_512.o obj-$(CONFIG_TARGET_MINI_X_1GB) += dram_sun4i_360_1024_iow16.o +obj-$(CONFIG_TARGET_MSI_PRIMO73) += dram_sun7i_384_1024_iow16.o obj-$(CONFIG_TARGET_PCDUINO3) += dram_linksprite_pcduino3.o obj-$(CONFIG_TARGET_QT840A) += dram_sun7i_384_512_busw16_iow16.o obj-$(CONFIG_TARGET_R7DONGLE) += dram_r7dongle.o
configs/MSI_Primo73_defconfig new file +12 -0
@@ -0,0 +1,12 @@ +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER" +CONFIG_FDTFILE="sun7i-a20-primo73.dtb" +CONFIG_VIDEO_LCD_MODE="x:1024,y:600,depth:18,pclk_khz:60000,le:60,ri:160,up:13,lo:12,hs:100,vs:10,sync:0,vmode:0" +CONFIG_VIDEO_LCD_POWER="PH8" +CONFIG_VIDEO_LCD_BL_EN="PH7" +CONFIG_VIDEO_LCD_BL_PWM="PB2" +CONFIG_USB_KEYBOARD=n ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN7I=y ++S:CONFIG_TARGET_MSI_PRIMO73=y
Signature · 1 line
2.0.4
PATCH 1/2 sun6i: Add defconfig for MSI Primo81 tablet
In reply to Siarhei SiamashkaHi,
Thanks, I've queued both patch up in u-boot-sunxi/next. Note I've changed the sync:0 to sync:3 in the LCD_MODE for the Primo73, because of:
https://github.com/jwrdegoede/u-boot-sunxi/commit/5a6b9376f78128d00459db21da80f17ad3473d3a
Before the above commit the lcd-code was ignoring the sync field, but now it honors it, and to get the lcd-code to behave the same as android you need sync:3
I've updated:
To reflect this.
Regards,
Hans
Quoted 67 lines · Siarhei Siamashka
This patch uses the same ZQ and DRAM clock settings as in the pre-installed Android firmware.
Signed-off-by Siarhei Siamashka <[email protected]>--- board/sunxi/Kconfig | 13 +++++++++++++ board/sunxi/MAINTAINERS | 5 +++++ configs/MSI_Primo81_defconfig | 12 ++++++++++++ 3 files changed, 30 insertions(+)create mode 100644 configs/MSI_Primo81_defconfig
board/sunxi/Kconfig +13
-0@@ -149,6 +149,19 @@ config TARGET_MINI_X bool "MINI_X" depends on MACH_SUN4I +config TARGET_MSI_PRIMO81 + bool "MSI Primo81 (7.85\" tablet)" + depends on MACH_SUN6I + ---help--- + The MSI Primo81 is an A31s based tablet, with 1G RAM, 16G NAND, + 1024x768 IPS LCD display, mono speaker, 0.3 MP front camera, 2.0 MP + rear camera, 3500 mAh battery, gt911 touchscreen, mma8452 accelerometer + and rtl8188etv usb wifi. Has "power", "volume+" and "volume-" buttons + (both volume buttons are also connected to the UBOOT_SEL pin). The + external connectors are represented by MicroSD slot, MiniHDMI, MicroUSB + OTG and 3.5mm headphone jack. More details are available at + http://linux-sunxi.org/MSI_Primo81 + config TARGET_BA10_TV_BOX bool "BA10_TV_BOX" depends on MACH_SUN4Iboard/sunxi/MAINTAINERS +5
-0@@ -66,3 +66,8 @@ IPPO-Q8H-V5 BOARD M: Chen-Yu Tsai <[email protected]> S: Maintained F: configs/Ippo_q8h_v5_defconfig + +MSI-PRIMO81 BOARD +M: Siarhei Siamashka <[email protected]> +S: Maintained +F: configs/MSI_Primo81_defconfigconfigs/MSI_Primo81_defconfig new file +12
-0@@ -0,0 +1,12 @@ +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="" +CONFIG_FDTFILE="sun6i-a31s-primo81.dtb" +CONFIG_USB_KEYBOARD=n ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN6I=y ++S:CONFIG_TARGET_MSI_PRIMO81=y ++S:CONFIG_DRAM_CLK=360 ++S:CONFIG_DRAM_ZQ=122 +# Wifi power ++S:CONFIG_AXP221_DLDO1_VOLT=3300
PATCH 1/2 sun6i: Add defconfig for MSI Primo81 tablet
Quoted 11 lines · On Sat, 27 Dec 2014 14:16:36 +0100 Hans de Goede <[email protected]> wrote:
Hi,
Thanks, I've queued both patch up in u-boot-sunxi/next. Note I've changed the sync:0 to sync:3 in the
LCD_MODEfor the Primo73, because of:https://github.com/jwrdegoede/u-boot-sunxi/commit/5a6b9376f78128d00459db21da80f17ad3473d3a
Before the above commit the lcd-code was ignoring the sync field, but now it honors it, and to get the lcd-code to behave the same as android you need sync:3
OK. Though now I wonder if I actually should have waited until the LCD code lands to the sunxi 'next' branch. Just to safeguard against any other potentially incompatible changes.
Quoted 5 lines
I've updated:
To reflect this.
Thanks!
Signature · 2 lines
Best regards, Siarhei Siamashka