Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-11 Thread Luc Verhaegen
On Sat, Jan 10, 2015 at 05:02:58PM +0100, Lars Doelle wrote:
 Hi Luc,
 
 thank you for reviewing the device description so throughout. I'll work
 through your comments doing my best to make the description confirm
 to your standards.
 
  This is an Inet K970??, and like all inet devices this is very often 
  rebadged.
 
 Referring to some of your notes [[Inet K970]]:
 
  As described in the wiki page, please fire up android, and 
  find out the last 1-2 letters, which usually are tied to a given display 
  size and wifi module, and use this name everywhere instead.
 
 I broke the Android partition while probing ft5x_ts prior starting the
 device description, so I could not report the Android's bits anymore.
 Meanwhile I restored the image. Anyway, if you mean the 'Build number',
 its in the wiki page now, saying:
 
   A20_K9701_K9701L2B_1210239.20121030
 
 Otherwise I'm not clear, to what you might refer to by last 1-2 letters.

Ok, let's keep the name at K970 for now, perhaps no other K970 devices 
will turn up. The K970 can be found on aliexpress though.

 Another point you notices, is the Wifi part. If possible, please reread
 what i wrote there:
 
 1) The first link is IMO a proper reference to the relevant Wifi section.

Yes and no. The way i changed it makes it conform to the other devices, 
and, it is more future proof, meaning that you will not have to go 
revisit when the wifi page changes, or the status of this driver 
changes.

 2) The second link refers to a patch making the third USB-head going,
 to which the RTL8723AU, which is USB-device is connected. So it was
 not in the fex. If I did something wrong activating it this way, I like know
 about it.

Nobody has so far gone and created a bluetooth page.

 
 For the OTG,  state is as described. W.r.t. OTG the only note on the
 [[USB]] page is:
 
 On an Hackberry and A20-based tablet (with a single OTG USB port) the
 main sunxi-3.4 branch kernel (as of 22 Nov 2013) with default defconfig
 settings also seems to leave USB devices without power. This can be fixed
 by enabling the Inventra Highspeed Dual Role Controller in Device Drivers
 - USB Support and selecting the Allwinner Platform Glue option.
 
 By saying This is standard A20 stuff. Move to the USB page., do you
 mean I should not use this options? Otherwise I could file a proper report
 of the state.

Yes, this is specific to the A20 SoC. All A20 based devices have OTG 
issues as the A20 - sunxi codebase otg port was not complete.

 For the last points, uart and pictures, this basically a matter of equipment.
 
 As this is the first time for me dealing with small electronics and I to check
 whether my probes and soldering stuff are sharp enough for this purpose.
 Contrary to the other Inet board pictures in the wiki, i could not locate any
 writings on the board indicating the uart on the first examination. Thus 
 almost
 certainly, I'll have to probe them.

Get a good board picture. The picture of the board on the inet site very 
clearly shows the uart pins.

 Most of the pictures have been taken free-hand though with some support
 with the flash deactivated causing them to become blurry. I'm looking to get
 a tripod, perhaps this will do better. For the same reason, I did not yet
 publish a detailed picture of the board and its chips.

Try multiple passes for focussing correctly, and try supporting your 
elbows.

Thanks for sticking with this. This could be another solidly supported 
and properly documented device.

Luc Verhaegen.

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet - ( bluetooth )

2015-01-11 Thread 'Al Thomas' via linux-sunxi


- Original Message -
 From: Lars Doelle lars.doe...@on-line.de
 Sent: Saturday, 10 January 2015, 18:03
 Subject: Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 
 tablet


 Getting bluetooth more properly going is on my list, and I'll gladly put my 
 findings on the wiki.


