Re: [U-Boot] [PATCH v3 7/8] x86: Add ivybridge directory to Makefile

2014-11-24 Thread Masahiro Yamada
Hi Simon, Can you apply this as a single patch ASAP to fix the build error, please? Masahiro On Mon, 24 Nov 2014 21:18:20 -0700 Simon Glass wrote: > It is now required to add subdirectories in the x86 cpu Makefile. Add this > to fix a build breakage for chromebook_link. > > Signed-off-by: S

Re: [U-Boot] AM335x Ethernet pin mux confusion

2014-11-24 Thread Mugunthan V N
On Monday 24 November 2014 07:57 PM, Andy Pont wrote: > Hello, > > I am working on porting U-Boot 2014.07 to a custom TI AM3354 based hardware > platform and am confused trying to set the pin mux for the two Ethernet > interfaces that are on the board. > > RGMII1_ pins are connected to an ATHER

Re: [U-Boot] [PATCH 1/2] exynos5420: fix compilation without parade video

2014-11-24 Thread Ajay kumar
On Mon, Nov 24, 2014 at 8:45 PM, Sjoerd Simons wrote: > Not all exynos 5420 based devices with an LCD also have a parade LVDS > bridge. So make sure compilation doesn't break if CONFIG_LCD is enabled > and CONFIG_VIDEO_PARADE is not. > > Signed-off-by: Sjoerd Simons > --- > board/samsung/smdk542

Re: [U-Boot] [PATCH v3 2/8] x86: Add LAPIC setup code

2014-11-24 Thread Bin Meng
On Tue, Nov 25, 2014 at 12:18 PM, Simon Glass wrote: > Add code to set up the Local Advanced Peripheral Interrupt Controller. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Use exitsing disable_lapic() code instead of duplicating it > > Changes in v2: > - Remove use of __PRE_RAM__ de

Re: [U-Boot] [PATCH v3 1/8] x86: Drop old CONFIG_INTEL_CORE_ARCH code

2014-11-24 Thread Bin Meng
On Tue, Nov 25, 2014 at 12:18 PM, Simon Glass wrote: > This is no-longer used, so drop it. > > Signed-off-by: Simon Glass > --- > > Changes in v3: > - Split out CONFIG_INTEL_CORE_ARCH removal patch > > Changes in v2: None > > arch/x86/cpu/interrupts.c | 28 > 1 file

Re: [U-Boot] Raspberry Pi with driver model

2014-11-24 Thread Stephen Warren
On 11/24/2014 08:58 AM, Simon Glass wrote: > Hi Stephen, > > There was another thread where you reported a hang when booting > Raspberry Pi with driver model. It can be repeated by applying this > patch and trying to boot with syslinux. > > http://patchwork.ozlabs.org/patch/392180/ > > When it h

[U-Boot] [PATCH v3 1/2] dm: rpi: Move serial to driver model

2014-11-24 Thread Simon Glass
Adjust the configuration to use the driver model version of the pl01x serial driver. Add the required platform data. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: - Adjust header file include to dm/platform_data/... board/raspberrypi/rpi/rpi.c | 12 include/con

[U-Boot] [PATCH v3 2/2] dm: serial_pl01x: Add missing private data size

2014-11-24 Thread Simon Glass
The private data size is missing from the driver, so we store it at 0, which causes problems when something overwrites memory at 0. Fix this. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to add missing private data size for serial_pl01x Changes in v2: None drivers/serial/ser

[U-Boot] [PATCH v3 0/2] dm: rpi: Move Raspberry Pi to use driver model

