[linux-sunxi] Re: [PATCH u-boot sunxi] sunxi: reduce Cubieboard2 dram clock from 480MHz to 384MHz

2014-03-21 Thread Ratin
On Friday, October 18, 2013 10:25:27 AM UTC-7, Siarhei Siamashka wrote: http://irclog.whitequark.org/linux-sunxi/2013-07-29#4520613; 10:10 Tsvetan the reason we made 384Mhz image is, because when we had enough boards produced 10:10 Tsvetan we noticed that 20% of A20

Re: [linux-sunxi] Re: [PATCH u-boot sunxi] sunxi: reduce Cubieboard2 dram clock from 480MHz to 384MHz

2014-03-21 Thread Hans de Goede
Hi, On 03/20/2014 11:50 PM, Ratin wrote: On Friday, October 18, 2013 10:25:27 AM UTC-7, Siarhei Siamashka wrote: http://irclog.whitequark.org/linux-sunxi/2013-07-29#4520613; 10:10 Tsvetan the reason we made 384Mhz image is, because when we had enough boards produced

Re: [linux-sunxi] Re: Build sunxi-next for A20

2014-03-21 Thread hmandevteam
i trying to update multi_v7_defconfig generated .config from sunxi-next with /proc/config of working debian image with kernel 3.4 but there are many sections and i haven't a good knowledge to know what update. Could you say me a minimum CONFIG_ item that i should import from working config file

Re: [linux-sunxi] Re: [PATCH u-boot sunxi] sunxi: reduce Cubieboard2 dram clock from 480MHz to 384MHz

2014-03-21 Thread ditmar . rose
Am Freitag, 21. März 2014 11:16:04 UTC+1 schrieb Hans de Goede: any objections to me merging this during one of the coming days ? There was a discussion with Huang Benn who is a member of Cubieboard. https://groups.google.com/forum/#!topic/linux-sunxi/rhOUJXJu0Jg 384 MHz seems to be quit

