Re: [U-Boot] [PATCH] nds32: Add a basic errno.h

2013-02-17 Thread Macpaul Lin
Hi Simon, 2013/1/6 Simon Glass > > This is available on other architectures, and nds32 will start to break > without it as code starts to use error numbers more. > > Signed-off-by: Simon Glass > --- > arch/nds32/include/asm/errno.h |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) >

[U-Boot] [GIT PULL] Please pull u-boot-nds32/master into your branch

2013-02-17 Thread Macpaul Lin
Hi Tom, Please pull a bug fix for the missing of including header which cause broken on NDS32 (board adp-ag102). Thanks, Macpaul Lin The following changes since commit ea6bd08b7717bf0d3f69ad9f016bf3b03b3eaf16: nds32: Add a basic errno.h (2013-02-18 15:29:07 +0800) are available in the git re

Re: [U-Boot] u-boot recovery mode

2013-02-17 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Mon, 18 Feb 2013 09:44:32 +0800, wrote: > Hi, Albert: > Thanks for your answer! > So, how to use env variable to implement the recovery mode? > Will who set this env variable? > OS? (if OS wants to go into recovery mode, it will set this env variable) All needed i

Re: [U-Boot] [PATCH 05/11] Blackfin: bf60x: support big cplb page

2013-02-17 Thread Sonic Zhang
Hi Bob, On Mon, Feb 18, 2013 at 10:43 AM, Bob Liu wrote: > On Thu, Feb 7, 2013 at 6:33 PM, Wolfgang Denk wrote: >> Dear Sonic Zhang, >> >> In message <1360223258-6945-6-git-send-email-sonic@gmail.com> you wrote: >>> From: Bob Liu >>> >>> Bf60x support 16K, 64K, 16M and 64M cplb pages, this

Re: [U-Boot] [PATCH 08/11] Blackfin: bf60x: add rsi/sdh support

2013-02-17 Thread Sonic Zhang
Hi Wolfgang, On Mon, Feb 18, 2013 at 4:15 AM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message > you > wrote: >> >> >> @@ -113,16 +131,19 @@ static int sdh_setup_data(struct mmc *mmc, struct >> >> mmc_data *data) >> > ... >> >> - int ret = 0; >> > ... >> >> - return ret; >> >>

Re: [U-Boot] Notes from the U-Boot BOF Meeting in Geneva 2012/07/12

2013-02-17 Thread Simon Glass
Hi Graeme, On Fri, Jul 20, 2012 at 2:34 PM, Graeme Russ wrote: > Hi Kim & Marek, > > On 07/21/2012 07:09 AM, Marek Vasut wrote: >> Dear Kim Phillips, >> >>> On Mon, 16 Jul 2012 23:30:49 +0200 >>> >>> Detlev Zundel wrote: as promised, here are my expanded notes from the BoF meeting at LSM201

Re: [U-Boot] [PATCH v2 1/3] am335x-evm: enable ext4

2013-02-17 Thread Peter Korsgaard
> "Koen" == Koen Kooi writes: Koen> #define CONFIG_CMD_EXT2 Koen> +#define CONFIG_CMD_EXT4 >> >> Shouldn't the bootcmd then also be changed to use ext4load instead? Why >> keep CMD_EXT2 enabled? Koen> that will be a followup patch Ok. It imho makes sense to do both changes at once as

Re: [U-Boot] [PATCH 1/6] i.MX6: mx6qsabrelite: indent with tabs

2013-02-17 Thread Liu Hui-R64343
>-Original Message- >From: Eric Nelson [mailto:eric.nel...@boundarydevices.com] >Sent: Monday, February 18, 2013 3:24 AM >To: u-boot@lists.denx.de >Cc: sba...@denx.de; Liu Hui-R64343; Estevam Fabio-R49496; >troy.ki...@boundarydevices.com; Eric Nelson >Subject: [PATCH 1/6] i.MX6: mx6qsabreli

Re: [U-Boot] [PATCH 2/6] i.MX6: consolidate pad names for multi-CPU boards

2013-02-17 Thread Liu Hui-R64343
>-Original Message- >From: Eric Nelson [mailto:eric.nel...@boundarydevices.com] >Sent: Monday, February 18, 2013 3:24 AM >To: u-boot@lists.denx.de >Cc: sba...@denx.de; Liu Hui-R64343; Estevam Fabio-R49496; >troy.ki...@boundarydevices.com; Eric Nelson >Subject: [PATCH 2/6] i.MX6: consolidate

Re: [U-Boot] timing issue - uboot freeze after pringing header

2013-02-17 Thread Bo Shen
Hi John, On 02/16/2013 12:45 AM, John Stile wrote: I am trying to move from uboot-1.3.6 to uboot 2013.01, where the old works, the new prints this before freezing: U-Boot 2013.01 (Feb 14 2013 - 16:24:13) CPU: AT91SAM9G20 Crystal frequency: 18.432 MHz CPU c

Re: [U-Boot] [PATCH 4/6] i.MX6: crm_regs: define IOMUXC_GPR4/6/7