2014-11-24 Thread Simon Glass
This series adds driver model support to the GPIO and serial drivers used by Raspberry Pi, and moves Raspberry Pi over to driver model. This requires adding driver model support to the pl01x serial driver, and replacing the bcm2835 GPIO driver with a driver model version (since there are no longer

Re: [U-Boot] Raspberry Pi with driver model

2014-11-24 Thread Simon Glass
Hi Stephen, On 24 November 2014 at 21:21, Stephen Warren wrote: > On 11/24/2014 08:58 AM, Simon Glass wrote: >> Hi Stephen, >> >> There was another thread where you reported a hang when booting >> Raspberry Pi with driver model. It can be repeated by applying this >> patch and trying to boot with

Re: [U-Boot] [PATCH v2 2/2] dm: rpi: Move script load address to 0x8000

2014-11-24 Thread Simon Glass
Hi Stephen, On 24 November 2014 at 21:22, Stephen Warren wrote: > On 11/24/2014 09:10 PM, Simon Glass wrote: >> Hi Stephen, >> >> On 24 November 2014 at 21:06, Stephen Warren wrote: >>> On 11/24/2014 06:08 PM, Simon Glass wrote: The current load address of 0 seems to cause problems when dri

Re: [U-Boot] [PATCH v2 2/2] dm: rpi: Move script load address to 0x8000

2014-11-24 Thread Stephen Warren
On 11/24/2014 09:10 PM, Simon Glass wrote: > Hi Stephen, > > On 24 November 2014 at 21:06, Stephen Warren wrote: >> On 11/24/2014 06:08 PM, Simon Glass wrote: >>> The current load address of 0 seems to cause problems when driver model >>> is used. There doesn't seem to be any reason why the scrip

[U-Boot] [PATCH v3 5/8] x86: ivybridge: Add northbridge init functions

2014-11-24 Thread Simon Glass
Add init for the northbridge, another part of the platform controller hub. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/x86/cpu/ivybridge/Makefile | 1 + arch/x86/cpu/ivybridge/bd82x6x.c | 2 + arch/x86/cpu/ivybridge/northbr

[U-Boot] [PATCH v3 8/8] Fix SIZE_MAX compiler warning when using stdint.h

2014-11-24 Thread Simon Glass
This new symbol may be defined by the compiler. If it is, avoid a compiler warning when USE_STDINT is defined. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to fix SIZE_MAX compiler warning when using stdint.h Changes in v2: None include/linux/kernel.h | 2 ++ 1 file changed,

[U-Boot] [PATCH v3 3/8] x86: Add init for model 206AX CPU

2014-11-24 Thread Simon Glass
Add the setup code for the CPU so that it can be used at full speed. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/x86/cpu/ivybridge/Makefile | 1 + arch/x86/cpu/ivybridge/bd82x6x.c | 6 + arch/x86/cpu/ivybridge/model_206ax.c

[U-Boot] [PATCH v3 4/8] x86: Drop some msr functions that we don't support

2014-11-24 Thread Simon Glass
These are not available in U-Boot as yet, so drop them. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None arch/x86/include/asm/msr.h | 11 --- 1 file changed, 11 deletions(-) diff --git a/arch/x86/include/asm/msr.h b/arch/x86/include/asm/msr.h index df43983..1955a

[U-Boot] [PATCH v3 2/8] x86: Add LAPIC setup code

2014-11-24 Thread Simon Glass
Add code to set up the Local Advanced Peripheral Interrupt Controller. Signed-off-by: Simon Glass --- Changes in v3: - Use exitsing disable_lapic() code instead of duplicating it Changes in v2: - Remove use of __PRE_RAM__ define - Use existing lapic_setup() code instead of duplicating it arch

[U-Boot] [PATCH v3 6/8] x86: config: Enable SPI for chromebook_link

2014-11-24 Thread Simon Glass
Enable SPI so that the SPI flash can be used. Signed-off-by: Simon Glass --- Changes in v3: None Changes in v2: None include/configs/chromebook_link.h | 4 1 file changed, 4 deletions(-) diff --git a/include/configs/chromebook_link.h b/include/configs/chromebook_link.h index 86429cf..6b

[U-Boot] [PATCH v3 1/8] x86: Drop old CONFIG_INTEL_CORE_ARCH code

2014-11-24 Thread Simon Glass
This is no-longer used, so drop it. Signed-off-by: Simon Glass --- Changes in v3: - Split out CONFIG_INTEL_CORE_ARCH removal patch Changes in v2: None arch/x86/cpu/interrupts.c | 28 1 file changed, 28 deletions(-) diff --git a/arch/x86/cpu/interrupts.c b/arch/x8

[U-Boot] [PATCH v3 7/8] x86: Add ivybridge directory to Makefile

2014-11-24 Thread Simon Glass
It is now required to add subdirectories in the x86 cpu Makefile. Add this to fix a build breakage for chromebook_link. Signed-off-by: Simon Glass --- Changes in v3: - Add new patch to add ivybridge directory to Makefile Changes in v2: None arch/x86/cpu/Makefile | 2 ++ 1 file changed, 2 inse

Re: [U-Boot] [PATCH v3 0/8] x86: Add additional system setup for ivybridge

2014-11-24 Thread Simon Glass
Hi, On 24 November 2014 at 21:18, Simon Glass wrote: > This series adds full support for the LPC (Low Pin Count) bridge, the > PCH (Platform Controller Hub), PCI devices like USB and SATA and more > CPU init support (turbo mode, etc.) > > With this series, chromebook_link can use SATA and USB at

[U-Boot] [PATCH v3 0/8] x86: Add additional system setup for ivybridge

2014-11-24 Thread Simon Glass
This series adds full support for the LPC (Low Pin Count) bridge, the PCH (Platform Controller Hub), PCI devices like USB and SATA and more CPU init support (turbo mode, etc.) With this series, chromebook_link can use SATA and USB at the command line. Changes in v3: - Add new patch to add ivybrid

Re: [U-Boot] [PATCH 2/2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-11-24 Thread Simon Glass
Hi Sjoerd, On 24 November 2014 at 16:13, Sjoerd Simons wrote: > On Mon, 2014-11-24 at 09:50 -0700, Simon Glass wrote: >> Hi Sjoerd, >> >> On 24 November 2014 at 09:21, Sjoerd Simons >> wrote: >> > On Mon, 2014-11-24 at 09:01 -0700, Simon Glass wrote: >> >> Does it fix the problem if you just rem

Re: [U-Boot] [PATCH v2 2/2] dm: rpi: Move script load address to 0x8000

2014-11-24 Thread Simon Glass
Hi Stephen, On 24 November 2014 at 21:06, Stephen Warren wrote: > On 11/24/2014 06:08 PM, Simon Glass wrote: >> The current load address of 0 seems to cause problems when driver model >> is used. There doesn't seem to be any reason why the script needs to load >> to 0, so move it. > > I'm not par

Re: [U-Boot] [PATCH v2 1/2] dm: rpi: Move serial to driver model

2014-11-24 Thread Stephen Warren
On 11/24/2014 06:08 PM, Simon Glass wrote: > Adjust the configuration to use the driver model version of the pl01x > serial driver. Add the required platform data. This basically seems to work, but I'll withhold any tested-by/acked-by until we can work out why writes to address 0 cause U-Boot to f

Re: [U-Boot] [PATCH v2 2/2] dm: rpi: Move script load address to 0x8000

2014-11-24 Thread Stephen Warren
On 11/24/2014 06:08 PM, Simon Glass wrote: > The current load address of 0 seems to cause problems when driver model > is used. There doesn't seem to be any reason why the script needs to load > to 0, so move it. I'm not particularly tied to the specific $scriptaddr value, but I think we should fi

[U-Boot] Tegra board problems

2014-11-24 Thread Simon Glass
Hi, I'm a bit messed up with my testing now. 1. Jetson-TK1: While I2C testing I unfortunately erased part of the I2C board ID EEPROM, and now it will not boot. It says: Dummy read for TPS65913 Board id = 0x1ff and then dies. I can probably change the board id back, but I'm not sure what it shou

Re: [U-Boot] [PATCH v2 08/30] rtc: mc146818: Set up RTC at start of day

2014-11-24 Thread Simon Glass
On 24 November 2014 at 19:47, Simon Glass wrote: > On 14 November 2014 at 20:37, Bin Meng wrote: >> On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass wrote: >>> Provide a function to set up the RTC ready for use. >>> >>> Signed-off-by: Simon Glass >>> >>> --- >>> >>> Changes in v2: >>> - Drop the pa

Re: [U-Boot] [PATCH v2] Kbuild: introduce Makefile in arch/$ARCH/

2014-11-24 Thread Masahiro Yamada
Hi Daniel, On Fri, 21 Nov 2014 23:51:33 +0100 Daniel Schwierzeck wrote: > Introduce a Makefile under arch/$ARCH/ and include it in the > top Makefile (similar to Linux kernel). This allows further > refactoringi like moving architecture-specific code out of global > makefiles, deprecating config

Re: [U-Boot] [PATCH 0/5] PL01x: baudrate & line control fixes

2014-11-24 Thread Simon Glass
Hi Vikas, On 24 November 2014 at 17:40, vikasm wrote: > Hi Simon, > > > On 11/24/2014 07:51 AM, Simon Glass wrote: >> >> Hi Vikas, >> >> On 18 November 2014 at 11:59, vikasm wrote: >>> >>> Thanks Simon, >>> >>> >>> On 11/17/2014 09:30 PM, Simon Glass wrote: Hi Vikas, On 18 No

Re: [U-Boot] [PATCH U-Boot] ARM: rpi_b: detect board revision

2014-11-24 Thread Simon Glass
Hi Stephen, On 24 November 2014 at 20:38, Stephen Warren wrote: > On 11/24/2014 08:50 AM, Simon Glass wrote: >> Hi Stephen, >> >> On 18 November 2014 at 21:40, Stephen Warren wrote: >>> Detect the board revision early during boot, and print the decoded >>> model name. >>> >>> Eventually, this in

Re: [U-Boot] [PATCH v2 0/2] mtd: denali: Use SELF_INIT to fix up registers after nand_scan_ident()

2014-11-24 Thread Masahiro Yamada
Scott, If you have no more comment on this series, please apply it. Masahiro On Thu, 13 Nov 2014 20:31:49 +0900 Masahiro Yamada wrote: > > This patch series is here because Scott Wood recommended me > to use CONFIG_SYS_NAND_SELF_INIT to solve my problem: > http://patchwork.ozlabs.org/patc

Re: [U-Boot] [PATCH 2/4] x86: Remove cpu_init_r() for x86

2014-11-24 Thread Simon Glass
On 24 November 2014 at 20:06, Simon Glass wrote: > On 20 November 2014 at 01:11, Bin Meng wrote: >> Since cpu_init_interrupts() was moved out of cpu_init_r(), it is >> useless to keep cpu_init_r() for x86, thus remove it. >> >> Signed-off-by: Bin Meng >> --- >> arch/x86/cpu/cpu.c

Re: [U-Boot] [PATCH 4/4] x86: Remove unnecessary call to initr_enable_interrupts()

2014-11-24 Thread Simon Glass
On 24 November 2014 at 20:06, Simon Glass wrote: > On 20 November 2014 at 01:11, Bin Meng wrote: >> Actually initr_enable_interrupts() was never called in an x86 build >> due to it was wrapped by CONFIG_x86 (typo of X86). >> >> Signed-off-by: Bin Meng >> --- >> common/board_r.c | 2 +- >> 1 fil

Re: [U-Boot] [PATCH 3/4] x86: Refactor interrupt_init()

2014-11-24 Thread Simon Glass
On 24 November 2014 at 20:06, Simon Glass wrote: > On 20 November 2014 at 01:11, Bin Meng wrote: >> Rename interrupt_init() in arch/x86/lib/pcat_interrupts.c to >> i8259_init() and create a new interrupt_init() in >> arch/x86/cpu/interrupt.c to call i8259_init() followed by a >> call to cpu_init_

Re: [U-Boot] [PATCH 1/4] x86: Call cpu_init_interrupts() from interrupt_init()

2014-11-24 Thread Simon Glass
On 24 November 2014 at 20:05, Simon Glass wrote: > On 20 November 2014 at 01:10, Bin Meng wrote: >> Currently cpu_init_interrupts() is called from cpu_init_r() to >> setup the interrupt and exception of the cpu core, but at that >> time the i8259 has not been initialized to mask all the irqs >> a

Re: [U-Boot] [PATCH U-Boot] ARM: rpi_b: detect board revision

2014-11-24 Thread Stephen Warren
On 11/24/2014 08:50 AM, Simon Glass wrote: > Hi Stephen, > > On 18 November 2014 at 21:40, Stephen Warren wrote: >> Detect the board revision early during boot, and print the decoded >> model name. >> >> Eventually, this information can be used for tasks such as: >> - Allowing/preventing USB devi

Re: [U-Boot] [PATCH 8/8] dm: core: abolish u-boot, dm-pre-reloc property

2014-11-24 Thread Masahiro Yamada
Hi Simon, On Mon, 24 Nov 2014 15:29:23 -0700 Simon Glass wrote: > HI Masahiro, > > On 21 November 2014 at 02:59, Masahiro Yamada > wrote: > > Hi Simon, > > > > > > > > On Thu, 20 Nov 2014 16:44:22 + > > Simon Glass wrote: > > > >> Hi Masahiro, > >> > >> On 19 November 2014 09:21, Masah

Re: [U-Boot] [PATCH v2 01/12] spi/ich.c: Fix a bug of reading from a non-64 bytes aligned address

2014-11-24 Thread Bin Meng
Hi Simon On Tue, Nov 25, 2014 at 11:10 AM, Simon Glass wrote: > Hi, > > On 1 November 2014 at 02:53, Bin Meng wrote: >> The ich spi controller driver spi_xfer() tries to align reading >> address to 64 bytes when doing spi data in, which causes a bug of >> either infinite loop or a huge size memc

Re: [U-Boot] [PATCH v2 01/12] spi/ich.c: Fix a bug of reading from a non-64 bytes aligned address

2014-11-24 Thread Simon Glass
Hi, On 1 November 2014 at 02:53, Bin Meng wrote: > The ich spi controller driver spi_xfer() tries to align reading > address to 64 bytes when doing spi data in, which causes a bug of > either infinite loop or a huge size memcpy(). > > Actually the ich spi controller does not have such requirement

Re: [U-Boot] [PATCH 3/4] x86: Refactor interrupt_init()

2014-11-24 Thread Simon Glass
On 20 November 2014 at 01:11, Bin Meng wrote: > Rename interrupt_init() in arch/x86/lib/pcat_interrupts.c to > i8259_init() and create a new interrupt_init() in > arch/x86/cpu/interrupt.c to call i8259_init() followed by a > call to cpu_init_interrupts(). > > Signed-off-by: Bin Meng > --- > arch

Re: [U-Boot] [PATCH 4/4] x86: Remove unnecessary call to initr_enable_interrupts()

2014-11-24 Thread Simon Glass
On 20 November 2014 at 01:11, Bin Meng wrote: > Actually initr_enable_interrupts() was never called in an x86 build > due to it was wrapped by CONFIG_x86 (typo of X86). > > Signed-off-by: Bin Meng > --- > common/board_r.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Acked-by: Simon G

Re: [U-Boot] [PATCH 2/4] x86: Remove cpu_init_r() for x86

2014-11-24 Thread Simon Glass
On 20 November 2014 at 01:11, Bin Meng wrote: > Since cpu_init_interrupts() was moved out of cpu_init_r(), it is > useless to keep cpu_init_r() for x86, thus remove it. > > Signed-off-by: Bin Meng > --- > arch/x86/cpu/cpu.c| 6 -- > arch/x86/include/asm/u-boot-x86.h | 2 -- >

Re: [U-Boot] [PATCH 1/4] x86: Call cpu_init_interrupts() from interrupt_init()

2014-11-24 Thread Simon Glass
On 20 November 2014 at 01:10, Bin Meng wrote: > Currently cpu_init_interrupts() is called from cpu_init_r() to > setup the interrupt and exception of the cpu core, but at that > time the i8259 has not been initialized to mask all the irqs > and remap the master i8259 interrupt vector base, so the

Re: [U-Boot] [PATCH v2 23/30] x86: config: Enable USB on link

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Enable USB support on link - there are two EHCI ports available. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/configs/chromebook_link.h | 2 -- > 1 file changed, 2 deletions(-) Applied to u-boot-x86.

Re: [U-Boot] [PATCH v2 24/30] x86: ivybridge: Set up XHCI USB

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add init for XHCI so that high-speed USB can be used. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/cpu/ivybridge/Makefile | 1 + > arch/x86/cpu/ivybridge/usb_xhci.c | 32 >

Re: [U-Boot] [PATCH v2 25/30] x86: Add Intel speedstep and turbo mode code

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Intel chips have a turbo mode where they can run faster for a short period > until they reach thermal limits. Add code to adjust and query this feature. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/cpu/Makefile

Re: [U-Boot] [PATCH v2 22/30] x86: ivybridge: Set up EHCI USB

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add init for EHCI so that USB can be used. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/cpu/ivybridge/Makefile | 1 + > arch/x86/cpu/ivybridge/bd82x6x.c | 2 ++ > arch/x86/cpu/ivybridge/u

Re: [U-Boot] [PATCH v2 20/30] x86: ivybridge: Add SATA init

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add code to set up the SATA interfaces on boot. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Move common SATA init to a function to reduce duplication > - Use pci_write_bar32() to write to BARs > > arch/x86/cpu/ivybridge/Makefile

Re: [U-Boot] [PATCH v2 18/30] x86: dts: Move PCI peripherals into a pci node

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > These peripherals should not be at the top level, since they exist inside > the PCI bus. We don't have a full device tree node for pci yet, but we > should at least put it at the right level. > > Signed-off-by: Simon Glass > --- > > Changes in v2

Re: [U-Boot] [PATCH v2 16/30] x86: ivybridge: Add PCH init

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add required init for the Intel Platform Controller Hub in ivybridge. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/cpu/ivybridge/Makefile | 1 + > arch/x86/cpu/ivybridge/pch.c | 123 > ++

Re: [U-Boot] [PATCH v2 21/30] x86: dts: Add SATA settings for link

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add the requires settings to enable SATA on link. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/dts/link.dts | 7 +++ > include/configs/chromebook_link.h | 1 - > 2 files changed, 7 insertions(+), 1 de

Re: [U-Boot] [PATCH v2 17/30] x86: ivybridge: Add additional LPC init

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Set up all the remaining pieces of the LPC (low-pin-count) peripheral in > PCH (Peripheral Controller Hub). > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Adjust rtc_init() call to remove the parameter > - Remove ISA DMA init which i

Re: [U-Boot] [PATCH v2 15/30] x86: Add a simple header file for ACPI

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > We don't use many features yet, so this only has a few declarations. > It will be expanded as needed. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/include/asm/acpi.h | 24 > 1 file changed, 2

Re: [U-Boot] [PATCH v2 19/30] x86: dts: Add LPC settings for link

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add some settings required to set up the LPC correctly. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None Applied to u-boot-x86. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.den

Re: [U-Boot] [PATCH v2 13/30] x86: Set up edge triggering on interrupt 9

2014-11-24 Thread Simon Glass
On 14 November 2014 at 20:57, Bin Meng wrote: > On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass wrote: >> Add this additional init in case it is needed by the OS. >> >> Signed-off-by: Simon Glass >> --- >> >> Changes in v2: >> - Remove i8259 patch and just update the existing interrupt code Applie

Re: [U-Boot] [PATCH v2 10/30] x86: pci: Add handlers before and after a PCI hose scan

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Some boards will want to do some setup before and after a PCI hose > is scanned. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/cpu/pci.c | 12 > arch/x86/include/asm/pci.h

Re: [U-Boot] [PATCH v2 11/30] x86: config: Enable plug-and-play for link PCI

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Enable this option so that we can configure the available PCI devices. Also > make sure that PCI is available early after relocation as we use it for > several other subsystems. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > in

Re: [U-Boot] [PATCH v2 09/30] x86: Add ioapic.h header

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add definitions for the I/O Advanced Peripheral Interrupt Controller. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/include/asm/ioapic.h | 38 ++ > 1 file changed, 38 insertions(+)

Re: [U-Boot] [PATCH v2 14/30] x86: ivybridge: Add support for BD82x6x PCH

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Add basic setup for the PCH. > > Signed-off-by: Simon Glass > --- > > Changes in v2: > - Use pci_write_bar32() to write to BARs > > arch/x86/cpu/ivybridge/Makefile | 1 + > arch/x86/cpu/ivybridge/bd82x6x.c | 99 > +++

Re: [U-Boot] [PATCH v2 07/30] x86: Factor out common values in the link script

2014-11-24 Thread Simon Glass
On 14 November 2014 at 20:34, Bin Meng wrote: > On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass wrote: >> Define the reset base in config.mk so that it does not need to be calculated >> twice in the link script. Also tidy up the START_16 and RESET_VEC_LOC values >> to fit with this new approach. >>

Re: [U-Boot] [PATCH v2 12/30] pci: Add functions to read and write a BAR address

2014-11-24 Thread Simon Glass
On 14 November 2014 at 20:39, Bin Meng wrote: > On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass wrote: >> Some PCI functions cannot be auto-configured. Add a function to set up a >> fixed BAR which can be used in these situations. Also add a function to read >> the current address of a BAR. >> >> Si

Re: [U-Boot] [PATCH v2 08/30] rtc: mc146818: Set up RTC at start of day

2014-11-24 Thread Simon Glass
On 14 November 2014 at 20:37, Bin Meng wrote: > On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass wrote: >> Provide a function to set up the RTC ready for use. >> >> Signed-off-by: Simon Glass >> >> --- >> >> Changes in v2: >> - Drop the part of the commit message that talks about using build date >>

Re: [U-Boot] [PATCH v2 03/30] pci: Update pci_ids.h to include some missing IDs

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > This was taken from Linux 3.18 with some additional IDs from Chrome OS > Coreboot commit 688ef385. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/pci_ids.h | 187 > --

Re: [U-Boot] [PATCH v2 05/30] x86: Panic if there is no relocation data

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > This normally indicates a problem which will prevent relocation from > functioning, resulting in a hang. Panic in this case to make it easier > to debug. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: > - Change

Re: [U-Boot] [PATCH v2 06/30] x86: Ensure that all relocation data is included in the image

2014-11-24 Thread Simon Glass
On 14 November 2014 at 20:29, Bin Meng wrote: > On Sat, Nov 15, 2014 at 9:18 AM, Simon Glass wrote: >> Some toolchains put the relocation data into separate sections. Adjust the >> linker script to catch this case. Without relocation data, U-Boot will not >> boot. >> >> Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 01/30] Align embedded device tree correctly

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > Device trees must be aligned to a 4-byte boundary. This was dropped in the > Kbuild conversion. Bring it back, and use 16-byte alignment for good > measure. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > scripts/Makefile.lib |

Re: [U-Boot] [PATCH v2 04/30] x86: Remove board_early_init_r()

2014-11-24 Thread Simon Glass
On 14 November 2014 at 18:18, Simon Glass wrote: > This function is not needed. Remove it to improve the generic init sequence > slightly. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > --- > > Changes in v2: None > > arch/x86/cpu/coreboot/coreboot.c| 11 --- > board/googl

Re: [U-Boot] [PATCH v2 02/30] Add ALIGN_DOWN() to find next smallest alignment

2014-11-24 Thread Simon Glass
Hi, On 14 November 2014 at 18:18, Simon Glass wrote: > We have an ALIGN() macro - add a comment as to what this does. Also add a > new ALIGN_DOWN() macro, which aligns a value to the next smallest multiple. > > Signed-off-by: Simon Glass > --- > > Changes in v2: None > > include/common.h | 15 +

Re: [U-Boot] [PATCH] tools: Add ifdtool to .gitignore

2014-11-24 Thread Simon Glass
On 24 November 2014 at 19:20, Bin Meng wrote: > Signed-off-by: Bin Meng > --- > tools/.gitignore | 1 + > 1 file changed, 1 insertion(+) Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] tools: Add ifdtool to .gitignore

