Re: [U-Boot] [PATCH] imx: Add support for the SabreSD shipped with i.MX6DL

2013-04-18 Thread Pierre AUBERT
Hello Wolfgang, Le 18/04/2013 19:37, Wolfgang Denk a écrit : Dear Pierre Aubert, In message <1366296086-22394-1-git-send-email-p.aub...@staubli.com> you wrote: The SabreSD platform is available with i.MX6Q or i.MX6DL. This patch adds the support of the i.MX6DL. The config file and the board di

Re: [U-Boot] [PATCH 6/6] arm: mx5: Add support for DENX M53EVK

2013-04-18 Thread Wolfgang Denk
Dear Marek Vasut, In message <1366344655-8535-6-git-send-email-ma...@denx.de> you wrote: ... > +#define CONFIG_CMD_DHCP > +#define CONFIG_CMD_EXT2 > +#define CONFIG_CMD_FAT > +#define CONFIG_CMD_FAT One CONFIG_CMD_FAT should be enough. > +#define CONFIG_CMD_I2C > +#define CONFIG_CMD_MII > +#defi

Re: [U-Boot] [PATCH] imx: Add support for the SabreSD shipped with i.MX6DL

2013-04-18 Thread Pierre AUBERT
Hi Fabio, I can split the patch if you wish, but in this case the compilation would be broken for the sabreauto if only one of the two patches is applied. Best regards Pierre Aubert Le 18/04/2013 19:51, Fabio Estevam a écrit : Hi Pierre, On Thu, Apr 18, 2013 at 11:41 AM, Pierre Aubert wr

Re: [U-Boot] [PATCH] imx: Complete the pin definitions for the i.MX6DL / i.MX6Solo

2013-04-18 Thread Pierre AUBERT
Hello Wolfgang Le 18/04/2013 19:38, Wolfgang Denk a écrit : Dear Pierre AUBERT, In message <51700b80.2090...@staubli.com> you wrote: What is the purpose of this patch? Who needs the added definitions? These new definitions are useful for all boards based on i.MX6DL or i.MX6Solo. I just submi

Re: [U-Boot] [PATCH] mx51evk: Update environmet in order to allow booting a dt kernel

2013-04-18 Thread Wolfgang Denk
Dear Fabio Estevam, In message <1366328263-8468-1-git-send-email-feste...@gmail.com> you wrote: > There is a typo in the Subject: s/environmet/environment/ > - "mmcroot=/dev/mmcblk0p3 rw\0" \ > - "mmcrootfstype=ext3 rootwait\0" \ > - "mmcargs=setenv bootargs console=ttymxc0,${baudr

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Vivek Gautam
On Fri, Apr 19, 2013 at 12:45 AM, Marek Vasut wrote: > Hi Julius, > >> Hi Marek, >> >> I'm sorry, that must have slipped by when I ported the change from my >> local fork. Your patch is correct, you just need to add the "ctrl->" >> there. > > Well, next time please make sure to compile-test your p

[U-Boot] [PATCH 4/6] arm: mx5: Add SPL support code to MX5

2013-04-18 Thread Marek Vasut
Fix minor adjustments needed to get SPL framework building on MX5. Signed-off-by: Marek Vasut Cc: Albert ARIBAUD Cc: Benoît Thébaudeau Cc: Fabio Estevam Cc: Scott Wood Cc: Stefano Babic Cc: Tom Rini --- arch/arm/include/asm/arch-mx5/spl.h | 19 +++ spl/Makefile

[U-Boot] [PATCH 1/6] imx: Align the imximage header and payload to multiples of 4k

2013-04-18 Thread Marek Vasut
The MX53 ROM loads the data from NAND in multiples of pages and supports maximum page size of 4k. Thus, align the image and header to 4k to be safe from ROM bugs. Signed-off-by: Marek Vasut Cc: Albert ARIBAUD Cc: Benoît Thébaudeau Cc: Fabio Estevam Cc: Scott Wood Cc: Stefano Babic Cc: Tom Ri

[U-Boot] [PATCH 6/6] arm: mx5: Add support for DENX M53EVK

2013-04-18 Thread Marek Vasut
Add basic support for the DENX M53EVK board. Currently supported is the MMC, Ethernet, I2C. Signed-off-by: Marek Vasut Cc: Albert ARIBAUD Cc: Benoît Thébaudeau Cc: Fabio Estevam Cc: Scott Wood Cc: Stefano Babic Cc: Tom Rini Cc: Wolfgang Denk --- MAINTAINERS| 1 + boa

[U-Boot] [PATCH 5/6] arm: mx5: Add NAND clock handling

