[linux-sunxi] [PATCH 1/2] ARM: clk: sunxi: claim clocks used by simplefb

2014-08-02 Thread Luc Verhaegen
This code claims the display engine clocks used by the simplefb support
in u-boot. Without this code, the relevant blocks in the display engine
get disabled.

Signed-off-by: Luc Verhaegen 
---
 drivers/clk/sunxi/clk-sunxi.c |   54 +
 1 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/drivers/clk/sunxi/clk-sunxi.c b/drivers/clk/sunxi/clk-sunxi.c
index e43ed6a..012e752 100644
--- a/drivers/clk/sunxi/clk-sunxi.c
+++ b/drivers/clk/sunxi/clk-sunxi.c
@@ -1173,6 +1173,56 @@ static void __init of_sunxi_table_clock_setup(const 
struct of_device_id *clk_mat
}
 }
 
+#ifdef CONFIG_FB_SIMPLE
+/*
+ * In this code, we claim the clocks needed by the simple framebuffer as
+ * set up by u-boot. It would've been preferrable to claim the clocks in
+ * the device tree, at boot time by u-boot, but this sort of dt alteration
+ * turns out to be a nightmare.
+ */
+static void __init
+sunxi_init_fb_simple_clocks(void)
+{
+   struct device_node *node;
+   struct clk *clk;
+   int ret;
+
+   node = of_find_compatible_node(NULL, NULL, "simple-framebuffer");
+   if (!node)
+   return;
+
+   ret = of_property_match_string(node, "status", "disabled");
+   if (ret >= 0)
+   return;
+
+   /*
+* Due to a diversion in naming in the dtsi, we cannot simply provide
+* a list.
+*/
+   clk = clk_get(NULL, "ahb_de_be0");
+   if (!IS_ERR(clk))
+   clk_prepare_enable(clk);
+   else
+   pr_warn("%s: claiming de_be0 failed\n", __func__);
+
+   clk = clk_get(NULL, "ahb_lcd0");
+   if (!IS_ERR(clk))
+   clk_prepare_enable(clk);
+   else
+   pr_warn("%s: claiming de_lcd0 failed\n", __func__);
+
+   clk = clk_get(NULL, "ahb_hdmi");
+   if (IS_ERR(clk))
+   clk = clk_get(NULL, "ahb_hdmi0");
+   if (!IS_ERR(clk))
+   clk_prepare_enable(clk);
+   else
+   pr_warn("%s: claiming de_hdmi failed\n", __func__);
+
+   of_node_put(node);
+}
+#endif /* CONFIG_FB_SIMPLE */
+
 static void __init sunxi_init_clocks(const char *clocks[], int nclocks)
 {
unsigned int i;
@@ -1199,6 +1249,10 @@ static void __init sunxi_init_clocks(const char 
*clocks[], int nclocks)
if (!IS_ERR(clk))
clk_prepare_enable(clk);
}
+
+#ifdef CONFIG_FB_SIMPLE
+   sunxi_init_fb_simple_clocks();
+#endif
 }
 
 static const char *sun4i_a10_critical_clocks[] __initdata = {
-- 
1.7.7

-- 
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] android board a 20 black screen error

2014-07-31 Thread Luc Verhaegen
On Thu, Jul 31, 2014 at 09:19:23PM +, hisham wrote:
> hello  
> 
> i have a problem with my android tv box boards ,, i have 20 tv box boards 
> lock at http://tinypic.com/r/mwqezm/8
> 
> it was working with 19 lcd screen then i tried to conected with hdmi cable
> to another 40 inch screen the company send me LCD_PARAM file for hdmi cnfg
> and it worked fine .. mow i want to conected them to the 19 lcd screen by
> lvds i change the LCD_PARAM file but its not working ,, just a black screen
> ,,, the company send me and image frimware but i cant boot it what is the
> soultion for this 

If you want any chance of getting any help on hardware that is not fully 
documented yet, then you better work through this first: 
http://linux-sunxi.org/New_Device_howto

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] promble with compile sunxi3.4

2014-07-31 Thread Luc Verhaegen
On Thu, Jul 31, 2014 at 05:27:10PM +0200, Luc Verhaegen wrote:
> On Thu, Jul 31, 2014 at 08:08:44AM -0700, behrooz vosough wrote:
> > hi
> >  
> > how can i resolve this problem?

Ah, Paulk Collins and Adam Sampson spotted that this was a symbolic 
link.

What filesystem did you check out this git tree on?

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] promble with compile sunxi3.4

