sunxi: Add Gemei G9 (Allwinner A10/sun4i) tablet
PATCH 1/1 sunxi: Add Gemei G9 (Allwinner A10/sun4i) tablet
Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 accelerometer and RTL8188CUS USB wifi. It also has MicroSD slot, miniHDMI, 1 x MicroUSB OTG port and 1 x MicroUSB host port and 3.5mm headphone jack.
More details are available at: http://linux-sunxi.org/Gemei_G9
--- board/sunxi/MAINTAINERS | 5 +++++ configs/sunxi_Gemei_G9_defconfig | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 configs/sunxi_Gemei_G9_defconfig
board/sunxi/MAINTAINERS +5 -0
@@ -61,6 +61,11 @@ M: Maxime Ripard <[email protected]> S: Maintained F: configs/Colombus_defconfig +GEMEI-G9 TABLET +M: Priit Laes <[email protected]> +S: Maintained +F: configs/sunxi_Gemei_G9_defconfig + HUMMINIGBIRD-A31 BOARD M: Chen-Yu Tsai <[email protected]> S: Maintained
configs/sunxi_Gemei_G9_defconfig new file +20 -0
@@ -0,0 +1,20 @@ +# Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, +# 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP +# rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 +# accelerometer and RTL8188CUS USB wifi. It also has MicroSD slot, MiniHDMI, +# 1 x MicroUSB OTG port and 1 x MicroUSB host port and 3.5mm headphone jack. +# More details are available at: http://linux-sunxi.org/Gemei_G9 +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,USB_EHCI" +CONFIG_FDTFILE="sun4i-gemei-g9.dtb" +CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:18,pclk_khz:100000,le:799,ri:260,up:15,lo:16,hs:1,vs:1,sync:3,vmode:0" +CONFIG_VIDEO_LCD_PANEL_LVDS=y +CONFIG_VIDEO_LCD_POWER="PH8" +CONFIG_VIDEO_LCD_BL_EN="PH7" +CONFIG_VIDEO_LCD_BL_PWM="PB2" ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN4I=y ++S:CONFIG_DRAM_CLK=432 ++S:CONFIG_DRAM_ZQ=123 ++S:CONFIG_DRAM_EMR1=4
Signature · 1 line
2.2.1
PATCH 1/1 sunxi: Add Gemei G9 (Allwinner A10/sun4i) tablet
Hi,
Quoted 9 lines · Priit Laes
Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 accelerometer and RTL8188CUS USB wifi. It also has MicroSD slot, miniHDMI, 1 x MicroUSB OTG port and 1 x MicroUSB host port and 3.5mm headphone jack.
More details are available at: http://linux-sunxi.org/Gemei_G9Signed-off-by Priit Laes <[email protected]>
Thanks, queued up in u-boot-sunxi/next for merging into v2015.04
Regards,
Hans
Quoted 49 lines
--- board/sunxi/MAINTAINERS | 5 +++++ configs/sunxi_Gemei_G9_defconfig | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+)create mode 100644 configs/sunxi_Gemei_G9_defconfig
board/sunxi/MAINTAINERS +5
-0@@ -61,6 +61,11 @@ M: Maxime Ripard <[email protected]> S: Maintained F: configs/Colombus_defconfig +GEMEI-G9 TABLET +M: Priit Laes <[email protected]> +S: Maintained +F: configs/sunxi_Gemei_G9_defconfig + HUMMINIGBIRD-A31 BOARD M: Chen-Yu Tsai <[email protected]> S: Maintainedconfigs/sunxi_Gemei_G9_defconfig new file +20
-0@@ -0,0 +1,20 @@ +# Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, +# 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP +# rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 +# accelerometer and RTL8188CUS USB wifi. It also has MicroSD slot, MiniHDMI, +# 1 x MicroUSB OTG port and 1 x MicroUSB host port and 3.5mm headphone jack. +# More details are available at: http://linux-sunxi.org/Gemei_G9 +CONFIG_SPL=y +CONFIG_SYS_EXTRA_OPTIONS="AXP209_POWER,USB_EHCI" +CONFIG_FDTFILE="sun4i-gemei-g9.dtb" +CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:18,pclk_khz:100000,le:799,ri:260,up:15,lo:16,hs:1,vs:1,sync:3,vmode:0" +CONFIG_VIDEO_LCD_PANEL_LVDS=y +CONFIG_VIDEO_LCD_POWER="PH8" +CONFIG_VIDEO_LCD_BL_EN="PH7" +CONFIG_VIDEO_LCD_BL_PWM="PB2" ++S:CONFIG_ARM=y ++S:CONFIG_ARCH_SUNXI=y ++S:CONFIG_MACH_SUN4I=y ++S:CONFIG_DRAM_CLK=432 ++S:CONFIG_DRAM_ZQ=123 ++S:CONFIG_DRAM_EMR1=4
Quoted 24 lines · On Tue, 20 Jan 2015 15:43:31 +0100 Hans de Goede <[email protected]> wrote:
Hi,
Quoted 9 lines · Priit Laes
Gemei G9 is an A10 based tablet, with 1G RAM, 16G NAND, 1024x768 IPS LCD display, stereo speakers, 1.3MP front camera and 5 MP rear camera, 8000mAh battery, GT901 2+1 touchscreen, Bosch BMA250 accelerometer and RTL8188CUS USB wifi. It also has MicroSD slot, miniHDMI, 1 x MicroUSB OTG port and 1 x MicroUSB host port and 3.5mm headphone jack.
More details are available at: http://linux-sunxi.org/Gemei_G9Signed-off-by Priit Laes <[email protected]>Thanks, queued up in u-boot-sunxi/next for merging into v2015.04
Regards,
Hans
Quoted 5 lines
--- board/sunxi/MAINTAINERS | 5 +++++ configs/sunxi_Gemei_G9_defconfig | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+)create mode 100644 configs/sunxi_Gemei_G9_defconfig
[...]
Quoted 5 lines
configs/sunxi_Gemei_G9_defconfig line 14
Quoted 5 lines
configs/sunxi_Gemei_G9_defconfig new file +5
-0+CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:18,pclk_khz:100000,le:799,ri:260,up:15,lo:16,hs:1,vs:1,sync:3,vmode:0" +CONFIG_VIDEO_LCD_PANEL_LVDS=y +CONFIG_VIDEO_LCD_POWER="PH8" +CONFIG_VIDEO_LCD_BL_EN="PH7" +CONFIG_VIDEO_LCD_BL_PWM="PB2"
We have already talked with plaes on IRC yesterday, just now bringing it here. I have finally updated the http://linux-sunxi.org/LCD page to add LVDS panels data and now for Gemei_G9 we have the following settings there:
CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:24,pclk_khz:100000,le:799,ri:260,up:15,lo:16,hs:1,vs:1,sync:3,vmode:0" CONFIG_VIDEO_LCD_PANEL_LVDS=y
# warning: unsupported 'lcd_lvds_mode' : 1CONFIG_VIDEO_LCD_POWER="PH8"CONFIG_VIDEO_LCD_BL_EN="PH7"CONFIG_VIDEO_LCD_BL_PWM="PB2"
It's good that lcd_lvds_mode=1 apparently works without problems, while this was not fully expected according to
http://lists.denx.de/pipermail/u-boot/2015-January/200168.html
Also confirming whether 18-bit or 24-bit is the correct color depth would be a good idea. This tablet has 'lcd_frm = 1' and 'lcd_lvds_bitwidth = 0' in fex.
Signature · 2 lines
Best regards, Siarhei Siamashka
Quoted 4 lines · Siarhei Siamashka
Quoted 1 line · On Tue, 20 Jan 2015 15:43:31 +0100 Hans de Goede <[email protected]> wrote:
Hi,
[...]
Quoted 14 lines
We have already talked with plaes on IRC yesterday, just now bringing it here. I have finally updated the
http://linux-sunxi.org/LCD page to add LVDS panels data and now forGemei_G9we have the following settings there:
CONFIG_VIDEO_LCD_MODE="x:1024,y:768,depth:24,pclk_khz:100000,le:799,ri:260,up:15,lo:16,hs:1,vs:1,sync:3,vmode:0"
CONFIG_VIDEO_LCD_PANEL_LVDS=y
# warning: unsupported 'lcd_lvds_mode' : 1CONFIG_VIDEO_LCD_POWER="PH8"CONFIG_VIDEO_LCD_BL_EN="PH7"CONFIG_VIDEO_LCD_BL_PWM="PB2"
Quoted 8 lines
It's good that lcd_lvds_mode=1 apparently works without problems, while this was not fully expected according to
http://lists.denx.de/pipermail/u-boot/2015-January/200168.htmlAlso confirming whether 18-bit or 24-bit is the correct color depth would be a good idea. This tablet has '
lcd_frm= 1' and 'lcd_lvds_bitwidth= 0' in fex.
So I tried the 24bit depth setting and it messed up some of the colors (though black remained black and white remained white) in the penguin image in top left corner. Therefore this tablet seems to have 18bit LCD.
P?ikest,
Priit :)