2014-11-24 Thread Bin Meng
Signed-off-by: Bin Meng --- tools/.gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/.gitignore b/tools/.gitignore index e7f0f8f..9bc9fec 100644 --- a/tools/.gitignore +++ b/tools/.gitignore @@ -4,6 +4,7 @@ /fit_check_sign /fit_info /gen_eth_addr +/ifdtool /img2srec /kwboot

Re: [U-Boot] [PATCH V2] ORIGEN: Enhance origen config to be more flexible on boot.

2014-11-24 Thread Minkyu Kang
On 08/10/14 22:04, Guillaume GARDET wrote: > V2: rebased on latest GIT version > > V1: This patch enhances the boot of origen board by adding support to ext2, > bootz, initrd, bootenv loading and boot script. > It still keeps the previous mmc load command if boot script fails. > > Signed-off-by:

Re: [U-Boot] [PATCH] ARNDALE: Enhance arndale config to be more flexible on boot.

2014-11-24 Thread Minkyu Kang
On 19/09/14 22:31, Guillaume GARDET wrote: > This patch enhances the boot of arndale board by adding support to bootz, > initrd, bootenv loading and boot script. > It still keeps the previous mmc load command if boot script fails. > > Signed-off-by: Guillaume GARDET > Cc: Minkyu Kang > > --- >

