Re: [U-Boot] TQM860L_config: u-boot.lds:76 cannot move location counter backwards

2011-12-02 Thread Robert P. J. Day
On Sat, 3 Dec 2011, Marek Vasut wrote: > > so i got permission to try to update u-boot on one of the TQM860 > > boards, so i checked out the u-boot git repo, ran: > > > > $ make TQM860L_config > > $ make > > > > and eventually got: > > > > u-boot.lds:76 cannot move location counter backwards (fr

Re: [U-Boot] [PATCH] MAKEALL: Add -l option to only list build targets

2011-12-02 Thread Mike Frysinger
On Saturday 03 December 2011 02:32:03 Marek Vasut wrote: > + if [ "$ONLY_LIST" == 'y' ] ; then return ; fi [ "$ONLY_LIST" = "y" ] && return -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lis

[U-Boot] [PATCH] MAKEALL: Add -l option to only list build targets

2011-12-02 Thread Marek Vasut
Signed-off-by: Marek Vasut Cc: Wolfgang Denk --- MAKEALL | 15 +-- 1 files changed, 13 insertions(+), 2 deletions(-) diff --git a/MAKEALL b/MAKEALL index 95b7cd3..ec5997e 100755 --- a/MAKEALL +++ b/MAKEALL @@ -16,6 +16,7 @@ usage() -c CPU,--cpu CPU Build all

Re: [U-Boot] [PATCH v4 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-02 Thread Mike Frysinger
On Saturday 03 December 2011 00:20:19 Christian Riesch wrote: > The chaos above contains three commands: > 1) I run the SPL through mkimage to add an AIS header for booting from SPI. > Since an empty config file (-n) is sufficient here I use /dev/null here. > 2) I pad the result $(obj)spl/u-boot-sp

Re: [U-Boot] [PATCH v3 13/15] arm, da850evm: Add an SPL for SPI boot

2011-12-02 Thread Christian Riesch
Hi Tom, Thanks for your comments. On Friday, December 2, 2011, Tom Rini wrote: > On 12/02/2011 09:12 AM, Christian Riesch wrote: > > [snip] >> include/configs/da850evm.h| 87 + > [snip] >> +#define CONFIG_SYS_DA850_DDR2_SDTIMR (0 |\ >> + (14 <

