Re: [U-Boot] Change console output from DUART to APPUART

2012-08-14 Thread Albert ARIBAUD
Hi mad, On Fri, 10 Aug 2012 14:16:17 +0200, mad mad wrote: > Hi, > > I'm new to this list and don't know whether this is the right place > to ask this question. > > I have a board nearly equal to the mx28evk, excepting that I need to > use AUART3 instead of DUART for the console output. > > My

Re: [U-Boot] Early malloc() summary

2012-08-14 Thread Tomas Hlavacek
Hello Marek, On Sun, Aug 12, 2012 at 1:16 AM, Marek Vasut wrote: > > So ... we should aim for firing up the real mallocator as soon as possible and > maybe implement discontigmem (sparsemem) into it, so we don't have to bother > with relocating pointers maybe? > > The only problem I see is platfo

[U-Boot] please pull u-boot-avr32/master

2012-08-14 Thread Andreas Bießmann
The following changes since commit 81316a902a2c76bc880ab49c6d157e3e9754806d: mtd/cfi_flash: fix write problems for Numonyx P33/30 32 MBit flashs (2012-08-13 14:34:44 +0200) are available in the git repository at: git://git.denx.de/u-boot-avr32.git master for you to fetch changes up to 5b80

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-08-14 Thread Albert ARIBAUD
On Mon, 13 Aug 2012 14:27:16 +0200, Albert ARIBAUD wrote: > Hi Wolfgang, > > On Thu, 09 Aug 2012 22:36:33 +0200, Wolfgang Denk wrote: > > Dear Albert ARIBAUD, > > > > In message > > > > you wrote: > > > Sorry Luka (and all), been tied up pretty heavily recently, had to > > > adjust to find som

Re: [U-Boot] [PATCH v2 3/4] mxs: rename regs-clkctrl.h to regs-clkctrl-mx28.h

2012-08-14 Thread Stefano Babic
On 13/08/2012 21:53, Otavio Salvador wrote: > The CLKCTRL registers are SoC specific so we ought to have it clear on > filename. > > Signed-off-by: Otavio Salvador > --- > Changes in v2: > - no changes > Hi Otavio, > arch/arm/include/asm/arch-mxs/imx-regs.h |2

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-14 Thread Stefano Babic
On 13/08/2012 22:48, Benoît Thébaudeau wrote: > This patches fixes the TODO to use same register definitions in mtd mxc_nand > and > nand_spl fsl nfc drivers. > > Signed-off-by: Benoît Thébaudeau > Cc: Scott Wood > Cc: Stefano Babic > --- Hi Benoît, before going deeper in the review there is

Re: [U-Boot] [PATCH 02/13] mxc nand: cosmectic: Light cleanup

2012-08-14 Thread Stefano Babic
On 13/08/2012 22:48, Benoît Thébaudeau wrote: > Signed-off-by: Benoît Thébaudeau > Cc: Scott Wood > Cc: Stefano Babic > --- > .../drivers/mtd/nand/mxc_nand.c|9 +++-- > .../include/fsl_nfc.h |1 + > .../nand_spl/nand_boot_fsl_nfc.c

Re: [U-Boot] [PATCH 08/13] mtd mxc nand: Use _mxc_nand_enable_hwecc()

2012-08-14 Thread Stefano Babic
On 13/08/2012 22:50, Benoît Thébaudeau wrote: > Use _mxc_nand_enable_hwecc() instead of duplicating its code. > > Signed-off-by: Benoît Thébaudeau > Cc: Scott Wood > Cc: Stefano Babic > --- Hi Benoît, > > +#ifdef CONFIG_MXC_NAND_HWECC > +static void mxc_nand_enable_hwecc(struct mtd_info *mt

Re: [U-Boot] [PATCH] dlmalloc: remove manual reloc alias warning

2012-08-14 Thread Andreas Bießmann
Dear all, On 13.08.2012 11:02, Andreas Bießmann wrote: > From: Andreas Bießmann > > The avr32 architecture (and some others) require manual relocation. Due to the > previous error all avr32 boards gave warnings in MAKEALL wich makes it hard to > find new warnings. > > This patch fixes following

Re: [U-Boot] Strange / Unreadable console output

2012-08-14 Thread Markus Hubig
On Tue, Aug 14, 2012 at 08:22:11AM +0200, Andreas Bießmann wrote: > On 27.07.12 11:16, Markus Hubig wrote: > > one minor Problem I often read about in this list is some crappy / > > unreadable > > console output at beginning of the U-Boot start procedure. Now I have the > > same > > "visual" Prob

Re: [U-Boot] Strange / Unreadable console output

2012-08-14 Thread Markus Hubig
On Mon, Aug 13, 2012 at 08:12:51PM -0400, Jerry Van Baren wrote: > On 08/13/2012 07:17 AM, Markus Hubig wrote: > > On Sat, Aug 11, 2012 at 08:15:43AM -0400, Jerry Van Baren wrote: > >> On 07/27/2012 05:16 AM, Markus Hubig wrote: > > >> 2) The line before the garbled output becomes readable is "WAR

Re: [U-Boot] [PATCH 03/13] spl mxc nand: Merge duplicated code

2012-08-14 Thread Stefano Babic
On 13/08/2012 22:48, Benoît Thébaudeau wrote: > Merge duplicated code into functions, which is better for SPL size too. > > Signed-off-by: Benoît Thébaudeau > Cc: Scott Wood > Cc: Stefano Babic > --- Hi Benoît, > .../nand_spl/nand_boot_fsl_nfc.c | 50 > +-

Re: [U-Boot] [PATCH 11/13] mxc nand: Let driver detect IP revision

2012-08-14 Thread Stefano Babic
On 13/08/2012 22:50, Benoît Thébaudeau wrote: > There is no reason to have board configs to select the NFC IP revision. Just > let > the driver detect it. BTW, remove broken NFC IP revision configs from board > config files. > > Signed-off-by: Benoît Thébaudeau > Cc: Scott Wood > Cc: Stefano Ba

Re: [U-Boot] [PATCH 2/6] powerpc/corenet_ds: Get rid of the SRIOBOOT_MASTER build target

2012-08-14 Thread Liu Gang
Hi, Andy, I have sent the updated patches to the patchwork. Do you have more comments? And would you please help to check and apply the patches? http://patchwork.ozlabs.org/patch/176170/ Thanks a lot! Best Regards! Liu Gang On Thu, 2012-08-09 at 23:15 +0800, Liu Gang wrote: > On Wed, 2012-08

Re: [U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-08-14 Thread Valentin Longchamp
Hi Prafulla, I haven't received feedback about this patch from you. Can I please kindly remind you about it since I am about to send patches that deal with SPI clk setting. Thank you. On 06/29/2012 02:17 PM, Valentin Longchamp wrote: > The computation was not correct with low clock values: sett

[U-Boot] [PATCH] davinci: enbw_cmc: change switch init behaviour

2012-08-14 Thread Heiko Schocher
change the behaviour of switch initialization: - rename "pwl" to "lan" in hwconfig parameter "lan" = port 1 with phy addr 2 "lmn" = port 2 with phy addr 3 - if we have a valid switch config file in flash, do not evaluate the settings in the hwconfig "lan" or "lmn" subcommand. - if we hav

Re: [U-Boot] [PATCH 08/13] mtd mxc nand: Use _mxc_nand_enable_hwecc()

2012-08-14 Thread Benoît Thébaudeau
Hi Stefano, > On 13/08/2012 22:50, Benoît Thébaudeau wrote: > > Use _mxc_nand_enable_hwecc() instead of duplicating its code. > > > > Signed-off-by: Benoît Thébaudeau > > Cc: Scott Wood > > Cc: Stefano Babic > > --- > > Hi Benoît, > > > > > +#ifdef CONFIG_MXC_NAND_HWECC > > +static void mx

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-14 Thread Benoît Thébaudeau
Hi Stefano, > On 13/08/2012 22:48, Benoît Thébaudeau wrote: > > This patches fixes the TODO to use same register definitions in mtd > > mxc_nand and > > nand_spl fsl nfc drivers. > > > > Signed-off-by: Benoît Thébaudeau > > Cc: Scott Wood > > Cc: Stefano Babic > > --- > > Hi Benoît, > > befo

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-14 Thread Stefano Babic
On 14/08/2012 12:15, Benoît Thébaudeau wrote: > Then, I don't know what to do with these patches. I see two main points in your patches. You cleanup mxc-nand code and add support for i.MX5. This is one topic, and it can go on. > > Note that this is not a new implementation, but only an enhanceme

Re: [U-Boot] [PATCH 2/2] apx4devkit: Turn on caches

2012-08-14 Thread Veli-Pekka Peltola
Hi Fabio, On 08/05/2012 07:18 PM, Fabio Estevam wrote: From: Fabio Estevam Turn on data and instruction caches. Signed-off-by: Fabio Estevam I run some quick tests and everything seems to be working well so: Acked-by: Veli-Pekka Peltola -- Veli-Pekka Peltola _

[U-Boot] [PATCH 2/4] mx53_smd: add spi nor support

2012-08-14 Thread Terry Lv
Add spi nor support to mx53 smd, including iomux, configs, etc. To test spi nor on mx53 smd: MX53SMD U-Boot > sf probe 0:21249 JEDEC ID: 0x202016 m25p32 (4096 Kbytes) SF: Detected m25p32 with page size 0 Bytes, total 4 MiB Here, 21249 is integer of hex 0x5301. 0x01 is cs and 0x53 is active gpio nu

[U-Boot] [PATCH 3/4] mxc_spi: change to use version config instead of soc config in mxc_spi

2012-08-14 Thread Terry Lv
In mxc_spi, we used to use soc config, e.g. CONFIG_MX35, CONFIG_MX51. In this way, we can't exlain the difference of spi in each soc and we need to modify the driver for each new soc. Thus, now it use spi version config which can be found in reference manual to diff. And new soc just need to add s

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-14 Thread Benoît Thébaudeau
Hi Stefano, > On 14/08/2012 12:15, Benoît Thébaudeau wrote: > > Then, I don't know what to do with these patches. > > I see two main points in your patches. You cleanup mxc-nand code and > add > support for i.MX5. This is one topic, and it can go on. OK, but then do you want to keep the register

[U-Boot] [PATCH] sf: spansion: Add support for S25FL256S

2012-08-14 Thread Michal Simek
Add support for Spansion S25FL256S SPI flash. Signed-off-by: Michal Simek --- drivers/mtd/spi/spansion.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/mtd/spi/spansion.c b/drivers/mtd/spi/spansion.c index 9a114ac..32b76e0 100644 --- a/drivers/mtd/spi/span

[U-Boot] [PATCH] arm: Remove additional config flags

2012-08-14 Thread Michal Simek
These options are just duplicated from arch/arm/cpu/armv7/config.mk Signed-off-by: Michal Simek --- arch/arm/cpu/armv7/highbank/config.mk|1 - arch/arm/cpu/armv7/omap-common/config.mk |9 - 2 files changed, 0 insertions(+), 10 deletions(-) delete mode 100644 arch/arm/cpu/arm

[U-Boot] [PATCH] km/ivm: fix string len check to support 7 char board names

2012-08-14 Thread Valentin Longchamp
The fanless boards now have a 7-digit (X-F) board name. This triggers a border condition when reading this string in the IVM although this string is smaller than the currenly read string size, but only by 1 character. This patch corrects this by changing the size check condition for string len

[U-Boot] [PATCH 1/4] spi_nor: add m25p32 spi nor driver

2012-08-14 Thread Terry Lv
This driver is ported from kernel and can handle a series of spi nor flash including m25pxx, m45pxx, w25xxx, cat25xxx, sst25vf0xxx, sst25wfxxx, s25xxx, mx25xxx, at25xxx, at26xxx, en25xxx, xxxs33b. Signed-off-by: Terry Lv --- drivers/mtd/spi/Makefile |1 + drivers/mtd/spi/m25p80.c

[U-Boot] [PATCH 4/4] mxc_spi: apply new mxc_spi version configs to other soc configs

2012-08-14 Thread Terry Lv
Apply new mxc_spi version configs to other soc configs. Signed-off-by: Terry Lv --- arch/arm/include/asm/arch-mx31/imx-regs.h |4 include/configs/efikamx.h |4 include/configs/flea3.h |3 +++ include/configs/imx31_litekit.h |5

[U-Boot] [PATCH] arm/km: fix frequency of the SPI NOR Flash

2012-08-14 Thread Valentin Longchamp
According to our last HW measures, this could be raised while still compatible with the potential delays on the lines. Signed-off-by: Valentin Longchamp cc: Holger Brunck --- include/configs/km/km_arm.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/km

[U-Boot] [PATCH] km/arm: set SPI NOR Flash default parameters

2012-08-14 Thread Valentin Longchamp
These parameters are used by the the sf probe command that are used by our update script and they therefore need to be set for all of our boards. The timing is the same as for the ENV SPI NOR Flash (since it's the same physical device) and takes the boco2 delay on the bus into account. Signed-off

[U-Boot] Xilinx Zynq platform

2012-08-14 Thread Michal Simek
Hi, I am sending basic support for new Xilinx Zynq platform. It is new ARM cortex a9 cpu with programmable logic. For more information look at www.xilinx.com/zynq. In future we are going to extend this platform for i2c, spi, mmc, fpga, nand, nor support, and maybe more. These drivers will be sen

[U-Boot] [PATCH 2/4] net: Add driver for Zynq Gem IP

2012-08-14 Thread Michal Simek
Device driver for Zynq Gem IP. Signed-off-by: Michal Simek CC: Joe Hershberger --- drivers/net/Makefile |1 + drivers/net/xilinx_gem.c | 514 ++ include/netdev.h |1 + 3 files changed, 516 insertions(+), 0 deletions(-) create mod

[U-Boot] [PATCH 3/4] arm: Support new Xilinx Zynq platform

2012-08-14 Thread Michal Simek
Add timer driver. Signed-off-by: Michal Simek --- arch/arm/cpu/armv7/zynq/Makefile | 48 arch/arm/cpu/armv7/zynq/timer.c | 151 ++ 2 files changed, 199 insertions(+), 0 deletions(-) create mode 100644 arch/arm/cpu/armv7/zynq/Makefile create

[U-Boot] [PATCH 4/4] xilinx: Add new Zynq board

2012-08-14 Thread Michal Simek
Add support for Xilinx Zynq board. Signed-off-by: Michal Simek --- board/xilinx/zynq/Makefile| 57 + board/xilinx/zynq/board.c | 64 + board/xilinx/zynq/lowlevel_init.S | 27 +++ boards.cfg

[U-Boot] [PATCH v2] Makefile: fix HAVE_VENDOR_COMMON_LIB

2012-08-14 Thread Daniel Schwierzeck
From: Scott Wood Commit 8b5a02640adf77301f943e8754992c50df004e8a ("Makefile: cosmetic: optimize usage of LIBS-y") broke the build of boards that have a board vendor "common" directory, by introducing a space between "LIBS-" and "y". Signed-off-by: Scott Wood Signed-off-by: Daniel Schwierzeck -

Re: [U-Boot] Commit 8b5a02640adf77301f943e8754992c50df004e8a breaks about 20 ARM builds

2012-08-14 Thread Daniel Schwierzeck
Hi Albert, 2012/8/14 Albert ARIBAUD : > Hi all, > > I have encountered an issue when rebasing the ARM tree above > u-boot/master, with this commit : > > 8b5a02640adf77301f943e8754992c50df004e8a > > It seems to break about 20 ARM builds, for instance spear600, on my > stock Ubuntu 12.04 ARM gcc: >

[U-Boot] [PATCH 1/4] serial: Add Dragonfire serial driver

2012-08-14 Thread Michal Simek
The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek --- drivers/serial/Makefile |1 + drivers/serial/serial_xpssuart.c | 218 ++ 2 files changed, 219 insertions(+), 0 deletions(-) create mode 100644 drivers/serial/serial_xpss

Re: [U-Boot] Strange / Unreadable console output

2012-08-14 Thread Andreas Bießmann
Dear Markus Hubig, On 14.08.2012 11:08, Markus Hubig wrote: > On Tue, Aug 14, 2012 at 08:22:11AM +0200, Andreas Bießmann wrote: >> On 27.07.12 11:16, Markus Hubig wrote: >>> one minor Problem I often read about in this list is some crappy / >>> unreadable >>> console output at beginning of the U-

[U-Boot] [PATCH 4/4 v2] xilinx: Add new Zynq board

2012-08-14 Thread Michal Simek
Add support for Xilinx Zynq board. Signed-off-by: Michal Simek --- v2: Forget to also add config file --- board/xilinx/zynq/Makefile| 57 + board/xilinx/zynq/board.c | 64 +++ board/xilinx/zynq/lowlevel_init.S | 27 boards.cfg

Re: [U-Boot] [PATCH 4/4] xilinx: Add new Zynq board

2012-08-14 Thread Michal Simek
On 08/14/2012 01:42 PM, Michal Simek wrote: Add support for Xilinx Zynq board. Signed-off-by: Michal Simek --- board/xilinx/zynq/Makefile| 57 + board/xilinx/zynq/board.c | 64 + board/xilinx/zynq/lowlev

Re: [U-Boot] [PATCH v2 3/4] mxs: rename regs-clkctrl.h to regs-clkctrl-mx28.h

2012-08-14 Thread Otavio Salvador
On Tue, Aug 14, 2012 at 5:31 AM, Stefano Babic wrote: > On 13/08/2012 21:53, Otavio Salvador wrote: >> The CLKCTRL registers are SoC specific so we ought to have it clear on >> filename. >> >> Signed-off-by: Otavio Salvador >> --- >> Changes in v2: >> - no changes >> > > Hi Otavio, > >> arch/arm

Re: [U-Boot] [PATCH v2 3/4] mxs: rename regs-clkctrl.h to regs-clkctrl-mx28.h

2012-08-14 Thread Marek Vasut
Dear Stefano Babic, > On 13/08/2012 21:53, Otavio Salvador wrote: > > The CLKCTRL registers are SoC specific so we ought to have it clear on > > filename. > > > > Signed-off-by: Otavio Salvador > > --- > > Changes in v2: > > - no changes > > Hi Otavio, > > > arch/arm/include/asm/arch-mxs/imx-

Re: [U-Boot] Early malloc() summary

2012-08-14 Thread Marek Vasut
Dear Tomas Hlavacek, > Hello Marek, > > On Sun, Aug 12, 2012 at 1:16 AM, Marek Vasut wrote: > > So ... we should aim for firing up the real mallocator as soon as > > possible and maybe implement discontigmem (sparsemem) into it, so we > > don't have to bother with relocating pointers maybe? > >

[U-Boot] [PATCH 0/5] Make iim support common to mpc and imx

2012-08-14 Thread Benoît Thébaudeau
Hi all, The subject says everything. ;) Best regards, Benoît ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/5] imx iim: Homogenize and fix register definitions

2012-08-14 Thread Benoît Thébaudeau
Homogenize prg_p naming (the reference manuals are not always self-consistent for that). Add missing registers. Fix some registers. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Cc: Wolfgang Denk --- .../arch/arm/include/asm/arch-mx25/imx-regs.h |8 ++-- .../arch/arm/include/

[U-Boot] [PATCH 2/5] imx iim: Add useful fuse definitions

2012-08-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic Cc: Wolfgang Denk --- .../arch/arm/include/asm/arch-mx25/imx-regs.h | 11 ++- .../arch/arm/include/asm/arch-mx31/imx-regs.h | 12 .../arch/arm/include/asm/arch-mx35/imx-regs.h | 12 .../arc

[U-Boot] [PATCH 3/5] Add fuse API and commands

2012-08-14 Thread Benoît Thébaudeau
This can be useful for fuse-like hardware, OTP SoC options, etc. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Cc: Stefano Babic --- {u-boot-4d3c95f.orig => u-boot-4d3c95f}/README |1 + .../common/Makefile|1 + /dev/null => u-boot-4d3c95f/common

[U-Boot] [PATCH 4/5] Add fsl_iim driver

2012-08-14 Thread Benoît Thébaudeau
Add a fsl_iim driver common to i.MX and MPC. Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Cc: Stefano Babic --- .../drivers/misc/Makefile |1 + /dev/null => u-boot-4d3c95f/drivers/misc/fsl_iim.c | 318 2 files changed, 319 insertions(+)

[U-Boot] [PATCH 5/5] mpc iim: Switch to common fsl_iim

2012-08-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Wolfgang Denk Cc: Stefano Babic --- .../arch/powerpc/cpu/mpc512x/Makefile |1 - .../arch/powerpc/cpu/mpc512x/iim.c => /dev/null| 394 .../board/davedenx/aria/aria.c |2 +- .../board/esd/mecp5

Re: [U-Boot] [PATCH v2 3/4] mxs: rename regs-clkctrl.h to regs-clkctrl-mx28.h

2012-08-14 Thread Stefano Babic
On 14/08/2012 14:31, Otavio Salvador wrote: >> regs-clkctrl.h: >> >> #ifdef MX28 >> include >> #else #ifdef MX23 >> include >> > > This is indeed the idea; I didn't include this change yet to add it > when including mx23 changes. If you prefer I can send a new version of > it moving the .h

Re: [U-Boot] Please pull u-boot-staging/tr...@ti.com

2012-08-14 Thread Mathieu Poirier
I will fix this right away. Mathieu. On 12-08-13 07:06 PM, Albert ARIBAUD (U-Boot) wrote: > Hi Albert, > > On Tue, 14 Aug 2012 02:04:15 +0200, Albert ARIBAUD (U-Boot) > wrote: > >> Hi Tom, >> >> On Fri, 10 Aug 2012 22:06:59 +0200, Wolfgang Denk wrote: >> >>> Dear Tom, >>> >>> In message <2012

Re: [U-Boot] Early malloc() summary

2012-08-14 Thread Albert ARIBAUD
Hi Marek, On Tue, 14 Aug 2012 14:37:29 +0200, Marek Vasut wrote: > Dear Tomas Hlavacek, > > > Hello Marek, > > > > On Sun, Aug 12, 2012 at 1:16 AM, Marek Vasut wrote: > > > So ... we should aim for firing up the real mallocator as soon as > > > possible and maybe implement discontigmem (sparse

[U-Boot] [PATCH] arm1136: cosmetic: Remove double test on CONFIG_SYS_DCACHE_OFF

2012-08-14 Thread Benoît Thébaudeau
Remove a redundant '#ifndef CONFIG_SYS_DCACHE_OFF' nested in the same #ifndef. Signed-off-by: Benoît Thébaudeau Cc: Albert Aribaud --- .../arch/arm/cpu/arm1136/cpu.c |2 -- 1 file changed, 2 deletions(-) diff --git u-boot-4d3c95f.orig/arch/arm/cpu/arm1136/cpu.c u-boot-

[U-Boot] [PATCH] mx25: Enable dcache

2012-08-14 Thread Benoît Thébaudeau
Now that the main i.MX features work fine with dcache enabled, enabled it by default if CONFIG_SYS_DCACHE_OFF is not defined. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/cpu/arm926ejs/mx25/generic.c |8 1 file changed, 8 insertions(+) diff --git u-

[U-Boot] [PATCH] mx5: Enable dcache

2012-08-14 Thread Benoît Thébaudeau
Now that the main i.MX features work fine with dcache enabled, enabled it by default if CONFIG_SYS_DCACHE_OFF is not defined. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/cpu/armv7/mx5/soc.c |8 1 file changed, 8 insertions(+) diff --git u-

Re: [U-Boot] Change console output from DUART to APPUART

2012-08-14 Thread Fabio Estevam
On 8/14/12, Albert ARIBAUD wrote: > Adding Fabio as the maintainer for mx28evk -- he might have some ideas > based on the board HW. > > Are AUART3 and DUART identical except for base address? If not, I > suspect your change is not enough and you'll have to develop a spacific > AUART driver or der

[U-Boot] [PATCH] mx35: Fix typo on EDIO

2012-08-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx35/crm_regs.h |4 ++-- .../board/CarMediaLab/flea3/flea3.c|2 +- .../board/freescale/mx35pdk/mx35pdk.c |2 +- 3 files changed, 4 insertions(+), 4 deletions(-) dif

Re: [U-Boot] [PATCH] kw_spi: fix clock prescaler computation

2012-08-14 Thread Prafulla Wadaskar
> -Original Message- > From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] > Sent: 14 August 2012 15:02 > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Holger Brunck > Subject: Re: [PATCH] kw_spi: fix clock prescaler computation > > Hi Prafulla, > > I haven't received f

Re: [U-Boot] [PATCH] km/arm: set SPI NOR Flash default parameters

2012-08-14 Thread Prafulla Wadaskar
> -Original Message- > From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] > Sent: 14 August 2012 17:09 > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Valentin Longchamp; Holger Brunck > Subject: [PATCH] km/arm: set SPI NOR Flash default parameters > > These parameters

Re: [U-Boot] [PATCH] arm/km: fix frequency of the SPI NOR Flash

2012-08-14 Thread Prafulla Wadaskar
> -Original Message- > From: Valentin Longchamp [mailto:valentin.longch...@keymile.com] > Sent: 14 August 2012 17:07 > To: Prafulla Wadaskar > Cc: u-boot@lists.denx.de; Valentin Longchamp; Holger Brunck > Subject: [PATCH] arm/km: fix frequency of the SPI NOR Flash > > According to our la

[U-Boot] [PATCH] mx3: Fix typo on IPU_CONF_CSI_EN

2012-08-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/include/asm/arch-mx31/imx-regs.h |2 +- .../arch/arm/include/asm/arch-mx35/imx-regs.h |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git u-boot-4d3c95f.orig/arch/arm/include/asm/arch-mx31/imx-r

Re: [U-Boot] [PATCH] km/ivm: fix string len check to support 7 char board names

2012-08-14 Thread Prafulla Wadaskar
> -Original Message- > From: u-boot-boun...@lists.denx.de [mailto:u-boot- > boun...@lists.denx.de] On Behalf Of Valentin Longchamp > Sent: 14 August 2012 16:47 > To: u-boot@lists.denx.de > Cc: Valentin Longchamp; h...@denx.de; Holger Brunck; Stefan Bigler > Subject: [U-Boot] [PATCH] km/iv

[U-Boot] [PATCH] mx5 iomux: Fix GPIO with SION

2012-08-14 Thread Benoît Thébaudeau
IOMUX_CONFIG_GPIO may be used together with IOMUX_CONFIG_SION, so don't break the iomux function value set to the register in this case. Define the value of IOMUX_CONFIG_GPIO in a way showing that it should have only 1 bit set. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/ar

Re: [U-Boot] [PATCH v2 3/4] mxs: rename regs-clkctrl.h to regs-clkctrl-mx28.h

2012-08-14 Thread Otavio Salvador
On Tue, Aug 14, 2012 at 9:53 AM, Stefano Babic wrote: > Well, this is not a stop point - I wanted only to understand which is > the final result. I think we agree all what we want. I have no problem > to take this as temporary patch, fixed by another patch later. Great; so please take this one an

Re: [U-Boot] [PATCH v2 3/3] Makefile: cosmetic: optimize usage of LIBS-y

2012-08-14 Thread Kumar Gala
On Aug 10, 2012, at 4:17 PM, Wolfgang Denk wrote: > Dear daniel.schwierz...@gmail.com, > > In message <1342741198-9105-1-git-send-email-daniel.schwierz...@gmail.com> > you wrote: >> From: Daniel Schwierzeck >> >> Signed-off-by: Daniel Schwierzeck >> >> --- >> Changes for v2: >> - optimized

Re: [U-Boot] Early malloc() summary

2012-08-14 Thread Graeme Russ
Hi Marek, On Tue, Aug 14, 2012 at 10:37 PM, Marek Vasut wrote: > Dear Tomas Hlavacek, > >> Hello Marek, >> >> On Sun, Aug 12, 2012 at 1:16 AM, Marek Vasut wrote: >> > So ... we should aim for firing up the real mallocator as soon as >> > possible and maybe implement discontigmem (sparsemem) into

Re: [U-Boot] Early malloc() summary

2012-08-14 Thread Marek Vasut
Dear Graeme Russ, > Hi Marek, > > On Tue, Aug 14, 2012 at 10:37 PM, Marek Vasut wrote: > > Dear Tomas Hlavacek, > > > >> Hello Marek, > >> > >> On Sun, Aug 12, 2012 at 1:16 AM, Marek Vasut wrote: > >> > So ... we should aim for firing up the real mallocator as soon as > >> > possible and mayb

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-14 Thread Stefano Babic
On 14/08/2012 13:13, Benoît Thébaudeau wrote: > Hi Stefano, > Hi Benoît, >> We have currently only two boards supporting this mechanismus, using >> MX25 (karo tx25) and MX31. Both MX25 and MX31 have an internal RAM >> (128KB) that is is suitable for installing the SPL. Note that TI SOCs >> have

Re: [U-Boot] [PATCH 1/4] serial: Add Dragonfire serial driver

2012-08-14 Thread Joe Hershberger
Hi Michal, On Tue, Aug 14, 2012 at 6:42 AM, Michal Simek wrote: > The driver is used on Xilinx Zynq platform. > > Signed-off-by: Michal Simek > --- > drivers/serial/Makefile |1 + > drivers/serial/serial_xpssuart.c | 218 > ++ > 2 files changed

[U-Boot] [PATCH] snowball: Adding architecture dependent initialisation

2012-08-14 Thread mathieu . poirier
From: "Mathieu J. Poirier" Enabling timers and clocks in PRCMU and cleaning up mailbox. Signed-off-by: Mathieu Poirier Signed-off-by: John Rigby --- Changes for v2: - Removed duplicate definition of PRCMU_BASE. --- arch/arm/cpu/armv7/u8500/Makefile |2 +- arch/arm/cpu/armv7/u8500

Re: [U-Boot] [V3 08/15] S3C6400: Adopt SPL framwork to support spl for nand flash

2012-08-14 Thread Zhong Hongbo
On 08/11/2012 07:30 AM, Scott Wood wrote: > On 07/28/2012 04:35 AM, Zhong Hongbo wrote: >> From: Zhong Hongbo >> >> Adopt the new SPL framework to implement the SPL booting of >> the nand flash for S3C6400. >> >> Signed-off-by: Zhong Hongbo >> --- >> Change for V3: >> - None. >> Change for V

Re: [U-Boot] [PATCH] disk/partition: Fix the depend for all the partitions file

2012-08-14 Thread Zhong Hongbo
On 08/08/2012 04:58 AM, Wolfgang Denk wrote: > Dear Zhong Hongbo, > > In message <1342860534-4710-1-git-send-email-bocui...@gmail.com> you wrote: >> From: Zhong Hongbo >> >> all the patitions should depend CONFIG_PARTITIONS, no the >> CONFIG_CMD_$(device). The device symbol may be SATA, SCSI, >>

Re: [U-Boot] [PATCH] dts/Makefile: Check for empty $(LDSCRIPT)

2012-08-14 Thread Kumar Gala
On Aug 10, 2012, at 4:46 PM, Wolfgang Denk wrote: > Dear Horst Kronstorfer, > > In message <1342097912-8652-1-git-send-email-hkron...@frequentis.com> you > wrote: >> Make sure that $(LDSCRIPT) is not empty before calling process_lds >> with 'cat $(LDSCRIPT)' else cat will block waiting for inpu

Re: [U-Boot] [PATCH 01/13] mxc nand: Merge mtd and spl register definitions

2012-08-14 Thread Benoît Thébaudeau
Hi Stefano, > On 14/08/2012 13:13, Benoît Thébaudeau wrote: > > Hi Stefano, > > > > Hi Benoît, > > >> We have currently only two boards supporting this mechanismus, > >> using > >> MX25 (karo tx25) and MX31. Both MX25 and MX31 have an internal RAM > >> (128KB) that is is suitable for installing

Re: [U-Boot] [PATCH] km/ivm: fix string len check to support 7 char board names

2012-08-14 Thread Holger Brunck
Hi Wolfgang, On 08/09/2012 01:43 PM, Holger Brunck wrote: > From: Valentin Longchamp > > The fanless boards now have a 7-digit (X-F) board name. This > triggers a border condition when reading this string in the IVM although > this string is smaller than the currenly read string size, but on

[U-Boot] [PATCH 1/4] mx5: cosmetic: Clean up lowlevel_init

2012-08-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/cpu/armv7/mx5/lowlevel_init.S | 46 ++-- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git u-boot-4d3c95f.orig/arch/arm/cpu/armv7/mx5/lowlevel_init.S u-boot-4d3c95f/arch/arm/cpu/armv7/mx5/l

[U-Boot] [PATCH 2/4] mx5: Optimize lowlevel_init code size

2012-08-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/cpu/armv7/mx5/lowlevel_init.S | 112 +++- 1 file changed, 59 insertions(+), 53 deletions(-) diff --git u-boot-4d3c95f.orig/arch/arm/cpu/armv7/mx5/lowlevel_init.S u-boot-4d3c95f/arch/arm/cpu/armv7/mx5/l

[U-Boot] [PATCH 3/4] mx5: Optimize lowlevel_init for TO 3

2012-08-14 Thread Benoît Thébaudeau
Add an option to optimize away revision-specific code from lowlevel_init.S. This can be useful for recently designed boards that may not be fitted with older revisions. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/cpu/armv7/mx5/lowlevel_init.S |4 ++-- .../doc

[U-Boot] [PATCH 4/4] mx5: Mark lowlevel_init board-specific code

2012-08-14 Thread Benoît Thébaudeau
The mx5 lowlevel_init.S contains board-specific code based on the reference design. Let's keep it since it avoids creating new lowlevel_init files and it may be used by many boards. But add a config to make it optional in order not to cause issues on boards not following this part of the reference

Re: [U-Boot] Early malloc() summary

2012-08-14 Thread Marek Vasut
Dear Albert ARIBAUD, > Hi Marek, > > On Tue, 14 Aug 2012 14:37:29 +0200, Marek Vasut wrote: > > Dear Tomas Hlavacek, > > > > > Hello Marek, > > > > > > On Sun, Aug 12, 2012 at 1:16 AM, Marek Vasut wrote: > > > > So ... we should aim for firing up the real mallocator as soon as > > > > possibl

Re: [U-Boot] [PATCH 1/4] mx5: cosmetic: Clean up lowlevel_init

2012-08-14 Thread Otavio Salvador
On Tue, Aug 14, 2012 at 11:43 AM, Benoît Thébaudeau wrote: > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic The patch seems to be just code style changes, but it is not clear from the commit description. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystem

Re: [U-Boot] [PATCH 2/4] mx5: Optimize lowlevel_init code size

2012-08-14 Thread Otavio Salvador
On Tue, Aug 14, 2012 at 11:44 AM, Benoît Thébaudeau wrote: > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic What the patch does? Please use long description for it. -- Otavio Salvador O.S. Systems E-mail: ota...@ossystems.com.br http://www.ossystems.com.br M

[U-Boot] [PATCH] mx5/6 timer: Use defined CONFIG_SYS_MX*_CLK32

2012-08-14 Thread Benoît Thébaudeau
Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/cpu/armv7/imx-common/timer.c |6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git u-boot-4d3c95f.orig/arch/arm/cpu/armv7/imx-common/timer.c u-boot-4d3c95f/arch/arm/cpu/armv7/imx-common/timer.c inde

[U-Boot] [PATCH] mx5/6 timer: Round up tick_to_time() value

2012-08-14 Thread Benoît Thébaudeau
Round up tick_to_time() value instead of truncating it. This avoids stopping waits instantly for low usec values, and this generally guarantees that the code always waits for at least the requested duration. Signed-off-by: Benoît Thébaudeau Cc: Stefano Babic --- .../arch/arm/cpu/armv7/imx-commo

Re: [U-Boot] [PATCH 3/4] mx5: Optimize lowlevel_init for TO 3

2012-08-14 Thread Otavio Salvador
On Tue, Aug 14, 2012 at 11:44 AM, Benoît Thébaudeau wrote: > Add an option to optimize away revision-specific code from lowlevel_init.S. > This > can be useful for recently designed boards that may not be fitted with older > revisions. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic L

Re: [U-Boot] [PATCH 2/4] net: Add driver for Zynq Gem IP

2012-08-14 Thread Joe Hershberger
Hi Michal, On Tue, Aug 14, 2012 at 6:42 AM, Michal Simek wrote: > Device driver for Zynq Gem IP. > > Signed-off-by: Michal Simek > CC: Joe Hershberger > --- > drivers/net/Makefile |1 + > drivers/net/xilinx_gem.c | 514 > ++ > include/netde

Re: [U-Boot] [PATCH] fix IDE_BUS(dev) macro

2012-08-14 Thread DrEagle
Hi, It works great for my IB-6220 (Dual Sata). Without the patch, the same disk is seen twice, I have only checked disks serial numbers : ib62x0 => version U-Boot 2012.07-00123-g4d3c95f-dirty (Aug 13 2012 - 11:30:58) RaidSonic ICY BOX IB-NAS62x0 arm-linux-gnueabi-gcc (Debian 4.4.5-8) 4.4.5 GNU

[U-Boot] [Patch 0/17] New 'qemu-mips64' test architecture for U-Boot

2012-08-14 Thread Zhi-zhou Zhang
As so far, U-Boot has already supports mips32. But there are some differences between mips64 and mips32. Such as different ABI, different output format. so this patch adds mips64 support. I use cross compiler from clfs and build U-Boot like this: export CROSS_COMPILE=/home/zhangzz/work/clfs/sys_ro

