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: bbrezillon thanks for pointing out your documents bbrezillon 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

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

[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 wigy...@uid0.hu --- arch/arm/boot/dts/Makefile |1 + arch/arm/boot/dts/sun4i-a10-pcduino.dts |

[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 maxime.rip...@free-electrons.com ---

[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 maxime.rip...@free-electrons.com --- .../devicetree/bindings/i2c/i2c-mv64xxx.txt | 1 +

[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,

[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

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.* rzk...@gmail.com 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

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. when i mean

[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 wigy...@uid0.hu 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

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 CCA

[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:PG0201defaultdefault usb_det_vbus_gpio = port:PG0100defaultdefault

[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] snip 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

[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 from

[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

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

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(UART

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

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

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 run

[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 nilsnu...@gmail.com понедельник, 13 января 2014 г., 17:43:25 UTC+4 пользователь Nelson Grodzicki

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 compiled

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/15EzmUHgFz2QR

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

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

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,

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 mallah.raj...@gmail.comwrote: I would like to point out that root@A20:~#

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 mallah.raj...@gmail.comwrote: 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

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

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 Dmitriy B.
2014/1/14 Rajesh Mallah mallah.raj...@gmail.com 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

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

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. rzk...@gmail.com wrote: 2014/1/14 Rajesh Mallah mallah.raj...@gmail.com In Android the flash is recognized as mmcblk0 .