Re: [U-Boot] [PATCH v2 1/4] imx: Remove unneeded/repititive definitions from imx headers

2012-04-11 Thread Stefano Babic
On 10/04/2012 16:25, Vikram Narayanan wrote: > Remove gpio related unused/repititive definitions from imx headers. > > Signed-off-by: Vikram Narayanan > --- Applied to u-boot-imx (fix), thanks. Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH v2 3/4] imx: Use GPIO_TO_PORT macro in the gpio driver instead of (gpio >> 5)

2012-04-11 Thread Stefano Babic
On 10/04/2012 16:26, Vikram Narayanan wrote: > Use the defined GPIO_TO_PORT macro. Remove gpio >> 5 references. > > Signed-off-by: Vikram Narayanan > --- Applied to u-boot-imx (fix), thanks. Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH v2 4/4] imx: Return gpio_set_value in gpio_direction_output

2012-04-11 Thread Stefano Babic
On 10/04/2012 16:26, Vikram Narayanan wrote: > Return gpio_set_value in gpio_direction_output. > Earlier it returned 0 and ignored gpio_set_value's return value. > > Signed-off-by: Vikram Narayanan > --- Applied to u-boot-imx (fix), thanks. Best regards, Stefano Babic -- =

Re: [U-Boot] [PATCH v2 2/4] imx: Add GPIO_TO_PORT macro in the mxc_gpio driver

2012-04-11 Thread Stefano Babic
On 10/04/2012 16:26, Vikram Narayanan wrote: > Add GPIO_TO_PORT macro in the mxc_gpio.c driver > > Signed-off-by: Vikram Narayanan > --- Applied to u-boot-imx (fix), thanks. Best regards, Stefano Babic -- = DENX Software Engi

[U-Boot] [PATCH] driver/mtd:IFC: Fix possible memory leak

2012-04-11 Thread Prabhakar Kushwaha
if priv->bank >= MAX_BANK, priv should be freed before returning ENODEV. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master drivers/mtd/nand/fsl_ifc_nand.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/nand/fsl_ifc

[U-Boot] [PATCH] powerpc:Fix return type & parameter passed for I/O functions

2012-04-11 Thread Prabhakar Kushwaha
Return type of in_8, in_be16 and in_le16 should not be'int'. Update it to type u8/u16/u32. Although 'unsigned' for in_be32 and in_le32 is correct. But to make return type uniform across the file changed to u32 Similarly, parameter passed to out_8, out_be16, out_le16 ,out_be32 & out_le32 should not

[U-Boot] [PATCH] powerpc: Fix declaration type for I/O functions

2012-04-11 Thread Prabhakar Kushwaha
Prototype declaration of I/O operation functions are not correct. as both 'extern' and function definition are at same place. Chage protoype declaration as static. Signed-off-by: Prabhakar Kushwaha --- Based upon git://git.denx.de/u-boot.git branch master arch/powerpc/include/asm/io.h | 20

[U-Boot] [PATCH] ARM: AM33XX: Fix build error

2012-04-11 Thread Prabhakar Lad
Fix build error while building the .ais image from the SPL image and u-boot.bin, The --pad-to option expects a complete number which was currentlty (46 * 1024), appropriately fixed it to 47104. arm-none-linux-gnueabi-objcopy --gap-fill=0xff -I binary \ --pad-to="(46 * 1024)

[U-Boot] [PATCH] i.mx: i.mx6x: NO_MUX_I/NO_PAD_I not set correctly

2012-04-11 Thread Jason Liu
If one PAD does not have mux or pad config register, we need set the NO_MUX_I/NO_PAD_I to 0, the old value is not correct Signed-off-by: Jason Liu CC: Stefano Babic --- arch/arm/include/asm/arch-mx6/mx6x_pins.h |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm

Re: [U-Boot] [PATCH] i.mx: i.mx6x: NO_MUX_I/NO_PAD_I not set correctly

2012-04-11 Thread Stefano Babic
On 11/04/2012 13:18, Jason Liu wrote: > If one PAD does not have mux or pad config register, we need > set the NO_MUX_I/NO_PAD_I to 0, the old value is not correct > > Signed-off-by: Jason Liu > CC: Stefano Babic > --- > arch/arm/include/asm/arch-mx6/mx6x_pins.h |4 ++-- > 1 files changed,

Re: [U-Boot] using different architecture / toolchain for SPL build