[U-Boot] [PATCH v2 2/2] dm: rpi: Move script load address to 0x8000

2014-11-24 Thread Simon Glass
The current load address of 0 seems to cause problems when driver model is used. There doesn't seem to be any reason why the script needs to load to 0, so move it. Signed-off-by: Simon Glass --- Changes in v2: - Add new patch to move script load address to 0x8000 include/configs/rpi.h | 2 +-

[U-Boot] [PATCH v2 1/2] dm: rpi: Move serial to driver model

2014-11-24 Thread Simon Glass
Adjust the configuration to use the driver model version of the pl01x serial driver. Add the required platform data. Signed-off-by: Simon Glass --- Changes in v2: - Adjust header file include to dm/platform_data/... board/raspberrypi/rpi/rpi.c | 12 include/configs/rpi.h |

[U-Boot] [PATCH v2 0/2] dm: rpi: Move Raspberry Pi to use driver model

2014-11-24 Thread Simon Glass
This series adds driver model support to the GPIO and serial drivers used by Raspberry Pi, and moves Raspberry Pi over to driver model. This requires adding driver model support to the pl01x serial driver, and replacing the bcm2835 GPIO driver with a driver model version (since there are no longer

Re: [U-Boot] [PATCH 0/5] PL01x: baudrate & line control fixes

2014-11-24 Thread vikasm
Hi Simon, On 11/24/2014 07:51 AM, Simon Glass wrote: Hi Vikas, On 18 November 2014 at 11:59, vikasm wrote: Thanks Simon, On 11/17/2014 09:30 PM, Simon Glass wrote: Hi Vikas, On 18 November 2014 00:17, Vikas Manocha wrote: This patchset fixes the pl01x driver esp for pl011 baudrate & lin

Re: [U-Boot] [PATCH v3 3/4] tegra: config: Enable FIT and device tree for all boards

2014-11-24 Thread Simon Glass
Hi Stephen, On 24 November 2014 at 10:11, Stephen Warren wrote: > On 11/23/2014 09:12 AM, Simon Glass wrote: >> >> Modern kernels require a device tree to boot. > > > True. > >> Enable FIT support to permit >> >> booting these images, rather than just legacy images. > > > I don't understand this?

Re: [U-Boot] [PATCH v3 4/4] ARM: tegra: Add support for nyan board

2014-11-24 Thread Simon Glass
Hi Stephen, On 24 November 2014 at 10:28, Stephen Warren wrote: > On 11/23/2014 09:12 AM, Simon Glass wrote: >> >> From: Allen Martin >> >> Nyan is a Tegra124 clamshell board that is very similar to venice2, but it >> has a different panel, the sdcard cd and wp sense are flipped, and it has >> a

Re: [U-Boot] [PATCH 2/2] Exynos5800: The Peach-Pi board does not have a Parade video bridge

2014-11-24 Thread Sjoerd Simons
On Mon, 2014-11-24 at 09:50 -0700, Simon Glass wrote: > Hi Sjoerd, > > On 24 November 2014 at 09:21, Sjoerd Simons > wrote: > > On Mon, 2014-11-24 at 09:01 -0700, Simon Glass wrote: > >> Does it fix the problem if you just remove it from the device tree? > > > > That should indeed work as well, b

Re: [U-Boot] [PATCH 8/8] dm: core: abolish u-boot, dm-pre-reloc property

2014-11-24 Thread Simon Glass
HI Masahiro, On 21 November 2014 at 02:59, Masahiro Yamada wrote: > Hi Simon, > > > > On Thu, 20 Nov 2014 16:44:22 + > Simon Glass wrote: > >> Hi Masahiro, >> >> On 19 November 2014 09:21, Masahiro Yamada wrote: >> > Hi Simon, >> > >> > >> > >> > On Tue, 18 Nov 2014 14:37:33 + >> > Simo

Re: [U-Boot] USB Host not enumerating properly on AM335x-based board

2014-11-24 Thread Maxime Ripard
Hi, On Sat, Nov 22, 2014 at 12:40:58AM +0100, Anatolij Gustschin wrote: > Hi Maxime, > > On Thu, 20 Nov 2014 17:49:17 +0100 > Maxime Ripard wrote: > > > Hi, > > > > I'm currently working on 2014.07, on a custom TI AM335x based board. > > > > Everything works great so far, except when we're tr

Re: [U-Boot] [PATCH 1/7] common/board_f: add setup of initial stack frame for MIPS

2014-11-24 Thread Tom Rini
On Fri, Nov 21, 2014 at 09:46:09PM +0100, Daniel Schwierzeck wrote: > Hi Simon, > > On 20.11.2014 18:22, Simon Glass wrote: > > Hi Daniel, > > > > On 20 November 2014 16:54, Daniel Schwierzeck > > wrote: > >> > >> > >> On 19.11.2014 23:22, Simon Glass wrote: > >>> Hi Daniel, > >>> > >>> On 19 No

Re: [U-Boot] [U-Boot, v8, 3/6] ext4: Prepare API change for files greater than 2GB

2014-11-24 Thread Tom Rini
On Mon, Nov 17, 2014 at 02:39:36PM -0800, Suriyan Ramasami wrote: > Change the internal EXT4 functions to use loff_t for offsets. > > Signed-off-by: Suriyan Ramasami > > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v8, 2/6] fat: Prepare API change for files greater than 2GB

