[U-Boot] [PATCH] kirkwood_nand: allow usage of NAND_ECC_SOFT_BCH

2013-01-16 Thread Holger Brunck
From: Gerlando Falauto If CONFIG_NAND_ECC_BCH is set use 4-bit error correction code instead of the 1-bit error correction code on the NAND device. Signed-off-by: Gerlando Falauto Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- drivers/mtd/nand/kirkwood_nand.c

[U-Boot] [PATCH 2/3] arm/km: use CONFIG_NAND_ECC_BCH

2013-01-16 Thread Holger Brunck
Switch from 1-bit ecc to 4-bit ecc. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/configs/km/km_arm.h b/include/configs/km/km_arm.h index cbf7bc3..766d

[U-Boot] [PATCH 3/3] arm/km: add support for kmsuv31 board

2013-01-16 Thread Holger Brunck
This board is from a u-boot point of view a mixture between kmnusa and a standard km_kirkwood board. We have our u-boot environment in the spi NOR flash, but we have a direct connection between the kirkwood and the piggy. A FPGA is connected via the PCIe interface. So we only have to select the spe

[U-Boot] [PATCH 1/3] arm/km: rename BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2013-01-16 Thread Holger Brunck
commit 9660e442 cosmetic: s/BOARD_LATE_INIT/CONFIG_BOARD_LATE_INIT removes BOARD_LATE_INIT and uses CONFIG_BOARD_LATE_INIT instead. Therefore we have to use this define. Signed-off-by: Holger Brunck cc: Valentin Longchamp cc: Prafulla Wadaskar --- include/configs/km/km_arm.h |2 +- 1 files

[U-Boot] [RFC PATCH 1/2] Initial net6.h

2013-01-16 Thread Chris Packham
From: Chris Packham Has the definition of an IPv6 address and IPv6 header. It may make sense to separate the v4 support from net.h (or to include this in net.h). Cc: Joe Hershberger Signed-off-by: Chris Packham --- include/net6.h | 43 +++ 1 file change

[U-Boot] [RFC PATCH 0/2] Initial IPv6 support

2013-01-16 Thread Chris Packham
Here's something simple to get started. IP6addr_t is added as a typedef (for consistency with IPaddr_t). I ended up borrowing and adapting the vsprintf code from Linux. Here is an example of the printf formatting With this code IP6addr_t addr6 = {.u6_addr16[0] = 0x3ffe, .u

[U-Boot] [RFC PATCH 2/2] lib/vsprintf.c: add IPv6 compressed format %pI6c

2013-01-16 Thread Chris Packham
From: Chris Packham Add support for "human friendly" IPv6 address representations as specified in http://tools.ietf.org/html/draft-ietf-6man-text-addr-representation-00 This code has been adapted from Linux kernel with minimal modification. Cc: Joe Hershberger Signed-off-by: Chris Packham ---

[U-Boot] [GIT PULL] u-boot-mips/master

2013-01-16 Thread Daniel Schwierzeck
Hi Tom, The following changes since commit 3a9d879f6f64585b819af728b53be0a05037fe0d: Prepare v2013.01 (2013-01-15 14:47:42 -0700) are available in the git repository at: git://git.denx.de/u-boot-mips.git master for you to fetch changes up to 54b08efcf2f4ff532ce99c53f341a59c193331a5: REA

Re: [U-Boot] [PATH v3 1/2] sf: Add status register reading support

2013-01-16 Thread Jagan Teki
Hi Simon, On Fri, Jan 11, 2013 at 9:29 PM, Simon Glass wrote: > Hi Jagan, > > On Fri, Jan 11, 2013 at 7:51 AM, Jagan Teki wrote: >> Hi Simon, >> >> On Fri, Jan 11, 2013 at 7:52 AM, Simon Glass wrote: >>> Hi Jagannadha >>> >>> On Thu, Jan 3, 2013 at 6:51 AM, Jagannadha Sutradharudu Teki >>> wro

Re: [U-Boot] [RFC PATCH 0/2] Initial IPv6 support

2013-01-16 Thread Chris Packham
On 01/16/2013 11:01 PM, Chris Packham wrote: > # > Scanned by MailMarshal - M86 Security's comprehensive email content security > solution. >

Re: [U-Boot] Flash Not Erased Problem with M29W128GL

2013-01-16 Thread Angelo Dureghello
Dear Ramesh, i am running last u-boot (pulled yesterday) on a coldfire m5307 and a SST 16bit flash, erasing works fine. >From your debug trace seems the correct erasing command (0x30) is sent. But the function you mentioned detect that flash is not erased. Are you using a 16bit port for data co

