Re: [U-Boot] [PATCH 1/5] mx53loco: Allow booting a zImage kernel

2012-10-25 Thread Stefano Babic
Am 25/10/2012 04:15, schrieb Fabio Estevam: > Hi Robert, > > On Thu, Oct 25, 2012 at 12:07 AM, Robert Nelson > wrote: > >> Fabio, >> >> Any thoughts on also enabling "define CONFIG_SUPPORT_RAW_INITRD" at >> the same time, otherwise you'd still have to run mkimage on the other >> half "initrd.im

Re: [U-Boot] nds32: Change macro from BOARD_LATE_INIT to CONFIG_BOARD_LATE_INIT

2012-10-25 Thread Macpaul Lin
Hi Tom, 2012/10/17 Tom Rini > On Tue, Apr 17, 2012 at 04:41:14PM -, Nobuhiro Iwamatsu wrote: > > > With almost all the architecture and board BOARD_LATE_INIT does not use. > > CONFIG_BOARD_LATE_INIT is used instead. > > This changed CONFIG_BOARD_LATE_INIT from BOARD_LATE_INIT. > > > > Signed

Re: [U-Boot] Multiple stdin/out without CONFIG_CONSOLE_MUX?

2012-10-25 Thread Holger Brunck
Hi Stephen, On 10/25/2012 01:05 AM, Stephen Warren wrote: > > While looking into a CONFIG_CONSOLE_MUX-related issue, I noticed the > following: > > include/configs/u8500_href.h:136: "stdin=serial,usbtty\0" > include/configs/u8500_href.h:135: "stdout=serial,usbtty\0" > include/configs/sno

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

2012-10-25 Thread Jin Zhengxiong-R64188
> > Applied to u-boot/master. > [Jason Jin-R64188] Hi, Tom, Thanks a lot. > Where can I find a toolchain that supports 54418 CPUs? I had picked up > an m68k-uclinux toolchain from the uclinux project but that has 4 false > negatives (mismatch against libgcc on a few boards) and it doesn't > s

[U-Boot] [PATCH 0/2]ColdFire: Fix build errors for ColdFire M54418TWR boards

2012-10-25 Thread Jason Jin
The following 2 patches fix the build error for the M54418TWR board. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 1/2]ColdFire: Update the lds file for M54418TWR board.

2012-10-25 Thread Jason Jin
The M54418TWR lds file need to update since commit: 8b493a52367623f36e628e4ab2cf8ee082b655e0 common: Discard the __u_boot_cmd section The command declaration now uses the new LG-array method to generate list of commands. Thus the __u_boot_cmd section is now superseded and redundant and therefor

[U-Boot] [PATCH 2/2]ColdFire: Remove save env in NAND support for M54418TWR board.

2012-10-25 Thread Jason Jin
This patch remove the env saving in NAND as so far the NAND driver is not ported to the M54418TWR platform. Signed-off-by: Jason Jin --- include/configs/M54418TWR.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/configs/M54418TWR.h b/include/configs/M54418TWR.h

Re: [U-Boot] [PATCH 07/15] x86: Add functions to access MSRs

2012-10-25 Thread Stefan Reinauer
Graeme, Reusing code from the Linux kernel is generally a great idea. However for simplicity I'd rather have 25 lines than 870 lines for reading MSRs. It seems a lot of code in those files doesn't really apply for u-boot Stefan On Tue, Oct 23, 2012 at 9:34 PM, Graeme Russ wrote: > Hi Simon, >

Re: [U-Boot] [PATCH] mx53loco: Add support for SEIKO 4.3'' WVGA panel

2012-10-25 Thread Stefano Babic
Am 23/10/2012 19:36, schrieb Fabio Estevam: > Hi Stefano, > > On Sat, Oct 20, 2012 at 12:03 PM, Stefano Babic wrote: > >> What about to use a u-boot environment to select the display ? Could be >> a better solution for you ? You can then have a single u-boot image >> managing both displays. I di

Re: [U-Boot] [PATCH v3 4/6] mic: Add support for mc34704

2012-10-25 Thread Stefano Babic
Am 23/10/2012 18:34, schrieb Fabio Estevam: > Add the register layout for the MC34704 PMIC from Freescale. > > Signed-off-by: Fabio Estevam > --- > Changes since v2: > - Pass FSL_PMIC_I2C_LENGTH > > drivers/misc/pmic_fsl.c |2 ++ > include/mc34704.h | 49 > +

Re: [U-Boot] [PATCH v3 4/6] mic: Add support for mc34704

2012-10-25 Thread Fabio Estevam
Hi Stefano, On Thu, Oct 25, 2012 at 8:35 AM, Stefano Babic wrote: > I think this can break boards with MX3 where the MC13783 is used, and > where MC13892 is not set. mc13783 can only communicate via spi, not i2c, so this patch does not break mx3 + mc13783 case. Regards, Fabio Estevam