2013-04-18 Thread Marek Vasut
Augment the MX5 clock code with function to enable and configure NFC clock. This is necessary to get NFC working on MX5. Signed-off-by: Marek Vasut Cc: Albert ARIBAUD Cc: Benoît Thébaudeau Cc: Fabio Estevam Cc: Scott Wood Cc: Stefano Babic Cc: Tom Rini --- arch/arm/cpu/armv7/mx5/clock.c

[U-Boot] [PATCH 2/6] nand: Add SPL_NAND support to mxc_nand_spl

2013-04-18 Thread Marek Vasut
Add support for generic NAND SPL via the SPL framework into the mxc_nand_spl driver. This is basically just a simple rename and publication of the already implemented functions. To avoid the old function which are used with the nand_spl/ stuff getting in the way of NAND SPL framework, the macro CON

[U-Boot] [PATCH 3/6] arm: imx: Fix u-boot-with-nand-spl.imx target

2013-04-18 Thread Marek Vasut
This target is currently concatenating u-boot SPL in imximage format with u-boot.bin. The NAND SPL can load a raw binary, but the preffered format with much less limitations is uImage format. Fix the target so u-boot.bin is first converted into uImage format and only after that is concatenated. Si

Re: [U-Boot] uboot newbie question on booting ep405 board

2013-04-18 Thread Stefan Roese
Hi David, On 19.04.2013 01:24, David Li wrote: > I am trying to build a new uboot image version 2013.01.01 in > buildroot. The buildroot "make menuconfig" asks for "uboot board > name". I tried to give it "EP405" but this failed the build as it > wasn't able to find such a configuration. How can I

[U-Boot] [PATCH] powerpc/BSC9132: Add IFC bank count

2013-04-18 Thread York Sun
BSC9132 has 3 IFC banks. Signed-off-by: York Sun --- arch/powerpc/include/asm/config_mpc85xx.h |1 + 1 file changed, 1 insertion(+) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h b/arch/powerpc/include/asm/config_mpc85xx.h index 72016d4..96a8d3d 100644 --- a/arch/powerpc/include/as

Re: [U-Boot] [PATCH 1/3 V5] EXYNOS5: Add gpio pin numbering feature

2013-04-18 Thread Minkyu Kang
Dear Rajeshwari, On 17/04/13 13:49, Rajeshwari Birje wrote: > Hi Minkyu Kang, > > Please do let me know if any comments on these patchset. > will progress after release. > Regards, > Rajeshwari Shinde > Thanks, Minkyu Kang. ___ U-Boot mailing list

[U-Boot] [PATCH] mx51evk: Update environmet in order to allow booting a dt kernel

2013-04-18 Thread Fabio Estevam
From: Fabio Estevam Update the environment as done in other imx boards to allow easy switching between booting a non-dt kernel and a dt kernel. Signed-off-by: Fabio Estevam --- include/configs/mx51evk.h | 49 + 1 file changed, 41 insertions(+), 8

Re: [U-Boot] uboot newbie question on booting ep405 board

2013-04-18 Thread David Li
Hi Wolfgang or others: I am trying to build a new uboot image version 2013.01.01 in buildroot. The buildroot "make menuconfig" asks for "uboot board name". I tried to give it "EP405" but this failed the build as it wasn't able to find such a configuration. How can I find out about the right name f

[U-Boot] [PATCH v2] crc32: Correct endianness of crc32 result

2013-04-18 Thread Simon Glass
When crc32 is handled by the hash library, it requires the data to be in big-endian format, since it reads it byte-wise. Thus at present the 'crc32' command reports incorrect data. For example, previously we might see: Peach # crc32 4000 100 CRC32 for 4000 ... 40ff ==> 0d968558 but in

Re: [U-Boot] [PATCH v2] patman: fix gitutil for decorations

2013-04-18 Thread Tom Rini
On Tue, Apr 16, 2013 at 03:12:40PM -0700, Simon Glass wrote: > +Tom > > On Tue, Apr 16, 2013 at 8:48 AM, Simon Glass wrote: > > On Tue, Apr 16, 2013 at 2:52 AM, Andreas Bie?mann > > wrote: > >> The git config parameter log.decorate is quite useful when working with > >> git. > >> Patman, howev

Re: [U-Boot] Pull request: u-boot-arm/master

2013-04-18 Thread Tom Rini
On Wed, Apr 17, 2013 at 06:37:06PM +0200, Albert ARIBAUD wrote: > Hi Tom, > > The following changes since commit > c4a4e2e20ca226948b62ed116df98f7a3932f2ac: > > ARMv7: start.S: stay in HYP mode if u-boot is entered in it > (2013-04-15 18:30:59 +0200) > > are available in the git repository