2014-11-24 Thread Tom Rini
On Mon, Nov 17, 2014 at 02:39:35PM -0800, Suriyan Ramasami wrote: > Change the internal FAT functions to use loff_t for offsets. > > Signed-off-by: Suriyan Ramasami > > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] Please pull u-boot-x86.git

2014-11-24 Thread Tom Rini
On Fri, Nov 21, 2014 at 08:00:27AM +0100, Simon Glass wrote: > Hi Tom, > > Here's the introduction of bare x86 support. > > > The following changes since commit 4d70b34d7f721d8b1d4d628e68c3a44ab7a10dff: > > Merge branch 'master' of git://git.denx.de/u-boot-ubi (2014-11-19 > 23:18:29 -0500) >

Re: [U-Boot] [U-Boot, v8, 6/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-24 Thread Tom Rini
On Mon, Nov 17, 2014 at 02:39:39PM -0800, Suriyan Ramasami wrote: > Test size/read/write commands in a sandbox environment. > > Signed-off-by: Suriyan Ramasami > > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v8, 4/6] sandbox: Prepare API change for files greater than 2GB

2014-11-24 Thread Tom Rini
On Mon, Nov 17, 2014 at 02:39:37PM -0800, Suriyan Ramasami wrote: > Change the internal sandbox functions to use loff_t for file offsets. > > Signed-off-by: Suriyan Ramasami > > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, v8, 5/6] fs: API changes enabling extra parameter to return size of type loff_t

