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 
> 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=33&t=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-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

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-10 Thread Lars Doelle
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?


> 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.

Sure. Now that I have a working mainline u-boot, I already planned to turn
towards dtb next, to get mainline linux going.


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 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 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-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.