Re: [U-Boot] sram overflowed

2012-10-09 Thread Grant
git clone git://arago-project.org/git/projects/u-boot-am33x.git This is definitely NOT what you want to use when somebody mentions latest version. This term always refers to top of tree in mainline U-Boot, see http://git.denx.de/?p=u-boot.git;a=summary resp.

[U-Boot] [PATCH] arm: trats: Turn power down for core 1

2012-10-09 Thread Piotr Wilczek
This patch turns power down for unused core 1 on Samsung Trats board. Piotr Wilczek (1): arm: trats: Power down core 1 board/samsung/trats/trats.c |4 1 files changed, 4 insertions(+), 0 deletions(-) -- 1.7.5.4 ___ U-Boot mailing list

[U-Boot] [PATCH] arm: trats: Power down core 1

2012-10-09 Thread Piotr Wilczek
This patch turns power down for unused core 1 Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- board/samsung/trats/trats.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git

[U-Boot] [PATCH v4 1/7] powerpc: Extract EPAPR_MAGIC constants into processor.h

2012-10-09 Thread Stefan Roese
By extracting these defines into a header, they can be re-used by other C sources as well. This will be done by the SPL framework OS boot support. Signed-off-by: Stefan Roese s...@denx.de --- arch/powerpc/include/asm/processor.h | 6 ++ arch/powerpc/lib/bootm.c | 6 -- 2

[U-Boot] [PATCH v4 0/7] SPL: Port SPL framework to powerpc

2012-10-09 Thread Stefan Roese
This patchset ports the SPL framework to powerpc. Its based on the SPL generalization lately done by Tom Rini. The patches is based on the current next branch. Additionally, a new MPC5200 board port is included, the a3m071 board port. This board port uses this SPL framework mainly to speed up

[U-Boot] [PATCH v4 3/7] env: Enable getenv_f() for SPL_BUILD

2012-10-09 Thread Stefan Roese
With this patch, getenv_f() can be included easily into the SPL binary. With this, SPL boards can now use getenv_f() to read environment variables (e.g. to detect if the OS or U-Boot shall be executed). In the approach this is done for env stored in NOR flash, as this will be used by an upcoming

[U-Boot] [PATCH v4 2/7] SPL: Port SPL framework to powerpc

2012-10-09 Thread Stefan Roese
This patch enables the SPL framework to be used on powerpc platforms and not only ARM. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v4: - Build spl.o only for SPL image Changes in v2: - Rebased on Tom's SPL framework patches v4 - Add option to skip copying of the mkimage header

[U-Boot] [PATCH v4 4/7] mpc5200: Add SPL support

2012-10-09 Thread Stefan Roese
This patch adds SPL booting support (NOR flash) for the MPC5200 platforms. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v3: - Don't use special MPC5xxx memcpy in SPL - Move linker symbols to header spl.h (checkpatch) Changes in v2: - Rebased on Tom's SPL framework patches v4

[U-Boot] [PATCH v4 5/7] mpc5200: Add a3m071 board support

2012-10-09 Thread Stefan Roese
This patch adds support for the a3m071 board based on the MPC5200. Signed-off-by: Stefan Roese s...@denx.de --- Changes in v4: - Add remark to call fdt chosen to board/a3m071/README - Configure PCS2 as CODEC2 (SPI) Changes in v2: - Rebased on Tom's SPL framework patches v4 - a3m071 build: Concat

[U-Boot] [PATCH v4 6/7] Makefile: Add possibility to set entry-point for u-boot.img

2012-10-09 Thread Stefan Roese
This patch enabled boards using the SPL framework to set an entry point in the U-Boot mkimage image u-boot.img. Until now the entry point in the header has been set to 0. By setting CONFIG_SYS_UBOOT_START in the board header, boards can override this default location. This will be used by the

[U-Boot] [PATCH v4 7/7] Makefile: Add target for combined spl/u-boot.bin u-boot.img

2012-10-09 Thread Stefan Roese
This new make target u-boot-img.bin consists of the U-Boot SPL image with the real, full-blown U-Boot image directly attached to it. The full-blown U-Boot image has the mkimage header included, with its load-address and entry-point. This will be used by the upcoming a3m071 MPC5200 board port.

