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 macp...@andestech.com --- include/faraday/ftintc010.h | 101 +++ 1 files changed, 101 insertions(+), 0 deletions(-) create mode 100644 include/faraday/ftintc010.h diff

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 fabio.este...@freescale.com Hi Marek, +writel(OCOTP_CTRL_RD_BANK_OPEN, ocotp_regs-hw_ocotp_ctrl_set); + +if

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 fabio.este...@freescale.com --- -int board_init(void) +int dram_init(void) { - /* Adress of boot parameters */ -

[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 we...@corscience.de --- include/configs/cm_t35.h|3 --- include/configs/dig297.h|3 --- include/configs/igep0020.h |3

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 fabio.este...@freescale.com --- Hi Fabio, +int dram_init(void) +{ +

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 shawn@freescale.com 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

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 the

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 fabio.este...@freescale.com --- Changes since v4: - No changes Change since v3: - Add a note about the first two MAC addresses being from Freescale vendor. What

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 fabio.este...@freescale.com --- - For correct operation of saving environment variables into the SD card, the following patch

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 fabio.este...@freescale.com Hi Marek, Hi Stefano, + writel(OCOTP_CTRL_RD_BANK_OPEN,

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 really see any

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 fabio.este...@freescale.com Hi Marek, Be careful here. 0x00 0x04 prefix might not

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 fabio.este...@freescale.com Hi Marek, Hi Stefano, DISCLAIMER: I'm terribly

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 support it.

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 sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org --- 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

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 sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org --- drivers/net/fec_mxc.c | 10 ++ drivers/net/fec_mxc.h |7 ++- 2 files changed, 16 insertions(+), 1 deletions(-) Acked-by : 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 sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org Tested-by: Dirk Behme dirk.be...@de.bosch.com ---

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 li...@lukaperkov.net wrote: Cosmetic patch for first U-Boot line that gets printed. Signed-off-by: Luka Perkov li...@lukaperkov.net --- diff --git a/include/version.h b/include/version.h index c908bd3..ac5a39a 100644 ---

[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

[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 *regs

Re: [U-Boot] fsl_esdhc.c bug

2011-12-16 Thread Graeme Russ
Hi Jim On Dec 17, 2011 1:11 AM, Jim Lentz jle...@zhone.com 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 jle...@zhone.com 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

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 13/12/2011

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

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 Lentzjle...@zhone.com 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,

[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 dirk.be...@de.bosch.com 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

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

2011-12-16 Thread Jason Liu
Cc: Stefano Babic sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org Acked-by: Stefano Babic sba...@denx.de --- 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

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

2011-12-16 Thread Jason Liu
Cc: Stefano Babic sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org Acked-by: Stefano Babic sba...@denx.de --- 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

[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 sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org Tested-by: Dirk Behme dirk.be...@de.bosch.com --- v2: use constant define and remove ETHPRIME

[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 IC function on

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

2011-12-16 Thread Stefano Babic
From: Simon Schwarz simonschwarz...@googlemail.com This adds some configs for devkit8000 to use the new spl command Signed-off-by: Simon Schwarz simonschwarz...@gmail.com CC: Tom Rini tom.r...@gmail.com CC: Stefano Babic sba...@denx.de CC: Wolfgang Denk w...@denx.de --- V10 changes: This is new

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

2011-12-16 Thread Stefano Babic
From: Simon Schwarz simonschwarz...@googlemail.com 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

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

2011-12-16 Thread Stefano Babic
From: Simon Schwarz simonschwarz...@googlemail.com Linux crashes if the GPMC isn't configured for the dm9000. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com CC: Tom Rini tom.r...@gmail.com CC: Stefano Babic sba...@denx.de CC: Wolfgang Denk w...@denx.de --- V2 changes: nothing V3

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

2011-12-16 Thread Stefano Babic
From: Simon Schwarz simonschwarz...@googlemail.com 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 simonschwarz...@gmail.com CC: Tom Rini

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

2011-12-16 Thread Stefano Babic
From: Simon Schwarz simonschwarz...@googlemail.com 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

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

2011-12-16 Thread Stefano Babic
From: Simon Schwarz simonschwarz...@googlemail.com This only outputs Assuming u-boot.bin... if debug is active. Signed-off-by: Simon Schwarz simonschwarz...@gmail.com CC: Tom Rini tom.r...@gmail.com CC: Stefano Babic sba...@denx.de CC: Wolfgang Denk w...@denx.de --- V11: no changes

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

2011-12-16 Thread Stefano Babic
From: Simon Schwarz simonschwarz...@googlemail.com - Implements spl_start_uboot() for devkit8000 - Add configs to activate direct OS boot from SPL Signed-off-by: Simon Schwarz simonschwarz...@gmail.com CC: Tom Rini tom.r...@gmail.com CC: Stefano Babic sba...@denx.de CC: Wolfgang Denk

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

2011-12-16 Thread Stefano Babic
Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com --- arch/arm/cpu/armv7/Makefile |4 ++-- arch/arm/cpu/armv7/cpu.c|2 ++ arch/arm/lib/Makefile |5 +++-- 3 files changed, 7

[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 sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com --- arch/arm/cpu/armv7/omap3/board.c |2 ++ 1 files

[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 sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com ---

[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 sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com --- common/spl.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/spl.c b/common/spl.c index 5fdf3fb..cf5395e

[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 sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com --- board/technexion/twister/twister.c | 23 +++ include/configs/twister.h | 16 2 files

[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 sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com --- arch/arm/cpu/armv7/omap-common/Makefile

Re: [U-Boot] SPL Linux Boot

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic sba...@denx.de 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

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 sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com As I said in my reply to the intro email.. -ifndef CONFIG_SPL_BUILD

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 sba...@denx.de wrote: Call i2c initialization in spl_board_init only if I2C is configured for the board. Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz

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 sba...@denx.de 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,

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 ( U_BOOT_DATE -

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 sba...@denx.de 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

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 sba...@denx.de wrote: Signed-off-by: Stefano Babic sba...@denx.de CC: Tom Rini tom.r...@gmail.com CC: Wolfgang Denk w...@denx.de CC: Simon Schwarz simonschwarz...@gmail.com [snip] +#ifdef CONFIG_SPL_BUILD +#undef CONFIG_HARD_I2C +#endif If we

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 sba...@denx.de 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

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 sba...@denx.de 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

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 sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org Acked-by: Stefano Babic sba...@denx.de --- 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

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 uma.shan...@samsung.com 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

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 sba...@denx.de wrote: On 16/12/2011 16:59, Tom Rini wrote: On Fri, Dec 16, 2011 at 8:37 AM, Stefano Babic sba...@denx.de wrote: The SPL is developped first for TI-OMAPx. The patch move OMAP specific function into OMAP directory. I wonder if we

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

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. There are no

[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

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 some patches

[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); using

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 from the card,

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 Linux

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 Lentzjle...@zhone.com wrote: All, There is a bug rendering SDCard support useless on Freescale esdhc controller. Which Freescale

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. +- Generic

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 reading data from the

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 necessary with

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 this

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 s...@chromium.org: On Tue, Dec 13, 2011 at 10:16 PM, Igor Grinberg grinb...@compulab.co.il 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 grinb...@compulab.co.il Acked-by:

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 grinb...@compulab.co.il: 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 grinb...@compulab.co.il ---  drivers/usb/ulpi/ulpi-viewport.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

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

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

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 l.majew...@samsung.com: This commit enables support for USB Gadgets on the Exynos4210 (C210 Universal) reference target. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang

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 li...@bohmer.net wrote: Hi Igor, 2011/12/15 Igor Grinberg grinb...@compulab.co.il: 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

[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 peter.bar...@logicpd.com Cc: Tom Rini tom.r...@gmail.com Cc: Igor Grinberg

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 tr...@ti.com: 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

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 [PATCH

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 s...@chromium.org: Hi Remy, On Fri, Dec 16, 2011 at 12:10 PM, Remy Bohmer li...@bohmer.net 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

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 unified set:

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 automatically

[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:

[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 amar...@nvidia.com --- common/usb_kbd.c| 18 +- drivers/usb/host/ehci-hcd.c |

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 enough

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

2011-12-16 Thread Mike Frysinger
Acked-by: Mike Frysinger vap...@gentoo.org -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: This new

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 tom.r...@gmail.com wrote: On Tue, Dec 13, 2011 at 11:58 AM, Tom Rini tom.r...@gmail.com wrote: The following changes since commit 953209bf5ef0889a1baa02aa0ed5324f53ff8fda:  Wolfgang Grandegger (1):     arm: add __aeabi_unwind_cpp_pr1() function to

[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

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

2011-12-16 Thread Tom Rini
On Fri, Dec 16, 2011 at 1:31 PM, Peter Barada peter.bar...@logicpd.com 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. Signed-off-by: Peter Barada

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

2011-12-16 Thread Mike Frysinger
On Friday 16 December 2011 18:43:18 Luka Perkov wrote: On Fri, Dec 16, 2011 at 10:59:03AM -0500, Mike Frysinger wrote: 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

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

2011-12-16 Thread Fabio Estevam
On Fri, Dec 16, 2011 at 12:55 PM, Veli-Pekka Peltola veli-pekka.pelt...@bluegiga.com wrote: Have you any idea why this works from SD card but not by USB recovery using exactly same sb file? Sorry, never tested this 'USB recovery' mode. I can look at it after I finish the mx28evk patches.

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

2011-12-16 Thread Marek Vasut
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 sba...@denx.de Signed-off-by: Jason Liu jason@linaro.org Tested-by: Dirk Behme dirk.be...@de.bosch.com --- v2: use constant define and remove

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

2011-12-16 Thread Marek Vasut
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

  1   2   >