Re: [U-Boot] [PATCH V3 1/1] mx31/mx35/mx51/mx53/mx6: add watchdog

2012-10-25 Thread Stefano Babic
Am 23/10/2012 03:19, schrieb Troy Kisky: > Use a common watchdog driver for all these cpus. > > Signed-off-by: Troy Kisky > > --- Hi Troy, > +++ b/doc/README.watchdog > @@ -0,0 +1,29 @@ > +Watchdog driver general info > + > +CONFIG_HW_WATCHDOG > + This enables hw_watchdog_reset to be call

Re: [U-Boot] [PATCH] mx53loco: Add support for SEIKO 4.3'' WVGA panel

2012-10-25 Thread Fabio Estevam
Hi Stefano, On Thu, Oct 25, 2012 at 8:28 AM, Stefano Babic wrote: > Yes, I thins is due to the fact that size for the framebuffer is > allocated before relocation. This was also a reason for me to migrate to > CONFIG_VIDEO instead of CONFIG_LCD. mx53loco.h defines CONFIG_VIDEO, not CONFIG_LCD.

Re: [U-Boot] [PATCH] mx53loco: Add support for SEIKO 4.3'' WVGA panel

2012-10-25 Thread Marek Vasut
Dear Fabio Estevam, CCing Albert. > Hi Stefano, > > On Thu, Oct 25, 2012 at 8:28 AM, Stefano Babic wrote: > > Yes, I thins is due to the fact that size for the framebuffer is > > allocated before relocation. This was also a reason for me to migrate to > > CONFIG_VIDEO instead of CONFIG_LCD. >

Re: [U-Boot] [PATCH 1/5] mx53loco: Allow booting a zImage kernel

2012-10-25 Thread Fabio Estevam
On Thu, Oct 25, 2012 at 5:00 AM, Stefano Babic wrote: >> Should I enable CONFIG_SUPPORT_RAW_INITRD as part of the same patch >> series or on a separate one? > > Your decision, both are fine with me. Ok, then I prefer to keep this series as is. I will send a separate one for adding CONFIG_SUPPO

Re: [U-Boot] [PATCH 1/5] mx53loco: Allow booting a zImage kernel

2012-10-25 Thread Stefano Babic
Am 25/10/2012 13:16, schrieb Fabio Estevam: > On Thu, Oct 25, 2012 at 5:00 AM, Stefano Babic wrote: > >>> Should I enable CONFIG_SUPPORT_RAW_INITRD as part of the same patch >>> series or on a separate one? >> >> Your decision, both are fine with me. > > Ok, then I prefer to keep this series as

Re: [U-Boot] [PATCH v3 4/6] mic: Add support for mc34704

2012-10-25 Thread Stefano Babic
Am 25/10/2012 12:55, schrieb Fabio Estevam: > Hi Stefano, > > On Thu, Oct 25, 2012 at 8:35 AM, Stefano Babic wrote: > >> I think this can break boards with MX3 where the MC13783 is used, and >> where MC13892 is not set. > > mc13783 can only communicate via spi, not i2c, so this patch does not >

[U-Boot] [PATCH v4 1/4] am33xx: Enable UART{1,2,3,4,5} clocks

2012-10-25 Thread Andrew Bradford
If configured to use UART{1,2,3,4,5} such as on the Beaglebone RS232 cape or the am335x_evm daughterboard, enable the required clocks for the UART in use. Signed-off-by: Andrew Bradford --- Changes from v3: No changes Changes from v2: No changes Changes from v1: Also enabl

[U-Boot] [PATCH v4 0/4] am335x_evm: Enable UART{1,2,3,4,5}

2012-10-25 Thread Andrew Bradford
To support serial ports other than UART0 on am335x based systems like the Beaglebone with the RS232 cape and am335x_evm with daughterboard. Changes from v3: * Patch 4/4 simplified further. Changes from v2: * Patch 4/4 cleaned up to define CONS_INDEX and SERIALX in the targe

[U-Boot] [PATCH v4 3/4] serial: ns16550: Enable COM5 and COM6

2012-10-25 Thread Andrew Bradford
Increase the possible number of ns16550 serial devices from 4 to 6. Signed-off-by: Andrew Bradford --- Changes from v3: No changes Changes from v2: No changes Changes from v1: Consolidation of patches 3, 4, and 5 on top of Marek Vasut's recent serial changes. dri

[U-Boot] [PATCH v4 2/4] am33xx: Enable UART{1,2,3,4,5} pin-mux

2012-10-25 Thread Andrew Bradford
If configured to use UART{1,2,3,4,5} such as on the Beaglebone RS232 cape or on the am335x_evm daughterboard, enable the proper pin-muxing. Signed-off-by: Andrew Bradford --- Changes from v3: No changes Changes from v2: No changes Changes from v1: Also enable UART3 pin mux

[U-Boot] [PATCH v4 4/4] am335x_evm: Enable use of UART{1,2,3,4,5}

