Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
Yes i will compile the kernel with most of the mmc options enabled and see if it detects. Thanks for the input. regds mallah. On Tue, Jan 14, 2014 at 10:10 AM, Dmitriy B. wrote: > 2014/1/14 Rajesh Mallah >> >> In Android the flash is recognized as mmcblk0 . >> > > That means that this is not

Re: [linux-sunxi] Re: Boot Android from SD card

2014-01-13 Thread jonsm...@gmail.com
I got this working after a while. Replace unimg with awimage -u original.img Touch up some syntax issues with linux versions replace mele uboot/spl with your own #!/bin/sh PREFIX=`dirname $0` if [ ! -f original.img ] then echo "original.img not found, please create it!" exit 1 fi echo Cleaning e

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Dmitriy B.
2014/1/14 Rajesh Mallah > > In Android the flash is recognized as mmcblk0 . > That means that this is not a NAND flash. It is eMMC flash connected to one of the SD ports. You dont need NAND flash controller to use eMMC. -- You received this message because you are subscribed to the Google Gro

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
Even the uboot U-Boot 2011.09-rc1-2-g5741652-dirty (Apr 24 2013 - 08:47:27) Allwinner Technology arm-linux-gnueabi-gcc (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 4.6.3 20120201 (prerelease) GNU ld (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) 2.22

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
Hi, In Android the flash is recognized as mmcblk0 . The android kernel is: / # cat /proc/version Linux version 3.3.0+ (zhangyb@dev21) (gcc version 4.6.3 20120201 (prerelease) (crosstool-NG linaro-1.13.1-2012.02-20120222 - Linaro GCC 2012.02) ) #2 SMP PREEMPT Wed A3 / # <4>[1.185531] [mmc-

[linux-sunxi] Re: [PATCH v5 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-13 Thread Tony Prisk
On 14/01/14 11:45, Hans de Goede wrote: Currently ehci-platform is only used in combination with devicetree when used with some Via socs. By extending it to (optionally) get clks and a phy from devicetree, and enabling / disabling those on power_on / off, it can be used more generically. Specific

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
the flash chip on the pcb is FORESEE NCTSTS86-04G . On Tue, Jan 14, 2014 at 8:40 AM, Rajesh Mallah wrote: > dear nils nuls, > can u pls post the nand related lines of your dmesg? > ie > > dmesg | grep -i nand > > also can you tell what is the flash chip on ur board? > > regds > mallah. > > > >

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
dear nils nuls, can u pls post the nand related lines of your dmesg? ie dmesg | grep -i nand also can you tell what is the flash chip on ur board? regds mallah. On Tue, Jan 14, 2014 at 12:49 AM, Rajesh Mallah wrote: > > > I would like to point out that > > root@A20:~# dmesg | grep -i nand >

Re: [linux-sunxi] Re: Boot Android from SD card

2014-01-13 Thread jonsm...@gmail.com
I can't get unimg.exe to run under Wine. It just prints garage and exits Unpacking image from original.img ==╜Γ░ⁿ╩º░▄== IMAGEWTY[0]╖╓╬÷╓╞╫≈╣ñ╛▀ [┐¬╖ó╒▀: esxgx] Maybe I need some missing Windows library on Wine? I tried installing mfc42. On Mon, Jan 13, 2014 at 11:28 AM, wrote: > понедельн

[linux-sunxi] [PATCH v5 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Hans de Goede
Hi all, And here is v5 of my ohci and ehci-platform clks, phy and dt support patch-set. New since the last version is that the compatibility strings now are "usb-ohci" and "usb-ehci", which should make everyone happy I hope. Other then that there are no changes compared to v4. Regards, Hans -

[linux-sunxi] [PATCH v5 1/2] ohci-platform: Add support for devicetree instantiation

2014-01-13 Thread Hans de Goede
Add support for ohci-platform instantiation from devicetree, including optionally getting clks and a phy from devicetree, and enabling / disabling those on power_on / off. This should allow using ohci-platform from devicetree in various cases. Specifically after this commit it can be used for the

[linux-sunxi] [PATCH v5 2/2] ehci-platform: Add support for clks and phy passed through devicetree

2014-01-13 Thread Hans de Goede
Currently ehci-platform is only used in combination with devicetree when used with some Via socs. By extending it to (optionally) get clks and a phy from devicetree, and enabling / disabling those on power_on / off, it can be used more generically. Specifically after this commit it can be used for

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
I would like to point out that root@A20:~# dmesg | grep -i nand [0.899089] [NAND] nand driver version: 0x2 0x9 [0.903783] [SCAN_ERR] search nand physical architecture parameter failed! [0.910650] [NAND]init_blklayer fail -- You received this message because you are subscribed to the

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread nilsnuls0
понедельник, 13 января 2014 г., 23:11:16 UTC+4 пользователь Rajesh Mallah написал: > I am using the UART to output to minicom. > > sorry but it does not seems to work. fdisk -l does not show the nand > partitions. > > i am using the same uImage , script.bin > > > > root@A20:~# uname -a > Lin

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread nilsnuls0
понедельник, 13 января 2014 г., 23:11:16 UTC+4 пользователь Rajesh Mallah написал: > I am using the UART to output to minicom. > > sorry but it does not seems to work. fdisk -l does not show the nand > partitions. > > i am using the same uImage , script.bin > > > > root@A20:~# uname -a > Lin

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
I am using the UART to output to minicom. sorry but it does not seems to work. fdisk -l does not show the nand partitions. i am using the same uImage , script.bin root@A20:~# uname -a Linux A20 3.4.75+ #2 SMP PREEMPT Thu Jan 9 00:47:31 MSK 2014 armv7l GNU/Linux root@A20:~# fdisk -l Disk /dev/mm

[linux-sunxi] Re: [PATCH v3 0/3] ARM: sun7i/sun6i: irqchip: Irqchip driver for NMI

2014-01-13 Thread Carlo Caione
On Sat, Jan 11, 2014 at 4:19 PM, Carlo Caione wrote: > Allwinner A20/A31 SoCs have a special interrupt controller for managing NMI. > Three register are present to (un)mask, control and acknowledge NMI. > These two patches add a new irqchip driver in cascade with GIC. > > Changes since v1: >

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread nilsnuls0
понедельник, 13 января 2014 г., 22:25:32 UTC+4 пользователь Rajesh Mallah написал: > I am so thankful. I will just try and let you know. > kind regds > mallah. > > > > > On Mon, Jan 13, 2014 at 11:50 PM, wrote: > > понедельник, 13 января 2014 г., 22:03:45 UTC+4 пользователь Rajesh Mallah >

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
I am so thankful. I will just try and let you know. kind regds mallah. On Mon, Jan 13, 2014 at 11:50 PM, wrote: > понедельник, 13 января 2014 г., 22:03:45 UTC+4 пользователь Rajesh Mallah > написал: > >Can you please share your configuration. > > if possible could you please share the binary uI

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread nilsnuls0
понедельник, 13 января 2014 г., 22:03:45 UTC+4 пользователь Rajesh Mallah написал: >Can you please share your configuration. > if possible could you please share the binary uImage , script.bin and the tar > ball of compiled modules. > uImage, modules & script.bin - http://yadi.sk/d/15EzmUHgFz2Q

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread Rajesh Mallah
I have not tried yet to boot linux from NAND, but when boot from SD ,i can mount nand partitions .Kernel sunxi-3.4 . > It's Mele M3 too . > > Thats so relieving! Can you please share your configuration. if possible could you please share the binary uImage , script.bin and the tar ball of compil

[linux-sunxi] Re: Announcing Fedora 19 ARM remix for Allwinner SOCs release 1, now with A20 support

2014-01-13 Thread Nelson Grodzicki
Hi, so far this is what I got from dmseg [10947.177718] sw_usb_enable_hcd: usbc_num = 1 [10947.182129] usbcore: registered new interface driver rtl8188eu Will see.. Thanks 2014/1/13 > понедельник, 13 января 2014 г., 17:43:25 UTC+4 пользователь Nelson > Grodzicki написал: > > Still inte

Re: [linux-sunxi] A20 dram applied to A10

2014-01-13 Thread nilsnuls0
понедельник, 13 января 2014 г., 16:25:57 UTC+4 пользователь Siarhei Siamashka написал: > You can try to do the following test, which stresses the CPU even more: > $ wget https://raw2.github.com/ssvb/cpuburn-arm/master/cpuburn-a8.S > $ arm-linux-gnueabihf-gcc -o cpuburn-a8 cpuburn-a8.S > And then

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

2014-01-13 Thread Luc Verhaegen
On Mon, Jan 13, 2014 at 09:20:20AM -0800, Алексей Мамлин wrote: > I uploaded a new version of the front panel, but i can't remove old. It > seems i have no permission. Ah, nvm. A page reload fixed that bit :) > Currently board is not fully equipped, i need some time for soldering > parts(i bur

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

2014-01-13 Thread Алексей Мамлин
I uploaded a new version of the front panel, but i can't remove old. It seems i have no permission. Currently board is not fully equipped, i need some time for soldering parts(i burned usb-hosts DC-DC regulator). May i add photo of board later? понедельник, 13 января 2014 г., 21:03:09 UTC+4 пол

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

2014-01-13 Thread Luc Verhaegen
On Mon, Jan 13, 2014 at 08:54:08AM -0800, Алексей Мамлин wrote: > This is my mistake. I'm sorry. Please review wiki page. > Can you remove the image in the infobox and replace it with the front one you made yourself? Did you manage to get a picture of the full board? Perhaps we can get some fu

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

2014-01-13 Thread Алексей Мамлин
This is my mistake. I'm sorry. Please review wiki page. понедельник, 13 января 2014 г., 17:26:08 UTC+4 пользователь Luc Verhaegen написал: > > On Mon, Jan 13, 2014 at 12:44:35AM -0800, Алексей Мамлин wrote: > > Yes, I created a wiki page http://linux-sunxi.org/Wexler_TAB_7200 > > Some items(UAR

[linux-sunxi] Re: Boot Android from SD card

2014-01-13 Thread nilsnuls0
понедельник, 13 января 2014 г., 20:24:26 UTC+4 пользователь Jon Smirl написал: > Are there any tools for making a bootable Android SD card  - parallel to the > Linux BSP tool? All the tools I see write the Android into on board flash > which really slows down the development cycle. > > > > --

[linux-sunxi] Boot Android from SD card

2014-01-13 Thread jonsm...@gmail.com
Are there any tools for making a bootable Android SD card - parallel to the Linux BSP tool? All the tools I see write the Android into on board flash which really slows down the development cycle. -- Jon Smirl jonsm...@gmail.com -- You received this message because you are subscribed to the Go

[linux-sunxi] Doing some sunxi hacking in Brussels the Friday before Fosdem ?

2014-01-13 Thread Hans de Goede
Hi All, I know it is pretty late for this, and that most of you have already made travel arrangements, sorry about that. I have this last moment spontaneous idea that it would be fun for people who are in or near Brussels anyways (*), to do some sunxi hacking on the Friday before Fosdem. Benja

[linux-sunxi] Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Alan Stern
On Mon, 13 Jan 2014, Hans de Goede wrote: > I agree that usb-Xhci would be the best compatible strings to use. > > The problem with usb-ehci is that there already is a ppc specific driver > binding to that > compatible string, doing various ppc specific controller initialization. > > Thinking m

[linux-sunxi] Re: Announcing Fedora 19 ARM remix for Allwinner SOCs release 1, now with A20 support

2014-01-13 Thread nilsnuls0
понедельник, 13 января 2014 г., 17:43:25 UTC+4 пользователь Nelson Grodzicki написал: > Still internal WiFi does not want to show up ... what 'dmesg' out after 'modprobe 8188eu' ? -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe fr

[linux-sunxi] Re: [PATCH v4 0/2] ohci and ehci-platform clks, phy and dt support

2014-01-13 Thread Hans de Goede
Hi, On 01/12/2014 02:04 PM, Tomasz Figa wrote: Hi, [Cc'ing DT maintainers directly] Alan Stern Wrote: I prefer the -generic option, although generic- is equally fine - Having said that, I don't really care if it's called mmio either (although this does seem less 'descriptive'). I can d

[linux-sunxi] Re: Announcing Fedora 19 ARM remix for Allwinner SOCs release 1, now with A20 support

2014-01-13 Thread Nelson Grodzicki
Good day Ian: Chinese tablet is bacaming very rebel. Still internal WiFi does not want to show up ... This is the new [usb] section of my script.bin [usbc0] usb_used = 1 usb_port_type = 2 usb_detect_type = 1 usb_id_gpio = port:PG02<0><1> usb_det_vbus_gpio = port:PG01<0><0> usb_drv_vbus_gpio = port:

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

2014-01-13 Thread Luc Verhaegen
On Mon, Jan 13, 2014 at 12:44:35AM -0800, Алексей Мамлин wrote: > Yes, I created a wiki page http://linux-sunxi.org/Wexler_TAB_7200 > Some items(UART points and Pictures) i'll add later > That picture in the infobox, did you make that, or do you have permission to put it in our wiki under the CC

[linux-sunxi] [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

2014-01-13 Thread Zoltan HERPAI
From b2cd1681fe988584028d280ca79249f4ebcb271c Mon Sep 17 00:00:00 2001 From: Zoltan HERPAI Date: Mon, 13 Jan 2014 14:00:12 +0100 Subject: [PATCH v2] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino This patch will add a basic board support DT for the LinkSprite pcDuino board. Si

Re: [linux-sunxi] A20 dram applied to A10

2014-01-13 Thread Siarhei Siamashka
On Mon, 13 Jan 2014 01:33:30 -0800 (PST) nilsnu...@gmail.com wrote: > суббота, 11 января 2014 г., 23:23:58 UTC+4 пользователь Siarhei Siamashka > написал: > > > Well, you can't claim that these are the "default manufacturer > > settings" when you are seriously overclocking your hardware. > > wh

Re: Fwd: [linux-sunxi] [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-13 Thread boris brezillon
On 13/01/2014 12:19, Dmitriy B. wrote: -- Forwarded message -- From: *Dmitriy B.* mailto:rzk...@gmail.com>> Date: 2014/1/9 Subject: Re: [linux-sunxi] [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support To: linux-sunxi@googlegroups.com

Re: Fwd: [linux-sunxi] [RFC PATCH 8/9] ARM: dt/sunxi: add NFC pinctrl pin definitions

2014-01-13 Thread boris brezillon
On 13/01/2014 12:20, Dmitriy B. wrote: -- Forwarded message -- From: *Dmitriy B.* mailto:rzk...@gmail.com>> Date: 2014/1/9 Subject: Re: [linux-sunxi] [RFC PATCH 8/9] ARM: dt/sunxi: add NFC pinctrl pin definitions To: linux-sunxi@googlegroups.com

[linux-sunxi] Re: [PATCH] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

2014-01-13 Thread Zoltan HERPAI
Hi Maxime, On Mon, 13 Jan 2014, Maxime Ripard wrote: [...] Is LinkSprite the retailer or the manufacturer? If the former, it shouldn't appear in the model string, if the latter, it should be the prefix in the compatible. Otherwise, it looks very good, thanks! LinkSprite is the manufacturer

[linux-sunxi] [PATCH v2 4/5] ARM: sun6i: Enable the I2C muxing options

2014-01-13 Thread Maxime Ripard
The i2c controllers have a few muxing options on the A31. Enable the ones found in the A31 Colombus board. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 21 + 1 file changed, 21 insertions(+) diff --git a/arch/arm/boot/dts/sun6i-a31.dtsi b/arch/arm/boot

[linux-sunxi] [PATCH v2 0/5] ARM: sun6i: Add support for the A31 I2C controller

2014-01-13 Thread Maxime Ripard
Hi everyone, This patchset adds support the A31 i2c controller. This is mostly the same controller as the one found in the other Allwinner SoCs, except for the interrupts acking. On the other SoCs using this driver, the interrupts are acked by clearing the INT_FLAG bit in the control register, wh

[linux-sunxi] [PATCH v2 2/5] i2c: mv64xxx: Add support for the Allwinner A31 I2C driver

2014-01-13 Thread Maxime Ripard
The Allwinner A31 I2C controller is almost identical to the one used in the other Allwinner SoCs, except for the fact that it needs to clear the interrupt by setting the INT_FLAGS bit in the control register, instead of clearing it. Signed-off-by: Maxime Ripard --- Documentation/devicetree/bindi

[linux-sunxi] [PATCH v2 5/5] ARM: sun6i: colombus: Enable the I2C controllers

2014-01-13 Thread Maxime Ripard
The A31 Colombus board has 3 I2C controllers that should be usable. However, the first one is not working for some reason on the hardware I have been able to test it on, while it should really be the same controller. Enable the i2c1 and i2c2 busses, and mark i2c0 as in failure in the DT. Signed-of

[linux-sunxi] [PATCH v2 3/5] ARM: sun6i: Enable the I2C controllers

2014-01-13 Thread Maxime Ripard
The A31 has 4 I2C controllers that are the same than the one in the other Allwinner SoCs, except for the fact that they are asserted in reset by the reset unit. Add these i2c controllers to the DTSI. Signed-off-by: Maxime Ripard --- arch/arm/boot/dts/sun6i-a31.dtsi | 40

[linux-sunxi] [PATCH v2 1/5] i2c: mv64xxx: Add reset deassert call

2014-01-13 Thread Maxime Ripard
The Allwinner A31 SoC using that IP has a reset controller maintaining it reset unless told otherwise. Add some optional reset support to the driver. Signed-off-by: Maxime Ripard --- .../devicetree/bindings/i2c/i2c-mv64xxx.txt | 1 + drivers/i2c/busses/Kconfig

Re: [linux-sunxi] [PATCH] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

2014-01-13 Thread Benjamin Henrion
On Sat, Jan 11, 2014 at 6:04 PM, Luc Verhaegen wrote: > On Sat, Jan 11, 2014 at 04:54:52PM +0100, Zoltan HERPAI wrote: >> This patch will add a basic board support DT for the >> LinkSprite pcDuino. > > Can you also spare some time and fix up > > http://linux-sunxi.org/PcDuino > > To better match h

[linux-sunxi] Re: [PATCH] ARM: sun4i: dt: Add basic board support for LinkSprite pcDuino

2014-01-13 Thread Maxime Ripard
Hi Zoltan, On Sat, Jan 11, 2014 at 04:54:52PM +0100, Zoltan HERPAI wrote: > This patch will add a basic board support DT for the > LinkSprite pcDuino. > > Signed-off-by: Zoltan HERPAI > --- > arch/arm/boot/dts/Makefile |1 + > arch/arm/boot/dts/sun4i-a10-pcduino.dts | 48 > +

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-13 Thread Henrik Nordström
mån 2014-01-13 klockan 10:02 +0100 skrev boris brezillon: > The most complicated part is the boot0 partition. Not really. It's only a little different (sequential ECC, static randomizer seed on every page). > Tell me if I'm wrong, but here's what I understood from your work (and > yuq's work to

Re: [linux-sunxi] A20 dram applied to A10

2014-01-13 Thread nilsnuls0
суббота, 11 января 2014 г., 23:23:58 UTC+4 пользователь Siarhei Siamashka написал: > Well, you can't claim that these are the "default manufacturer > settings" when you are seriously overclocking your hardware. when i mean "default manufacturer settings" i mean there is no any overclocking or k

Re: [linux-sunxi] Re: [RFC PATCH 0/9] mtd: nand: add sunxi NAND Flash Controller support

2014-01-13 Thread boris brezillon
Hi Henrik, On 11/01/2014 22:11, Henrik Nordström wrote: thanks for pointing out your documents I'm trying to get the NAND driver with HW ECC (and HW RND) without using DMA at all I tried many things but did not quite get the ECC reading command to return meaningful resuts. But should work som

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

2014-01-13 Thread Алексей Мамлин
Yes, I created a wiki page http://linux-sunxi.org/Wexler_TAB_7200 Some items(UART points and Pictures) i'll add later понедельник, 13 января 2014 г., 10:11:24 UTC+4 пользователь Luc Verhaegen написал: > > I don't see a device page anywhere. > > Did you work through the http://linux-sunxi.org/New

Re: [linux-sunxi] Re: help with NAND access of A20 based MELE M5

2014-01-13 Thread nilsnuls0
воскресенье, 12 января 2014 г., 9:25:37 UTC+4 пользователь Rajesh Mallah написал: > Dear Patrick, > Thanks for the reply. > > I am not able to get a kernel that can recognize the nand . I boot from > SDcard . > I am expecting the nand as block devices like /dev/nand[a-i]  etc. The flash > > c