[U-Boot] [PATCH v2 1/4] zynqmp: gem: Set data bus width to 64bit for arm64

2015-05-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Set the data bus width to 64-bit AMBA Databus width in config register. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- Changes in v2: - Select 64bit setup based on CONFIG_ARM64 not on CONFIG_TARGET_XILINX_ZYNQMP - Fix type in the s

[U-Boot] [PATCH v2 3/4] zynq: gem: Increase the Rx buffer descriptors to 32

2015-05-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Increase the Rx Buffer descriptors to 32. This will avoid Rx buffer descriptors overflow if more packets were received at one shot before we process the received ones. This fixes the issue of intermittent timeouts during tftp on a 1Gb connection with tftp server r

[U-Boot] [PATCH v2 4/4] zynq: gem: Setting up WRAP bit for one TX bd

2015-05-28 Thread Michal Simek
Setting up WRAP bit to indicate that this is the last TX BD in the chain. Signed-off-by: Michal Simek --- Changes in v2: None drivers/net/zynq_gem.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/zynq_gem.c b/drivers/net/zynq_gem.c index f4c2252d0c14..438e4a8

[U-Boot] [PATCH v2 2/4] zynqmp: gem: Flush the rx buffers while transmitting

2015-05-28 Thread Michal Simek
From: Siva Durga Prasad Paladugu Flush and invalidate the rx buffers while sending the tx packet it self as armv8 does flush also while doing invalidation. Signed-off-by: Siva Durga Prasad Paladugu Signed-off-by: Michal Simek --- Changes in v2: None drivers/net/zynq_gem.c | 10 +++--- 1

[U-Boot] FW: eTSEC0 internal loopback test

2015-05-28 Thread Sanjeev Majumdar
Hi I am using EP8548A board based on MPC8548E with u boot 1.2 flashed. We have done the following experiments for testing the ETSEC loopback test U-boot erased : When I test the ETSEC controller for loopback test by initializing the board through code warrior 10.3 using "8458CDS_Core.tcl" init

Re: [U-Boot] [PATCH] kconfiglib: sync with the latest in Kconfiglib project

2015-05-28 Thread Ulf Magnusson
On Wed, May 27, 2015 at 4:39 AM, Masahiro Yamada wrote: > This commit imports some updates of kconfiglib.py from > https://github.com/ulfalizer/Kconfiglib > > - Warn about and ignore the "allnoconfig_y" Kconfig option > - Statements in choices inherit menu/if deps > - Add Symbol.is_allnoconfig_

Re: [U-Boot] Regarding learning reference of uboot loading secondary uboot

2015-05-28 Thread pratapnaidu
Hi Simon, Thanks for of your time and quick replies. The idea seems to be good, but still confused with the way to implement it. Please help me to give a final thought to solve this with the existing framework, sorry for my inexperience with u-boot, kindly enlighten with the fol

Re: [U-Boot] [linux-sunxi] Re: Proposal to add NAND-boot support for Sunxi SPL

2015-05-28 Thread Henrik Nordström
fre 2015-05-22 klockan 15:51 +0200 skrev Hans de Goede: > What info do we need when we're only reading ? If the BROM can get away with > a fixed > way of reading the nand for booting, we should be able to make the SPL get > away with it too ... BROM tries at least 4 different strategies in readi

Re: [U-Boot] [PATCH 1/4] zynqmp: gem: Set data bus with to 64bit for arm64

2015-05-28 Thread Michal Simek
On 05/27/2015 08:08 PM, Joe Hershberger wrote: > Hi Michal, > > On Tue, May 26, 2015 at 6:40 AM, Michal Simek wrote: >> From: Siva Durga Prasad Paladugu >> >> Set the data bus width to 64-bit AMBA Databus width in config register. >> >> Signed-off-by: Siva Durga Prasad Paladugu >> Signed-off-by

[U-Boot] [PATCH] sunxi/spl: Detect at runtime where SPL was read from

2015-05-28 Thread Daniel Kochmański
This patch makes possible using single `u-boot-sunxi-with-spl.bin` binary for both NAND memory and SD card. Detection where SPL was read from is implemented in `spl_boot_device`. Detection is performed only if `CONFIG_SPL_NAND_SUPPORT` is defined. Unless SD card contains valid signature we assume,

Re: [U-Boot] [PATCH] sunxi/spl: Detect at runtime where SPL was read from

2015-05-28 Thread Roy Spliet
Hey Daniel, The approach seems good. Some comments inline 2015-05-28 10:43 GMT+02:00 Daniel Kochmański < dkochman...@turtle-solutions.eu>: > This patch makes possible using single `u-boot-sunxi-with-spl.bin` binary > for both NAND memory and SD card. Detection where SPL was read from is > implem

[U-Boot] [PATCH 02/22][v2] armv8/ls2085ardb: add hwconfig setting for eSDHC

2015-05-28 Thread Prabhakar Kushwaha
From: Yangbo Lu Add hwconfig setting for eSDHC since it shares some pins with other IP block. Signed-off-by: Yangbo Lu Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is for patch set board/freescale/ls2085ardb/ls2085ardb.c | 36 + include/

[U-Boot] [PATCH 01/22][v2] armv8/ls2085ardb: Add eth & phy f/w loading support

2015-05-28 Thread Prabhakar Kushwaha
Add support for board eth initialization and support for loading phy firmware. PHY firmware needs to be loaded from board_eth_init() because all the MACs are not initialized by ldpaa_eth driver. Signed-off-by: pankaj chauhan Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is