Re: [U-Boot] [PATCH v2 07/12] mtd: nand: add Faraday FTNANDC021 NAND controller support

2013-04-18 Thread Scott Wood
On 04/18/2013 04:25:34 AM, Kuo-Jung Su wrote: diff --git a/drivers/mtd/nand/ftnandc021.c b/drivers/mtd/nand/ftnandc021.c new file mode 100644 index 000..58863dc --- /dev/null +++ b/drivers/mtd/nand/ftnandc021.c @@ -0,0 +1,544 @@ +/* + * Faraday NAND Flash Controller + * + * (C) Copyright 20

Re: [U-Boot] [PATCH v2 0/5] consolidate hang()

2013-04-18 Thread Wolfgang Denk
Dear Andreas, In message <1366196568-23008-1-git-send-email-andreas.de...@googlemail.com> you wrote: > > Andreas Bießmann (5): > microblaze: fix style in board.c > nios2: fix style in board.c. > mx31pdk: add CONFIG_SPL_LIBGENERIC_SUPPORT > tx25: add CONFIG_SPL_LIBGENERIC_SUPPORT > lib:

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Tom Rini
On Thu, Apr 18, 2013 at 12:06:47PM -0700, Simon Glass wrote: > Hi, > > On Thu, Apr 18, 2013 at 11:43 AM, Albert ARIBAUD > wrote: > > Hi Tom, > > > > On Thu, 18 Apr 2013 12:58:54 -0400, Tom Rini wrote: > > > >> On Thu, Apr 18, 2013 at 06:39:29PM +0200, Albert ARIBAUD wrote: > >> > Hi Wolfgang, >

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Marek Vasut
Hi Julius, > Hi Marek, > > I'm sorry, that must have slipped by when I ported the change from my > local fork. Your patch is correct, you just need to add the "ctrl->" > there. Well, next time please make sure to compile-test your patches at least before you send them. The stuff is now pushed,

Re: [U-Boot] [PATCH v2 11/12] arm: add MMU/d-cache support for Faraday cores

2013-04-18 Thread Albert ARIBAUD
Hi Kuo-Jung, On Thu, 18 Apr 2013 17:25:38 +0800, Kuo-Jung Su wrote: > From: Kuo-Jung Su > > This patch would enable MMU for Faraday ARMv5TE cores. > > Here is the abstract of this MMU design. > > Assume SDRAM memory region starts at 0x1000, and its size = 0x80. > > 0x +-

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Simon Glass
Hi, On Thu, Apr 18, 2013 at 11:43 AM, Albert ARIBAUD wrote: > Hi Tom, > > On Thu, 18 Apr 2013 12:58:54 -0400, Tom Rini wrote: > >> On Thu, Apr 18, 2013 at 06:39:29PM +0200, Albert ARIBAUD wrote: >> > Hi Wolfgang, >> > >> > On Thu, 18 Apr 2013 16:39:09 +0200, Wolfgang Denk wrote: >> > >> > > > S

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Albert ARIBAUD
Hi Tom, On Thu, 18 Apr 2013 12:58:54 -0400, Tom Rini wrote: > On Thu, Apr 18, 2013 at 06:39:29PM +0200, Albert ARIBAUD wrote: > > Hi Wolfgang, > > > > On Thu, 18 Apr 2013 16:39:09 +0200, Wolfgang Denk wrote: > > > > > > So how about changing the element type of output in the definition of > >

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Julius Werner
Hi Marek, I'm sorry, that must have slipped by when I ported the change from my local fork. Your patch is correct, you just need to add the "ctrl->" there. On Thu, Apr 18, 2013 at 5:43 AM, Marek Vasut wrote: > Dear Vivek Gautam, > >> HI Marek, >> >> On Thu, Apr 18, 2013 at 4:29 PM, Vivek Gautam

Re: [U-Boot] [PATCH] imx: Add support for the SabreSD shipped with i.MX6DL

2013-04-18 Thread Fabio Estevam
Hi Pierre, On Thu, Apr 18, 2013 at 11:41 AM, Pierre Aubert wrote: > diff --git a/boards.cfg b/boards.cfg > index f785da8..c002cf7 100644 > --- a/boards.cfg > +++ b/boards.cfg > @@ -256,9 +256,10 @@ mx53smd arm armv7 > mx53smd freesca > ima3-mx53

Re: [U-Boot] [PATCH] imx: Complete the pin definitions for the i.MX6DL / i.MX6Solo

2013-04-18 Thread Wolfgang Denk
Dear Pierre AUBERT, In message <51700b80.2090...@staubli.com> you wrote: > > > What is the purpose of this patch? Who needs the added definitions? > These new definitions are useful for all boards based on i.MX6DL or > i.MX6Solo. > I just submitted a patch to support SabreSD equipped with i.MX6D

Re: [U-Boot] [PATCH] imx: Add support for the SabreSD shipped with i.MX6DL

2013-04-18 Thread Wolfgang Denk
Dear Pierre Aubert, In message <1366296086-22394-1-git-send-email-p.aub...@staubli.com> you wrote: > The SabreSD platform is available with i.MX6Q or i.MX6DL. This patch adds the > support of the i.MX6DL. The config file and the board directory are renamed > to remove the reference to the MX6Q. F

Re: [U-Boot] How do I use AM335x eth1 rather than eth0 ?

2013-04-18 Thread Wolfgang Denk
Dear Bo Shen, In message <517015fc.20...@gmail.com> you wrote: > > > What else do I have to change ? > > Have you try "setenv ethprime eth1"? Then reset board, and do dhcp. Before thje reset, doi also a "saveenv" to make the setting stick. Or "setenv ethact eth1" and retry then (without reset)

Re: [U-Boot] [RFC] command/cache: Add flush_cache command

2013-04-18 Thread Scott Wood
On 04/03/2013 09:02:15 AM, Jim Chargin wrote: I apologize for being so late with this question. York Sun freescale.com> writes: > > When we need the copied code/data in the main memory, we can flush the > cache now. It uses the existing function flush_cache. Syntax is > > flush_cache > >

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Tom Rini
On Thu, Apr 18, 2013 at 06:39:29PM +0200, Albert ARIBAUD wrote: > Hi Wolfgang, > > On Thu, 18 Apr 2013 16:39:09 +0200, Wolfgang Denk wrote: > > > > So how about changing the element type of output in the definition of > > > hash_func_ws, adapting the corresponding implementations sha1_csum_wd, >

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Albert ARIBAUD
Hi Wolfgang, On Thu, 18 Apr 2013 16:39:09 +0200, Wolfgang Denk wrote: > > So how about changing the element type of output in the definition of > > hash_func_ws, adapting the corresponding implementations sha1_csum_wd, > > sha256_csum_wd and crc32_wd_buf, and adapting the output argument > > of

[U-Boot] [UBOOT PATCH 2/2] ARM: Panda: Add flag to allow runtime enviroment varibale mods

2013-04-18 Thread Dan Murphy
Add the flag to allow runtime enviroment variable modifications. This is being added so that the board-name can be modified at runtime to indicate either a panda(4430) or a panda-es(4460) Signed-off-by: Dan Murphy --- include/configs/omap4_panda.h |2 ++ 1 file changed, 2 insertions(+) diff

[U-Boot] [UBOOT PATCH 1/2] ARM:Panda:Fix device tree loading for the panda-es

2013-04-18 Thread Dan Murphy
Fix the device tree loading for panda(4430) and panda-es(4460) Modify the board name if a 4460 panda or panda-es is detected at run time. In the findfdt add a check for the panda-es board name and load the panda-es device tree blob. Signed-off-by: Dan Murphy --- board/ti/panda/panda.c |

Re: [U-Boot] [PATCH 0/19] Remove unused code, add accurate timier and bootstage

2013-04-18 Thread вб
On Wed, Apr 17, 2013 at 7:13 PM, Simon Glass wrote: > > This series removes unused x86 code based on advice from Graeme Russ. THis > code was used for real mode which is no longer needed in U-Boot. > > A new more accurate timer is added, and this permits bootstage to be > enabled and produce usef

Re: [U-Boot] How do I use AM335x eth1 rather than eth0 ?

2013-04-18 Thread Bo Shen
Hi Mark, On 04/12/2013 06:32 PM, Mark Jackson wrote: We have a dual Ethernet board (based on the BeagelBone) but with both Ethernet ports connected. I'm wanting to use eth1 (rather than eth0), so in my board.c file, I changed:- static struct cpsw_slave_data cpsw_slaves[] = { {

Re: [U-Boot] [PATCH v4] palmtreo680: add utility that writes u-boot to flash

2013-04-18 Thread Marek Vasut
Dear Mike Dunn, > On 04/18/2013 06:54 AM, Marek Vasut wrote: > > Dear Mike Dunn, > > > > [...] > > > >> + if (argc != 3) { > >> + printf("usage: %s \n", argv[0]); > > > > btw is this /dev/mtdX or /dev/mtdblockX ? > > /dev/mtdx You must have defined a partition that starts at the of

Re: [U-Boot] [PATCH] imx: mx6q_4x_mt41j128.cfg: Setup CCM_CCOSR register

2013-04-18 Thread Fabio Estevam
On Thu, Apr 18, 2013 at 2:27 AM, prem s wrote: > Hi all, > > I am working on IMX6Q-SabreLite Board.in that board we have sgtl5000 > codec.so I would like to add (sgtl5000) codec support in u-boot level.There > is no code available in u-boot level for this codec.Can you please help me > How to init

Re: [U-Boot] [PATCH v4] palmtreo680: add utility that writes u-boot to flash

2013-04-18 Thread Mike Dunn
On 04/18/2013 06:54 AM, Marek Vasut wrote: > Dear Mike Dunn, > > [...] > >> +if (argc != 3) { >> +printf("usage: %s \n", argv[0]); > > btw is this /dev/mtdX or /dev/mtdblockX ? /dev/mtdx You must have defined a partition that starts at the offset at which you are placing the

Re: [U-Boot] [PATCH] imx: Complete the pin definitions for the i.MX6DL / i.MX6Solo

2013-04-18 Thread Pierre AUBERT
Hello Wolfgang, Le 18/04/2013 16:41, Wolfgang Denk a écrit : Dear Pierre Aubert, In message <1366286251-17552-1-git-send-email-p.aub...@staubli.com> you wrote: Signed-off-by: Pierre Aubert CC: Stefano Babic What is the purpose of this patch? Who needs the added definitions? These new defi

[U-Boot] [PATCH] imx: Add support for the SabreSD shipped with i.MX6DL

2013-04-18 Thread Pierre Aubert
The SabreSD platform is available with i.MX6Q or i.MX6DL. This patch adds the support of the i.MX6DL. The config file and the board directory are renamed to remove the reference to the MX6Q. Signed-off-by: Pierre Aubert CC: Stefano Babic --- .../freescale/{mx6qsabresd => mx6sabresd}/Makefile |

Re: [U-Boot] [PATCH] imx: Complete the pin definitions for the i.MX6DL / i.MX6Solo

2013-04-18 Thread Wolfgang Denk
Dear Pierre Aubert, In message <1366286251-17552-1-git-send-email-p.aub...@staubli.com> you wrote: > Signed-off-by: Pierre Aubert > CC: Stefano Babic What is the purpose of this patch? Who needs the added definitions? The new formatting is less readable than the old one. We have an agreement

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Wolfgang Denk
Dear Albert, In message <20130418131810.38c916b8@lilith> you wrote: > > > OK - and what about the other architectures that suffer from the same > > issues? > > They should/could provide their own optimized versions, obviously. Well, if this was a generally needed or even useful service, that mi

Re: [U-Boot] [PATCH v4] palmtreo680: add utility that writes u-boot to flash

2013-04-18 Thread Marek Vasut
Dear Mike Dunn, [...] > + if (argc != 3) { > + printf("usage: %s \n", argv[0]); btw is this /dev/mtdX or /dev/mtdblockX ? > + return -1; errno.h didn't work? Like ... return -EINVAL or such ? [...] > + blockbuf = calloc(RELIABLE_BLOCKSIZE, 1); calloc() seman

Re: [U-Boot] status i2c uboot driver ST Microelectronics

2013-04-18 Thread Mathias LEBLANC
Hi Simon, Yes i saw his reply and i work on it. I tested the tpm driver on a beagleboard but it can be used to every motherboard Regards, Mathias Leblanc From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass Sent: 18 April, 2013 04:22 To: Mathias LEBLANC Cc: Shawn Nematbakhsh;

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Vivek Gautam
On Thu, Apr 18, 2013 at 6:08 PM, Marek Vasut wrote: > Dear Vivek Gautam, > >> Hi, >> >> On Sun, Apr 14, 2013 at 10:44 PM, Marek Vasut wrote: >> > Dear Vivek Gautam, >> > >> >> Based on 'u-boot-usb' master branch. >> >> >> >> This patch-series includes majorly some clean-up, few fixes and >> >> th

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Marek Vasut
Dear Vivek Gautam, > HI Marek, > > On Thu, Apr 18, 2013 at 4:29 PM, Vivek Gautam wrote: > > On Thu, Apr 18, 2013 at 11:54 AM, Vivek Gautam > > > > wrote: > >> Hi Marek, > >> > >> On Sun, Apr 14, 2013 at 11:43 PM, Marek Vasut wrote: > >>> Dear Vivek Gautam, > >>> > Based on 'u-boot-usb

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Marek Vasut
Dear Vivek Gautam, > Hi, > > On Sun, Apr 14, 2013 at 10:44 PM, Marek Vasut wrote: > > Dear Vivek Gautam, > > > >> Based on 'u-boot-usb' master branch. > >> > >> This patch-series includes majorly some clean-up, few fixes and > >> then some basic super-speed usb infrastructure addition, to help

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Albert ARIBAUD
Hi Wolfgang, On Thu, 18 Apr 2013 12:36:00 +0200, Wolfgang Denk wrote: > Dear Albert ARIBAUD, > > In message <20130418082027.4b5ea191@lilith> you wrote: > > > > > #ifdef USE_HOSTCC > > >crc = htobe32(crc); > > >memcpy(output, &crc, sizeof(crc)); > > > #else > > >crc = cpu_to_be32(cr

Re: [U-Boot] [PATCH v2 12/12] arm: add Faraday A36x SoC platform support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-13-git-send-email-dant...@gmail.com> you wrote: ... > +#define CONFIG_FTMAC1101 > +#define CONFIG_ETHADDR 00:84:14:72:61:69 /* used by env_common.c */ > +#define CONFIG_NETMASK 255.255.255.0 > +#define CONFIG_IPADDR 10