[U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-10-09 Thread xiangfu
From: Xiangfu Liu xian...@openmobilefree.net * After create u-boot-spl.bin. it needs those 4 commands create final image for jz4740 cpu. dd if=spl/u-boot-spl.bin of=u-boot-nand.bin conv=sync bs=8192 count=1 dd if=spl/u-boot-spl.bin of=u-boot-nand.bin conv=sync,notrunc oflag=append

Re: [U-Boot] [PATCH v2 02/21] pmic:i2c: Add I2C byte order to PMIC framework

2012-10-09 Thread Stefano Babic
On 05/10/2012 10:16, Lukasz Majewski wrote: Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. This commit adds the reverse (which is default) and normal byte order. Signed-off-by: Lukasz Majewski l.majew...@samsung.com

Re: [U-Boot] [PATCH v2 05/21] pmic: Introduce power_board_init() method at ./lib/board.c file

2012-10-09 Thread Stefano Babic
On 05/10/2012 10:16, Lukasz Majewski wrote: It is necessary to introduce a new system wide function- power_board_init() It turns out, that power initialization must be done as early as possible. In the case of PMIC framework redesign, which aims to support multiple instances of PMIC devices

Re: [U-Boot] [PATCH v2 06/21] pmic: Enable power_board_init() support at TRATS

2012-10-09 Thread Stefano Babic
On 05/10/2012 10:16, Lukasz Majewski wrote: Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - None --- board/samsung/trats/trats.c | 15

Re: [U-Boot] [PATCH v2 08/21] pmic: Move pmic related code to ./drivers/power directory

2012-10-09 Thread Stefano Babic
On 05/10/2012 10:16, Lukasz Majewski wrote: The PMIC framework has been moved to its more natural place ./drivers/power from ./drivers/misc directory. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - New

Re: [U-Boot] [PATCH v2 0/3] Enable MMC support for at91sam9x5ek board.

2012-10-09 Thread Josh Wu
Hi, Andreas Any feedback of these patches? Best Regards, Josh Wu On 9/14/2012 4:22 PM, Josh Wu wrote: This patch series enable MCI0 solt in at91sam9x5ek board. Josh Wu (3): mmc: at91: add multi block read/write support. ARM: at91sam9x5: enable MCI0 support for 9x5ek board. mmc:

Re: [U-Boot] [PATCH v2 02/21] pmic:i2c: Add I2C byte order to PMIC framework

2012-10-09 Thread Lukasz Majewski
Hi Stefano, On 05/10/2012 10:16, Lukasz Majewski wrote: Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. This commit adds the reverse (which is default) and normal byte order. Signed-off-by: Lukasz Majewski

Re: [U-Boot] [PATCH v5 09/16] arm: Add control over cachability of memory regions

2012-10-09 Thread R Sricharan
Hi, Add support for adjusting the cachability of an L1 section by updating the MMU. The mmu_set_region_dcache() function allows drivers to make these changes after the MMU is set up. It is implemented only for ARMv7 at present. This is needed for LCD support, where we want to make the LCD

Re: [U-Boot] [PATCH v2 05/21] pmic: Introduce power_board_init() method at ./lib/board.c file

2012-10-09 Thread Lukasz Majewski
Hi Stefano, On 05/10/2012 10:16, Lukasz Majewski wrote: It is necessary to introduce a new system wide function- power_board_init() It turns out, that power initialization must be done as early as possible. In the case of PMIC framework redesign, which aims to support multiple

[U-Boot] go command is not working for smdkv310 board

2012-10-09 Thread VISWANADHULA BALAJI
Hi, I am using a u-boot-2010-12 version for the smdkv310 board. I used dnw tool for loading a u-boot on to the RAM with C0008000 as a load adress. *Go* command is not working and gets hang when i type the following command to run the u-boot code on to the u-boot prompt. go

Re: [U-Boot] [PATCH v2] mxc: Fix SDHC multi-instance clock

2012-10-09 Thread Benoît Thébaudeau
Hi Stefano, On Monday, October 1, 2012 8:36:25 PM, Benoît Thébaudeau wrote: On mxc, each SDHC instance has a dedicated clock, so gd-sdhc_clk is not suitable for the multi-instance use case (initialization made directly with fsl_esdhc_initialize()). This patch fixes this issue by adding a

Re: [U-Boot] [PATCH v2 06/21] pmic: Enable power_board_init() support at TRATS

2012-10-09 Thread Lukasz Majewski
Hi Stefano, On 05/10/2012 10:16, Lukasz Majewski wrote: Enable support for power_board_init() method at TRATS board. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- Changes for v2: - None ---

Re: [U-Boot] [PATCH v2 08/21] pmic: Move pmic related code to ./drivers/power directory

2012-10-09 Thread Lukasz Majewski
Hi Stefano, On 05/10/2012 10:16, Lukasz Majewski wrote: The PMIC framework has been moved to its more natural place ./drivers/power from ./drivers/misc directory. Signed-off-by: Lukasz Majewski l.majew...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com ---

Re: [U-Boot] go command is not working for smdkv310 board

2012-10-09 Thread Chander Kashyap
Hi Balaji, On 9 October 2012 16:00, VISWANADHULA BALAJI vbalaj...@gmail.com wrote: Hi, I am using a u-boot-2010-12 version for the smdkv310 board. I used dnw tool for loading a u-boot on to the RAM with C0008000 as a load adress. *Go* command is not working and gets hang when i type

Re: [U-Boot] [PATCH v2] mxc: Fix SDHC multi-instance clock

2012-10-09 Thread Stefano Babic
On 09/10/2012 12:35, Benoît Thébaudeau wrote: Hi Stefano, On Monday, October 1, 2012 8:36:25 PM, Benoît Thébaudeau wrote: On mxc, each SDHC instance has a dedicated clock, so gd-sdhc_clk is not suitable for the multi-instance use case (initialization made directly with

Re: [U-Boot] [PATCH v2 02/21] pmic:i2c: Add I2C byte order to PMIC framework

2012-10-09 Thread Stefano Babic
On 09/10/2012 11:52, Lukasz Majewski wrote: Hi Stefano, On 05/10/2012 10:16, Lukasz Majewski wrote: Since the pmic_reg_read is the u32 value, the order in which bytes are placed to form u32 value is important. This commit adds the reverse (which is default) and normal byte order.

Re: [U-Boot] [PATCH v2 05/21] pmic: Introduce power_board_init() method at ./lib/board.c file

2012-10-09 Thread Stefano Babic
On 09/10/2012 12:25, Lukasz Majewski wrote: Now you want to add a new one. This means we have cases where the PMIC must be initialized before flash, right ? The case is that PMIC (and other devices) needs to be setup after malloc init and before MMC (in our case). The board_init() is

Re: [U-Boot] [PATCH v2 06/21] pmic: Enable power_board_init() support at TRATS

2012-10-09 Thread Stefano Babic
On 09/10/2012 12:30, Lukasz Majewski wrote: This enforces my comment in previous patch. We have two CONFIG_ options, both must be turned on. So at least one is redundant.IMHO you can drop both of them if power_board_init() is declared weak. I can define power_board_init() as __weak if you

Re: [U-Boot] go command is not working for smdkv310 board

2012-10-09 Thread Wolfgang Denk
Dear VISWANADHULA BALAJI, In message CA+qW+UWC9cUWy28Y-9KEO+Z9rPTUbh_G7nwKJ6V0ysjs=o6...@mail.gmail.com you wrote: I am using a u-boot-2010-12 version for the smdkv310 board. I used This is very old code. Please update. dnw tool for loading a u-boot on to the RAM with C0008000 as a

Re: [U-Boot] [PATCH v2 06/21] pmic: Enable power_board_init() support at TRATS

2012-10-09 Thread Lukasz Majewski
Hi Stefano, On 09/10/2012 12:30, Lukasz Majewski wrote: This enforces my comment in previous patch. We have two CONFIG_ options, both must be turned on. So at least one is redundant.IMHO you can drop both of them if power_board_init() is declared weak. I can define

Re: [U-Boot] [PATCH] Sandbox: Add spi driver to sandbox

2012-10-09 Thread Simon Glass
Hi, On Thu, Oct 4, 2012 at 3:14 AM, viktor.kri...@gmail.com wrote: From: Viktor Krivak viktor.kri...@gmail.com Signed-off-by: Viktor Krivak viktor.kri...@gmail.com --- Simple spi driver which only cache input data and send them back on next call. Usefull for high level testing in

Re: [U-Boot] [PATCH 5/7] lcd: Fix fb offset calculation for bpix == 16 in BMP display

2012-10-09 Thread Simon Glass
Hi Nikita, On Thu, Oct 4, 2012 at 1:48 AM, Nikita Kiryanov nik...@compulab.co.il wrote: Hi Simon, On 09/29/2012 03:11 AM, Simon Glass wrote: From: Tom Wai-Hong Tam waih...@chromium.org For bpix == 16, each pixel is 2-byte. fb offset should shift more x bytes. Signed-off-by: Tom Wai-Hong

Re: [U-Boot] [PATCH 2/2] cm-t35: increase the MAXARGS

2012-10-09 Thread Igor Grinberg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/08/12 17:39, Tom Rini wrote: On 10/07/12 04:17, Igor Grinberg wrote: Increase the MAXARGS to support more than 16 arguments. Signed-off-by: Igor Grinberg grinb...@compulab.co.il --- include/configs/cm_t35.h |2 +- 1 files changed, 1

Re: [U-Boot] [PATCH 08/10] split AU1X00 specific code from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
On Monday 08 of October 2012 16:38:46 Tom Rini wrote: On Sun, Oct 07, 2012 at 05:56:12PM +0200, Pavel Herrmann wrote: Move special case of ide_swap_read() for AU1X00 SoC into SoC-specific directory. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com Two problems: diff --git

Re: [U-Boot] [PATCH 05/10] split CPC45 board-specific IDE functions from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
On Sunday 07 of October 2012 20:20:08 Marek Vasut wrote: Dear Pavel Herrmann, Move input_data() and friends to board/cpc45/ide.c, as overrides for weak aliases in cmd_ide.c note: checkpatch emits warnings about using volatile Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com

Re: [U-Boot] [PATCH 04/10] change all versions of input_data() and output_data() to global weak aliases

2012-10-09 Thread Pavel Herrmann
On Sunday 07 of October 2012 20:14:23 Marek Vasut wrote: Dear Pavel Herrmann, This changes input_data() and friends from static function to global symbols under weak alias, to enable board specific overrides (and therefore get rid of board-specific code in cmd_ide.c) Also declare

[U-Boot] I2C clock frequency on P1022/P1013

2012-10-09 Thread BRUNMAYR Peter
Is it possible that a further differentiation is required for setting the I2C clock frequency in arch/powerpc/cpu/mpc85xx/speed.c? For P1022 and P1013 devices the default ratio CCB/2 is taken. However, on those devices the I2C clock frequency is equal to CCB. If I'm not mistaken, P1022 and

Re: [U-Boot] [PULL] u-boot-usb/next

2012-10-09 Thread Tom Rini
On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: NOTE: I get a few more size issues with ELDK 4.2 on IXP (that big-endian ARM) after this patchset is applied. I wonder if we shouldn't just throw these away, since they're dead code mostly. The following changes since commit

[U-Boot] Pull request: u-boot-arm/next into u-boot/next

2012-10-09 Thread Albert ARIBAUD
Hi Tom, The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: usb.h: Add udc_disconnect prototype to usb.h (2012-10-08 18:01:17 -0700) are available in the git repository at: git://git.denx.de/u-boot-arm next for you to fetch changes up to

Re: [U-Boot] sram overflowed

2012-10-09 Thread Tom Rini
On Mon, Oct 08, 2012 at 11:23:20PM -0700, Grant wrote: git clone git://arago-project.org/git/projects/u-boot-am33x.git This is definitely NOT what you want to use when somebody mentions latest version. This term always refers to top of tree in mainline U-Boot, see

Re: [U-Boot] [PATCH] fs: fat: Fix mkcksum() function parameters

2012-10-09 Thread Tom Rini
On Sun, Sep 30, 2012 at 02:49:09AM +0200, Marek Vasut wrote: The mkcksum() function now takes one parameter, the pointer to 11-byte wide character array, which it then operates on. Currently, the function is wrongly passed (dir_entry)-name, which is only 8-byte wide character array. Though

Re: [U-Boot] [PULL] : Please pull u-boot-imx/next

2012-10-09 Thread Albert ARIBAUD
Hi Stefano, On Mon, 08 Oct 2012 11:56:23 +0200, Stefano Babic sba...@denx.de wrote: Hi Albert, these changes are in my -next branch, so please pull them into arm/next. The following changes since commit 4668a086bb0a769b741e3a4ffab85f1c41c7cdb8: sandbox: Add asm/errno.h (2012-09-29

Re: [U-Boot] ELDK4.2 build failures for highbank, omap4_panda and omap4_sdp4430

2012-10-09 Thread Albert ARIBAUD
Hi R, On Tue, 9 Oct 2012 11:16:06 +0530, R Sricharan r.sricha...@ti.com wrote: On Monday 08 October 2012 10:05 PM, Tom Rini wrote: On Sat, Oct 6, 2012 at 4:34 AM, Albert ARIBAUD albert.u.b...@aribaud.net wrote: Hi, On Sat, 6 Oct 2012 13:02:49 +0200, Albert ARIBAUD

[U-Boot] [PATCH v2 02/10] split mpc8xx hooks from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
move most of mpc8xx hooks from cmd_ide.c into ide_preinit() and newly created ide_init_postreset() (invoked after calling ide_reset after ide_preinit), some cleanup to make checkpatch happy, enable IDE init hooks in configs of affected boards. confusingly, these hooks are used by more than just

[U-Boot] [PATCH v2 04/10] change all versions of input_data() and output_data() to global weak aliases

2012-10-09 Thread Pavel Herrmann
This changes input_data() and friends from static function to global symbols under weak alias, to enable board specific overrides (and therefore get rid of board-specific code in cmd_ide.c) Also declare ide_bus_offset in the header file, so other files can use ATA_CURR_BASE as well.

[U-Boot] [PATCH v2 07/10] move CPC45 ide_led to the same file as other IDE hooks

2012-10-09 Thread Pavel Herrmann
Keep all IDE-related hooks and overrides in a single file, to avoid confusion Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- Changes for v2: style fixes board/cpc45/cpc45.c | 15 --- board/cpc45/ide.c | 15 +++ 2 files changed, 15 insertions(+), 15

Re: [U-Boot] [PATCH] arm: trats: Power down core 1

2012-10-09 Thread Albert ARIBAUD
Hi Piotr, On Tue, 09 Oct 2012 08:45:42 +0200, Piotr Wilczek p.wilc...@samsung.com wrote: This patch turns power down for unused core 1 Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com ---

[U-Boot] [PATCH v2 08/10] split AU1X00 specific code from cmd_ide.c

2012-10-09 Thread Pavel Herrmann
move special case of ide_swap_read() for AU1X00 SoC into SoC-specific directory. Signed-off-by: Pavel Herrmann morpheus.i...@gmail.com --- Changes for v2: rebase on top of next include missing common.h to fix compilation arch/mips/cpu/mips32/au1x00/Makefile | 2 +-

Re: [U-Boot] [PATCH 04/10] change all versions of input_data() and output_data() to global weak aliases

2012-10-09 Thread Marek Vasut
Dear Pavel Herrmann, On Sunday 07 of October 2012 20:14:23 Marek Vasut wrote: Dear Pavel Herrmann, This changes input_data() and friends from static function to global symbols under weak alias, to enable board specific overrides (and therefore get rid of board-specific code in

Re: [U-Boot] [PATCH v2 0/5] Cleanup fw_*env and a few common env

2012-10-09 Thread Tom Rini
On Wed, Oct 03, 2012 at 02:38:45PM -0500, Joe Hershberger wrote: This is a gutted version of my previous env series in an effort to reduce the risk to the release that is approaching shortly. Changes in v2: - Further simplified based Mike's comments Joe Hershberger (5): tools/env: Use

Re: [U-Boot] [PATCH 0/4] Keyboard input improvements

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 06:18:39PM -0700, Simon Glass wrote: This is a small series of patches to improve keyboard input for matrix keyboards: - Fix an fdt decoding bug which breaks seaboard - Permit key repeat/delay to be altered after init - Allow key ghosting filter to be

Re: [U-Boot] [PATCH 05/10] split CPC45 board-specific IDE functions from cmd_ide.c

2012-10-09 Thread Marek Vasut
Dear Pavel Herrmann, On Sunday 07 of October 2012 20:20:08 Marek Vasut wrote: Dear Pavel Herrmann, Move input_data() and friends to board/cpc45/ide.c, as overrides for weak aliases in cmd_ide.c note: checkpatch emits warnings about using volatile Signed-off-by: Pavel

Re: [U-Boot] [PATCH v1 0/9] block: Fix some inconsistencies in block_{read, write} implementors

2012-10-09 Thread Tom Rini
On Sat, Sep 29, 2012 at 01:51:47PM -0700, Tom Rini wrote: Hey all, I ran into this problem while testing Pavel Herrmann's patch to move externs to sata.h. To fix these problems I've taken over the patch. Pavel's patch makes all of the sata drivers include sata.h, and this exposed a number

Re: [U-Boot] patman: Support Series-name tag to name a series

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 03:06:02PM -, Simon Glass wrote: Sometimes it is possible to forget the name of the branch you used to generate an upstream series. To assist with this, add an optional patman does not use this. Signed-off-by: Simon Glass s...@chromium.org Applied to

Re: [U-Boot] patman: Handle checkpatch.pl not providing file/line info

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 03:33:46PM -, Simon Glass wrote: Sometimes we don't get a valid filename or line number from checkpatch.pl, for example if the patch is in a bad format. Deal with this by using a default value, rather than a stack trace. Signed-off-by: Simon Glass

Re: [U-Boot] add check infrastructure, default sparse

2012-10-09 Thread Tom Rini
On Fri, Sep 21, 2012 at 12:28:17PM -, Kim Phillips wrote: Add support for running source code checkers on u-boot source, e.g., using sparse to aid with typechecking. This comes in especially handy as SoC vendors mix and match cores and devices with different endianness, thus here we add

Re: [U-Boot] MAKEALL: add a -C/--check option to enable build checking

2012-10-09 Thread Tom Rini
On Thu, Sep 27, 2012 at 02:57:34PM -, Kim Phillips wrote: thanks to Tom Rini for the good idea. Signed-off-by: Kim Phillips kim.phill...@freescale.com Applied to u-boot/next, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,v2] tools: Add cleanpatch

2012-10-09 Thread Tom Rini
On Fri, Sep 28, 2012 at 03:36:14AM -, Fabio Estevam wrote: There are some errors reported by checkpatch.pl that can be easily cleaned up by using the cleanpatch tool. Import the cleanpatch script from linux kernel 3.5.4 stable version as from the following commit: commit

Re: [U-Boot] common: cmd_bdinfo: fix type of value in print_lnum

2012-10-09 Thread Tom Rini
On Wed, Oct 03, 2012 at 08:36:11AM -, Daniel Schwierzeck wrote: From: Daniel Schwierzeck daniel.schwierz...@gmail.com This fixes a warning when compiling with ELDK-5.2.1 for MIPS64: cmd_bdinfo.c: In function 'print_lnum': cmd_bdinfo.c:56:2: warning: format '%llX' expects argument of

[U-Boot] [PATCH V2] fs: fat: Fix mkcksum() function parameters

2012-10-09 Thread Marek Vasut
The mkcksum() function now takes one parameter, the pointer to 11-byte wide character array, which it then operates on. Currently, the function is wrongly passed (dir_entry)-name, which is only 8-byte wide character array. Though by further inspecting the dir_entry structure, it can be noticed

Re: [U-Boot] [PATCH v2 05/21] pmic: Introduce power_board_init() method at ./lib/board.c file

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 01:34:35PM +0200, Stefano Babic wrote: On 09/10/2012 12:25, Lukasz Majewski wrote: [snip] We use often the weak mechanism to avoid that a board maintainer is constrained to implement an empty function only to make happy the linker. It is better to declare the

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Scott Wood
On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: Hi Anatolij, On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin ag...@denx.de wrote: Fix: yaffs_guts.c: In function 'yaffs_check_chunk_erased': yaffs_guts.c:324:6: warning: variable 'result' set but not used [-Wunused-but-set-variable]

Re: [U-Boot] [PATCH V4] ARM: prevent misaligned array inits

2012-10-09 Thread Tom Rini
On Mon, Oct 08, 2012 at 09:50:18PM +0200, Albert ARIBAUD wrote: Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and

Re: [U-Boot] [PATCH V4] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Hi Tom, On Tue, 9 Oct 2012 11:34:11 -0700, Tom Rini tr...@ti.com wrote: On Mon, Oct 08, 2012 at 09:50:18PM +0200, Albert ARIBAUD wrote: Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: Hi Anatolij, On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin ag...@denx.de wrote: Fix: yaffs_guts.c: In function 'yaffs_check_chunk_erased': yaffs_guts.c:324:6:

Re: [U-Boot] [PATCH V4] ARM: prevent misaligned array inits

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 08:42:26PM +0200, Albert ARIBAUD wrote: Hi Tom, On Tue, 9 Oct 2012 11:34:11 -0700, Tom Rini tr...@ti.com wrote: On Mon, Oct 08, 2012 at 09:50:18PM +0200, Albert ARIBAUD wrote: Under option -munaligned-access, gcc can perform local char or 16-bit array

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Scott Wood
On 10/09/2012 01:51:14 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: Hi Anatolij, On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin ag...@denx.de wrote: Fix: yaffs_guts.c: In function

[U-Boot] [PATCH V5] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option

[U-Boot] [PATCH] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option

[U-Boot] [PATCH V6] [RESEND] ARM: prevent misaligned array inits

2012-10-09 Thread Albert ARIBAUD
Under option -munaligned-access, gcc can perform local char or 16-bit array initializations using misaligned native accesses which will throw a data abort exception. Fix files where these array initializations were unneeded, and for files known to contain such initializations, enforce gcc option

Re: [U-Boot] [PATCH] ARM: prevent misaligned array inits -- PLEASE DISREGARD.

2012-10-09 Thread Albert ARIBAUD
This patch has been sent without a proper Vx indication. Resending. Amicalement, -- Albert. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Stephen Warren
On 09/29/2012 03:53 PM, Marek Vasut wrote: Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That includes both SPL builds and non-SPL builds, everything. To avoid poluting this patch with removal of ifdef-endif constructions containing CONFIG_SERIAL_MULTI, the CONFIG_SERIAL_MULTI is

[U-Boot] [PATCH V2 1/3] part: add partition number to disk_partition_t

2012-10-09 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com The FAT filesystem code knows which partition ID it is operating on. Currently, this is passed to fat_register_device() as a parameter. In order to convert FAT to the more standardized fat_set_blk_dev(), the information needs to come from somewhere else,

[U-Boot] [PATCH V2 2/3] FAT: make use of disk_partition_t.part

2012-10-09 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This removes the standalone cur_part_nr variable, opening the way to replacing fat_register_device() with fat_set_blk_dev(). Note that when get_partition_info() fails and we use the entire disk, the correct partition number is 0 (whole disk) not 1 (first

[U-Boot] [PATCH V2 3/3] FAT: implement fat_set_blk_dev(), convert cmd_fat.c

2012-10-09 Thread Stephen Warren
From: Stephen Warren swar...@nvidia.com This makes the FAT filesystem API more consistent with other block-based filesystems. If in the future standard multi-filesystem commands such as ls or load are implemented, having FAT work the same way as other filesystems will be necessary. Convert

[U-Boot] U-Boot git usage model (was: Re: [PULL] u-boot-usb/next)

2012-10-09 Thread Stephen Warren
On 10/09/2012 08:23 AM, Tom Rini wrote: On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: NOTE: I get a few more size issues with ELDK 4.2 on IXP (that big-endian ARM) after this patchset is applied. I wonder if we shouldn't just throw these away, since they're dead code mostly.

Re: [U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-09 Thread Simon Glass
Hi Graeme, On Wed, Oct 3, 2012 at 6:01 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi Simon, At first I thought this patch dealt with the 'board reset' code but then realised it deals with the 'reset vector' - Can you fix the patch subject please Will do. On Thu, Oct 4, 2012 at 10:39

Re: [U-Boot] [PATCH v3] add nand spl boot for qi_lb60 board

2012-10-09 Thread Daniel Schwierzeck
2012/10/9 Tom Rini tr...@ti.com: On Tue, Oct 09, 2012 at 04:28:05PM +0800, xian...@openmobilefree.net wrote: From: Xiangfu Liu xian...@openmobilefree.net * After create u-boot-spl.bin. it needs those 4 commands create final image for jz4740 cpu. dd if=spl/u-boot-spl.bin

Re: [U-Boot] U-Boot git usage model (was: Re: [PULL] u-boot-usb/next)

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: On 10/09/2012 08:23 AM, Tom Rini wrote: On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: NOTE: I get a few more size issues with ELDK 4.2 on IXP (that big-endian ARM) after this patchset is applied. I wonder if

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: On 09/29/2012 03:53 PM, Marek Vasut wrote: Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That includes both SPL builds and non-SPL builds, everything. To avoid poluting this patch with removal of ifdef-endif

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

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 05:34:13PM +0200, Albert ARIBAUD wrote: Hi Tom, The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: usb.h: Add udc_disconnect prototype to usb.h (2012-10-08 18:01:17 -0700) are available in the git repository at:

Re: [U-Boot] [PATCH v2 0/3] Enable MMC support for at91sam9x5ek board.

2012-10-09 Thread Andreas Bießmann
Hi Josh, On 09.10.12 12:11, Josh Wu wrote: Hi, Andreas Any feedback of these patches? short answer: no ;) I think they could go into next (no obvious objections), but I would like to do some runtime tests on avr32 before. Beside that, if you do not insist on applying them ASAP to next I

Re: [U-Boot] [PATCH] yaffs2: Fix GCC 4.6 compile warnings

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 02:08:13PM -0500, Scott Wood wrote: On 10/09/2012 01:51:14 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 01:09:22PM -0500, Scott Wood wrote: On 10/06/2012 11:59:17 AM, Albert ARIBAUD wrote: Hi Anatolij, On Sat, 6 Oct 2012 11:31:03 +0200, Anatolij Gustschin

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/12 15:09, Stephen Warren wrote: On 10/09/2012 03:38 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: On 09/29/2012 03:53 PM, Marek Vasut wrote: Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Stephen Warren
On 10/09/2012 03:32 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: On 10/09/2012 08:23 AM, Tom Rini wrote: On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: NOTE: I get a few more size issues with ELDK 4.2 on IXP (that big-endian ARM) after

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Stephen Warren
On 10/09/2012 03:38 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: On 09/29/2012 03:53 PM, Marek Vasut wrote: Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That includes both SPL builds and non-SPL builds, everything. To avoid poluting this patch

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Stephen Warren
On 10/09/2012 04:13 PM, Tom Rini wrote: On 10/09/12 15:09, Stephen Warren wrote: On 10/09/2012 03:38 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: On 09/29/2012 03:53 PM, Marek Vasut wrote: Enable CONFIG_SERIAL_MULTI for all builds of U-Boot. That

Re: [U-Boot] U-Boot git usage model (was: Re: [PULL] u-boot-usb/next)

2012-10-09 Thread Albert ARIBAUD
Hi Tom, On Tue, 9 Oct 2012 14:32:08 -0700, Tom Rini tr...@ti.com wrote: On Tue, Oct 09, 2012 at 03:03:28PM -0600, Stephen Warren wrote: On 10/09/2012 08:23 AM, Tom Rini wrote: On Sun, Oct 07, 2012 at 08:49:00PM +0200, Marek Vasut wrote: NOTE: I get a few more size issues with ELDK

Re: [U-Boot] [PATCH 67/72] serial: Unconditionally enable CONFIG_SERIAL_MULTI

2012-10-09 Thread Allen Martin
On Tue, Oct 09, 2012 at 03:15:40PM -0700, Stephen Warren wrote: On 10/09/2012 04:13 PM, Tom Rini wrote: On 10/09/12 15:09, Stephen Warren wrote: On 10/09/2012 03:38 PM, Tom Rini wrote: On Tue, Oct 09, 2012 at 02:33:51PM -0600, Stephen Warren wrote: On 09/29/2012 03:53 PM, Marek Vasut

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

2012-10-09 Thread Tom Rini
On Tue, Oct 09, 2012 at 05:34:13PM +0200, Albert ARIBAUD wrote: Hi Tom, The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: usb.h: Add udc_disconnect prototype to usb.h (2012-10-08 18:01:17 -0700) are available in the git repository at:

[U-Boot] h2200 fails to build on current u-boot/next (was: Pull request: u-boot-arm/next into u-boot/next)

2012-10-09 Thread Albert ARIBAUD
Hi Łukasz, On Tue, 9 Oct 2012 14:45:33 -0700, Tom Rini tr...@ti.com wrote: On Tue, Oct 09, 2012 at 05:34:13PM +0200, Albert ARIBAUD wrote: Hi Tom, The following changes since commit 661c21dd46e857b74682b0610d83cfea7f3ac3c2: usb.h: Add udc_disconnect prototype to usb.h

Re: [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel

2012-10-09 Thread Tom Rini
On Sun, Sep 30, 2012 at 02:21:31AM +0200, Marek Vasut wrote: This patch series implants slightly modified kernel-doc documentation generator from Linux kernel into U-Boot. First patch pulls in all the necessary components with minor modifications made to them to work with the layout of U-Boot

Re: [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel

2012-10-09 Thread Marek Vasut
Dear Tom Rini, On Sun, Sep 30, 2012 at 02:21:31AM +0200, Marek Vasut wrote: This patch series implants slightly modified kernel-doc documentation generator from Linux kernel into U-Boot. First patch pulls in all the necessary components with minor modifications made to them to work with

[U-Boot] [PATCH] FEC: Rework RX buffer init

2012-10-09 Thread Marek Vasut
Rework the RX buffer init so that it's easier to understand. Firstly, allocate the whole RX buffer as one large continuous piece of memory. Also, drop all these writel() accessors used on the FEC RX DMA descriptor, since it's all flat bogus. Finally, this makes recoverable stalls of the FEC on

Re: [U-Boot] U-Boot git usage model

2012-10-09 Thread Albert ARIBAUD
Hi Stephen, On Tue, 09 Oct 2012 16:14:23 -0600, Stephen Warren swar...@wwwdotorg.org wrote: This actually turns out to be less work for custodians if there aren't any dependencies between patch series, since whenever you send a pull request right now, you do: a) Fetch latest upstream. b)

[U-Boot] [PATCH] ARM926: Add mb to the cache invalidate/flush

2012-10-09 Thread Marek Vasut
Add memory barrier to cache invalidate and flush calls. Signed-off-by: Marek Vasut ma...@denx.de CC: Albert Aribaud albert.u.b...@aribaud.net Cc: Fabio Estevam feste...@gmail.com Cc: Otavio Salvador ota...@ossystems.com.br Cc: Stefano Babic sba...@denx.de --- arch/arm/cpu/arm926ejs/cache.c |

Re: [U-Boot] KernelDoc

2012-10-09 Thread Tom Rini
On Mon, Oct 01, 2012 at 12:37:26PM +0200, Marek Vasut wrote: Dear Wolfgang Denk, Dear Marek Vasut, In message 201210011107.45164.ma...@denx.de you wrote: Agreed, not the whole file. But, can you check the rules I tried to outline? Is there a summary somewhere? Something we

Re: [U-Boot] [PATCH 0/4 V2] Implant kernel-doc from Linux kernel

2012-10-09 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/09/12 15:37, Marek Vasut wrote: Dear Tom Rini, On Sun, Sep 30, 2012 at 02:21:31AM +0200, Marek Vasut wrote: This patch series implants slightly modified kernel-doc documentation generator from Linux kernel into U-Boot. First patch pulls

Re: [U-Boot] [PATCH 3/9] x86: Allow excluding reset handling code from u-boot.

2012-10-09 Thread Graeme Russ
Hi Simon, On Wed, Oct 10, 2012 at 8:15 AM, Simon Glass s...@chromium.org wrote: diff --git a/arch/x86/cpu/resetvec.S b/arch/x86/cpu/resetvec.S index 44aee5f..5b359ff 100644 --- a/arch/x86/cpu/resetvec.S +++ b/arch/x86/cpu/resetvec.S @@ -25,6 +25,10 @@ /* Reset vector, jumps to start16.S

  1   2   >