Re: [U-Boot] [PATCH v4 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-02 Thread Christian Riesch
Hi Mike, Thanks for your comments. On Friday, December 2, 2011, Mike Frysinger wrote: > On Friday 02 December 2011 11:12:10 Christian Riesch wrote: >> +$(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin >> + $(obj)tools/mkimage -s -n /dev/null -T aisimage \ >> +

Re: [U-Boot] TQM860L_config: u-boot.lds:76 cannot move location counter backwards

2011-12-02 Thread Marek Vasut
> so i got permission to try to update u-boot on one of the TQM860 > boards, so i checked out the u-boot git repo, ran: > > $ make TQM860L_config > $ make > > and eventually got: > > u-boot.lds:76 cannot move location counter backwards (from 40008604 to > 40008000) make: *** [u-boot] Error 1 >

Re: [U-Boot] [PATCH v2 0/7] Tidy up ARM link scripts

2011-12-02 Thread Simon Glass
Hi, On Mon, Nov 21, 2011 at 12:49 PM, Simon Glass wrote: > The ARM link scripts are very similar but each CPU has its own. This > series adds support for a default link script across an architecture > in arch//cpu/u-boot.lds. > > It is then possible to remove most of the ARM link scripts. This wi

[U-Boot] [PATCH 4/6] tegra: Add tegra keyboard support

2011-12-02 Thread Simon Glass
From: Rakesh Iyer Add support for internal matrix keyboard controller for Nvidia Tegra platforms. This driver uses the fdt decode function to obtain its key codes. Support for the Ctrl modifier is provided. The left and right ctrl keys are dealt with in the same way. When the user presses Ctrl+

[U-Boot] [PATCH 1/6] tegra: fdt: Add keyboard controller definition

2011-12-02 Thread Simon Glass
From: Anton Staff The Tegra keyboard controller provides a simple interface to a matrix keyboard. Signed-off-by: Simon Glass --- arch/arm/dts/tegra20.dtsi |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/arch/arm/dts/tegra20.dtsi b/arch/arm/dts/tegra20.dtsi index d7a

[U-Boot] [PATCH 5/6] tegra: Switch on console mux and use environment for console

2011-12-02 Thread Simon Glass
All tegra boards will use these options by default. Signed-off-by: Simon Glass --- include/configs/tegra2-common.h |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs/tegra2-common.h index 6549d00..054695c 100644 ---

[U-Boot] [PATCH 6/6] tegra: Enable keyboard for Seaboard

2011-12-02 Thread Simon Glass
This enables the standard keyboard on Seaboard. Signed-off-by: Simon Glass --- include/configs/seaboard.h |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/configs/seaboard.h index a105c88..4d2852e 100644 --- a/include/configs/se

[U-Boot] [PATCH 3/6] fdt: Add fdtdec functions to read byte array

2011-12-02 Thread Simon Glass
From: Anton Staff Sometimes we don't need a full cell for each value. This provides a simple function to read a byte array, both with and without copying it. Signed-off-by: Simon Glass --- include/fdtdec.h | 32 lib/fdtdec.c | 24 +++

[U-Boot] [PATCH 2/6] tegra: fdt: Add keyboard definitions for Seaboard

2011-12-02 Thread Simon Glass
From: Anton Staff Seaboard uses a QUERTY keyboard. We add key codes for this to enable key scanning to work. Signed-off-by: Simon Glass --- board/nvidia/dts/tegra2-seaboard.dts | 71 ++ 1 files changed, 71 insertions(+), 0 deletions(-) diff --git a/board/nvid

[U-Boot] [PATCH 0/6] tegra: Enable keyboard with matrix keyboard driver

2011-12-02 Thread Simon Glass
Tegra2 has a built-in a keyboard controller which we can use to scan a matrix keyboard. This series brings in a driver for this and adds support for the QUERTY keyboard on Seaboard as an example. Anton Staff (3): tegra: fdt: Add keyboard controller definition tegra: fdt: Add keyboard definiti

[U-Boot] TQM860L_config: u-boot.lds:76 cannot move location counter backwards

2011-12-02 Thread Robert P. J. Day
so i got permission to try to update u-boot on one of the TQM860 boards, so i checked out the u-boot git repo, ran: $ make TQM860L_config $ make and eventually got: u-boot.lds:76 cannot move location counter backwards (from 40008604 to 40008000) make: *** [u-boot] Error 1 i can read an expla

[U-Boot] [PATCH v2 12/17] usb: Add support for txfifo threshold

2011-12-02 Thread Simon Glass
CONFIG_USB_EHCI_TXFIFO_THRESH enables setting of the txfilltuning field in the EHCI controller on reset. Signed-off-by: Simon Glass --- README |3 +++ drivers/usb/host/ehci-hcd.c |7 +++ drivers/usb/host/ehci.h |6 +- 3 files changed, 15 insertions(+

[U-Boot] [PATCH v2 14/17] tegra: usb: Add USB support to nvidia boards

2011-12-02 Thread Simon Glass
This adds basic USB support for port 0. The other port is not supported yet. Tegra2 (SeaBoard) # usb start (Re)start USB... USB: Register 10011 NbrPorts 1 USB EHCI 1.00 scanning bus for devices... 5 USB Device(s) found scanning bus for storage devices... 1 Storage Device(s) found Tegra2 (

[U-Boot] [PATCH v2 13/17] tegra: usb: Add support for Tegra USB peripheral

2011-12-02 Thread Simon Glass
This adds basic support for the Tegra2 USB controller. Board files should call board_usb_init() to set things up. Configuration through FDT and CONFIG is supported. For FDT, the device tree aliases set the order of the port, like this fragment: aliases { /* This defines th

[U-Boot] [PATCH v2 15/17] tegra: usb: Add common USB defines for tegra2 boards

2011-12-02 Thread Simon Glass
All Tegra2 boards should include tegra2-common. This adds the required USB config to that file. Signed-off-by: Simon Glass --- include/configs/tegra2-common.h | 14 ++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/include/configs/tegra2-common.h b/include/configs

[U-Boot] [PATCH v2 11/17] usb: Add support for data alignment

2011-12-02 Thread Simon Glass
CONFIG_USB_EHCI_DATA_ALIGN sets the required alignment of data for USB packets (e.g. 4 means word-aligned). This is required for Tegra to operate. Signed-off-by: Simon Glass --- Changes in v2: - Tidy code style in USB buffer alignment code - Display prominent warning when alignment code is trigge

[U-Boot] [PATCH v2 17/17] tegra: fdt: Enable FDT support for Seaboard

2011-12-02 Thread Simon Glass
This switches Seaboard over to use FDT for run-time config instead of CONFIG options. USB is the only user at present. Signed-off-by: Simon Glass --- include/configs/seaboard.h |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/include/configs/seaboard.h b/include/conf

[U-Boot] [PATCH v2 08/17] tegra: fdt: Add device tree file for Tegra2 Seaboard from kernel

2011-12-02 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- Changes in v2: - Pulled USB fdt definitions from newer for-next instead of master board/nvidia/dts/tegra2-seaboard.dts | 36 ++ 1

[U-Boot] [PATCH v2 07/17] tegra: fdt: Add Tegra2x device tree file from kernel

2011-12-02 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git config.mk is updated to provide this file to boards through the built-in mechanism: /include/ ARCH_CPU_DTS Signed-off-by: Simon Glass --- arch/arm/cpu/armv7/tegra2/config.mk |2 + arch/arm

[U-Boot] [PATCH v2 09/17] tegra: usb: fdt: Add additional device tree definitions for USB ports

2011-12-02 Thread Simon Glass
This adds peripheral IDs and timing information to the USB part of the device tree for U-Boot. The peripheral IDs provide easy access to clock registers. We will likely remove this in favor of a full clock tree when it is available in the kernel (but probably still retain the peripheral ID, just m

[U-Boot] [PATCH v2 16/17] tegra: usb: Enable USB on Seaboard

2011-12-02 Thread Simon Glass
Seaboard has a top port which is USB host or device, and a side port which is host only. Signed-off-by: Simon Glass --- Changes in v2: - Remove unneeded CONFIG_TEGRA_USBx defines include/configs/seaboard.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/co

[U-Boot] [PATCH v2 05/17] arm: fdt: Ensure that an embedded fdt is word-aligned

2011-12-02 Thread Simon Glass
By putting the fdt blob into a distinctive area we can ensure that it appears at the start of the data section and is word-aligned. Note: It does not seem to be possible to get objcopy to honour its --section-alignment flag, which would otherwise provide an easier fix for this problem. Signed-off

[U-Boot] [PATCH v2 02/17] fdt: Add functions to access phandles, arrays and bools

2011-12-02 Thread Simon Glass
Add a function to look up a property which is a phandle in a node, and another to read a fixed-length integer array from an fdt property. Also add a function to read boolean properties, although there is no actual boolean type in U-Boot. Signed-off-by: Simon Glass --- Changes in v2: - Rename get_

[U-Boot] [PATCH v2 10/17] tegra: usb: fdt: Add USB definitions for Tegra2 Seaboard

2011-12-02 Thread Simon Glass
We set up two USB ports, one of which can be host or device. For some reason the kernel version does enable both ports. Signed-off-by: Simon Glass --- Changes in v2: - Use "okay" instead of "ok" for fdt node status - Remove 0x from fdt aliases board/nvidia/dts/tegra2-seaboard.dts | 14 +++

[U-Boot] [PATCH v2 06/17] arm: fdt: Add skeleton device tree file from kernel

2011-12-02 Thread Simon Glass
This was taken from commit b48c54e2 at: git://git.kernel.org/pub/scm/linux/kernel/git/olof/tegra.git Signed-off-by: Simon Glass --- arch/arm/dts/skeleton.dtsi | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) create mode 100644 arch/arm/dts/skeleton.dtsi diff --git a/arc

[U-Boot] [PATCH v2 04/17] fdt: Add basic support for decoding GPIO definitions

2011-12-02 Thread Simon Glass
This adds some support into fdtdec for reading GPIO definitions from the fdt. We permit up to FDT_GPIO_MAX GPIOs in the system. Each GPIO is of the form: gpio-function-name = ; where: phandle is a pointer to the GPIO node gpio_num is the number of the GPIO (0 to 223) flags is some flags, propose

[U-Boot] [PATCH v2 03/17] Add gpio_request() to asm-generic header

2011-12-02 Thread Simon Glass
This function should also be part of the GPIO API, so add it. Signed-off-by: Simon Glass --- Changes in v2: - New patch to add gpio_request() to asm-generic header include/asm-generic/gpio.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/include/asm-generic/g

[U-Boot] [PATCH v2 01/17] fdt: Tidy up a few fdtdec problems

2011-12-02 Thread Simon Glass
This fixes five trivial issues in fdtdec.c: 1. fdtdec_get_is_enabled() doesn't really need a default value 2. The fdt must be word-aligned, since otherwise it will fail on ARM 3. The compat_names[] array is missing its first element. This is needed only because the first fdt_compat_id is defined to

[U-Boot] [PATCH v2 0/17] tegra: Add fdt definitions and USB driver

2011-12-02 Thread Simon Glass
This series brings in the kernel fdt file, adds USB definitions support to it, and provides a working USB driver for Tegra2 Seaboard. (I have done this in one series since otherwise most of the fdt additions will just look like dead code.) The driver requires CONFIG_OF_CONTROL and a device tree t

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-02 Thread Simon Glass
Hi Stephen, Here are my comments on the rest of your email. On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren wrote: > On 11/23/2011 08:54 PM, Simon Glass wrote: >> This adds basic support for the Tegra2 USB controller. Board files should >> call board_usb_init() to set things up. > > Just a very

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > as i already mentioned in an earlier e-mail, these are not my boards > and i have no authority to do that. so i am *necessarily* restricted > to trying to do this with u-boot 0.4.0, and that's just the way it is. > sometimes, you just have to work with w

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Robert P. J. Day
On Sat, 3 Dec 2011, Wolfgang Denk wrote: > Dear Robert, > > In message you wrote: > > > > i'm using the 2.6.37 kernel for both and while the lite5200s > > have a fairly new version of u-boot (2010.12), the TQMs have an > > ancient version (0.4.0, possibly slightly newer), and i have no > > free

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Wolfgang Denk
Dear "Robert P. J. Day", In message you wrote: > > $ make ARCH=powerpc cuImage.tqm8xx We have never tested or supported cuImages for TQM - there has never been any need for that, because these boards have always been fully mainlined, so you can always just run top of tree. Best regards, W

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > i'm using the 2.6.37 kernel for both and while the lite5200s have a > fairly new version of u-boot (2010.12), the TQMs have an ancient > version (0.4.0, possibly slightly newer), and i have no freedom to > update those so don't even make the suggestion.

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Robert P. J. Day
On Fri, 2 Dec 2011, Scott Wood wrote: > On 12/02/2011 05:41 PM, Robert P. J. Day wrote: > > ok, so what's the "make" invocation to get one of those? i'm not a > > ppc expert so i don't know much about device trees. i tried the > > following: > > > > $ make ARCH=powerpc cuImage.tqm8xx > > CHK

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 17:46:39 Rob Herring wrote: > On 12/02/2011 04:14 PM, Mike Frysinger wrote: > > On Friday 02 December 2011 17:02:00 Rob Herring wrote: > >> On 12/02/2011 03:30 PM, Mike Frysinger wrote: > >>> On Friday 02 December 2011 15:21:48 Rob Herring wrote: > +macaddr[1

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Scott Wood
On 12/02/2011 05:41 PM, Robert P. J. Day wrote: > ok, so what's the "make" invocation to get one of those? i'm not a > ppc expert so i don't know much about device trees. i tried the > following: > > $ make ARCH=powerpc cuImage.tqm8xx > CHK include/linux/version.h > CHK include/gen

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Robert P. J. Day
On Fri, 2 Dec 2011, Scott Wood wrote: > On 12/02/2011 05:19 PM, Robert P. J. Day wrote: > > and, at this point, i would think that all i need to do is: > > > > => bootm 40 > > ## Booting image at 0040 ... > >Image Name: Linux-2.6.37 > >Created: 2011-12-02 23:08:06 UTC > >

Re: [U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Scott Wood
On 12/02/2011 05:19 PM, Robert P. J. Day wrote: > and, at this point, i would think that all i need to do is: > > => bootm 40 > ## Booting image at 0040 ... >Image Name: Linux-2.6.37 >Created: 2011-12-02 23:08:06 UTC >Image Type: PowerPC Linux Kernel Image (gzip com

[U-Boot] having trouble booting a simple kernel on a TQM860 board

2011-12-02 Thread Robert P. J. Day
(since it's been a while since i've had to mess with u-boot, it is entirely possible that i'm doing something amazingly dumb but here we go.) i've got two different types of PPC boards in front of me -- some lite5200's and some tqm860's -- and all i want to do is verify that i can build a ker

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-02 Thread Simon Glass
Hi Stephen, On Fri, Dec 2, 2011 at 12:40 PM, Stephen Warren wrote: > On 12/02/2011 10:00 AM, Simon Glass wrote: >> On Fri, Dec 2, 2011 at 8:10 AM, Stephen Warren wrote: >>> On 12/01/2011 06:51 PM, Simon Glass wrote: On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren wrote: > On 11/

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Rob Herring
On 12/02/2011 04:14 PM, Mike Frysinger wrote: > On Friday 02 December 2011 17:02:00 Rob Herring wrote: >> On 12/02/2011 03:30 PM, Mike Frysinger wrote: >>> On Friday 02 December 2011 15:21:48 Rob Herring wrote: --- /dev/null +++ b/drivers/net/calxedaxgmac.c + writel(value, dev-

Re: [U-Boot] [PATCH 2/2] ARM: highbank: enable networking and pxe

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 15:21:49 Rob Herring wrote: > --- a/include/configs/highbank.h > +++ b/include/configs/highbank.h > > +#define CONFIG_NET_MULTI this define no longer exists, so delete it -mike signature.asc Description: This is a digitally signed message part. ___

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 17:02:00 Rob Herring wrote: > On 12/02/2011 03:30 PM, Mike Frysinger wrote: > > On Friday 02 December 2011 15:21:48 Rob Herring wrote: > >> --- /dev/null > >> +++ b/drivers/net/calxedaxgmac.c > >> > >> + writel(value, dev->iobase + XGMAC_CORE_CONFIG); > > > > you shoul

Re: [U-Boot] [PATCH 2/2] ARM: highbank: enable networking and pxe

2011-12-02 Thread Rob Herring
On 12/02/2011 03:31 PM, Mike Frysinger wrote: > On Friday 02 December 2011 15:21:49 Rob Herring wrote: >> int misc_init_r(void) >> { >> +setenv("verify", "n"); > > looks unrelated ? Yes. I meant to delete that... Rob ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Rob Herring
Mike, Thanks for your quick review. On 12/02/2011 03:30 PM, Mike Frysinger wrote: > On Friday 02 December 2011 15:21:48 Rob Herring wrote: >> --- /dev/null >> +++ b/drivers/net/calxedaxgmac.c >> >> +writel(value, dev->iobase + XGMAC_CORE_CONFIG); > > you should declare a C struct that repres

Re: [U-Boot] [PATCH] Fix some bugs in the EFI support

2011-12-02 Thread Simon Glass
Hi Graeme, On Fri, Dec 2, 2011 at 1:28 PM, Graeme Russ wrote: > Hi Anton, > > On 30/11/11 10:39, Gabe Black wrote: >> The ALLOC_CACHE_ALIGN_BUFFER macro allocates a pointer to a buffer, and the >> address of the pointer and not the buffer was being passed to a function >> that expected the other.

Re: [U-Boot] [PATCH 3/4] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:43 PM, Graeme Russ wrote: > Hi Gabe, > > On 30/11/11 20:17, Gabe Black wrote: > > If vboot successfully verifies a kernel, it will leave it in place and > > basically ready to boot. The zeropage table which is part of the x86 boot > > protocol is at the end of the kernel,

Re: [U-Boot] [PATCH 3/4] x86: Refactor the zboot innards so they can be reused with a vboot image

2011-12-02 Thread Graeme Russ
Hi Gabe, On 30/11/11 20:17, Gabe Black wrote: > If vboot successfully verifies a kernel, it will leave it in place and > basically ready to boot. The zeropage table which is part of the x86 boot > protocol is at the end of the kernel, though, instead of the beginning, and > because the image is al

Re: [U-Boot] ep93xx port status

2011-12-02 Thread Matthias Kaehlcke
Hi Martin, the main issue the ep93xx port had was relocation. I spent some time trying to fix it but got stuck digging in the dark as my boards don't expose the JTAG interface. besides that there where no issues known to me, it was possible to boot from NOR or via tftp and start Linux I used the

Re: [U-Boot] [PATCH 4/4] x86: Add support for specifying an initrd with the zboot command

2011-12-02 Thread Graeme Russ
Hi Gabe, On 30/11/11 20:17, Gabe Black wrote: > This change finishes plumbing the initrd support built into the zboot > mechanism out to the command interface. > > It also fixes a bug in the command declaration where the kernel size could > be passed as an optional second parameter but not enough

Re: [U-Boot] [PATCH 4/4] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-02 Thread Graeme Russ
Hi Gabe, On 03/12/11 08:24, Gabe Black wrote: > > > On Fri, Dec 2, 2011 at 1:14 PM, Graeme Russ > wrote: > > Hi Gabe, > > On 30/11/11 17:07, Gabe Black wrote: > > Signed-off-by: Gabe Black > > > --- > > arc

Re: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:10 PM, Graeme Russ wrote: > Hi Gabe, > > On 30/11/11 17:07, Gabe Black wrote: > > Otherwise it ends up in the .bss section. U-boot assumes that it doesn't > > need to copy it over during relocation, and instead fills that whole > > section with zeroes. If we really were b

Re: [U-Boot] [PATCH 2/2] ARM: highbank: enable networking and pxe

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 15:21:49 Rob Herring wrote: > int misc_init_r(void) > { > + setenv("verify", "n"); looks unrelated ? -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 15:21:48 Rob Herring wrote: > --- /dev/null > +++ b/drivers/net/calxedaxgmac.c > > + writel(value, dev->iobase + XGMAC_CORE_CONFIG); you should declare a C struct that represents the hardware's register layout, and then use that rather than iobase+register_offset >

Re: [U-Boot] [PATCH] Fix some bugs in the EFI support

2011-12-02 Thread Graeme Russ
Hi Anton, On 30/11/11 10:39, Gabe Black wrote: > The ALLOC_CACHE_ALIGN_BUFFER macro allocates a pointer to a buffer, and the > address of the pointer and not the buffer was being passed to a function > that expected the other. This change fixes a few places that bug crops up. > Also, it provides a

Re: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:22 PM, Graeme Russ wrote: > Hi Gabe, > > On 03/12/11 08:16, Gabe Black wrote: > > > > > > On Fri, Dec 2, 2011 at 1:10 PM, Graeme Russ > > wrote: > > > > Hi Gabe, > > > > On 30/11/11 17:07, Gabe Black wrote: > > > Otherwise it end

Re: [U-Boot] [PATCH v4 6/6] arm, davinci: Add support for generating AIS images to the Makefile

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 11:12:10 Christian Riesch wrote: > +$(obj)u-boot.ais: $(obj)spl/u-boot-spl.bin $(obj)u-boot.bin > + $(obj)tools/mkimage -s -n /dev/null -T aisimage \ > + -e $(CONFIG_SPL_TEXT_BASE) -d $(obj)spl/u-boot-spl.bin \ > + $(obj)spl/u-boo

Re: [U-Boot] [PATCH 4/4] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-02 Thread Gabe Black
On Fri, Dec 2, 2011 at 1:14 PM, Graeme Russ wrote: > Hi Gabe, > > On 30/11/11 17:07, Gabe Black wrote: > > Signed-off-by: Gabe Black > > --- > > arch/x86/cpu/coreboot/sdram.c | 32 ++-- > > arch/x86/include/asm/zimage.h |5 + > > arch/x86/lib/zimage.c

Re: [U-Boot] [PATCH v4 2/6] sf: Add spi_boot() to allow booting from SPI flash in an SPL

2011-12-02 Thread Mike Frysinger
Acked-by: Mike Frysinger -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2011-12-02 Thread Graeme Russ
Hi Gabe, On 03/12/11 08:16, Gabe Black wrote: > > > On Fri, Dec 2, 2011 at 1:10 PM, Graeme Russ > wrote: > > Hi Gabe, > > On 30/11/11 17:07, Gabe Black wrote: > > Otherwise it ends up in the .bss section. U-boot assumes that it doesn't > > need to

Re: [U-Boot] [PATCH 4/4] x86: Add infrastructure to extract an e820 table from the coreboot tables

2011-12-02 Thread Graeme Russ
Hi Gabe, On 30/11/11 17:07, Gabe Black wrote: > Signed-off-by: Gabe Black > --- > arch/x86/cpu/coreboot/sdram.c | 32 ++-- > arch/x86/include/asm/zimage.h |5 + > arch/x86/lib/zimage.c | 10 ++ > 3 files changed, 41 insertions(+), 6 deletio

Re: [U-Boot] [PATCH 3/4] x86: Force the lib_sysinfo structure to be in the .data section

2011-12-02 Thread Graeme Russ
Hi Gabe, On 30/11/11 17:07, Gabe Black wrote: > Otherwise it ends up in the .bss section. U-boot assumes that it doesn't > need to copy it over during relocation, and instead fills that whole > section with zeroes. If we really were booting from ROM that would be > appropriate, but we need some in

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-02 Thread Stephen Warren
On 12/02/2011 10:00 AM, Simon Glass wrote: > On Fri, Dec 2, 2011 at 8:10 AM, Stephen Warren wrote: >> On 12/01/2011 06:51 PM, Simon Glass wrote: >>> On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren wrote: On 11/23/2011 08:54 PM, Simon Glass wrote: > This adds basic support for the Tegra2

[U-Boot] [PATCH 1/2] net: add Calxeda xgmac driver

2011-12-02 Thread Rob Herring
From: Rob Herring This adds ethernet driver for Calxeda xgmac found on Highbank SOC. Signed-off-by: Rob Herring --- README |6 + drivers/net/Makefile |1 + drivers/net/calxedaxgmac.c | 552 include/netdev.h

[U-Boot] [PATCH 2/2] ARM: highbank: enable networking and pxe

2011-12-02 Thread Rob Herring
From: Rob Herring This enables the XGMAC ethernet driver and networking related config options. Signed-off-by: Jason Hobbs Signed-off-by: Rob Herring --- board/highbank/highbank.c | 14 ++ include/configs/highbank.h | 19 +-- 2 files changed, 31 insertions(+),

[U-Boot] [PATCH 0/2] Network support for Calxeda highbank

2011-12-02 Thread Rob Herring
From: Rob Herring This series adds the Calxeda xgmac ethernet driver and enables networking options on the highbank platform. Rob Rob Herring (2): net: add Calxeda xgmac driver ARM: highbank: enable networking and pxe README |6 + board/highbank/highbank.c | 14

Re: [U-Boot] [PATCH v4 3/6] arm, davinci: Add SPL support for DA850 SoCs

2011-12-02 Thread Tom Rini
On 12/02/2011 09:12 AM, Christian Riesch wrote: > This code adds an SPL for booting from SPI flash on DA850 SoCs. Acked-by: Tom Rini And, part of my TODO SPL merge for DaVinci/OMAP(ish) is to put the more raw puts/putc into another file I guess for !LIBCOMMON -- Tom ___

Re: [U-Boot] [PATCH v4 4/6] arm, da850evm: Add an SPL for SPI boot

2011-12-02 Thread Tom Rini
On 12/02/2011 09:12 AM, Christian Riesch wrote: [snip] > include/configs/da850evm.h| 87 > + [snip] > +#define CONFIG_SYS_DA850_DDR2_SDTIMR (0 |\ > + (14 << DV_DDR_SDTMR1_RFC_SHIFT) | \ > + (2 << DV_DDR_SDTMR1_RP_SHIFT) | \ >

Re: [U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-12-02 Thread Mike Frysinger
On Tuesday 29 November 2011 16:58:38 Simon Glass wrote: > On Tue, Nov 29, 2011 at 1:41 PM, Mike Frysinger wrote: > > On Tuesday 29 November 2011 15:04:04 Simon Glass wrote: > >> On Tue, Nov 29, 2011 at 10:40 AM, Mike Frysinger wrote: > >> > On Tuesday 29 November 2011 11:55:17 Simon Glass wrote: >

Re: [U-Boot] ep93xx port status

2011-12-02 Thread Marek Vasut
> Hi Matthew >I see the ep93xx support in u-boot was added in feb 2010 and > removed in aug/sep 2011. > I'm looking at fixing and maintaining this for our product - do you > remember the status of this port, and to what extent it worked on the > EDB93xx boards with what issues? You can dig thi

Re: [U-Boot] [PATCH 4/4] mtd/nand: Add ONFI support for FSL NAND controller

2011-12-02 Thread Scott Wood
On 12/02/2011 03:17 AM, Shengzhou Liu wrote: > - fix NAND_CMD_READID command for ONFI detect. > - add NAND_CMD_PARAM command to read the ONFI parameter page. > > Signed-off-by: Shengzhou Liu > --- > drivers/mtd/nand/fsl_elbc_nand.c | 16 +++- > 1 files changed, 15 insertions(+), 1

Re: [U-Boot] [PATCH 2/4] mtd/nand: Fixup for support ONFI detect

2011-12-02 Thread Scott Wood
On 12/02/2011 03:17 AM, Shengzhou Liu wrote: > There was a bug logically in the order of nand_flash_detect_onfi > and checking nand_flash_ids. We should get NAND devices related > informations first by ONFI method instead of querying nand_flash_ids table, > if ONFI fails, then query nand_flash_ids

[U-Boot] [PATCH v2] sandbox: fix compiling of cpu/os.c

2011-12-02 Thread Mike Frysinger
From: Andreas Bießmann U-boot itself generally builds with -nostdinc. This is because the bootloader needs to be completely standalone. In the sandbox arch though, we need a little bit of code to glue the u-boot world to the host operating system, and we need to be able to access the host libc'

Re: [U-Boot] Any help on the sbc2410x board

2011-12-02 Thread Athanasios Silis
On Fri, Dec 2, 2011 at 8:07 PM, Stefano Babic wrote: > On 02/12/2011 19:01, Athanasios Silis wrote: > > Hello Stefano and thank you for the quick reply. > > To be honest, i'm not even sure what is the relocation you are talking > > about... > > What comes as a natural reply in my mind is: > > thi

Re: [U-Boot] [PATCH v4] Add board_pre_console_putc to deal with early console output

2011-12-02 Thread Simon Glass
Hi Stefan, On Fri, Dec 2, 2011 at 9:09 AM, Stefano Babic wrote: > On 19/10/2011 01:43, Simon Glass wrote: >> This patch adds support for console output before the console is inited. >> The main purpose of this is to deal with a very early panic() which would >> otherwise cause a silent hang. >> >

Re: [U-Boot] [PATCH 02/14] fdt: Add functions to access phandles, arrays and bools

2011-12-02 Thread Simon Glass
Hi Jerry, On Fri, Dec 2, 2011 at 9:22 AM, Jerry Van Baren wrote: > On 12/01/2011 11:58 PM, Simon Glass wrote: >> >> Hi Jerry, >> >> On Thu, Dec 1, 2011 at 7:33 PM, Jerry Van Baren >>  wrote: > > [snip] > >>> FDT helper functions have been accumulating in common/fdt_support.c >>> rather >>> than a

Re: [U-Boot] Any help on the sbc2410x board

2011-12-02 Thread Athanasios Silis
Hello Stefano and thank you for the quick reply. To be honest, i'm not even sure what is the relocation you are talking about... What comes as a natural reply in my mind is: this is an old board , too. once the code was ported it must have been working, no? with or without CFI / ARM relocation. so

Re: [U-Boot] Any help on the sbc2410x board

2011-12-02 Thread Stefano Babic
On 02/12/2011 19:01, Athanasios Silis wrote: > Hello Stefano and thank you for the quick reply. > To be honest, i'm not even sure what is the relocation you are talking > about... > What comes as a natural reply in my mind is: > this is an old board , too. Very old. > once the code was ported it

Re: [U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-12-02 Thread Mike Frysinger
On Tuesday 29 November 2011 06:16:40 Matthias Weisser wrote: > Making sleep command work i've added this to my sandbox branch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://

Re: [U-Boot] Any help on the sbc2410x board

2011-12-02 Thread Stefano Babic
On 02/12/2011 17:40, Athanasios Silis wrote: > Hello everyone, > I'm looking for a version of u-boot that can boot in the Embest sbc2410-II > board. > I now the code for the specific board was not maintained and was removed > from the u-boot-arm tree. > but i did download > this

Re: [U-Boot] [PATCH 02/14] fdt: Add functions to access phandles, arrays and bools

2011-12-02 Thread Jerry Van Baren
On 12/01/2011 11:58 PM, Simon Glass wrote: Hi Jerry, On Thu, Dec 1, 2011 at 7:33 PM, Jerry Van Baren wrote: [snip] FDT helper functions have been accumulating in common/fdt_support.c rather than a separate file. Simon, what is the history of lib/fdtdec.c? Is it a shared file from the linu

Re: [U-Boot] Beginner

2011-12-02 Thread bart . deboeck
exe, indeed - developing on windows sorry for the cc mistake > _ALWAYS_ CC the mailing list!!! > >> :-) thanks for asking >> >> machine: embedded artists lpc2478 oem - arm7 >> compiler: arm-none-eabi-gcc-4.3.3.exe > > EXE? Uhm ... > >> U-Boot: u-boot-1.1.6 with embedded artists patches > > Please

Re: [U-Boot] Beginner

2011-12-02 Thread bart . deboeck
Thanks for the feedback! Is upgrading gcc to 4.5.1 reasonable? I'll see what I can do about the u-boot-1.1.6 It might be helpfull if you can point me at documentation/examples that explain how a standalone application should be developed (I've read the documentation, but didn't find examples tha

Re: [U-Boot] Beginner

2011-12-02 Thread Marek Vasut
_ALWAYS_ CC the mailing list!!! > :-) thanks for asking > > machine: embedded artists lpc2478 oem - arm7 > compiler: arm-none-eabi-gcc-4.3.3.exe EXE? Uhm ... > U-Boot: u-boot-1.1.6 with embedded artists patches Please, update to mainline > > bin file is generated with "arm-none-eabi-objcopy -

Re: [U-Boot] [PATCH v4] Add board_pre_console_putc to deal with early console output

2011-12-02 Thread Stefano Babic
On 19/10/2011 01:43, Simon Glass wrote: > This patch adds support for console output before the console is inited. > The main purpose of this is to deal with a very early panic() which would > otherwise cause a silent hang. > > A new board_pre_console_putc() function is added to the board API. If

Re: [U-Boot] [PATCH V4] sandbox: Add improved RAM simulation

2011-12-02 Thread Mike Frysinger
On Saturday 05 November 2011 06:40:34 Matthias Weisser wrote: > Using mmap to allocate memory from the OS for RAM simulation we can use > u-boot own malloc implementation. i've merged this into my sandbox branch -mike signature.asc Description: This is a digitally signed message part. __

Re: [U-Boot] [PATCH 1/2] Fix warnings in arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c

2011-12-02 Thread Simon Glass
Hi Stefan, On Fri, Dec 2, 2011 at 8:53 AM, Stefano Babic wrote: > On 02/12/2011 17:33, Simon Glass wrote: >> Hi Stefan, >> > > Hi Simon, > >> Yes I found Marek's patch to another file with the same name, and much >> of the same code :-( But I don't think we currently have a patch for

Re: [U-Boot] [PATCH 10/14] tegra: usb: Add support for USB peripheral

2011-12-02 Thread Simon Glass
Hi Stephen, On Fri, Dec 2, 2011 at 8:10 AM, Stephen Warren wrote: > On 12/01/2011 06:51 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Nov 28, 2011 at 11:21 AM, Stephen Warren wrote: >>> On 11/23/2011 08:54 PM, Simon Glass wrote: This adds basic support for the Tegra2 USB controller. B

Re: [U-Boot] [PATCH 1/2] Fix warnings in arch/arm/cpu/arm920t/s3c24x0/usb_ohci.c

2011-12-02 Thread Stefano Babic
On 02/12/2011 17:33, Simon Glass wrote: > Hi Stefan, > Hi Simon, > Yes I found Marek's patch to another file with the same name, and much > of the same code :-( But I don't think we currently have a patch for > this file. It issues warnings in about 10 ARM builds from memory. >>

Re: [U-Boot] [PATCH] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 11:26:12 Matthias Weisser wrote: > When building u-boot as 64 bit application (e.g. sandbox) ulong might be > 64 bits in size. This breaks network code as IPaddr_t is 64 bytes in > size then. This patch makes sure that IPaddr_t is always 32 bits in > size. Also some warni

Re: [U-Boot] [PATCH] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 11:26:12 Matthias Weisser wrote: > When building u-boot as 64 bit application (e.g. sandbox) ulong might be > 64 bits in size. This breaks network code as IPaddr_t is 64 bytes in > size then. This patch makes sure that IPaddr_t is always 32 bits in > size. Also some warni

Re: [U-Boot] [PATCH 05/14] tegra: fdt: Add Tegra2x device tree file

2011-12-02 Thread Simon Glass
Hi Stephen, On Fri, Dec 2, 2011 at 7:58 AM, Stephen Warren wrote: > On 12/01/2011 06:24 PM, Simon Glass wrote: >> Hi Stephen, >> >> On Mon, Nov 28, 2011 at 10:56 AM, Stephen Warren wrote: >>> On 11/23/2011 08:54 PM, Simon Glass wrote: This was taken from commit 1ea6b8f at: git://git.ke

Re: [U-Boot] Beginner

2011-12-02 Thread Wolfgang Denk
Dear bart.debo...@xenopz.com, In message you wrote: > :-) thanks for asking > > machine: embedded artists lpc2478 oem - arm7 > compiler: arm-none-eabi-gcc-4.3.3.exe > U-Boot: u-boot-1.1.6 with embedded artists patches Ouch. An out-of-tree port, and a prehistoric one at that. U-Boot 1.1.6 is m

[U-Boot] Any help on the sbc2410x board

2011-12-02 Thread Athanasios Silis
Hello everyone, I'm looking for a version of u-boot that can boot in the Embest sbc2410-II board. I now the code for the specific board was not maintained and was removed from the u-boot-arm tree. but i did download this

  1   2   >