Re: [U-Boot] Function prototype conflicts with standalone apps

2013-01-16 Thread Chris Packham
Hi Albert, On 01/16/2013 08:25 PM, Albert ARIBAUD (U-Boot) wrote: > Hi Chris, > > On Wed, 16 Jan 2013 17:23:58 +1300, Chris Packham > wrote: > >> Hi, >> >> I've just run into something porting an existing out of tree board to >> u-boot 2012.10 but I think it points to a generic issue for standa

[U-Boot] [PATCH] Remove unused CONFIG_SYS_I2C_BUS[_SELECT]

2013-01-16 Thread Michael Jones
"CONFIG_SYS_I2C_BUS" and "CONFIG_SYS_I2C_BUS_SELECT" don't appear anywhere outside of config files. Signed-off-by: Michael Jones --- As far as I can tell, these CONFIG options never have existed outside of these config files - looking at omap3_beagle.h as an example, these lines were inserted wit

Re: [U-Boot] [STATUS] v2013.01 released

2013-01-16 Thread Benoît Thébaudeau
Dear Tom Rini, On Tuesday, January 15, 2013 11:17:28 PM, Tom Rini wrote: > U-Boot v2013.01 has been released and uploaded to git. I expect to > see > it on the ftp server soon. Thanks for the release. It has however not yet reached the FTP server, and I also don't see the 2013.01-rc versions the

Re: [U-Boot] configure USB Host1 in U-Boot of iMx53

2013-01-16 Thread Stefano Babic
On 16/01/2013 11:49, Sarvesh Gupta wrote: > > Dear All, > > I have added the USB host controller driver into our Mx53 loco board's u-boot > and also made some changes in mx53_loco.h and mx53_loco.c. > > Below is the complete log what I am getting on serial console: > > > > U-Boot 2009.08-dir

Re: [U-Boot] configure USB Host1 in U-Boot of iMx53

2013-01-16 Thread Fabio Estevam
Sarvesh, On Wed, Jan 16, 2013 at 9:24 AM, Stefano Babic wrote: > This ML is intended for U-Boot mainline. However, you are using a > version provided and modified by the manufacturer. Ask your support for > this, or use u-boot mainline (v2013.01) to post your questions on this > mailing list. U

Re: [U-Boot] [PATCH] Remove unused CONFIG_SYS_I2C_BUS[_SELECT]

2013-01-16 Thread Igor Grinberg
On 01/16/13 12:44, Michael Jones wrote: > "CONFIG_SYS_I2C_BUS" and "CONFIG_SYS_I2C_BUS_SELECT" don't appear anywhere > outside of config files. > > Signed-off-by: Michael Jones Thanks for the patch! Acked-by: Igor Grinberg > --- > As far as I can tell, these CONFIG options never have existed

[U-Boot] [PATCH 1/2] MIPS: use inline directive for __in*s functions

2013-01-16 Thread Gabor Juhos
All other IO accessor functions are using the 'inline' directive. Use that also for the __in*s to make it consistent with the other variants. Signed-off-by: Gabor Juhos Cc: Daniel Schwierzeck --- NOTE: checkpatch.pl throwns an error for the patch: 0001-MIPS-use-inline-directive-for-__in-s-fu

[U-Boot] [PATCH 2/2] MIPS: convert IO port accessor functions to 'static inline'

2013-01-16 Thread Gabor Juhos
The currently used 'extern inline' directive causes the following compiler warnings if CONFIG_SWAP_IO_SPACE is defined: <...>/include/asm/io.h:345:1: warning: '__fswab32' is static but used in inline function '__outlc_p' which is not static [enabled by default] <...>/include/asm/io.h:345:1: w

Re: [U-Boot] [STATUS] v2013.01 released

2013-01-16 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 01/16/2013 05:59 AM, Benoît Thébaudeau wrote: > Dear Tom Rini, > > On Tuesday, January 15, 2013 11:17:28 PM, Tom Rini wrote: >> U-Boot v2013.01 has been released and uploaded to git. I expect >> to see it on the ftp server soon. > > Thanks for t

Re: [U-Boot] Function prototype conflicts with standalone apps

2013-01-16 Thread Albert ARIBAUD
Hi Chris, On Wed, 16 Jan 2013 23:16:07 +1300, Chris Packham wrote: > Hi Albert, > > On 01/16/2013 08:25 PM, Albert ARIBAUD (U-Boot) wrote: > > Hi Chris, > > > > On Wed, 16 Jan 2013 17:23:58 +1300, Chris Packham > > wrote: > > > >> Hi, > >> > >> I've just run into something porting an existin

[U-Boot] [PATCH] MIPS: start{, 64}.S: fill branch delay slots with NOP instructions