Re: [U-Boot] [linux-sunxi] Re: [PATCH v1 8/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-21 Thread Tom Rini
On Tue, Mar 18, 2014 at 09:22:50AM +0100, Maxime Ripard wrote: On Mon, Mar 17, 2014 at 03:33:19PM -0400, Tom Rini wrote: On Sun, Mar 16, 2014 at 03:19:40PM +, Ian Campbell wrote: On Fri, 2014-03-14 at 15:03 -0400, Tom Rini wrote: On 03/14/2014 02:50 PM, Hans de Goede wrote: Hi,

[linux-sunxi] When does the I2C probe function get called

2014-03-21 Thread Dave McLaughlin
I am trying to port a touchscreen driver to my system and I have the module building and installing. I have added it to the auto detect code in device.c and I can see in dmesg that the driver from i2c-core gets detected and the init function is called. What never gets called is the probe

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: fix a typo

2014-03-21 Thread Hans de Goede
Hi, On 03/18/2014 09:47 PM, Ian Campbell wrote: Signed-off-by: Ian Campbell i...@hellion.org.uk Thanks, added to u-boot-sunxi.git sunxi branch. Regards, Hans --- Cleanup due to upstream review --- arch/arm/cpu/armv7/sunxi/board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: mmc: add braces to remove ambiguity

2014-03-21 Thread Hans de Goede
Hi, On 03/18/2014 09:47 PM, Ian Campbell wrote: Signed-off-by: Ian Campbell i...@hellion.org.uk Thanks, added to u-boot-sunxi.git sunxi branch. Regards, Hans --- Cleanup due to upstream review. --- drivers/mmc/sunxi_mmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-21 Thread Hans de Goede
Hi, On 03/20/2014 10:37 PM, Ian Campbell wrote: Mainly whitespace. The main construct which it complains about is: while(POKE THE HARDWARE); which obscures the potentially infinite loop, I've rewritten as: while(POKE THE HARDWARE) ; Signed-off-by: Ian Campbell

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: setup environment so initrd and fdt are relocated to safe addresses

2014-03-21 Thread Hans de Goede
Hi, On 03/20/2014 09:24 PM, Ian Campbell wrote: Instead of setting CONFIG_SYS_BOOTMAPSZ instead set bootm_size to 512M in the default environment. This causes boot_start_lmb to use addresses which are covered by the kernels lowmem mapping, which is required by the boot protocol. This should

Re: [linux-sunxi] [PATCH u-boot-sunxi.git 0/9] sunxi: mmc: removal of magic numbers

2014-03-21 Thread Hans de Goede
Hi, On 03/20/2014 11:14 PM, Ian Campbell wrote: The following patches remove the majority of the magic numbers from the mmc driver, as part of the preparation for upstreaming. The names/meanings of the various bits are partially inferred from existing comments and partially from the Linux

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-21 Thread Ian Campbell
On Fri, 2014-03-21 at 16:14 +0100, Hans de Goede wrote: Hi, On 03/20/2014 10:37 PM, Ian Campbell wrote: Mainly whitespace. The main construct which it complains about is: while(POKE THE HARDWARE); which obscures the potentially infinite loop, I've rewritten as: while(POKE THE

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-21 Thread Hans de Goede
Hi, On 03/21/2014 04:45 PM, Ian Campbell wrote: On Fri, 2014-03-21 at 16:14 +0100, Hans de Goede wrote: Hi, On 03/20/2014 10:37 PM, Ian Campbell wrote: Mainly whitespace. The main construct which it complains about is: while(POKE THE HARDWARE); which obscures the potentially infinite

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-21 Thread Hans de Goede
Hi, On 03/21/2014 05:11 PM, Hans de Goede wrote: Hi, On 03/21/2014 04:45 PM, Ian Campbell wrote: On Fri, 2014-03-21 at 16:14 +0100, Hans de Goede wrote: Hi, On 03/20/2014 10:37 PM, Ian Campbell wrote: Mainly whitespace. The main construct which it complains about is: while(POKE THE

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-21 Thread Ian Campbell
On Fri, 2014-03-21 at 16:48 +0100, Hans de Goede wrote: Hi, On 03/21/2014 04:45 PM, Ian Campbell wrote: On Fri, 2014-03-21 at 16:14 +0100, Hans de Goede wrote: Hi, On 03/20/2014 10:37 PM, Ian Campbell wrote: Mainly whitespace. The main construct which it complains about is:

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-21 Thread Ian Campbell
On Fri, 2014-03-21 at 17:11 +0100, Hans de Goede wrote: Hi, On 03/21/2014 04:45 PM, Ian Campbell wrote: On Fri, 2014-03-21 at 16:14 +0100, Hans de Goede wrote: Hi, On 03/20/2014 10:37 PM, Ian Campbell wrote: Mainly whitespace. The main construct which it complains about is:

[linux-sunxi] Re: [PATCH v5 6/7] DMA: sun6i: Add driver for the Allwinner A31 DMA controller

2014-03-21 Thread Arnd Bergmann
On Thursday 13 March 2014, Maxime Ripard wrote: The Allwinner A31 has a 16 channels DMA controller that it shares with the newer A23. Although sharing some similarities with the DMA controller of the older Allwinner SoCs, it's significantly different, I don't expect it to be possible to share

Re: [linux-sunxi] A31 pmic (axp221) support

2014-03-21 Thread Olliver Schinagl
On 03/11/2014 04:13 PM, Hans de Goede wrote: Hi, On 03/11/2014 01:15 PM, Olliver Schinagl wrote: On 03/10/14 22:31, Hans de Goede wrote: Hi, On 03/10/2014 05:04 PM, Olliver Schinagl wrote: Hey Hans, I played with the a31 stuff in u-boot a while ago. Lacking hardware, there was little I

Re: [linux-sunxi] [PATCH-3.4] sunxi-mci: incorrect MMC_DMA_DES_BIT_LEFT

2014-03-21 Thread Olliver Schinagl
David, can you confirm/deny this change makes sense? If so, can you give mnemoc the ok to go ahead with this fix? Olliver On 03/10/2014 02:58 AM, Wills Wang wrote: --- drivers/mmc/host/sunxi-mci.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: [linux-sunxi] Re: Does anyone have interest in porting allwinner cedarx decoder to vlc player?

2014-03-21 Thread Olliver Schinagl
On 03/13/2014 02:57 AM, iinuyash...@gmail.com wrote: On Friday, October 26, 2012 6:00:35 AM UTC-4, wills wrote: Hi, All, I am porting allwinner cedarx decoder to native vlc player(direct render to linuxfb, not android version), does anyone have interest in it? This porting based on

Re: [linux-sunxi] Re: How to decide NAND boot address?

2014-03-21 Thread Olliver Schinagl
On 03/14/2014 04:42 PM, hunter hu wrote: Hi, OK, I think I need to close the topic and drew a conclusion: The conclusion is: my board in question, which is an IView435TPC, doesn't allow any hacking on NAND by doing something magic inside closed source boot1. The conclusion fis based on my

Re: [linux-sunxi] [PATCH+GIT 0/9] sunxi: upstream review based cleanups

2014-03-21 Thread Olliver Schinagl
On 03/16/2014 06:33 PM, Ian Campbell wrote: Hi, The following series implements some of the cleanups requested as part of the upstream review process (mostly the lower hanging fruit). This is against sunxi.git not the upstream u-boot.git (should I cc upstream here? I decided not but maybe other

Re: [linux-sunxi] [PATCH+GIT 0/9] sunxi: upstream review based cleanups

2014-03-21 Thread Olliver Schinagl
Hijacking your post here, have you seen the 2GiB support patch? Any thoughts on how to proceed with that one? Upstream atleast listens to you now ;) Olliver On 03/16/2014 06:33 PM, Ian Campbell wrote: Hi, The following series implements some of the cleanups requested as part of the

Re: [linux-sunxi] [PATCH 2/9] sunxi: define bit shifts for CPU_AHB_APB0_CFG_REG

2014-03-21 Thread Olliver Schinagl
On 03/16/2014 06:34 PM, Ian Campbell wrote: Signed-off-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/clock.c| 31 +++ arch/arm/include/asm/arch-sunxi/clock.h | 8 ++-- 2 files changed, 29 insertions(+), 10 deletions(-) diff --git

Re: [linux-sunxi] [PATCH 2/9] sunxi: define bit shifts for CPU_AHB_APB0_CFG_REG

2014-03-21 Thread Ian Campbell
On Fri, 2014-03-21 at 22:01 +0100, Olliver Schinagl wrote: On 03/16/2014 06:34 PM, Ian Campbell wrote: Signed-off-by: Ian Campbell i...@hellion.org.uk --- arch/arm/cpu/armv7/sunxi/clock.c| 31 +++ arch/arm/include/asm/arch-sunxi/clock.h | 8

[linux-sunxi] [PATCH v2 6/9] sunxi: add support for Cubietruck booting in FEL mode

2014-03-21 Thread Ian Campbell
Signed-off-by: Oliver Schinagl oli...@schinagl.nl Signed-off-by: Ian Campbell i...@hellion.org.uk Reviewed-by: Tom Rini tr...@ti.com --- v2: Based on u-boot-sunxi.git#sunxi d9aa5dd3d15c sunxi: mmc: checkpatch whitespace fixes with v2014.04-rc2 merged in. v1: Based on u-boot-sunxi.git#sunxi commit

[linux-sunxi] [PATCH v2 7/9] sunxi: add gmac Ethernet support

2014-03-21 Thread Ian Campbell
Signed-off-by: Chen-Yu Tsai w...@csie.org Signed-off-by: Jens Kuske jensku...@gmail.com Signed-off-by: Ian Campbell i...@hellion.org.uk --- v2: Based on u-boot-sunxi.git#sunxi d9aa5dd3d15c sunxi: mmc: checkpatch whitespace fixes with v2014.04-rc2 merged in: - drop accidentally doubled hunk

[linux-sunxi] [PATCH v2 2/9] sunxi: initial sun7i pinmux and gpio support

2014-03-21 Thread Ian Campbell
This has been stripped back for mainlining and supports only sun7i. These changes are not useful by themselves but are split out to make the patch sizes more manageable. As well as the following signed-off-by the sunxi branch shows commits to these files authored by the following: Carl van

[linux-sunxi] [PATCH v2 0/9] sunxi: initial upstreamining effort

2014-03-21 Thread Ian Campbell
This is my second cut at an upstreamable series based upon the https://github.com/linux-sunxi/u-boot-sunxi.git#sunxi tree. The intention is to present a minimal starting point for upstreaming to which support for other processors, peripherals, boards etc can be added in the future. Therefore this

[linux-sunxi] [PATCH v2 9/9] sunxi: non-FEL SPL boot support for sun7i

2014-03-21 Thread Ian Campbell
As well as the following signed-off-by the sunxi branch shows commits to these files authored by the following: Henrik Nordstrom Tom Cubie Signed-off-by: Stefan Roese s...@denx.de Signed-off-by: Ian Campbell i...@hellion.org.uk --- v2: Based on u-boot-sunxi.git#sunxi d9aa5dd3d15c sunxi: mmc:

[linux-sunxi] [PATCH v2 4/9] sunxi: initial generic sun7i cpu, board and start of day support

2014-03-21 Thread Ian Campbell
This has been stripped back for mainlining and supports only sun7i. These changes are not useful by themselves but are split out to make the patch sizes more manageable. As well as the following signed-off-by the sunxi branch shows commits to these files authored by the following: Almo Nito

[linux-sunxi] [PATCH v2 1/9] sunxi: initial sun7i clocks and timer support.

2014-03-21 Thread Ian Campbell
This has been stripped back for mainlining and supports only sun7i. These changes are not useful by themselves but are split out to make the patch sizes more manageable. As well as the following signed-off-by the sunxi branch shows commits to these files authored by the following: Alejandro

[linux-sunxi] [PATCH v2 8/9] sunxi: mmc support

2014-03-21 Thread Ian Campbell
As well as the following signed-off-by the sunxi branch shows commits to these files authored by the following: Stefan Roese Tom Cubie yemao Signed-off-by: Henrik Nordstrom hen...@henriknordstrom.net Signed-off-by: Luke Leighton l...@lkcl.net Signed-off-by: Oliver Schinagl

[linux-sunxi] [PATCH v2 5/9] sunxi: generic sun7i build infrastructure.

2014-03-21 Thread Ian Campbell
This has been stripped back for mainlining and supports only sun7i booting via FEL mode. These changes are not useful by themselves but are split out to make the patch sizes more manageable. As well as the following signed-off-by the sunxi branch shows commits to these files authored by the

[linux-sunxi] [PATCH v2 3/9] sunxi: initial sun7i dram setup support

2014-03-21 Thread Ian Campbell
This has been stripped back for mainlining and supports only sun7i. These changes are not useful by themselves but are split out to make the patch sizes more manageable. As well as the following signed-off-by the sunxi branch shows commits to these files authored by the following: Alejandro

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: dram: checkpatch.pl cleanups

2014-03-21 Thread Ian Campbell
On Fri, 2014-03-21 at 17:11 +0100, Hans de Goede wrote: Hi, On 03/21/2014 04:45 PM, Ian Campbell wrote: On Fri, 2014-03-21 at 16:14 +0100, Hans de Goede wrote: Hi, On 03/20/2014 10:37 PM, Ian Campbell wrote: Mainly whitespace. The main construct which it complains about is:

Re: [linux-sunxi] [PATCH u-boot-sunxi.git] sunxi: use a 4MB malloc pool

2014-03-21 Thread Emilio López
Hi Ian, El vie 21 mar 2014 18:40:04 ART, Ian Campbell escribió: As advised by Tom. Signed-off-by: Ian Campbell i...@hellion.org.uk Cc: Tom Rini tr...@ti.com --- include/configs/sunxi-common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

[linux-sunxi] Re: Moving from NAND to SD CARD - A31 sun6i

2014-03-21 Thread Puneet B
you can use fallowing kind of commands in you sd card. sed -i s/nandd/mmcblk0p3/g /mnt/init.sun4i.rc sed -i s/nande/mmcblk0p5/g /mnt/init.sun4i.rc sed -i s/nandh/mmcblk0p8/g /mnt/init.sun4i.rc sed -i s/nandi/mmcblk0p10/g /mnt/init.sun4i.rc Regards Punith -- You received this message