2013-02-17 Thread Liu Hui-R64343
>-Original Message- >From: Eric Nelson [mailto:eric.nel...@boundarydevices.com] >Sent: Monday, February 18, 2013 3:24 AM >To: u-boot@lists.denx.de >Cc: sba...@denx.de; Liu Hui-R64343; Estevam Fabio-R49496; >troy.ki...@boundarydevices.com; Eric Nelson >Subject: [PATCH 4/6] i.MX6: crm_regs: d

Re: [U-Boot] [PATCH 5/6] i.MX6DL: define IOMUX pads NANDF_CS1-3 for use as GPIO

2013-02-17 Thread Liu Hui-R64343
>-Original Message- >From: Eric Nelson [mailto:eric.nel...@boundarydevices.com] >Sent: Monday, February 18, 2013 3:24 AM >To: u-boot@lists.denx.de >Cc: sba...@denx.de; Liu Hui-R64343; Estevam Fabio-R49496; >troy.ki...@boundarydevices.com; Eric Nelson >Subject: [PATCH 5/6] i.MX6DL: define IO

Re: [U-Boot] [PATCH 6/6] i.MX6: Add DDR controller registers

2013-02-17 Thread Liu Hui-R64343
>-Original Message- >From: Eric Nelson [mailto:eric.nel...@boundarydevices.com] >Sent: Monday, February 18, 2013 3:24 AM >To: u-boot@lists.denx.de >Cc: sba...@denx.de; Liu Hui-R64343; Estevam Fabio-R49496; >troy.ki...@boundarydevices.com; Eric Nelson >Subject: [PATCH 6/6] i.MX6: Add DDR con

[U-Boot] [PATCH][v3]powerpc/usb: Fix usb device-tree fix-up

2013-02-17 Thread Ramneek Mehresh
Fix USB device-tree fixup to properly handle device-tree fixup and print appropriate message when wrong/junk "dr_mode" or "phy_type" are mentioned in hwconfig string Signed-off-by: Ramneek Mehresh --- Changes for v3: - used puts instead of printf - error message in one line arch

Re: [U-Boot] [PATCH 7/7] arm: dra7xx: Add dra7xx_evm build support

2013-02-17 Thread Lokesh Vutla
On Friday 15 February 2013 10:06 PM, Tom Rini wrote: On Wed, Feb 13, 2013 at 12:59:09PM +0530, Lokesh Vutla wrote: Adding the build support for dra7xx_evm. Reusing omap5_evm.h config by moving it to omap5_common.h Signed-off-by: Lokesh Vutla Signed-off-by: R Sricharan [snip] +#define CONFI

Re: [U-Boot] [PATCH] ARM: atmel: add at91sam9g20ek_2mmc nand boot support

2013-02-17 Thread Bo Shen
Hi Andreas, On 01/30/2013 09:43 AM, Bo Shen wrote: Add at91sam9g20_2mmc nand boot support. on this board, there is no dataflash, so disable it change one commet for at91sam9g20ek board Signed-off-by: Bo Shen --- board/atmel/at91sam9260ek/at91sam9260ek.c |7 ++- boards.cfg

Re: [U-Boot] [PATCH 05/11] Blackfin: bf60x: support big cplb page

2013-02-17 Thread Bob Liu
On Thu, Feb 7, 2013 at 6:33 PM, Wolfgang Denk wrote: > Dear Sonic Zhang, > > In message <1360223258-6945-6-git-send-email-sonic@gmail.com> you wrote: >> From: Bob Liu >> >> Bf60x support 16K, 64K, 16M and 64M cplb pages, this patch add support for >> them. >> So that bf609-ezkit can use it's

Re: [U-Boot] u-boot recovery mode

2013-02-17 Thread TigerLiu
Hi, Albert: Thanks for your answer! So, how to use env variable to implement the recovery mode? Will who set this env variable? OS? (if OS wants to go into recovery mode, it will set this env variable) Best wishes, -邮件原件- 发件人: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.

[U-Boot] [PATCH v4 10/10] mx23_olinuxino: Add ethernet support

2013-02-17 Thread Otavio Salvador
This adds support to the LAN9512 chip included in the board and extend the environment to easy netboot use. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2: - Remove extra newline include/configs/mx23_olinuxino.h | 39

[U-Boot] [PATCH v4 09/10] mx23_olinuxino: Enable USB support

2013-02-17 Thread Otavio Salvador
This enabled USB support for the mx23_olinuxino board. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2: - Add changes for allow use of the USB hub board/olimex/mx23_olinuxino/mx23_olinuxino.c | 6 ++ board/olimex/mx23_olinuxino/spl_boot.c | 4

[U-Boot] [PATCH v4 08/10] mx23evk: Enable USB support

2013-02-17 Thread Otavio Salvador
This enabled USB support for the mx23evk board. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2: None include/configs/mx23evk.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h index d2

[U-Boot] [PATCH v4 07/10] usb: mxs: Adapt code for i.MX23 support

2013-02-17 Thread Otavio Salvador
The i.MX23 just one USB port so we shouldn't mess up with PLL1CTRL and USB1 port when building for i.MX23. Signed-off-by: Otavio Salvador --- Changes in v4: - Rework soc_ehci_hcd_{enable,disable}_clock to mxs_ehci_hcd_clock (Fabio / Marek) Changes in v3: - Improve commit log - Move code to enab