2012-10-25 Thread Andrew Bradford
Add targets of am335x_evm_uart{1,2,3,4,5} to have serial input/output on UART{1,2,3,4,5} for use with the Beaglebone RS232 cape, am335x_evm daughterboard, and other custom configurations. Modify target for am335x_evm to include SERIAL1 and CONS_INDEX=1 options in order to clarify UART selection re

Re: [U-Boot] USB detection

2012-10-25 Thread Manukumar
Dear All While board bring up in custom board iam getting below mentioned error I2C: ready DRAM: DDR: failed to read SPD from address I googled it but i am un able to rectify it.. Please resole ASAP manukumar ___ U-Boot mailing list U-Boot@lists.

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-10-25 Thread Wolfgang Denk
Dear Daniel, In message <5087b919.2010...@gmail.com> you wrote: > > So let's say we have n versions of the baseboard and m versions of the > module, we would much like to only prepare n + m files, instead of n * m > by pre-compiling every possible combination (some of which may actually > never o

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-10-25 Thread Daniel Mack
Hi Wolfgang, On 25.10.2012 14:44, Wolfgang Denk wrote: > In message <5087b919.2010...@gmail.com> you wrote: >> >> So let's say we have n versions of the baseboard and m versions of the >> module, we would much like to only prepare n + m files, instead of n * m >> by pre-compiling every possible co

[U-Boot] mx6qsabrelite: commands not recognized

2012-10-25 Thread Fabio Estevam
Hi, Using the latest u-boot-imx tree, I am getting the following on a mx6qsabrelite: U-Boot 2012.10-09478-gab857f2 (Oct 25 2012 - 11:24:04) CPU: Freescale i.MX6Q rev1.0 at 792 MHz Reset cause: POR Board: MX6Q-Sabre Lite DRAM: 1 GiB MMC: FSL_SDHC: 0, FSL_SDHC: 1 auto-detected panel HDMI enab

Re: [U-Boot] mx6qsabrelite: commands not recognized

2012-10-25 Thread Eric Nelson
Hi Fabio, On 10/25/2012 06:28 AM, Fabio Estevam wrote: Hi, Using the latest u-boot-imx tree, I am getting the following on a mx6qsabrelite: U-Boot 2012.10-09478-gab857f2 (Oct 25 2012 - 11:24:04) CPU: Freescale i.MX6Q rev1.0 at 792 MHz Reset cause: POR Board: MX6Q-Sabre Lite DRAM: 1 GiB MMC

Re: [U-Boot] mx6qsabrelite: commands not recognized

2012-10-25 Thread Eric Nelson
Hi Fabio, On 10/25/2012 07:07 AM, Eric Nelson wrote: Hi Fabio, On 10/25/2012 06:28 AM, Fabio Estevam wrote: Hi, Using the latest u-boot-imx tree, I am getting the following on a mx6qsabrelite: U-Boot 2012.10-09478-gab857f2 (Oct 25 2012 - 11:24:04) Hit any key to stop autoboot: 0 MX6QSABR

Re: [U-Boot] [PATCH 10/32] include/command.h: sparse fix

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 07:28:26PM -0500, Kim Phillips wrote: > __u_boot_cmd_* should be declared static, e.g.: > > cmd_mem.c:1142:1: warning: symbol '__u_boot_cmd_md' was not declared. Should > it be static? > cmd_mem.c:1149:1: warning: symbol '__u_boot_cmd_mm' was not declared. Should > it be

Re: [U-Boot] [PATCH 1/9 V3] SOUND: SAMSUNG: Add I2S driver

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds driver for I2S interface specific to samsung. > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde > --- > Changes in V2: > - renamed i2s.c to samsung-i2s.c. > Changes in V3: > - wave sine table re

Re: [U-Boot] [PATCH 2/9 V3] SOUND: Add WM8994 codec

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds driver for audio codec WM8994 > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - None > Changes in V3: > - Incorporated comments from Simon Gla

Re: [U-Boot] [PATCH 3/9 V3] Sound: Add command for audio playback

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds command to test audio playback. > sound init - Initialises the audio subsystem (i2s and wm8994 codec) > sound play - Plays predefined the audio data when specified length > and frequency. > > Signed-off-by: Rajeshwari Shi

Re: [U-Boot] [PATCH 8/9 V3] EXYNOS: Add clock for I2S

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patch adds clock support for I2S > > Signed-off-by: R. Chandrasekar > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes in V2: > - None > Changes in V3: > - Changes clock function names as suggested by Mink

Re: [U-Boot] [PATCH 0/9 V3] EXYNOS5: Add Audio support

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 11:57 PM, Rajeshwari Shinde wrote: > This patchset adds the audio support for EXYNOS5. > This patchset plays a predefined beep sound. > > Rajeshwari Shinde (9): > SOUND: SAMSUNG: Add I2S driver > SOUND: Add WM8994 codec > Sound: Add command for audio playback >