Bluetooth (AP6210) is also on my list (but it's a long list).

A few links I have bookmarked if they are any help to you:

3.4 kernel:

 - http://linux-sunxi.org/Cubietruck/Bluetooth
 - http://archlinuxarm.org/forum/viewtopic.php?f=33t=7253 - 
Got bluetooth working on Cubietruck - proof of concept


Mainline:
 - http://linux-sunxi.org/User_talk:Sehraf - Sehraf did some research a few 
months ago, conclusion was a 

problem with the set up of the clock
 -https://github.com/wens/linux/commit/b3df2aa9dfb48d58ee590c9686dfc0e3946de5fc 
- ARM: dts: sun7i: add bluetooth module to CubieTruck DTS

Regards,

Al

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-10 Thread Hans de Goede

Hi,

On 10-01-15 00:15, Luc Verhaegen wrote:

On Fri, Jan 09, 2015 at 05:33:17PM +0100, Lars Doelle wrote:

This patch adds settings for yet another A20 tablet.

To reduce the various dram settings, dram_sun7i_384_1024_iow16
has been used. This changes the .trp4 register from 3 to 0 and
lets the device run somewhat underclocked.

No device tree settings have been created for the device, yet.


This is an Inet K970??, and like all inet devices this is very often
rebadged. As described in the wiki page, please fire up android, and
find out the last 1-2 letters, which usually are tied to a given display
size and wifi module, and use this name everywhere instead.


Lars,

First of all thanks for your work on this!

Can you verify that your PCB says it is a Inet K970 ? If it is we
should probably rename the u-boot defconfig to that before merging it.

Also can you please make up a name for the dtb file and add it to
the defconfig, we then need to make sure that when we get the dtb the
names match, but otherwise we end up with people potentially having
u-boot binaries which work with the tablet, but will not boot
(future) upstream kernels.

Regards,

Hans

--
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-10 Thread Lars Doelle
Hi Luc,

thank you for reviewing the device description so throughout. I'll work
through your comments doing my best to make the description confirm
to your standards.

 This is an Inet K970??, and like all inet devices this is very often 
 rebadged.

Referring to some of your notes [[Inet K970]]:


 As described in the wiki page, please fire up android, and 
 find out the last 1-2 letters, which usually are tied to a given display 
 size and wifi module, and use this name everywhere instead.

I broke the Android partition while probing ft5x_ts prior starting the
device description, so I could not report the Android's bits anymore.
Meanwhile I restored the image. Anyway, if you mean the 'Build number',
its in the wiki page now, saying:

  A20_K9701_K9701L2B_1210239.20121030

Otherwise I'm not clear, to what you might refer to by last 1-2 letters.


Another point you notices, is the Wifi part. If possible, please reread
what i wrote there:

1) The first link is IMO a proper reference to the relevant Wifi section.

2) The second link refers to a patch making the third USB-head going,
to which the RTL8723AU, which is USB-device is connected. So it was
not in the fex. If I did something wrong activating it this way, I like know
about it.


For the OTG,  state is as described. W.r.t. OTG the only note on the
[[USB]] page is:

On an Hackberry and A20-based tablet (with a single OTG USB port) the
main sunxi-3.4 branch kernel (as of 22 Nov 2013) with default defconfig
settings also seems to leave USB devices without power. This can be fixed
by enabling the Inventra Highspeed Dual Role Controller in Device Drivers
- USB Support and selecting the Allwinner Platform Glue option.

By saying This is standard A20 stuff. Move to the USB page., do you
mean I should not use this options? Otherwise I could file a proper report
of the state.


For the last points, uart and pictures, this basically a matter of equipment.

As this is the first time for me dealing with small electronics and I to check
whether my probes and soldering stuff are sharp enough for this purpose.
Contrary to the other Inet board pictures in the wiki, i could not locate any
writings on the board indicating the uart on the first examination. Thus almost
certainly, I'll have to probe them.

Most of the pictures have been taken free-hand though with some support
with the flash deactivated causing them to become blurry. I'm looking to get
a tripod, perhaps this will do better. For the same reason, I did not yet
publish a detailed picture of the board and its chips.


Kind Regards,

  Lars

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-10 Thread Hans de Goede

Hi,

On 10-01-15 17:40, Lars Doelle wrote:

Hans,



First of all thanks for your work on this!


Its a pleasure, as a find virtually everything so perfectly prepared. Its some
kind of exciting treasure hunt game, though, as quite some stuff is new for
me.



Can you verify that your PCB says it is a Inet K970 ? If it is we
should probably rename the u-boot defconfig to that before merging it.


The PCB silkscreen is as reported and the Androids build number also
contains K970. Since the devices are re-branded and resold over quite
some pipeline, obscuring everything, I'm glad, to come closer towards a
more proper device identification, now.

The most visual change against what Inet has on their web page
http://www.inet-tek.com/a/K970/20130831/131.html appears to be
the back cover, which is aluminum in my case and has stereo speakers.

Do you want me to re-post the patches under the new name?


Yes please, and with a dtb entry added please.

Thanks  Regards,

Hans

--
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-10 Thread Lars Doelle
  1) The first link is IMO a proper reference to the relevant Wifi section.
 
 Yes and no. The way i changed it makes it conform to the other devices, 
 and, it is more future proof, meaning that you will not have to go 
 revisit when the wifi page changes, or the status of this driver 
 changes.
 
  2) The second link refers to a patch making the third USB-head going,
  to which the RTL8723AU, which is USB-device is connected. So it was
  not in the fex. If I did something wrong activating it this way, I like know
  about it.
 
 Nobody has so far gone and created a bluetooth page.

Just to make sure that we have common understanding here.

My RTL8723AU reference was meant for the Wifi driver's repository
by this name. Support for the bluetooth part is yet another driver.

This is all perhaps old stuff, as it is now maintained in mainline linux.
I'm working to get mainline linux this going for me to learn about the
state of the drivers there. Getting bluetooth more properly going is
on my list, and I'll gladly put my findings on the wiki.


 Thanks for sticking with this. This could be another solidly supported 
 and properly documented device.

Luc, I do, and thank you for all your linux-sunxi work.

Last year, I attended the Linux-Tag and talked to some KDE developer
w.r.t. tablets. His advice was to favor to work on Intel-based ones, but
my opinion is clearly different here. ARM tablets are the only real thing.
Thus I firmly agree, that having another tablet proper is worth the work.