[U-Boot] [PATCH v4 06/10] mx23_olinuxino: Add support for status LED

2013-02-17 Thread Otavio Salvador
This allow user to know if the bootloader is running, even without a serial console. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2: - Use MUX pin name - Requested by Marek board/olimex/mx23_olinuxino/mx23_olinuxino.c | 7 +++ board/olimex/mx23_oli

[U-Boot] [PATCH v4 05/10] mxs: Fix iomux.h to not break build during assembly stage

2013-02-17 Thread Otavio Salvador
This fixes the build failure when included in mx23_olinuxino.h board config; the addition of "asm/types.h" is due "u32" being otherwise undefined. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-mxs/iomux.h | 5 + 1 fi

[U-Boot] [PATCH v4 04/10] led: Use STATUS_LED_ON and STATUS_LED_OFF when calling __led_set

2013-02-17 Thread Otavio Salvador
This fixes the gpio_led driver which needs to compare againt a STATUS_LED_ON to enable a led. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2: None common/cmd_led.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/cmd_led.

[U-Boot] [PATCH v4 03/10] mx23evk: Adjust DRAM control register to use full 128MB of RAM

2013-02-17 Thread Otavio Salvador
Adjust HW_DRAM_CTL14 to enable the chip selects to allow usage of full 128MB of RAM. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: None Changes in v2: None board/freescale/mx23evk/spl_boot.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/freescale/

[U-Boot] [PATCH v4 02/10] mx23: Document the tRAS lockout setting in memory initialization

2013-02-17 Thread Otavio Salvador
Add a comment about the tRAS lockout setting of HW_DRAM_CTL08 to enable the 'Fast Auto Pre-Charge' found in the memory chip. The setting is applied after memory initialization and it is worth document it. Signed-off-by: Otavio Salvador --- Changes in v4: None Changes in v3: - Extend code comment

[U-Boot] [PATCH v4 01/10] mxs: Rename CONFIG_SPL_MX28_PSWITCH_WAIT to CONFIG_SPL_MXS_PSWITCH_WAIT

2013-02-17 Thread Otavio Salvador
The power switch option is compatible with i.MX23 and i.MX28 so the configration option needs to reflect it. We choose 'CONFIG_SPL_MXS_PSWITCH_WAIT' for the option name. Signed-off-by: Otavio Salvador Acked-by: Marek Vasut --- Changes in v4: None Changes in v3: None Changes in v2: None arch/ar

[U-Boot] [PATCH v4 0/10] mx23/mxs pending patches

2013-02-17 Thread Otavio Salvador
This patchset includes the pending patches we have in our tree. It fixes issues for mx23evk and mx23_olinuxino boards. The DRAM control register change has been kept specific to mx23evk as it breaks mx23_olinuxino (as it than reads only 16MB) Changes in v4: - Rework soc_ehci_hcd_{enable,disable}

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-17 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 02/17/2013 03:53 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > > you wrote: >> On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass >> wrote: >>> Add the CRC32 algorithm to the list of available hashes, and >>> make the crc32 command use

Re: [U-Boot] [PATCH v2 2/3] am335x-evm: add support for BeagleBone Black DT name

2013-02-17 Thread Koen Kooi
Op 17 feb. 2013 om 14:06 heeft Peter Korsgaard het volgende geschreven: >> "Koen" == Koen Kooi writes: > > Koen> Signed-off-by: Koen Kooi > Koen> --- > Koen> include/configs/am335x_evm.h | 2 ++ > Koen> 1 file changed, 2 insertions(+) > > Koen> diff --git a/include/configs/am335x_evm.

Re: [U-Boot] [PATCH v2 1/3] am335x-evm: enable ext4

2013-02-17 Thread Koen Kooi
Op 17 feb. 2013 om 14:03 heeft Peter Korsgaard het volgende geschreven: >> "Koen" == Koen Kooi writes: > > Koen> The kernel is loaded from an ext4 partition, not ext2 on beaglebone > boards. > Koen> Signed-off-by: Koen Kooi > Koen> --- > Koen> include/configs/am335x_evm.h | 1 + > Koen

Re: [U-Boot] [PATCH v2 0/5] Remove old unused x86 boards and code

2013-02-17 Thread Graeme Russ
Hi Simon, And lines 77-88 of arch/x86/cpu/u-boot.lds can go as well now Regards, Graeme P.S. So glad to finally see the end of the old 16-bit BIOS crap :) On Mon, Feb 18, 2013 at 9:30 AM, Graeme Russ wrote: > Hi Simon, > > OK, now that I have seen the results of the patches in all their > glo

Re: [U-Boot] [PATCH v2 0/5] Remove old unused x86 boards and code

2013-02-17 Thread Graeme Russ
Hi Simon, OK, now that I have seen the results of the patches in all their glory, there is a bit more trimming to do: - Delete arch/x86/lib/bios.h - Check usage of pci_shadow_rom() (defined in arch/x86/lib/pci.c) - In arch/x86/include/asm/pci.h, check if any of the following are unused: - p

Re: [U-Boot] [PATCH v2 1/7] usb: net: asix: Do a fast init if link already established

