Re: [U-Boot] [PATCH sunxi-tools] WIP: fel: Add a command for loading U-Boot SPL binaries in eGON format

2015-02-07 Thread Hans de Goede
Hi, On 02/07/2015 04:17 AM, Siarhei Siamashka wrote: > On Thu, 5 Feb 2015 22:49:39 -0700 > Simon Glass wrote: > >> Hi Siarhei, >> >> On 5 February 2015 at 02:36, Siarhei Siamashka >> wrote: >>> !!! Works only on Allwinner A20 so far and needs a bit more >>> !!! debugging. And even on A20, the t

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Jeroen Hofstee
Hi Simon, On 06-02-15 22:00, Simon Glass wrote: Hi, On 6 February 2015 at 13:40, Andreas Bießmann wrote: Hi, On 06.02.15 20:56, Jeroen Hofstee wrote: Hello Simon, +Andreas, On 06-02-15 04:05, Simon Glass wrote: Hi Jeroen, On 5 February 2015 at 12:51, Jeroen Hofstee wrote: Hello Guilher

[U-Boot] [PATCH v2] config_distro_bootcmd.h: Enable CONFIG_CMD_PART

2015-02-07 Thread Hans de Goede
The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be defined, as the default bootcmd now uses the "part" command. This fixes sunxi boards not booting with v2015.04-rc1. Signed-off-by: Hans de Goede --- include/config_distro_bootcmd.h | 4 1 file changed, 4 insertions

[U-Boot] [PATCH v2] config_distro_bootcmd.h: Enable CONFIG_CMD_PART

2015-02-07 Thread Hans de Goede
Hi Stephen & Tom, Here is v2 of the patch to fix config_distro_bootcmd usage for sunxi (and possibly others). As requested I've removed the enabling of CONFIG_CMD_PART to config_distro_bootcmd.h . Stephen, can you please review and ack ? Tom, can you please merge this once acked ? Regards, Han

Re: [U-Boot] [u-boot 03/40] usb: gadget: udc: add udc-core from linux kernel to u-boot

2015-02-07 Thread Marek Vasut
On Friday, February 06, 2015 at 09:47:40 AM, Kishon Vijay Abraham I wrote: > Added udc-core.c from linux kernel 3.19-rc1 (97bf6af1f9) to u-boot. > This will be adapted to work with u-boot in the > following patches. > Adding support for udc will help to seamlessly port dwc3 driver from > linux kern

Re: [U-Boot] [u-boot 00/40] dra7xx: am43xx: add dwc3 gadget driver support and enable dfu

2015-02-07 Thread Marek Vasut
On Friday, February 06, 2015 at 09:47:37 AM, Kishon Vijay Abraham I wrote: > This patch series ports dwc3 gadget driver from linux kernel (3.19-rc1) > to u-boot. > > Changes from RFC: > *) A patch has been added to copy the driver from linux kernel to u-boot > and then it's modfied to make it work

Re: [U-Boot] [PATCHv1 13/22] arm: socfpga: spl: Add s_init