[U-Boot] [PATCH 03/22][v2] armv8/ls2085a: Enable Date command for QDS and RDB

2015-05-28 Thread Prabhakar Kushwaha
From: Priyanka Jain Enable Date command for QDS and RDB boards Signed-off-by: Priyanka Jain Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Sending as it is for patch set include/configs/ls2085aqds.h | 1 + include/configs/ls2085ardb.h | 1 + 2 files changed, 2 insertions(+) diff --gi

[U-Boot] [PATCH 05/22][v2] armv8/ls2085a: Update LS2085a PCIe compatible

2015-05-28 Thread Prabhakar Kushwaha
Compatible field "fsl,20851a-pcie" is not correct. So update it to "fsl,ls2085a-pcie" Signed-off-by: Minghuan Lian Signed-off-by: Prabhakar Kushwaha --- Changes for v2: New patch include/configs/ls2085a_common.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/conf

[U-Boot] [PATCH 04/22][v2] armv8/ls2085aqds: Add support of SerDes protocol 0x49

2015-05-28 Thread Prabhakar Kushwaha
SerDes Protocol 0x49 enables 4 SGMII, PEX4, SATA1 and SATA2. Add support of 0x49 SerDes protocol to enable 4SGMII on slot4 of ls2085aqds platform. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Incorporated York's commets - updated subject and description board/freescale/ls2085aqds/eth

[U-Boot] [PATCH 06/22][v2] armv8/ls2085a: call ft_pcie_setup() to change dts status

2015-05-28 Thread Prabhakar Kushwaha
call ft_pci_setup() to disable PCIe dts node if corresponding PCIe controller is disabled according to RCW Signed-off-by: Minghuan Lian Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Incorporated York's comments arch/arm/cpu/armv8/fsl-lsch3/fdt.c | 4 1 file changed, 4 insertions(+

[U-Boot] [PATCH 07/22][v2] armv8/ls2085qds: Update SFP TX bit as "0" to enable XFI

2015-05-28 Thread Prabhakar Kushwaha
FPGA BRDCFG9[SFP_TX] should be clear in order to enable XFI ports. Signed-off-by: Dai Haruki Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set board/freescale/ls2085aqds/eth.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/freescale

[U-Boot] [PATCH 09/22][v2] armv8/ls2085a: Increase the supported kernel size

2015-05-28 Thread Prabhakar Kushwaha
From: Bhupesh Sharma Increases the kernel size supported for LS2085A platforms:- - Update environment variables - Add ramdisk_size in bootargs env variable - Define CONFIG_SYS_BOOTM_LEN to 64MB Signed-off-by: Bhupesh Sharma Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as i

[U-Boot] [PATCH 10/22][v2] board/fsl/common: Fix eeprom system version endianness

2015-05-28 Thread Prabhakar Kushwaha
From: Jaiprakash Singh SYSTEM ID EPPROM always store SYSTEM version info in big endian format. SoC with ARM or PowerPC core should read/write version info from eeprom in BIG endian format. So use cpu-specific APIs to read SYSTEM version. Signed-off-by: Jaiprakash Singh Signed-off-by: Prabhakar

[U-Boot] [PATCH 13/22][v2] armv8/fsl-ch3: Add support to print SoC personality

2015-05-28 Thread Prabhakar Kushwaha
This patch adds support to print out the SoC personality. Freescale LS20xx SoCs (compliant to Chassis-3 specifications) can have 6 personalities: LS2045AE, LS2045A, LS2080AE, LS2080A, LS2085AE and LS2085A Signed-off-by: Bhupesh Sharma Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending

[U-Boot] [PATCH 12/22][v2] armv8/fsl-lsch3: Fix DDR speed message

2015-05-28 Thread Prabhakar Kushwaha
From: York Sun DDR speed should be in MT/s, not MHz. Signed-off-by: York Sun Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set arch/arm/cpu/armv8/fsl-lsch3/cpu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-

[U-Boot] [PATCH 08/22][v2] armv8/ls2085rdb: Update PCA9547PW slave address

2015-05-28 Thread Prabhakar Kushwaha
Primary Mux on I2C1 controller has slave address as 0x75. So update its address. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Incorporated York's comments include/configs/ls2085ardb.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/configs/ls2085ardb.h

[U-Boot] [PATCH 11/22][v2] armv8/ls2085RDB: Update board version print logic

2015-05-28 Thread Prabhakar Kushwaha
As per updated board document, no need to substract 1 from arch[BRD] bit field. Default value + 'A' represents the board revision. So update board version print logic to reflect the same. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set board/freescale/ls208

[U-Boot] [PATCH 17/22][v2] armv8/ls2085a: Expose all DDR region(s) to Linux

2015-05-28 Thread Prabhakar Kushwaha
From: Bhupesh Sharma This patch allows u-boot to expose the complete DDR region(s) to Linux (after subtracting the memory hidden via MEM_TOP_HIDE mechanism). This allows the u-boot to support the 48-bit VA support provided by ARM64 Linux in flavors 3.18 and above, by passing the appropriate 'mem

[U-Boot] [PATCH 16/22][v2] armv8/ls2085ardb: Fix SPD address error on early boards

2015-05-28 Thread Prabhakar Kushwaha
From: York Sun Board rev C and earlier has duplicated SPD address on 2nd DDR controller slots. It is fixed on rev D and later. SPD addresses need to be updated accordingly. Signed-off-by: York Sun Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set board/free

[U-Boot] [PATCH 14/22][v2] armv8/ls2085a: Avoid hard-coding for board name print