2014-11-24 Thread Tom Rini
On Mon, Nov 17, 2014 at 02:39:38PM -0800, Suriyan Ramasami wrote: > The sandbox/ext4/fat/generic fs commands do not gracefully deal with files > greater than 2GB. Negative values are returned in such cases. > > To handle this, the fs functions have been modified to take an additional > parameter

Re: [U-Boot] [U-Boot, v8, 1/6] sandbox: Use md5sum and fatwrite to enable testing of fs commands

2014-11-24 Thread Tom Rini
On Mon, Nov 17, 2014 at 02:39:34PM -0800, Suriyan Ramasami wrote: > Enable md5sum to obtain the MD5 of the read and written files to check > their contents for validity. > Use map_sysmem() to map buffer in a sandbox environment. > > Signed-off-by: Suriyan Ramasami > > Acked-by: Simon Glass Ap

Re: [U-Boot] [PATCH] Revert "hush: fix segfault on syntax error"

2014-11-24 Thread Tom Rini
On Fri, Nov 21, 2014 at 11:05:22PM +0100, Rabin Vincent wrote: > 128059b92 ("hush: fix segfault on syntax error") attempted to fix a > segfault on syntax errors, but it broke Ctrl-C handling, and the > assumption that it made, that rcode could not be -1, is incorrect. > Revert this change. > > Re

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