2015-02-07 Thread Marek Vasut
On Thursday, February 05, 2015 at 10:16:59 PM, Dinh Nguyen wrote: > On 01/14/2015 05:54 PM, Marek Vasut wrote: [...] > >> + /* > >> + * Private components security > >> + * U-Boot : configure private timer, global timer and cpu > >> + * component access as non secure for kernel stage (as r

Re: [U-Boot] x86: ACPI support suggestion

2015-02-07 Thread Gabriel Huau
Hi Simon, On 02/06/2015 03:14 PM, Simon Glass wrote: Hi, On 6 February 2015 at 16:11, Gabriel Huau wrote: Hi Simon, On 02/06/2015 03:04 PM, Simon Glass wrote: Hi Gabriel, On 6 February 2015 at 16:01, Gabriel Huau wrote: Hi Bin, Actually I was able to try with a quick&dirty code the int

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Simon Glass
Hi Jeroen, On 7 February 2015 at 03:04, Jeroen Hofstee wrote: > Hi Simon, > > On 06-02-15 22:00, Simon Glass wrote: >> >> Hi, >> >> On 6 February 2015 at 13:40, Andreas Bießmann >> wrote: >>> >>> Hi, >>> >>> On 06.02.15 20:56, Jeroen Hofstee wrote: Hello Simon, +Andreas, On 0

Re: [U-Boot] x86: ACPI support suggestion

2015-02-07 Thread Simon Glass
Hi Gabriel, On 7 February 2015 at 08:07, Gabriel Huau wrote: > Hi Simon, > > > On 02/06/2015 03:14 PM, Simon Glass wrote: >> >> Hi, >> >> On 6 February 2015 at 16:11, Gabriel Huau wrote: >>> >>> Hi Simon, >>> >>> >>> On 02/06/2015 03:04 PM, Simon Glass wrote: Hi Gabriel, On 6

Re: [U-Boot] [PATCH v2 15/19] dm: sunxi: Move driver model CONFIGs to Kconfig

2015-02-07 Thread Simon Glass
On 6 February 2015 at 21:22, Ian Campbell wrote: > On Thu, 2015-02-05 at 21:41 -0700, Simon Glass wrote: >> Remove driver model CONFIGs from the board config headers and use Kconfig >> instead. >> >> Signed-off-by: Simon Glass > > Acked-by: Ian Campbell > > I assume you'll take this via the dm t

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Andreas Bießmann
Hi Simon, On 07.02.15 16:10, Simon Glass wrote: > On 7 February 2015 at 03:04, Jeroen Hofstee wrote: >> On 06-02-15 22:00, Simon Glass wrote: >>> On 6 February 2015 at 13:40, Andreas Bießmann >>> wrote: On 06.02.15 20:56, Jeroen Hofstee wrote: Dynamic list-sections is in general a goo

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Simon Glass
Hi Andreas, On 7 February 2015 at 09:23, Andreas Bießmann wrote: > Hi Simon, > > On 07.02.15 16:10, Simon Glass wrote: >> On 7 February 2015 at 03:04, Jeroen Hofstee wrote: >>> On 06-02-15 22:00, Simon Glass wrote: On 6 February 2015 at 13:40, Andreas Bießmann wrote: > On 06.02.15

Re: [U-Boot] [PATCHv1 13/22] arm: socfpga: spl: Add s_init

2015-02-07 Thread Simon Glass
Hi, On 5 February 2015 at 14:16, Dinh Nguyen wrote: > On 01/14/2015 05:54 PM, Marek Vasut wrote: >> On Wednesday, January 14, 2015 at 05:40:53 PM, dingu...@opensource.altera.com >> wrote: >>> From: Dinh Nguyen >>> >>> s_init will map SDRAM to 0x0. >>> >>> Signed-off-by: Dinh Nguyen >> >> Hi! >>

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Andreas Bießmann
Hi Simon, On 07.02.15 17:29, Simon Glass wrote: > On 7 February 2015 at 09:23, Andreas Bießmann > wrote: >> On 07.02.15 16:10, Simon Glass wrote: >>> On 7 February 2015 at 03:04, Jeroen Hofstee wrote: On 06-02-15 22:00, Simon Glass wrote: > On 6 February 2015 at 13:40, Andreas Bießmann

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Simon Glass
Hi Andreas, On 7 February 2015 at 10:08, Andreas Bießmann wrote: > Hi Simon, > > On 07.02.15 17:29, Simon Glass wrote: >> On 7 February 2015 at 09:23, Andreas Bießmann >> wrote: >>> On 07.02.15 16:10, Simon Glass wrote: On 7 February 2015 at 03:04, Jeroen Hofstee wrote: > On 06-02-15 2

[U-Boot] [PATCH v2 1/3] arm: Allow lr to be saved by board code

2015-02-07 Thread Simon Glass
The link register value can be required on some boards (e.g. FEL mode on sunxi) so use a branch instruction to jump to save_boot_params() instead of a branch link. This requires a branch back to save_boot_params_ret so adjust the users to deal with this. For exynos just drop the function since it

[U-Boot] [PATCH v2 2/3] arm: spl: Provide for a board-specific loader

2015-02-07 Thread Simon Glass
Some boards have a special way of loading U-Boot that does not fit with the existing SPL code. For example sunxi uses an 'FEL' mode where U-Boot is loaded over USB. Add a CONFIG option and boot mode for this. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/include/asm/spl.h | 4 +++

[U-Boot] [PATCH v2 3/3] sunxi: Normalise FEL support

2015-02-07 Thread Simon Glass
Make sunxi's FEL code fit with the normal U-Boot boot sequence instead of creating its own. There are some #ifdefs required in start.S. Future work will hopefully remove these. This series is available at u-boot-dm, branch sunxi-working. Signed-off-by: Simon Glass --- Changes in v2: - Adjust fo

Re: [U-Boot] [PATCH v2 3/3] sunxi: Normalise FEL support

2015-02-07 Thread Hans de Goede
Hi, On 02/07/2015 06:47 PM, Simon Glass wrote: Make sunxi's FEL code fit with the normal U-Boot boot sequence instead of creating its own. There are some #ifdefs required in start.S. Future work will hopefully remove these. About the #ifdefs, I would really like to see us move to having 1 unif

Re: [U-Boot] [PATCH v2 3/3] sunxi: Normalise FEL support

2015-02-07 Thread Simon Glass
Hi Hans, On 7 February 2015 at 10:59, Hans de Goede wrote: > Hi, > > On 02/07/2015 06:47 PM, Simon Glass wrote: >> >> Make sunxi's FEL code fit with the normal U-Boot boot sequence instead of >> creating its own. There are some #ifdefs required in start.S. Future work >> will hopefully remove the

[U-Boot] [PATCH v2 0/19] powerpc: Introduce device tree control and driver model

2015-02-07 Thread Simon Glass
This series does a small amount of tweaking to support device tree control (CONFIG_OF_CONTROL) on PowerPC platforms. It also adds support for driver model. In both cases the main effort is to set things up correctly before calling board_init_f(). A new generic function, board_init_f_mem() is intro

[U-Boot] [PATCH v2 05/19] powerpc: ppc4xx: Add ramboot config for glacier

2015-02-07 Thread Simon Glass
Add a new ramboot config for glacier so that it is possible to test U-Boot loaded over Ethernet instead of using JTAG. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/ppc4xx/44x_spd_ddr2.c | 8 board/amcc/canyonlands/MAINTAINERS | 1 + board/amcc/canyonlands/u-bo

[U-Boot] [PATCH v2 04/19] powerpc: ppc4xx: Move CANYONLANDS/GLACIER/ARCHES to Kconfig

2015-02-07 Thread Simon Glass
Move these options to Kconfig and remove them from the CONFIG files. Signed-off-by: Simon Glass --- Changes in v2: None board/amcc/canyonlands/Kconfig | 20 configs/arches_defconfig | 2 +- configs/canyonlands_defconfig | 2 +- configs/glacier_defconfig | 2

[U-Boot] [PATCH v2 07/19] WIP: powerpc: ppc4xx: Somehow BSS is not cleared in RAMBOOT case

2015-02-07 Thread Simon Glass
From: Stefan Roese (NOT TO APPLY) I'm really not sure why this doesn't work in the RAMBOOT case. But BSS is not cleared and because of this booting crashed / hangs at some stage later. Something with the GOT calculation / handling is incorrect. To get this going for now, just clear the BSS agai

[U-Boot] [PATCH v2 01/19] Introduce board_init_f_mem() to handle early memory layout

2015-02-07 Thread Simon Glass
At present on some architectures we set up the following before calling board_init_f(): - global_data - stack - early malloc memory Adding the code to support early malloc and global data setup to every arch's assembler start-up is a pain. Also this code is not actually architecture-spec

[U-Boot] [PATCH v2 03/19] powerpc: ppc4xx: canyonlands: config: Tidy up CONFIGs and config.mk

2015-02-07 Thread Simon Glass
Many CONFIG options have an unnecessary value of 1. CONFIG_440 is set in the various board config files. Also simplify the CONFIG_440 check in config.mk Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/ppc4xx/config.mk | 5 + board/amcc/canyonlands/config.mk | 2 -- i

[U-Boot] [PATCH v2 18/19] powerpc: ppc4xx: Add defaults for DT based booting to really work

2015-02-07 Thread Simon Glass
From: Stefan Roese These additional nodes need to be provided to get U-Boot to boot correctly on the Canyonlands / Glacier board: - chosen path to the console-uart - reg-shift set to 0 in the uart device nodes Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Simon Glass Signed-off-by

[U-Boot] [PATCH v2 15/19] dm: powerpc: ppc4xx: Move glacier to use driver model for serial

2015-02-07 Thread Simon Glass
Adjust Kconfig to default to driver model for glacier, canyonlands and arches. Signed-off-by: Simon Glass --- Changes in v2: - Add SYS_MALLOC_F to Kconfig board/amcc/canyonlands/Kconfig | 12 1 file changed, 12 insertions(+) diff --git a/board/amcc/canyonlands/Kconfig b/board/amc

[U-Boot] [PATCH v2 09/19] powerpc: ppc4xx: Call board_init_f_mem() for generic board

2015-02-07 Thread Simon Glass
Call this function to set up our early memory. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/ppc4xx/start.S | 18 +- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/ppc4xx/start.S b/arch/powerpc/cpu/ppc4xx/start.S index 09a02

[U-Boot] [PATCH v2 02/19] powerpc: Permit device tree control of U-Boot (CONFIG_OF_CONTROL)

2015-02-07 Thread Simon Glass
Enable this in the Kconfig so that PowerPC boards can use device tree to configure U-Boot. Signed-off-by: Simon Glass --- Changes in v2: None arch/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/Kconfig b/arch/Kconfig index f63cc5a..67e99e9 100644 --- a/arch/Kconfig +++ b/arch

[U-Boot] [PATCH v2 14/19] powerpc: Add serial driver for driver model

2015-02-07 Thread Simon Glass
This uses the ns16550 driver but sets up the clock at run-time. It does not seem to be available in the device tree. Signed-off-by: Simon Glass --- Changes in v2: None drivers/serial/Makefile | 1 + drivers/serial/serial_ppc.c | 40 2 files changed

[U-Boot] [PATCH v2 08/19] powerpc: ppc4xx: dts: Bring in canyonlands device tree files

2015-02-07 Thread Simon Glass
The canyonlands.h config file works with canyonlands, glacier and arches boards. Bring in the device tree files for these from Linux 3.17. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/dts/Makefile| 11 + arch/powerpc/dts/arches.dts | 339 +++

[U-Boot] [PATCH v2 06/19] powerpc: ppc4xx: canyonlands: Move to generic board

2015-02-07 Thread Simon Glass
Switch to generic board so that this board will not be broken/removed. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/ppc4xx/cpu_init.c | 2 ++ include/configs/canyonlands.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/cpu/ppc4xx/cpu_init.c b/a

[U-Boot] [PATCH v2 16/19] powerpc: Add linkage.h file

2015-02-07 Thread Simon Glass
This permits us to use linux/linkage.h on PowerPC machines. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/include/asm/linkage.h | 7 +++ 1 file changed, 7 insertions(+) create mode 100644 arch/powerpc/include/asm/linkage.h diff --git a/arch/powerpc/include/asm/linkage.h

[U-Boot] [PATCH v2 10/19] powerpc: ppc4xx: Add a gpio.h header file

2015-02-07 Thread Simon Glass
This is required at present for device tree control. The ppc4xx does support GPIOs but does not seem to have a proper driver. So this file is empty. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/include/asm/arch-ppc4xx/gpio.h | 7 +++ 1 file changed, 7 insertions(+) crea

Re: [U-Boot] [PATCH v2 0/19] powerpc: Introduce device tree control and driver model

2015-02-07 Thread Simon Glass
Hi, On 7 February 2015 at 11:51, Simon Glass wrote: > This series does a small amount of tweaking to support device tree control > (CONFIG_OF_CONTROL) on PowerPC platforms. It also adds support for driver > model. In both cases the main effort is to set things up correctly before > calling board_

[U-Boot] [PATCH v2 19/19] powerpc: ppc4xx: Enable CONFIG_DISPLAY_BOARDINFO

2015-02-07 Thread Simon Glass
From: Stefan Roese This also displays the "Board:" line in the bootup text with the generic board support code. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Simon Glass Signed-off-by: Simon Glass --- Changes in v2: None board/amcc/canyonlands/Kconfig | 4 1 file changed,

[U-Boot] [PATCH v2 17/19] powerpc: ppc4xx: Change from OF_SEPARATE to OF_EMBED

2015-02-07 Thread Simon Glass
From: Stefan Roese This is necessary, as ppc4xx has the reset vector located at the end of the U-Boot image. This needs to be flashed to the end of the NOR flash. Adding the dtb to the main U-Boot image will break booting on ppc4xx. This patch now embeds the dtb in the U-Boot image instead. Sign

[U-Boot] [PATCH v2 13/19] ppc: amcc: Omit unneeded ns16550 CONFIG if using driver model

2015-02-07 Thread Simon Glass
This comes from the device tree or a call to get_uart_clock(). Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/include/asm/ppc460ex_gt.h | 2 ++ include/configs/amcc-common.h | 2 ++ 2 files changed, 4 insertions(+) diff --git a/arch/powerpc/include/asm/ppc460ex_gt.h

[U-Boot] [PATCH v2 12/19] powerpc: ppc4xx: Use CONFIG_OF_CONTROL for canyonlands boards

2015-02-07 Thread Simon Glass
Enable CONFIG_OF_CONTROL so that U-Boot on these three boards uses a device tree for its configuration. Signed-off-by: Simon Glass --- Changes in v2: None board/amcc/canyonlands/u-boot-ram.lds | 10 -- configs/arches_defconfig | 3 +++ configs/canyonlands_defconfig

[U-Boot] [PATCH v2 11/19] powerpc: ppc4xx: Allow the end of u-boot.bin to be found

2015-02-07 Thread Simon Glass
Define an _end symbol indicating the end of u-boot.bin. Also add some dummy words into the link script to ensure that u-boot.bin will always extend that far. There may be a better way of doing this. Signed-off-by: Simon Glass --- Changes in v2: None arch/powerpc/cpu/ppc4xx/u-boot.lds | 8 +

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Jeroen Hofstee
Hello Simon, On 07-02-15 16:10, Simon Glass wrote: On 7 February 2015 at 03:04, Jeroen Hofstee wrote: I am missing the point, u-boot and its tools build fine until v2015.04-rc1 on FreeBSD and a mac. And this is easily fixed by not using linker magic for tools. (and yes sandbox likely fails t

Re: [U-Boot] recent tools on FreeBSD

2015-02-07 Thread Simon Glass
Hi Jeroen, On 7 February 2015 at 13:17, Jeroen Hofstee wrote: > Hello Simon, > > On 07-02-15 16:10, Simon Glass wrote: >> >> On 7 February 2015 at 03:04, Jeroen Hofstee wrote: >>> >>> >>> >>> I am missing the point, u-boot and its tools build fine until >>> v2015.04-rc1 >>> on FreeBSD and a mac.

[U-Boot] [RFC PATCH] tools/imagetool: remove linker generated list

2015-02-07 Thread Andreas Bießmann
Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated lists for imagetool which is part of mkimage. It is a nice feature to remove the annoying register function calls, but is not portable. Unfortunately some host compilers do not support this type of linker scripts. Therefore

Re: [U-Boot] [RFC PATCH] tools/imagetool: remove linker generated list

2015-02-07 Thread Jeroen Hofstee
Thanks, On 02/07/15 22:19, Andreas Bießmann wrote: Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated lists for imagetool which is part of mkimage. It is a nice feature to remove the annoying register function calls, but is not portable. Unfortunately some host compilers

Re: [U-Boot] [PATCH v2 3/3] sunxi: Normalise FEL support

2015-02-07 Thread Hans de Goede
Hi, On 02/07/2015 07:02 PM, Simon Glass wrote: Hi Hans, On 7 February 2015 at 10:59, Hans de Goede wrote: Hi, On 02/07/2015 06:47 PM, Simon Glass wrote: Make sunxi's FEL code fit with the normal U-Boot boot sequence instead of creating its own. There are some #ifdefs required in start.S. F

[U-Boot] [PATCH] Add linux/compiler-gcc5.h to fix builds with gcc5

2015-02-07 Thread Hans de Goede
Hi Tom, Here is a patch to fix building u-boot with gcc5 (which has landed in Fedora rawhide / F22 recently). Can you please review and merge this ? Regards, Hans ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boo

[U-Boot] [PATCH] Add linux/compiler-gcc5.h to fix builds with gcc5

2015-02-07 Thread Hans de Goede
Add linux/compiler-gcc5/h from the kernel sources at: commit 5631b8fba640a4ab2f8a954f63a603fa34eda96b Author: Steven Noonan Date: Sat Oct 25 15:09:42 2014 -0700 compiler/gcc4+: Remove inaccurate comment about 'asm goto' miscompiles Signed-off-by: Hans de Goede --- include/linux/compiler

Re: [U-Boot] [U-Boot, v2, 01/13] ARM: atmel: clock: make it possible to configure HMX32

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/cpu/armv7/at91/clock.c | 8 > 1 file changed, 8 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mai

Re: [U-Boot] [U-Boot,v2,03/13] ARM: atmel: sama5: add sfr register header file

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The SFR (special function registers) can be shared bwteen >sama5d3 and sama5d4 soc. > >Signed-off-by: Bo Shen >[whitespace adoptions for 80 char compliance] >Signed-off-by: Andreas Bießmann >--- > >Changes in v2: None > > arch/arm/include/asm/arch-at91/sama5_sfr.h

Re: [U-Boot] [U-Boot,v2,02/13] ARM: atmel: sama5: add bus matrix header file

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >This matrix header file can be shared between sama5d3 and sama5d4 soc. > >Signed-off-by: Bo Shen >[whitespace adaptions for 80 char compliance] >Signed-off-by: Andreas Bießmann >--- > >Changes in v2: None > > arch/arm/include/asm/arch-at91/sama5_matrix.h | 37

Re: [U-Boot] [U-Boot,v2,06/13] ARM: atmel: spl: can not disable osc for sama5d4

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The SAMA5D4 SoC on chip rc oscillator can not be disabled. > >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/cpu/at91-common/spl_atmel.c | 2 ++ > 1 file changed, 2 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießma

Re: [U-Boot] [U-Boot,v2,05/13] ARM: atmel: spl: add saic to aic redirect function

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Some SoC need to redirect the saic to aic to make the interrupt to >work, here add a weak function to be replaced by real function. > >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/cpu/at91-common/spl_atmel.c | 7 +++ > arch/arm/include

Re: [U-Boot] [U-Boot,v2,04/13] ARM: atmel: spl: add weak bus matrix init function

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Some SoC need to configure the bus matrix, add an weak function >to be replace by real function. > >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/cpu/at91-common/spl_atmel.c | 7 +++ > 1 file changed, 7 insertions(+) applied to u-boot-atmel/ma

Re: [U-Boot] [U-Boot, v2, 07/13] ARM: atmel: sama5d4: add matrix1 base addr definition

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/include/asm/arch-at91/sama5d4.h | 2 ++ > 1 file changed, 2 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot

Re: [U-Boot] [U-Boot,v2,12/13] ARM: atmel: sama5d4ek: enable SPL support

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The sama5d4ek support boot up from NAND flash, SD/MMC card and >also the SPI flash. > >Signed-off-by: Bo Shen >--- > >Changes in v2: >- change CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION to >CONFIG_SYS_MMCSD_FS_BOOT_PARTITION > > arch/arm/Kconfig | 1

Re: [U-Boot] [U-Boot, v2, 11/13] ARM: atmel: sama5d4: build related file when enable SPL

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/cpu/at91-common/Makefile | 1 + > 1 file changed, 1 insertion(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___ U-Boot mailing l

Re: [U-Boot] [U-Boot,v2,08/13] ARM: atmel: sama5d4: add bus matrix init function

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/cpu/armv7/at91/sama5d4_devices.c | 35 +++ > 1 file changed, 35 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann ___

Re: [U-Boot] [U-Boot,v2,13/13] ARM: atmel: sama5d4_xplained: enable spl support

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >--- > >Changes in v2: >- change CONFIG_SYS_MMC_SD_FS_BOOT_PARTITION to >CONFIG_SYS_MMCSD_FS_BOOT_PARTITION > > arch/arm/Kconfig| 1 + > board/atmel/sama5d4_xplained/sama5d4_xplained.c | 85 +++

Re: [U-Boot] [U-Boot, v2, 09/13] ARM: atmel: sama5d4: add interrupt redirect function

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >Signed-off-by: Bo Shen >[fix subject] >Signed-off-by: Andreas Bießmann >--- > >Changes in v2: None > > arch/arm/cpu/armv7/at91/sama5d4_devices.c | 12 > 1 file changed, 12 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bi

Re: [U-Boot] ARM: atmel: cleanup: remove at91cap9 related code

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >As the at91cap9adk board is removed by commit: b5508344 >(ARM: remove broken "at91cap9adk" board), so the at91cap9 >code is not used anymore, and also the document for >at91cap9 can not be found on www.atmel.com, so remove the >at91cap9 related code. > >Signed-off-b

Re: [U-Boot] [U-Boot, v2, 10/13] ARM: atmel: sama5d4: can access DDR in interleave mode

2015-02-07 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The SAMAA5D4 SoC can access DDR in interleave mode. > >Signed-off-by: Bo Shen >--- > >Changes in v2: None > > arch/arm/cpu/at91-common/mpddrc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bi

Re: [U-Boot] [U-Boot,v1,1/4] arm, at91, wdt: do not disable WDT in SPL

2015-02-07 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >if CONFIG_AT91SAM9_WATCHDOG is set, do not disable WDT in >SPL > >Signed-off-by: Heiko Schocher >--- > > arch/arm/cpu/at91-common/spl.c | 4 > 1 file changed, 4 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann

Re: [U-Boot] [U-Boot, v3, 1/3] ARM: at91: sama5d3_xplained: save environment in a FAT file in MMC card

2015-02-07 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >This patch will save U-Boot environment as a file: uboot.env, in FAT partition >instead of saving it in raw sector of MMC card. > >This make us easier to manage the environment file. > >Signed-off-by: Josh Wu >Acked-by: Bo Shen >--- > >Changes in v3: >- move CONFI

Re: [U-Boot] ARM: at91: mmc portA support is only for at91sam9g20ek_2mmc board

2015-02-07 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >Current the MMC support will enable MCI port A, Which is only exist >for 2mmc board. >So by default we need to disable MMC (port A) support. And only enable >it for 2mmc board. Otherwise, dataflash won't work in at91sam9260ek board >as MMC has confliction with Dataf

Re: [U-Boot] [U-Boot,v1,3/4] arm, at91, wdt: make timeout configurable

2015-02-07 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >make the HW WDT timeout configurable through the define >CONFIG_AT91_HW_WDT_TIMEOUT. > >Signed-off-by: Heiko Schocher >--- > > README | 3 +++ > drivers/watchdog/at91sam9_wdt.c | 4 > 2 files changed, 7 insertions(+) appli

Re: [U-Boot] [U-Boot, v3, 2/3] ARM: at91: sama5d3xek: save enviroment as a FAT file in MMC card

2015-02-07 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >This patch will save U-Boot environment as a file: uboot.env, in FAT partition >instead of in raw sector of MMC card. > >This make us easier to manage the environment file. > >Signed-off-by: Josh Wu >Acked-by: Bo Shen >--- > >Changes in v3: >- move CONFIG_FAT_WRIT

Re: [U-Boot] mtd: atmel_nand: according to pmecc version to perform 0xff page correction

2015-02-07 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >As the PMECC hardware has different version. In SAMA5D4 chip, the PMECC ip >can generate 0xff pmecc ECC value for all 0xff sector. > >According to this, add PMECC version check, if it's SAMA5D4 then we always >let PMECC hardware to correct it. > >Signed-off-by: Josh

Re: [U-Boot] [U-Boot,v1,2/4] common/board_f: add at91 wdt

2015-02-07 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >call hw_watchdog_init() also if CONFIG_AT91SAM9_WATCHDOG >is used. > >Signed-off-by: Heiko Schocher >Reviewed-by: Simon Glass >--- > > common/board_f.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) applied to u-boot-atmel/master, thanks! B

Re: [U-Boot] [U-Boot, v3, 3/3] ARM: at91: at91sam9x5: save environment to a FAT file in MMC card

2015-02-07 Thread Andreas Bießmann
Dear Josh Wu, Josh Wu writes: >This patch will save U-Boot environment as a file: uboot.env, in FAT partition >instead of saving it in raw sector of MMC card. > >This make us easier to manage the environment file. > >Signed-off-by: Josh Wu >Acked-by: Bo Shen >--- > >Changes in v3: None >Changes

Re: [U-Boot] arm, at91: add reset controller status register

2015-02-07 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >add reset controller status register > >Signed-off-by: Heiko Schocher >Acked-by: Bo Shen >--- > > arch/arm/include/asm/arch-at91/at91_rstc.h | 2 ++ > 1 file changed, 2 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bieß

Re: [U-Boot] arm, at91: taurus remove MACH_TYPE definitions in config file

2015-02-07 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >remove MACH_TYPE definitions in config file, as they come from >the defconfig. > >Signed-off-by: Heiko Schocher >--- > > include/configs/taurus.h | 3 --- > 1 file changed, 3 deletions(-) applied to u-boot-atmel/master, thanks! Best regards, Andreas

Re: [U-Boot] [U-Boot,v1,4/4] arm, at91, taurus: enable WDT

2015-02-07 Thread Andreas Bießmann
Dear Heiko Schocher, Heiko Schocher writes: >enable WDT for the taurus board. > >Signed-off-by: Heiko Schocher >--- > > include/configs/taurus.h | 6 ++ > 1 file changed, 6 insertions(+) applied to u-boot-atmel/master, thanks! Best regards, Andreas Bießmann _

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2015-02-07 Thread Andreas Bießmann
Hi Tom, I have some atmel changes posted way before the MW has closed. Sorry for the delay, there will be some more patches to process next few days. The following changes since commit 7f641d53bbb3a426a3bfb132d8346153e86a9d08: Merge branch 'master' of git://git.denx.de/u-boot-ubi (2015-02-04 1

Re: [U-Boot] [PATCH v2 1/3] arm: Allow lr to be saved by board code

2015-02-07 Thread Siarhei Siamashka
On Sat, 7 Feb 2015 10:47:28 -0700 Simon Glass wrote: > The link register value can be required on some boards (e.g. FEL mode on > sunxi) so use a branch instruction to jump to save_boot_params() instead > of a branch link. > > This requires a branch back to save_boot_params_ret so adjust the us

Re: [U-Boot] [PATCH v2 2/3] arm: spl: Provide for a board-specific loader

2015-02-07 Thread Siarhei Siamashka
On Sat, 7 Feb 2015 10:47:29 -0700 Simon Glass wrote: > Some boards have a special way of loading U-Boot that does not fit with > the existing SPL code. For example sunxi uses an 'FEL' mode where U-Boot > is loaded over USB. Add a CONFIG option and boot mode for this. > > Signed-off-by: Simon Gl

Re: [U-Boot] [PATCH v2 3/3] sunxi: Normalise FEL support

2015-02-07 Thread Siarhei Siamashka
On Sat, 7 Feb 2015 10:47:30 -0700 Simon Glass wrote: > Make sunxi's FEL code fit with the normal U-Boot boot sequence instead of > creating its own. There are some #ifdefs required in start.S. Future work > will hopefully remove these. > > This series is available at u-boot-dm, branch sunxi-wor

[U-Boot] [PATCH] tools: mksunxiboot: Fix problems on big endian systems

2015-02-07 Thread Siarhei Siamashka
Now my PS3 can be also used to build u-boot for sunxi devices. Signed-off-by: Siarhei Siamashka --- tools/mksunxiboot.c | 14 -- 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/mksunxiboot.c b/tools/mksunxiboot.c index 1f0fbae..0035f6e 100644 --- a/tools/mksunxibo

Re: [U-Boot] [PATCH 3/3] sunxi: Switch to using soc_init hook for setting the ACTLR.SMP bit

2015-02-07 Thread Ian Campbell
On Wed, 2015-01-21 at 21:03 +0100, Hans de Goede wrote: > Replace our current DIY solution for setting the Cortex A7 ACTLR.SMP bit > with using the new soc_init hook and cpu_init_cortex_a7 helper function. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___