Re: [U-Boot] [PATCH v2 11/12] arm: add MMU/d-cache support for Faraday cores

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-12-git-send-email-dant...@gmail.com> you wrote: ... > --- a/common/cmd_boot.c > +++ b/common/cmd_boot.c > @@ -50,6 +50,10 @@ static int do_go(cmd_tbl_t *cmdtp, int flag, int argc, > char * const argv[]) > > printf ("## Starting application at

Re: [U-Boot] [PATCH v2 10/12] usb: gadget: add Faraday FOTG210 USB gadget support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-11-git-send-email-dant...@gmail.com> you wrote: > From: Kuo-Jung Su > > The Faraday FOTG210 is an OTG chip which could operate > as either an EHCI Host or a USB Device as a time. ... > + uint32_t maxpacket:16; > + uint32_t id:4; > + uint

Re: [U-Boot] [PATCH v2 09/12] usb: ehci: add Faraday USB 2.0 EHCI support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-10-git-send-email-dant...@gmail.com> you wrote: ... > +#define HCD_READ(r) le32_to_cpu(readl(r)) > +#define HCD_WRITE(v, r) writel(cpu_to_le32(v), r) > +#define HCD_SETBITS(m, r)setbits_le32(r, m) > +#define HCD_CLRBI

Re: [U-Boot] [PATCH v2 08/12] mtd: spi: add FTSPI020 SPI Flash controller support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-9-git-send-email-dant...@gmail.com> you wrote: ... > +/* Register access macros */ > +#define SPI_READ(r) le32_to_cpu(readl(r)) > +#define SPI_WRITE(v, r) writel(cpu_to_le32(v), r) > +#define SPI_SETBITS(m, r)setbits_

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Vivek Gautam
HI Marek, On Thu, Apr 18, 2013 at 4:29 PM, Vivek Gautam wrote: > On Thu, Apr 18, 2013 at 11:54 AM, Vivek Gautam > wrote: >> Hi Marek, >> >> >> On Sun, Apr 14, 2013 at 11:43 PM, Marek Vasut wrote: >>> Dear Vivek Gautam, >>> Based on 'u-boot-usb' master branch. This patch-series i

Re: [U-Boot] [PATCH v2 07/12] mtd: nand: add Faraday FTNANDC021 NAND controller support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-8-git-send-email-dant...@gmail.com> you wrote: ... > +/* Register access macros */ > +#define NAND_READ(r) le32_to_cpu(readl(r)) > +#define NAND_WRITE(v, r) writel(cpu_to_le32(v), r) > +#define NAND_SETBITS(m, r) setbits_le32(r, m) > +#d

Re: [U-Boot] [PATCH v3 0/8] usb: ss: Some fixes and cleanup for USB super-speed support

2013-04-18 Thread Vivek Gautam
On Thu, Apr 18, 2013 at 11:54 AM, Vivek Gautam wrote: > Hi Marek, > > > On Sun, Apr 14, 2013 at 11:43 PM, Marek Vasut wrote: >> Dear Vivek Gautam, >> >>> Based on 'u-boot-usb' master branch. >>> >>> This patch-series includes majorly some clean-up, few fixes and >>> then some basic super-speed us

Re: [U-Boot] [PATCH v2 06/12] mmc: add an alternative driver to Faraday FTSDC010

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-7-git-send-email-dant...@gmail.com> you wrote: > From: Kuo-Jung Su > > Faraday FTSDC010 is a MMC/SD host controller. > Although there is already a driver in current u-boot release, > which is modified from eSHDC and contributed by Andes Tech. > Its

Re: [U-Boot] [PATCH v2 05/12] spi: add Faraday FTSPI010 SPI controller support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-6-git-send-email-dant...@gmail.com> you wrote: ... > +/* Register access macros */ > +#define SPI_READ(r) le32_to_cpu(readl(r)) > +#define SPI_WRITE(v, r) writel(cpu_to_le32(v), r) > +#define SPI_SETBITS(m, r)setbits_

Re: [U-Boot] [PATCH v2 04/12] i2c: add Faraday FTI2C010 I2C controller support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-5-git-send-email-dant...@gmail.com> you wrote: ... > +#define I2C_READ(r) le32_to_cpu(readl(r)) > +#define I2C_WRITE(v, r) writel(cpu_to_le32(v), r) Please drop these macros and use the real functions instead. Best regards, Wolfgang

Re: [U-Boot] [PATCH v2 03/12] net: add Faraday FTMAC110 10/100Mbps ethernet support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-4-git-send-email-dant...@gmail.com> you wrote: > > +/***/ > +/* FTMAC110 DMA design issue */ > +/* Dante

Re: [U-Boot] [PATCH v2 00/12] arm: add Faraday A36x SoC platform support

2013-04-18 Thread Wolfgang Denk
Dear Kuo-Jung Su, In message <1366277139-29728-1-git-send-email-dant...@gmail.com> you wrote: > > These patches introduce Faraday A36x SoC platform support. Please run all your patches through checkpatch and clean up thew reported warnings and errors before you resubmit. Best regards, Wolfgang

Re: [U-Boot] [PATCH] crc32: Correct endianness of crc32 result

2013-04-18 Thread Wolfgang Denk
Dear Albert ARIBAUD, In message <20130418082027.4b5ea191@lilith> you wrote: > > > #ifdef USE_HOSTCC > >crc = htobe32(crc); > >memcpy(output, &crc, sizeof(crc)); > > #else > >crc = cpu_to_be32(crc); > >put_unaligned(crc, (uint32_t *)output); > > #endif > > > > This produces the sa

[U-Boot] [PATCH v2 11/12] arm: add MMU/d-cache support for Faraday cores

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su This patch would enable MMU for Faraday ARMv5TE cores. Here is the abstract of this MMU design. Assume SDRAM memory region starts at 0x1000, and its size = 0x80. 0x +---+ | | | UN-CACHED |

[U-Boot] [PATCH v2 08/12] mtd: spi: add FTSPI020 SPI Flash controller support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTSPI020 is dedicated SPI bus designed for SPI Flashes. It supports Fast-Read-Dual, Fast-Read-Dual-IO, Fast-Read-Quad and Fast-Read-Quad-IO. Signed-off-by: Kuo-Jung Su --- drivers/mtd/spi/Makefile |4 + drivers/mtd/spi/ftspi020.c | 691

[U-Boot] [PATCH v2 10/12] usb: gadget: add Faraday FOTG210 USB gadget support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su The Faraday FOTG210 is an OTG chip which could operate as either an EHCI Host or a USB Device as a time. Signed-off-by: Kuo-Jung Su CC: Marek Vasut --- drivers/usb/gadget/Makefile |1 + drivers/usb/gadget/fotg210.c | 922 +

[U-Boot] [PATCH v2 09/12] usb: ehci: add Faraday USB 2.0 EHCI support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su This patch add supports to both Faraday FUSBH200 and FOTG210, these controllers slightly differ from standard EHCI specification. Signed-off-by: Kuo-Jung Su CC: Marek Vasut --- common/usb_hub.c|5 ++ drivers/usb/host/Makefile |1 + drivers/usb/h

[U-Boot] [PATCH v2 07/12] mtd: nand: add Faraday FTNANDC021 NAND controller support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTNANDC021 is a integrated NAND flash controller. It use a build-in command table to abstract the underlying NAND flash control logic. For example: Issuing a command 0x10 to FTNANDC021 would result in a page write + a read status operation. Signed-off-by: Kuo-Jung Su

[U-Boot] [PATCH v2 06/12] mmc: add an alternative driver to Faraday FTSDC010

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTSDC010 is a MMC/SD host controller. Although there is already a driver in current u-boot release, which is modified from eSHDC and contributed by Andes Tech. Its performance is too terrible on Faraday A36x SoC platforms, so I turn to implement this new version of drive

[U-Boot] [PATCH v2 04/12] i2c: add Faraday FTI2C010 I2C controller support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTI2C010 is a multi-function I2C controller which supports both master and slave mode. This patch simplily implements the master mode only. Signed-off-by: Kuo-Jung Su CC: Heiko Schocher --- drivers/i2c/Makefile |1 + drivers/i2c/fti2c010.c | 363 ++

[U-Boot] [PATCH v2 05/12] spi: add Faraday FTSPI010 SPI controller support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su The Faraday FTSSP010 is a multi-function controller which supports I2S/SPI/SSP/AC97/SPDIF. This patch simpily implements the SPI mode only. BTW the DMA and CS/Clock control logic has been altered since revision 1.19.0. So this patch would 1st detects the revision id of the under

[U-Boot] [PATCH v2 03/12] net: add Faraday FTMAC110 10/100Mbps ethernet support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su Faraday FTMAC110 10/100Mbps supports half-word data transfer for Linux. However it has a weird DMA alignment issue: (1) Tx DMA Buffer Address: 1 bytes aligned: Invalid 2 bytes aligned: O.K 4 bytes aligned: O.K (2) Rx DMA Buffer Address: 1 bytes aligned: Invalid

[U-Boot] [PATCH v2 02/12] net: ftgmac100: add MMU/D-cache support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su Signed-off-by: Kuo-Jung Su CC: Joe Hershberger --- drivers/net/ftgmac100.c | 70 +-- 1 file changed, 49 insertions(+), 21 deletions(-) diff --git a/drivers/net/ftgmac100.c b/drivers/net/ftgmac100.c index 69ba57d..2dbb328 100644 -

[U-Boot] [PATCH v2 01/12] mtd: spi: winbond: add W25PXX support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su Signed-off-by: Kuo-Jung Su --- drivers/mtd/spi/winbond.c | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/drivers/mtd/spi/winbond.c b/drivers/mtd/spi/winbond.c index 2716209..2a27837 100644 --- a/drivers/mtd/spi/winbond.c +++ b/drivers/mt

[U-Boot] [PATCH v2 00/12] arm: add Faraday A36x SoC platform support

2013-04-18 Thread Kuo-Jung Su
From: Kuo-Jung Su These patches introduce Faraday A36x SoC platform support. Here are some public documents for your reference. http://www.faraday-tech.com/html/documentation/index.html There is also a A369 QEMU emulator available at my github account: https://github.com/dantesu1218/q

Re: [U-Boot] PCIe card doesn't work (wolfking2000)

2013-04-18 Thread wolfking
hi, all   this mail is just a test.   Previously I wrote mail in HTML style, and it is rejected by the server. Now I try to write in plain text and test it if it can be accepted. pls don't reply this. Sorry. ___ U-Boot

Re: [U-Boot] PCIe card doesn't work (wolfking2000)

2013-04-18 Thread wolfking
hi, all   this mail is just a test.   Previously I wrote mail in HTML style, and it is rejected by the server. Now I try to write in plain text and test it if it can be accepted. pls don't reply this. Sorry. ___ U-Boot

Re: [U-Boot] phy ic isn't reset

2013-04-18 Thread Bo Shen
Hi Andreas, On 4/18/2013 15:50, Andreas Bießmann wrote: Dear Bo Shen, On 04/18/2013 08:32 AM, Bo Shen wrote: Hi Alex On 4/18/2013 13:27, alex wrote: At 2013-04-18 09:23:48,"Bo Shen" wrote: Hi Alex, On 4/17/2013 18:29, alex wrote: Hi: I work on one board based on at9g25evk board now.

Re: [U-Boot] phy ic isn't reset

2013-04-18 Thread Andreas Bießmann
Dear Bo Shen, On 04/18/2013 08:32 AM, Bo Shen wrote: > Hi Alex > > On 4/18/2013 13:27, alex wrote: >> >> At 2013-04-18 09:23:48,"Bo Shen" wrote: >>> Hi Alex, >>> >>> On 4/17/2013 18:29, alex wrote: Hi: I work on one board based on at9g25evk board now. I find one issue that phy

Re: [U-Boot] phy ic isn't reset

2013-04-18 Thread alex
At 2013-04-18 14:32:52,"Bo Shen" wrote: >Hi Alex > >On 4/18/2013 13:27, alex wrote: >> >> At 2013-04-18 09:23:48,"Bo Shen" wrote: >>>Hi Alex, >>> >>>On 4/17/2013 18:29, alex wrote: Hi: I work on one board based on at9g25evk board now. I find one issue that phy IC isn't reset,