--Lars

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-09 Thread Luc Verhaegen
On Sat, Jan 10, 2015 at 12:15:42AM +0100, Luc Verhaegen wrote:
 On Fri, Jan 09, 2015 at 05:33:17PM +0100, Lars Doelle wrote:
  This patch adds settings for yet another A20 tablet.
  
  To reduce the various dram settings, dram_sun7i_384_1024_iow16
  has been used. This changes the .trp4 register from 3 to 0 and
  lets the device run somewhat underclocked.
  
  No device tree settings have been created for the device, yet.
 
 This is an Inet K970??, and like all inet devices this is very often 
 rebadged. As described in the wiki page, please fire up android, and 
 find out the last 1-2 letters, which usually are tied to a given display 
 size and wifi module, and use this name everywhere instead.
 
 Luc Verhaegen.

cfr http://linux-sunxi.org/Inet_K970

Luc Verhaegen.

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-09 Thread Luc Verhaegen
On Fri, Jan 09, 2015 at 05:33:17PM +0100, Lars Doelle wrote:
 This patch adds settings for yet another A20 tablet.
 
 To reduce the various dram settings, dram_sun7i_384_1024_iow16
 has been used. This changes the .trp4 register from 3 to 0 and
 lets the device run somewhat underclocked.
 
 No device tree settings have been created for the device, yet.

This is an Inet K970??, and like all inet devices this is very often 
rebadged. As described in the wiki page, please fire up android, and 
find out the last 1-2 letters, which usually are tied to a given display 
size and wifi module, and use this name everywhere instead.

Luc Verhaegen.

-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[linux-sunxi] [PATCH] Mainline U-boot -- Tristan Auron Planet 1 tablet

2015-01-09 Thread Lars Doelle
This patch adds settings for yet another A20 tablet.

To reduce the various dram settings, dram_sun7i_384_1024_iow16
has been used. This changes the .trp4 register from 3 to 0 and
lets the device run somewhat underclocked.

No device tree settings have been created for the device, yet.
---
 board/sunxi/Kconfig  |  8 
 board/sunxi/MAINTAINERS  |  5 +
 board/sunxi/Makefile |  1 +
 configs/Tristan_Auron_Planet_1_defconfig | 10 ++
 4 files changed, 24 insertions(+)
 create mode 100644 configs/Tristan_Auron_Planet_1_defconfig

diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig
index 1d47cb7..d21bec2 100644
--- a/board/sunxi/Kconfig
+++ b/board/sunxi/Kconfig
@@ -195,6 +195,14 @@ config TARGET_QT840A
bool QT840A
depends on MACH_SUN7I
 
+config TARGET_TRISTAN_AURON_PLANET_1
+bool Tristan Auron Planet 1 (9.7\ tablet)
+depends on MACH_SUN7I
+---help---
+The Tristan Auron Planet 1 is an A20 based tablet.
+For a detailed description of the device see
+http://linux-sunxi.org/Tristan_Auron_Planet_1
+
 config TARGET_R7DONGLE
bool R7DONGLE
depends on MACH_SUN5I
diff --git a/board/sunxi/MAINTAINERS b/board/sunxi/MAINTAINERS
index d880b63..f02f323 100644
--- a/board/sunxi/MAINTAINERS
+++ b/board/sunxi/MAINTAINERS
@@ -54,6 +54,11 @@ S:   Maintained
 F: board/sunxi/dram_a20_olinuxino_l2.c
 F: configs/A20-OLinuXino-Lime2_defconfig
 
+TRISTAN_AURON_PLANET_1 BOARD
+M: Lars Dölle lars-doe...@on-line.de
+S: Maintained
+F: configs/Tristan_Auron_Planet_1_defconfig
+
 COLOMBUS BOARD
 M: Maxime Ripard maxime.rip...@free-electrons.com
 S: Maintained
diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile
index 805d8c9..eb37a9f 100644
--- a/board/sunxi/Makefile
+++ b/board/sunxi/Makefile
@@ -34,6 +34,7 @@ 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_TRISTAN_AURON_PLANET_1)+= 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
diff --git a/configs/Tristan_Auron_Planet_1_defconfig 
b/configs/Tristan_Auron_Planet_1_defconfig
new file mode 100644
index 000..138be6c
--- /dev/null
+++ b/configs/Tristan_Auron_Planet_1_defconfig
@@ -0,0 +1,10 @@
+CONFIG_SPL=y
+CONFIG_SYS_EXTRA_OPTIONS=AXP209_POWER,USB_EHCI
+CONFIG_VIDEO_LCD_MODE=x:1024,y:768,depth:18,pclk_khz:65000,le:120,ri:180,up:22,lo:13,hs:20,vs:3,sync:3,vmode:0
+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_SUN7I=y
++S:CONFIG_TARGET_TRISTAN_AURON_PLANET_1=y
-- 
2.1.4


-- 
You received this message because you are subscribed to the Google Groups 
linux-sunxi group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to linux-sunxi+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.