Re: [U-Boot] [PATCH 4/6 V7] SPI: Add SPI Driver for EXYNOS.

2012-10-25 Thread Simon Glass
Hi Hatim, On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch adds SPI driver for EXYNOS. > > Signed-off-by: Simon Glass > Signed-off-by: Padmavathi Venna > Signed-off-by: Gabe Black > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali > Acked

Re: [U-Boot] [PATCH 1/6 V7] EXYNOS5: Add pinmux support for SPI

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch adds pinmux support for SPI channels > > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali Acked-by: Simon Glass > --- > Changes since v4: > Fixed minor nits suggested by Simon Glass

Re: [U-Boot] [PATCH 2/6 V7] EXYNOS: Add clock for SPI.

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch adds api to calculate and set the clock for SPI channels > > Signed-off-by: James Miller > Signed-off-by: Simon Glass > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali Acked-by: Simon Glass

Re: [U-Boot] [PATCH 5/6 V7] EXYNOS5: Enable SPI

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch enables SPI driver for EXYNOS5. > > Signed-off-by: Rajeshwari Shinde > Signed-off-by: Hatim Ali Acked-by: Simon Glass > --- > Changes since v4: > - Rebased on u-boot-samsung.git > Changes since

Re: [U-Boot] [PATCH 6/6 V7] EXYNOS5: Enable SPI booting.

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > From: Rajeshwari Shinde > > This patch enables SPI Booting for EXYNOS5 > > Signed-off-by: Rajeshwari Shinde Acked-by: Simon Glass > --- > Changes since v4: > No Change > Changes since v5: > No Change > Changes since v6: >

Re: [U-Boot] [PATCH 0/6 V7] EXYNOS5: Enable SPI support

2012-10-25 Thread Simon Glass
Hi Hatin, On Mon, Oct 22, 2012 at 4:52 AM, Hatim Ali wrote: > This patch set adds SPI driver for EXYNOS5 and enables same. > This patch set is based on latest Mainline u-boot.git tree. I have acked all of these. Regards, Simon > > Changes in V2: > - Correted the Commit message. > Chang

Re: [U-Boot] [PATCH 13/32] common/misc: sparse fixes

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 07:28:29PM -0500, Kim Phillips wrote: > command.c:44:38: error: bad constant expression > console.c:537:18: warning: symbol 'search_device' was not declared. Should it > be static? > dlmalloc.c:1468:2: warning: Using plain integer as NULL pointer > dlmalloc.c:1468:5: warni

Re: [U-Boot] [PATCH 01/32] include/linux/byteorder: import latest endian definitions from linux

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 07:28:17PM -0500, Kim Phillips wrote: > u-boot's byteorder headers did not contain endianness attributions > for use with sparse, causing a lot of false positives. Import the > kernel's latest definitions, and enable them by including compiler.h > and types.h. They come w

Re: [U-Boot] [PATCH 00/32] Initial sparse fix series

2012-10-25 Thread Tom Rini
On Tue, Oct 16, 2012 at 07:28:16PM -0500, Kim Phillips wrote: > This 32-patch series only begins to address making u-boot source more > 'sparseable,' or sparse-clean, ultimately to catch type, address space, > and endianness mismatches and generally improve code quality. E.g., in this > initial do

Re: [U-Boot] USB detection