2013-02-17 Thread Simon Glass
Hi Joe, On Sun, Feb 17, 2013 at 1:39 PM, Joe Hershberger wrote: > Hi Simon, > > On Sun, Feb 17, 2013 at 12:47 AM, Simon Glass wrote: >> Hi Joe, >> >> On Thu, Dec 20, 2012 at 6:29 PM, Joe Hershberger >> wrote: >>> Hi Simon, >>> >>> On Thu, Dec 13, 2012 at 8:21 PM, Simon Glass wrote: The As

Re: [U-Boot] [PATCH v2 1/7] usb: net: asix: Do a fast init if link already established

2013-02-17 Thread Joe Hershberger
Hi Simon, On Sun, Feb 17, 2013 at 12:47 AM, Simon Glass wrote: > Hi Joe, > > On Thu, Dec 20, 2012 at 6:29 PM, Joe Hershberger > wrote: >> Hi Simon, >> >> On Thu, Dec 13, 2012 at 8:21 PM, Simon Glass wrote: >>> The Asix driver takes the link down during init() and then brings it back >>> up. >>

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-17 Thread Simon Glass
Hi Wolfgang, On Sun, Feb 17, 2013 at 12:53 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass wrote: >> > Add the CRC32 algorithm to the list of available hashes, and make >> > the crc32 command use hash_command(). Add a

Re: [U-Boot] Please pull u-boot-x86.git

2013-02-17 Thread Simon Glass
Hi Wolfgang, On Sun, Feb 17, 2013 at 12:58 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> Hi Tom, >> >> This series includes the sandbox map_sysmem() feature, and gets the >> memory and hashing functions running on sandbox to allow testing/code >> coverage. I hav

Re: [U-Boot] [PATCH v3 07/10] usb: mxs: Adapt code for i.MX23 support

2013-02-17 Thread Marek Vasut
Dear Otavio Salvador, > The i.MX23 just one USB port so we shouldn't mess up with PLL1CTRL and > USB1 port when building for i.MX23. > > Signed-off-by: Otavio Salvador > --- > Changes in v3: > - Improve commit log > - Move code to enable/disable clock to soc_ehci_hcd_{enable,disable}_clock > - P