2012-04-11 Thread Wolfgang Denk
Dear Allen, In message <3c7a7aca8617d24290826ec008b5cd08510f030...@hqmail03.nvidia.com> you wrote: > > The tegra build of u-boot currently is a single image that executes > on both the arm7tdmi and cortex A9, but it's quite fragile because we > use a armv7 toolchain and have be careful about com

[U-Boot] [PATCH V3]fs/fat: align disk buffers on cache line to enable DMA and cache

2012-04-11 Thread Eric Nelson
Signed-off-by: Eric Nelson --- V3 increases alignment of globals: get_dentfromdir_block do_fat_read_block fs/fat/fat.c | 22 -- 1 files changed, 12 insertions(+), 10 deletions(-) diff --git a/fs/fat/fat.c b/fs/fat/fat.c index 1f95eb4..a3085b5 100644 --- a/fs/fat

Re: [U-Boot] [PATCH 1/2 V3] DMA: Split the APBH DMA init into block and channel init

2012-04-11 Thread Stefano Babic
On 09/04/2012 05:34, Marek Vasut wrote: > This fixes the issue where mxs_dma_init() was called either twice or never, > without introducing any new init hooks. > > The idea is to allow each and every device using the APBH DMA block to > configure and request only the channels it uses, instead of m

Re: [U-Boot] [PATCH 2/2] M28: Pull out CONFIG_APBH_DMA so it's always enabled

2012-04-11 Thread Stefano Babic
On 09/04/2012 05:09, Marek Vasut wrote: > The ABPH DMA is now used also by the SD card. Therefore it has to be enabled > even if NAND is disabled. > > Signed-off-by: Marek Vasut > Cc: Stefano Babic > Cc: Wolfgang Denk > Cc: Detlev Zundel > Cc: Fabio Estevam > --- Applied to u-boot-imx, than

[U-Boot] [GIT PULL] Pull request: u-boot-imx

2012-04-11 Thread Stefano Babic
Hi Albert, please pull from u-boot-imx. Note: I rebased on u-boot mainline, because I needed some patches for testing that were merged by Wolfgang, and I could not find in u-boot-arm. Let me know if this is a problem for you ;-) The following changes since commit 3f0675d1a532dbf1fd906103e4b61a6fb

Re: [U-Boot] [PATCH] ARM: AM33XX: Fix build error

2012-04-11 Thread Tom Rini
On 04/11/2012 02:48 AM, Prabhakar Lad wrote: Fix build error while building the .ais image from the SPL image and u-boot.bin, The --pad-to option expects a complete number which was currentlty (46 * 1024), appropriately fixed it to 47104. arm-none-linux-gnueabi-objcopy --gap-fill=0xff -I binary

[U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-11 Thread Fabio Estevam
Add basic support for mx6qsabresd board. Signed-off-by: Fabio Estevam --- MAINTAINERS |1 + board/freescale/mx6qsabresd/Makefile | 37 ++ board/freescale/mx6qsabresd/imximage.cfg | 170 +++ board/freescale/mx6qsabresd/mx6qsab

Re: [U-Boot] using different architecture / toolchain for SPL build

2012-04-11 Thread Allen Martin
> > How would others feel about a CROSS_COMPILE_SPL variable that allowed > > one to override the toolchain used during the SPL build? > > This makes no sense to me. The need to use a specific tool chain for > some SoC type usuallyonly comes into play when dealing with user space > code, i. e. wh

Re: [U-Boot] [PULL] u-boot-staging/ma...@denx.de :: FOR u-boot/-next

2012-04-11 Thread Daniel Schwierzeck
Hi Marek, On Mon, Apr 9, 2012 at 8:17 PM, Marek Vasut wrote: > Dear Wolfgang Denk, > >> Dear Marek Vasut, >> >> In message <201204060455.17359.ma...@denx.de> you wrote: ... >> >> This is again all MIPS stuff.  Please negotiate with MIPS custodian. > > I did talk to Shinya, he said he has not much

Re: [U-Boot] [PATCH V3]fs/fat: align disk buffers on cache line to enable DMA and cache

2012-04-11 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] README: supported boards are in boards.cfg, not Makefile