2012-10-25 Thread RgC
Truncated CCs Hi, On 2012.10/25, Manukumar wrote: > Dear All > > While board bring up in custom board > iam getting below mentioned error > > I2C: ready > DRAM: DDR: failed to read SPD from address It seems you are using a DIMM for your memory (as opposed to directly soldered on the board

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: >> Dear Allen Martin, >> >> [...] >> > >> > Hi Marek, the change to return value here broke serial output on >> > tegra. What I see is that the serial device name (s->name) is

Re: [U-Boot] [PATCH V3 1/5] ARM: fix u-boot.lds for -ffunction-sections/-fdata-sections

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > When -ffunction-sections or -fdata-section are used, symbols are placed > into sections such as .data.eserial1_device and .bss.serial_current. > Update the linker script to explicitly include these. Without this > c

Re: [U-Boot] [PATCH V3 2/5] ARM: enhance u-boot.lds to detect over-sized SPL

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 10:52 AM, Tom Rini wrote: > On Mon, Oct 22, 2012 at 10:19:33AM -0600, Stephen Warren wrote: > >> From: Stephen Warren >> >> Add an ASSERT() to u-boot.lds to detect an SPL that doesn't fit within >> SPL_TEXT_BASE..SPL_MAX_SIZE. >> >> Different .lds files implement this chec

Re: [U-Boot] [PATCH V3 3/5] ARM: tegra: derive CONFIG_SPL_MAX_SIZE instead of hard-coding it

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > For Tegra, the SPL and main U-Boot are concatenated together to form a > single memory image. Hence, the maximum SPL size is the different in > TEXT_BASE for SPL and main U-Boot. Instead of manually calculating > SP

Re: [U-Boot] [PATCH V3 4/5] ARM: tegra: select between Seaboard/Ventana at compile time

2012-10-25 Thread Simon Glass
On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > Seaboard and Ventana are very similar boards, and so share the seaboard.c > board file. The one difference needed so far is detected at run-time by > calling machine_is_ventana(). This bloats the Ventana build with

Re: [U-Boot] [PATCH V3 5/5] ARM: tegra: don't request GPIO from Seaboard's SPL

2012-10-25 Thread Simon Glass
Hi, On Mon, Oct 22, 2012 at 9:19 AM, Stephen Warren wrote: > From: Stephen Warren > > Seaboard has a GPIO that switches an external mux between Tegra's debug > UART and SPI flash. This is initialized from the SPL so that SPL debug > output can be seen. Simplify the code that does this, and don't

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

2012-10-25 Thread Tom Rini
On Tue, Oct 23, 2012 at 11:19:29AM -0700, Tom Rini wrote: > Hello, > > The following changes since commit 39826f09978a0a7070999acc15babf88f03e4051: > > arm: fdt: Relocate fdt along with other data (2012-10-19 21:38:27 +0200) > > are available in the git repository at: > > git://git.denx.de

[U-Boot] [PATCH v2 04/20] scsi: Add function and env var to report number of scsi drives

2012-10-25 Thread Simon Glass
From: Stefan Reinauer Add a new function to find out the number of available SCSI disks. Also set the 'scsidevs' environment variable after each scan. Signed-off-by: Stefan Reinauer Signed-off-by: Simon Glass --- Changes in v2: - Set 'scsidevs' environment variable to number of SCSI disks RE

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

2012-10-25 Thread Tom Rini
Hello, The following changes since commit 39826f09978a0a7070999acc15babf88f03e4051: arm: fdt: Relocate fdt along with other data (2012-10-19 21:38:27 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to c7d35bef255dedb3ec38569

Re: [U-Boot] [PATCH 1/4 V3] kerneldoc: Implant DocBook from Linux kernel

2012-10-25 Thread Tom Rini
On Tue, Oct 23, 2012 at 04:03:29PM -0500, Andy Fleming wrote: > On Tue, Oct 23, 2012 at 3:58 PM, Tom Rini wrote: > > On Tue, Oct 23, 2012 at 02:56:58PM -0500, Andy Fleming wrote: > >> On Tue, Oct 23, 2012 at 2:30 AM, Marek Vasut wrote: > >> > Dear Andy Fleming, > >> > > >> > [...] > >> > > >> >>

[U-Boot] [PATCH] MAKEALL: Add -s to '${MAKE} tidy' section

2012-10-25 Thread Tom Rini
When BUILD_NBUILDS is > 1 we run the tidy command. With the addition of DocBook this now includes a -C doc/DocBook and a 'entering/leaving' pair of messages happen. Since we don't want to see what's being cleaned here, we can just invoke make -s like we do when building. Signed-off-by: Tom Rini

Re: [U-Boot] [PATCH 00/32] Initial sparse fix series

2012-10-25 Thread Kim Phillips
On Thu, 25 Oct 2012 10:46:54 -0700 Tom Rini wrote: > On Tue, Oct 16, 2012 at 07:28:16PM -0500, Kim Phillips wrote: > > > This 32-patch series only begins to address making u-boot source more > > 'sparseable,' or sparse-clean, ultimately to catch type, address space, > > and endianness mismatches

Re: [U-Boot] [PATCH] common/cmd_ext_common: measure throughput

2012-10-25 Thread Tom Rini
On Wed, Oct 17, 2012 at 12:16:14PM +0200, Andreas Bie??mann wrote: > Dear Wolfgang Denk, > > On 17.10.2012 12:05, Wolfgang Denk wrote: > > Dear Andreas Bie??mann, > > > > In message <1350467910-2014-1-git-send-email-andreas.de...@googlemail.com> > > you wrote: > >> This patch adds time measureme

Re: [U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-25 Thread Tomas Hlavacek
Hello Graeme, On Thu, Oct 25, 2012 at 3:40 AM, Graeme Russ wrote: >> diff --git a/arch/arm/include/asm/global_data.h >> b/arch/arm/include/asm/global_data.h >> index 2b9af93..9045829 100644 >> --- a/arch/arm/include/asm/global_data.h >> +++ b/arch/arm/include/asm/global_data.h >> @@ -82,6 +82,9

Re: [U-Boot] [PATCH 2/2] mmc: Split device init to decouple OCR-polling delay

2012-10-25 Thread Simon Glass
Hi, On Sun, Oct 21, 2012 at 1:12 AM, RgC wrote: > Hi All, > > On 2012.10/20, Simon Glass wrote: >> From: Che-Liang Chiou >> >> Most of time that MMC driver spends on initializing a device is polling >> OCR (operation conditions register). To decouple this polling loop, >> device init is split i

Re: [U-Boot] [PATCH 00/32] Initial sparse fix series

2012-10-25 Thread Tom Rini
On Thu, Oct 25, 2012 at 01:59:45PM -0500, Kim Phillips wrote: > On Thu, 25 Oct 2012 10:46:54 -0700 > Tom Rini wrote: > > > On Tue, Oct 16, 2012 at 07:28:16PM -0500, Kim Phillips wrote: > > > > > This 32-patch series only begins to address making u-boot source more > > > 'sparseable,' or sparse-c

Re: [U-Boot] [PATCH 1/4 V3] kerneldoc: Implant DocBook from Linux kernel

2012-10-25 Thread Marek Vasut
Dear Tom Rini, [...] > > > make --version ? > > > > GNU Make 3.81 > > OK, found it, posting a patch now. What exactly did you find? I don't see this problem with make 3.81 . Best regards, Marek Vasut ___ U-Boot mailing list U-Boot@lists.denx.de http

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Marek Vasut
Dear Simon Glass, > Hi, > > On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: > >> Dear Allen Martin, > >> > >> [...] > >> > >> > Hi Marek, the change to return value here broke serial output on > >> > tegra. What I see is t

Re: [U-Boot] Merging device trees at runtime for module-based systems

2012-10-25 Thread Wolfgang Denk
Dear Daniel, In message <50893633.6070...@gmail.com> you wrote: > > Overwrites must be addressed in the first place. The most common example > is that a more generic part (the module tree) registers all details > about a peripheral up-front but then sets its status to 'disabled'. That > way, the

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 12:03:47PM -0700, Marek Vasut wrote: > Dear Simon Glass, > > > Hi, > > > > On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > > > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: > > >> Dear Allen Martin, > > >> > > >> [...] > > >> > > >> > Hi Marek, th

Re: [U-Boot] [U-Boot, 2/6] fdt: Limit printed hex in fdt print and list commands

2012-10-25 Thread Tom Rini
On Fri, Aug 17, 2012 at 10:34:36AM -, Joe Hershberger wrote: > Prevent printing the entire image in a itb. It is most likely unhelpful > to have the hex of the entire image scroll for minutes on your slow > serial console. > > Signed-off-by: Joe Hershberger This causes: $ uboot-build.sh san

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Simon Glass
Hi, On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut wrote: > Dear Simon Glass, > >> Hi, >> >> On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: >> > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: >> >> Dear Allen Martin, >> >> >> >> [...] >> >> >> >> > Hi Marek, the change to ret

Re: [U-Boot] [U-Boot,3/6] fdt: Add get commands to fdt

2012-10-25 Thread Tom Rini
On Fri, Aug 17, 2012 at 10:34:37AM -, Joe Hershberger wrote: > Add commands to access data in the fdt. This allows data from a dtb > or itb to be accessed from the shell scripts. > > Signed-off-by: Joe Hershberger This adds: $ uboot-build.sh sandbox Testing sandbox on -00386-g5e8f983 Thu O

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: > Hi, > > On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut wrote: > > Dear Simon Glass, > > > >> Hi, > >> > >> On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote: > >> > On Sat, Oct 20, 2012 at 01:19:00AM -0700, Marek Vasut wrote: > >>

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Tom Rini
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/25/12 14:19, Allen Martin wrote: > On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: >> Hi, >> >> On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut >> wrote: >>> Dear Simon Glass, >>> Hi, On Mon, Oct 22, 2012 at 10:23 A

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 02:27:24PM -0700, Tom Rini wrote: > * PGP Signed by an unknown key > > On 10/25/12 14:19, Allen Martin wrote: > > On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: > >> Hi, > >> > >> On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut > >> wrote: > >>> Dear Simon Gl

Re: [U-Boot] [PATCH 0/3] Bring in new I2C framework

2012-10-25 Thread Simon Glass
Hi Heiko, On Mon, Oct 22, 2012 at 10:40 AM, Heiko Schocher wrote: > rebased/reworked the I2C multibus patches from Simon Glass found > here: > > http://www.mail-archive.com/u-boot@lists.denx.de/msg75530.html > > It seems the timing is coming, to bring this in mainline and > move boards over to th

[U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
Add a new special environment variable "serial" that allows selection of serial device when CONFIG_SERIAL_MULTI is defined. This replaces the existing calls to serial_assign() from cmd_nvedit.c and iomux.c that were not doing anything. Signed-off-by: Allen Martin --- common/cmd_nvedit.c

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Marek Vasut
Dear Allen Martin, > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing anything. > > Signed-off-by: Allen Martin

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Tom Rini
On Thu, Oct 25, 2012 at 02:59:50PM -0700, Allen Martin wrote: > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing a

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing

[U-Boot] [PATCH] powerpc/85xx: implement check for erratum A-004849 work-around

2012-10-25 Thread Timur Tabi
The work-around for erratum A-004849 ("CoreNet fabric (CCF) can exhibit a deadlock under certain traffic patterns causing the system to hang") is implemented via the PBI (pre-boot initialization code, typically attached to the RCW binary). This is because the work-around is easier to implement in

Re: [U-Boot] [PATCH 3/6] serial: Reorder serial_assign()

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 4:19 PM, Allen Martin wrote: > On Thu, Oct 25, 2012 at 02:02:55PM -0700, Simon Glass wrote: >> Hi, >> >> On Thu, Oct 25, 2012 at 12:03 PM, Marek Vasut wrote: >> > Dear Simon Glass, >> > >> >> Hi, >> >> >> >> On Mon, Oct 22, 2012 at 10:23 AM, Allen Martin wrote:

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Stephen Warren
On 10/25/2012 03:59 PM, Allen Martin wrote: > Add a new special environment variable "serial" that allows selection > of serial device when CONFIG_SERIAL_MULTI is defined. This replaces > the existing calls to serial_assign() from cmd_nvedit.c and iomux.c > that were not doing anything. So I thin

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Stephen Warren
On 10/25/2012 04:36 PM, Joe Hershberger wrote: > Hi Allen, > > On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: >> Add a new special environment variable "serial" that allows selection >> of serial device when CONFIG_SERIAL_MULTI is defined. This replaces >> the existing calls to serial_assi

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Stephen, On Thu, Oct 25, 2012 at 5:43 PM, Stephen Warren wrote: > On 10/25/2012 03:59 PM, Allen Martin wrote: >> Add a new special environment variable "serial" that allows selection >> of serial device when CONFIG_SERIAL_MULTI is defined. This replaces >> the existing calls to serial_assign(

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Stephen, On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren wrote: > On 10/25/2012 04:36 PM, Joe Hershberger wrote: >> Hi Allen, >> >> On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: >>> Add a new special environment variable "serial" that allows selection >>> of serial device when CONFIG_S

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 03:46:01PM -0700, Joe Hershberger wrote: > Hi Stephen, > > On Thu, Oct 25, 2012 at 5:43 PM, Stephen Warren wrote: > > On 10/25/2012 03:59 PM, Allen Martin wrote: > >> Add a new special environment variable "serial" that allows selection > >> of serial device when CONFIG_SE

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: > Hi Stephen, > > On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren wrote: > > On 10/25/2012 04:36 PM, Joe Hershberger wrote: > >> Hi Allen, > >> > >> On Thu, Oct 25, 2012 at 4:59 PM, Allen Martin wrote: > >>> Add a new special envir

Re: [U-Boot] [PATCH v9] [RFC] Add dmmalloc module for DM.

2012-10-25 Thread Graeme Russ
Hi Tomas, On Fri, Oct 26, 2012 at 6:16 AM, Tomas Hlavacek wrote: > Hello Graeme, > > On Thu, Oct 25, 2012 at 3:40 AM, Graeme Russ wrote: > >>> diff --git a/arch/arm/include/asm/global_data.h >>> b/arch/arm/include/asm/global_data.h >>> index 2b9af93..9045829 100644 >>> --- a/arch/arm/include/as

[U-Boot] [PATCH] usb: tegra: move Tegra EHCI implementation to correct place

2012-10-25 Thread Lucas Stach
Move the Tegra EHCI implementation to the correct directory in the tree. This code is specific to the Tegra EHCI controller, not to the Tegra SoC in general. This is not just a move of the code, but also some small changes squashed in. Most notable: - removed some unneeded parameters from function

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 5:50 PM, Allen Martin wrote: > On Thu, Oct 25, 2012 at 03:46:01PM -0700, Joe Hershberger wrote: >> Hi Stephen, >> >> On Thu, Oct 25, 2012 at 5:43 PM, Stephen Warren >> wrote: >> > On 10/25/2012 03:59 PM, Allen Martin wrote: >> >> Add a new special environment v

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 5:53 PM, Allen Martin wrote: > On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: >> Hi Stephen, >> >> On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren >> wrote: >> > On 10/25/2012 04:36 PM, Joe Hershberger wrote: >> >> Hi Allen, >> >> >> >> On Thu

Re: [U-Boot] [PATCH] serial: add environment control for SERIAL_MULTI

2012-10-25 Thread Allen Martin
On Thu, Oct 25, 2012 at 04:18:11PM -0700, Joe Hershberger wrote: > Hi Allen, > > On Thu, Oct 25, 2012 at 5:53 PM, Allen Martin wrote: > > On Thu, Oct 25, 2012 at 03:47:09PM -0700, Joe Hershberger wrote: > >> Hi Stephen, > >> > >> On Thu, Oct 25, 2012 at 5:45 PM, Stephen Warren > >> wrote: > >>

[U-Boot] [PATCH] serial: remove calls to serial_assign()

2012-10-25 Thread Allen Martin
Remove calls to serial_assign() that are failing now that it returns a proper error code. This calls were not actually doing anything because they passed the name of a stdio_dev when a serial_device name is exptectd. Signed-off-by: Allen Martin --- common/cmd_nvedit.c |3 --- common/iomux.c

Re: [U-Boot] [PATCH] serial: remove calls to serial_assign()

2012-10-25 Thread Joe Hershberger
Hi Allen, On Thu, Oct 25, 2012 at 6:30 PM, Allen Martin wrote: > Remove calls to serial_assign() that are failing now that it returns a > proper error code. This calls were not actually doing anything > because they passed the name of a stdio_dev when a serial_device name > is exptectd. > > Sign

[U-Boot] [PATCH v2 02/19] scsi: Provide support for a list of AHCI controllers.

2012-10-25 Thread Simon Glass
From: Vadim Bendebury Many AHCI controllers are identical, the main (and often the only) difference being the PCI Vendor ID/Device ID combination reported by the device. This change allows the config file to define a list of PCI vendor ID/device ID pairs. The driver would scan the list and initi

Re: [U-Boot] [PATCH v2 02/19] scsi: Provide support for a list of AHCI controllers.

2012-10-25 Thread Simon Glass
Hi Tom, On Thu, Oct 25, 2012 at 5:52 PM, Simon Glass wrote: > From: Vadim Bendebury > > Many AHCI controllers are identical, the main (and often the > only) difference being the PCI Vendor ID/Device ID combination > reported by the device. > > This change allows the config file to define a list

[U-Boot] [PATCH 0/14] fdt: Add various device tree utilities and features

2012-10-25 Thread Simon Glass
This series contains a number of features related to CONFIG_OF_CONTROL, such as: - reading fdt values - reading configuration from the fdt - allowing the fdt to specify a boot command Abhilash Kesavan (2): fdt: Add function to get config int from device tree fdt: Add function for decoding mu

[U-Boot] [PATCH 10/14] fdt: Load boot command from device tree

2012-10-25 Thread Simon Glass
From: Che-Liang Chiou Load boot command from /config/bootcmd of device tree if present. Signed-off-by: Tom Wai-Hong Tam Signed-off-by: Che-Liang Chiou Signed-off-by: Simon Glass --- common/main.c | 16 +++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/common/

[U-Boot] [PATCH 14/14] fdt: Set kernaddr if fdt indicates a kernel is present

2012-10-25 Thread Simon Glass
If kernel-offset is specified in the fdt, set an environment variable so that scripts can access the attached kernel. This can be used by a packaging program to tell U-Boot about a kernel that has been downloaded alongside U-Boot. The value in the fdt is the offset of the kernel from the start of

[U-Boot] [PATCH 13/14] fdt: Add option to default to most compatible conf in a fit image

2012-10-25 Thread Simon Glass
From: Gabe Black When booting a fit image with multiple configurations, the user either has to specify which configuration to use explicitly, or there has to be a default defined which is chosen automatically. This change adds an option to change that behavior so that a configuration can be selec

[U-Boot] [PATCH 07/14] fdt: Add function to read boolean property

2012-10-25 Thread Simon Glass
From: Gabe Black Signed-off-by: Vincent Palatin Commit-Ready: Vincent Palatin Commit-Ready: Gabe Black Signed-off-by: Simon Glass --- include/fdtdec.h | 10 ++ lib/fdtdec.c | 14 ++ 2 files changed, 24 insertions(+), 0 deletions(-) diff --git a/include/fdtdec.h

[U-Boot] [PATCH 11/14] fdt: Tell the FDT library where the device tree is

2012-10-25 Thread Simon Glass
From: Gabe Black This change adds a call to set_working_fdt_addr near the end of u-boot initialization which tells the fdt command/library where the device tree is. This makes it possible to use the fdt command to look at the active device tree since otherwise there would be no way to know what a

[U-Boot] [PATCH 12/14] fdt: Allow device tree to specify secure booting

2012-10-25 Thread Simon Glass
From: Doug Anderson When secure booting is chosen: * The u-boot shell is never invoked during boot--we just do a simple table lookup to find the command. This means we could even remove the shell parsing from u-boot and still be able to boot. * The boot command can't be interruped. * Failure

[U-Boot] [PATCH 04/14] fdt: Add function for decoding multiple gpios globally available

2012-10-25 Thread Simon Glass
From: Abhilash Kesavan Samsung's SDHCI bindings require multiple gpios to be parsed and configured at a time. Export the already available fdtdec_decode_gpios for this purpose. Signed-off-by: Abhilash Kesavan Commit-Ready: Che-Liang Chiou Signed-off-by: Simon Glass --- include/fdtdec.h | 1

  1   2   >