Re: [U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-17 Thread Otavio Salvador
On Sun, Feb 17, 2013 at 6:02 PM, Wolfgang Denk wrote: > Dear Otavio Salvador, > > In message > you > wrote: >> >> >> include/configs/RPXsuper.h:#define CONFIG_BOOTDELAY-1 >> >> include/configs/ep8260.h:#define CONFIG_BOOTDELAY-1 >> >> include/configs/espt.h:#define CONFIG_BOOTDE

Re: [U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-17 Thread Wolfgang Denk
Dear Otavio Salvador, In message you wrote: > > >> include/configs/RPXsuper.h:#define CONFIG_BOOTDELAY-1 > >> include/configs/ep8260.h:#define CONFIG_BOOTDELAY-1 > >> include/configs/espt.h:#define CONFIG_BOOTDELAY-1 > >> include/configs/scb9328.h:#define CONFIG_BOOTDELAY

Re: [U-Boot] Please pull u-boot-x86.git

2013-02-17 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > Hi Tom, > > This series includes the sandbox map_sysmem() feature, and gets the > memory and hashing functions running on sandbox to allow testing/code > coverage. I have run it through buildman and it seems clean, with the > proviso that I don't have f

Re: [U-Boot] [PATCH 16/20] Roll crc32 into hash infrastructure

2013-02-17 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > On Wed, Dec 26, 2012 at 10:57 AM, Simon Glass wrote: > > Add the CRC32 algorithm to the list of available hashes, and make > > the crc32 command use hash_command(). Add a new crc32_wd_buf() to > > make this possible, which puts its result in a buffer ra

Re: [U-Boot] break command.

2013-02-17 Thread Wolfgang Denk
Dear Harvey Chapman, In message <2586b402-fb69-465c-82a4-62a065c74...@3gfp.com> you wrote: > > > As soon as U-Boot gives control to the payload (Linux or whatever) > > there is no possible assumption that U-Boot remains intact in RAM, so > > your only chance is indeed some hardware reset... But th

Re: [U-Boot] [PATCH 04/10] am33xx: refactor am33xx mux support and add ti814x support

2013-02-17 Thread Peter Korsgaard
> "Matt" == Matt Porter writes: Matt> AM33XX and TI814X have a similar mux though the pinmux register Matt> layout and address space differ. Add a separate ti814x mux include Matt> to support the TI814X-specific differences. Same comment about the file headers as patch 03, otherwise it lo

Re: [U-Boot] [PATCH 05/10] am33xx: add ti814x specific register definitions

2013-02-17 Thread Peter Korsgaard
> "Matt" == Matt Porter writes: Matt> Support the ti814x specific register definitions within Matt> arch-am33xx. Matt> Signed-off-by: Matt Porter Matt> --- Matt> arch/arm/cpu/armv7/am33xx/sys_info.c|3 +++ Matt> arch/arm/include/asm/arch-am33xx/cpu.h | 11 +

Re: [U-Boot] [PATCH v3 07/10] usb: mxs: Adapt code for i.MX23 support

2013-02-17 Thread Otavio Salvador
On Sun, Feb 17, 2013 at 5:11 PM, Fabio Estevam wrote: > On Sun, Feb 17, 2013 at 5:07 PM, Otavio Salvador > wrote: > >> I did it but mxs gives the impression it does mostly the same in both >> socs; as the code is mostly different between both I choose soc so it >> is clear it is for the soc it is

Re: [U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-17 Thread Otavio Salvador
On Sun, Feb 17, 2013 at 5:18 PM, Wolfgang Denk wrote: > Dear Otavio Salvador, > > In message > you > wrote: >> >> > Careful!! This is probably changing behaviour of a number of boards >> > significantly. >> > >> > we have to check if we really want this, and if yes, we have to >> > announce it

Re: [U-Boot] [PATCH v2 1/3] am335x-evm: enable ext4

2013-02-17 Thread Peter Korsgaard
> "Koen" == Koen Kooi writes: Koen> The kernel is loaded from an ext4 partition, not ext2 on beaglebone boards. Koen> Signed-off-by: Koen Kooi Koen> --- Koen> include/configs/am335x_evm.h | 1 + Koen> 1 file changed, 1 insertion(+) Koen> diff --git a/include/configs/am335x_evm.h b/i

Re: [U-Boot] [PATCH] CONFIG_BOOTDELAY default should not affect runtime

2013-02-17 Thread Wolfgang Denk
Dear Otavio Salvador, In message you wrote: > > > Careful!! This is probably changing behaviour of a number of boards > > significantly. > > > > we have to check if we really want this, and if yes, we have to > > announce it and provide a grace period (eventually using > > doc/feature-removal-s

Re: [U-Boot] [PATCH 03/10] am33xx: refactor am33xx clocks and add ti814x support

2013-02-17 Thread Peter Korsgaard
> "Matt" == Matt Porter writes: Matt> Split clock.c for am335x and ti814x and add the ti814x include file. Matt> Signed-off-by: Matt Porter Matt> --- Matt> arch/arm/cpu/armv7/am33xx/Makefile |3 +- Matt> arch/arm/cpu/armv7/am33xx/clock-am335x.c | 374 +++

Re: [U-Boot] [PATCH 08/11] Blackfin: bf60x: add rsi/sdh support

2013-02-17 Thread Wolfgang Denk
Dear Sonic Zhang, In message you wrote: > > >> @@ -113,16 +131,19 @@ static int sdh_setup_data(struct mmc *mmc, struct > >> mmc_data *data) > > ... > >> - int ret = 0; > > ... > >> - return ret; > >> + return 0; > > > > If this function can always only return 0, then please make it

Re: [U-Boot] [PATCH v2 2/3] am335x-evm: add support for BeagleBone Black DT name

2013-02-17 Thread Peter Korsgaard
> "Koen" == Koen Kooi writes: Koen> Signed-off-by: Koen Kooi Koen> --- Koen> include/configs/am335x_evm.h | 2 ++ Koen> 1 file changed, 2 insertions(+) Koen> diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h Koen> index 2190a7d..951422c 100644 Koen> --- a/incl

Re: [U-Boot] [PATCH 07/11] blackfin: bf609: add board and headers files to support bf609

2013-02-17 Thread Wolfgang Denk
Dear Sonic Zhang, In message you wrote: > On Thu, Feb 7, 2013 at 6:26 PM, Wolfgang Denk wrote: > > Dear Sonic Zhang, > > > > In message <1360223258-6945-8-git-send-email-sonic@gmail.com> you wrote: > >> From: Sonic Zhang > >> > >> Board and config header files for bf609-ezkit support. > >

Re: [U-Boot] [PATCH 09/11] Blackfin: spi: add bf6xx spi driver

2013-02-17 Thread Wolfgang Denk
Dear Sonic Zhang, In message you wrote: > > > Checkpatch issues, please fix. > > > Could the checkpatch warning "line over 80 characters" in head file > Macro definition be ignored? I think put the explanation and the > definition on the same line is more clean than to chopping to 80. No. It is

Re: [U-Boot] [PATCH v3 07/10] usb: mxs: Adapt code for i.MX23 support

2013-02-17 Thread Fabio Estevam
On Sun, Feb 17, 2013 at 5:07 PM, Otavio Salvador wrote: > I did it but mxs gives the impression it does mostly the same in both > socs; as the code is mostly different between both I choose soc so it > is clear it is for the soc it is being build. > > That was my thought... what do you think? Wh

Re: [U-Boot] [PATCH v2] Allow AM33xx boards to setup GPMC chipselects.

2013-02-17 Thread Peter Korsgaard
> "Mark" == Mark Jackson writes: Mark> Expose the enable_gpmc_cs_config() function so AM33xx based boards can Mark> register GPMC chip selects. Mark> Changes in V2: Mark> - Indicate this is for AM33xx (not OMAP2) Mark> Signed-off-by: Mark Jackson Mark> --- Mark> arch/arm/include/as

Re: [U-Boot] [PATCH v2 3/3] am335x-evm: switch to DT boot

2013-02-17 Thread Peter Korsgaard
> "Koen" == Koen Kooi writes: Koen> The findfdt method is being used to locate the right .dtb for the Koen> board and load it from /boot. Acked-by: Peter Korsgaard -- Bye, Peter Korsgaard ___ U-Boot mailing list U-Boot@lists.denx.de http://lis

Re: [U-Boot] [PATCH v3 07/10] usb: mxs: Adapt code for i.MX23 support

2013-02-17 Thread Otavio Salvador
On Sun, Feb 17, 2013 at 5:03 PM, Fabio Estevam wrote: > On Sun, Feb 17, 2013 at 4:45 PM, Otavio Salvador > wrote: >> The i.MX23 just one USB port so we shouldn't mess up with PLL1CTRL and > > I think "MX23 has just one USB port" would be better. > >> -int ehci_hcd_init(int index, struct ehci_hccr

Re: [U-Boot] [PATCH v3 07/10] usb: mxs: Adapt code for i.MX23 support

2013-02-17 Thread Fabio Estevam
On Sun, Feb 17, 2013 at 4:45 PM, Otavio Salvador wrote: > The i.MX23 just one USB port so we shouldn't mess up with PLL1CTRL and I think "MX23 has just one USB port" would be better. > -int ehci_hcd_init(int index, struct ehci_hccr **hccr, struct ehci_hcor > **hcor) > +static void soc_ehci_hcd_

[U-Boot] [PATCH v3 10/10] mx23_olinuxino: Add ethernet support

2013-02-17 Thread Otavio Salvador
This adds support to the LAN9512 chip included in the board and extend the environment to easy netboot use. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: - Remove extra newline include/configs/mx23_olinuxino.h | 39 --- 1 file changed,

[U-Boot] [PATCH v3 08/10] mx23evk: Enable USB support

2013-02-17 Thread Otavio Salvador
This enabled USB support for the mx23evk board. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None include/configs/mx23evk.h | 10 ++ 1 file changed, 10 insertions(+) diff --git a/include/configs/mx23evk.h b/include/configs/mx23evk.h index d206c95..99dfb8f 10064

[U-Boot] [PATCH v3 09/10] mx23_olinuxino: Enable USB support

2013-02-17 Thread Otavio Salvador
This enabled USB support for the mx23_olinuxino board. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: - Add changes for allow use of the USB hub board/olimex/mx23_olinuxino/mx23_olinuxino.c | 6 ++ board/olimex/mx23_olinuxino/spl_boot.c | 4 include/confi

[U-Boot] [PATCH v3 07/10] usb: mxs: Adapt code for i.MX23 support

2013-02-17 Thread Otavio Salvador
The i.MX23 just one USB port so we shouldn't mess up with PLL1CTRL and USB1 port when building for i.MX23. Signed-off-by: Otavio Salvador --- Changes in v3: - Improve commit log - Move code to enable/disable clock to soc_ehci_hcd_{enable,disable}_clock - Proper use mx23 clock registers Changes i

[U-Boot] [PATCH v3 06/10] mx23_olinuxino: Add support for status LED

2013-02-17 Thread Otavio Salvador
This allow user to know if the bootloader is running, even without a serial console. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: - Use MUX pin name - Requested by Marek board/olimex/mx23_olinuxino/mx23_olinuxino.c | 7 +++ board/olimex/mx23_olinuxino/spl_boot.c

[U-Boot] [PATCH v3 05/10] mxs: Fix iomux.h to not break build during assembly stage

2013-02-17 Thread Otavio Salvador
This fixes the build failure when included in mx23_olinuxino.h board config; the addition of "asm/types.h" is due "u32" being otherwise undefined. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None arch/arm/include/asm/arch-mxs/iomux.h | 5 + 1 file changed, 5 insert

[U-Boot] [PATCH v3 04/10] led: Use STATUS_LED_ON and STATUS_LED_OFF when calling __led_set

2013-02-17 Thread Otavio Salvador
This fixes the gpio_led driver which needs to compare againt a STATUS_LED_ON to enable a led. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None common/cmd_led.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/cmd_led.c b/common/cmd_led.c

[U-Boot] [PATCH v3 03/10] mx23evk: Adjust DRAM control register to use full 128MB of RAM

2013-02-17 Thread Otavio Salvador
Adjust HW_DRAM_CTL14 to enable the chip selects to allow usage of full 128MB of RAM. Signed-off-by: Otavio Salvador --- Changes in v3: None Changes in v2: None board/freescale/mx23evk/spl_boot.c | 10 ++ 1 file changed, 10 insertions(+) diff --git a/board/freescale/mx23evk/spl_boot.c

[U-Boot] [PATCH v3 02/10] mx23: Document the tRAS lockout setting in memory initialization

2013-02-17 Thread Otavio Salvador
Add a comment about the tRAS lockout setting of HW_DRAM_CTL08 to enable the 'Fast Auto Pre-Charge' found in the memory chip. The setting is applied after memory initialization and it is worth document it. Signed-off-by: Otavio Salvador --- Changes in v3: - Extend code comment to be more verbose (

[U-Boot] [PATCH v3 01/10] mxs: Rename CONFIG_SPL_MX28_PSWITCH_WAIT to CONFIG_SPL_MXS_PSWITCH_WAIT

2013-02-17 Thread Otavio Salvador
The power switch option is compatible with i.MX23 and i.MX28 so the configration option needs to reflect it. We choose 'CONFIG_SPL_MXS_PSWITCH_WAIT' for the option name. Signed-off-by: Otavio Salvador Acked-by: Marek Vasut --- Changes in v3: None Changes in v2: None arch/arm/cpu/arm926ejs/mxs/

[U-Boot] [PATCH v3 0/10] mx23/mxs pending patches

2013-02-17 Thread Otavio Salvador
This patchset includes the pending patches we have in our tree. It fixes issues for mx23evk and mx23_olinuxino boards. The DRAM control register change has been kept specific to mx23evk as it breaks mx23_olinuxino (as it than reads only 16MB) Changes in v3: - Extend code comment to be more verbo

[U-Boot] [PATCH 3/6] i.MX6: crm_regs: define CCM_CCGRx for use in board config files

2013-02-17 Thread Eric Nelson
Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/crm_regs.h | 12 1 file changed, 12 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/crm_regs.h b/arch/arm/include/asm/arch-mx6/crm_regs.h index d670f30..7676457 100644 --- a/arch/arm/include/asm/arch-mx6/crm_re

[U-Boot] [PATCH 6/6] i.MX6: Add DDR controller registers

2013-02-17 Thread Eric Nelson
Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/mx6-ddr.h | 85 + arch/arm/include/asm/arch-mx6/mx6dl-ddr.h | 71 arch/arm/include/asm/arch-mx6/mx6q-ddr.h | 69 +++ 3 files changed, 225 insertions(+) c

[U-Boot] [PATCH 5/6] i.MX6DL: define IOMUX pads NANDF_CS1-3 for use as GPIO

2013-02-17 Thread Eric Nelson
Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/mx6dl_pins.h |3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/mx6dl_pins.h b/arch/arm/include/asm/arch-mx6/mx6dl_pins.h index 0395357..9494e41 100644 --- a/arch/arm/include/asm/arch-mx6/mx6dl_pins

[U-Boot] [PATCH 4/6] i.MX6: crm_regs: define IOMUXC_GPR4/6/7

2013-02-17 Thread Eric Nelson
Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/iomux.h |5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/include/asm/arch-mx6/iomux.h b/arch/arm/include/asm/arch-mx6/iomux.h index d23abd7..57b514f 100644 --- a/arch/arm/include/asm/arch-mx6/iomux.h +++ b/arch/arm/

[U-Boot] [PATCH 1/6] i.MX6: mx6qsabrelite: indent with tabs

2013-02-17 Thread Eric Nelson
This patch has no functional changes and simply replaces leading spaces with tabs. Signed-off-by: Eric Nelson --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 106 - 1 file changed, 53 insertions(+), 53 deletions(-) diff --git a/board/freescale/mx6qsabrelite/mx6qsabr

[U-Boot] i.MX6: updates to support boards with multiple CPU options

2013-02-17 Thread Eric Nelson
This set of patches simplifies the code for i.MX6 boards that support multiple processor options as discussed in this RFC: http://lists.denx.de/pipermail/u-boot/2013-January/#145562 Patch 1 is a simple whitespace change so that patch 2 passes checkpatch (ignoring long lines).

Re: [U-Boot] [PATCH] i.MX6: consolidate pad names for multi-CPU boards

2013-02-17 Thread Eric Nelson
On 02/13/2013 09:35 PM, Eric Nelson wrote: Rename all i.MX6 pad declarations to MX6_PAD_x, so a board may support either i.MX6Quad/Dual (MX6Q) or i.MX6Dual-Lite/Solo (MX6DL) by including the proper header. Boards mx6qarm2, mx6qsabreauto, mx6qsabrelite, and mx6qsabresd only support MX6Q, so they

Re: [U-Boot] [PATCH v7 16/19] arm926ejs: Remove deprecated and now unused NAND SPL

2013-02-17 Thread Benoît Thébaudeau
On Sunday, February 17, 2013 5:08:00 PM, Albert ARIBAUD wrote: > Hi Albert, > > On Sun, 17 Feb 2013 17:04:54 +0100, Albert ARIBAUD > wrote: > > > Hi Benoît, > > > > On Sun, 17 Feb 2013 16:51:37 +0100 (CET), Benoît Thébaudeau > > wrote: > > > > > Hi Albert, Tom, Zhong, > > > > > > On Friday,

Re: [U-Boot] [PATCH v7 13/19] Makefile: u-boot-with-spl.bin: Fix SPL padding

2013-02-17 Thread Benoît Thébaudeau
Hi Poonam, Andy, On Friday, February 15, 2013 9:54:19 PM, Benoît Thébaudeau wrote: > PAD_TO is not a generic SPL configuration option, so use CONFIG_SPL_MAX_SIZE > instead. > > We want to use --pad-to with a size, but this option expects an address, so > use > u-boot-spl.bin instead of u-boot-spl

Re: [U-Boot] [PATCH v7 16/19] arm926ejs: Remove deprecated and now unused NAND SPL

2013-02-17 Thread Albert ARIBAUD
Hi Albert, On Sun, 17 Feb 2013 17:04:54 +0100, Albert ARIBAUD wrote: > Hi Benoît, > > On Sun, 17 Feb 2013 16:51:37 +0100 (CET), Benoît Thébaudeau > wrote: > > > Hi Albert, Tom, Zhong, > > > > On Friday, February 15, 2013 9:54:22 PM, Benoît Thébaudeau wrote: > > > Signed-off-by: Benoît Thébau

Re: [U-Boot] [PATCH v7 16/19] arm926ejs: Remove deprecated and now unused NAND SPL

2013-02-17 Thread Albert ARIBAUD
Hi Benoît, On Sun, 17 Feb 2013 16:51:37 +0100 (CET), Benoît Thébaudeau wrote: > Hi Albert, Tom, Zhong, > > On Friday, February 15, 2013 9:54:22 PM, Benoît Thébaudeau wrote: > > Signed-off-by: Benoît Thébaudeau > > --- > > Changes in v7: None > > Changes in v6: > > - New patch. > > > > Change

Re: [U-Boot] [PATCH v7 16/19] arm926ejs: Remove deprecated and now unused NAND SPL

2013-02-17 Thread Benoît Thébaudeau
Hi Albert, Tom, Zhong, On Friday, February 15, 2013 9:54:22 PM, Benoît Thébaudeau wrote: > Signed-off-by: Benoît Thébaudeau > --- > Changes in v7: None > Changes in v6: > - New patch. > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/cpu/ar

[U-Boot] [STATUS] ARM master and next fast-forwarded to current u-boot/master

2013-02-17 Thread Albert ARIBAUD
Hello all, I have just fast-forwarded u-boot-arm/{master,next} to u-boot/master, in order to be able to properly pick the zynq commits in the microblaze mainline/arm branch. ARM-based tree custodians please make sure you base your PRs onto this new u-boot-arm/master. Amicalement, -- Albert. ___

Re: [U-Boot] u-boot recovery mode

2013-02-17 Thread Albert ARIBAUD
Hi tiger...@viatech.com.cn, On Sun, 17 Feb 2013 19:30:17 +0800, wrote: > Hi, experts: > I found u-boot did not implement a recovery mode in current source code. > Such as: > 1. detecting usr pressed some dedicated keys , then going into a > recovery mode. > > Why? > Vendor specific? Such a mod

Re: [U-Boot] [PATCH v7 11/19] arm: relocate_code(): Use __image_copy_end for end of relocation

2013-02-17 Thread Albert ARIBAUD
Hi Benoît, On Sat, 16 Feb 2013 20:54:01 +0100 (CET), Benoît Thébaudeau wrote: > Hi Albert, > > On Saturday, February 16, 2013 7:47:13 PM, Albert ARIBAUD wrote: > > Hi Benoît, > > > > On Fri, 15 Feb 2013 21:54:17 +0100, Benoît Thébaudeau > > wrote: > > > > > Use __image_copy_end instead of __

Re: [U-Boot] why bic sp, sp, #7 /* 8-byte alignment for ABI compliance */

2013-02-17 Thread Benoît Thébaudeau
Hi, On Sunday, February 17, 2013 10:59:10 AM, janpharm wrote: > Hi All, > > After searching via google,I still can not find the hint for > > I understand the function of bic command, http://infocenter.arm.com/help/topic/com.arm.doc.qrc0001l/QRC0001_UAL.pdf Simple bit clear with bit-mask. > bu

[U-Boot] [U-boot] usb2serial adapter driver

2013-02-17 Thread TigerLiu
Hi, experts: I have a arm development board without RS232 compatible serial port. I have a usb2serial adapter , so I want to use this adapter to output debug message to my host pc with RS232 cable. So, does u-boot support usb2serial adapter device? Best wishes, __

[U-Boot] M29EW flash is detected as 0xFF

2013-02-17 Thread Jagan Teki
Hi, I have a 16MB, M29EW flash on target boards. I got the below info, while probing the flash. Bank # 1: CFI conformant flash (8 x 8) Size: 64 MB in 512 Sectors AMD Standard command set, Manufacturer ID: 0xFF, Device ID: 0xFF Erase timeout: 4096 ms, write timeout: 2 ms Buffer write timeo

[U-Boot] [U-boot] usbslave command

2013-02-17 Thread TigerLiu
Hi,experts: I have a question about using usb port to download files to memory. Some ARM OEM vendors have released customed uboot with integrated usbslave command. Developers could download files to target board's dram through USB port. So, official uboot release version has plans to integrate thi

[U-Boot] [U-boot] usb2serial adapter driver

2013-02-17 Thread TigerLiu
Hi, experts: I have a arm development board without RS232 compatible serial port. I have a usb2serial adapter , so I want to use this adapter to output debug message to my host pc with RS232 cable. So, does u-boot support usb2serial adapter device? Best wishes, __

[U-Boot] u-boot recovery mode

2013-02-17 Thread TigerLiu
Hi, experts: I found u-boot did not implement a recovery mode in current source code. Such as: 1. detecting usr pressed some dedicated keys , then going into a recovery mode. Why? Vendor specific? Best wishes, ___ U-Boot mailing list U-Boot@lists.denx.d

[U-Boot] why bic sp, sp, #7 /* 8-byte alignment for ABI compliance */

2013-02-17 Thread janpharm
Hi All, After searching via google,I still can not find the hint for I understand the function of bic command, but did not understand : why "bic sp, sp, #7" can be implied for "8-byte alignment for ABI compliance" ? can someone offer some example? thanks! -- View this message in context: