Re: [U-Boot] [PATCH V2 00/21] Add mx6solo/mx6duallite support

2012-09-21 Thread Dirk Behme
Hi Troy, On 22.09.2012 04:38, Troy Kisky wrote: After this series the same binary will run on a Saberlite board using any of the pin compatible processors mx6 quad, mx6 duallite, or mx6 solo. This is accomplished using a plugin and a table built by mkimage. Could you briefly explain or give a

Re: [U-Boot] [PATCH V2 19/21] mx6qsabrelite: add support for mx6 solo/duallite

2012-09-21 Thread Vikram Narayanan
On 9/22/2012 8:09 AM, Troy Kisky wrote: Signed-off-by: Troy Kisky --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 231 ++--- board/freescale/mx6qsabrelite/pads.h | 172 ++ 2 files changed, 226 insertions(+), 177 deletions(-) create mode 100

Re: [U-Boot] [PATCH V2 18/21] arch-mx6: add mx6dl_pins.h

2012-09-21 Thread Vikram Narayanan
On 9/22/2012 8:09 AM, Troy Kisky wrote: Only the values used in the sabrelite board are added currently. Add more as other boards use them. Though there are no users, better add it for completeness. This should also avoid people patching this file often. Signed-off-by: Troy Kisky --- arc

Re: [U-Boot] [PATCH V2 08/21] mx6: add plugin file for use with imximage.cfg

2012-09-21 Thread Vikram Narayanan
On 9/22/2012 8:09 AM, Troy Kisky wrote: The "plugin" command of mkimage can take this file as an argument. An explanation of what is "plugin" and what the file plugin.S does should be better. Not in the subject of the patch, you can place it as a README. Signed-off-by: Troy Kisky --- ar

[U-Boot] [PULL] please pull u-boot-atmel/master into u-boot-arm/master

2012-09-21 Thread Andreas Bießmann
Another resent ... sorry for the noise! I found the root cause why it did not appear on patchwork, my sendemail.assume8bitencoding was set to 'true' but it should be set to 'UTF-8'. Therefore the header where corupted (Content-Type: text/plain; charset=true). This mail should finally reach patchwor

[U-Boot] [PULL] please pull u-boot-atmel/master into u-boot-arm/master

2012-09-21 Thread Andreas Bießmann
resent cause the old one didn't make its way into patchwork. Dear Albert Aribaud, as mentioned before there are some fixes left for this upcoming release, here they are. The following changes since commit 057df193b40d31799d41d43bc832a972f658bfe4: Merge remote-tracking branch 'u-boot-ti/master

[U-Boot] [PATCH V2 15/21] mx6q_4x_mt41j128.cfg: reorder for more efficient storage

2012-09-21 Thread Troy Kisky
Repeating data values can be stored more efficiently. Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 31 +- 1 file changed, 15 insertions(+), 16 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/

Re: [U-Boot] [PATCH V2 17/21] mx6: soc: add get_cpu_type

2012-09-21 Thread Fabio Estevam
Hi Troy, On Fri, Sep 21, 2012 at 11:39 PM, Troy Kisky wrote: > Add function to return the processor type. > > i.e. MX6Q, MX6DL, MX6SOLO, MX6SOLOLITE On arch/arm/imx-common/cpu.c we have: static const char *get_imx_type(u32 imxtype) { switch (imxtype) { case 0x63:

[U-Boot] [PATCH V2 13/21] mx6q_4x_mt41j128.cfg: use ddr3 mode for reset

2012-09-21 Thread Troy Kisky
Bits 19-18 of IOMUXC_IOMUXC_SW_PAD_CTL_PAD_DRAM_RESET should be 3 for DDR3 mode. The current value of 0 is reserved in TRM. Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imx/ddr/mx

[U-Boot] [PATCH V2 10/21] mx6q_4x_mt41j128.cfg: allow plugin to work

2012-09-21 Thread Troy Kisky
Enabling plugin mode seems to require this additional memory write for ddr3 initialization. Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |2 ++ 1 file changed, 2 insertions(+) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/

[U-Boot] [PATCH V2 17/21] mx6: soc: add get_cpu_type

2012-09-21 Thread Troy Kisky
Add function to return the processor type. i.e. MX6Q, MX6DL, MX6SOLO, MX6SOLOLITE Signed-off-by: Troy Kisky --- arch/arm/cpu/armv7/mx6/soc.c | 26 ++ arch/arm/include/asm/arch-mx6/sys_proto.h |6 ++ 2 files changed, 32 insertions(+) diff --git a/a

[U-Boot] [PATCH V2 18/21] arch-mx6: add mx6dl_pins.h

2012-09-21 Thread Troy Kisky
Only the values used in the sabrelite board are added currently. Add more as other boards use them. Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/mx6dl_pins.h | 118 1 file changed, 118 insertions(+) create mode 100644 arch/arm/include/asm/arch-mx6/mx

[U-Boot] [PATCH V2 19/21] mx6qsabrelite: add support for mx6 solo/duallite

2012-09-21 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/mx6qsabrelite/mx6qsabrelite.c | 231 ++--- board/freescale/mx6qsabrelite/pads.h | 172 ++ 2 files changed, 226 insertions(+), 177 deletions(-) create mode 100644 board/freescale/mx6qsabrelite/pads.h dif

[U-Boot] [PATCH V2 21/21] mx6qsabrelite: change CONFIG_SYS_PROMPT

2012-09-21 Thread Troy Kisky
The prompt is not appropriate if not running on a mx6q processor. Signed-off-by: Troy Kisky --- include/configs/mx6qsabrelite.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/mx6qsabrelite.h b/include/configs/mx6qsabrelite.h index 72d0154..98fbb8d 100644 -

[U-Boot] [PATCH V2 09/21] mx6q_4x_mt41j128.cfg: use symbols instead of hardcoded constants

2012-09-21 Thread Troy Kisky
This allows us to generate plugin data or DCD rom style data simply by defining USE_PLUGIN Signed-off-by: Troy Kisky --- arch/arm/include/asm/arch-mx6/imx-mkimage.h | 177 ++ board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 248 +- 2 files changed, 304 in

[U-Boot] [PATCH V2 20/21] mx6q_4x_mt41j128.cfg: add mx6 solo/duallite support

2012-09-21 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 127 +++--- 1 file changed, 92 insertions(+), 35 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 60eae86..46fd1dc 100644

[U-Boot] [PATCH V2 08/21] mx6: add plugin file for use with imximage.cfg

2012-09-21 Thread Troy Kisky
The "plugin" command of mkimage can take this file as an argument. Signed-off-by: Troy Kisky --- arch/arm/cpu/armv7/mx6/Makefile |5 +- arch/arm/cpu/armv7/mx6/plugin.S | 164 ++ arch/arm/include/asm/arch-mx6/imx-regs.h |1 + 3 files changed,

[U-Boot] [PATCH V2 11/21] mx6q_4x_mt41j128.cfg: enable plugin mode

2012-09-21 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index eea8d3a..2af4265 100644 --- a/board/freescale/imx/dd

[U-Boot] [PATCH V2 06/21] imximage: add plugin commands

2012-09-21 Thread Troy Kisky
Add commands plugin address filename iomux_entry addr, data1 [, data2, [, data3]] write_entry addr, data1 [, data2, [, data3]] Signed-off-by: Troy Kisky --- tools/imximage.c | 334 -- tools/imximage.h | 11 +- 2 files changed, 283 insertions

[U-Boot] [PATCH V2 04/21] imximage: cleanup parsing

2012-09-21 Thread Troy Kisky
Move to pulling tokens instead of pushing them. Remove need for switch statements to process commands. Add error messages such as "command not finished", "extra data at end of line", and "invalid token" Add ';' as command separator. Signed-off-by: Troy Kisky --- tools/imximage.c | 380 +

[U-Boot] [PATCH V2 12/21] mx6q_4x_mt41j128.cfg: add comments

2012-09-21 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg | 56 ++ 1 file changed, 48 insertions(+), 8 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 2af4265..3a1f1bc 100644 -

[U-Boot] [PATCH V2 14/21] mx6q_4x_mt41j128.cfg: skip initiailizing non-existent memory

2012-09-21 Thread Troy Kisky
Sabrelite does not have memory associated with CS1 Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |5 - 1 file changed, 5 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 904276a..18c

[U-Boot] [PATCH V2 16/21] mx6q_4x_mt41j128.cfg: force ZQ calibration

2012-09-21 Thread Troy Kisky
Signed-off-by: Troy Kisky --- board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg b/board/freescale/imx/ddr/mx6q_4x_mt41j128.cfg index 00712c6..60eae86 100644 --- a/board/freescale/im

[U-Boot] [PATCH V2 03/21] imximage: enable word writes for version2 header

2012-09-21 Thread Troy Kisky
Before, only 1 write_dcd_command table was built. Now, a new table is built when the size changes. Signed-off-by: Troy Kisky --- tools/imximage.c | 153 ++ tools/imximage.h | 15 ++ 2 files changed, 77 insertions(+), 91 deletions(-) dif

[U-Boot] [PATCH V2 02/21] imximage: check dcd_len as entries added

2012-09-21 Thread Troy Kisky
Before the len was checked after the entire file was processed, so it could have already overflowed. Signed-off-by: Troy Kisky --- tools/imximage.c | 26 +++--- 1 file changed, 11 insertions(+), 15 deletions(-) diff --git a/tools/imximage.c b/tools/imximage.c index 25d3b74

[U-Boot] [PATCH V2 01/21] imximage: make header variable length

2012-09-21 Thread Troy Kisky
Also, the header offset is no longer right before the code starts. Signed-off-by: Troy Kisky --- Series tested on an mx51 and mx6q --- tools/imximage.c | 142 +++--- tools/imximage.h | 10 ++-- 2 files changed, 87 insertions(+), 65 deletions(-)

[U-Boot] [PATCH V2 05/21] imximage: add expression evaluation

2012-09-21 Thread Troy Kisky
Basic expressions with order precedence is now supported. ie. (3 + ((1+2*3)/--2 + --5 *(8/4))) is 16. Signed-off-by: Troy Kisky --- tools/imximage.c | 172 ++ 1 file changed, 162 insertions(+), 10 deletions(-) diff --git a/tools/imximage.

[U-Boot] [PATCH V2 00/21] Add mx6solo/mx6duallite support

2012-09-21 Thread Troy Kisky
After this series the same binary will run on a Saberlite board using any of the pin compatible processors mx6 quad, mx6 duallite, or mx6 solo. This is accomplished using a plugin and a table built by mkimage. I made it easy to revert back to the current method by removing #define USE_PLUGIN from

Re: [U-Boot] [PULL} please pull u-boot-atmel/master into u-boot-arm/master

2012-09-21 Thread Andreas Bießmann
Dear Albert Aribaud, This One Sees to be missed or rc1 Best regards Andreas Bießmann Am Montag, 17. September 2012 schrieb Andreas Bießmann : > Dear Albert Aribaud, > > as mentioned before there are some fixes left for this upcoming release, > here > they are. > > The following changes since

Re: [U-Boot] Custodians, Maintainers and old platforms

2012-09-21 Thread Albert ARIBAUD
Hi Tom, On Fri, 21 Sep 2012 17:28:18 -0700, Tom Rini wrote: > Hey all, > > (I had attempted to bcc this to all listed maintainer, but that upset > Google greatly. I'll send this out manually instead later). > > I'd like to put this out here for custodians and maintainers to > consider, especi

Re: [U-Boot] [PATCH] i.MX6: define IOMUX_GPR3 register bitfields

2012-09-21 Thread Eric Nelson
On 09/21/2012 05:14 PM, Troy Kisky wrote: On 9/21/2012 2:41 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/imx-regs.h | 48 ++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h

[U-Boot] [PATCH] edminiv2: increase malloc len to 256K

2012-09-21 Thread Albert ARIBAUD
Malloc len of 128K caused a warning from ehci_hcd asking for more. Signed-off-by: Albert ARIBAUD --- Note: this has been tested on target -- actually, target is now flashed with the merge of u-boot/arm and u-boot master branches plus this patch. include/configs/edminiv2.h |2 +- 1 file chan

Re: [U-Boot] [RFC PATCH v2 0/6] Port of MUSB driver from Linux

2012-09-21 Thread Marek Vasut
Dear Ilya Yanok, > Current MUSB driver in U-Boot uses old UDC API while new gagdet > client drivers need new gadget API. Also current MUSB driver has > some significant limitations (like inability to handle tx for > endpoints other than ep0). So I think port of new Linux driver is > desirable. >

Re: [U-Boot] [RFC PATCH v2 5/6] am33xx: init OTG hardware and new musb gadget driver

2012-09-21 Thread Marek Vasut
Dear Ilya Yanok, > AM33xx has support for dual port MUSB OTG controller. This patch > adds initialization for the controller using new MUSB gadget > driver and ether gadget. > > Signed-off-by: Ilya Yanok > --- > Changes in v2: > - init both musb IPs (conditionally) from arch_init not >from

Re: [U-Boot] [RFC PATCH v2 4/6] musb-new: dsps backend driver

2012-09-21 Thread Marek Vasut
Dear Ilya Yanok, > Backend driver for MUSB OTG controllers found on TI AM33xx and > TI81xx SoCs (tested with AM33xx only). > > Signed-off-by: Ilya Yanok > --- > Changes in v2: > - rename backend config option to CONFIG_USB_MUSB_DSPS > - we are providing host support now so add yourself to usb.

Re: [U-Boot] [PATCHv4] [RFC] DM: early_malloc for DM added.

2012-09-21 Thread Tomas Hlavacek
Hello all, I have sent a new version. Although I tried to take into account all the opinions and comments I might have missed something. On Wed, Sep 19, 2012 at 1:29 AM, Graeme Russ wrote: >> >> I'd say, pull out the modification of global data into separate patch and >> put it >> before this p

Re: [U-Boot] [PATCH v5] [RFC] early_malloc for DM added.

2012-09-21 Thread Marek Vasut
Dear Tomas Hlavacek, > early_malloc for DM with support for more heaps and lightweight > first heap in the same memory as an early stack. > > Adaptation layer for seamless calling of early_malloc or dlmalloc from > DM based on init stage added (dmmalloc() and related functions). > > Signed-off-b

[U-Boot] Custodians, Maintainers and old platforms

2012-09-21 Thread Tom Rini
Hey all, (I had attempted to bcc this to all listed maintainer, but that upset Google greatly. I'll send this out manually instead later). I'd like to put this out here for custodians and maintainers to consider, especially in light of the device model work that's not just coming but has already

[U-Boot] v2012.10-rc1 is now released

2012-09-21 Thread Tom Rini
Hey all, I've tagged and pushed v2012.10-rc1. It's not quite as far along as I was hoping, so here's my plans for early next week to get -rc2 on-track. - An update u-boot-video pull request. - Rob and Stephen's partition / fs related changes, once Stephen is happy with the pre-patch he's workin

[U-Boot] [PATCH v5] [RFC] early_malloc for DM added.

2012-09-21 Thread Tomas Hlavacek
early_malloc for DM with support for more heaps and lightweight first heap in the same memory as an early stack. Adaptation layer for seamless calling of early_malloc or dlmalloc from DM based on init stage added (dmmalloc() and related functions). Signed-off-by: Tomas Hlavacek --- arch/arm/inc

Re: [U-Boot] Pull request: u-boot-staging

2012-09-21 Thread Tom Rini
On Sat, Sep 22, 2012 at 01:10:51AM +0200, Anatolij Gustschin wrote: > Hello Tom, > > Please pull some patches from my staging branch. There is a warnings fix, > so we will get a cleaner MAKEALL log. > > Three patches from Simon were submitted as part of tegra LCD driver > series, other patches of

Re: [U-Boot] Pull request: u-boot-staging

2012-09-21 Thread Tom Rini
On Sat, Sep 22, 2012 at 01:10:51AM +0200, Anatolij Gustschin wrote: > Hello Tom, > > Please pull some patches from my staging branch. There is a warnings fix, > so we will get a cleaner MAKEALL log. > > Three patches from Simon were submitted as part of tegra LCD driver > series, other patches of

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

2012-09-21 Thread Tom Rini
On Fri, Sep 21, 2012 at 11:35:17PM +0200, Albert ARIBAUD wrote: > Hello Wolfgang, > > The following changes since commit > 6e2fbdea1b26d75314d87c380a36b0015bf824cf: > > Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging > (2012-09-02 00:44:09 +0200) > > are available in the gi

Re: [U-Boot] [PATCH] i.MX6: define IOMUX_GPR3 register bitfields

2012-09-21 Thread Troy Kisky
On 9/21/2012 2:41 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/imx-regs.h | 48 ++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx

Re: [U-Boot] [RFC PATCH 00/17] Convert p1_p2_rdb_pc to new spl

2012-09-21 Thread Tom Rini
On Fri, Sep 21, 2012 at 07:01:10PM -0500, Scott Wood wrote: > This is based on a merge of top-of-tree plus the 85xx tree and the spl > framework branch (it doesn't use the SPL framework code because of size > constraints, but I wanted to make sure there were no conflicts with it). > > Tested on P

Re: [U-Boot] [RFC PATCH 14/17] spl: introduce CONFIG_SPL_TARGET

2012-09-21 Thread Tom Rini
On Fri, Sep 21, 2012 at 07:01:24PM -0500, Scott Wood wrote: > Currently it seems that SPLs rely on the user to specify the final target > on the make command line. This is a departure from traditional U-Boot > practice > and results in a lack of build coverage in MAKEALL. > > Now boards can spe

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, [...] > > > one or none - requests on USB flashes should not pass through > > > block_controller_driver. > > > > Uh, what do they pass into then ? > > their parent (an USB hub) block_device instance (aka. partition/disk) directly connected to USB hub instance does not see

[U-Boot] [RFC PATCH 05/17] powerpc/mpc8xxx: move LAW code into arch/powerpc/cpu/mpc8xxx

2012-09-21 Thread Scott Wood
It's arch code and not a driver, so move it where it belongs. When it originally went into drivers/misc there was no 8xxx CPU directory. This will make new-SPL support a little easier since we can keep the CPU stuff together and not need to pull stuff in from drivers/misc. Signed-off-by: Scott W

[U-Boot] [RFC PATCH 16/17] powerpc/mpc85xx/p2020rdb-pc: fix SPL DDR config

2012-09-21 Thread Scott Wood
This is a temporary fix, and may not be appropriate for all revisions of the board. Presumably the original numbers worked for someone. These values are what the SPD code came up with on a P2020RDB-PCA. The real solution is to have the SPL load into L2 cache, so that the main U-Boot can use SPD.

[U-Boot] [RFC PATCH 17/17] ns16550: wait for TENT before initializing

2012-09-21 Thread Scott Wood
This prevents output problems (including a loss of synchronization observed on p2020 that persisted for quite a while) if SPL has output still on its way out. I'm not sure why this is only now beginning to happen, though. Signed-off-by: Scott Wood --- drivers/serial/ns16550.c |3 +++ 1 file

[U-Boot] [RFC PATCH 14/17] spl: introduce CONFIG_SPL_TARGET

2012-09-21 Thread Scott Wood
Currently it seems that SPLs rely on the user to specify the final target on the make command line. This is a departure from traditional U-Boot practice and results in a lack of build coverage in MAKEALL. Now boards can specify CONFIG_SPL_TARGET to determine what gets built by default. Eventuall

[U-Boot] [RFC PATCH 12/17] spl/nand: config symbol documentation

2012-09-21 Thread Scott Wood
Document parameters used for specifying the NAND image to be loaded. Also fix the definition of CONFIG_SPL_NAND_SIMPLE -- it's only nand_spl_simple.c, not the entire nand directory. The word "simple" is there for a reason. :-) Signed-off-by: Scott Wood --- README | 17 +++-- 1 f

[U-Boot] [RFC PATCH 13/17] spl/nand: Add minimal-spl driver for Freescale eLBC NAND

2012-09-21 Thread Scott Wood
This is basically a copy of nand_spl/nand_boot_fsl_elbc.c (which will go away when its last user does). Unlike the old file, CONFIG_NAND_ENV_DST is supported. nand_spl_load.c is not used because I found that keeping it in the same file (and thus able to use static functions) kept things smaller.

[U-Boot] [RFC PATCH 15/17] p1_p2_rdb_pc: convert from nand_spl to new spl

2012-09-21 Thread Scott Wood
Signed-off-by: Scott Wood Cc: Andy Fleming --- include/configs/p1_p2_rdb_pc.h| 54 nand_spl/board/freescale/p1_p2_rdb_pc/Makefile| 137 - nand_spl/board/freescale/p1_p2_rdb_pc/nand_boot.c | 132 3 files changed, 28 ins

[U-Boot] [RFC PATCH 10/17] powerpc/p1_p2_rdb_pc: new SPL support

2012-09-21 Thread Scott Wood
Introduces CONFIG_SPL_RELOC_TEXT_BASE and CONFIG_SPL_RELOC_STACK. Signed-off-by: Scott Wood Cc: Andy Fleming --- README |9 ++ board/freescale/p1_p2_rdb_pc/Makefile | 16 board/freescale/p1_p2_rdb_pc/p1_p2_rdb_pc.c |2 +- board/freescale

[U-Boot] [RFC PATCH 11/17] spl/nand: introduce CONFIG_SPL_NAND_MINIMAL

2012-09-21 Thread Scott Wood
This will be used by SPL builds that do not use the standard nand_base.c and friends. Signed-off-by: Scott Wood --- README|3 +++ drivers/mtd/nand/Makefile | 41 +++-- 2 files changed, 34 insertions(+), 10 deletions(-) diff --git a/R

[U-Boot] [RFC PATCH 07/17] spl: include resetvec and lib8xxx

2012-09-21 Thread Scott Wood
The toplevel makefile hardcodes this stuff, so spl/Makefile needs to as well. Signed-off-by: Scott Wood --- spl/Makefile | 21 + 1 file changed, 21 insertions(+) diff --git a/spl/Makefile b/spl/Makefile index 0954f51..7085224 100644 --- a/spl/Makefile +++ b/spl/Makefile @@

[U-Boot] [RFC PATCH 09/17] spl/85xx: new SPL support

2012-09-21 Thread Scott Wood
Update CONFIG_RAMBOOT and CONFIG_NAND_SPL references to accept CONFIG_SPL and CONFIG_SPL_BUILD, respectively. CONFIG_NAND_SPL can be removed once the last mpc85xx nand_spl target is gone. CONFIG_RAMBOOT will need to remain for other use cases, but it doesn't seem right to overload it for meaning

[U-Boot] [RFC PATCH 01/17] Add u-boot-pad.bin target to the Makefile

2012-09-21 Thread Scott Wood
From: José Miguel Gonçalves Samsung's S3C24XX SoCs need this in order to generate a binary image with a padded SPL concatenated with U-Boot. Signed-off-by: José Miguel Gonçalves Signed-off-by: Scott Wood --- Makefile | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --

[U-Boot] [RFC PATCH 08/17] spl/powerpc: introduce CONFIG_SPL_INIT_MINIMAL

2012-09-21 Thread Scott Wood
Signed-off-by: Scott Wood --- README|3 +++ arch/powerpc/cpu/mpc85xx/Makefile | 39 - arch/powerpc/cpu/mpc85xx/start.S | 37 +-- arch/powerpc/cpu/mpc8xxx/Makefile | 16 +++ arch/

[U-Boot] [RFC PATCH 06/17] spl/mpc85xx: move udelay to cpu code

2012-09-21 Thread Scott Wood
It applies to non-Freescale 85xx boards as well as Freescale boards, so it doesn't belong in board/freescale. Plus, it needs to come out of nand_spl if it's to be used by the new SPL. Signed-off-by: Scott Wood Cc: Andy Fleming --- arch/powerpc/cpu/mpc85xx/cpu_init_nand.c | 17 +

[U-Boot] [RFC PATCH 04/17] powerpc/mpc85xx: fix TLB alignment

2012-09-21 Thread Scott Wood
In the RAMBOOT/SPL case we were creating a TLB entry starting at CONFIG_SYS_MONITOR_BASE, and just hoping that the base was properly aligned for the TLB entry size. This turned out to not be the case with NAND SPL because the main U-Boot starts at an offset into the image in order to skip the SPL

[U-Boot] [RFC PATCH 03/17] powerpc: remove .fixup test

2012-09-21 Thread Scott Wood
This was introduced by commit 244615197469dd6fe75ae082f38424b97c79aeaf, but it fails in a minimal SPL build where the only thing in arch/powerpc/lib is cache.c, which apparently doesn't generate any fixup records. If this check is really still needed, it should be moved somewhere more appropriate,

[U-Boot] [RFC PATCH 00/17] Convert p1_p2_rdb_pc to new spl

2012-09-21 Thread Scott Wood
This is based on a merge of top-of-tree plus the 85xx tree and the spl framework branch (it doesn't use the SPL framework code because of size constraints, but I wanted to make sure there were no conflicts with it). Tested on P2020RDB-PC_NAND and P1021RDB-PC_36BIT_NAND. José Miguel Gonçalves (1):

[U-Boot] [RFC PATCH 02/17] spl: rename u-boot-pad.bin to u-boot-with-spl.bin

2012-09-21 Thread Scott Wood
This is temporary until we settle on a naming scheme. Signed-off-by: Scott Wood --- Makefile |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 025106e..dd879a5 100644 --- a/Makefile +++ b/Makefile @@ -433,14 +433,14 @@ $(obj)u-boot.sha1:

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Pavel Herrmann
On Friday 21 of September 2012 23:11:57 Marek Vasut wrote: > Dear Pavel Herrmann, > > [...] > > > > I mean the particular block_controller_driver instance routes the > > > "read/write block" request from downstream block_device through > > > SATA/SD/SCSI/whatever "library" or "layer" back into it

[U-Boot] [ELCE] Nov. 5.-7. meeting

2012-09-21 Thread Marek Vasut
Hi guys, let's do some informal beer-drinking meeting at the ELCE [1] that takes place Nov. 5.-7. in Barcelona. Who's joining? [1] http://events.linuxfoundation.org/events/embedded-linux-conference-europe Best regards, Marek Vasut ___ U-Boot mailing l

Re: [U-Boot] Pull request: u-boot-video/master

2012-09-21 Thread Tom Rini
On Sat, Sep 22, 2012 at 12:10:07AM +0200, Anatolij Gustschin wrote: > Hello Tom, > > The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721: > > Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 > 09:17:27 +0200) > > are available in the git repository

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

2012-09-21 Thread Anatolij Gustschin
Hello Tom, Please pull some patches from my staging branch. There is a warnings fix, so we will get a cleaner MAKEALL log. Three patches from Simon were submitted as part of tegra LCD driver series, other patches of this series still need rework. We should merge these three patches now so that th

Re: [U-Boot] [PATCH 2/2] i.MX: shut down video before launch of O/S

2012-09-21 Thread Eric Nelson
Hi Fabio, On 09/21/2012 03:41 PM, Fabio Estevam wrote: Hi Eric, Thanks for working on this. I will try it probably tomorrow. On Fri, Sep 21, 2012 at 5:36 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson Please add a commit log description. This is an important bug fix. With the framebuf

[U-Boot] [PATCH V4] i.MX6: mx6qsabrelite: Add splash screen support

2012-09-21 Thread Eric Nelson
Adds support for two LVDS panels and one RGB panel to the SABRE-Lite board: Hannstar-XGA - 1024 x 768 LVDS (Freescale part number MCIMX-LVDS1) wsvga-lvds - 1024 x 600 LVDS (Boundary p/n Nit6X_1024x600) wvga-rgb - 800 x 480 RGB (Boundary p/n Nit6X_800x480) Aut

Re: [U-Boot] [PATCH V2] disk: make get_partition_info() always available to disk.c

2012-09-21 Thread Stephen Warren
On 09/21/2012 04:51 PM, Tom Rini wrote: > On Fri, Sep 21, 2012 at 04:46:54PM -0600, Stephen Warren wrote: >> From: Stephen Warren >> >> Now that get_device_and_partition() always calls >> get_partition_info() when disk.c is compiled, we must always >> compile the function, rather than ifdef it aw

Re: [U-Boot] [PATCH V2] disk: make get_partition_info() always available to disk.c

2012-09-21 Thread Tom Rini
On Fri, Sep 21, 2012 at 04:46:54PM -0600, Stephen Warren wrote: > From: Stephen Warren > > Now that get_device_and_partition() always calls get_partition_info() > when disk.c is compiled, we must always compile the function, rather > than ifdef it away. > > The implementation must be conditional

[U-Boot] [PATCH V2] disk: make get_partition_info() always available to disk.c

2012-09-21 Thread Stephen Warren
From: Stephen Warren Now that get_device_and_partition() always calls get_partition_info() when disk.c is compiled, we must always compile the function, rather than ifdef it away. The implementation must be conditional based on CONFIG_CMD_* etc., since that's what e.g. part_dos.c uses to ifdef o

[U-Boot] [PATCH] add check infrastructure, default sparse

2012-09-21 Thread Kim Phillips
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 CHECK_ENDIAN to the otherwise linux kernel default CHECKFLAGS. Sign

Re: [U-Boot] [PATCH 2/2] i.MX: shut down video before launch of O/S

2012-09-21 Thread Fabio Estevam
Hi Eric, Thanks for working on this. I will try it probably tomorrow. On Fri, Sep 21, 2012 at 5:36 PM, Eric Nelson wrote: > Signed-off-by: Eric Nelson Please add a commit log description. This is an important bug fix. With the framebuffer enabled in U-boot, I get kernel hangs at aproximately

Re: [U-Boot] [PATCH] pci: fix some warnings related to assumptions about

2012-09-21 Thread Anatolij Gustschin
Hi, On Wed, 19 Sep 2012 09:47:36 -0500 Kumar Gala wrote: > The following commit introduced some warnings associated with using > pci_addr_t instead of a proper 32-bit data type. > > commit af778c6d9e2b945ee03cbc53bb976238a3374f33 > Author: Andrew Sharp > Date: Wed Aug 1 12:27:16 2012 + >

Re: [U-Boot] [PATCH] disk: make get_partition_info() always available to disk.c

2012-09-21 Thread Stephen Warren
On 09/21/2012 04:05 PM, Stephen Warren wrote: > From: Stephen Warren > > Now that get_device_and_partition() always calls get_partition_info() > when disk.c is compiled, we must always compile the function, rather > than ifdef it away. > > Technically, this change is required before Rob's "disk/

[U-Boot] Pull request: u-boot-video/master

2012-09-21 Thread Anatolij Gustschin
Hello Tom, The following changes since commit a6f0c4faa4c65a7b7048b12c9d180d7e1aad1721: Merge branch 'master' of git://git.denx.de/u-boot-avr32 (2012-09-04 09:17:27 +0200) are available in the git repository at: git://git.denx.de/u-boot-video.git master Nikita Kiryanov (5): common l

[U-Boot] [PATCH] disk: make get_partition_info() always available to disk.c

2012-09-21 Thread Stephen Warren
From: Stephen Warren Now that get_device_and_partition() always calls get_partition_info() when disk.c is compiled, we must always compile the function, rather than ifdef it away. Technically, this change is required before Rob's "disk/part: introduce get_device_and_partition" patch. However, at

[U-Boot] [RFC PATCH 1/5] env: Add support for callbacks to environment vars

2012-09-21 Thread Joe Hershberger
Add support for callbacks to the "hashtable" functions. One check-patch warning to inter-op with existing hashtable code: WARNING: do not add new typedefs +typedef struct entry ENTRY; Signed-off-by: Joe Hershberger --- arch/arm/cpu/u-boot.lds | 7 +++ common/Makefile | 2 + common/e

[U-Boot] [RFC PATCH 3/5] env: Add a bootfile env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded bootfile handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c| 13 - include/env_callback.h | 2 +- net/net.c | 16 3 files changed, 17 insertions(+), 14 deletions(-) diff --git a/common/cm

[U-Boot] [RFC PATCH 5/5] env: Add a console env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded console handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_nvedit.c| 31 --- common/console.c | 46 ++ include/env_callback.h | 1 + 3 files changed, 47 inserti

[U-Boot] [RFC PATCH 4/5] env: Add a baudrate env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded baudrate handler and use a callback instead Signed-off-by: Joe Hershberger --- common/Makefile| 2 +- common/cmd_nvedit.c| 35 -- common/serial.c| 58 ++ include/env_callback.h

[U-Boot] [RFC PATCH 2/5] env: Add a loadaddr env handler

2012-09-21 Thread Joe Hershberger
Remove the hard-coded loadaddr handler and use a callback instead Signed-off-by: Joe Hershberger --- common/cmd_load.c | 24 ++-- common/cmd_nvedit.c| 10 +- include/env_callback.h | 1 + 3 files changed, 24 insertions(+), 11 deletions(-) diff --git a/commo

[U-Boot] [RFC PATCH 0/5] Add environment call-back capability

2012-09-21 Thread Joe Hershberger
When a variable with a registered callback is inserted, deleted, or overwritten the callback is called and gives the system an opportunity to do something in response to the change. It also has the opportunuty to reject the change by returning non-zero. Before I go much further, I want to get a

Re: [U-Boot] [PATCH v4 0/6] tegra: Add NAND flash support

2012-09-21 Thread Stephen Warren
On 09/21/2012 03:44 PM, Tom Warren wrote: > Simon, > >> -Original Message- >> From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass >> Sent: Friday, September 07, 2012 2:33 PM >> To: Tom Warren >> Cc: U-Boot Mailing List; Stephen Warren; Scott Wood; Marek Vasut >> Subject

Re: [U-Boot] [PATCH] video/powerpc: don't touch DIU registers that we don't need

2012-09-21 Thread Anatolij Gustschin
Hi Timur, On Mon, 17 Sep 2012 16:12:42 -0500 Timur Tabi wrote: > Several DIU registers were being initialized either unnecessarily or to > wrong values. > > 1) All interrupts were enabled even though there's no interrupt handler. >Interrupts were left enabled when booting Linux. > > 2) Don

Re: [U-Boot] [PATCH V2] common/lcd: add protection from null bmp pointer

2012-09-21 Thread Anatolij Gustschin
Hi, On Mon, 20 Aug 2012 08:32:30 +0300 Nikita Kiryanov wrote: > If the bmp pointer is null then U-Boot will get stuck when trying > to load the image. > What's worse, it will get stuck before the U-Boot shell becomes > available to the user, thus making it difficult to correct the > situation. >

Re: [U-Boot] [PATCH v4 0/6] tegra: Add NAND flash support

2012-09-21 Thread Tom Warren
Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Friday, September 07, 2012 2:33 PM > To: Tom Warren > Cc: U-Boot Mailing List; Stephen Warren; Scott Wood; Marek Vasut > Subject: Re: [PATCH v4 0/6] tegra: Add NAND flash support >

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

2012-09-21 Thread Tom Rini
Hello, The following changes since commit d193c1b6eb05041c94ad9aacd8c94189d1dbc5f8: Merge remote-tracking branch 'u-boot-imx/master' (2012-09-21 00:26:19 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti master for you to fetch changes up to 16f452e1cfc3580683752d

[U-Boot] [PATCH] i.MX6: define IOMUX_GPR3 register bitfields

2012-09-21 Thread Eric Nelson
Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/imx-regs.h | 48 ++ 1 files changed, 48 insertions(+), 0 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/imx-regs.h b/arch/arm/include/asm/arch-mx6/imx-regs.h index cb284e2..13fe1bf 100644 --- a/a

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

2012-09-21 Thread Albert ARIBAUD
Hello Wolfgang, The following changes since commit 6e2fbdea1b26d75314d87c380a36b0015bf824cf: Merge branch 'ag...@denx.de' of git://git.denx.de/u-boot-staging (2012-09-02 00:44:09 +0200) are available in the git repository at: git://git.denx.de/u-boot-arm master for you to fetch changes

Re: [U-Boot] Please pull u-boot-ti/master

2012-09-21 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 09/21/12 14:07, Albert ARIBAUD wrote: > Hi Tom, > > On Thu, 20 Sep 2012 16:52:14 -0700, Tom Rini wrote: > >> Hey Albert, >> >> The following changes since commit >> d193c1b6eb05041c94ad9aacd8c94189d1dbc5f8: >> >> Merge remote-tracking branch '

Re: [U-Boot] [PATCH] mx28evk: Remove fecmxc_mii_postcall()

2012-09-21 Thread Marek Vasut
Dear Fabio Estevam, > fecmxc_mii_postcall() is specific to the KSZ9021 PHY on m28evk and > should not be used on mx28evk, which has LAN8270 instead. > > Signed-off-by: Fabio Estevam Acked-by: Marek Vasut This is a fix, so should go into current release. > --- > board/freescale/mx28evk/mx28e

Re: [U-Boot] [PATCH 01/11] DM: add block device core

2012-09-21 Thread Marek Vasut
Dear Pavel Herrmann, [...] > > I mean the particular block_controller_driver instance routes the > > "read/write block" request from downstream block_device through > > SATA/SD/SCSI/whatever "library" or "layer" back into itself. But the > > later "itself" is the implementation of the "library" o

Re: [U-Boot] [PATCH 2/2] i.MX: shut down video before launch of O/S

2012-09-21 Thread Eric Nelson
On 09/21/2012 01:56 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson --- arch/arm/imx-common/Makefile |1 + arch/arm/imx-common/preboot_os.c | 34 ++ 2 files changed, 35 insertions(+), 0 deletions(-) create mode 100644 arch/arm/imx-common/preboot_o

Re: [U-Boot] Please pull u-boot-ti/master

2012-09-21 Thread Albert ARIBAUD
Hi Tom, On Thu, 20 Sep 2012 16:52:14 -0700, Tom Rini wrote: > Hey Albert, > > The following changes since commit > d193c1b6eb05041c94ad9aacd8c94189d1dbc5f8: > > Merge remote-tracking branch 'u-boot-imx/master' (2012-09-21 > 00:26:19 +0200) > > are available in the git repository at: > > >

Re: [U-Boot] [PATCH 1/2] i.MX: mxc_ipuv3_fb: add ipuv3_fb_shutdown() routine to stop IPU before bootm

2012-09-21 Thread Eric Nelson
On 09/21/2012 01:56 PM, Eric Nelson wrote: Signed-off-by: Eric Nelson --- drivers/video/mxc_ipuv3_fb.c | 20 include/ipu_pixfmt.h |1 + 2 files changed, 21 insertions(+), 0 deletions(-) diff --git a/drivers/video/mxc_ipuv3_fb.c b/drivers/video/mxc_ipuv3_fb.

[U-Boot] [PATCH] i.MX6: set drive strength for parallel RGB pads

2012-09-21 Thread Eric Nelson
Default drive strength is disabled and won't function. Signed-off-by: Eric Nelson --- arch/arm/include/asm/arch-mx6/mx6x_pins.h | 58 ++-- 1 files changed, 29 insertions(+), 29 deletions(-) diff --git a/arch/arm/include/asm/arch-mx6/mx6x_pins.h b/arch/arm/include/asm/

  1   2   3   >