[U-Boot] [Patch 1/17] add mips64 build configuration in mips/config.mk

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/config.mk b/arch/mips/config.mk index 6ab8acd..12df150 100644 --- a/arch/mips/config.mk +++ b/arch/mips/config.mk @@ -23,9 +23,13 @@ CROSS_COMPILE ?= mips_4KC- +ifeq "$(CPU)" "mips64" +CONFIG_STANDALONE_LOAD_ADDR ?= 0xFfffFfff8020 -T mips64.lds +PLATFORM_CPPFLAGS += -D

[U-Boot] [Patch 2/17] add mips64/Makefile

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/cpu/mips64/Makefile b/arch/mips/cpu/mips64/Makefile new file mode 100644 index 000..eb8e005 --- /dev/null +++ b/arch/mips/cpu/mips64/Makefile @@ -0,0 +1,48 @@ +# +# (C) Copyright 2003-2006 +# Wolfgang Denk, DENX Software Engineering, w...@denx.de. +# +# See file CREDITS f

[U-Boot] [Patch 3/16] add mips64/cache.S

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/cpu/mips64/cache.S b/arch/mips/cpu/mips64/cache.S new file mode 100644 index 000..ba7c1b8 --- /dev/null +++ b/arch/mips/cpu/mips64/cache.S @@ -0,0 +1,229 @@ +/* + * Cache-handling routined for MIPS CPUs + * + * Copyright (c) 2003 Wolfgang Denk + * + * See file CREDITS

[U-Boot] [Patch 4/16] add mips64/config.mk

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/cpu/mips64/config.mk b/arch/mips/cpu/mips64/config.mk new file mode 100644 index 000..cec250a --- /dev/null +++ b/arch/mips/cpu/mips64/config.mk @@ -0,0 +1,36 @@ +# +# (C) Copyright 2003 +# Wolfgang Denk, DENX Software Engineering, +# +# See file CREDITS for list of peop

[U-Boot] [Patch 5/16] add mips64/cpu.h

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/cpu/mips64/cpu.c b/arch/mips/cpu/mips64/cpu.c new file mode 100644 index 000..1ead349 --- /dev/null +++ b/arch/mips/cpu/mips64/cpu.c @@ -0,0 +1,116 @@ +/* + * (C) Copyright 2003 + * Wolfgang Denk, DENX Software Engineering, + * + * See file CREDITS for list of people who

[U-Boot] [Patch 6/16] add mips64/interrupts.c

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/cpu/mips64/interrupts.c b/arch/mips/cpu/mips64/interrupts.c new file mode 100644 index 000..27aa179 --- /dev/null +++ b/arch/mips/cpu/mips64/interrupts.c @@ -0,0 +1,38 @@ +/* + * (C) Copyright 2003 + * Wolfgang Denk, DENX Software Engineering, + * + * See file CREDITS fo

[U-Boot] [Patch 7/16] add mips64/start.S

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/cpu/mips64/start.S b/arch/mips/cpu/mips64/start.S new file mode 100644 index 000..2208b6b --- /dev/null +++ b/arch/mips/cpu/mips64/start.S @@ -0,0 +1,374 @@ +/* + * Startup Code for MIPS64 CPU-core + * + * Copyright (c) 2003 Wolfgang Denk + * + * See file CREDITS for l

[U-Boot] [Patch 8/16] add mips64/time.c

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/cpu/mips64/time.c b/arch/mips/cpu/mips64/time.c new file mode 100644 index 000..350896a --- /dev/null +++ b/arch/mips/cpu/mips64/time.c @@ -0,0 +1,86 @@ +/* + * (C) Copyright 2003 + * Wolfgang Denk, DENX Software Engineering, w...@denx.de. + * + * See file CREDITS for lis

[U-Boot] [Patch 9/16] make UNCACHED_SDRAM available for mips64

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/include/asm/addrspace.h b/arch/mips/include/asm/addrspace.h index 3a1e6d6..b768bb5 100644 --- a/arch/mips/include/asm/addrspace.h +++ b/arch/mips/include/asm/addrspace.h @@ -136,7 +136,7 @@ cannot access physical memory directly from core */ #define UNCACHED_SDRAM(a) (((

[U-Boot] [Patch 10/16] add supports to mips64 in io operation

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/arch/mips/include/asm/io.h b/arch/mips/include/asm/io.h index 025012a..80eab75 100644 --- a/arch/mips/include/asm/io.h +++ b/arch/mips/include/asm/io.h @@ -120,12 +120,20 @@ static inline void set_io_port_base(unsigned long base) */ extern inline phys_addr_t virt_to_phys(volatile vo

[U-Boot] [Patch 13/16] add link script of qemu-mips64

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/board/qemu-mips/u-boot.lds b/board/qemu-mips/u-boot.lds index 9460b20..06db68d 100644 --- a/board/qemu-mips/u-boot.lds +++ b/board/qemu-mips/u-boot.lds @@ -24,7 +24,11 @@ /* OUTPUT_FORMAT("elf32-bigmips", "elf32-bigmips", "elf32-bigmips") */ +#if defined(CONFIG_64BIT) +OUTPUT_FORMAT

[U-Boot] [Patch 12/16] add config about mips64

2012-08-14 Thread Zhi-zhou Zhang
diff --git a/board/qemu-mips/config.mk b/board/qemu-mips/config.mk index 27cd34a..6a3d7a7 100644 --- a/board/qemu-mips/config.mk +++ b/board/qemu-mips/config.mk @@ -2,9 +2,16 @@ # Qemu -M mips system emulator # See http://fabrice.bellard.free.fr/qemu # +ifeq "$(CPU)" "mips64" +# ROM version +#CO

  1   2   3   >