2014-11-24 Thread Tom Rini
On Mon, Nov 24, 2014 at 06:30:25PM +0100, Albert ARIBAUD wrote: > Hi Tom, > > The following changes since commit 0d485b9095328cdc81b2ee94ff59b988c69b9127: > > Merge branch 'master' of git://git.denx.de/u-boot-sunxi (2014-11-13 > 10:35:13 -0500) > > are available in the git repository at: >

[U-Boot] [ANN] U-Boot v2015.01-rc2 released

2014-11-24 Thread Tom Rini
Hey all, I've pushed v2015.01-rc2 out to the repository and tarballs should exist soon. I'm tagging later in the day than I wanted to, but that's OK. There's a fair number of things that've gone in since -rc1, but I think that's OK. And there's a few things that still need to go in. For exampl

Re: [U-Boot] [U-Boot, 1/7] common/board_f: add setup of initial stack frame for MIPS

2014-11-24 Thread Tom Rini
On Sat, Nov 15, 2014 at 11:46:52PM +0100, Daniel Schwierzeck wrote: > The MIPS specific setup of the initial stack frame was not > ported to generic board_f. > > Signed-off-by: Daniel Schwierzeck Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PULL] Please pull u-boot-imx

2014-11-24 Thread Tom Rini
On Mon, Nov 24, 2014 at 12:18:08PM +0100, Stefano Babic wrote: > Hi Tom, > > please pull from u-boot-imx, thanks ! > > The following changes since commit f196044dfd64745a163773c6c746f9e149ace127: > > ARM: atmel: add sama5d4 xplained ultra board support (2014-11-17 > 08:47:18 -0500) > > are a