2015-05-28 Thread Prabhakar Kushwaha
LS2085A supports 6 personalities i.e. LS2045AE, LS2045A, LS2080AE, LS2080A, LS2085AE and LS2085A personlities. Instead of hard-coding, board name should change as per selected personality. Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set board/freescale/ls20

[U-Boot] [PATCH 15/22][v2] driver/ddr/fsl: Add a hook to update SPD address

2015-05-28 Thread Prabhakar Kushwaha
From: York Sun In case SPD address changes between board revisions, updating SPD address can be called from board file. Signed-off-by: York Sun Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set drivers/ddr/fsl/main.c | 8 include/fsl_ddr.h | 3

[U-Boot] [PATCH 18/22][v2] armv8/ls2085a: Update SoC README for DDR layout

2015-05-28 Thread Prabhakar Kushwaha
Update SoC README to provide details of - Memory regions - Memory used by MC and Debug server Signed-off-by: Bhupesh Sharma Signed-off-by: Prabhakar Kushwaha --- Chanes for v2: New patch arch/arm/cpu/armv8/fsl-lsch3/README | 25 + 1 file changed, 25 insertions(+) di

[U-Boot] [PATCH 19/22][v2] driver/fsl_debug_server: Fix the DDR hide logic for LS2085a

2015-05-28 Thread Prabhakar Kushwaha
From: Bhupesh Sharma This patch fixes the DDR hide logic for LS2085a, correcting the way the Debug Server FW and MC FW images are placed on the top of system DDR and how the rest of the system DDR space is made visibile to Linux. Signed-off-by: Bhupesh Sharma Signed-off-by: Prabhakar Kushwaha

[U-Boot] [PATCH 20/22][v2] arm/errata: Update required bits for A57 cores erratas

2015-05-28 Thread Prabhakar Kushwaha
From: Bhupesh Sharma This patch updates the setting of required bits for A57 cores erratas - 828024 and 826974 Signed-off-by: Bhupesh Sharma Signed-off-by: Dai Haruki Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set arch/arm/cpu/armv8/start.S | 8

[U-Boot] [PATCH 22/22][v2] armv8/ls2085a: enable debug server

2015-05-28 Thread Prabhakar Kushwaha
From: Stuart Yoder Signed-off-by: Stuart Yoder Signed-off-by: Prabhakar Kushwaha --- Changes for v2: sending as it is for patch set include/configs/ls2085a_common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/ls2085a_common.h b/include/configs/ls2085a_common.h index 21

[U-Boot] [PATCH 21/22][v2] armv8/fsl-lsch3: Support 256M mem split for MC & dbg-srvr

2015-05-28 Thread Prabhakar Kushwaha
From: Stuart Yoder The agreed split of the top of memory is 256M for debug server and 256M for MC. This patch implements the split. In addition, the MC mem must be 512MB aligned, so the amount of memory to hide must be 512MB to achieve that alignment. Signed-off-by: Stuart Yoder Signed-off-by:

Re: [U-Boot] [PATCH v3] armv8: caches: Added routine to set non cacheable region