2013-01-16 Thread Gabor Juhos
The romReserved and romExcHandle handlers are accessed by a branch instruction however the delay slots of those instructions are not filled. Because the start.S uses the 'noreorder' directive, the assembler will not fill the delay slots either, and leads to the following assembly code: 056c

[U-Boot] [PATCH] MIPS: board.c: fix monitor length calculations

2013-01-16 Thread Gabor Juhos
The current code uses the CONFIG_SYS_MONITOR_BASE constant to calculate the size of the reserved memory for U-Boot. The constant is also used explicitly to calcualte the value of the monitor_flash_len variable. However this leads to miscalculated values if CONFIG_SYS_TEXT_BASE != CONFIG_SYS_MONITO

Re: [U-Boot] [u-boot-release] [PATCH 1/3] powerpc/p5040: enable NAND boot support

2013-01-16 Thread Timur Tabi
Shaohui Xie wrote: > Signed-off-by: Shaohui Xie > --- These patches only add one line each, and each depends on the previous anyway. They should be merged into one patch. > boards.cfg |1 + > 1 files changed, 1 insertions(+), 0 deletions(-) > > diff --git a/boards.cfg b/boards.cfg > index

[U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Simon Glass
Hi, We are currently using a very rudimentary graphics features attached to U-Boot. It can only display bitmap images. We use this in Chromium to composite a display for the various screens we need to display in U-Boot. Unfortunately the graphics screens get quite large when using multiple languag

[U-Boot] Flash Not Erased for M29W128GL

2013-01-16 Thread Ramesh K Khokhani
Hi Friends, I am having problem with 16MB M29W128GL Flash. I am getting Flash Not Erased when i try to use saveenv command at u-boot command prompt. I have tried manually Byte by Byte wise writing to NOR Flash location so for that i have use following command and getting 2 same byte write on co

Re: [U-Boot] Flash Not Erased for M29W128GL

2013-01-16 Thread Fabio Estevam
On Wed, Jan 16, 2013 at 2:23 PM, Ramesh K Khokhani wrote: > Hi Friends, > > I am having problem with 16MB M29W128GL Flash. I am getting Flash Not Erased > when i try to use saveenv command at u-boot command prompt. You forgot to mention which board and U-boot version you are using. Regards, Fa

Re: [U-Boot] Flash Not Erased for M29W128GL

2013-01-16 Thread Ramesh K Khokhani
Hi Fabio, Thanks for replaying me. We have our custom board which uses MCF5329 Coldfire freescale's processor and 16MB M29W128GL NOR Flash. We have one M5329EVB evaluation board which has same processor but 2MB LHF00F31 NOR Flash (16bit x 16bit). For this evaluation board we have LTIB packege

[U-Boot] FW: Flash Not Erased for M29W128GL

2013-01-16 Thread Ramesh K Khokhani
Hi Fabio, Thanks for replaying me. We have our custom board which uses MCF5329 Coldfire freescale's processor and 16MB M29W128GL NOR Flash. We have one M5329EVB evaluation board which has same processor but 2MB LHF00F31 NOR Flash (16bit x 16bit). For this evaluation board we have LTIB packege

Re: [U-Boot] [PATCH] MIPS: board.c: fix monitor length calculations

2013-01-16 Thread Gabor Juhos
2013.01.16. 15:39 keltezéssel, Gabor Juhos írta: > The current code uses the CONFIG_SYS_MONITOR_BASE > constant to calculate the size of the reserved > memory for U-Boot. The constant is also used > explicitly to calcualte the value of the > monitor_flash_len variable. > > However this leads to mi

[U-Boot] [PATCH v3 00/10] Add Marvell Dove and SolidRun CuBox

2013-01-16 Thread Sebastian Hesselbarth
This patch set add support for the Marvell Dove 88AP510 SoC and the SolidRun CuBox board based on that SoC. The patch set is divided into the four following sections: (1) Patches 1-5: Add support for the Dove SoC and related drivers. Where possible drivers from Marvell Kirkwood are reused (mvsata,

[U-Boot] [PATCH v3 09/10] Boards: Add support for SolidRun CuBox

2013-01-16 Thread Sebastian Hesselbarth
With latest support for Marvell Dove SoC, add the SolidRun CuBox as the very first board with that SoC. Signed-off-by: Sebastian Hesselbarth --- Cc: u-boot@lists.denx.de Cc: Sebastian Hesselbarth Cc: Rabeeh Khoury Cc: Albert Aribaud Cc: Prafulla Wadaskar Cc: Andy Fleming Cc: Joe Hershberger

[U-Boot] [PATCH v3 08/10] NET: mvgbe: add support for Dove

2013-01-16 Thread Sebastian Hesselbarth
Marvell Dove also uses mvgbe as ethernet driver, therefore add support for Dove to reuse the current driver. Signed-off-by: Sebastian Hesselbarth --- Cc: u-boot@lists.denx.de Cc: Sebastian Hesselbarth Cc: Rabeeh Khoury Cc: Albert Aribaud Cc: Prafulla Wadaskar Cc: Andy Fleming Cc: Joe Hershbe

[U-Boot] [PATCH v3 05/10] block: mvsata: add dove include

2013-01-16 Thread Sebastian Hesselbarth
Dove SoC also uses mvsata, therefore add a SoC specific include to allow to reuse the mvsata ide driver. Signed-off-by: Sebastian Hesselbarth --- Cc: u-boot@lists.denx.de Cc: Sebastian Hesselbarth Cc: Rabeeh Khoury Cc: Albert Aribaud Cc: Prafulla Wadaskar Cc: Andy Fleming Cc: Joe Hershberger

[U-Boot] [PATCH v3 06/10] NET: phy: add 88E1310 PHY initialization

2013-01-16 Thread Sebastian Hesselbarth
This adds PHY initialization for Marvell Alaska 88E1310 PHY. Signed-off-by: Sebastian Hesselbarth --- Cc: u-boot@lists.denx.de Cc: Sebastian Hesselbarth Cc: Rabeeh Khoury Cc: Albert Aribaud Cc: Prafulla Wadaskar Cc: Andy Fleming Cc: Joe Hershberger Cc: Daniel Stodden Cc: Luka Perkov ---

[U-Boot] [PATCH v3 04/10] SPI: Add Orion SPI driver

2013-01-16 Thread Sebastian Hesselbarth
This adds an SPI driver found on Marvell Orion SoCs. This driver is taken from kirkwood_spi but removes mpp configuration as dove has dedicated spi pins. To have a common driver for orion5x, kirkwood, and dove, mpp configuration should be handled in some cpu/board-specific setup. Signed-off-by: Se

[U-Boot] [PATCH v3 07/10] NET: mvgbe: add phylib support

2013-01-16 Thread Sebastian Hesselbarth
This add phylib support to the Marvell GBE driver. Signed-off-by: Sebastian Hesselbarth --- Cc: u-boot@lists.denx.de Cc: Sebastian Hesselbarth Cc: Rabeeh Khoury Cc: Albert Aribaud Cc: Prafulla Wadaskar Cc: Andy Fleming Cc: Joe Hershberger Cc: Daniel Stodden Cc: Luka Perkov --- drivers/ne

[U-Boot] [PATCH v3 02/10] GPIO: add gpio driver for Orion SoCs

2013-01-16 Thread Sebastian Hesselbarth
This adds a gpio driver for Marvell Orion SoCs, i.e. orion5x, kirkwood, dove. This is based on kw_gpio but as gpio capabilities depend heavily on the mpp configuration for dove, it allows to set gpi/gpo capabilities from mpp. This should be compatible with the current kw_gpio and porting mpp of kir

[U-Boot] [PATCH v3 10/10] tools: Add support for Dove to kwboot

2013-01-16 Thread Sebastian Hesselbarth
On Dove kwboot can also be used to boot an u-boot image into RAM. In contrast to Kirkwood, Dove does not support the UART boot mode sequence but requires the UART boot mode to be selected through strap pins. The SolidRun CuBox has a push button to allow uart boot mode but fails on the boot sequence

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > We are currently using a very rudimentary graphics features attached > to U-Boot. It can only display bitmap images. We use this in Chromium > to composite a display for the various screens we need to display in > U-Boot. Unfortunately the graphics sc

Re: [U-Boot] [STATUS] v2013.01 released

2013-01-16 Thread Wolfgang Denk
Dear Tom, In message <50f6a399.1080...@ti.com> you wrote: > > It's not automatic for things to be made for the FTP server (I don't > have access myself, even). Done now. Sorry for the delay. Tom - please feel free to drop me an explicit reminder after each -rc or full release. Thanks. Best reg

Re: [U-Boot] [PATCH 00/12] cmd_sf: Add support for read and write instructions

2013-01-16 Thread Langer Thomas (LQDE RD ST PON SW)
Hello Jagan, Jagan Teki wrote on 2013-01-16: > Hi Thomas, > > On Thu, Jan 10, 2013 at 8:03 PM, Langer Thomas (LQDE RD ST PON SW) > wrote: >> Hello Jagan, >> >>> All these patches are added a support for read and write instruction >>> for programming/reading SPI flash. >> >> I have written som

Re: [U-Boot] [STATUS] v2013.01 released

2013-01-16 Thread Wolfgang Denk
Dear Tom, In message <20130115221728.GA16104@bill-the-cat> you wrote: > > U-Boot v2013.01 has been released and uploaded to git. I expect to see > it on the ftp server soon. It's on the FTP server now, and the web page has een updated with the statistics and release schedule, too. > The merge

Re: [U-Boot] Function prototype conflicts with standalone apps

2013-01-16 Thread Chris Packham
On Thu, Jan 17, 2013 at 1:57 AM, Albert ARIBAUD wrote: > Hi Chris, > > On Wed, 16 Jan 2013 23:16:07 +1300, Chris Packham > wrote: > > > Hi Albert, > > > > On 01/16/2013 08:25 PM, Albert ARIBAUD (U-Boot) wrote: > > > Hi Chris, > > > > > > On Wed, 16 Jan 2013 17:23:58 +1300, Chris Packham > > > wr

Re: [U-Boot] [PATCH 1/3] powerpc/p5040: enable NAND boot support

2013-01-16 Thread Scott Wood
On 01/15/2013 08:39:38 PM, Shaohui Xie wrote: Signed-off-by: Shaohui Xie --- boards.cfg |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/boards.cfg b/boards.cfg index e4b0d44..8cf4936 100644 --- a/boards.cfg +++ b/boards.cfg @@ -855,6 +855,7 @@ P5020DS_SECURE_BOOT

[U-Boot] [PATCH 0/7] Add support for NVIDIA Tegra114 SoC

2013-01-16 Thread Tom Warren
This patch series adds basic (boot to cmd prompt) support for Tegra114. This is based on the Tegra30 SPL, which inits the AVP (ARM7TDMI boot proc) first, then control is passed to the CPU (A15 quad cluster). It is based on current u-boot-tegra/next. Future patches will add support/drivers for I2C,

[U-Boot] [PATCH 2/7] Tegra114: Add AVP (arm720t) files

2013-01-16 Thread Tom Warren
This provides SPL support for T114 boards - AVP early init, plus CPU (A15) init/jump to main U-Boot. Signed-off-by: Tom Warren --- arch/arm/cpu/arm720t/tegra-common/cpu.c | 23 ++- arch/arm/cpu/arm720t/tegra-common/cpu.h | 13 +- arch/arm/cpu/arm720t/tegra114/Makefile | 42 arch/arm/

[U-Boot] [PATCH 3/7] Tegra114: Add CPU (armv7) files

2013-01-16 Thread Tom Warren
These files are for code that runs on the CPU (A15) on T114 boards. At this time, there is no A15-specific code here. As T114-specific run-time code is added, it'll go here. Signed-off-by: Tom Warren --- arch/arm/cpu/armv7/tegra114/Makefile | 40 + arch/arm/cpu

[U-Boot] [PATCH 1/7] Tegra114: Add arch-tegra114 include files

2013-01-16 Thread Tom Warren
Common Tegra files are in arch-tegra, shared between T20/T30/T114. Tegra114-specific headers are in arch-tegra114. Note that some of these will be filled in as more T114 support is added (drivers, WB/LP0 support, etc.). Signed-off-by: Tom Warren --- arch/arm/include/asm/arch-tegra/clk_rst.h

[U-Boot] [PATCH 5/7] Tegra114: Dalmore: Add DT files

2013-01-16 Thread Tom Warren
These are stripped down for bringup, They'll be filled out later to match-up with the kernel DT contents, and/or as devices are brought up (mmc, usb, spi, etc.). Signed-off-by: Tom Warren --- arch/arm/dts/tegra114.dtsi|5 + board/nvidia/dts/tegra114-dalmore.dts | 13 +++

[U-Boot] [PATCH 7/7] Tegra114: Add/enable Dalmore build (T114 reference board)

2013-01-16 Thread Tom Warren
This build is stripped down. It boots to the command prompt. GPIO is the only peripheral supported. Others TBD. Signed-off-by: Tom Warren --- board/nvidia/dalmore/Makefile| 44 + board/nvidia/dalmore/dalmore.c | 39 board/nvidia/dalmore/pinmux-config-da

[U-Boot] [PATCH 6/7] Tegra114: Add generic Tegra114 build support

2013-01-16 Thread Tom Warren
This patch adds basic Tegra114 (T114) build support - no specific board is targeted. Signed-off-by: Tom Warren --- board/nvidia/common/board.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/nvidia/common/board.c b/board/nvidia/common/board.c index a4af539..e986fc

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Simon Glass
Hi Wolfgang, On Wed, Jan 16, 2013 at 11:46 AM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> We are currently using a very rudimentary graphics features attached >> to U-Boot. It can only display bitmap images. We use this in Chromium >> to composite a display fo

Re: [U-Boot] [PATCH v2] mtd: resync with Linux-3.7.1

2013-01-16 Thread Scott Wood
On 01/14/2013 07:46:50 AM, Sergey Lapin wrote: This patch is essentially an update of u-boot MTD subsystem to the state of Linux-3.7.1 with exclusion of some bits: - the update is concentrated on NAND, no onenand or CFI/NOR/SPI flashes interfaces are updated EXCEPT for API changes. - new large

Re: [U-Boot] [PATCH 1/7] Tegra114: Add arch-tegra114 include files

2013-01-16 Thread Stephen Warren
On 01/16/2013 02:14 PM, Tom Warren wrote: > Common Tegra files are in arch-tegra, shared between T20/T30/T114. > Tegra114-specific headers are in arch-tegra114. Note that some of > these will be filled in as more T114 support is added (drivers, > WB/LP0 support, etc.). > diff --git a/arch/arm/incl

Re: [U-Boot] [RFC PATCH 1/2] Initial net6.h

2013-01-16 Thread Kim Phillips
On Wed, 16 Jan 2013 23:01:26 +1300 Chris Packham wrote: > +typedef union ip6addr_t { > + __u8u6_addr8[16]; > + __u16 u6_addr16[8]; __be16, for use with sparse. > + __u32 u6_addr32[4]; __be32 > +} IP6addr_t; Kim ___ U-Boot maili

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Wolfgang Denk
Dear Simon Glass, In message you wrote: > > The problem is that a major purpose of the GUIs is to allow installing > an OS from a USB stick/SD card, since the OS may have become corrupted > and unbootable. We have looked at keeping around a separate OS image > for this (e.g. in an available dis

Re: [U-Boot] [PATCH 1/7] Tegra114: Add arch-tegra114 include files

2013-01-16 Thread Allen Martin
On Wed, Jan 16, 2013 at 01:14:02PM -0800, Tom Warren wrote: > Common Tegra files are in arch-tegra, shared between T20/T30/T114. > Tegra114-specific headers are in arch-tegra114. Note that some of > these will be filled in as more T114 support is added (drivers, > WB/LP0 support, etc.). > > Signed

Re: [U-Boot] [PATCH 2/7] Tegra114: Add AVP (arm720t) files

2013-01-16 Thread Stephen Warren
On 01/16/2013 02:14 PM, Tom Warren wrote: > This provides SPL support for T114 boards - AVP early init, plus > CPU (A15) init/jump to main U-Boot. > diff --git a/arch/arm/cpu/arm720t/tegra-common/cpu.c > b/arch/arm/cpu/arm720t/tegra-common/cpu.c > - if (chip_id == 0x30) > + if (chip_id >

Re: [U-Boot] [PATCH 4/7] Tegra114: Add common CPU (shared) files

2013-01-16 Thread Stephen Warren
On 01/16/2013 02:14 PM, Tom Warren wrote: > These files are used by both SPL and main U-Boot. > diff --git a/arch/arm/cpu/tegra-common/board.c > b/arch/arm/cpu/tegra-common/board.c > @@ -68,7 +70,7 @@ unsigned int query_sdram_size(void) > case 3: > return 0x4000; /*

Re: [U-Boot] [PATCH 5/7] Tegra114: Dalmore: Add DT files

2013-01-16 Thread Stephen Warren
On 01/16/2013 02:14 PM, Tom Warren wrote: > These are stripped down for bringup, They'll be filled out later > to match-up with the kernel DT contents, and/or as devices are > brought up (mmc, usb, spi, etc.). > diff --git a/board/nvidia/dts/tegra114-dalmore.dts > b/board/nvidia/dts/tegra114-dalm

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Andre Renaud
Hi Simon, On 17 January 2013 04:17, Simon Glass wrote: > If we do this, rather than re-invent the wheel, does anyone have any > suggestions on a very small and simple existing library that we could > bring in to do this? If what you want is a small graphics/font system then I'd recommend the w

Re: [U-Boot] [PATCH 7/7] Tegra114: Add/enable Dalmore build (T114 reference board)

2013-01-16 Thread Stephen Warren
On 01/16/2013 02:14 PM, Tom Warren wrote: > This build is stripped down. It boots to the command prompt. > GPIO is the only peripheral supported. Others TBD. > diff --git a/board/nvidia/dalmore/dalmore.c b/board/nvidia/dalmore/dalmore.c > +void pinmux_init(void) > +{ > + pinmux_config_table(t

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Simon Glass
Hi Wolfgang, On Wed, Jan 16, 2013 at 2:40 PM, Wolfgang Denk wrote: > Dear Simon Glass, > > In message > you > wrote: >> >> The problem is that a major purpose of the GUIs is to allow installing >> an OS from a USB stick/SD card, since the OS may have become corrupted >> and unbootable. We have

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Simon Glass
Hi Andre, On Wed, Jan 16, 2013 at 2:42 PM, Andre Renaud wrote: > Hi Simon, > > On 17 January 2013 04:17, Simon Glass wrote: >> >> If we do this, rather than re-invent the wheel, does anyone have any >> suggestions on a very small and simple existing library that we could >> bring in to do this?

[U-Boot] i.MX6 Solo and Dual Lite

2013-01-16 Thread Eric Nelson
Hi all, We're preparing to launch i.MX6 Solo/Dual-Lite and Dual versions of our Nitrogen6X product line. We made a couple of stabs at patches to support these processor variants in September and October last year. The first attempt added run-time detection using i.MX plugins: http://lists.d

Re: [U-Boot] [PATCH 2/7] Tegra114: Add AVP (arm720t) files

2013-01-16 Thread Allen Martin
On Wed, Jan 16, 2013 at 01:14:03PM -0800, Tom Warren wrote: > This provides SPL support for T114 boards - AVP early init, plus > CPU (A15) init/jump to main U-Boot. > > Signed-off-by: Tom Warren > --- > arch/arm/cpu/arm720t/tegra-common/cpu.c | 23 ++- > arch/arm/cpu/arm720t/tegra-common/cpu.h

[U-Boot] [PATCH v2] tegra: fdt: remove clocks nodes

2013-01-16 Thread Allen Martin
These nodes are unused. Signed-off-by: Allen Martin --- v2: remove "clock" as well as "clocks" nodes remove from non nvidia tegra boards as well v1: original submission --- arch/arm/dts/tegra20.dtsi| 10 -- arch/arm/dts/tegra30.dtsi|

[U-Boot] [PATCH] tegra: fdt: sort dts files

2013-01-16 Thread Allen Martin
Sort nodes in dts files according the the following rules: 1) Any nodes that already exist in any /include/d file, in the order they appear in the /include/d file. 2) Any nodes with a reg property, in order of their address. 3) Any nodes without a reg property, alphabetically by node name. Sign

[U-Boot] [PATCH 3/5] libfdt: update fdt.h from upstream dtc

2013-01-16 Thread Kim Phillips
upstream dtc commit feafcd972cb744750a65728440c99526e6199a6d "dtc/libfdt: introduce fdt types for annotation by endian checkers". Signed-off-by: Kim Phillips Cc: Jerry Van Baren --- include/fdt.h | 42 +- 1 file changed, 21 insertions(+), 21 deletions(-)

[U-Boot] [PATCH 1/2] net: make IPaddr type big endian

2013-01-16 Thread Kim Phillips
for use with sparse. Signed-off-by: Kim Phillips Cc: Joe Hershberger --- include/net.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net.h b/include/net.h index 970d4d1..4c5a000 100644 --- a/include/net.h +++ b/include/net.h @@ -39,7 +39,7 @@ #define PKTALIGN

[U-Boot] [PATCH 2/2] net/tftp: sparse fixes

2013-01-16 Thread Kim Phillips
tftp.c:464:17: warning: cast to restricted __be16 tftp.c:552:29: warning: cast to restricted __be16 tftp.c:640:33: warning: cast to restricted __be16 tftp.c:642:25: warning: cast to restricted __be16 Signed-off-by: Kim Phillips Cc: Joe Hershberger --- net/tftp.c | 12 ++-- 1 file change

[U-Boot] [PATCH 1/5] treewide: include libfdt_env.h before fdt.h

2013-01-16 Thread Kim Phillips
and, if including libfdt.h which includes libfdt_env.h in the correct order, don't include fdt.h before libfdt.h. this is needed to get the fdt type definitions set from the project environment before fdt.h uses them. Signed-off-by: Kim Phillips Cc: Jerry Van Baren --- arch/arm/lib/bootm.c

[U-Boot] [PATCH 2/5] libfdt_env.h: add fdt type definitions

2013-01-16 Thread Kim Phillips
fdt types are big endian. Signed-off-by: Kim Phillips Cc: Jerry Van Baren --- include/libfdt_env.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/libfdt_env.h b/include/libfdt_env.h index bf63583..3e3defc 100644 --- a/include/libfdt_env.h +++ b/include/libfdt_env.h @@ -22,9 +2

[U-Boot] [PATCH 4/5] libfdt: update from upstream dtc commit 142419e

2013-01-16 Thread Kim Phillips
commit 142419e "dtc/libfdt: sparse fixes", for u-boot's libfdt copy. Signed-off-by: Kim Phillips Cc: Jerry Van Baren --- include/libfdt.h | 32 lib/libfdt/fdt.c | 2 +- lib/libfdt/fdt_ro.c | 2 +- lib/libfdt/fdt_rw.c | 4 ++-- lib/libfdt/fdt_sw.c |

[U-Boot] [PATCH 5/5 v2] common/fdt_support.c: sparse fixes

2013-01-16 Thread Kim Phillips
trivial: fdt_support.c:89:64: warning: Using plain integer as NULL pointer fdt_support.c:325:65: warning: Using plain integer as NULL pointer fdt_support.c:352:65: warning: Using plain integer as NULL pointer For the following bad constant expression, We hardcode the max. number of memory banks t

Re: [U-Boot] [PATCH 1/5] treewide: include libfdt_env.h before fdt.h

2013-01-16 Thread Scott Wood
On 01/16/2013 05:59:04 PM, Kim Phillips wrote: and, if including libfdt.h which includes libfdt_env.h in the correct order, don't include fdt.h before libfdt.h. this is needed to get the fdt type definitions set from the project environment before fdt.h uses them. Signed-off-by: Kim Phillips C

[U-Boot] [GIT PULL] u-boot-mpc83xx: support for new SPL

2013-01-16 Thread Kim Phillips
Hi Tom, Please pull: The following changes since commit 3a9d879f6f64585b819af728b53be0a05037fe0d: Prepare v2013.01 (2013-01-15 14:47:42 -0700) are available in the git repository at: git://git.denx.de/u-boot-mpc83xx.git master for you to fetch changes up to a6187dccd813920524987792e49ef2f

[U-Boot] configure USB Host1 in U-Boot of iMx53

2013-01-16 Thread Sarvesh Gupta
Dear All, I have added the USB host controller driver into our Mx53 loco board's u-boot and also made some changes in mx53_loco.h and mx53_loco.c. Below is the complete log what I am getting on serial console: U-Boot 2009.08-dirty (Jan 15 2013 - 12:32:20) CPU: Freescale i.MX53 family 2.1V

[U-Boot] [PATCH 1/2] SF: Add driver for Gigabyte device GD25LQ and GD25Q64B

2013-01-16 Thread Rajeshwari Shinde
This patch adds driver for the gigabyte devices GD25LQ and GD25Q64B required for Snow Board. Signed-off-by: Rajeshwari Shinde --- drivers/mtd/spi/Makefile |1 + drivers/mtd/spi/gigadevice.c | 66 ++ drivers/mtd/spi/spi_flash.c |

[U-Boot] [PATCH 0/2] EXYNOS5: Enable Gigabyte device GD25LQ and GD25Q64B

2013-01-16 Thread Rajeshwari Shinde
This patch set adds driver for Gigabyte device GD25LQ and GD25Q64B required for Snow board and enables same in config file. Based on following patches submitted by Simon Glass: "sf: Add spi_flash_alloc() to create a new SPI flash struct" "sf: Use spi_flash_alloc() in each SPI flash driver" Rajesh

[U-Boot] [PATCH 2/2] EXYNOS5: Enable SPI Gigabyte device.

2013-01-16 Thread Rajeshwari Shinde
This patch enables gigabyte device for SMDK5250. Signed-off-by: Rajeshwari Shinde --- include/configs/exynos5250-dt.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/configs/exynos5250-dt.h b/include/configs/exynos5250-dt.h index cabd2f2..a01fb96 100644 --- a/inc

Re: [U-Boot] U-Boot Graphics Library?

2013-01-16 Thread Dirk Behme
On 16.01.2013 23:54, Simon Glass wrote: Hi Wolfgang, On Wed, Jan 16, 2013 at 2:40 PM, Wolfgang Denk wrote: Dear Simon Glass, In message you wrote: The problem is that a major purpose of the GUIs is to allow installing an OS from a USB stick/SD card, since the OS may have become corrupted a

[U-Boot] [PATCH] powerpc/p5040: add serdes2 memory map register define

2013-01-16 Thread Roy Zang
Signed-off-by: Roy Zang --- arch/powerpc/include/asm/immap_85xx.h | 26 ++ 1 file changed, 26 insertions(+) diff --git a/arch/powerpc/include/asm/immap_85xx.h b/arch/powerpc/include/asm/immap_85xx.h index 296b549..0f15799 100644 --- a/arch/powerpc/include/asm/immap_85x