Re: [U-Boot] [RFC] Add 'led' command

2011-12-16 Thread Ulf Samuelsson
I think that before we go ahead and do changes, we should ask ourselves: Why does a bootloader need LED support? Just because its on the board? Do we need to support all LEDs because they are there? i implemented the LED command because it seemed to have some application, even though I could not

[U-Boot] [PATCH] ftintc010.h: add header of ftintc010 interrupt controller

2011-12-16 Thread Macpaul Lin
add header definition of faraday interrupt controller Signed-off-by: Macpaul Lin --- include/faraday/ftintc010.h | 101 +++ 1 files changed, 101 insertions(+), 0 deletions(-) create mode 100644 include/faraday/ftintc010.h diff --git a/include/faraday/ft

Re: [U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-16 Thread Stefano Babic
On 15/12/2011 18:22, Marek Vasut wrote: >> Let imx_get_mac_from_fuse function be a common function, so that other >> mx28 boards can reuse it. >> >> Signed-off-by: Fabio Estevam Hi Marek, >> +writel(OCOTP_CTRL_RD_BANK_OPEN, &ocotp_regs->hw_ocotp_ctrl_set); >> + >> +if (mx28_wait_mask_clr

Re: [U-Boot] [PATCH v5 2/3] mx28: Let dram_init be common for mx28

2011-12-16 Thread Stefano Babic
On 15/12/2011 23:07, Fabio Estevam wrote: > Let dram_init function be a common function, so that other mx28 boards > can reuse it. > > Signed-off-by: Fabio Estevam > --- > -int board_init(void) > +int dram_init(void) > { > - /* Adress of boot parameters */ > - gd->bd->bi_boot_params =

[U-Boot] [PATCH] OMAP3: Remove unused define CONFIG_OMAP3_*_DDR

2011-12-16 Thread Thomas Weber
This patch removes the unused definitions: CONFIG_OMAP3_MICRON_DDR CONFIG_OMAP3_NUMONYX_DDR CONFIG_OMAP3_INFINEON_DDR Signed-off-by: Thomas Weber --- include/configs/cm_t35.h|3 --- include/configs/dig297.h|3 --- include/configs/igep0020.h |3 --- include/config

Re: [U-Boot] [PATCH v5 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-16 Thread Stefano Babic
On 15/12/2011 23:07, Fabio Estevam wrote: > Add initial support for Freescale MX28EVK board. > > Tested boot via SD card and by loading a kernel via TFTP through > the FEC interface. > > Signed-off-by: Fabio Estevam > --- Hi Fabio, > +int dram_init(void) > +{ > + mx28_dram_init(); > +

Re: [U-Boot] __mmc_get_env_addr() is not being called?

2011-12-16 Thread Stefano Babic
On 16/12/2011 06:54, Shawn Guo wrote: > Hi, > Hi Shawn, > I'm running v2011.12-rc1 (with one missing usdhc patch applied) on > mx6qarm2 board, and seeing a problem. When I install u-boot on a > blank SD card, it boots fine with messge "*** Warning - bad CRC, > using default environment" seen as

Re: [U-Boot] __mmc_get_env_addr() is not being called?

2011-12-16 Thread Fabio Estevam
On Fri, Dec 16, 2011 at 3:54 AM, Shawn Guo wrote: > Hi, > > I'm running v2011.12-rc1 (with one missing usdhc patch applied) on > mx6qarm2 board, and seeing a problem.  When I install u-boot on a > blank SD card, it boots fine with messge "*** Warning - bad CRC, > using default environment" seen as

Re: [U-Boot] __mmc_get_env_addr() is not being called?

2011-12-16 Thread Stefano Babic
On 16/12/2011 10:33, Fabio Estevam wrote: > > The weak function was introduced by this commit: > http://git.denx.de/?p=u-boot.git;a=commitdiff;h=97039ab98c551c7860bc0977d684ef686159e0d7 > > which breaks non CONFIG_FSL_ESDHC users. Ok, I see - the patch is more related to Freescale SOCs as to th

Re: [U-Boot] [PATCH v5 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-16 Thread Marek Vasut
> Let imx_get_mac_from_fuse function be a common function, so that other > mx28 boards can reuse it. > > Signed-off-by: Fabio Estevam > --- > Changes since v4: > - No changes > Change since v3: > - Add a note about the first two MAC addresses being from Freescale vendor. What changes are in V5?

Re: [U-Boot] [PATCH v5 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-16 Thread Marek Vasut
> Add initial support for Freescale MX28EVK board. > > Tested boot via SD card and by loading a kernel via TFTP through > the FEC interface. > > Signed-off-by: Fabio Estevam > --- > - For correct operation of saving environment variables into the SD card, > the following patch is needed: > http:

Re: [U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-16 Thread Marek Vasut
> On 15/12/2011 18:22, Marek Vasut wrote: > >> Let imx_get_mac_from_fuse function be a common function, so that other > >> mx28 boards can reuse it. > >> > >> Signed-off-by: Fabio Estevam > > Hi Marek, Hi Stefano, > > >> + writel(OCOTP_CTRL_RD_BANK_OPEN, &ocotp_regs->hw_ocotp_ctrl_set); > >>

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-16 Thread Marek Vasut
> On Thursday 15 December 2011 08:26:41 Marek Vasut wrote: > > First of the CHECKPATCH series of patches with per-file checkpatch fixes. > > > > This series fixes all files fpgadata.c, which contains PPC FPGA > > firmwares. There are no functional changes, only CHECKPATCH fixes. > > i don't reall

Re: [U-Boot] [PATCH 0/7] CHECKPATCH: Cleanup LCD logo files

2011-12-16 Thread Marek Vasut
> On Thursday 15 December 2011 08:45:48 Marek Vasut wrote: > > This series fixes the logo files by aligning them to 8 bytes per line and > > fixing subsequent CHECKPATCH issues. > > same comment as fpgadata.c ... would make more sense to find/update the > tool creating these files rather than hand

Re: [U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-16 Thread Stefano Babic
On 16/12/2011 10:53, Marek Vasut wrote: >> On 15/12/2011 18:22, Marek Vasut wrote: Let imx_get_mac_from_fuse function be a common function, so that other mx28 boards can reuse it. Signed-off-by: Fabio Estevam >> Hi Marek, >>> Be careful here. 0x00 0x04 prefix might not be co

Re: [U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-16 Thread Marek Vasut
> On 16/12/2011 10:53, Marek Vasut wrote: > >> On 15/12/2011 18:22, Marek Vasut wrote: > Let imx_get_mac_from_fuse function be a common function, so that other > mx28 boards can reuse it. > > Signed-off-by: Fabio Estevam > > Hi Marek, Hi Stefano, DISCLAIMER: I'm terribly ti

Re: [U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-16 Thread Stefano Babic
On 16/12/2011 11:39, Marek Vasut wrote: >> >> Hi Marek, > > Hi Stefano, > > DISCLAIMER: I'm terribly tired today, had early class. ok, I understand..;-) > > You disable fuses and use ethaddr. Why do we need them? We don't, but the > hardware is in the CPU and someone might use it so let's su

Re: [U-Boot] [PATCH v2 1/3] mx28: Let imx_get_mac_from_fuse be common for mx28

2011-12-16 Thread Marek Vasut
> On 16/12/2011 11:39, Marek Vasut wrote: > >> Hi Marek, > > > > Hi Stefano, > > > > DISCLAIMER: I'm terribly tired today, had early class. > > ok, I understand..;-) > > > You disable fuses and use ethaddr. Why do we need them? We don't, but the > > hardware is in the CPU and someone might use

Re: [U-Boot] [PATCH 1/3] i.mx: i.mx6q: Add the enet clock function

2011-12-16 Thread Stefano Babic
On 13/12/2011 14:44, Jason Liu wrote: > Cc: Stefano Babic > Signed-off-by: Jason Liu > --- > arch/arm/cpu/armv7/mx6/clock.c |5 + > 1 files changed, 5 insertions(+), 0 deletions(-) > > diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c > index b143535..fa3a124

Re: [U-Boot] [PATCH 2/3] fec: add the i.mx6q enet driver support

2011-12-16 Thread Stefano Babic
On 13/12/2011 14:44, Jason Liu wrote: > Cc: Stefano Babic > Signed-off-by: Jason Liu > --- > drivers/net/fec_mxc.c | 10 ++ > drivers/net/fec_mxc.h |7 ++- > 2 files changed, 16 insertions(+), 1 deletions(-) > Acked-by : Stefano Babic Best regards, Stefano Babic -- ==

Re: [U-Boot] [PATCH 3/3] i.mx6q: arm2: Add the enet function support

2011-12-16 Thread Stefano Babic
On 13/12/2011 14:44, Jason Liu wrote: > This enable the network function on the i.mx6q armadillo2 > board(arm2), thus we can use tftp to load image from network. > > Cc: Stefano Babic > Signed-off-by: Jason Liu > Tested-by: Dirk Behme > --- > board/freescale/mx6qarm2/mx6qarm2.c | 90 > +

Re: [U-Boot] [PATCH] add missing space

2011-12-16 Thread Anatolij Gustschin
Hi Luka, On Fri, 16 Dec 2011 00:32:15 +0100 Luka Perkov wrote: > Cosmetic patch for first U-Boot line that gets printed. > > Signed-off-by: Luka Perkov > --- > diff --git a/include/version.h b/include/version.h > index c908bd3..ac5a39a 100644 > --- a/include/version.h > +++ b/include/version.h

[U-Boot] arm, da850: Question about start point

2011-12-16 Thread Gabriele Filosofi
Hi all, I'm new to this mailing-list and to u-boot. I've to port the TI SDK_5.02 to a LogicPD_SOM_AM1808 -based application board. The SDK_5.02 is based on PSP_03.21.00.04, whose u-boot was developed on git u-boot 2010.12 The question is What's the better, to start from SDK's u-boot or from git

[U-Boot] fsl_esdhc.c bug

2011-12-16 Thread Jim Lentz
All, There is a bug rendering SDCard support useless on Freescale esdhc controller. File drivers/mmc/fsl_esdhc.c, function esdhc_pio_read_write *change: * struct fsl_esdhc *regs = mmc->priv; *to:* struct fsl_esdhc_cfg *cfg = (struct fsl_esdhc_cfg *)mmc->priv; volatile struct fsl_esdhc *reg

Re: [U-Boot] fsl_esdhc.c bug

2011-12-16 Thread Graeme Russ
Hi Jim On Dec 17, 2011 1:11 AM, "Jim Lentz" wrote: > > All, > > There is a bug rendering SDCard support useless on Freescale esdhc controller. > > File drivers/mmc/fsl_esdhc.c, function esdhc_pio_read_write > > *change: * > > struct fsl_esdhc *regs = mmc->priv; > > *to:* > > struct fsl_esdhc_cfg

Re: [U-Boot] fsl_esdhc.c bug

2011-12-16 Thread Fabio Estevam
Hi Jim, On Fri, Dec 16, 2011 at 11:48 AM, Jim Lentz wrote: > All, > > There is a bug rendering SDCard support useless on Freescale esdhc > controller. Which Freescale processor do you use? Please describe in details the problem you see, how to reproduce it, the U-boot version that you use, etc.

Re: [U-Boot] [PATCH 3/3] i.mx6q: arm2: Add the enet function support

2011-12-16 Thread Liu Hui-R64343
>-Original Message- >From: u-boot-boun...@lists.denx.de [mailto:u-boot-boun...@lists.denx.de] >On Behalf Of Stefano Babic >Sent: Friday, December 16, 2011 7:30 PM >To: Jason Liu >Cc: u-boot@lists.denx.de >Subject: Re: [U-Boot] [PATCH 3/3] i.mx6q: arm2: Add the enet function >support > >On 1

Re: [U-Boot] [PATCH v5 3/3] mx28evk: Add initial support for MX28EVK board

2011-12-16 Thread Veli-Pekka Peltola
Hi Fabio, On 12/16/2011 12:07 AM, Fabio Estevam wrote: Tested boot via SD card and by loading a kernel via TFTP through the FEC interface. Have you any idea why this works from SD card but not by USB recovery using exactly same sb file? By quick look it seems that control is not passed back

Re: [U-Boot] fsl_esdhc.c bug

2011-12-16 Thread Jim Lentz
On 12/16/2011 09:51 AM, Fabio Estevam wrote: Hi Jim, On Fri, Dec 16, 2011 at 11:48 AM, Jim Lentz wrote: All, There is a bug rendering SDCard support useless on Freescale esdhc controller. Which Freescale processor do you use? Please describe in details the problem you see, how to reproduce

[U-Boot] [PATCH v2 0/3] i.mx6q: Add the ethernet function support

2011-12-16 Thread Jason Liu
This patch add the ethernet function support for i.mx6q/arm2 board. The patch has been tested ok by: Dirk Behme on freescale i.mx6qarm2 board. Jason Liu (3): i.mx: i.mx6q: Add the enet clock function fec: add the i.mx6q enet driver support i.mx6q: arm2: Add the enet function support arch

[U-Boot] [PATCH v2 1/3] i.mx: i.mx6q: Add the enet clock function

2011-12-16 Thread Jason Liu
Cc: Stefano Babic Signed-off-by: Jason Liu Acked-by: Stefano Babic --- v2: Add Stefano's ack --- arch/arm/cpu/armv7/mx6/clock.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/mx6/clock.c b/arch/arm/cpu/armv7/mx6/clock.c index b143535..fa3a124 10

[U-Boot] [PATCH v2 2/3] fec: add the i.mx6q enet driver support

2011-12-16 Thread Jason Liu
Cc: Stefano Babic Signed-off-by: Jason Liu Acked-by: Stefano Babic --- v2: Add Stefano's ack --- drivers/net/fec_mxc.c | 10 ++ drivers/net/fec_mxc.h |7 ++- 2 files changed, 16 insertions(+), 1 deletions(-) diff --git a/drivers/net/fec_mxc.c b/drivers/net/fec_mxc.c index b0

[U-Boot] [PATCH v2 3/3] i.mx6q: arm2: Add the enet function support

2011-12-16 Thread Jason Liu
This enable the network function on the i.mx6q armadillo2 board(arm2), thus we can use tftp to load image from network. Cc: Stefano Babic Signed-off-by: Jason Liu Tested-by: Dirk Behme --- v2: use constant define and remove ETHPRIME config --- board/freescale/mx6qarm2/mx6qarm2.c | 90 ++

[U-Boot] SPL Linux Boot

2011-12-16 Thread Stefano Babic
Hi, this is a new submission of the Simon's work to add a way to boot Linux directly from the SPL. From the last patchset series, the main changes introduced by me are the following: - compile the cache functions in SPL to make cleanup_before_linux() available. - do not call I"C function on boa

[U-Boot] [PATCH V11 02/13] devki8000: add config for spl command

2011-12-16 Thread Stefano Babic
From: Simon Schwarz This adds some configs for devkit8000 to use the new spl command Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V10 changes: This is new in V10 was split from other patch include/configs/devkit8000.h |8 1 files changed,

[U-Boot] [PATCH V11 03/13] omap-common: Add NAND SPL linux booting

2011-12-16 Thread Stefano Babic
From: Simon Schwarz This implements booting of Linux from NAND in SPL Related config parameters: CONFIG_SYS_NAND_SPL_KERNEL_OFFS Offset in NAND of direct boot kernel image to use in SPL CONFIG_SYS_SPL_ARGS_ADDR Address where the kernel boot arguments are expected - this is

[U-Boot] [PATCH V11 04/13] devkit8000/spl: init GPMC for dm9000 in SPL

2011-12-16 Thread Stefano Babic
From: Simon Schwarz Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V2 changes: nothing V3 changes: nothing V4 changes: noting V5 changes: nothing V6 changes: nothing V7 changes: FIX multiline c

[U-Boot] [PATCH V11 01/13] Add cmd_spl command

2011-12-16 Thread Stefano Babic
From: Simon Schwarz This adds a spl command to the u-boot. Related config: CONFIG_CMD_CPL activate/deactivate the command CONFIG_CMD_SPL_NAND_OFS Offset in NAND to use Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V2 changes: CHG corrected

[U-Boot] [PATCH V11 05/13] omap-common/spl: Add linux boot to SPL

2011-12-16 Thread Stefano Babic
From: Simon Schwarz This adds Linux booting to the SPL This depends on CONFIG_MACH_TYPE patch by Igor Grinberg (http://article.gmane.org/gmane.comp.boot-loaders.u-boot/105809) Related CONFIGs: CONFIG_SPL_OS_BOOT Activates/Deactivates the OS booting feature CONFIG_SPL_OS_BOOT_KEY

[U-Boot] [PATCH V11 06/13] omap/spl: change output of spl_parse_image_header

2011-12-16 Thread Stefano Babic
From: Simon Schwarz This only outputs "Assuming u-boot.bin..." if debug is active. Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V11: no changes arch/arm/cpu/armv7/omap-common/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

[U-Boot] [PATCH V11 07/13] devkit8000: Implement and activate direct OS boot

2011-12-16 Thread Stefano Babic
From: Simon Schwarz - Implements spl_start_uboot() for devkit8000 - Add configs to activate direct OS boot from SPL Signed-off-by: Simon Schwarz CC: Tom Rini CC: Stefano Babic CC: Wolfgang Denk --- V10 changes: sliced from the implementation added an implementation of spl_start_uboot for de

[U-Boot] [PATCH V11 08/13] Add cache functions to SPL for armv7

2011-12-16 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- arch/arm/cpu/armv7/Makefile |4 ++-- arch/arm/cpu/armv7/cpu.c|2 ++ arch/arm/lib/Makefile |5 +++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv7/Makefile

[U-Boot] [PATCH V11 09/13] OMAP3: SPL: do not call I2C init if no I2C is set.

2011-12-16 Thread Stefano Babic
Call i2c initialization in spl_board_init only if I2C is configured for the board. Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- arch/arm/cpu/armv7/omap3/board.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/armv7/om

[U-Boot] [PATCH V11 10/13] OMAP3: move SPL files to be used by other architectures.

2011-12-16 Thread Stefano Babic
The SPL used on OMAPx can be reused by other SOCs from different architectures. Move common files into common/ directory. Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- arch/arm/cpu/armv7/omap-common/Makefile| 10 -- common/Makefile

[U-Boot] [PATCH V11 12/13] SPL: call cleanup_before_linux() before booting Linux

2011-12-16 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- common/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/spl.c b/common/spl.c index 5fdf3fb..cf5395e 100644 --- a/common/spl.c +++ b/common/spl.c @@ -125,7 +125,7 @@ __noretur

[U-Boot] [PATCH V11 13/13] OMAP3: twister: add support to boot Linux from SPL

2011-12-16 Thread Stefano Babic
Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- board/technexion/twister/twister.c | 23 +++ include/configs/twister.h | 16 2 files changed, 39 insertions(+), 0 deletions(-) diff --git a/board/technexion/twis

[U-Boot] [PATCH V11 11/13] TI: SPL: make SPL available for other SOCs as TI

2011-12-16 Thread Stefano Babic
The SPL is developped first for TI-OMAPx. The patch move OMAP specific function into OMAP directory. Signed-off-by: Stefano Babic CC: Tom Rini CC: Wolfgang Denk CC: Simon Schwarz --- arch/arm/cpu/armv7/omap-common/Makefile |2 + arch/arm/cpu/armv7/omap-common/spl_omap.c | 71 +

Re: [U-Boot] SPL Linux Boot

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: > Hi, > > this is a new submission of the Simon's work to add a way to > boot Linux directly from the SPL. From the last patchset series, > the main changes introduced by me are the following: > > - compile the cache functions in SPL to make cl

Re: [U-Boot] [PATCH V11 08/13] Add cache functions to SPL for armv7

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: > Signed-off-by: Stefano Babic > CC: Tom Rini > CC: Wolfgang Denk > CC: Simon Schwarz As I said in my reply to the intro email.. > -ifndef CONFIG_SPL_BUILD > +#ifndef CONFIG_SPL_BUILD Is why I assume this is an RFC :) This patch is fine

Re: [U-Boot] [PATCH V11 09/13] OMAP3: SPL: do not call I2C init if no I2C is set.

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: > Call i2c initialization in spl_board_init only if I2C > is configured for the board. > > Signed-off-by: Stefano Babic > CC: Tom Rini > CC: Wolfgang Denk > CC: Simon Schwarz > --- >  arch/arm/cpu/armv7/omap3/board.c |    2 ++ >  1 files ch

Re: [U-Boot] [PATCH V11 10/13] OMAP3: move SPL files to be used by other architectures.

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: > The SPL used on OMAPx can be reused by other SOCs from different > architectures. Move common files into common/ directory. Thanks for tackling this. My immediate concern however is that this breaks building nand_spl/ boards, but is that re

Re: [U-Boot] [PATCH] add missing space

2011-12-16 Thread Mike Frysinger
On Friday 16 December 2011 07:13:47 Anatolij Gustschin wrote: > On Fri, 16 Dec 2011 00:32:15 +0100 Luka Perkov wrote: > > Cosmetic patch for first U-Boot line that gets printed. > > > > --- a/include/version.h > > +++ b/include/version.h > > > > #define U_BOOT_VERSION_STRING U_BOOT_VERSION " ("

Re: [U-Boot] [PATCH V11 11/13] TI: SPL: make SPL available for other SOCs as TI

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: > The SPL is developped first for TI-OMAPx. The patch > move OMAP specific function into OMAP directory. I wonder if we should fold this into the mv'ing patch as well. [snip] > diff --git a/include/spl.h b/include/spl.h > +/* Boot type */ > +

Re: [U-Boot] [PATCH V11 13/13] OMAP3: twister: add support to boot Linux from SPL

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: > Signed-off-by: Stefano Babic > CC: Tom Rini > CC: Wolfgang Denk > CC: Simon Schwarz [snip] > +#ifdef CONFIG_SPL_BUILD > +#undef CONFIG_HARD_I2C > +#endif If we switch the I2C test to CONFIG_SPL_I2C_SUPPORT this part here can go away, yes

Re: [U-Boot] SPL Linux Boot

2011-12-16 Thread Stefano Babic
On 16/12/2011 16:45, Tom Rini wrote: > On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: >> Hi, >> >> this is a new submission of the Simon's work to add a way to >> boot Linux directly from the SPL. From the last patchset series, >> the main changes introduced by me are the following: >> >> -

Re: [U-Boot] [PATCH v2] tools/setlocalversion: Update from the Linux Kernel

2011-12-16 Thread Mike Frysinger
On Thursday 15 December 2011 21:13:55 Kyle Moffett wrote: > The version from the kernel is not directly usable as it has code for > supporting CONFIG_LOCALVERSION from Kconfig, but the version that was > imported is very similar to the one in Linux v3.2-rc4. NAK: this breaks localversion-* support

Re: [U-Boot] [PATCH 2/2] ext4fs write support

2011-12-16 Thread Mike Frysinger
this needs to be behind a CONFIG_EXT4_WRITE or something similar. most people want to read their fs's, not write them. -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.

Re: [U-Boot] [PATCH V11 10/13] OMAP3: move SPL files to be used by other architectures.

2011-12-16 Thread Stefano Babic
On 16/12/2011 16:55, Tom Rini wrote: > On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: >> The SPL used on OMAPx can be reused by other SOCs from different >> architectures. Move common files into common/ directory. > > Thanks for tackling this. My immediate concern however is that this > b

Re: [U-Boot] [PATCH V11 13/13] OMAP3: twister: add support to boot Linux from SPL

2011-12-16 Thread Stefano Babic
On 16/12/2011 17:01, Tom Rini wrote: > On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: >> Signed-off-by: Stefano Babic >> CC: Tom Rini >> CC: Wolfgang Denk >> CC: Simon Schwarz > [snip] >> +#ifdef CONFIG_SPL_BUILD >> +#undef CONFIG_HARD_I2C >> +#endif > > If we switch the I2C test to CO

Re: [U-Boot] [PATCH V11 11/13] TI: SPL: make SPL available for other SOCs as TI

2011-12-16 Thread Stefano Babic
On 16/12/2011 16:59, Tom Rini wrote: > On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: >> The SPL is developped first for TI-OMAPx. The patch >> move OMAP specific function into OMAP directory. > > I wonder if we should fold this into the mv'ing patch as well. I can squash the two patches,

Re: [U-Boot] [PATCH v2 1/3] i.mx: i.mx6q: Add the enet clock function

2011-12-16 Thread Stefano Babic
On 16/12/2011 16:17, Jason Liu wrote: > Cc: Stefano Babic > Signed-off-by: Jason Liu > Acked-by: Stefano Babic > > --- > v2: Add Stefano's ack Jason, if you prefer it is not required to send a new version with only the ACK. Patchworks has already applied my ACK to the previous patch. Howerve

Re: [U-Boot] [PATCH v2] ARMV7: Add support For Logic OMAP35x/DM37x modules

2011-12-16 Thread Tom Rini
On Thu, Dec 15, 2011 at 11:09 PM, Peter Barada wrote: > On 12/15/2011 01:30 PM, Tom Rini wrote: >> On Thu, Dec 15, 2011 at 10:15 AM, Peter Barada >> wrote: >>> This patch adds basic support for OMAP35x/DM37x SOM LV/Torpedo >>> reference boards. It assumes U-boot is loaded to SDRAM with the >>> h

Re: [U-Boot] [PATCH 1/2] ext4fs ls load support

2011-12-16 Thread Mike Frysinger
On Thursday 15 December 2011 12:39:28 uma.shan...@samsung.com wrote: > From: Uma Shankar NAK: please add some sort of description here. you must document all the places you're copying code from for example, and retain all the appropriate copyrights. as it stands, this patch is a mess from tha

Re: [U-Boot] [PATCH V11 11/13] TI: SPL: make SPL available for other SOCs as TI

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 9:18 AM, Stefano Babic wrote: > On 16/12/2011 16:59, Tom Rini wrote: >> On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic wrote: >>> The SPL is developped first for TI-OMAPx. The patch >>> move OMAP specific function into OMAP directory. >> >> I wonder if we should fold this

Re: [U-Boot] [PATCH] cmd_fat: add FAT write command

2011-12-16 Thread Mike Frysinger
On Wednesday 14 December 2011 03:25:39 Donggeun Kim wrote: > +int do_fat_fswrite(cmd_tbl_t *cmdtp, int flag, int argc, char * const static -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-16 Thread Mike Frysinger
On Friday 16 December 2011 04:54:42 Marek Vasut wrote: > > On Thursday 15 December 2011 08:26:41 Marek Vasut wrote: > > > First of the CHECKPATCH series of patches with per-file checkpatch > > > fixes. > > > > > > This series fixes all files fpgadata.c, which contains PPC FPGA > > > firmwares. The

[U-Boot] arm, da850: Question about gpio control

2011-12-16 Thread Gabriele Filosofi
Hi all, In board/davinci/da8xxevm/da850.c #ifdef CONFIG_USE_NOR /* Set the GPIO direction as output */ clrbits_be32((u32 *)GPIO_BANK0_REG_DIR_ADDR, (0x01 << 11)); /* Set the output as low */ val = readl(GPIO_BANK0_REG_SET_ADDR);

Re: [U-Boot] [PATCH 00/18 V2] CHECKPATCH: fpgadata.c cleanup

2011-12-16 Thread Mike Frysinger
On Friday 16 December 2011 04:54:42 Marek Vasut wrote: > The reason is to make it all checkpatch clean. also, it's questionable whether this goal even makes sense. but i've said this many times in the past, and people don't seem to care. they've got their useless blinders on. -mike signature

Re: [U-Boot] [STATUS] v2011.12-rc1 is out - release date Dec 23

2011-12-16 Thread Mike Frysinger
On Tuesday 13 December 2011 20:56:47 Macpaul Lin wrote: > 2011/12/12 Wolfgang Denk > > Hi everybody, > > > > after long struggeling we finally have a -rc1. > > > > Please help testing, so we can fix the remaining issues before the > > release, which I decided to shift to December 23. > > I have

[U-Boot] Some thoughts on SPL

2011-12-16 Thread jonsm...@gmail.com
The CPU I'm working with, the LPC3130, is kind of an in-between CPU for SPL. Instead of a tightly constrained RAM of 16KB or so I have 96KB to work with. 96KB is enough room to support all of the various boot modes (uart, nand, spi, USB, etc) but not enough room for the full uboot command set. So

Re: [U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-16 Thread Mike Frysinger
On Wednesday 14 December 2011 03:48:24 Che-Liang Chiou wrote: > --- /dev/null > +++ b/drivers/tpm/tpm.c > > +int tis_sendrecv(const uint8_t *sendbuf, size_t send_size, uint8_t > *recvbuf, + size_t *recv_len) > +{ > + error("%s: invalid send_size %zx\n", __func__, send_size);

Re: [U-Boot] [PATCH 1/2] NET: NE2000: Cleanup IO accessors

2011-12-16 Thread Mike Frysinger
On Monday 12 December 2011 05:17:49 Marek Vasut wrote: > > On Sunday 11 December 2011 08:42:07 Marek Vasut wrote: > > > > On Saturday 10 December 2011 20:09:30 Marek Vasut wrote: > > > > > Introduce ne2k_register_io(in, out), which allows user to supply > > > > > two functions. One for reading data

Re: [U-Boot] [PATCH v2] tools/setlocalversion: Update from the Linux Kernel

2011-12-16 Thread Moffett, Kyle D
On Dec 16, 2011, at 11:07, Mike Frysinger wrote: > On Thursday 15 December 2011 21:13:55 Kyle Moffett wrote: >> The version from the kernel is not directly usable as it has code for >> supporting CONFIG_LOCALVERSION from Kconfig, but the version that was >> imported is very similar to the one in Li

Re: [U-Boot] fsl_esdhc.c bug

2011-12-16 Thread Ira W. Snyder
On Fri, Dec 16, 2011 at 09:53:20AM -0500, Jim Lentz wrote: > On 12/16/2011 09:51 AM, Fabio Estevam wrote: > > Hi Jim, > > > > On Fri, Dec 16, 2011 at 11:48 AM, Jim Lentz wrote: > >> All, > >> > >> There is a bug rendering SDCard support useless on Freescale esdhc > >> controller. > > Which Freesca

Re: [U-Boot] [PATCH v3] MIPS: fix endianess handling

2011-12-16 Thread Mike Frysinger
On Sunday 11 December 2011 11:53:11 Daniel Schwierzeck wrote: > --- a/README > +++ b/README > @@ -374,6 +374,12 @@ The following options need to be configured: > Defines the string to utilize when trying to match PCIe device > tree nodes for the given platform. > > +- G

Re: [U-Boot] [PATCH 1/2] NET: NE2000: Cleanup IO accessors

2011-12-16 Thread Marek Vasut
> On Monday 12 December 2011 05:17:49 Marek Vasut wrote: > > > On Sunday 11 December 2011 08:42:07 Marek Vasut wrote: > > > > > On Saturday 10 December 2011 20:09:30 Marek Vasut wrote: > > > > > > Introduce ne2k_register_io(in, out), which allows user to supply > > > > > > two functions. One for re

Re: [U-Boot] [PATCH] Allow the "reset" command to be omitted with CONFIG_CMD_RESET

2011-12-16 Thread Moffett, Kyle D
On Dec 16, 2011, at 00:05, Mike Frysinger wrote: > On Thursday 15 December 2011 22:32:41 Kyle Moffett wrote: >> This new #define is set in config_cmd_defaults.h (which is automatically >> included on every board by "mkconfig"), but this allows boards to elect >> to omit the "reset" command if neces

Re: [U-Boot] [PATCH] Allow the "reset" command to be omitted with CONFIG_CMD_RESET

2011-12-16 Thread Mike Frysinger
On Friday 16 December 2011 13:49:15 Moffett, Kyle D wrote: > On Dec 16, 2011, at 00:05, Mike Frysinger wrote: > > On Thursday 15 December 2011 22:32:41 Kyle Moffett wrote: > >> This new #define is set in config_cmd_defaults.h (which is automatically > >> included on every board by "mkconfig"), but

Re: [U-Boot] [PATCH 1/2] NET: NE2000: Cleanup IO accessors

2011-12-16 Thread Mike Frysinger
On Friday 16 December 2011 13:13:33 Marek Vasut wrote: > On Friday 16 December 2011 12:33:53 Mike Frysinger wrote: > > rename ISA_OFFSET to CONFIG_NE2000_IO_OFFSET, then move the "2" to > > CONFIG_NE2000_IO_STRIDE, and move them both to the board config header. > > then you get one unified set: > >

Re: [U-Boot] [PATCH v2 1/4] USB: ULPI: switch argument type from u8 to unsigned

2011-12-16 Thread Remy Bohmer
Hi, 2011/12/16 Simon Glass : > On Tue, Dec 13, 2011 at 10:16 PM, Igor Grinberg > wrote: >> There is no benefit in using u8, so switch to unsigned to reduce the >> binary image size (by 20 bytes). >> >> Signed-off-by: Igor Grinberg >> Acked-by: Simon Glass > > Looks good thanks > >> --- >> v2:

Re: [U-Boot] [PATCH 2/4] USB: ULPI: clean a mixup of return types

2011-12-16 Thread Remy Bohmer
Hi, 2011/12/12 Igor Grinberg : > Clean a mixup between u32 and int as a return type > for functions returning error values. > Use int as it is native (and widely used) return type. > > Signed-off-by: Igor Grinberg > --- >  drivers/usb/ulpi/ulpi-viewport.c |    4 ++-- >  drivers/usb/ulpi/ulpi.c  

Re: [U-Boot] [PATCH] FAT: fix complie error when enabling FAT write

2011-12-16 Thread Wolfgang Denk
Dear Donggeun Kim, In message <1323851092-821-1-git-send-email-dg77@samsung.com> you wrote: > By removing variable of 'part_size' in fs/fat.c, > compile error occurs when enabling FAT write feature. > The variable should be declared only when CONFIG_FAT_WRITE is defined. > This patch removes c

Re: [U-Boot] [PATCH 3/4] USB: ULPI: increase error case verbosity

2011-12-16 Thread Remy Bohmer
Hi, 2011/12/12 Igor Grinberg : > Add the argument value to the error message. > > Signed-off-by: Igor Grinberg > --- >  drivers/usb/ulpi/ulpi.c |   12 ++-- >  1 files changed, 6 insertions(+), 6 deletions(-) Applied to -u-boot-usb. Thanks. Kind regards, Remy ___

Re: [U-Boot] [PATCH 4/4] README: add documentation for CONFIG_USB_ULPI*

2011-12-16 Thread Remy Bohmer
Hi Igor, 2011/12/15 Igor Grinberg : Where does it say that only this one is supported in the code? >>> >>> You mean comments or the code? >> >> Well the filename seems generic and not specific to that chip. Are >> viewports something that other chips can support? > > Let me clarify: > 1) It i

Re: [U-Boot] [PATCH v3 3/3] usb:gadget:s5p Enable the USB Gadget framework at Exynos4210 (C210 Universal)

2011-12-16 Thread Remy Bohmer
Hi, 2011/12/15 Lukasz Majewski : > This commit enables support for USB Gadgets on the Exynos4210 (C210 Universal) > reference target. > > Signed-off-by: Lukasz Majewski > Signed-off-by: Kyungmin Park > Cc: Minkyu Kang > CC: Remy Bohmer > --- > Changes for v2: >        - Rename the S5PC210_Univ

Re: [U-Boot] [PATCH 4/4] README: add documentation for CONFIG_USB_ULPI*

2011-12-16 Thread Simon Glass
Hi Remy, On Fri, Dec 16, 2011 at 12:10 PM, Remy Bohmer wrote: > Hi Igor, > > 2011/12/15 Igor Grinberg : > Where does it say that only this one is supported in the code? You mean comments or the code? >>> >>> Well the filename seems generic and not specific to that chip. Are >>> view

[U-Boot] [PATCH] ARMV7: Add support For Logic OMAP35x/DM37x modules

2011-12-16 Thread Peter Barada
This patch adds basic support for OMAP35x/DM37x SOM LV/Torpedo reference boards. It assumes U-boot is loaded to SDRAM with the help of another small bootloader (x-load) running from SRAM. Signed-off-by: Peter Barada Cc: Tom Rini Cc: Igor Grinberg --- Changes for V3: Inline identify_board()

Re: [U-Boot] [PATCH v2 1/1] USB: Use (get|put)_unaligned for accessing wMaxPacketSize

2011-12-16 Thread Remy Bohmer
Hi All, 2011/12/15 Tom Rini : > In 9792987721c7980453fe6447c3fa6593b44f8458 Stefan describes a usecase > where the previous behavior of leaving wMaxPacketSize be unaligned > caused fatal problems.  The initial fix for this problem was incomplete > however as it showed another cases of non-aligned

Re: [U-Boot] [PATCH] ARMV7: Add support For Logic OMAP35x/DM37x modules

2011-12-16 Thread Peter Barada
On 12/16/2011 03:31 PM, Peter Barada wrote: > This patch adds basic support for OMAP35x/DM37x SOM LV/Torpedo > reference boards. It assumes U-boot is loaded to SDRAM with the > help of another small bootloader (x-load) running from SRAM. [snip] My apologies, I forgot to change the subject to [PATC

Re: [U-Boot] [PATCH 4/4] README: add documentation for CONFIG_USB_ULPI*

2011-12-16 Thread Remy Bohmer
Hi, 2011/12/16 Simon Glass : > Hi Remy, > > On Fri, Dec 16, 2011 at 12:10 PM, Remy Bohmer wrote: >> Hi Igor, >> >>> Here the configs are documented. >>> I admit, it is not that brilliant documentation... >> >> Are you planning to post an update of this patch? The rest of the >> series I already p

Re: [U-Boot] [PATCH 1/2] NET: NE2000: Cleanup IO accessors

2011-12-16 Thread Marek Vasut
> On Friday 16 December 2011 13:13:33 Marek Vasut wrote: > > On Friday 16 December 2011 12:33:53 Mike Frysinger wrote: > > > rename ISA_OFFSET to CONFIG_NE2000_IO_OFFSET, then move the "2" to > > > CONFIG_NE2000_IO_STRIDE, and move them both to the board config header. > > > then you get one unifie

Re: [U-Boot] [PATCH] Allow the "reset" command to be omitted with CONFIG_CMD_RESET

2011-12-16 Thread Moffett, Kyle D
On Dec 16, 2011, at 14:30, Mike Frysinger wrote: > On Friday 16 December 2011 13:49:15 Moffett, Kyle D wrote: >> On Dec 16, 2011, at 00:05, Mike Frysinger wrote: >>> On Thursday 15 December 2011 22:32:41 Kyle Moffett wrote: This new #define is set in config_cmd_defaults.h (which is automatical

[U-Boot] Pull request: u-boot-usb

2011-12-16 Thread Remy Bohmer
The following changes since commit 06e42c6e2ce269667daecd6229d0b7c813838203: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2011-12-12 14:51:16 +0100) are available in the git repository at: git://git.denx.de/u-boot-usb.git master Igor Grinberg (4): USB: ULPI: switc

[U-Boot] [PATCH v3] tools/setlocalversion: Update from the Linux Kernel

2011-12-16 Thread Kyle Moffett
Several bugfixes have occurred upstream since this script was imported into U-Boot. In particular, the script currently in U-Boot does not describe commit f8bbb4dad0e9d91b7a51d6cc54dcf66d142f50fe correctly, resulting in a version of "2011.09" instead of "2011.09-01460-gf8bbb4d". With that commit

[U-Boot] [PATCH] USB: move keyboard polling from EHCI driver into kbd driver

2011-12-16 Thread Allen Martin
This removes dependency on global variable "new" from EHCI driver with CONFIG_SYS_USB_EVENT_POLL turned on and gets USB keyboard working with EHCI driver again. Signed-off-by: Allen Martin --- common/usb_kbd.c| 18 +- drivers/usb/host/ehci-hcd.c | 30 -

Re: [U-Boot] Some thoughts on SPL

2011-12-16 Thread Scott Wood
On 12/16/2011 11:20 AM, jonsm...@gmail.com wrote: > The CPU I'm working with, the LPC3130, is kind of an in-between CPU > for SPL. Instead of a tightly constrained RAM of 16KB or so I have 16K? Luxury! :-) Many boards have only 4K, and IIRC some have only 2K. > 96KB to work with. 96KB is enoug

Re: [U-Boot] [PATCH v3] tools/setlocalversion: Update from the Linux Kernel

2011-12-16 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] Allow the "reset" command to be omitted with CONFIG_CMD_RESET

2011-12-16 Thread Mike Frysinger
On Friday 16 December 2011 15:42:26 Moffett, Kyle D wrote: > On Dec 16, 2011, at 14:30, Mike Frysinger wrote: > > On Friday 16 December 2011 13:49:15 Moffett, Kyle D wrote: > >> On Dec 16, 2011, at 00:05, Mike Frysinger wrote: > >>> On Thursday 15 December 2011 22:32:41 Kyle Moffett wrote: > T

Re: [U-Boot] Please pull u-boot-ti/master (updated!)

2011-12-16 Thread Tom Rini
On Wed, Dec 14, 2011 at 9:06 AM, Tom Rini wrote: > On Tue, Dec 13, 2011 at 11:58 AM, Tom Rini wrote: >> The following changes since commit >> 953209bf5ef0889a1baa02aa0ed5324f53ff8fda:  Wolfgang Grandegger (1): >>     arm: add __aeabi_unwind_cpp_pr1() function to avoid linker >> complaints >> are

[U-Boot] [PATCH] MPC85xxCDS: Fix missing LCRR_DBYP bits for 66-133MHz LBC

2011-12-16 Thread Paul Gortmaker
These boards were meaning to deploy this value: #define LCRR_DBYP0x8000 but were missing a zero, and hence toggling a bit that lands in an area marked as reserved in the 8548 reference manual. According to the documentation, LCRR_DBYP should be used as: PLL bypass. This bit sho

  1   2   >