2015-05-28 Thread Mark Rutland
Hi, > +void mmu_set_region_dcache_behaviour(phys_addr_t start, size_t size, > + enum dcache_option option) > +{ > + u64 *page_table = arch_get_page_table(); > + u64 upto, end; > + > + if (page_table == NULL) > + return; > + > + end = ALI

Re: [U-Boot] [PATCH] pci: imx: display message if no pcie link

2015-05-28 Thread Stefano Babic
On 09/05/2015 00:17, Tim Harvey wrote: > If CONFIG_PCI_SCAN_SHOW enabled then lets print a message of no link was > detected. > > Signed-off-by: Tim Harvey > --- > drivers/pci/pcie_imx.c | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/drivers/pci/pcie_imx.c b/drivers

Re: [U-Boot] [PATCH] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for MX6SL and MX6SX

2015-05-28 Thread Stefano Babic
On 27/05/2015 04:22, Fabio Estevam wrote: > From: Fabio Estevam > > Commit 8183058188cd2d942 ("imx6: centralise common boot options in > mx6_common.h") broke boot on mx6sl and mx6sx by assuming that all mx6 > SoCs use the same LOADADDR/SYS_TEXT_BASE range, which is not correct. > > DDR on mx6sx/

Re: [U-Boot] [PATCH] sunxi/spl: Detect at runtime where SPL was read from

2015-05-28 Thread Hans de Goede
Hi, On 28-05-15 11:08, Roy Spliet wrote: Hey Daniel, The approach seems good. Some comments inline 2015-05-28 10:43 GMT+02:00 Daniel Kochmański < dkochman...@turtle-solutions.eu>: This patch makes possible using single `u-boot-sunxi-with-spl.bin` binary for both NAND memory and SD card. Dete

Re: [U-Boot] [PATCH 1/5] warp: Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE

2015-05-28 Thread Stefano Babic
On 27/05/2015 06:11, Fabio Estevam wrote: > From: Fabio Estevam > > Adjust CONFIG_SYS_DFU_DATA_BUF_SIZE in order to avoid the following error > when running the dfu command: > => dfu 0 mmc 0 > > dfu_get_buf: Could not memalign 0x2

Re: [U-Boot] [PATCH 4/5] warp: Add fuse command support

2015-05-28 Thread Stefano Babic
On 27/05/2015 06:11, Fabio Estevam wrote: > From: Fabio Estevam > > Select the fuse command support. > > Signed-off-by: Fabio Estevam > --- > include/configs/warp.h | 4 > 1 file changed, 4 insertions(+) > > diff --git a/include/configs/warp.h b/include/configs/warp.h > index 5463c40..29

Re: [U-Boot] [PATCH 3/5] warp: Enable CONFIG_SUPPORT_EMMC_BOOT

2015-05-28 Thread Stefano Babic
On 27/05/2015 06:11, Fabio Estevam wrote: > From: Fabio Estevam > > CONFIG_SUPPORT_EMMC_BOOT is important to enable the boot partition via > 'mmc partconf 0 1 1 0' command, for example. > > Signed-off-by: Fabio Estevam > --- > include/configs/warp.h | 1 + > 1 file changed, 1 insertion(+) > >

Re: [U-Boot] [PATCH 2/5] warp: Fix CONFIG_SYS_FSL_ESDHC_ADDR

2015-05-28 Thread Stefano Babic
On 27/05/2015 06:11, Fabio Estevam wrote: > From: Fabio Estevam > > Warp uses eMMC connected to esdhc2 port, so fix > CONFIG_SYS_FSL_ESDHC_ADDR to reflect that. > > Signed-off-by: Fabio Estevam > --- > include/configs/warp.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --

Re: [U-Boot] [PATCH 5/5] warp: Fix the 'saveenv' command

2015-05-28 Thread Stefano Babic
On 27/05/2015 06:11, Fabio Estevam wrote: > From: Fabio Estevam > > After the mx6 config consolidation, 'save' command is no longer > recognized. > > Pass the full command name 'saveenv' instead. > > Signed-off-by: Fabio Estevam > --- > board/warp/README | 2 +- > 1 file changed, 1 insertion(

Re: [U-Boot] [PATCH] sunxi/spl: Detect at runtime where SPL was read from

2015-05-28 Thread Daniel Kochmański
Hello, Hans de Goede writes: > Hi, > > On 28-05-15 11:08, Roy Spliet wrote: >> Hey Daniel, >> >> The approach seems good. Some comments inline >> >> 2015-05-28 10:43 GMT+02:00 Daniel Kochmański < >> dkochman...@turtle-solutions.eu>: >> >>> This patch makes possible using single `u-boot-sunxi-with

Re: [U-Boot] [PATCH 2/2] ppc: xilinx-ppc: Move to generic board support

2015-05-28 Thread Ricardo Ribalda Delgado
On behalf of Georg Tested-by: Georg Schardt On Tue, May 12, 2015 at 4:20 PM, Ricardo Ribalda Delgado wrote: > Generic board support seems to work just fine. Tested on ml507 with > bitstream generated on the latest ISE software. > > Signed-off-by: Ricardo Ribalda Delgado > --- > include/config

Re: [U-Boot] [PATCH] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for MX6SL and MX6SX

2015-05-28 Thread Stefano Babic
Hi Fabio, On 28/05/2015 11:52, Stefano Babic wrote: > On 27/05/2015 04:22, Fabio Estevam wrote: >> From: Fabio Estevam >> >> Commit 8183058188cd2d942 ("imx6: centralise common boot options in >> mx6_common.h") broke boot on mx6sl and mx6sx by assuming that all mx6 >> SoCs use the same LOADADDR/SY

Re: [U-Boot] [PATCH] sunxi/spl: Detect at runtime where SPL was read from

2015-05-28 Thread Hans de Goede
Hi, On 28-05-15 12:05, Daniel Kochmański wrote: Hello, Hans de Goede writes: Hi, On 28-05-15 11:08, Roy Spliet wrote: Hey Daniel, The approach seems good. Some comments inline 2015-05-28 10:43 GMT+02:00 Daniel Kochmański < dkochman...@turtle-solutions.eu>: This patch makes possible usin

Re: [U-Boot] [PATCH] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for MX6SL and MX6SX

2015-05-28 Thread Markus Niebel
Am 28.05.2015 um 12:21 schrieb Stefano Babic: > Hi Fabio, > > On 28/05/2015 11:52, Stefano Babic wrote: >> On 27/05/2015 04:22, Fabio Estevam wrote: >>> From: Fabio Estevam >>> >>> Commit 8183058188cd2d942 ("imx6: centralise common boot options in >>> mx6_common.h") broke boot on mx6sl and mx6sx

Re: [U-Boot] [PATCH] mx6_common: Fix LOADADDR and SYS_TEXT_BASE for MX6SL and MX6SX

2015-05-28 Thread Andy Pont
Hello, [snip] > >> #ifndef CONFIG_SYS_TEXT_BASE > >> -#define CONFIG_SYS_TEXT_BASE 0x1780 > >> #endif Doesn't this also leave an empty, and therefore meaningless #ifndef...#endif that could be removed completely? Regards, Andy. ___ U-Boo

[U-Boot] [PATCH] imx6: novena: Reinstate missing CONFIG_FAT_WRITE

2015-05-28 Thread Marek Vasut
Commit a380ce6e9698257c4e8be4c0711b09c90a8febff removed CONFIG_FAT_WRITE from novena.h , so Novena lost ability to write FAT partitions. Add this functionality back. Signed-off-by: Marek Vasut Cc: Peter Robinson Cc: Stefano Babic --- include/configs/novena.h | 1 + 1 file changed, 1 insertion(

[U-Boot] [PATCHv2] board: Add Toby-Churchill SL50 board support.

2015-05-28 Thread Enric Balletbo i Serra
Add support for Lightwriter SL50 series board, a small, robust and portable Voice Output Communication Aids (VOCA) designed to meet the particular and changing needs of people with speech loss resulting from a wide range of acquired, progressive and congenital conditions. Signed-off-by: Enric Ball

[U-Boot] [PATCHv2 0/1] Add Toby-Churchill SL50 board support

2015-05-28 Thread Enric Balletbo i Serra
This patch series adds support for SL50 board based on TI AM335x SoC. Changes since v1: - Rebased with current mainline. - Fix implicit declaration of function 'is_valid_ether_addr' (and the resulting link failure). Best regards, Enric Balletbo i Serra (1): board: Add Toby-Churchill SL50

[U-Boot] [PATCH] imx: fec: add MAC reading from eFuses to README

2015-05-28 Thread Olaf Mandel
Extend the documentation of the fec_mxc configuration by describing its ability to read the ethaddr MAC address from the SoC eFuses. Also add an example how to program the fuses for an imx5 to clarify the byte order. Cc: Stefano Babic Cc: Marek Vasut Signed-off-by: Olaf Mandel --- doc/README.

Re: [U-Boot] [U-Boot, 1/2] pxe: Fix crash if 'sysboot' is run without args

2015-05-28 Thread Tom Rini
On Thu, May 07, 2015 at 09:29:18PM +0300, Tuomas Tynkkynen wrote: > Previously, a NULL pointer dereference would occur if the 'sysboot' > command is executed without any arguments. > > Signed-off-by: Tuomas Tynkkynen > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signa

Re: [U-Boot] [U-Boot, 2/2] menu: Return an error code if Ctrl-C is pressed

2015-05-28 Thread Tom Rini
On Thu, May 07, 2015 at 09:29:19PM +0300, Tuomas Tynkkynen wrote: > Previously, if the menu activated by the 'sysboot' command gets > interrupted by a Ctrl-C, the behaviour is as if the menu timeout was > reached - i.e. boot the default menu entry. This patch fixes that > so a Ctrl-C now terminate

Re: [U-Boot] ARM: BeagleBoard-x15: Rev A2x5: Change UART3 mux

2015-05-28 Thread Tom Rini
On Fri, May 08, 2015 at 04:36:28PM +0530, Lokesh Vutla wrote: > UART3 RX and TX pins are now moved to support uart download capability > on the platform. Old pins are now GPIOs routed to expansion ports. > All original boards should either have been returned for modifications > or already modified

Re: [U-Boot] [PATCH v2] am33xx, spl, siemens: enable debug uart output again

2015-05-28 Thread Tom Rini
On Thu, May 28, 2015 at 07:27:36AM +0200, Heiko Schocher wrote: > a6b541b090: TI ARMv7: Don't use GD before crt0.S has set it > > moves the init of the debug uart at the very end of SPL code. > Enable it for the siemens board earlier, as they print > ddr settings ... all debug output before board

[U-Boot] [PATCH 1/2] sunxi: Create helper function veryfing valid boot signature on MMC

2015-05-28 Thread Daniel Kochmański
This patch extracts checking for valid SD card "eGON.BT0" signature from `board_mmc_init` into function `sunxi_mmc_has_egon_boot_signature`. Buffer for mmc sector is allocated and freed at runtime. `panic` is triggered on malloc failure. Signed-off-by: Daniel Kochmański CC: Roy Spliet Cc: Ian C

[U-Boot] [PATCH 2/2] sunxi/spl: Detect at runtime where from SPL was read

2015-05-28 Thread Daniel Kochmański
Make possible using single `u-boot-sunxi-with-spl.bin` binary for both NAND memory and SD card. Detection where SPL was read from is implemented in `spl_boot_device`. Detection is performed only if `SPL_NAND_SUPPORT` is enabled. Unless SD card contains valid signature we assume, that SPL was read

Re: [U-Boot] [U-Boot, 1/2] doc/README.generic-board: Trivial spell check

2015-05-28 Thread Tom Rini
On Tue, May 12, 2015 at 04:20:28PM +0200, Ricardo Ribalda wrote: > Signed-off-by: Ricardo Ribalda Delgado Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://list

Re: [U-Boot] pci: display header for bus scan

2015-05-28 Thread Tom Rini
On Fri, May 08, 2015 at 03:16:07PM -0700, Tim Harvey wrote: > If we are displaying detected PCI devices (CONFIG_PCI_SCAN_SHOW) display > a 'PCI:' header prior to scan. > > Signed-off-by: Tim Harvey Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] env_mmc: add error message to pass to set_default_env

2015-05-28 Thread Tom Rini
On Fri, May 08, 2015 at 02:52:09PM -0700, Tim Harvey wrote: > Add an error message that gets passed to set_default_env() like > env_nand implements. This message is displayed to the user as the > reason for falling back to the default environment. > > Signed-off-by: Tim Harvey Applied to u-boot

Re: [U-Boot] vexpress64: fix various memory issues

2015-05-28 Thread Tom Rini
On Mon, May 11, 2015 at 10:03:57AM +0200, Linus Walleij wrote: > The ARM Trusted Firmware or other security solutions are > eating memory from the top of the physical SDRAM1 space, > moving backward from 0x, currently occupying e.g. > 0xfe00-0x with Trusted Firmware. > > This

Re: [U-Boot] [U-Boot, v2] Makefile: Add U_BOOT_TZ and include in version

2015-05-28 Thread Tom Rini
On Sun, May 10, 2015 at 09:02:09PM +1200, Chris Packham wrote: > Define U_BOOT_TZ alongside U_BOOT_TIME and U_BOOT_DATE and use it to > include the timezone in the version output. > > Acked-by: Simon Glass > Signed-off-by: Chris Packham Applied to u-boot/master, thanks! -- Tom signature.as

Re: [U-Boot] beagle-xm: gpio_63 fix wrong pin initialization

2015-05-28 Thread Tom Rini
On Tue, May 12, 2015 at 10:17:10PM +0300, Evgeniy Dushistov wrote: > DM3730 CPU used on beagleboard-xm doesn't have any gpio > multiplexed with wait0 pin, > but gpio_63 multiplexed with wait1, so it looks like typo. > At current form it has no sense, > because of wait0 have no function "4". > >

Re: [U-Boot] [U-Boot, PATCHv2] tools: use pkg-config when available to get SSL flags

2015-05-28 Thread Tom Rini
On Sat, May 16, 2015 at 06:36:15PM +0200, Thomas Petazzoni wrote: > Instead of hardcoding -lssl -lcrypto as the flags needed to build > mkimage with FIT signature enabled, use pkg-config when > available. This allows to properly support cases where static linking > is used, which requires linking

Re: [U-Boot] [U-Boot, 2/2] ppc: xilinx-ppc: Move to generic board support

2015-05-28 Thread Tom Rini
On Tue, May 12, 2015 at 04:20:29PM +0200, Ricardo Ribalda wrote: > Generic board support seems to work just fine. Tested on ml507 with > bitstream generated on the latest ISE software. > > Signed-off-by: Ricardo Ribalda Delgado Applied to u-boot/master, thanks! -- Tom signature.asc Descript

Re: [U-Boot] [U-Boot, v2] include: introduce include/linux/io.h as a wrapper of asm/io.h

2015-05-28 Thread Tom Rini
On Fri, May 15, 2015 at 10:05:18PM +0900, Masahiro Yamada wrote: > In the latest Linux coding style, should be included > rather than . To follow this standard also in U-Boot, > add include/linux/io.h. Currently, it just includes . > > Signed-off-by: Masahiro Yamada Applied to u-boot/master,

Re: [U-Boot] vexpress64: let Juno wait for root device

2015-05-28 Thread Tom Rini
On Thu, May 14, 2015 at 05:38:33PM +0200, Linus Walleij wrote: > The Juno reference design typically plugs the root FS > on a USB stick. We need to wait a bit for the root to > appear so tell this on the default command line. > > Signed-off-by: Linus Walleij Applied to u-boot/master, thanks! -

Re: [U-Boot] spl: spl_mmc: Error and count distinction

2015-05-28 Thread Tom Rini
On Fri, May 22, 2015 at 12:45:35PM +0200, Paul Kocialkowski wrote: > This introduces a distinction between return codes that are read bytes counts > and errors. Read bytes counts are erroneous when null (no data was read) while > errors are erroneous when non-null. > > Signed-off-by: Paul Kocialk

Re: [U-Boot] [U-Boot, v4, 1/4] mkimage will now report information about loadable

2015-05-28 Thread Tom Rini
On Thu, May 21, 2015 at 09:52:47AM -0400, Karl Apsite wrote: > From: Karl Apsite > > Added FIT_LOADABLE_PROP, so the user can identify an optional entry > named "loadables" in their .its configuration. "loadables" is a comma > separated list in the .its > > Documentation can be found in doc/uIm

Re: [U-Boot] [U-Boot, v4, 2/4] add boot_get_loadables() to load listed images

2015-05-28 Thread Tom Rini
On Thu, May 21, 2015 at 09:52:48AM -0400, Karl Apsite wrote: > From: Karl Apsite > > Added a trimmed down instance of boot_get_() to satisfy the > minimum requierments of the added feature. The function follows the > normal patterns set by other boot_get's, which should make it a > bit easier t

Re: [U-Boot] [U-Boot, v4, 3/4] Combine bootm_find_ functions together

2015-05-28 Thread Tom Rini
On Thu, May 21, 2015 at 09:52:49AM -0400, Karl Apsite wrote: > bootm_find_ramdisk_fdt() renamed to bootm_find_images() for readability. > > The function bootm_find_ramdisk_fdt() appears to be a simple wrapper for > bootm_find_ramdisk(), bootm_find_fdt(), and now bootm_find_loadables(). > I didn't

Re: [U-Boot] [U-Boot,v4,4/4] add test for two 'loadables'

2015-05-28 Thread Tom Rini
On Thu, May 21, 2015 at 09:52:50AM -0400, Karl Apsite wrote: > From: Karl Apsite > > Nothing too fancy. A simple test that attmpts to load two loadables and > verify that they are properly unpacked in the u-boot sandbox. > Signed-off-by: Karl Apsite > Reviewed-by: Simon Glass Applied to u-bo

Re: [U-Boot] kbuild: define DO_DEPS_ONLY for u-boot.cfg to fix build error

2015-05-28 Thread Tom Rini
On Tue, May 26, 2015 at 12:51:25PM +0900, Masahiro Yamada wrote: > Since 741e58e0fc8e (Create a .cfg file containing the CONFIG options > used to build), all the Blackfin boards fail to build if the parallel > (-j) option is passed. > > $ make -s bf506f-ezkit_defconfig > # > # configuration

Re: [U-Boot] meminfo cmd: Enable printing >=4GiB SDRAM sizes

2015-05-28 Thread Tom Rini
On Fri, May 22, 2015 at 08:30:14AM -0400, Andrew Bradford wrote: > From: Andrew Bradford > > gd->ram_size is stored as phys_size_t type which can be bigger than an > unsigned long on some architectures. When using unsigned long type, > SDRAM of 4GiB or larger will not print the correct size, bu

Re: [U-Boot] vexpress64: use uncompressed kernel by default

2015-05-28 Thread Tom Rini
On Wed, May 27, 2015 at 09:45:39AM +0200, Linus Walleij wrote: > The foundation model (FVP) emulator nominally boots using > a clean, uncompressed kernel and the "booti" command. Augment > the default U-Boot script to do this. > > Signed-off-by: Linus Walleij Applied to u-boot/master, thanks!

Re: [U-Boot] [U-Boot,1/4] ARM: bcm283x: Repair wdog.h

2015-05-28 Thread Tom Rini
On Mon, May 04, 2015 at 10:54:34PM +0200, Marek Vasut wrote: > Trivially fix the include check in wdog.h. > > Signed-off-by: Marek Vasut > Cc: Stephen Warren > Cc: Tyler Baker Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,4/4] ARM: bcm283x: Switch to generic timer

2015-05-28 Thread Tom Rini
On Mon, May 04, 2015 at 10:54:37PM +0200, Marek Vasut wrote: > Switch to generic timer implementation from lib/time.c . > This also fixes a signed overflow which was in __udelay() > implementation. > > Signed-off-by: Marek Vasut > Cc: Stephen Warren > Cc: Tyler Baker > Acked-by: Stephen Warren

Re: [U-Boot] [U-Boot,V2] ARM: bcm2835: use phys_to_bus() for mbox

2015-05-28 Thread Tom Rini
On Mon, Apr 06, 2015 at 08:28:39PM -0600, Stephen Warren wrote: > When we communicate with the VideoCore to perform property mailbox > transactions, that is a DMA operation as far as the property buffer > is concerned. Use phys_to_bus() on that buffer. > > Signed-off-by: Stephen Warren Applied

Re: [U-Boot] [U-Boot,2/4] ARM: bcm283x: Reorder timer.h

2015-05-28 Thread Tom Rini
On Mon, May 04, 2015 at 10:54:35PM +0200, Marek Vasut wrote: > Reorder the timer.h file so it can be included from board config file. > > Signed-off-by: Marek Vasut > Cc: Stephen Warren > Cc: Tyler Baker Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,v3,3/6] ARMv7M: add STM32F1 support

2015-05-28 Thread Tom Rini
On Tue, May 05, 2015 at 03:00:24PM -0400, Matt Porter wrote: > Add ARMv7M STM32F1 support including clocks, timer, gpio, and flash. > > Signed-off-by: Matt Porter Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,v3,4/6] gpio: stm32: add stm32f1 support

2015-05-28 Thread Tom Rini
On Tue, May 05, 2015 at 03:00:25PM -0400, Matt Porter wrote: > Add support for the STM32F1 family to the STM32 gpio driver. > > Signed-off-by: Matt Porter Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-

Re: [U-Boot] [U-Boot, v3, 1/6] image: fix build when CONFIG_NR_DRAM_BANKS is disabled on ARM

2015-05-28 Thread Tom Rini
On Tue, May 05, 2015 at 03:00:22PM -0400, Matt Porter wrote: > common/image.c currently implicitly depends on CONFIG_NR_DRAM_BANKS > when CONFIG_ARM is enabled. Make this requirement explicit. > > Signed-off-by: Matt Porter Applied to u-boot/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] fsl/sata: Replace sprintf() with snprintf()

2015-05-28 Thread Tom Rini
On Wed, May 06, 2015 at 11:21:33AM +0800, tang yuantian wrote: > From: Tang Yuantian > > Function 'sprintf' does not check buffer boundaries but outputs > to the buffer of fixed size which could potentially cause buffer > overflow. Use a safer function to replace it. > > Signed-off-by: Tang Yua

Re: [U-Boot] net: Fix a warning added by 76ec988

2015-05-28 Thread Tom Rini
On Thu, May 21, 2015 at 02:16:13PM -0500, Joe Hershberger wrote: > arm: + lsxhl > w+board/buffalo/lsxl/lsxl.c: In function 'rescue_mode': > w+board/buffalo/lsxl/lsxl.c:230:8: warning: unused variable 'enetaddr' > [-Wunused-variable] >arm: + lschlv2 > w+board/buffalo/lsxl/lsxl.c: In

Re: [U-Boot] [U-Boot, v3, 2/6] common/cmd_boot: keep ARM v7M in thumb mode during do_go_exec()

2015-05-28 Thread Tom Rini
On Tue, May 05, 2015 at 03:00:23PM -0400, Matt Porter wrote: > On ARM v7M, the processor will return to ARM mode when executing > a blx instruction with bit 0 of the address == 0. Always set it > to 1 to stay in thumb mode. > > Signed-off-by: Matt Porter Applied to u-boot/master, thanks! -- T

Re: [U-Boot] vexpress64: specify CONFIG_SYS_FLASH_CFI_WIDTH

2015-05-28 Thread Tom Rini
On Fri, May 08, 2015 at 06:07:52PM +0100, Ryan Harkin wrote: > Testing on the ARM Versatile Express Juno board showed intermittent CFI > flash detection problems. > > Debug output in exception cases showed that the NOR flash was returning > incorrect values to a query command: > > fwc addr 0

[U-Boot] [PATCH 6/8] ARM: sunxi: Enable PSCI for sun6i

2015-05-28 Thread Chen-Yu Tsai
Now that we have a PSCI backend for sun6i, enable it. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 3 +++ include/configs/sun6i.h | 5 + 2 files changed, 8 insertions(+) diff --git a/board/sunxi/Kconfig b/board/sunxi/Kconfig index c6c876d..64d2af8 100644 --- a/board/sunxi/Kconf

[U-Boot] [PATCH 7/8] ARM: sunxi: Share sun6i PSCI backend with sun8i

2015-05-28 Thread Chen-Yu Tsai
sun8i can share the PSCI backend with sun6i. Only difference is sun8i does not have CPU power clamp controls. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 4 2 files changed, 5 insertions(+) diff --git a/arch/arm/cpu/a

[U-Boot] [PATCH 0/8] ARM: sunxi: Support PSCI for sun6i and sun8i

2015-05-28 Thread Chen-Yu Tsai
Hi everyone, I finally got around to rebasing and fixing up my PSCI stuff. This series adds PSCI support for sun6i and sun8i. This is based on sun7i PSCI support by Marc, and the SMP support routines found in both mainline Linux and Allwinner's Android kernel. I've tested this on my Hummingbird A

[U-Boot] [PATCH 1/8] sunxi: Only compile board_nand_init() if CONFIG_NAND is set

2015-05-28 Thread Chen-Yu Tsai
There's no need to init NAND if we're not building with NAND support. Wrap board_nand_init() in #ifdefs like we do for board_mmc_init(). This fixes build breaks for sun6i and sun9i. Both platforms do not have CONFIG_NAND_SUNXI_GPC_PORTS defined. Fixes: fbf13d684dcb ("sunxi/nand: Add support to the

[U-Boot] [PATCH 2/8] sunxi: Add extra NAND pins for sun6i

2015-05-28 Thread Chen-Yu Tsai
In addition to pins PC00 ~ PC15, PC24, PC25, and PC26 are mapped to NAND0 DQS, CE2, and CE3 respectively. Signed-off-by: Chen-Yu Tsai --- include/configs/sun6i.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/sun6i.h b/include/configs/sun6i.h index 2c24bd2..e1263f6 100644

[U-Boot] [PATCH 3/8] ARM: sunxi: Document registers in PSCI code

2015-05-28 Thread Chen-Yu Tsai
The PSCI CPU_ON code accesses quite a few registers. Document their names to make it easier to cross reference. Also explain "lock cpu" and "unlock cpu" as enabling/disabling debug access. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/psci.S | 14 +++--- 1 file changed, 7 ins

[U-Boot] [PATCH 5/8] ARM: sunxi: Add sun6i specific PSCI implementation

2015-05-28 Thread Chen-Yu Tsai
This adds PSCI support for sun6i. So far it only supports the PWR_ON method. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/Makefile | 1 + arch/arm/cpu/armv7/sunxi/psci_sun6i.S | 276 ++ 2 files changed, 277 insertions(+) create mode 100644 arch/

[U-Boot] [PATCH 8/8] ARM: sunxi: Enable PSCI for sun8i

2015-05-28 Thread Chen-Yu Tsai
sun8i uses the same PSCI backend as sun6i, without power clamps. Since there is no secure SRAM, the backend is placed at the end of DRAM. Signed-off-by: Chen-Yu Tsai --- board/sunxi/Kconfig | 6 ++ include/configs/sun8i.h | 6 ++ 2 files changed, 12 insertions(+) diff --git a/board/

[U-Boot] [PATCH 4/8] ARM: sunxi: Make PSCI code sun7i specific

2015-05-28 Thread Chen-Yu Tsai
The PSCI code only works for sun7i. Rename it with _sun7i suffix, and build only if building for sun7i. This paves the way for adding PSCI support for other platforms. Signed-off-by: Chen-Yu Tsai --- arch/arm/cpu/armv7/sunxi/Makefile | 2 +- arch/arm/cpu/armv7/sunxi/{psci.S => p

Re: [U-Boot] [PATCH] imx6: novena: Reinstate missing CONFIG_FAT_WRITE

2015-05-28 Thread Peter Robinson
On Thu, May 28, 2015 at 12:52 PM, Marek Vasut wrote: > Commit a380ce6e9698257c4e8be4c0711b09c90a8febff removed CONFIG_FAT_WRITE > from novena.h , so Novena lost ability to write FAT partitions. Add this > functionality back. Can we add it to mx6_common instead? Peter > Signed-off-by: Marek Vasu

Re: [U-Boot] powerpc: gitignore: ignore PowerPC DTBs

2015-05-28 Thread Tom Rini
On Wed, May 20, 2015 at 02:18:22PM +0900, Masahiro Yamada wrote: > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] [PATCH] imx6: novena: Reinstate missing CONFIG_FAT_WRITE

2015-05-28 Thread Marek Vasut
On Thursday, May 28, 2015 at 03:32:41 PM, Peter Robinson wrote: > On Thu, May 28, 2015 at 12:52 PM, Marek Vasut wrote: > > Commit a380ce6e9698257c4e8be4c0711b09c90a8febff removed CONFIG_FAT_WRITE > > from novena.h , so Novena lost ability to write FAT partitions. Add this > > functionality back. >

[U-Boot] [PATCH] cosmetic: change Author/MAINTAINER Name from Petermaier to Schmelzer

2015-05-28 Thread Hannes Schmelzer
From: Hannes Schmelzer Since i've been married, i also have a new surname. Mr. Petermaier moved to Mr. Schmelzer. In this patch i update all files in which my (old) name is present. Signed-off-by: Hannes Schmelzer Signed-off-by: Hannes Schmelzer --- board/BuR/common/bur_common.h | 2

  1   2   >