Re: [U-Boot] sram overflowed

2012-10-10 Thread Grant
>> As an aside, I noticed omap3_beagle in board.cfg, so I tried 'make >> omap3_beagle_config && make' but the resultant MLO and u-boot.img did >> not work at all. am335x_evm_config works fine, but I'm curious what >> omap3_beagle_config is for if anyone knows. > > omap3_beagle is for the beagleboa

[U-Boot] phy device driver issues

2012-10-10 Thread Aaron Williams
Hi, I haven't been following the list closely for a while but I have run into some issues when writing some drivers for some non-standard PHY devices. One PHY I am supporting is the Cortina CS4321 device. This PHY can be configured in various modes such as XAUI, RXAUI, SGMII, and several FC

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

2012-10-10 Thread Minkyu Kang
Dear Piotr Wilczek, On 9 October 2012 15:45, Piotr Wilczek wrote: > This patch turns power down for unused core 1 > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Minkyu Kang > --- > board/samsung/trats/trats.c |4 > 1 files changed, 4 insertions(+), 0 deletions(

Re: [U-Boot] [PATCH v2 3/3] mx35: Clean up lowlevel_init

2012-10-10 Thread Stefano Babic
On 20/08/2012 21:54, Benoît Thébaudeau wrote: > Clean up mx35 lowlevel_init: > - Indent with tabs. > - Fix comments. > - Use defined values instead of literal constants. > - Use defined macros instead of duplicating code. > - Use macro parameters with default values instead of #define'd config

Re: [U-Boot] [PATCH v2] mx35: Fix eSDHC clocks

2012-10-10 Thread Stefano Babic
On 27/09/2012 22:26, Benoît Thébaudeau wrote: > Each eSDHC instance has a dedicated clock. > > gd->sdhc_clk must also be set accordingly. This is good for the case only a > single SDHC instance is used (initialization made with fsl_esdhc_mmc_init()). > A > future patch will fix the multi-instance

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

2012-10-10 Thread Stefano Babic
On 01/10/2012 20:36, Benoît Thébaudeau wrote: > On mxc, each SDHC instance has a dedicated clock, so gd->sdhc_clk is not > suitable for the multi-instance use case (initialization made directly with > fsl_esdhc_initialize()). > > This patch fixes this issue by adding a configuration field for the

[U-Boot] [PATCH V2] i.MX: iomux: input pad array can be const

2012-10-10 Thread Stefano Babic
From: Eric Nelson Signed-off-by: Eric Nelson Signed-off-by: Stefano Babic --- Changes since V1: - stack variable must be also declared const to avoid gcc warnings (Stefano Babic) arch/arm/imx-common/iomux-v3.c |5 +++-- arch/arm/include/asm/imx-common/iomux-v3.h |3 ++- 2

Re: [U-Boot] [PATCH v3 0/2] Exynos4: add software SPI support on Universal C210 board

2012-10-10 Thread Minkyu Kang
Dear Piotr Wilczek, On 24 September 2012 20:56, Piotr Wilczek wrote: > This patchset add software SPI support on Samsung Universal C210 board. > In SPI software driver #ifdef CONFIG_SYS_IMMR in spi_init function is added. > > Changes in v2: > - removed space between # and include; > - changed ret

Re: [U-Boot] [PATCH] mx25: Clean up imx-regs.h

2012-10-10 Thread Stefano Babic
On 08/10/2012 20:34, Benoît Thébaudeau wrote: > Clean up i.MX25 imx-regs.h: > - Update mx31 imx-regs.h filename. > - Test for __KERNEL_STRICT_NAMES just in case. > - Define internal RAM size. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > --- Applied to u-boot-imx, next branch, th

Re: [U-Boot] [PATCH] mx25: Clean up imx-regs.h

2012-10-10 Thread Stefano Babic
On 08/10/2012 20:34, Benoît Thébaudeau wrote: > Clean up i.MX25 imx-regs.h: > - Update mx31 imx-regs.h filename. > - Test for __KERNEL_STRICT_NAMES just in case. > - Define internal RAM size. > > Signed-off-by: Benoît Thébaudeau > Cc: Stefano Babic > --- Applied to u-boot-imx, next branch,

Re: [U-Boot] [PATCH] mx6qsabreauto: Change mmcroot so it works out of box

2012-10-10 Thread Stefano Babic
On 02/10/2012 21:22, Otavio Salvador wrote: > The mmcroot setting vary between mx6qsabreauto and mx6qsabresd so we > move this to the board configuration file. > > Signed-off-by: Otavio Salvador > --- Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- ===

Re: [U-Boot] [PATCH] mx6qsabreauto: Pass the board revision to the kernel

2012-10-10 Thread Stefano Babic
On 02/10/2012 23:20, Fabio Estevam wrote: > The kernel from Freescale expects that the bootloader passes the board > revision. > > Read the board revision and pass it via get_board_rev(). > > Without passing the board revision the kernel does not operate properly as the > initialization of perip

Re: [U-Boot] [PATCH 2/2] i.MX: declare iomux_v3_cfg_t arrays as const

2012-10-10 Thread Stefano Babic
On 03/10/2012 19:26, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > board/freescale/mx6qarm2/mx6qarm2.c |8 > board/freescale/mx6qsabreauto/mx6qsabreauto.c |6 +++--- > board/freescale/mx6qsabrelite/mx6qsabrelite.c | 18 +- > board/freescale/m

Re: [U-Boot] [PATCH 1/2] i.MX video: struct fb_videomode can be const

2012-10-10 Thread Stefano Babic
On 03/10/2012 19:27, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > drivers/video/mxc_ipuv3_fb.c |8 +--- > include/ipu_pixfmt.h |4 +++- > 2 files changed, 8 insertions(+), 4 deletions(-) > Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic

Re: [U-Boot] [PATCH 2/2] i.MX: ipufb: add const to fb_videomode declarations

2012-10-10 Thread Stefano Babic
On 03/10/2012 19:27, Eric Nelson wrote: > Signed-off-by: Eric Nelson > --- > board/freescale/mx51evk/mx51evk.c |2 +- > board/freescale/mx53loco/mx53loco.c |2 +- > board/ttcontrol/vision2/vision2.c |2 +- > 3 files changed, 3 insertions(+), 3 deletions(-) > Applied to u-boot-im

Re: [U-Boot] [PATCH 0/5] EXYNOS4: Enable I2C support

2012-10-10 Thread Minkyu Kang
Dear Piotr Wilczek, On 24 September 2012 15:49, Piotr Wilczek wrote: > This patchset enables hardware I2C support for Exynos 4. > The s3c24x0 I2C driver is modified to use for for both Exynos 4 and Exynos 5. > Pinmux setting is add for Exynos 4. > PMIC MAX8997 driver is modified to support multi

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

2012-10-10 Thread Stefano Babic
On 03/10/2012 19:28, Eric Nelson wrote: > Default drive strength is disabled and won't function. > > Signed-off-by: Eric Nelson > --- Applied to u-boot-imx, next branch, thanks. Best regards, Stefano Babic -- = DENX Software

Re: [U-Boot] [PATCH 2/3] i.MX6: add HDMI transmitter register declarations from kernel WIP.

2012-10-10 Thread Stefano Babic
On 03/10/2012 19:28, Eric Nelson wrote: > Original source from Pengutronix HDMI driver work: > > > http://git.pengutronix.de/?p=imx/linux-2.6.git;a=commitdiff;h=72c31cd67ac880bd90785af86f8e46f8ea7b3bb0 > > Signed-off-by: Eric Nelson > --- Applied to u-boot-imx, next branch, thanks. Best

Re: [U-Boot] [PATCH 3/3] i.MX6: mx6qsabrelite: Add splash screen support

2012-10-10 Thread Stefano Babic
On 03/10/2012 19:28, Eric Nelson wrote: > Adds support for HDMI, two LVDS panels and one RGB panel to > the SABRE-Lite board. > > Displays supported: > HDMI - 1024 x 768 for maximum compatibility > Hannstar-XGA - 1024 x 768 LVDS (Freescale part number MCIMX-LVDS1) >

[U-Boot] please pull u-boot-samsung master

2012-10-10 Thread Minkyu Kang
Dear Albert, The following changes since commit 28e5ac2d974547bde0c72aa0c1d66fd22c6ef3ad: arm: armv7: temporarily set -mno-unaligned-access (2012-10-05 21:24:22 +0200) are available in the git repository at: git://git.denx.de/u-boot-samsung master for you to fetch changes up to 9b5dba53747

[U-Boot] [NOTE] Mailing List / git / FTP / Web Server Outage

2012-10-10 Thread Wolfgang Denk
Hello all, we have a dying disk drive on our main web server, and our hoster (Strato) claims they have to take down the machine and replace _all_ disks in the RAID array, so we have to reinstall from scratch [*]. This means the Mailing List / git / FTP / Web Server will be down for some time, sta

Re: [U-Boot] [PATCH 4/6] console & omap-common/spl: Enable use of eserial

2012-10-10 Thread Andrew Bradford
Dear Marek Vasut, On Thu, 27 Sep 2012 18:34:18 +0200 Marek Vasut wrote: > Dear Andrew Bradford, > > > Enable use of eserial devices for common and omap-common/spl. > > > > This probably isn't the right way to do this as the changes aren't > > needed for 'common' configurations, just for one ca

[U-Boot] [PATCH 3/3] mx25pdk: Add FEC support

2012-10-10 Thread Fabio Estevam
From: Fabio Estevam mx25pdk has a Ethernet port that is connected to its internal FEC controller. In order to power up the Ethernet PHY (DP83640) it is necessary to communicate with the PMIC via I2C. Make FEC ethernet functional. Signed-off-by: Fabio Estevam --- board/freescale/mx25pdk/mx25p

Re: [U-Boot] [PATCH v2 09/10] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE

2012-10-10 Thread Graeme Russ
Hi Marek, On Thu, Oct 11, 2012 at 2:45 PM, Marek Vasut wrote: > Dear Graeme Russ, > >> Hi Simon, >> >> On Thu, Oct 11, 2012 at 10:13 AM, Simon Glass wrote: >> > Coreboot boards have an LPC TPM connected, so enable this. We also need >> > to skip the reset code. >> > >> > Signed-off-by: Simon Gla

[U-Boot] [PATCH 1/3] mx25pdk: Include CONFIG_MX25

2012-10-10 Thread Fabio Estevam
From: Fabio Estevam It is necessary to include CONFIG_MX25 as several i.mx drivers handle the SoC differences based on the this config option. Signed-off-by: Fabio Estevam --- include/configs/mx25pdk.h |1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/mx25pdk.h b/include/c

Re: [U-Boot] [PATCH v2 09/10] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:13 AM, Simon Glass wrote: > Coreboot boards have an LPC TPM connected, so enable this. We also need > to skip the reset code. > > Signed-off-by: Simon Glass > --- > > include/configs/coreboot.h |6 +- > 1 files changed, 5 insertions(+), 1 deletions(-

[U-Boot] [PATCH] disk: initialize name/part fields when returning a whole disk

2012-10-10 Thread Stephen Warren
From: Stephen Warren When get_device_and_partition() finds a disk without a partition table, under some conditions, it "returns" a disk_partition_t that describes the entire raw disk. Make sure to initialize all fields in the partition descriptor in that case. The value chosen for name is just s

Re: [U-Boot] I2C on mx25

2012-10-10 Thread Benoît Thébaudeau
Hi Fabio, On Thursday, October 11, 2012 12:05:29 AM, Fabio Estevam wrote: > On Wed, Oct 10, 2012 at 6:50 PM, Fabio Estevam > wrote: > > Hi, > > > > Has anyone managed to get i2c to work on mx25? > > > > I am using the latest u-boot.imx tree and I noticed that > > "i2c_write" > > always returns er

Re: [U-Boot] [PATCH v2 02/10] x86: Add initial memory barrier macros

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:12 AM, Simon Glass wrote: > These are available on other architectures, so add them on x86. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/io.h |8 > 1 files changed, 8 insertions(+), 0 deletions(-) > > diff --git a/arch/x86/inclu

[U-Boot] [PATCH 2/3] mx25pdk: Add esdhc support

2012-10-10 Thread Fabio Estevam
From: Fabio Estevam mx25pdk has a SD/MMC slot connected to esdhc1. Add support for it and allow the environment variables to be saved into SD/MMC. Signed-off-by: Fabio Estevam --- board/freescale/mx25pdk/mx25pdk.c | 51 + include/configs/mx25pdk.h

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

2012-10-10 Thread Scott Wood
On 10/10/2012 10:55:33 AM, Stephen Warren wrote: On 10/09/2012 06:20 PM, Scott Wood wrote: > I don't use gitk much, but wouldn't it just show the mergeback as > another edge in the graph (plus the merge commit itself of course)? It > doesn't seem like a big deal. One big problem is the abili

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

2012-10-10 Thread Albert ARIBAUD
Hi Marek, On Wed, 10 Oct 2012 00:44:29 +0200, Marek Vasut wrote: > Add memory barrier to cache invalidate and flush calls. Memory barrier... "You keep using that word. I do not think it means what you think it means." :) A memory barrier's effect is only that all of the volatile accesses plac

Re: [U-Boot] [PATCH 4/6] console & omap-common/spl: Enable use of eserial

2012-10-10 Thread Tom Rini
On Wed, Oct 10, 2012 at 09:10:28AM -0400, Andrew Bradford wrote: > Dear Marek Vasut, > > On Thu, 27 Sep 2012 18:34:18 +0200 > Marek Vasut wrote: > > > Dear Andrew Bradford, > > > > > Enable use of eserial devices for common and omap-common/spl. > > > > > > This probably isn't the right way to

[U-Boot] [PATCH v4 0/2] qi_lb60 add nand spl and usbboot support

2012-10-10 Thread xiangfu
From: Xiangfu V4: * split to 2 patches (nand spl/usbbot) * remove use define string.c using CONFIG_SPL_LIBGENERIC_SUPPORT * fix checkputch.pl warnings V3: * add simpile string.c to mips/lib * some cleanup on jz4740.c * move to new spl/ structure * support software usbboot mode Xi

Re: [U-Boot] [PATCH v2 01/10] x86: Change board baud_rate to ulong

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:12 AM, Simon Glass wrote: > This is a ulong for some architectures and just unsigned for others. > Change x86 to be consistent. > > Signed-off-by: Simon Glass > --- > > arch/x86/include/asm/u-boot.h |2 +- > common/cmd_bdinfo.c |2 +- > 2 f

Re: [U-Boot] [PATCH v2 10/10] x86: Remove coreboot start16 code

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:13 AM, Simon Glass wrote: > Now that coreboot doesn't need the start16 code, remove it. > > Signed-off-by: Simon Glass > --- > Changes in v2: > - Add new patch to remove coreboot start16 code. > > board/chromebook-x86/coreboot/coreboot_start16.S | 13 -

[U-Boot] [PATCH v4 2/2] qi_lb60: add software usbboot support

2012-10-10 Thread xiangfu
From: Xiangfu JZ4740 CPU have a internal ROM have such kind of code, that make JZ4740 can boot from USB usbboot.S can downloads user program from the USB port to internal SRAM and branches to the internal SRAM to execute the program Signed-off-by: Xiangfu --- board/qi/qi_lb60/Makefile

Re: [U-Boot] [PATCH v2 03/10] x86: Allow excluding reset vector code from u-boot

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:12 AM, Simon Glass wrote: > From: Gabe Black > > When running from coreboot we don't want this code. > > This version works by ifdef-ing out all of the code that would go > into those sections and all the code that refers to it. The sections are > then empty,

Re: [U-Boot] [NOTE] Mailing List / git / FTP / Web Server Outage

2012-10-10 Thread Wolfgang Denk
Hello all, In message <20121010122316.4088a200...@gemini.denx.de> I wrote: > > we have a dying disk drive on our main web server, and our hoster > (Strato) claims they have to take down the machine and replace _all_ > disks in the RAID array, so we have to reinstall from scratch [*]. It was even

[U-Boot] [PATCH v4 1/2] qi_lb60: add nand spl support

2012-10-10 Thread xiangfu
From: Xiangfu The JZ4740 CPU can load 8KB from two different addresses: 1. the normal area up to 8KB starting from NAND flash address 0x 2. the backup area up to 8KB starting from NAND flash address 0x2000 After create u-boot-spl.bin. it needs those 4 commands create final

Re: [U-Boot] [PATCH v2 08/10] x86: coreboot: Implement recursively scanning PCI busses

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:12 AM, Simon Glass wrote: > From: Gabe Black > > A hook is installed to configure PCI bus bridges as they encountered by > u-boot. > The hook extracts the secondary bus number from the bridge's config space and > then recursively scans that bus. > > On Coreb

Re: [U-Boot] [PATCH 4/6] console & omap-common/spl: Enable use of eserial

2012-10-10 Thread Marek Vasut
Dear Andrew Bradford, > Dear Marek Vasut, > > On Thu, 27 Sep 2012 18:34:18 +0200 > > Marek Vasut wrote: > > Dear Andrew Bradford, > > > > > Enable use of eserial devices for common and omap-common/spl. > > > > > > This probably isn't the right way to do this as the changes aren't > > > needed

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

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

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

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

[U-Boot] [PATCH V3 3/4] FAT: initialize all fields in cur_part_info, simplify init

2012-10-10 Thread Stephen Warren
From: Stephen Warren cur_part_info.{name,type} are strings. So, we don't need to memset() the entire thing, just put the NULL-termination in the first byte. Add missing initialization of the bootable and uuid fields. None of these fields are actually used by fat.c. However, since it stores the

[U-Boot] [RFC PATCH 1/2] fs: delete unused Makefile

2012-10-10 Thread Stephen Warren
From: Stephen Warren fs/Makefile is unused. The top-level Makefile sets LIBS-y += fs/xxx and hence causes make to directly descend two directory levels into each individual filesystem, and it never descends into fs/ itself. So, delete this useless file. Signed-off-by: Stephen Warren --- fs/Ma

[U-Boot] [PATCH V3 1/4] part: add partition number to disk_partition_t

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

[U-Boot] [RFC PATCH 2/2] fs: add partition switch libary, implement ls and fsload commands

2012-10-10 Thread Stephen Warren
From: Stephen Warren Implement "ls" and "fsload" commands that act like {fat,ext2}{ls,load}, and transparently handle either file-system. This scheme could easily be extended to other filesystem types; I only didn't do it for zfs because I don't have any filesystems of that type. Signed-off-by:

[U-Boot] [PATCH v2 06/10] x86: coreboot: Tell u-boot about PCI bus 0 when initializing

2012-10-10 Thread Simon Glass
From: Gabe Black U-boot needs a host controller or "hose" to interact with the PCI busses behind them. This change installs a host controller during initialization of the coreboot "board" which implements some of X86's basic PCI semantics. This relies on some existing generic code, but also dupli

Re: [U-Boot] [PATCH v2 05/10] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:12 AM, Simon Glass wrote: > From: Stefan Reinauer > > coreboot.c and coreboot_pci.c don't contain board specific but only > coreboot specific code. Hence move it to the coreboot directory in > arch/x86/cpu (which should probably be moved out of cpu/ in anothe

[U-Boot] [PATCH v2 02/10] x86: Add initial memory barrier macros

2012-10-10 Thread Simon Glass
These are available on other architectures, so add them on x86. Signed-off-by: Simon Glass --- arch/x86/include/asm/io.h |8 1 files changed, 8 insertions(+), 0 deletions(-) diff --git a/arch/x86/include/asm/io.h b/arch/x86/include/asm/io.h index 9b757d4..b12bdd8 100644 --- a/arch

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

2012-10-10 Thread Xiangfu Liu
Hi Thanks for feedback. PATVH v4 will coming soon. about 'CONFIG_SPL_FRAMEWORK' I don't know this when I working on ben nanonote spl. I think I will stick with this spl for awhile. is there a plan remove drivers/mtd/nand/nand_spl_*.c? Xiangfu On 10/10/2012 05:27 AM, Daniel Schwierzeck wrote:

Re: [U-Boot] [PATCH v2 04/10] x86: Add some missing includes.

2012-10-10 Thread Graeme Russ
Hi Simon, On Thu, Oct 11, 2012 at 10:12 AM, Simon Glass wrote: > From: Gabe Black > > I suspect these includes were usually available because something else > included them earlier or because they were brought in transitively. > > Signed-off-by: Gabe Black > Signed-off-by: Simon Glass > --- >

[U-Boot] u-boot on my board freescale P1010RDB is erased

2012-10-10 Thread randriamanjaka franky
Hi, The u-boot on my board freescale P1010RDB is erased.There was a problem when i want to reflash it. Is there a tool from freescale to put the first u-boot from nand on my board freescale P1010RDB ? Thanks. Best regards. RANDRIAMANJAKA FRANKY Tél. 0033634259173

[U-Boot] mpc85xx debug TLB entry

2012-10-10 Thread Scott Wood
I'm debugging some SPL changes and am still having a hard time following the initial TLB flow. We seem to be creating an entry in AS0 -- how is that not conflicting with the TLB entry we're running from? Why is the debug TLB 256K? Why is it not aligned to 256K? How do you know that MAS2

Re: [U-Boot] I2C on mx25

2012-10-10 Thread Fabio Estevam
On Wed, Oct 10, 2012 at 8:28 PM, Fabio Estevam wrote: > Ok, thanks. I will debug more. If you have a chance to test mx25 FEC > with 2012.10-rc3, just let me know. Nevermind. Problem solved. It was a config file issue I had. Will submit the patches soon. Thanks for your help, Fabio Estevam ___

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

2012-10-10 Thread Stephen Warren
On 10/10/2012 12:15 AM, Albert ARIBAUD wrote: > Hi Stephen, > > On Tue, 09 Oct 2012 17:04:06 -0600, Stephen Warren > wrote: > >> On 10/09/2012 04:19 PM, Albert ARIBAUD wrote: > >>> Apart from this, I'm not sure why forbidding fast-forward is a good >>> thing, but if there are benefits, why not.

[U-Boot] [PATCH v2 07/10] x86: coreboot: Modify u-boot code to allow building coreboot payload

2012-10-10 Thread Simon Glass
From: Vadim Bendebury This prevents the preprocessor from complaining when processing variadic macros Signed-off-by: Vadim Bendebury Signed-off-by: Simon Glass --- board/chromebook-x86/coreboot/config.mk | 37 +++ 1 files changed, 37 insertions(+), 0 deletions(-

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

2012-10-10 Thread Xiangfu Liu
Hi Tom Rini I cannot easy find a way to use 'puts' instead 'serial_puts' in my code. any advise will be great. Thanks Xiangfu On 10/10/2012 05:27 AM, Daniel Schwierzeck wrote: >> I'm happy you've moved to the new SPL infrastructure. A few comments: >> >> In general, please check for checkpatch

[U-Boot] [PATCH v2 05/10] x86: coreboot: Move non-board specific files to coreboot arch directory

2012-10-10 Thread Simon Glass
From: Stefan Reinauer coreboot.c and coreboot_pci.c don't contain board specific but only coreboot specific code. Hence move it to the coreboot directory in arch/x86/cpu (which should probably be moved out of cpu/ in another commit) Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass ---

[U-Boot] [PATCH v2 0/10] x86: Patches to enable running U-Boot from coreboot

2012-10-10 Thread Simon Glass
This series carries on from Gabe Black's work to upstream support for running U-Boot from coreboot. Aditional follow-on patches are also required, depending on feedback here. Changes in v2: - Put CONFIG_NO_RESET_CODE into Makefile instead of source files - Add new patch to remove coreboot start16

Re: [U-Boot] [PATCH 0/5] EXYNOS4: Enable I2C support

2012-10-10 Thread Piotr Wilczek
Dear Minkyu Kang, The reason I didn't provide the last patch to use the hardware I2C is that on Trats board a software I2C is used to communicate with Fuel Gage. Unfortunately in u-boot soft_i2c and hardware I2C cannot be used at the same time. The patchset was tested on Trats board and it worked

[U-Boot] [PATCH v2 08/10] x86: coreboot: Implement recursively scanning PCI busses

2012-10-10 Thread Simon Glass
From: Gabe Black A hook is installed to configure PCI bus bridges as they encountered by u-boot. The hook extracts the secondary bus number from the bridge's config space and then recursively scans that bus. On Coreboot, the PCI bus address space has identity mapping with the physical address sp

Re: [U-Boot] [PATCH] disk: initialize name/part fields when returning a whole disk

2012-10-10 Thread Benoît Thébaudeau
On Wednesday, October 10, 2012 7:57:51 PM, Stephen Warren wrote: > When get_device_and_partition() finds a disk without a partition > table, > under some conditions, it "returns" a disk_partition_t that describes > the entire raw disk. Make sure to initialize all fields in the > partition > descrip

Re: [U-Boot] [PATCH V3 4/4] FAT: implement fat_set_blk_dev(), convert cmd_fat.c

2012-10-10 Thread Benoît Thébaudeau
On Wednesday, October 10, 2012 8:14:02 PM, Stephen Warren wrote: > This makes the FAT filesystem API more consistent with other > block-based > filesystems. If in the future standard multi-filesystem commands such > as > "ls" or "load" are implemented, having FAT work the same way as other > filesy

[U-Boot] [PATCH v2 09/10] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE

2012-10-10 Thread Simon Glass
Coreboot boards have an LPC TPM connected, so enable this. We also need to skip the reset code. Signed-off-by: Simon Glass --- include/configs/coreboot.h |6 +- 1 files changed, 5 insertions(+), 1 deletions(-) diff --git a/include/configs/coreboot.h b/include/configs/coreboot.h index 2

[U-Boot] [PATCH v2 01/10] x86: Change board baud_rate to ulong

2012-10-10 Thread Simon Glass
This is a ulong for some architectures and just unsigned for others. Change x86 to be consistent. Signed-off-by: Simon Glass --- arch/x86/include/asm/u-boot.h |2 +- common/cmd_bdinfo.c |2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/x86/include/asm/

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

2012-10-10 Thread Stephen Warren
On 10/10/2012 04:02 PM, Scott Wood wrote: ... > Ideally once a pull request happens the pull happens quickly. If that > doesn't happen, you could reply to the pull request asking that it be > ignored in favor of a new pull request, or create a new temporary > branch. IMHO pull requests ought to r

[U-Boot] [PATCH v2 10/10] x86: Remove coreboot start16 code

2012-10-10 Thread Simon Glass
Now that coreboot doesn't need the start16 code, remove it. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to remove coreboot start16 code. board/chromebook-x86/coreboot/coreboot_start16.S | 13 - 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/board

[U-Boot] [PATCH v2 03/10] x86: Allow excluding reset vector code from u-boot

2012-10-10 Thread Simon Glass
From: Gabe Black When running from coreboot we don't want this code. This version works by ifdef-ing out all of the code that would go into those sections and all the code that refers to it. The sections are then empty, and the linker will either leave them empty for the loader to ignore or remo

Re: [U-Boot] [PATCH v2 09/10] x86: coreboot: Enable LPC TPM and CONFIG_NO_RESET_CODE

2012-10-10 Thread Marek Vasut
Dear Graeme Russ, > Hi Simon, > > On Thu, Oct 11, 2012 at 10:13 AM, Simon Glass wrote: > > Coreboot boards have an LPC TPM connected, so enable this. We also need > > to skip the reset code. > > > > Signed-off-by: Simon Glass > > --- > > > > include/configs/coreboot.h |6 +- > > 1 fi

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

2012-10-10 Thread Stephen Warren
On 10/09/2012 06:20 PM, Scott Wood wrote: > On 10/09/2012 06:25:47 PM, Stephen Warren wrote: >> On 10/09/2012 05:00 PM, Scott Wood wrote: >> > On 10/09/2012 05:14:23 PM, Stephen Warren wrote: >> >> I don't quite follow that; linux-next is also purely merge-based. Are >> >> you referring to the fact

[U-Boot] [PATCH v2 04/10] x86: Add some missing includes.

2012-10-10 Thread Simon Glass
From: Gabe Black I suspect these includes were usually available because something else included them earlier or because they were brought in transitively. Signed-off-by: Gabe Black Signed-off-by: Simon Glass --- arch/x86/include/asm/global_data.h |2 ++ arch/x86/include/asm/u-boot.h

Re: [U-Boot] [PATCH 2/5] EXYNOS: Add Exynos4 I2C spacing

2012-10-10 Thread Joonyoung Shim
Hi, Protr. 2012/9/24 Piotr Wilczek : > This patch add the spacing for i2c for Exynos4 > > Signed-off-by: Piotr Wilczek > Signed-off-by: Kyungmin Park > CC: Minkyu Kang > --- > arch/arm/include/asm/arch-exynos/cpu.h |2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/

Re: [U-Boot] I2C on mx25

2012-10-10 Thread Fabio Estevam
On Wed, Oct 10, 2012 at 6:50 PM, Fabio Estevam wrote: > Hi, > > Has anyone managed to get i2c to work on mx25? > > I am using the latest u-boot.imx tree and I noticed that "i2c_write" > always returns error. Ok, i2c_write does work now. This recent commit fixed it: commit b1e9e9ef71e6a33c3cc675a

Re: [U-Boot] I2C on mx25

2012-10-10 Thread Fabio Estevam
On Wed, Oct 10, 2012 at 7:43 PM, Benoît Thébaudeau wrote: > Or for the Eth PHY connected to the FEC? Yes, for the DP83640 PHY connected to the FEC. The Ethernet PHY is powered now. > >> Still not able to get FEC to work on mx25pdk, but it seems to be >> another problem now. > > FYI, the FEC wor