Re: [U-Boot] [U-Boot, 2/7] common/board_f: fix gcc warning on MIPS64

2014-11-24 Thread Tom Rini
On Sat, Nov 15, 2014 at 11:46:53PM +0100, Daniel Schwierzeck wrote: > This fixes following warning when compiled with MIPS64 > > common/board_f.c: In function 'display_text_info': > common/board_f.c:150:2: warning: format '%X' expects argument i > of type 'unsigned int', but argument 2 has type

Re: [U-Boot] Please pull u-boot-dm

2014-11-24 Thread Tom Rini
On Sun, Nov 23, 2014 at 08:17:23AM -0700, Simon Glass wrote: > Hi Tom, > > There several driver model series outstanding. This request tries to > bring in what I think is ready for merging. > > - at91 series > - most of the SPL series, but as mentioned I need a revert of 1ee30aee > before enabli

Re: [U-Boot] [U-Boot,2/4] hush: add CONFIG_HUSH_PARSER to Kconfig

2014-11-24 Thread Tom Rini
On Thu, Nov 13, 2014 at 07:29:07PM +0900, Masahiro Yamada wrote: > The README file states that the macros beginning with "CONFIG_SYS_" > depend on the hardware etc. and should not be meddled with if you do > not what you're doing. > We have already screwed up with this policy; we have given the pr

Re: [U-Boot] [U-Boot, 4/4] spl: fix descending condition to drivers/mtd/nand/

2014-11-24 Thread Tom Rini
On Thu, Nov 13, 2014 at 07:29:09PM +0900, Masahiro Yamada wrote: > SPL should not reference CONFIG_CMD_NAND to decide whether or not > it should build drivers/mtd/nand. CONFIG_CMD_NAND should be only > used to select the NAND utility command on the command parser. > > Signed-off-by: Masahiro Yam

Re: [U-Boot] [U-Boot, 3/4] commands: add more command entries in Kconfig

2014-11-24 Thread Tom Rini
On Thu, Nov 13, 2014 at 07:29:08PM +0900, Masahiro Yamada wrote: > This commit adds some of command entries (CONFIG_CMD_*) to > cover include/config_cmd_default.h and a little extra. > > Because U-Boot supports lots of commands, they should be categorized > according to their usage. > > Signed-o

  1   2   3   >