2014-07-31 Thread Luc Verhaegen
On Thu, Jul 31, 2014 at 08:08:44AM -0700, behrooz vosough wrote:
> hi
>  
> i want cross compile sunxi3.4 from 
> https://github.com/linux-sunxi/linux-sunxi for cubieboard a20 and use this 
> document http://linux-sunxi.org/Linux_Kernel on my pc(ubuntu 13.10)
> 
> now when i compile have several error
> 
> # make -j4 ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage modules
> [CODE]
>   CHK include/linux/version.h
>   CHK include/generated/utsrelease.h
> make[1]: `include/generated/mach-types.h' is up to date.
>   CALLscripts/checksyscalls.sh
>   CHK include/generated/compile.h
>   CC  arch/arm/mach-sun7i/pm/pm.o
>   CC  arch/arm/mach-sun7i/platsmp.o
> In file included from arch/arm/mach-sun7i/pm/mem_timing.h:21:0,
>  from arch/arm/mach-sun7i/pm/pm.h:18,
>  from arch/arm/mach-sun7i/pm/pm.c:37:
> arch/arm/mach-sun7i/pm/pm_debug.h:1:8: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ 
> or ‘__attribute__’ before ‘/’ token
>  standby/pm_debug.h
> ^
> In file included from arch/arm/mach-sun7i/pm/pm.h:18:0,
>  from arch/arm/mach-sun7i/pm/pm.c:37:
> arch/arm/mach-sun7i/pm/mem_timing.h:34:29: warning: ‘enum counter_type_e’ 
> declared inside parameter list [enabled by default]
>  void set_event_counter(enum counter_type_e type);
>  ^
> arch/arm/mach-sun7i/pm/mem_timing.h:34:29: warning: its scope is only this 
> definition or declaration, which is probably not what you want [enabled by 
> default]
> arch/arm/mach-sun7i/pm/mem_timing.h:35:28: warning: ‘enum counter_type_e’ 
> declared inside parameter list [enabled by default]
>  int get_event_counter(enum counter_type_e type);
> ^
> make[2]: *** [arch/arm/mach-sun7i/pm/pm.o] Error 1
> make[1]: *** [arch/arm/mach-sun7i/pm] Error 2
> make[1]: *** Waiting for unfinished jobs
> make: *** [arch/arm/mach-sun7i] Error 2
> make: *** Waiting for unfinished jobs
> CHK kernel/config_data.h
> [/CODE]
> 
> 
> # make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- INSTALL_MOD_PATH=output 
> [CODE]
> modules_install
>   INSTALL fs/exportfs/exportfs.ko
> cp: cannot stat ‘fs/exportfs/exportfs.ko’: No such file or directory
>   INSTALL fs/jffs2/jffs2.ko
> cp: cannot stat ‘fs/jffs2/jffs2.ko’: No such file or directory
>   INSTALL fs/nfsd/nfsd.ko
> cp: cannot stat ‘fs/nfsd/nfsd.ko’: No such file or directory
>   INSTALL fs/squashfs/squashfs.ko
> cp: cannot stat ‘fs/squashfs/squashfs.ko’: No such file or directory
>   INSTALL fs/ubifs/ubifs.ko
> cp: cannot stat ‘fs/ubifs/ubifs.ko’: No such file or directory
>   MKDIR   output/lib/firmware/emi26
>   INSTALL output/lib/firmware/emi26/loader.fw
>   INSTALL output/lib/firmware/emi26/firmware.fw
>   INSTALL output/lib/firmware/emi26/bitstream.fw
>   MKDIR   output/lib/firmware/emi62
>   INSTALL output/lib/firmware/emi62/loader.fw
>   INSTALL output/lib/firmware/emi62/bitstream.fw
>   INSTALL output/lib/firmware/emi62/spdif.fw
>   INSTALL output/lib/firmware/emi62/midi.fw
>   MKDIR   output/lib/firmware/kaweth
>   INSTALL output/lib/firmware/kaweth/new_code.bin
>   INSTALL output/lib/firmware/kaweth/trigger_code.bin
>   INSTALL output/lib/firmware/kaweth/new_code_fix.bin
>   INSTALL output/lib/firmware/kaweth/trigger_code_fix.bin
>   INSTALL output/lib/firmware/ti_3410.fw
>   INSTALL output/lib/firmware/ti_5052.fw
>   INSTALL output/lib/firmware/mts_cdma.fw
>   INSTALL output/lib/firmware/mts_gsm.fw
>   INSTALL output/lib/firmware/mts_edge.fw
>   MKDIR   output/lib/firmware/edgeport
>   INSTALL output/lib/firmware/edgeport/boot.fw
>   INSTALL output/lib/firmware/edgeport/boot2.fw
>   INSTALL output/lib/firmware/edgeport/down.fw
>   INSTALL output/lib/firmware/edgeport/down2.fw
>   INSTALL output/lib/firmware/edgeport/down3.bin
>   INSTALL output/lib/firmware/whiteheat_loader.fw
>   INSTALL output/lib/firmware/whiteheat.fw
>   MKDIR   output/lib/firmware/keyspan_pda
>   INSTALL output/lib/firmware/keyspan_pda/keyspan_pda.fw
>   INSTALL output/lib/firmware/keyspan_pda/xircom_pgs.fw
>   MKDIR   output/lib/firmware/cpia2
>   INSTALL output/lib/firmware/cpia2/stv0672_vp4.bin
>   DEPMOD  3.4.90
> [/CODE]
> in directory "output\lib\modules\3.4.79-sun7i\kernel" there is just a 
> folder with name"fs" that this folder have five epmty folder 
> 
> 
> # gcc --version
> gcc (Ubuntu/Linaro 4.8.1-10ubuntu8) 4.8.1
> 
> how can i resolve this problem?

This commit looks very suspect:
https://github.com/linux-sunxi/linux-sunxi/commit/b023c8832e

The original file was removed in:
https://github.com/linux-sunxi/linux-sunxi/commit/38209ac7c23

Try changing to contents to:

#include "standby/pm_debug.h"

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] Mainline (linus) mmc issues.

2014-07-30 Thread Luc Verhaegen
On Wed, Jul 30, 2014 at 05:50:43PM +0200, Hans de Goede wrote:
> Hi,
> 
> On 07/30/2014 05:34 PM, Luc Verhaegen wrote:
> > 
> > But this works np with sunxi-3.4.
> 
> The kernel mounting stuff ro and expecting userspace to remount it rw is 
> normal
> behavior (and needed for e.g. fsck to work), I guess the sunxi kernel has some
> hack to change the default behavior.

Hrm. Ok, yet another big todo for me then.

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] Mainline (linus) mmc issues.

2014-07-30 Thread Luc Verhaegen
On Wed, Jul 30, 2014 at 05:17:36PM +0200, Hans de Goede wrote:
> Hi,

> > Any ideas on what the smc 1 err, and CIS tuple 0x80 errors are?
> 
> "smc 1" means the errors are on mmc1 not mmc0, or iow these are errors
> from the sdio probing of the sdio wifi chip.

Ok, is there any reason why they occur?

> > or is there something my 14.04 ubuntu should be aware about with newer 
> > kernels?
> 
> If you want to have your rootfs mounted rw right away by the kernel,
> rather then having it remounted later on by init scripts, you
> need to specify "rw" on the kernel commandline.

But this works np with sunxi-3.4.

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] Mainline (linus) mmc issues.

2014-07-30 Thread Luc Verhaegen
Hi,

On my cubietruck with 3.16.0-rc7-7-g31dab71, my rootfs is not being 
mounted rw, so my ubuntu complains. Manually remounting works.

Here is the relevant section of dmesg:

 sunxi-mmc 1c12000.mmc: No vqmmc regulator found
 sunxi-mmc 1c12000.mmc: base:0xf00f6000 irq:67
 vcc3v0: disabling
 sunxi-mmc 1c12000.mmc: smc 1 err, cmd 8, RTO !!
 mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
 EXT4-fs (mmcblk0p2): couldn't mount as ext3 due to feature incompatibilities
 EXT4-fs (mmcblk0p2): couldn't mount as ext2 due to feature incompatibilities
 mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
 mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
 EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
 VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
 mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
 mmc1: new high speed SDIO card at address 0001

Any ideas on what the smc 1 err, and CIS tuple 0x80 errors are? Are they 
really responsible for the RO mount, or is there something my 14.04 
ubuntu should be aware about with newer kernels?

For completeness, the mmc storage 16GB UHS-1 micro-SD card.

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] new A33 quadcore

2014-07-29 Thread Luc Verhaegen
On Wed, Jul 30, 2014 at 09:09:44AM +1000, Julian Calaby wrote:
> Hi Luc,
> 
> Is this something we could take to Linaro? Do they do anything about
> GPL violations?
> 
> Thanks,

It's in the wiki: http://linux-sunxi.org/A23#GPL_violations

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] new A33 quadcore

2014-07-29 Thread Luc Verhaegen
On Tue, Jul 29, 2014 at 04:42:17PM -0400, jonsm...@gmail.com wrote:
> On Tue, Jul 29, 2014 at 4:33 PM, Luc Verhaegen  wrote:
> >
> > Also, the only person working this platform is wens, and he is going
> > straight to mainline. We do not have a sunxi-3.4 equivalent for a23, and
> > we really are not in a position where we should be overly happy about
> > the a33 release.
> 
> huh?
> http://linux-sunxi.org/A23
> 
> SDK (4GB tarball)
> SDK (unpacked)
> 
> The SDK contains customized sources for U-boot, Linux, Android and
> buildroot. It also has a gnueabi cross compile toolchain.
> 
> SDK Content
> 
> Linux Kernel: A23/lichee/linux-3.4
> Buildroot: A23/lichee/buildroot
> U-boot: A23/lichee/brandy/u-boot-2011.09
> ARM gnueabi cross compile toolchain: A23/lichee/brandy/gcc-linaro/
> Android: A23/android
> Various Allwinner tools: A23/lichee/tools

Does any of it even build? I've never tried, and by the looks of the 
wiki, i'd say no-one else ever did either.

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] new A33 quadcore

2014-07-29 Thread Luc Verhaegen
On Tue, Jul 29, 2014 at 04:47:55PM +0200, Benjamin Henrion wrote:
> new A33 quadcore:
> 
> http://liliputing.com/2014/07/allwinners-4-quad-core-chip-now-shipping-60-android-tablets.html
> 
> Seems to be the same story as A10-A20 with the A33-A23 substituability.

Now if only we didn't have massive allwinner gpl violation in that a23 
kernel tree we have.

Also, the only person working this platform is wens, and he is going 
straight to mainline. We do not have a sunxi-3.4 equivalent for a23, and 
we really are not in a position where we should be overly happy about 
the a33 release.

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] Our uboot boards.cfg.

2014-07-23 Thread Luc Verhaegen
On Wed, Jul 23, 2014 at 08:54:07AM +0100, Ian Campbell wrote:
> On Wed, 2014-07-23 at 01:48 +0200, Luc Verhaegen wrote:
>  
> > > > Should get renamed in boards.cfg (12):
> > > > --
> > > > A10-OLinuXino-Lime  -> Olimex_
> > > > A13-OLinuXino   -> Olimex_
> > > > A20-OLinuXino_MICRO -> Olimex_
> > > > Cubieboard  -> Cubietech_
> > > > Cubieboard2 -> Cubietech_
> > > > Cubietruck  -> Cubietech_
> > > 
> > > Why do you want vendor prefix on these? They are identified by
> > > trademark.
> > 
> > To avoid issues like with the A20-SOM below. So better prefix all and 
> > have all olimex devices sit together.
> 
> This then starts to differ from what is in the mainline u-boot
> repository. Having different names for the same thing in different trees
> will be pretty confusing for users and will mean merge conflicts on
> every update, a cure worse than the disease I think.

Ok.

> Currently upstream only has Cubietruck(_FEL) but there is a pending PR
> which adds: A13-OLinuXinoM, Cubieboard, Cubieboard2(_FEL) and
> r7-tv-dongle. I believe Hans is planning a new batch as well once the
> current PR is processed.

Well, then the upstream devices should remain the same for now, but only 
those which are upstream already.

r7 tv dongle really is not identifiable from google, i am amazed that 
such boards are even accepted in u-boot upstream.

> Upstream the boards.cfg doesn't seem to namespace devices in this way
> BTW. I don't know what the feeling would be if such a patch were
> proposed even if just for the sunxi devices.

Well, A20-SOM is a pretty good case in point. And if you put A20-SOM and 
A13-SOM as Olimex_ then at one point you would want all Olimex_ devices 
to sit together.

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] Our uboot boards.cfg.

2014-07-23 Thread Luc Verhaegen
On Wed, Jul 23, 2014 at 10:12:41AM +0200, Hans de Goede wrote:
> 
> > PoV_ProTab2_XXL -> Also rename to inet1
> > qt840a  -> Also rename to semitime qt840a
> 
> qt840a finds a lot more relevant google hits
> then "semitime qt840a", these things are in general
> sold a as a qt840a without mentioning any manufacturer name.

http://linux-sunxi.org/Identification_guide

In the likely case that you missed this.

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] Our uboot boards.cfg.

2014-07-23 Thread Luc Verhaegen
On Wed, Jul 23, 2014 at 10:12:41AM +0200, Hans de Goede wrote:
> Hi,
> 
> On 07/23/2014 12:11 AM, Luc Verhaegen wrote:
> > I just had a dig through our boards.cfg, and compared it to our wiki and 
> > google.
> > 
> > We have 69 unique devices in there, and i have categorized it according 
> > to how far along the NDH process they are. The results are pretty 
> > shocking, especially considering that devices, and android id strings, 
> > is how people find our wiki and thus our project. If you are not 
> > convinced, google for cubieboard, and check the third link.
> 
> First of all like Ian, I don't think this whole rename dance is
> worth the trouble. Besides that some of the suggestions you are doing
> are just completely wrong.

So what about A20-SOM? Do you really think that was a clueful choice?

> The mini-x model is a generic model sold
> by many different OEM-s not just Pineriver
> prefixing this with Pineriver is contra productive
> IMHO.

Now if only you would bother documenting them.

> 
> > mk802   -> Rikomagic_MK802
> > mk802-1gb   -> Rikomagic_MK802+
> > mk802ii -> Rikomagic_MK802ii
> 
> Idem, I've a bunch of those and none of them have
> the Rikomagic markings on them.

Ditto.

> > Need work (22):
> > ---
> > A10s-OLinuXino-M-> Also rename to Olimex_
> > A13-OLinuXinoM  -> Also rename to Olimex_
> > A20-SOM -> Also rename to Olimex_
> > Coby_MID7042
> > Iteaduino_Plus_A10
> > Iteaduino_Plus_A20
> > Gooseberry_A721 -> Also rename
> > H6  -> Also rename to Eearl H1026A
> > Hackberry   -> Also rename
> > Hyundai_A7HD 
> > Interra-3   -> Also rename
> > INet97F-II  -> Also rename
> > Megafeis_A08
> > Mele_A1000G
> > Mele_A3700
> > mk802_a10s  -> Also rename to semitime g2.
> 
> No just no, this is the good old mark 1 mku802 casing,
> with a different pcb in there, sold under a gazillion
> different brands, these hdmi stick are in general just
> known as mk802 without any brand attached to them.
> 
> E.g. I've one branded "cozyswan"

#3.

> > PoV_ProTab2_XXL -> Also rename to inet1
> > qt840a  -> Also rename to semitime qt840a
> 
> qt840a finds a lot more relevant google hits
> then "semitime qt840a", these things are in general
> sold a as a qt840a without mentioning any manufacturer name.

#4.

> I find it astounding that you can find time for all this, but have
> still not published your kms driver for the sunxi display engine,
> priorities ?

I find it truly astounding that you absolutely refuse to work the wiki, 
and happily do put devices upstream which are just zombies, as no-one 
else but you knows what the hw looks like.

But do try to keep changing subjects.

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] Re: Our uboot boards.cfg.

2014-07-23 Thread Luc Verhaegen
On Wed, Jul 23, 2014 at 12:15:07AM -0700, mike.v...@gmail.com wrote:
> > 
> > Hyundai_A7HD 
> 
> I have a Cherry mobility M278 (Rebrand)
> 
> I'll try to complete the info. What do you consider the most pressing info 
> missing?

Oh, this is mostly a personal reminder, as i really need to stick 
proper board pictures in there. The insulation on my serial jumper cable 
is broken, i need to resolder it, and then i can make board pictures.

> Is there a place where we can put original android images?

Under "See also", i need to still update the NDH/Example for that.

> I'm currently busy working on the "http://linux-sunxi.org/A70h"; so it 
> may take a while.

I noticed, i just fixed some small things and moved it to Eken A70h, 
which seems as good a name for it as any.

> Cristian Troy and Shaun2029 have been working on CyanogenMod on these A10 
> tablets.
> http://www.slatedroid.com/topic/37048-rom-cyanogenmod-10/
> http://www.slatedroid.com/topic/38700-rom-cyanogenmod-10-tweaks/
> 
> Christian extracted a lot of HW blob's should we put those somewhere safe?
> http://old.androidfilehost.com/main/Allwinner_A10_Developers/christiantroy/misc/1.2.x/

I'm not sure, ask Emilio Lopez, he's the one who's been doing a lot of 
android work before.

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] Our uboot boards.cfg.

2014-07-22 Thread Luc Verhaegen
On Wed, Jul 23, 2014 at 01:19:07AM +0200, Henrik Nordström wrote:
> ons 2014-07-23 klockan 00:11 +0200 skrev Luc Verhaegen:
> > is how people find our wiki and thus our project. If you are not 
> > convinced, google for cubieboard, and check the third link.
> 
> Sorry, but I am not you at your place or time. Google sorting order is
> different. Which link?

https://www.google.com/search?q=cubieboard puts us after 2 
cubieboard.org links and wikipedia.

https://www.google.de/search?q=cubieboard this removes the "buy" link 
from the .us search.

> > Ok, no further action required (8):
> > ---
> > Auxtek-T004
> > Ippo_q8h
> > HCore_HC860
> > INet_86VZ
> > INet_K70HC
> > Linksprite_pcDuino3
> > Mele_A1000
> > mk808c_A20  -> no better name possible at this time.
> > 
> > Should get renamed in boards.cfg (12):
> > --
> > A10-OLinuXino-Lime  -> Olimex_
> > A13-OLinuXino   -> Olimex_
> > A20-OLinuXino_MICRO -> Olimex_
> > Cubieboard  -> Cubietech_
> > Cubieboard2 -> Cubietech_
> > Cubietruck  -> Cubietech_
> 
> Why do you want vendor prefix on these? They are identified by
> trademark.

To avoid issues like with the A20-SOM below. So better prefix all and 
have all olimex devices sit together. I am not sure what the a80 board 
of cubietech will be called, cubieboard8 or something else entirely now 
that they have evolved from a community device maker to a SoC launch 
partner?

> > Mini-X  -> Pineriver_H24
> > Mini-X-1Gb  -> Pineriver_H24_1G
> 
> Are you sure? H24 is Mini-Xplus if I am not mistaken.

How can anyone tell, without there being a wiki page with pictures of 
device and board of the actual mini-x?

> 
> > Need work (22):
> > ---
> > A10s-OLinuXino-M-> Also rename to Olimex_
> > A13-OLinuXinoM  -> Also rename to Olimex_
> > A20-SOM -> Also rename to Olimex_
> 
> Do these need any other work than renaming?

Yes, otherwise they would not be listed here. Check the wiki.
 
> > http://linux-sunxi.org/New_Device_howto
> 
> We did not have that page when most of these were submitted. In fact
> very few boards have been submitted after.

Quite a few were added since November, or january 2nd, from whichever 
date you consider the NDH to be relevant. Do you really need me to get 
hard data on which boards were committed by whom since?

We've learned, and now the NDH exists. And, sure, the fact that these 
zombies exist is (partly) due to history, but that doesn't mean that we 
should keep them or refuse to fix them.

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] Our uboot boards.cfg.

2014-07-22 Thread Luc Verhaegen
I just had a dig through our boards.cfg, and compared it to our wiki and 
google.

We have 69 unique devices in there, and i have categorized it according 
to how far along the NDH process they are. The results are pretty 
shocking, especially considering that devices, and android id strings, 
is how people find our wiki and thus our project. If you are not 
convinced, google for cubieboard, and check the third link.

Ok, no further action required (8):
---
Auxtek-T004
Ippo_q8h
HCore_HC860
INet_86VZ
INet_K70HC
Linksprite_pcDuino3
Mele_A1000
mk808c_A20  -> no better name possible at this time.

Should get renamed in boards.cfg (12):
--
A10-OLinuXino-Lime  -> Olimex_
A13-OLinuXino   -> Olimex_
A20-OLinuXino_MICRO -> Olimex_
Cubieboard  -> Cubietech_
Cubieboard2 -> Cubietech_
Cubietruck  -> Cubietech_
K1001L1C-> Inet_K100C
Mini-X  -> Pineriver_H24
Mini-X-1Gb  -> Pineriver_H24_1G
mk802   -> Rikomagic_MK802
mk802-1gb   -> Rikomagic_MK802+
mk802ii -> Rikomagic_MK802ii

Need work (22):
---
A10s-OLinuXino-M-> Also rename to Olimex_
A13-OLinuXinoM  -> Also rename to Olimex_
A20-SOM -> Also rename to Olimex_
Coby_MID7042
Iteaduino_Plus_A10
Iteaduino_Plus_A20
Gooseberry_A721 -> Also rename
H6  -> Also rename to Eearl H1026A
Hackberry   -> Also rename
Hyundai_A7HD 
Interra-3   -> Also rename
INet97F-II  -> Also rename
Megafeis_A08
Mele_A1000G
Mele_A3700
mk802_a10s  -> Also rename to semitime g2.
PoV_ProTab2_XXL -> Also rename to inet1
qt840a  -> Also rename to semitime qt840a
Sanei_N90
uhost_u1a   -> Also rename to smallart uhost1
Wexler_TAB_7200
zatab   -> Also rename to gemei g9

Full NDH needed, but rescuable, through google or logic (23):
-
Auxtek-T003
ba10_tv_box
Coby_MID8042
Coby_MID9742
Colombus
DNS_M82
EOMA68_A10
EOMA68_A20
EU3000
Jesurun-Q5
Marsboard_A10
Marsboard_A20
merrii_m2
Mini-X_A10s
mk802ii_A20
pcDuino -> Also Rename.
pengpod1000 -> Rebadger.
pengpod700  -> Rebadger.
PoV_ProTab2_IPS9
PoV_ProTab2_IPS_3g
wobo-i5
xzpad700-> Good luck with that.
OLIMEX-A13-SOM

Zombies: rescue impossible (4):
---
A10_MID_1GB
A13_MID
i12-tvbox
r7-tv-dongle

I find it truly astounding that we have 4 devices in our u-boot where 
no-one except the committer (who might have vanished already) has any 
way of identifying the device. Then, it is just a matter of time before 
several of the 23 full NDH boards can no longer be identified from those 
very unstable chinese websites, and google will not find them anymore 
either.

If you are not going to let other people use your u-boot board targets, 
why bother filing the patch in the first place?

http://linux-sunxi.org/New_Device_howto

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] Re: Experimenting with eu3000 board

2014-07-21 Thread Luc Verhaegen
On Mon, Jul 21, 2014 at 04:50:12AM -0700, zs.gas...@gmail.com wrote:
> Hi,
> Did you managed to have a working camera?
> I need to use it at full HD with 30fps. The device manufacturer 
> confirmed that it is actually a Samsung S5K4EC sensor, for which the 
> sunxi source does not even have driver, so only possibility to use the 
> Android one.
> 
> Does anybody have experience how to port back drivers from the android 
> to the linux?

As i said on the 11th:

http://linux-sunxi.org/New_Device_howto

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] Better face for sunxi website?

2014-07-16 Thread Luc Verhaegen
On Wed, Jul 16, 2014 at 09:52:46AM -0400, jonsm...@gmail.com wrote:
> On Wed, Jul 16, 2014 at 9:39 AM, Luc Verhaegen  wrote:
> >
> > I was under the impression that we were a technical resource, and that
> > we were not trying to sell anything.
> 
> That site has a nice look to it. I've seen about ten comments of
> people buying Rockchip boards just because they think that website is
> better.
> 
> What can be done to increase the visual appeal of the sunxi site?
> Maybe it would be good for all of us if we turned it into a general
> landing page for people searching on Allwinner. It could feature
> rotating images of the various Allwinner dev boards and then redirect
> people out to the vendor sites. Might even be possible to use
> affiliate links to raise some money to pay for sunxi hosting or test
> boards for developers.
> 
> Of course it would keep all of the existing info.

How about starting small, and improving on this: 
http://linux-sunxi.org/Special:Contributions/Jonsmirl

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] Better face for sunxi website?

2014-07-16 Thread Luc Verhaegen
On Wed, Jul 16, 2014 at 03:39:40PM +0200, Luc Verhaegen wrote:
> On Wed, Jul 16, 2014 at 09:30:45AM -0400, jonsm...@gmail.com wrote:
> > What do you think of this? http://radxa.com/
> > 
> > Is that a template that could be used to dress up the sunxi website?
> > Of course it would be done in a vendor neutral way.
> > 
> > Their site is very pretty, but the kernel is 3.0.
> 
> I was under the impression that we were a technical resource, and that 
> we were not trying to sell anything.
> 
> Luc Verhaegen.

And if you really want to try to make sunxi more appealing, the way to 
do it is by contributing to the wiki, and by making sure that our wiki 
is one of the top hits on google when people search for their devices.
The latter is most easily achieved by fully working through our new 
device howto on devices you own.

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] Better face for sunxi website?

2014-07-16 Thread Luc Verhaegen
On Wed, Jul 16, 2014 at 09:30:45AM -0400, jonsm...@gmail.com wrote:
> What do you think of this? http://radxa.com/
> 
> Is that a template that could be used to dress up the sunxi website?
> Of course it would be done in a vendor neutral way.
> 
> Their site is very pretty, but the kernel is 3.0.

I was under the impression that we were a technical resource, and that 
we were not trying to sell anything.

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] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-07-15 Thread Luc Verhaegen
On Wed, Mar 05, 2014 at 03:36:23PM +0100, Luc Verhaegen wrote:
> 
> Time will tell.
> 
> Luc Verhaegen.
> 

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] Experimenting with eu3000 board

2014-07-11 Thread Luc Verhaegen
On Thu, Jul 10, 2014 at 05:59:59PM -0300, Adilson Oliveira wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA256
> 
> Hello folks
> 
> First of all, let me thank you for the amazing work done by this
> group. I stumbled upon the linux-sunxi website recently and decide to
> rekindle my interest in embedded devices using a eu3000. I just done a
> few quick experiments here, booting Linaro from the SD and now I'm
> checking on 3 things:
> - - How to write to the nand. Already checking the
> http://linux-sunxi.org/Installing_to_NAND but I wonder if a LiveSuit
> image could be created.
> - - Camera support. Looks like it's an ov5436 but it does not seem to
> work, the boot does not find it.
> - - Same with wifi.

> Does anyone here have any experience with the device that can share?

No, as Jon Smirl failed to do http://linux-sunxi.org/New_Device_howto

> The backlog on this list seems to be quite sparse on that.
> 
> All the best

You can fix this by working through 
http://linux-sunxi.org/New_Device_howto

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] linux-sunxi.org is down

2014-07-10 Thread Luc Verhaegen
On Fri, Jul 11, 2014 at 12:18:55AM +1000, Yassin Jaffer wrote:
> Can someone give us update on why the website is down?
> 
> Yassin jaffer

Apparently, the hosting provider had to do some maintainance, and the 
linux-sunxi.org vhost didn't come back up. We are now waiting for 
Alejandro Mery becoming available, as he is the owner, so he can restart 
his vhosts.

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: u-boot-sunxi] Add Di-Way AND-1

2014-07-05 Thread Luc Verhaegen
On Sat, Jul 05, 2014 at 01:18:06PM -0700, radek.ri...@gmail.com wrote:
> Hello,
> please add my patch for u-boot and fex file to boards.
> 
> Product: Di-Way AND-1
> Board: SMB.069.02
> SoC: Allwinner A20 (dual core, cortex-a7)
> RAM: 1024MB (4x Nanya NT5CB256M8FN-D, 256M x 8, 800MHz, CL11)
> WLAN: RTL8188EUS (USB internal port)
> ETH: 10/100 (RTL8201CP phys), EMAC driver
> PMIC: AXP209
> AV out, HDMI, eth, ir, SD slot, nand...
> http://www.tvdigitalne.cz/di-way-and-1-android.html
> 
> Patch for sunxi u-boot: http://pastebin.com/zBJkbUqU
> Fex file: http://pastebin.com/Cy8BFTHj
> 
> Thank you

Please follow the http://linux-sunxi.org/New_Device_howto so that we at 
least have a chance of matching up some random fex file and u-boot 
target with some hardware. We carry enough zombies around as is.

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] Add .fex for board YBKJ_A20

2014-06-30 Thread Luc Verhaegen
On Mon, Jun 30, 2014 at 11:24:16AM +, Paul Jones wrote:
> Are you serious?

Yes.

> I spent all afternoon going around in circles trying to follow the 
> wiki instructions. That is the best I've got.

If you needed guidance, you could've gotten direct guidance on irc. My 
changes now provide the final bits of guidance that were needed. But 
please explain where the instructions are not correct or not clear.

> I don't see why u-boot needs a patch when the cubieboard2 target works 
> properly with no modifications, both mmc and tftp. I don't know how to 
> do it anyway.

This how we do things. There is a whole section on patching u-boot, and 
that explanation is linked from our new device howto.

> Sorry but I've got better things to do.

Suit yourself. This page will then remain NDH_TODO until someone else 
comes along and finishes it.

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] Add .fex for board YBKJ_A20

2014-06-30 Thread Luc Verhaegen
On Mon, Jun 30, 2014 at 03:57:19PM +1000, Paul Jones wrote:
> Signed-off-by: Paul Jones 
> ---
>  sys_config/a20/ybkj_a20.fex | 1007 
> +++
>  1 file changed, 1007 insertions(+)
>  create mode 100644 sys_config/a20/ybkj_a20.fex

I have just gone through the device page. Please fix up the remaining 
problems, provide a comprehensive set of pictures that you made 
yourself, and provide a patch for u-boot.

Thanks,

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] Re: OLIMEX A20-SOM: requires working uboot

2014-06-28 Thread Luc Verhaegen
On Sat, Jun 28, 2014 at 03:00:34PM +0200, Henrik Nordström wrote:
> Thanks!
> 
> https://github.com/linux-sunxi/u-boot-sunxi/commit/299c37419e0b8c7270e145500894e49355afcdfb

And nobody mentioned http://linux-sunxi.org/New_Device_howto

Amazing. Now we have no wiki page and no fex file. Great.

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] How can I get pcDuino join sunxi-linux org?

2014-06-23 Thread Luc Verhaegen
On Sun, Jun 22, 2014 at 05:41:04PM +0800, Pillar Zuo wrote:
> 
> Hi 
> I am a pcDuino software angineer && PM.pcDuino always use the 
> allwinner's chip.pcDuino user all over the world more then 100 
> countries.The numbers of users more then 50w.There are a lot of user 
> say"why I can't find any pcDuino information in sunxi-linux.org".and 

Now that's definitely not true. Zoltan create pcduino device pages a 
month or so ago. Device pages is how our wiki ties up devices with the 
actual content of the wiki.

https://www.google.com/search?q=site%3Alinux-sunxi.org+pcduino

> alse there are some users say"I find some interesting thing ,I want 
> post it on sunxi-linux.org,How to contribute?"

We have a wiki. Wikis are a common concept of a website that anyone can 
help improve with little or no hurdles. Your statement makes absolutely 
no sense at all with respect to linux-sunxi.org, as that is a wiki and 
a bit of a download area and little more.

> So as a pcDuino developers,we'd like to cooperate with 
> sunxi-linux,we can send you some pcDuino board.

I wrote up this page for our wiki which explains a few ways in which 
anyone can help: http://linux-sunxi.org/Community It is far from 
complete, but i needed a placeholder for some common concepts.

As for boards, that's a real hassle, as someone would have to go take 
charge and create a list of people who have been actively contributing 
to sunxi. And that's bound to lead to some people feeling excluded. 
Also, most of us are pretty good for A10 and A20 devices atm, 
especially when they are common devboards. Everyone has those.

What is it that you are really trying to achieve with this email of 
yours? It all seems pretty confused and poorly researched. What do you 
and/or linksprite want from linux-sunxi.org?

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] USB port not working on A20 based device with sunxi-3.4

2014-06-05 Thread Luc Verhaegen
On Thu, Jun 05, 2014 at 04:23:41AM -0700, tux.mar...@gmail.com wrote:
> 
> Hi, can you please help me with kernel compilation?
> 
> I do:
> git clone https://github.com/mmplayer/linux-sunxi.git
> git checkout stage/sunxi-3.3-a20
> 
> but after I run compilation I get an error:
> 
> martin@martin:~/arm/linux-sunxi$ make ARCH=arm 
> CROSS_COMPILE=arm-linux-gnueabihf- sun7i_defconfig
> 
> drivers/net/wireless/bcmdhd/Kconfig:42:warning: defaults for choice values 
> not supported
> ***
> *** Can't find default configuration "arch/arm/configs/sun7i_defconfig"!
> ***
> make[1]: *** [sun7i_defconfig] Error 1
> make: *** [sun7i_defconfig] Error 2
> martin@martin:~/arm/linux-sunxi$ 
> 
> martin@martin:~/arm/linux-sunxi$ make -j4 ARCH=arm 
> CROSS_COMPILE=arm-linux-gnueabihf- uImage modules
> scripts/kconfig/conf --silentoldconfig Kconfig
> drivers/net/wireless/bcmdhd/Kconfig:42:warning: defaults for choice values 
> not supported
> ***
> *** Configuration file ".config" not found!
> ***
> *** Please run some configurator (e.g. "make oldconfig" or
> *** "make menuconfig" or "make xconfig").
> ***
> make[2]: *** [silentoldconfig] Error 1
> make[1]: *** [silentoldconfig] Error 2
> make: *** No rule to make target `include/config/auto.conf', needed by 
> `include/config/kernel.release'.  Stop.
> martin@martin:~/arm/linux-sunxi$ 
> 
> I have working ubuntu, but USB not working. I can't connect keyboard and 
> mouse.
> Thank you for help.

Why don't you try 

https://github.com/linux-sunxi/linux-sunxi/tree/sunxi-3.4

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] Re: Linux in "DI-WAY AND-1 Android" player

2014-06-04 Thread Luc Verhaegen
On Wed, Jun 04, 2014 at 12:45:45PM -0700, tux.mar...@gmail.com wrote:
> I tried help from 
> http://linux-sunxi.org/Retrieving_device_information#Retrieving_data_over_USB_in_FEL_mode
> sunxi-tools from https://github.com/linux-sunxi/sunxi-tools
> 
> My player have only power button and reset button. Power buton do nothing, 
> but after I press reset button I could run fel command:
> 
> root@martin:/tmp/sunxi-tools# ./fel version
> AWUSBFEX soc=00165100(A20) 0001 ver=0001 44 08 scratchpad=7e00 
>  
> root@martin:/tmp/sunxi-tools# ./fel read 0x4240 0x82d0 boot1.header
> root@martin:/tmp/sunxi-tools# ./fel read 0x4300 0x2 script.bin 
> root@martin:/tmp/sunxi-tools# ./bootinfo boot1.header > bootinfo.txt
> root@martin:/tmp/sunxi-tools# ./bin2fex script.bin script.fex
> fexc-bin: script.bin: version: 0.1.2
> fexc-bin: script.bin: size: 131072 (85 sections)
> root@martin:/tmp/sunxi-tools# 
> 
> now I have these files: boot1.header, bootinfo.txt, script.bin, script.fex. 
> But how can I use these files?
> All files are in 
> https://dl.dropboxusercontent.com/u/6943408/sunxi-tools_DI-WAY.tar.gz
> 
> I tried dd if=script.bin of=/dev/sdd bs=1024 seek=8 but anything happens. 
> (script.bin read from fel).
> 

How you can use these is fully described in the new device howto link 
provided earlier.

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] AP6210 (CubieTruck WiFi/BT module) driver for linux-sunxi

2014-06-04 Thread Luc Verhaegen
On Wed, Jun 04, 2014 at 10:56:53AM -0400, Eddy Beaupre wrote:
> Hello again :)
>
> I have made a driver for the Ampak AP6210 WiFi/Bluetooth module found on  
> the Cubietruck, basically it's the driver found in the 3.79+ kernel  
> distributed by CubieTech, but with all the rfkill stuff moved back into  
> the module itself, lots of cleanup in its logging so it doesn't spam the  
> kernel log anymore and no proprietary/unreleased headers.
>
> The driver source and patch is available in my git :
>
> https://github.com/EddyBeaupre/ap6210
>
> I know it would have been better to merge it with the bcmdhd driver, but  
> since it's so specific to one implementation, it would need a lot of  
> rework to make it configurable. It's at least a starting point.
>
> The only major bug so far is it can't be rmmod cleanly because the  
> rfkill stuff was never supposed to be unloaded. But it's not a major  
> show stopper for general usage. I will work on that when i have more 
> time.
>
> Hope this help.

Please create the bluetooth wiki page

http://linux-sunxi.org/index.php?title=Bluetooth&action=edit

and all relevant information there. This will ensure maximum exposure 
for your work.

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] Linux in "DI-WAY AND-1 Android" player

2014-06-04 Thread Luc Verhaegen
On Wed, Jun 04, 2014 at 06:33:38AM -0700, tux.mar...@gmail.com wrote:
> Dne středa, 4. června 2014 13:20:27 UTC+2 Luc Verhaegen napsal(a):
> > > http://linux-sunxi.org/New_Device_howto
> > > Luc Verhaegen.
> > 
> > Oh, and since it is an a20, linux should just work.
> 
> > Luc Verhaegen.
> 
> I want to run "a10-meminfo tool" on original Android, but I can't run 
> "chmod 755" and "sh a10-meminfo-static" returns error too.

Wrong directory, try around.

> http://linux-sunxi.org/Retrieving_device_information#Reading_memory_information_from_registers

> I do not have root. Is possible to get information without rooting player?

You do not have root over adb?

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] Linux in "DI-WAY AND-1 Android" player

2014-06-04 Thread Luc Verhaegen
On Wed, Jun 04, 2014 at 01:14:54PM +0200, Luc Verhaegen wrote:
> On Wed, Jun 04, 2014 at 04:10:39AM -0700, tux.mar...@gmail.com wrote:
> > Hi, I bought "DI-WAY AND-1 Android" player. Now I would like to try Linux.
> > Player has A20 CPU, 1GB DDR3 RAM and 1GB internal flash.
> > 
> > I tried a lot of images from http://linux-sunxi.org/Bootable_OS_images but 
> > all images not work. I see no monitor output and on DHCP server there is no 
> > IP lease.
> > 
> > Do you have any experiences with this player?
> > http://tvdigitalne.cz/di-way-and-1-android.html
> > http://www.sapro.cz/ftp/index.php?&direction=0&order=nom&directory=DI-WAY%20%20DI-BOX/AND-1%20Android%20Dual%20Core
> > 
> > If no, I will try get hardware info from Android. I do not want do root, if 
> > Linux not works I can get money back for 14 days (no root).
> > 
> > Thank you.
> 
> http://linux-sunxi.org/New_Device_howto
> 
> Luc Verhaegen.

Oh, and since it is an a20, linux should just work.

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] Linux in "DI-WAY AND-1 Android" player

2014-06-04 Thread Luc Verhaegen
On Wed, Jun 04, 2014 at 04:10:39AM -0700, tux.mar...@gmail.com wrote:
> Hi, I bought "DI-WAY AND-1 Android" player. Now I would like to try Linux.
> Player has A20 CPU, 1GB DDR3 RAM and 1GB internal flash.
> 
> I tried a lot of images from http://linux-sunxi.org/Bootable_OS_images but 
> all images not work. I see no monitor output and on DHCP server there is no 
> IP lease.
> 
> Do you have any experiences with this player?
> http://tvdigitalne.cz/di-way-and-1-android.html
> http://www.sapro.cz/ftp/index.php?&direction=0&order=nom&directory=DI-WAY%20%20DI-BOX/AND-1%20Android%20Dual%20Core
> 
> If no, I will try get hardware info from Android. I do not want do root, if 
> Linux not works I can get money back for 14 days (no root).
> 
> Thank you.

http://linux-sunxi.org/New_Device_howto

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 2/2] fix k1001l1c name so it buidls with sunxi-bsp

2014-06-01 Thread Luc Verhaegen
On Sun, Jun 01, 2014 at 01:55:06PM +0200, Alejandro Mery wrote:
>
>> Finally, what nonsense is the bsp code doing that it breaks
>> capitalization?
>
> sunxi-bsp assumes that the u-boot board name is the same as the fex file  
> name.

Then sunxi-bsp will be broken for many boards.

Another reason why we need to go do mass renaming of u-boot and boards 
devices following my insane wiki device documentation work.

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 1/2] k1001l1c should use proper dram file too.

2014-06-01 Thread Luc Verhaegen
On Sun, Jun 01, 2014 at 01:33:52PM +0200, Korneliusz Osmenda wrote:
> ---
>  board/sunxi/Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile
> index 8b429bc..b8ea9b8 100644
> --- a/board/sunxi/Makefile
> +++ b/board/sunxi/Makefile
> @@ -46,7 +46,7 @@ obj-$(CONFIG_INET_K70HC)+= dram_inet_k70hc.o
>  obj-$(CONFIG_ITEADA10)   += dram_cubieboard.o
>  obj-$(CONFIG_ITEADA20)   += dram_cubieboard2.o
>  obj-$(CONFIG_JESURUN_Q5) += dram_sun4i_312_1024_iow8.o
> -obj-$(CONFIG_K1001L1C)   += dram_a20_olinuxino_m.o
> +obj-$(CONFIG_K1001L1C)   += dram_sun7i_384_1024_iow16.o
>  obj-$(CONFIG_LINKSPRITE_PCDUINO3)+= dram_linksprite_pcduino3.o
>  obj-$(CONFIG_MEFAFEIS_A08)   += dram_megafeis_a08.o
>  obj-$(CONFIG_MELE_A1000) += dram_sun4i_360_512.o
> -- 
> 1.8.5.5

This was broken in:

f0a91836e85: Unify eoma68_a20 and a20_olinuxino_m dram settings

I have had this same fix sitting around since late april, together with 
a few new device additions.

Please add another tab before += so that it indents correctly.
Please add a Signed-off-by: to your comment as well.

When the indentation is fixed, consider this:
Reviewed-by: Luc Verhaegen 
as then the change is exactly the same.

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 2/2] fix k1001l1c name so it buidls with sunxi-bsp

2014-06-01 Thread Luc Verhaegen
On Sun, Jun 01, 2014 at 01:33:53PM +0200, Korneliusz Osmenda wrote:
> ---
>  boards.cfg | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/boards.cfg b/boards.cfg
> index cc9ba1a..fd53aa7 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -417,7 +417,7 @@ Active  arm armv7  sunxi   -  
>  sunxi
>  Active  arm armv7  sunxi   -   sunxi 
>   INet97F-II   sun4i:INET97F_II,SPL   
>   
>  -
>  Active  arm armv7  sunxi   -   sunxi 
>   INet_K70HC   sun7i:INET_K70HC,SPL   
>   
>  -
>  Active  arm armv7  sunxi   -   sunxi 
>   Jesurun-Q5   
> sun4i:JESURUN_Q5,SPL,SUNXI_EMAC,STATUSLED=244 
> -
> -Active  arm armv7  sunxi   -   sunxi 
>   K1001L1C sun7i:K1001L1C,SPL 
>   
>  -
> +Active  arm armv7  sunxi   -   sunxi 
>   k1001l1c sun7i:K1001L1C,SPL 
>   
>  -
>  Active  arm armv7  sunxi   -   sunxi 
>   Linksprite_pcDuino3  
> sun7i:LINKSPRITE_PCDUINO3,SPL,SUNXI_GMAC,FAST_MBUS
> -
>  Active  arm armv7  sunxi   -   sunxi 
>   Marsboard_A10
> sun4i:MARSBOARD_A10,SPL,SUNXI_EMAC,NO_AXP 
> -
>  Active  arm armv7  sunxi   -   sunxi 
>   Marsboard_A20
> sun7i:MARSBOARD_A20,SPL,SUNXI_EMAC,NO_AXP 
> -

If you are doing this sort of change, please give this device a more 
proper name.

Either Inet_K100c, which is the name of the board, or Inet_K100c-L1 
which would be the unique combination of this board and the rest of the 
device.

My feeling is that Inet_K100c is enough, until we actually prove that 
there is another device with this board out there. The latter is 
unlikely given the very high rate at which new devices and boards are 
produced, despite the fact that inet tries to market it differently.

Finally, what nonsense is the bsp code doing that it breaks 
capitalization?

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] Linux on eBay "Android 4.2 Smart TV Box" player

2014-05-26 Thread Luc Verhaegen
On Mon, May 26, 2014 at 09:36:05AM -0700, tux.mar...@gmail.com wrote:
> > If there is no support for your device in the u-boot bootloader, you can 
> > try 
> > one built for a different A20 device, such as the Cubieboard 2 or the A20 
> > version of MK802. Chances are, it will work fine. However if you want to 
> > ensure that your device works reliably, and especially if you plan to have 
> > several of them ("servers"?), the proper way is to help add support for it 
> > by 
> > following http://linux-sunxi.org/New_Device_howto (first ensuring it has 
> > not 
> > been added already under some different name).
> 
> Can I brick it after flash bad bootloader (for cubiebord, olinuxino,...)?
> How complicated is customize u-boot to work with this android box? I have no 
> experience with ARM. I use only Raspberry Pi with official Raspbian image.
> 
> Is possible to get info from device without flashing other firmware? If 
> u-boot doesn't work I would like to use it with android as TV player.
> 
> If I get info from device can you please help me customize u-boot? How much 
> money you want?
> 

Stop whining aimlessly. You clearly haven't even bothered to read the 
new device howto. Go read it.

This hardware is unbrickable. Just buy it, it will mostly work.

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] Add A13 SoM

2014-05-19 Thread Luc Verhaegen
On Sun, May 18, 2014 at 12:49:51PM +0300, gamis...@gmail.com wrote:
> From: HeHoPMaJIeH 
> 
> ---
>  board/sunxi/Makefile   |  1 +
>  board/sunxi/dram_a13_som.c | 32 
>  boards.cfg |  1 +
>  3 files changed, 34 insertions(+)
>  create mode 100644 board/sunxi/dram_a13_som.c

We have nice howto's for this, and we need a wiki page for this device.
Please read http://linux-sunxi.org/New_Device_howto and 
http://linux-sunxi.org/New_Device_page

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] Add qt840a

2014-05-15 Thread Luc Verhaegen
On Thu, May 15, 2014 at 08:11:56PM +0200, Hans de Goede wrote:
> Hi,
> 
> Thanks for the patch. Looking at the outside of the qt840a box,
> I believe it is the same as the q5 (and the brandless box I have).
> 
> With a PCB labelled i12 and I've already added a fex file for that ...

Neither of those were apparently documented.

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] ARM: dts: sun5i: Add new A10s r7 hdmi tv dongle board

2014-05-12 Thread Luc Verhaegen
On Mon, May 12, 2014 at 02:29:19PM +0200, Hans de Goede wrote:
> Hi,
> 
> It isn't. I'm sorry but I don't have time to go and create linux-sunxi.org
> wiki pages for all the devices I have.

Then why bother creating dts files when no-one can find out what devices 
they really are for?

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] ARM: dts: sun5i: Add new A10s r7 hdmi tv dongle board

2014-05-12 Thread Luc Verhaegen
On Mon, May 12, 2014 at 02:11:06PM +0200, Hans de Goede wrote:
> The R7 tv-dongle is an A10s based hdmi tv dongle, with 1G RAM, 4G nand flash,
> and rtl8189es sdio wifi. It has a standard male hdmi connector, an USB host
> port using an USB-A receptacle and a micro-usb receptacle for both power
> and USB OTG.
> 
> Signed-off-by: Hans de Goede 

And where is this one documented?

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] Ubuntu/Debian Porting on Allwinner A10

2014-05-10 Thread Luc Verhaegen
On Sat, May 10, 2014 at 12:37:49AM -0700, brkr1989 wrote:
> 
> 
> On Friday, 9 May 2014 20:36:26 UTC+5:30, Luc Verhaegen wrote:
> >
> > On Fri, May 09, 2014 at 06:20:09AM -0700, brkr1989 wrote: 
> > > 
> > > I read the pages and was able to retreive the bootloader(u-boot.bin) and 
> > a 
> > > bunch of files from the MicroMax P300 Tab. Could you suggest some pages 
> > > where I can get  info on changing boot location from Nand to sd card ? 
> > Or 
> > > How I can go about changing it ? 
> >
> > I see no evidence of any activity of yours on the wiki, you must have 
> > only browsed that wiki page i linked you to. 
> >
> > No wiki work, no patches == no help. 
> >
> 
> > Luc Verhaegen. 
> >
> 
> 
> Here is the link to the wiki page 
> http://linux-sunxi.org/Manufacturer_Device. I am currently reading kernel 
> building howto. Now, I would like to know how or where I can find 
> information on changing boot priority from nand flash to sdcard. Could you 
> guide me on this ?
> 
> Bharath Rao

If you had used reading skills and clue, and had executed the new 
device howto correctly, you would've had a working SD card already. 
Instead you decided to not read only the start of some things, and to 
fuck up our wiki in a rather unbelievably fashion, and you never got to 
the point where you would've answered your question.

Thank you for so comprehensively maiming our wiki. Well done. You are 
not a credit to our species.

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] Sunxi OTG port performance

2014-05-09 Thread Luc Verhaegen
On Fri, May 09, 2014 at 11:54:58PM +0600, Roman Mamedov wrote:
> Hello,
> 
> As far as I know it is a "common wisdom" that the OTG port on sunxi-based
> devices such as the MK802 is rather limited in performance and capabilities
> when used in the "host" USB mode. For example in my experience USB 2.0 webcams
> failed to work in it at all, USB HDDs would only transfer up to around 11-14
> MB/sec instead of 25-30 MB/sec, and a gigabit USB NIC would only go to about
> 115 Mbit rather than the usual 320 Mbit.
> 
> However my questions are
> 
>   a) why exactly is that so (only vaguely remember some mentions/explanations
> in old mailing list messages that I can't find now);
> 
>   b) do we have this quirk documented anywhere on the wiki, as it's
> entirely non-obvious and often comes as a surprise to new users.

Answer to b) it's a wiki, it can be searched and edited.

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] Ubuntu/Debian Porting on Allwinner A10

2014-05-09 Thread Luc Verhaegen
On Fri, May 09, 2014 at 06:20:09AM -0700, brkr1989 wrote:
> 
> I read the pages and was able to retreive the bootloader(u-boot.bin) and a 
> bunch of files from the MicroMax P300 Tab. Could you suggest some pages 
> where I can get  info on changing boot location from Nand to sd card ? Or 
> How I can go about changing it ?

I see no evidence of any activity of yours on the wiki, you must have 
only browsed that wiki page i linked you to.

No wiki work, no patches == no help.

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] Ubuntu/Debian Porting on Allwinner A10

2014-05-08 Thread Luc Verhaegen
On Thu, May 08, 2014 at 06:18:43AM -0700, brkr1...@gmail.com wrote:
> I have a MicroMax P300 tablet in which I 'm willing to install the 
> Ubuntu/Debian OS and completely remove Android OS. Can anyone help me in this 
> regard? 

http://linux-sunxi.org/New_Device_howto

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] MELE EDID question

2014-05-07 Thread Luc Verhaegen
On Wed, May 07, 2014 at 11:53:23PM +0530, Rajesh Mallah wrote:
> Dear List ,
> 
> the MELE-M3 bears a blue VGA connector . The fbdev or fbturbo does not
> seems to be getting any EDID data as there is not sign of it in the log
> files.
> 
> please suggest how to investigate further ?
> multimeter the PCB ?
> 
> regds
> mallah

I do not remember seeing a Mele M3 documented in our wiki or a 
sunxi-boards or uboot-sunxi patch for the Mele M3.

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 0/3] Add board support for LinkSprite pcDuino V3

2014-05-02 Thread Luc Verhaegen
On Fri, May 02, 2014 at 01:45:03PM +0200, Zoltan HERPAI wrote:
> The LinkSprite pcDuino V3 is an A20-based revision of the
> earlier pcDuinos. This series will add support for the board,
> along with some of its devices where the driver is accepted or
> soon-to-be-accepted into mainline.
> 
> Signed-off-by: Zoltan HERPAI 
> 
> Zoltan HERPAI (3):
>   ARM: sun7i: dt: Add basic board support for LinkSprite pcDuino V3
>   ARM: sun7i: dt: Add USB host nodes to pcDuino3 DTS
>   ARM: sun7i: dt: Add ahci/sata support to pcDuino3 DTS

Where is the sunxi wiki page on this hw?

Seems like you never worked through our New_Device_howto, and never 
added sunxi-3.4 support to begin with.

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] Re: Allwinner A10, FullHD screen resolution and the shaking screen issue explained

2014-04-26 Thread Luc Verhaegen
>
> If there is any undocumented knob to increase the DEBE DMA burst size,
> that would very likely resolve the problem. Another interesting thing
> is that PRECHARGE/ACTIVATE latency is critical. Higher DRAM clock speed
> only helps indirectly by reducing this latency.
> 
> And by the way, the DEBE in Allwinner A20 does not seem to be affected.
> Only Allwinner A10 suffers from these FullHD troubles.

Some obvious questions...

Were you testing this with the scaler (DEFE) enabled, or were you using 
layers directly?

Are you seeing this over VGA as well?

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] Create a new wiki device page help

2014-04-17 Thread Luc Verhaegen
On Thu, Apr 17, 2014 at 11:27:51AM -0700, hunter hu wrote:
> Hello,
> 
> I finally registered the sunxi wiki, and am trying to create a new device 
> page and I could not find out how to create a new page, I have read the new 
> device page: http://linux-sunxi.org/New_Device_page, "Open the Device Page 
> Example <http://linux-sunxi.org/Device_Page_example>, and copy the contents 
> of the Edit field to your newly created device page. Then flesh out the 
> different parts."
> 
> I see no where on the wiki says "create a new page" that lets me do that.
> 
> Thanks,
> -Hunter

If you go here:

http://linux-sunxi.org/Manufacturer_Device

You should see "Create" at the top, next to the search button. Replace 
Manufacturer and Device with what suits your 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] B133 sunxi-boards contribution.

2014-04-05 Thread Luc Verhaegen
On Sat, Apr 05, 2014 at 09:53:01PM +0530, Rajesh Mallah wrote:
> Please Find attached the stock fex file for the TV Box B133.
> 
> -- 
> 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.

> From eb56acb6d33b8895033a1e4d53e78e170a29ca50 Mon Sep 17 00:00:00 2001
> From: Rajesh Kumar Mallah 
> Date: Sat, 5 Apr 2014 21:23:35 +0530
> Subject: [PATCH] Added TENA B133 TV BOX
> 
> ---
>  0 files changed
>  create mode 100644 sys_config/a20/tena-b133.fex
> 
> diff --git a/sys_config/a20/tena-b133.fex b/sys_config/a20/tena-b133.fex
> new file mode 100644
> index 0000000..e69de29
> -- 
> 1.7.9.5
> 

Where's the contents of this file?

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] please help in adding a new device.

2014-04-05 Thread Luc Verhaegen
On Sat, Apr 05, 2014 at 09:30:17PM +0530, Rajesh Mallah wrote:
> Hi ,
> 
> Please tell where to send the patch for sunxi-boards , i wanted to add the
> fex file.?

You need to send it here as well :)

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] please help in adding a new device.

2014-04-05 Thread Luc Verhaegen
On Sat, Apr 05, 2014 at 08:07:29PM +0530, Rajesh Mallah wrote:
> Dear List members,
> 
> I am trying to add a TV box (B133) based on A20 using the
> instructions at the wiki and following it to the word.
> I am not conversant with Git.
> 
> 
>  i have extracted  the stock script.bin and the bootinfo using a10 meminfo
> static
> 
> ==
> dram_clk  = 432
> dram_type = 3
> dram_rank_num = 1
> dram_chip_density = 4096
> dram_io_width = 16
> dram_bus_width= 32
> dram_cas  = 9
> dram_zq   = 0x7f
> dram_odt_en   = 0
> dram_tpr0 = 0x42d899b7
> dram_tpr1 = 0xa090
> dram_tpr2 = 0x22a00
> dram_tpr3 = 0x0
> dram_emr1 = 0x4
> dram_emr2 = 0x10
> dram_emr3 = 0x0
> ===
> 
> The problem is when i do
> 
> 
> git format-patch -M -C HEAD^
> 
> I get :
> 0001-sunxi-dram-Fix-autorefresh-timing-setup.patch

http://media.pragprog.com/titles/tsgit/chap-005-extract.html

> The above has nothing to do with the changes that i did namely
> 
> 1) Added a generic file with 432 as dram_clk , in case i was
> supposed to use the existing generic version with 384 as dram_clk
> pls lemme know.

That's fine. But you need to actually git add it to the repository, and 
once you are finished with your changes, you need to git commit the lot 
:)

> 2) added an entry to boards.cfg
> 
> please tell  how to proceed.
> 
> kind regds
> mallah.

As for your lack of camera, a higher end smartphone camera is better 
than no pictures. And ask around, perhaps one of your friends or family 
has access to a digital camera that you can borrow for a few hours.

And nice to know that you are doing this. Do you need help creating a 
wiki account?

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] USB port not working on A20 based device with sunxi-3.4

2014-04-05 Thread Luc Verhaegen
On Sat, Apr 05, 2014 at 12:07:51PM +0530, Rajesh Mallah wrote:
> Oops so sorry forgot to put in original post:
> 
> http://en.sztena.com/pro/&productId=dcc094f2-b5a0-45a1-94cb-8575b68336bc&comp_stats=comp-FrontProducts_list01-004.html
> 
> I LIKE the device becoz
> 
> 1) Its just  $ 35
> 2) It has WiFi
> 3) It has Micro SD and VGA out.
> 4) It performs like MELE M3 :-)  i was able to get gtperf complete under
> 18secs with both
>  cores utilized.

Please work through our http://linux-sunxi.org/New_Device_howto for both 
the Tena B133 and the Mele M3.

Thanks,

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] USB port not working on A20 based device with sunxi-3.4

2014-04-04 Thread Luc Verhaegen
On Sat, Apr 05, 2014 at 08:09:16AM +0530, Rajesh Mallah wrote:
> Hi ,
> 
> I recently ordered a nice A20 box with VGA out and 2 USB ports.
> 
> 
> The USB ports works with android and 3.3.0+ kernel.
> How ever with sunxi-3.4 the ports are not working. There does
> not seems to be any power on the ports.
> 
> The EHCI & OHCI and Sunxi-EHCI and Sunxi-OHCI options are
> enabled in the kernel and i am using the stock script.bin configs
> for USB.
> 
> 
> Can anyone please help ?
> 
> redgs
> mallah.

What hardware is this exactly?

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] Azpen A727 / A23 chip

2014-04-03 Thread Luc Verhaegen
On Thu, Apr 03, 2014 at 11:02:46AM -0700, Daniel J. Grinkevich wrote:
> It was actually this page, http://linux-sunxi.org/A70x
> 
> I did look at the front page and read the new dev howto and just missed the 
> section on how to do the wiki entry.  So it was user error, not the wording 
> in the howto.
> 
> Dan

Well, i restructured the front page a bit to refer to the NDH twice.

Also, the A70x page is pretty horrid, and it is impossible to turn that 
page around without further input from an actual user, as there really 
is nothing to go on.

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] MK802 device pages.

2014-04-02 Thread Luc Verhaegen
On Wed, Apr 02, 2014 at 07:47:25PM +0200, Code Kipper wrote:
> 
> Hi Luc,
> I'm on the case with the mk802+ bits that are missing. Just torn it apart
> and
> will soon be revealing to world my shocking soldering.

I've done worse.

But smashing stuff, i just took it off the NDH_TODO category :)

I am amazed that your board is blue though, a search on the interweb 
gives green boards. The layout seems to match, on a superficial glance, 
so it seems ok. I have taken out the info that i had found on the 
interweb (like for identification) and rely upon your info instead.

But great indeed, another device properly documented.

Thanks!

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] MK802 device pages.

2014-04-02 Thread Luc Verhaegen
Hi,

After Codekipper improved the originally horribly mk802 page, i went and 
split it out.

There are now mostly NDHed MK802 and variants pages available at:

http://linux-sunxi.org/Rikomagic_mk802
http://linux-sunxi.org/Rikomagic_mk802%2B (MK802+)
http://linux-sunxi.org/Rikomagic_mk802ii
http://linux-sunxi.org/Semitime_g2 (MK802+ A10s)

If you happen to own this hardware, please spend a few minutes on 
verifying and fixing the information on these pages, and perhaps add 
some missing photos.

Thanks.

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] Megafeis A08 wiki page.

2014-04-01 Thread Luc Verhaegen
Hi,

I have create the http://linux-sunxi.org/Megafeis_a08 device page and 
have done most of the work for you. Please fill in the blanks still and 
verify the information there.

Thanks.

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] Azpen A727 / A23 chip

2014-03-31 Thread Luc Verhaegen
On Mon, Mar 31, 2014 at 09:47:26PM +0530, jtd wrote:
> On Monday 31 Mar 2014 21:10:49 Luc Verhaegen wrote:
> > On Mon, Mar 31, 2014 at 08:15:02PM +0530, jtd wrote:
> > > On Monday 31 Mar 2014 19:53:31 Luc Verhaegen wrote:
> > > > On Mon, Mar 31, 2014 at 07:46:18PM +0530, jtd wrote:
> > > > > another A23  board H978 V2.1 20131202
> > > > 
> > > > Is there any reason why you thought you would just throw this onto the
> > > > mailing list in an existing thread?
> > > > 
> > > > Is there any reason why you also failed to pick up on the countless
> > > > mentions of http://linux-sunxi.org/New_Device_howto in that thread?
> > > 
> > > Yikes. I thought that the op was about A23. The reason I posted was
> > > mention of the serial port in the op. I thought that the attached pic
> > > and serial dump might be "useful".
> > > 
> > > I guess I will just lurk until a I get more clued in on the community.
> > > 
> > > Apologies.
> > 
> > Don't just lurk. Just diligently work through the
> > http://linux-sunxi.org/New_Device_howto and try to get your device at
> > least documented. If you do that, then the last thing you need to do is
> > apologise.
> 
> Got to fel mode
> fel -v
> AWUSBFEX soc=00165000(unknown) 0001 ver=0001 44 08 scratchpad=7e00 
>  
> 
> fel read 0x4240 0x82d0 boot1.header
> libusb usb_bulk_send error -7
> 
> Work in progress.

Stop posting in this thread.

Create a wiki account http://linux-sunxi.org/Special:UserLogin and start 
doing work there, by first following the 
http://linux-sunxi.org/New_Device_howto

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] Azpen A727 / A23 chip

2014-03-31 Thread Luc Verhaegen
On Mon, Mar 31, 2014 at 08:15:02PM +0530, jtd wrote:
> On Monday 31 Mar 2014 19:53:31 Luc Verhaegen wrote:
> > On Mon, Mar 31, 2014 at 07:46:18PM +0530, jtd wrote:
> > > another A23  board H978 V2.1 20131202
> > 
> > Is there any reason why you thought you would just throw this onto the
> > mailing list in an existing thread?
> > 
> > Is there any reason why you also failed to pick up on the countless
> > mentions of http://linux-sunxi.org/New_Device_howto in that thread?
> 
> Yikes. I thought that the op was about A23. The reason I posted was mention 
> of 
> the serial port in the op. I thought that the attached pic and serial dump 
> might be "useful".
> 
> I guess I will just lurk until a I get more clued in on the community.
> 
> Apologies.

Don't just lurk. Just diligently work through the 
http://linux-sunxi.org/New_Device_howto and try to get your device at 
least documented. If you do that, then the last thing you need to do is 
apologise.

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] Azpen A727 / A23 chip

2014-03-31 Thread Luc Verhaegen
On Mon, Mar 31, 2014 at 07:46:18PM +0530, jtd wrote:
> 
> another A23  board H978 V2.1 20131202

Is there any reason why you thought you would just throw this onto the 
mailing list in an existing thread?

Is there any reason why you also failed to pick up on the countless 
mentions of http://linux-sunxi.org/New_Device_howto in that thread?

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] Azpen A727 / A23 chip

2014-03-31 Thread Luc Verhaegen
On Mon, Mar 31, 2014 at 05:04:39AM -0700, Daniel J. Grinkevich wrote:
> I found the A701 page and sorta based it off that.  I missed the Wiki 
> section of the new device howto.  So it was my error.  I tried looking for 
> a template file for a new device, maybe I missed that?
> 
> Dan

What A701 page would that be? I cannot find it on our site.

How did you try looking for a template?

http://linux-sunxi.org/index.php?search=new
http://linux-sunxi.org/index.php?search=new+device
http://linux-sunxi.org/index.php?search=device
http://linux-sunxi.org/index.php?search=board 
http://linux-sunxi.org/index.php?search=new+board

All get you to the new device howto immediately. The word template 
doesn't match though, but i just made sure it is mentioned in the 
new_device_howto now.

I am really keen on finding out why you couldn't find our new device 
howto, as this needs to be fixed urgently. Did you look at our front 
page at all during that process?

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] Azpen A727 / A23 chip

2014-03-30 Thread Luc Verhaegen
On Sun, Mar 30, 2014 at 10:17:59AM -0700, Daniel J. Grinkevich wrote:
> I just got an Azpen A727 (some reason it's not on the company's website), 
> it runs the A23 chip.  I managed to find the serial TX but RX is still 
> unknown.  I started a wiki page, http://linux-sunxi.org/A727 .  If anyone 
> has any specific ideas or anyway I can help, I'm willing to probe it some 
> more.
> 
> Dan

Olliver is right, the http://linux-sunxi.org/New_Device_howto is where 
you should start. You will be guided through gathering all sorts of 
useful information and on creating a useful page which you and other can 
easily refer to. As Olliver states, getting memory info is a bit icky 
atm, we should fix that on the ippo Q88 devices some of us have already.

Also, it makes sense to name your device the inet_86dz as the 
motherboard said.

Btw, what triggered you to create this page layout? It feels as if you 
copied it from some other device page... Why did you choose exactly that 
other device? What should i fix (short of fixing _all_ remaining 48 
broken devices pages) so that others don't do the same and find the 
New_Device_Howto 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] Re: MK808C wiki page.

2014-03-29 Thread Luc Verhaegen
On Sat, Mar 29, 2014 at 11:00:33AM +0100, Code Kipper wrote:
> 
> Hi Luc,
> I've not gone as far as flashing the NAND but pressing the button on both
> the
> MK808C and MK802 whilst powering on the device does seem to put it in a
> state where there is no logging. A quick 'lsusb' on the host computer shows
> that there is a usb device attached.
> Is this enough to confirm the device is in FEL mode so I can update the wiki
> with these instructions?

Seems about right. Another section of the wiki page filled then :)

> Just about to take a soldering iron to my Q8H, so what this space. USB-TTL
> device is
> shot at the mo though, only seems to be receiving. Well that's enough for
> this task
> CK

Get several when you order a new one. It's more hassle finding one and 
waiting for it, than it costs.

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] Re: MK808C wiki page.

2014-03-28 Thread Luc Verhaegen
On Fri, Mar 28, 2014 at 01:07:44PM +0100, Code Kipper wrote:
> Hi Luc,
> 
> Nickpic awayThere is a button above the HDMI conector and I guess
> this is for triggering FEL mode. As a SD card user I've never had the need
> to go down this path but I could have a go over the weekend.

There are some worries about OTG on A20 still, but this is no issue for 
FEL mode (i have been happily triggering FEL mode on my a20 tablet). 
It should be a 15 minute thing, of which 5 will be spent reading up on 
fel mode, 5 on trying various combinations (well, 1 in this case), and 5 
on editing the wiki :p

> As for ADB I saw when I was connected to my Q8H that it was detecting the
> USB device but ADB wasn't detecting the device, following your tip and
> switching to root user fixed that for me.
> 
> On the MK808C I just couldn't seem to get the device to be detected by my
> machine (lsusb doesn't show it), I can't recall if I did this before
> soldering pin 5 to pin 4 to permanently enable OTG. In the end I installed
> sshdroid onto the stick, logged in remotely, switched to root user and then
> ran ADB. Maybe I should add this to
> http://linux-sunxi.org/Retrieving_device_information#SSH_server.

Hrm. So even android has OTG issues?

I just fired up my A20 tablet, and it is showing up in lsusb just fine, 
and adb is simply happy.

> Going back to the Ippo Q8H, I've noticed a very hacky u-boot here
> http://dl.linux-sunxi.org/SDK/A23-v1.0/unpacked/A23/lichee/brandy/u-boot-2011.09/.
> I had a brief look at it and it seems to follow the log that Wens uploaded
> a week or so ago.

Cool, several more folks finally have this hardware in their hands now. 
Let's hope that things finally start to move on A23.

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] MK808C wiki page.

2014-03-28 Thread Luc Verhaegen
Hi Marcus,

I have made some nitpicky changes to your MK808C page.

I have two further remarks or actually questions:

First off, there is a button above the hdmi connector in this picture:
http://linux-sunxi.org/images/1/1d/MK808_Bottom_PCB%28FromAbove%29.jpg
Could this be triggering FEX mode?

Then, you say that you were unable to access the device through ADB on 
android. Could this be the typical unknown ids issue?

http://linux-sunxi.org/Ippo_q8h#Android_ADB_access

If this is the case, lsusb should be able to tell you which id you need 
to add.

Thanks,

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] New u-boot has been merged and pushed

2014-03-26 Thread Luc Verhaegen
On Wed, Mar 26, 2014 at 04:47:47PM +0100, Hans de Goede wrote:
> Hi,
> 
> On 03/26/2014 04:37 PM, Olliver Schinagl wrote:
> > P.S. one small issue is that the _config name has to match whatever is in 
> > boards.cfg (obvious) including capitalization. I think we had a patch that 
> > fixed this a while ago, so I will track this down and see if i can find it 
> > again.
> 
> This special sauce to make things case-insensitive is just needless
> deviation from upstream. I think it would be better if we all just get used to
> this, and fixup sunxi build-scripts for this as needed.
> 
> Regards,
> 
> Hans

If everyone would follow the http://linux-sunxi.org/New_Device_howto and 
http://linux-sunxi.org/New_Device_page then the correct name, with 
correct case, would just be cut-n-paste.

I know that the pair of you have a lot of hardware which is not properly 
documented on our wiki. And a lot of others on this list are in a 
similar situation. Please take some time for this, and help make our 
wiki a solid and dependable resource.

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] [A20] sunxi framebuffer overlay help needed

2014-03-25 Thread Luc Verhaegen
On Tue, Mar 25, 2014 at 01:55:40AM -0700, Ivan Kozic wrote:
> Hi Luc and thanks for replying,
> 
> Not sure I follow - I went deeper into the Qt structure yesterday. 
> Basically, Qt uses just a normal linux fb access (opens /dev/fb0 directly), 
> while my current no-GUI application (only used to display video from CSI) 
> is using more "advanced" way - it opens /dev/disp first and then requests a 
> layer from it, eventually opening /dev/fb just to execute 
> FBIOGET_LAYER_HDL_0 ioctl and then closes it. Afterwards, I just have an 
> endless loop in the program in which buffers from V4L2 exchange addresses 
> with buffers from display.
> 
> To my understanding (I'm a bit fresh with all this), Qt should actually 
> also open /dev/disp and request a GUI layer (think it's called YUV layer in 
> the user manual for A20) for it, while my underlying V4L2 library should do 
> the same, but only requesting video layer instead of a GUI layer. This way, 
> underlying lib would do the video and provide controls, while overlay would 
> be in a different layer providing GUI which is linked with the controls. Is 
> this true?
> 
> If so, there is no easy way to do it, as I would have to implement a 
> different display driver for Qt which would use layers instead of stupidly 
> opening /dev/fb0 (this is quite some work) + update my underlying library 
> to actually use display, again with layering. Just saying - compared to 
> Freescale kernel, this is far from walk in the park. As I said before, 
> Freescale provides a separate /dev/fb for every layer of the screen, which 
> is much easier to work with.
> 
> But as I said, I might be completely wrong - what did you have in mind?

You should use the hw differently, i am not sure whether disp allows 
that though.

Just wait until i finally deliver on my KMS driver, i still am too 
lethargic atm to make proper progress on it, although i have added some 
good lcd code in the last week.

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] uboot for Mele M3 A20

2014-03-24 Thread Luc Verhaegen
On Mon, Mar 24, 2014 at 10:31:56AM +0100, Olliver Schinagl wrote:
> On 03/23/2014 06:27 PM, Rajesh Mallah wrote:
>> Hi,
>>
>> I regularly search Alibaba market place for devices (TV boxes) can be
>> reused as low powered general purpose computers. Many of such devices
>> have debug
>> ports ( some do not have also ).
>>
>> Most allwinner based devices on marketplace are A20 based, 1 GB model
>> A10 and A31  are not seen in general. In Quad core segment generally
>> device makers are
>> going for RK3188.  In in dual core segment AMLogic MX is also seen along
>> with RK3066.
>>
>> My question is that is it really worth documenting such allwinner
>> devices in linux-sunxi
>> website ?
> Yes, yes yes! The more devices are documented, the better it is for all  
> of us :)
>
> In this specific case, the Mele was our main target for a long time.  
> Many developers still have Mele's. The A20 based mele for some reason  
> has been skipped and has very little information however. Which is why  
> we are very interested in the guts and glory :)

One caveat to that triple yes.

We only want to see devices documented that people actually own, and 
which have been brought up properly. With u-boot-sunxi and sunxi-boards
patches and with photos of the innards, etc.

We do not want people to look at aliexpress and just throw some 
marketing info in our wiki. That's just counterproductive.

So Rajesh, buy the device(s) that you fancy, and work through our 
http://linux-sunxi.org/New_Device_howto and help yourself and others, 
and enjoy your new arm-based linux device(s) afterwards.

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] [A20] sunxi framebuffer overlay help needed

2014-03-24 Thread Luc Verhaegen
On Mon, Mar 24, 2014 at 07:00:39AM -0700, Ivan Kozic wrote:
> Hi all,
> 
> Up to now, I have successfully debugged and fixed CSI issues in 3.4 kernel 
> so that it works more-less closer to the spec of sun7i (driver is only 
> sun4i compatible by default - for more advanced features, you'll need some 
> changes in the code). For more info, you can visit:
> 
> https://groups.google.com/forum/#!searchin/linux-sunxi/A20$20csi/linux-sunxi/vU5-3Pc3iOs/aVpmpfb1FkAJ
> 
> This is all for A20 or sun7i (as I have Olinuxino A20).
> 
> Right now I'd need some help regarding overlay framebuffer - my initial 
> idea was to have a full screen video, while having a small functional GUI 
> (more like a widget) on the overlay channel to use for controls (this would 
> be done using Qt).
> However, this seems to be much harder than on i.MX6 for instance (I have 
> previous experience with i.MX6), mainly because Freescale is using 2 
> separate framebuffers for one screen. So to sum up:
> 1. fb0 is BG (video for instance),
> 2. fb1 is FG (overlay, ideal for GUI).
> 
> When I look at the HW layout (especially page 414 of the A20 user manual), 
> I see that the Allwinner's intent was to make something similar, as DEBE 
> does the mixing of the overlay/background. However, the driver does not 
> seem to have such an option (or I am not familiar with this).
> 
> At the end, I can make video show up in Qt - this is not a huge problem (I 
> have taken libv4l2 made for Qt and I get the output) - the problem is that 
> it's painfully slow (like barely 3fps), as it doesn't use HW mixer - it 
> only copies the data from V4L2 buffers into the userland and into QImage 
> object, which is quite slow.
> 
> So the way it would have worked on i.MX6 is that video is simply driven 
> into fb0 via small library using DMA, while Qt would be configured to use 
> fb1 only - I'm after something like this on A20.
> Maybe I'm missing something obvious here, but still I couldn't find a good 
> solution up to now.
> 
> Of course, if I find something out, I'll post back.
> 
> All help greatly appreciated!

You only need DEFE for your CSI captured information, as that is in some 
non RGB colour format.

You can happily attach RGB32 to any layer directly, and achieve your 
goal that way.

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] Re: [PATCH] Add Ippo Q8H-v5

2014-03-23 Thread Luc Verhaegen
On Sun, Mar 23, 2014 at 02:46:17PM -0700, Joseph Dalrymple wrote:
> Pardon my ignorance, but what repository was this added to?

None yet, but it should be sunxi-boards.

I trust that you read and understood the contents of 
http://linux-sunxi.org/Ippo_q8h and know that there is no support for 
A23 yet?

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] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 09:48:59AM -0700, Daniel Mosquera wrote:
> 
> The wiki page for the device is filled. 
> 
> Daniel

Smashing! Even UART :)

I made a few minor changes, but now it looks real good.

Question: isn't the u-boot button the same as the FEL button?

Could you make some pictures of the exterior of the device as well?

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] Re: Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 10:14:51AM -0700, Daniel Mosquera wrote:
> Hi,
> 
> I have built the kernel directly using sun5i_defconfig, but it refuses to 
> boot.
> I have tested with the last uboot and with the Fedora R18 uboot provided by 
> Hans de Goede,
> and in both cases Hans' image boots but the one built with sun5i_defconfig 
> doesn't boot.
> 
> Also I provide two Boot dumps, one with Hans' and one with the kernel built 
> by me in case it could clarify anything.
> 
> I'm building the kernel with the compiler provided by Ubuntu 12.04:

> gcc versión 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) 

Good point. I am on 4.7.2 which i already thought was old. Here is a 
link to the standalone toolchain i am using now/still:

https://launchpad.net/linaro-toolchain-binaries/trunk/2012.09/+download/gcc-linaro-arm-linux-gnueabihf-2012.09-20120921_linux.tar.bz2

It's probably worth having a go with that.

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] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 08:11:56AM -0700, Daniel Mosquera wrote:
> El miércoles, 19 de marzo de 2014 15:46:49 UTC+1, Luc Verhaegen escribió:
> >
> > On Tue, Mar 18, 2014 at 03:12:13PM -0700, Daniel Mosquera wrote: 
> > > Hi, 
> > > 
> > > I'm trying to boot the 3.4.79 kernel in an A10s TV Box device with the 
> > last 
> > > uboot, 
> > > but it hangs trying to boot the kernel. Please, can anybody help me? 
> >
> > What happens if you enable early printk? 
> >
> > Luc Verhaegen. 
> >
> 
> It hapens the same.

You are using the sun5i_defconfig?

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] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 03:40:19PM +0100, Luc Verhaegen wrote:
> On Wed, Mar 19, 2014 at 07:37:10AM -0700, Daniel Mosquera wrote:
> > Hi Luc,
> > 
> > No problem to document this board. 
> > My user is iso9660, but I cannot see any way I can add a new wiki page when 
> > reading the wiki with my user.
> > Could be related with my user account's permissions?
> > 
> > Kind regards
> 
> I have no set your wiki user group to "people", i hope that that fixes 
> this for you.
> 
> Luc Verhaegen.

Please edit http://linux-sunxi.org/Auxtek_T004
I have filled it up with the boilerplate stuff.

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] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Tue, Mar 18, 2014 at 03:12:13PM -0700, Daniel Mosquera wrote:
> Hi, 
> 
> I'm trying to boot the 3.4.79 kernel in an A10s TV Box device with the last 
> uboot, 
> but it hangs trying to boot the kernel. Please, can anybody help me?

What happens if you enable early printk?

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] Auxtek-004 booting problems

2014-03-19 Thread Luc Verhaegen
On Wed, Mar 19, 2014 at 07:37:10AM -0700, Daniel Mosquera wrote:
> Hi Luc,
> 
> No problem to document this board. 
> My user is iso9660, but I cannot see any way I can add a new wiki page when 
> reading the wiki with my user.
> Could be related with my user account's permissions?
> 
> Kind regards

I have no set your wiki user group to "people", i hope that that fixes 
this for you.

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] Auxtek-004 booting problems

2014-03-18 Thread Luc Verhaegen
On Tue, Mar 18, 2014 at 03:12:13PM -0700, Daniel Mosquera wrote:
> Hi, 
> 
> I'm trying to boot the 3.4.79 kernel in an A10s TV Box device with the last 
> uboot, 
> but it hangs trying to boot the kernel. Please, can anybody help me?
> 
> 
> 
> Board: Auxtek-T004
> DRAM: 512 MiB
> CPU: 100800Hz, AXI/AHB/APB: 3/2/2
> SPL: Please implement spl_start_uboot() for your board
> SPL: Direct Linux boot not active!
> 
> 
> U-Boot 2014.01 (Mar 18 2014 - 21:35:12) Allwinner Technology
> 
> CPU:   Allwinner A13/A10s (SUN5I)
> Board: Auxtek-T004
> I2C:   ready
> DRAM:  512 MiB
> MMC:   SUNXI SD/MMC: 0
> *** Warning - bad CRC, using default environment
> 
> In:serial
> Out:   serial
> Err:   serial
> Hit any key to stop autoboot:  0 
> reading uEnv.txt
> 436 bytes read in 3 ms (141.6 KiB/s)
> Loaded environment from uEnv.txt
> reading boot.scr
> ** Unable to read file boot.scr **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> Failed to mount ext2 filesystem...
> ** Unrecognized filesystem type **
> reading script.bin
> 35748 bytes read in 5 ms (6.8 MiB/s)
> reading uImage
> 3998032 bytes read in 205 ms (18.6 MiB/s)
> ## Booting kernel from Legacy Image at 4800 ...
>Image Name:   Linux-3.4.79
>Image Type:   ARM Linux Kernel Image (uncompressed)
>Data Size:3997968 Bytes = 3.8 MiB
>Load Address: 40008000
>Entry Point:  40008000
>Verifying Checksum ... OK
>Loading Kernel Image ... OK
> 
> Starting kernel ...

Another board which has u-boot/boards support, but which is not 
documented. Please first work through this guide first: 
http://linux-sunxi.org/New_Device_page

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] Add Ippo Q8H-v5

2014-03-18 Thread Luc Verhaegen
On Tue, Mar 18, 2014 at 12:33:01PM +0800, Chen-Yu Tsai wrote:
> Signed-off-by: Chen-Yu Tsai 
> ---
>  sys_config/a23/ippo-q8h-v5.fex | 844 
> +
>  1 file changed, 844 insertions(+)
>  create mode 100644 sys_config/a23/ippo-q8h-v5.fex

Did you compare this to 
http://dl.linux-sunxi.org/users/libv/ippo_q8h/ippo_q8h.fex ?

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] Re: New board: Merrii M2 (A20)

2014-03-18 Thread Luc Verhaegen
On Mon, Mar 17, 2014 at 04:49:14PM -0700, abell...@rioservice.com wrote:
> Hi,
> 
> I bought two of these boards and am trying to make them work with Linux. 
> Did you copy the modified u-boot into the Nand or are you booting the 
> system from the SD Card ?
> 
> Did you changed anything on the kernel/root file system ? What about the 
> drivers ? Is everything working fine (SATA, USB, Ethernet, WIFI/BT, etc) ?
> 
> Regards,
> Antonio Belloni
> 
> Em sexta-feira, 14 de fevereiro de 2014 16h00min39s UTC-2, Marcos Cruz 
> escreveu:
> >
> > Hi, 
> >
> >
> > This is a digital signage board based on A20 SoC, here the website: 
> > http://www.merrii.com/en/detail.asp?id=157
> > I managed to modify and install the Cubian distribution to function on 
> > it but 
> > I'm having problems with its VGA and HDMI outputs (no signal).
> > The file dmesg_output contains the kernel output.
> > What is curious about the board is I had to modify script.fex file in 
> > order to make 
> > the built in rtl8188etv operational but with the Android that comes 
> > pre-installed everything works.
> > Have anyone any idea about the VGA and HDMI outputs?
> >
> >
> > Regards,
> >
> >
> > Marcos
> >

http://linux-sunxi.org/index.php?search=merrii says: "There were no 
results matching the query." Same thing for: 
http://linux-sunxi.org/index.php?search=m2

I think http://linux-sunxi.org/New_Device_howto has been thrown in 
already.

Let me paste some excerpts:

> "I don't care about any of this, make my device work."
> 
> Linux-sunxi is a community, and it is mostly peoples spare time that 
> is sunk into it. Only very few people here work for hardware 
> manufacturers. So no-one here has an obligation to help you.
>
> By not working through this guide, you effectively tell the people 
> behind sunxi that they should waste their time on helping you, and 
> only you, and that you will then plan to run off without giving even a 
> tiny bit of time back. Why would anyone then spend their time helping 
> you?

NDH, or you're on your own.

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] A13 Mali400 GPU failed to load "g2d_23" and "mali_drm"

2014-03-17 Thread Luc Verhaegen
On Sun, Mar 16, 2014 at 03:30:23PM -0700, hunter hu wrote:
> Hello,
> 
> I am trying to enable the Mali400 GPU on my tablet running Ubuntu-12.04, 
> and followed the wiki page:  http://linux-sunxi.org/Binary_drivers.
> 
> I believe everything goes well regarding the installations, but Xorg.0.log 
> shows still failed to load kernel modules:  *"g2d_23" and "mali_drm"*
> 
> The fbturbo module seems load OK:
> [20.064] (II) LoadModule: "fbturbo"
> [20.068] (II) Loading /usr/lib/xorg/modules/drivers/fbturbo_drv.so
> [20.100] (II) Module fbturbo: vendor="X.Org Foundation"
> [20.100]compiled for 1.11.3, module version = 0.5.1
> [20.100]Module class: X.Org Video Driver
> [20.100]ABI class: X.Org Video Driver, version 11.0
> [20.100] (II) FBTURBO: driver for framebuffer: fbturbo
> [20.100] (++) using VT number 7
> 
> But what are not working with "g2d_23" and "mali_drm" are:
> [19.494] (II) FBTURBO(0): using backing store heuristics
> [19.501] (II) FBTURBO(0): can't load 'g2d_23' kernel module
> [19.523] (II) FBTURBO(0): No sunxi-g2d hardware detected (check 
> /dev/disp and /dev/g2d)
> [19.523] (II) FBTURBO(0): G2D hardware acceleration can't be enabled
> ...(tons oftheInvalid argument lines)
> [19.536] (EE) FBTURBO(0): FBIOPUTCMAP: Invalid argument
> [19.536] (EE) FBTURBO(0): FBIOPUTCMAP: Invalid argument
> [19.536] (EE) FBTURBO(0): FBIOPUTCMAP: Invalid argument
> [19.536] (EE) FBTURBO(0): FBIOPUTCMAP: Invalid argument
> [19.536] (==) FBTURBO(0): DPMS enabled
> [19.536] (II) FBTURBO(0): using sunxi disp layers for X video extension
> [19.536] (II) FBTURBO(0): using hardware cursor
> [19.551] (II) FBTURBO(0): can't load 'mali_drm' kernel module
> [19.551] (II) Loading sub module "dri2"
> [19.551] (II) LoadModule: "dri2"
> [19.552] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
> [19.552] (II) Module dri2: vendor="X.Org Foundation"
> [19.552]compiled for 1.11.3, module version = 1.2.0
> [19.552]ABI class: X.Org Server Extension, version 6.0
> [19.552] drmOpenDevice: node name is /dev/dri/card0
> [20.081] [drm] failed to load kernel module "mali_drm"
> [20.081] SunxiMaliDRI2_Init: drmOpen failed!
> [20.081] (II) FBTURBO(0): failed to enable DRI2 integration for Mali GPU
> 
> What are g2d_23 and mali_drm?  are the modules in the system upm and mali?
> 
> Any idea what are missing here?
> 
> Thanks in advance,
> -Hunter

First off, you are muddling things up rather badly here. The mali is 
only the GPU, only the 3d engine. There are display (disp), media 
(cedar) and 2d acceleration (g2d) engines on this SoC as well.

Then, the A13 doesn't have a G2D engine. So it is only natural that this 
doesn't work. Perhaps fbturbo should be a bit smarter about this and not 
complain as loudly on the A13.

As for the failure related to mali_drm, try manually loading it and see 
what the kernel complains about then.

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] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread Luc Verhaegen
On Wed, Mar 05, 2014 at 09:22:45AM -0500, jonsm...@gmail.com wrote:
> 
> I think you are misreading this. Allwinnner is trying to increase
> their appeal in Western markets. Joining Linaro will increase these
> Western ties. Big companies that have already made it send fluff
> engineers, not small companies climbing the ladder. Smartest thing for
> Allwinner to do is rotate their engineers through Linaro relatively
> quickly so that they learn normal Linux practices.
> 
> I would very much like to see Allwinner adopt normal Linux and Android
> build practices and become more involved in upstreaming code. Right
> now they just release tarballs which have no history or any way of
> tracking changes. So if Linaro teaches them about these processes we
> are all winners.
> 
> I'd love to just see the first step of them maintaining forked Android
> repos off from Google's master copies. In turn that would let their
> customers fork the Allwinner repos with their custom changes. Doing
> that would enable security updates to flow through the repo chain.
> Currently there is absolutely no mechanism for pushing security
> updates.
> 
> There are some topnotch Linux engineers working at Linaro. Let's hope
> they mentor the Allwinner people so that they can take the practices
> they learn back to China.
> 
> Besides, why can't linux-sunxi cooperate with the Linaro people?
> Everything Linaro does is on open mailing lists and servers. Maybe
> some of the linux-sunxi developers might poke around inside Linaro now
> and see if they can get themselves hired.

Time will tell.

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/groups/opt_out.


Re: [linux-sunxi] Re: Allwinner joins Linaro Digital Home Group, commits to open source chip support

2014-03-05 Thread Luc Verhaegen
On Mon, Mar 03, 2014 at 07:46:21PM -0500, jonsm...@gmail.com wrote:
> Videos of the announcement here...
> http://www.linaro.org/linaro-blog/2014/03/03/linaro-connect-asia-2014-kicks-off-in-macau/
> 
> http://www.prnewswire.com/news-releases/allwinner-joins-linaro-as-a-founding-member-of-the-linaro-digital-home-group-248195871.html
> 
> Let's hope this translates to full corporate support for upstreaming
> to mainline.
> 
> On Mon, Mar 3, 2014 at 2:37 PM, jonsm...@gmail.com  wrote:
> > http://liliputing.com/2014/03/allwinner-joins-linaro-digital-home-group-commits-open-source-chip-support.html

As i stated on irc, i am not too happy with allwinner joining linaro.

For quite a few of the linaro member companies, this is really just 
another consortium. They dispatch some fluff "engineers" that are 
usually not too useful anywhere else, and then pat themselves on the 
back that they are now actively doing the "open source" thing as well.

I was getting hopeful with allwinner talking to some of us directly in 
the last few weeks. But now that i learned that they joined linaro, that 
hope was lost. Allwinner joining linaro will only reduce Allwinners 
active contributions to linux-sunxi in future. They have chosen to back 
linaro instead, and will now dispatch some dispensable "engineers" to 
linaro, and feel good about themselves. And then they will turn around 
to us and state: "but we are already doing open source, at linaro".

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/groups/opt_out.


Re: [linux-sunxi] New board, PUMA A10s

2014-03-03 Thread Luc Verhaegen
On Mon, Mar 03, 2014 at 08:22:14AM -0800, Sergey Kovalev wrote:
> Hello!
> 
> We'd like to submit new board, it's called PUMA A10s.
> Size: credit card
> RAM: 512 MB
> Storage: single MicroSD slot
> Video: HDMI, composite (no LCD as it's too large for credit size board)
> Audio: capture/playback 3.5mm jacks
> Network: RTL8201CP
> RTC: pcf8563, pins for connecting RTC battery
> USB: MiniUSB OTG + Host USB type A
> Power source: 6..18V or OTG USB 5V
> Peripheria: 4 UART, 3 TWI, e.t.c. on PLD connectors
> 
> Attached patches are trivial - they add configuration files for supporting 
> this board.

http://linux-sunxi.org/New_Device_howto

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/groups/opt_out.


Re: [linux-sunxi] [Newbie] How difficult it can be to add support for a new device?

2014-02-23 Thread Luc Verhaegen
On Sun, Feb 23, 2014 at 12:31:16PM -0300, Emilio López wrote:
>
> A relatively easy way to confirm would be to go to Settings -> About  
> Tablet, you should see a build number containing "wing" (Luc, is there  
> any other names for A20 devices you've seen?). There is probably some  
> system information apps you can download too that will tell you if the  
> machine is sun7i.
>
> Cheers,
>
> Emilio

http://linux-sunxi.org/Retrieving_device_information has many options, 
and one of them is bound to work. Plus, with hw like this, chances are 
that a serial port is trivially available.

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/groups/opt_out.


Re: [linux-sunxi] [Newbie] How difficult it can be to add support for a new device?

2014-02-23 Thread Luc Verhaegen
On Sun, Feb 23, 2014 at 06:19:39AM -0800, mati8...@gmail.com wrote:
> El domingo, 23 de febrero de 2014 11:04:15 UTC-3, Luc Verhaegen  escribió:
> > 
> > It's described, in great detail, here:
> > http://linux-sunxi.org/New_Device_howto
> > 
> > Luc Verhaegen.
> 
> Hi Luc,
>
> Yes,
> I already read the wiki!. ;)
> 
> The question is: What chance of working?. Or is there a possibility 
> that this blocked?.

There might be some issues, but 90% of the cases just work out of the 
box, and the other 10% just required a bit more work.

> I know nothing about the hardware. is more or less standard?. Or can 
> have something strange and never be able make it work?

The hardware is described by 1 .fex file and 1 u-boot change.

> Second, I'm interested in doing in some moment with the main kernel. 
> This part is not described in the wiki. About port fex to 
> device-tree/mainline not say anything (Just describe the current work. 
> ;-)

Check Step 7.

> So from your experience. Worth buying? or is difficult to make it work?

I wrote most of that howto, and i have brought up several devices. I do 
not find it difficult at all now that all information is nicely 
gathered.

About that hardware, do make absolutely certain that this is indeed an 
allwinner and not some Wondermedia chip.

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/groups/opt_out.


Re: [linux-sunxi] [Newbie] How difficult it can be to add support for a new device?

2014-02-23 Thread Luc Verhaegen
On Sun, Feb 23, 2014 at 05:42:18AM -0800, mati8...@gmail.com wrote:
> Hi people,
> First of all, thank you very much for all your work. =)
> 
> I'm thinking buying a laptop with a microprocessor Allwinner A20. There is 
> not much information. Only this: 
> http://www.kanjitech.com.ar/productos/display/157
> 
> Comes with android, and would like to use it as a desktop with fedora, only 
> for browsing, listening to music, and maybe write some code.
> 
> So here's the main question:
> Without knowing anything about the device, what are the chances of getting 
> something usable? :S
> 
> Emm.
> Will I be able to obtain the fex file, or will be blocked?.
> ..and now, that chances to be functional with mainline kernel? I know that 
> now no support.. But it is difficult to convert the Fex to device tree?.
> 
> .and finally.. a A20 with 1GB of RAM, it will be usable as laptop?.
> 
> Once purchased, I can disassemble to see the real components, compile all 
> necessary kernels, etc, but would like to know your opinion.
> 
> Regards,
> Matias.
> 
> p.s: the only reason to try, is the battery life, and the challenge to make 
> it work, but do not want to spend 300usd for nothing.

It's described, in great detail, here:
http://linux-sunxi.org/New_Device_howto

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/groups/opt_out.


Re: [linux-sunxi] [PATCH] sunxi: add board hcore hc860

2014-02-21 Thread Luc Verhaegen
On Mon, Feb 17, 2014 at 01:08:31PM +0100, Luc Verhaegen wrote:
> Signed-off-by: Luc Verhaegen 
> ---
>  board/sunxi/Makefile|1 +
>  board/sunxi/dram_sun4i_384_1024_iow16.c |   31 
> +++
>  boards.cfg  |1 +
>  3 files changed, 33 insertions(+), 0 deletions(-)
>  create mode 100644 board/sunxi/dram_sun4i_384_1024_iow16.c
> 
> diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile
> index fc1744e..0f80925 100644
> --- a/board/sunxi/Makefile
> +++ b/board/sunxi/Makefile
> @@ -53,6 +53,7 @@ obj-$(CONFIG_EU3000)+= dram_eu3000.o
>  obj-$(CONFIG_GOOSEBERRY_A721)+= dram_gooseberry_a721.o
>  obj-$(CONFIG_H6) += dram_h6.o
>  obj-$(CONFIG_HACKBERRY)  += dram_hackberry.o
> +obj-$(CONFIG_HCORE_HC860)+= dram_sun4i_384_1024_iow16.o
>  obj-$(CONFIG_A7HD)   += dram_sun4i_360_1024_iow8.o
>  obj-$(CONFIG_INTERRA3)   += dram_mk802ii_a20.o
>  obj-$(CONFIG_INET_86VZ) += dram_a10s_olinuxino_m.o
> diff --git a/board/sunxi/dram_sun4i_384_1024_iow16.c 
> b/board/sunxi/dram_sun4i_384_1024_iow16.c
> new file mode 100644
> index 000..c5894c7
> --- /dev/null
> +++ b/board/sunxi/dram_sun4i_384_1024_iow16.c
> @@ -0,0 +1,31 @@
> +/* this file is generated, don't edit it yourself */
> +
> +#include 
> +#include 
> +
> +static struct dram_para dram_para = {
> + .clock = 384,
> + .type = 3,
> + .rank_num = 1,
> + .density = 4096,
> + .io_width = 16,
> + .bus_width = 32,
> + .cas = 6,
> + .zq = 123,
> + .odt_en = 0,
> + .size = 1024,
> + .tpr0 = 0x30926692,
> + .tpr1 = 0x1090,
> + .tpr2 = 0x1a0c8,
> + .tpr3 = 0,
> + .tpr4 = 0,
> + .tpr5 = 0,
> + .emr1 = 0x4,
> + .emr2 = 0,
> + .emr3 = 0,
> +};
> +
> +unsigned long sunxi_dram_init(void)
> +{
> + return dramc_init(&dram_para);
> +}
> diff --git a/boards.cfg b/boards.cfg
> index 33c77f1..0804183 100644
> --- a/boards.cfg
> +++ b/boards.cfg
> @@ -378,6 +378,7 @@ Active  arm armv7  sunxi   -  
>  sunxi
>  Active  arm armv7  sunxi   -   sunxi 
>   Gooseberry_A721  sun4i:GOOSEBERRY_A721,SPL  
>   
>  -
>  Active  arm armv7  sunxi   -   sunxi 
>   H6   sun4i:H6,SPL   
>   
>  -
>  Active  arm armv7  sunxi   -   sunxi 
>   Hackberrysun4i:HACKBERRY,SPL
>   
>  -
> +Active  arm armv7  sunxi   -   sunxi 
>   HCore_HC860  sun4i:HCORE_HC860,SPL  
>   
> -
>  Active  arm armv7  sunxi   -   sunxi 
>   Hyundai_A7HD sun4i:A7HD,SPL 
>   
>  -
>  Active  arm armv7  sunxi   -   sunxi 
>   Interra-3
> sun7i:INTERRA3,SPL,SUNXI_GMAC,FAST_MBUS,MMC_SUNXI_SLOT=2  
>     -
>  Active  arm armv7  sunxi   -   sunxi 
>   INet_86VZsun5i:INET_86VZ,SPL
>   
>   -

Pushed.

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/groups/opt_out.


Re: [linux-sunxi] [PATCH] Add HCore HC860

2014-02-21 Thread Luc Verhaegen
On Thu, Feb 20, 2014 at 04:19:25PM +0100, Luc Verhaegen wrote:
> On Thu, Feb 20, 2014 at 03:24:46PM +0100, Hans de Goede wrote:
> > Hi,
> > 
> > Looks good, thanks.
> > 
> > I assume that now you've push access, you can push this patch and
> > the u-boot patch yourself?
> > 
> > Note that in general I don't think we consider reviews necessary
> > for people with commit access for new fex files / u-boot support.
> > 
> > So if you've another board, and you've verified that what you're
> > pushing actually works there, feel free to push right away.
> > 
> > Regards,
> > 
> > Hans
> 
> Thanks, will do :)
> 
> Luc Verhaegen.

pushed.

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/groups/opt_out.


Re: [linux-sunxi] Hummingbird A20, anyone got it working?

2014-02-21 Thread Luc Verhaegen
On Thu, Feb 20, 2014 at 09:50:59AM -0800, Jeremy Darling wrote:
> I've been looking at this board with the 7" touch display as something new 
> to play with.  But reading the comments on the sellers page it seems many 
> people haven't had any luck with getting the Linux kernel from them and/or 
> getting Linux to actually work on it.
> 
> After asking on the Arch form I was pointed at the IRC channel.  As I'm not 
> much of an IRC person and found this list thought I'd try here first.
> 
> My questions are:
> How far has anyone actually got toward this being a useable general hacking 
> (hardware) board under Linux?
> 
> Is there a basic distro to download to the SD that at least boots and gets 
> you Keyboard, Display, and Network?
> 
> Is it worth the $$ or is it better to get something else (cubieboard2 with 
> the breakout board seems similar)?
> 
> If there isn't a distro, how hard is it to get this up and running for 
> someone who has a little experience compling drivers and apps for Linux but 
> not the entire kernal itself?
> 
> 
> Any and all info greatly appreciated, I don't have a lot of $$ to waste so 
> I'd like to make a good purchase the 1st time :)
> 
>  - Jeremy
> 
> PS: The two projects I was thinking of for this device (or whatever I get) 
> are a small Node.js Webserver to take to my kids events (they race) to 
> enter the details of their races on and provide a webpage to other members 
> of the details of the races.  Nothing fancy; Express.js and LevelUp on the 
> app side and a small wireless hub hooked to allow general access.  Battery 
> powered from 12v car plug.  Headless operation.
> 
> The other is in the kitchen as a general internet appliance for the wife. 
>  Calendar, Recipes, Internet Browser.  Using the 7" display.

It's sunxi hw, and it's not documented on our wiki and has no patches 
submitted to u-boot-sunxi or sunxi-boards.

To get this hw supported, you need to work through: 
http://linux-sunxi.org/New_Device_howto

"This is a concise guide for bringing up your hardware, and for 
documenting your hardware in one swoop. It is not rocket-science and 
some basic linux skills will suffice. All you need to do is meticulously 
follow the text here."

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/groups/opt_out.


Re: [linux-sunxi] [PATCH] Add HCore HC860

2014-02-20 Thread Luc Verhaegen
On Thu, Feb 20, 2014 at 03:24:46PM +0100, Hans de Goede wrote:
> Hi,
> 
> Looks good, thanks.
> 
> I assume that now you've push access, you can push this patch and
> the u-boot patch yourself?
> 
> Note that in general I don't think we consider reviews necessary
> for people with commit access for new fex files / u-boot support.
> 
> So if you've another board, and you've verified that what you're
> pushing actually works there, feel free to push right away.
> 
> Regards,
> 
> Hans

Thanks, will do :)

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/groups/opt_out.


Re: [linux-sunxi] [PATCH] Add Wexler TAB 7200 tablet

2014-02-20 Thread Luc Verhaegen
On Mon, Feb 17, 2014 at 11:36:57AM +0100, Luc Verhaegen wrote:
> On Mon, Jan 13, 2014 at 09:33:16AM +0400, Aleksei Mamlin wrote:
> > Signed-off-by: Aleksei Mamlin 
> > ---
> >  sys_config/a20/wexler_tab_7200.fex | 936 
> > +
> >  1 file changed, 936 insertions(+)
> >  create mode 100644 sys_config/a20/wexler_tab_7200.fex

> 
> Same here, i do not seem to have access.
> 
> Mind the trailing newline though, when committing this.
> 
> Luc Verhaegen.

Pushed.

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/groups/opt_out.


Re: [linux-sunxi] [PATCH] sunxi: Add Wexler TAB 7200 tablet

2014-02-20 Thread Luc Verhaegen
On Mon, Feb 17, 2014 at 11:31:12AM +0100, Luc Verhaegen wrote:
> On Mon, Jan 13, 2014 at 09:32:26AM +0400, Aleksei Mamlin wrote:
> > Signed-off-by: Aleksei Mamlin 
> > ---
> >  board/sunxi/Makefile   |  1 +
> >  board/sunxi/dram_wexler_tab_7200.c | 31 +++
> >  boards.cfg |  1 +
> >  3 files changed, 33 insertions(+)
> >  create mode 100644 board/sunxi/dram_wexler_tab_7200.c
> 
> Someone else needs to push this, i do not have access to this repo.
> 
> Applies cleanly with git am -3
> 
> Luc Verhaegen.

Pushed.

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/groups/opt_out.


Re: [linux-sunxi] Purchasing AllWinner chips

2014-02-19 Thread Luc Verhaegen
On Wed, Feb 19, 2014 at 09:11:52AM -0500, jonsm...@gmail.com wrote:
> On Wed, Feb 19, 2014 at 7:13 AM, Luc Verhaegen  wrote:
> > On Tue, Feb 18, 2014 at 03:35:13PM -0500, jonsm...@gmail.com wrote:
> >> On Tue, Feb 18, 2014 at 3:09 PM, Andre Renaud  
> >> wrote:
> >> > Hi,
> >> > Does anyone know of a reliable supplier who sells the AllWinner A20
> >> > chips? I was hoping to find them on digikey, mouser or avnet, but it
> >> > appears that they're a little bit hard to find. I see that Olimex will
> >> > sell them in low volumes, but I was hoping for a better known supplier
> >> > (and higher quantities).
> >>
> >> Allwinner is talking with the big distributors currently but AFAIK no
> >> deal has been reached yet.
> >>
> >> Many people have designed their own board locally using a few chips
> >> from Olimex. Then when you want to make a larger quantity have them
> >> assembled in Shenzhen. The Allwinner chips are plentiful in Shenzhen.
> >>
> >> Instead of buying chips you might want to consider standard Q88 tablet
> >> PCBAs. A20 tablet PCBAs can be bought in the $20-30 range in Shenzhen.
> >> An easy way to get a hold of them is to buy Q88 tablets and
> >> disassemble them. These PCBA are made by many companies and the price
> >> is highly competitive. It is also possible to buy STB PCBAs.
> >>
> >> Another option is to have a Chinese design house make one for you. For
> >> about $5000 they will design whatever you want and provide about ten
> >> prototype boards. These designs are easy to put into production since
> >> they will use local components. Around $40/board for medium volume but
> >> this depends on what you put on the board.
> >>
> >> Reusing Q88 PCBAs is by far the easiest solution. You can mount one in
> >> a case and then use an internal USB cable to talk to your specialized
> >> hardware if needed.
> >
> > Isn't Q88 an A13 based board?
> 
> Q88 is just the design dimensions. Most Q88 format boards are A13 but
> some are A10, A20 and A23.

Oh, i see, this is new info to me.

Maybe this should be documented on our wiki, as we have plenty of Q88 
lookalike devices in at least our A13 tablets.

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/groups/opt_out.


Re: [linux-sunxi] Kernel 3.4.79 with initramfs (initrd) doesn't recognize/boot SD card

2014-02-19 Thread Luc Verhaegen
do's logs again, we see that initrd gets
> loaded at a problematic address too:
> > >fatload mmc 0 0x4600 initrd.img
> And then something related to dma (memory?) allocation fails:
> > >[1.369554] [mmc-err] alloc dma des failed
> 
> The solution for this problem is not to place initrd anywhere
> between 0x4300 and 0x5000. It might be even a good
> idea to introduce a special check in the kernel code for this
> problem to log a comprehensive error message and warn the users.
> 
> Even with the older kernels, placing initrd into this particular
> memory addresses range was not completely safe either. Just the
> overlapping with other memory reservations was not checked
> strictly enough.
> 
> It's good to see that people are taking sunxi 3.4.79 kernel into
> use so soon after it got tagged and are now providing feedback.
> 
> Thanks!
> 
> -- 
> Best regards,
> Siarhei Siamashka
> 
> -- 
> 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/groups/opt_out.

Please adapt http://linux-sunxi.org/Initial_Ramdisk

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/groups/opt_out.


Re: [linux-sunxi] New board: Merrii M2 (A20)

2014-02-19 Thread Luc Verhaegen
On Fri, Feb 14, 2014 at 10:00:39AM -0800, Marcos Cruz wrote:
> Hi, 
> 
> 
> This is a digital signage board based on A20 SoC, here the website: 
> http://www.merrii.com/en/detail.asp?id=157
> I managed to modify and install the Cubian distribution to function on 
> it but 
> I'm having problems with its VGA and HDMI outputs (no signal).
> The file dmesg_output contains the kernel output.
> What is curious about the board is I had to modify script.fex file in 
> order to make 
> the built in rtl8188etv operational but with the Android that comes 
> pre-installed everything works.
> Have anyone any idea about the VGA and HDMI outputs?
> 
> 
> Regards,
> 
> 
> Marcos

Please work through our http://linux-sunxi.org/New_Device_howto fully.

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/groups/opt_out.


Re: [linux-sunxi] Purchasing AllWinner chips

2014-02-19 Thread Luc Verhaegen
On Tue, Feb 18, 2014 at 03:35:13PM -0500, jonsm...@gmail.com wrote:
> On Tue, Feb 18, 2014 at 3:09 PM, Andre Renaud  wrote:
> > Hi,
> > Does anyone know of a reliable supplier who sells the AllWinner A20
> > chips? I was hoping to find them on digikey, mouser or avnet, but it
> > appears that they're a little bit hard to find. I see that Olimex will
> > sell them in low volumes, but I was hoping for a better known supplier
> > (and higher quantities).
> 
> Allwinner is talking with the big distributors currently but AFAIK no
> deal has been reached yet.
> 
> Many people have designed their own board locally using a few chips
> from Olimex. Then when you want to make a larger quantity have them
> assembled in Shenzhen. The Allwinner chips are plentiful in Shenzhen.
> 
> Instead of buying chips you might want to consider standard Q88 tablet
> PCBAs. A20 tablet PCBAs can be bought in the $20-30 range in Shenzhen.
> An easy way to get a hold of them is to buy Q88 tablets and
> disassemble them. These PCBA are made by many companies and the price
> is highly competitive. It is also possible to buy STB PCBAs.
> 
> Another option is to have a Chinese design house make one for you. For
> about $5000 they will design whatever you want and provide about ten
> prototype boards. These designs are easy to put into production since
> they will use local components. Around $40/board for medium volume but
> this depends on what you put on the board.
> 
> Reusing Q88 PCBAs is by far the easiest solution. You can mount one in
> a case and then use an internal USB cable to talk to your specialized
> hardware if needed.

Isn't Q88 an A13 based board?

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/groups/opt_out.


Re: [linux-sunxi] Problems running Linux on a A20 tablet, from a micro SD card

2014-02-19 Thread Luc Verhaegen
On Sat, Feb 15, 2014 at 07:37:35PM -0500, Marc Lavallée wrote:
> Hello linux-sunxi developpers.
> This is my first post on the list.
> 
> I followed the instructions to create a hardware pack and used
> it to modify a micro SD card with a cubie board Linux system, in order
> to boot my A20 based iRulu AX105 tablet. When I booted it with the

What instructions did you follow?

Shouldn't you be working through http://linux-sunxi.org/New_Device_howto
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/groups/opt_out.


[linux-sunxi] [PATCH] sunxi: add board hcore hc860

2014-02-17 Thread Luc Verhaegen
Signed-off-by: Luc Verhaegen 
---
 board/sunxi/Makefile|1 +
 board/sunxi/dram_sun4i_384_1024_iow16.c |   31 +++
 boards.cfg  |1 +
 3 files changed, 33 insertions(+), 0 deletions(-)
 create mode 100644 board/sunxi/dram_sun4i_384_1024_iow16.c

diff --git a/board/sunxi/Makefile b/board/sunxi/Makefile
index fc1744e..0f80925 100644
--- a/board/sunxi/Makefile
+++ b/board/sunxi/Makefile
@@ -53,6 +53,7 @@ obj-$(CONFIG_EU3000)  += dram_eu3000.o
 obj-$(CONFIG_GOOSEBERRY_A721)  += dram_gooseberry_a721.o
 obj-$(CONFIG_H6)   += dram_h6.o
 obj-$(CONFIG_HACKBERRY)+= dram_hackberry.o
+obj-$(CONFIG_HCORE_HC860)  += dram_sun4i_384_1024_iow16.o
 obj-$(CONFIG_A7HD) += dram_sun4i_360_1024_iow8.o
 obj-$(CONFIG_INTERRA3) += dram_mk802ii_a20.o
 obj-$(CONFIG_INET_86VZ) += dram_a10s_olinuxino_m.o
diff --git a/board/sunxi/dram_sun4i_384_1024_iow16.c 
b/board/sunxi/dram_sun4i_384_1024_iow16.c
new file mode 100644
index 000..c5894c7
--- /dev/null
+++ b/board/sunxi/dram_sun4i_384_1024_iow16.c
@@ -0,0 +1,31 @@
+/* this file is generated, don't edit it yourself */
+
+#include 
+#include 
+
+static struct dram_para dram_para = {
+   .clock = 384,
+   .type = 3,
+   .rank_num = 1,
+   .density = 4096,
+   .io_width = 16,
+   .bus_width = 32,
+   .cas = 6,
+   .zq = 123,
+   .odt_en = 0,
+   .size = 1024,
+   .tpr0 = 0x30926692,
+   .tpr1 = 0x1090,
+   .tpr2 = 0x1a0c8,
+   .tpr3 = 0,
+   .tpr4 = 0,
+   .tpr5 = 0,
+   .emr1 = 0x4,
+   .emr2 = 0,
+   .emr3 = 0,
+};
+
+unsigned long sunxi_dram_init(void)
+{
+   return dramc_init(&dram_para);
+}
diff --git a/boards.cfg b/boards.cfg
index 33c77f1..0804183 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -378,6 +378,7 @@ Active  arm armv7  sunxi   -
   sunxi
 Active  arm armv7  sunxi   -   sunxi   
Gooseberry_A721  sun4i:GOOSEBERRY_A721,SPL  

   -
 Active  arm armv7  sunxi   -   sunxi   
H6   sun4i:H6,SPL   

   -
 Active  arm armv7  sunxi   -   sunxi   
Hackberrysun4i:HACKBERRY,SPL

   -
+Active  arm armv7  sunxi   -   sunxi   
HCore_HC860  sun4i:HCORE_HC860,SPL  

  -
 Active  arm armv7  sunxi   -   sunxi   
Hyundai_A7HD sun4i:A7HD,SPL 

   -
 Active  arm armv7  sunxi   -   sunxi   
Interra-3
sun7i:INTERRA3,SPL,SUNXI_GMAC,FAST_MBUS,MMC_SUNXI_SLOT=2
  -
 Active  arm armv7  sunxi   -   sunxi   
INet_86VZsun5i:INET_86VZ,SPL

  -
-- 
1.7.7

-- 
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/groups/opt_out.


<    1   2   3   4   5   >