2012-04-11 Thread Anatolij Gustschin
On Fri, 16 Mar 2012 09:48:10 +0100 Michael Jones wrote: > > Signed-off-by: Michael Jones > --- > README |8 +++- > 1 files changed, 3 insertions(+), 5 deletions(-) Applied to u-boot-staging/ag...@denx.de. Thanks. Anatolij ___ U-Boot mailing

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-11 Thread Wolfgang Denk
Dear Fabio Estevam, In message <1334158122-15219-1-git-send-email-feste...@gmail.com> you wrote: > Add basic support for mx6qsabresd board. > > Signed-off-by: Fabio Estevam Could you please add a bit information which sort of board this is, where to find documetnation about it, etc.? > +#defin

Re: [U-Boot] using different architecture / toolchain for SPL build

2012-04-11 Thread Wolfgang Denk
Dear Allen, In message <3c7a7aca8617d24290826ec008b5cd08510f030...@hqmail03.nvidia.com> you wrote: > > So the particular problem that pushed me over the edge on this was > trying to apply the ARM thumb patches that Aneesh V posted. As I > discovered, it's not the compiler but the linker that inse

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-11 Thread Fabio Estevam
On Wed, Apr 11, 2012 at 4:49 PM, Wolfgang Denk wrote: > Could you please add a bit information which sort of board this is, > where to find documetnation about it, etc.? Ok, will add more information about this board. I will not be able to point to any documentation about it as it is not yet pu

[U-Boot] [PATCH] mx6qsabrelite: No need to set the direction for GPIO3_23 again

2012-04-11 Thread Fabio Estevam
There is a 'gpio_direction_output(87, 0);' call previously, so the GPIO direction is already established. Use gpio_set_value() for changing the GPIO output then. Signed-off-by: Fabio Estevam --- board/freescale/mx6qsabrelite/mx6qsabrelite.c |2 +- 1 files changed, 1 insertions(+), 1 delet

[U-Boot] [STATUS] New MIPS custodian

2012-04-11 Thread Wolfgang Denk
Hello, we have a new MIPS custodian. Shinya Kuribayashi has to resign from this job. We thank him for all the work he did so far. It has always been highly appreciated. We are in the rare and lucky position that we imediately have a new custodian: Daniel Schwierzeck - welcome aboard, and good

Re: [U-Boot] [PATCH] mx6qsabresd: Add basic support

2012-04-11 Thread Wolfgang Denk
Dear Fabio Estevam, In message you wrote: > > >> +#define CONFIG_SYS_MEMTEST_START       0x1000 > >> +#define CONFIG_SYS_MEMTEST_END         0x1001 > > 0x1000 is the start address for DDR on mx6. > > mx6qarm2 and mx6qsabrelite do the same approach. Then these should eventually be fi

[U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-04-11 Thread Rafael Beims
Hello, I work with several MPC83xx boards in our company, and a while ago we were informed that the NAND chip we used was being discontinued. The only options for a replacement were the newer 4k page ones. Specifically, we are using now the Micron 29F8G08ABABA (8 gigabit). I was sweeping the repos

Re: [U-Boot] Status of fsl_elbc_nand driver and 4k page NAND / 4bit ECC

2012-04-11 Thread Scott Wood
On 04/11/2012 04:28 PM, Rafael Beims wrote: Hello, I work with several MPC83xx boards in our company, and a while ago we were informed that the NAND chip we used was being discontinued. The only options for a replacement were the newer 4k page ones. Specifically, we are using now the Micron 29F8G

Re: [U-Boot] [PATCH v4 2/6] fdt: Add support for embedded device tree (CONFIG_OF_EMBED)

2012-04-11 Thread Simon Glass
Hi Dirk, On Mon, Apr 9, 2012 at 12:52 AM, Dirk Behme wrote: > Dear Simon, > > > On 15.10.2011 17:48, Simon Glass wrote: >> >> This new option allows U-Boot to embed a binary device tree into its image >> to allow run-time control of peripherals. This device tree is for U-Boot's >> own use and is

Re: [U-Boot] CONFIG_SYS_FDT_PAD: Why do we need this?

2012-04-11 Thread Simon Glass
Hi Dirk, On Sat, Mar 24, 2012 at 11:59 PM, Dirk Behme wrote: > > In boot_relocate_fdt() [1] we increase the size of the loaded fdt by a > predefined, hard coded CONFIG_SYS_FDT_PAD. The basic idea seem to be to > create some space for adding additional information later, like the > bootargs. > > I

[U-Boot] Q: How to enable debugging info in U-Boot.bin

2012-04-11 Thread Graeme Russ
Hi Guys, This may be a really dumb question, but what is the best way to enable GCC debugging information in u-boot.bin The intention is to look at using Lauterbach Regards, Graeme ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mail

Re: [U-Boot] Q: How to enable debugging info in U-Boot.bin

2012-04-11 Thread Tom Rini
On Thu, Apr 12, 2012 at 09:19:10AM +1000, Graeme Russ wrote: > Hi Guys, > > This may be a really dumb question, but what is the best way to enable > GCC debugging information in u-boot.bin > > The intention is to look at using Lauterbach The general way we do this on ARM is loading 'u-boot' wit

Re: [U-Boot] [PULL] u-boot-staging/ma...@denx.de :: FOR u-boot/-next

2012-04-11 Thread Marek Vasut
Dear Daniel Schwierzeck, > Hi Marek, > > On Mon, Apr 9, 2012 at 8:17 PM, Marek Vasut wrote: > > Dear Wolfgang Denk, > > > >> Dear Marek Vasut, > > >> In message <201204060455.17359.ma...@denx.de> you wrote: > ... > > >> This is again all MIPS stuff. Please negotiate with MIPS custodian. > >

Re: [U-Boot] [PATCH v2 09/18] net: Refactor to separate the UDP handler from the ARP handler

2012-04-11 Thread Simon Glass
Hi Joe, On Tue, Mar 27, 2012 at 4:42 PM, Joe Hershberger wrote: > Call a built-in dummy if none is registered... don't require > protocols to register a handler (eliminating dummies) > NetConsole now uses the ARP handler when waiting on arp > (instead of needing a #define hack in arp.c) > Clear h

Re: [U-Boot] [PATCH v2 10/18] net: Add NetUpdateEther() to handle ARP and Ping replies

2012-04-11 Thread Simon Glass
Hi Joe, On Tue, Mar 27, 2012 at 4:43 PM, Joe Hershberger wrote: > When the network is VLAN or SNAP, NetUpdateEther() will preserve > the original Ethernet packet header and simply replace the src > and dest MACs and the protocol > > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Sim

Re: [U-Boot] [PATCH v2 11/18] net: Don't write the "serverip" env var if configured not to

2012-04-11 Thread Simon Glass
On Tue, Mar 27, 2012 at 4:43 PM, Joe Hershberger wrote: > Before this patch, bootp would not overwrite the value, but the > value was still clobbered in the env > > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Simon Glass > Cc: Mike Frysinger > --- > Changes for v2: >   - Added a

Re: [U-Boot] [PATCH v2 12/18] net: Fix unused variable compile warning

2012-04-11 Thread Simon Glass
Hi Joe, On Tue, Mar 27, 2012 at 4:43 PM, Joe Hershberger wrote: > If CONFIG_BOOTP_SERVERIP is not defined, unused > variable warning is reported.  This was fixed in > origin using a compiler feature instead of a > simple reorder of the statements. What do you mean by 'origin'? You can use more c

Re: [U-Boot] [PATCH v2 13/18] net: Add option CONFIG_BOOTP_MAY_FAIL

2012-04-11 Thread Simon Glass
On Tue, Mar 27, 2012 at 4:43 PM, Joe Hershberger wrote: > This is useful if you want to look for a DHCP server, but try some > other settings if not available. > > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Simon Glass > Cc: Mike Frysinger Looks ok to me Acked-by: Simon Glass

Re: [U-Boot] [PATCH v2 15/18] net: Remove unused parameter from NetInitLoop()

2012-04-11 Thread Simon Glass
On Tue, Mar 27, 2012 at 4:43 PM, Joe Hershberger wrote: > Signed-off-by: Joe Hershberger > Cc: Joe Hershberger > Cc: Simon Glass > Cc: Mike Frysinger Acked-by: Simon Glass But it is still nice to have a commit message, even if brief. > --- > Changes for v2: >   - Split from "Fix net buffer

Re: [U-Boot] [PATCH] ARM: AM33XX: Fix build error

2012-04-11 Thread Prabhakar Lad
Hi Tom, I misunderstood, that even AM335x can take .ais. Please ignore the patch. Thx, --Prabhakar Lad On Wed, Apr 11, 2012 at 8:40 PM, Tom Rini wrote: > On 04/11/2012 02:48 AM, Prabhakar Lad wrote: >> >> Fix build error while building the .ais image from the SPL image >> and u-boot.bin, The --