[U-Boot] [PATCH v2 2/2] Powerpc/QE: Add QE support for T1040

2014-01-27 Thread Zhao Qiang
T1040 has QE-related addresses different from other boards, modify those addresses value with macro CONFIG_PPC_T1040 and CONFIG_T1040QDS. Add function qe_board_setup to mux the bus to tdm or uart according to hwconfig. Signed-off-by: Jiucheng Xu jiucheng...@freescale.com Signed-off-by: Zhao Qiang

[U-Boot] [PATCH v2 1/2] QE/FMAN: modify CONFIG_SYS_QE_FMAN_FW_ADDR to CONFIG_SYS_FMAN_FW_ADDR and CONFIG_SYS_QE_FW_ADDR

2014-01-27 Thread Zhao Qiang
CONFIG_SYS_QE_FMAN_FW_ADDR is used to both Fman and QE for microcode address. Now using CONFIG_SYS_FMAN_FW_ADDR for Fman microcode address, and CONFIG_SYS_QE_FW_ADDR for QE microcode address. Signed-off-by: Zhao Qiang b45...@freescale.com --- README | 9 +++--

[U-Boot] Fwd: [ Uboot code understanding guide ]

2014-01-27 Thread Devarsh gadhia
Hi All, I have started working on uboot porting on beaglebone black. I want to learn the code flow of uboot code so that i can add necessary HOOKs for the porting and understanding the kernel and fs porting further. i am new to uboot and linux so could you please let me know the way to start

[U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-01-27 Thread Andreas Färber
Avoids could not find output section .gnu.hash ld.bfd errors on openSUSE. Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Signed-off-by: Andreas Färber afaer...@suse.de --- More changes like this may be needed, but these I compile-tested with v2014.01 (regression from

[U-Boot] [PATCH] [v2] powerpc/t104xrdb: Update T1040RDB.h in config folder

2014-01-27 Thread Priyanka Jain
-Add usb2 node entry in hwconfig string -Remove controller interleaving from hwconfig string as T1040 has only one DDR conroller -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH are move outside so that they are defined for all cases as these macros are also used by other

[U-Boot] [PATCH][v2] powerpc/t104xrdb: Update T1042RDB.h in config folder

2014-01-27 Thread Prabhakar Kushwaha
-Add usb2 node entry in hwconfig string -Remove controller interleaving from hwconfig string as T1040 has only one DDR conroller -SPI related macros which were earlier under #ifdef CONFIG_SPIFLASH are move outside so that they are defined for all cases as these macros are also used by other

[U-Boot] [PATCH] powerpc/usb: Enable dual phy for T1040

2014-01-27 Thread Nikhil Badola
Define CONFIG_SYS_FSL_USB_DUAL_PHY_ENABLE macro for enabling dual phy in t1040 Signed-off-by: Nikhil Badola nikhil.bad...@freescale.com --- arch/powerpc/include/asm/config_mpc85xx.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/arch/powerpc/include/asm/config_mpc85xx.h

Re: [U-Boot] POST in u-boot for P2020 process

2014-01-27 Thread pshambhu
Hi Denx, If possoble can you please send me some example/sample code for writing the POST scenarios. Thanks Pradeep -- View this message in context: http://u-boot.10912.n7.nabble.com/POST-in-u-boot-for-P2020-process-tp172115p172450.html Sent from the U-Boot mailing list

Re: [U-Boot] POST in u-boot for P2020 process

2014-01-27 Thread pshambhu
Hi Denx, If possible can you please send me some example/sample code for writing the POST scenarios. Thanks Pradeep -- View this message in context: http://u-boot.10912.n7.nabble.com/POST-in-u-boot-for-P2020-process-tp172115p172451.html Sent from the U-Boot mailing list archive

[U-Boot] [PATCH 2/2][v2] boards/t1040qds: Adds ethernet support for T1040

2014-01-27 Thread Prabhakar Kushwaha
Enable entherent for T1040QDS. It enables FM1@DTSEC3, FM1@DTSEC4, FM1@DTSEC5 - Define MDIO related configs - Added eth.c file - Update t1040.c to support RGMII and SGMII - Update t1040qds.c to support ethernet - Define the PHY address Signed-off-by: Arpit Goel b44...@freescale.com

Re: [U-Boot] [RFC PATCH 1/1] Add support for pengwyn board

2014-01-27 Thread micro1183
Dear Wolfgang, thanks for your feedback. On 01/24/2014 03:12 PM, Wolfgang Denk wrote: Dear micro1183, In message 52e2615c.1000...@gmail.com you wrote: This patch adds support for the silica pengwyn board with AM335x SoC Your patch is line-wrapped and does not apply. Please fix your

[U-Boot] [PATCH v2 7/9] KM: add the KM_UBI_PART_BOOT_OPTS #define

2014-01-27 Thread Valentin Longchamp
This define can be used if the ubi boot partition (defined for all Keymile boards with KM_UBI_PARTITION_NAME_BOOT #define to ubi0) needs some additionnal boot options. This is the case for the kmp204x boards since u-boot does not support NAND Flash subpage accesses on this platform, an

[U-Boot] [PATCH v2 1/9] kmp204x: support for QRIO1 bootcounter

2014-01-27 Thread Valentin Longchamp
From: Rainer Boschung rainer.bosch...@keymile.com - make use of the QRIO1 32bit register at 0x20 as bootcounter register - check for BOOTCOUNT_MAGIC pattern when before bootcounter value is read Signed-off-by: Rainer Boschung rainer.bosch...@keymile.com Signed-off-by: Valentin Longchamp

[U-Boot] [PATCH v2 8/9] kmp204x: enable support for SPANSION SPI NOR

2014-01-27 Thread Valentin Longchamp
The new prototype and the final series was moved from Micron to Spansion to have a better reset sequence that is easier to support. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes in v2: None include/configs/km/kmp204x-common.h | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH v2 2/9] kmp204x: introduce QRIO GPIO functions

2014-01-27 Thread Valentin Longchamp
The QRIO GPIO functions can be of general interest. They are thus added to a qrio.c and their prototype are available from kmp204x.h. The QRIO prst function are also included in this file, as well as the functions required for the I2C deblocking support (open-drain). Signed-off-by: Valentin

[U-Boot] [PATCH v2 3/9] kmp204x: I2C deblocking for I2C-bus1 added

2014-01-27 Thread Valentin Longchamp
From: Rainer Boschung rainer.bosch...@keymile.com -uses common deblocking algorithm from ../common/common.c -supports deblocking of of I2C-bus1 by means of QRIO GPIO - SCL1 = GPIO_A16 - SDA1 = GPIO_A17 QRIO GPIOs act in an open-drain-like manner, for 0 GPIO drives low and for 1 the GPIO is

[U-Boot] [PATCH v2 4/9] kmp204x: implement workaround for A-006559

2014-01-27 Thread Valentin Longchamp
According to the errata, some bits of an undocumented register in the DCSR must be set for every core in order to avoid a possible data or instruction corruption. This is required for the 2.0 revision of the P2041 that should be used as soon as available in our design. Signed-off-by: Valentin

[U-Boot] [PATCH v2 5/9] kmp204x: add support for the kmcoge4 board

2014-01-27 Thread Valentin Longchamp
The kmcoge4 board is the product board derived from the kmlion1 prototype. The main difference between the 2 boards is that the kmcoge4 does not configure the Local Bus controller for LCS2. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes in v2: None boards.cfg

[U-Boot] [PATCH v2 0/9] Further support for the kmp204x architecture

2014-01-27 Thread Valentin Longchamp
This patch series refines the support for the kmp204x designs. The main additions are: - further support of the QRIO CPLD (bootcounter and GPIO) - support of the new kmcoge4 board based on kmp204x - support of I2C deblocking - support for FPGA configuration (PCIe FPGA) - various fixes and smaller

[U-Boot] [PATCH v2 6/9] kmp204x: update I2C field of RCW

2014-01-27 Thread Valentin Longchamp
On the previous HW revision (now unsupported), there was a need for external DMA signals and thus the I2C3/4 signals were used DMA1_DONE/ACK/REQ. These signals now are configured as GPIO[16:19]. Signed-off-by: Valentin Longchamp valentin.longch...@keymile.com --- Changes in v2: None

[U-Boot] [PATCH v2 9/9] kmp204x: initial support for PCIe FPGA configuration

2014-01-27 Thread Valentin Longchamp
The PEXHC PCIe configuration mechanism ensures that the FPGA get configured at power-up. Since all the PCIe devices should be configured when the kernel start, u-boot has to take care that the FPGA gets configured also in other reset scenarios, mostly because of possible configuration change. The

Re: [U-Boot] [PATCH] ventana: Add Gateworks Ventana family support

2014-01-27 Thread Fabio Estevam
On Tue, Jan 21, 2014 at 4:41 PM, Tim Harvey thar...@gateworks.com wrote: +static int setup_pmic_voltages(void) +{ + int ret; + unsigned char value, rev_id = 0; + + ret = i2c_set_bus_num(1); + if (ret) + return ret; + if (!i2c_probe(0x8)) { +

Re: [U-Boot] [PATCH 1/2] SECURE BOOT: add version info for ISBC

2014-01-27 Thread Wolfgang Denk
Dear Aneesh, In message caf0224e47434bdba2623faeea12b...@dm2pr03mb415.namprd03.prod.outlook.com you wrote: But this is what I had in mind. It appears to be a simple 1:1 mapping from SoC to ISBC version to me, or am I wrong here? ... Yes, it is a 1:1 mapping from SoC to ISBC version but

[U-Boot] [PATCH 0/9] Exynos4: add support for device tree

2014-01-27 Thread Piotr Wilczek
This patch set enables support for device tree on all Exynos4 based boards. DT support is enabled on Exynos mipi dsim and sdhci drives. Common board_exynos4.c file is created for all functions common for Exynos4 boards. Origen, Universal, Trats and Trats2 boards are modifed to support device

[U-Boot] [PATCH 3/9] video:exynos_fb:fdt: add additional fdt data

2014-01-27 Thread Piotr Wilczek
This patch adds additional data parsing from DTB. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- drivers/video/exynos_fb.c | 19 +++ 1 file changed, 19 insertions(+) diff --git

[U-Boot] [PATCH 6/9] board:origen:fdt: Enable device tree on Origen

2014-01-27 Thread Piotr Wilczek
This patch enables to run Origen board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Chander Kashyap k.chan...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- board/samsung/dts/exynos4210-origen.dts | 45

[U-Boot] [PATCH 5/9] arm:exynos: add common board file for exynos 4

2014-01-27 Thread Piotr Wilczek
This patch adds common board file for Exynos 4 based boards. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com --- arch/arm/dts/exynos4.dtsi| 139 +++ board/samsung/common/Makefile|1 +

[U-Boot] [PATCH 1/8] arm/km: drop unneeded define

2014-01-27 Thread Holger Brunck
CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series. So remove this unneeded define. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km_arm/km_arm.c | 4 1 file changed, 4 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c

[U-Boot] [PATCH 4/8] arm/km: add CONFIG_KM_BOARD_EXTRA_ENV to default environment

2014-01-27 Thread Holger Brunck
This is needed for board specific additional environment variables. E.g. the mgcoge3un has this additional waitforne variable. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km/km_arm.h | 5 + 1 file changed, 5 insertions(+) diff --git

[U-Boot] [PATCH 2/8] arm/km: make local function startup_allowed static

2014-01-27 Thread Holger Brunck
Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km_arm/km_arm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index 946cbed..c104896 100644 --- a/board/keymile/km_arm/km_arm.c +++

[U-Boot] [PATCH 6/8] arm/km: enable FDT for km_kirwkood

2014-01-27 Thread Holger Brunck
From: Gerlando Falauto gerlando.fala...@keymile.com This consists of: a) Defining the addresses, enabling fdtsupport [arm] b) Defining cramfsloadfdt [arm,powerpc = common] c) Adding the FDT address to bootm [arm,powerpc = common] d) Defining tftpfdt in ramfs-,develop- [arm,powerpc = common]

[U-Boot] [PATCH 7/8] arm/km: define fdt_high env variable and allow backwards compatibility

2014-01-27 Thread Holger Brunck
From: Gerlando Falauto gerlando.fala...@keymile.com Add set_fdthigh subcommand to subbootcmds (release) so to set fdt_high This is necessary on Kirkwood so that the FDT does not get relocated above the memory limit that the kernel cannot access (that is the memory part reserved for the switch).

Re: [U-Boot] [U-Boot, v2] ARM: merge commonly-defined PLATFORM_RELFLAGS

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 11:00:45AM +0900, Masahiro Yamada wrote: Before this commit, all arch/arm/cpu/${CPU}/config.mk except ARMv8 had the same option: $(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) This commit moves it into arch/arm/config.mk. If the compiler

[U-Boot] [PATCH 5/8] arm/km: fix wrong error handling

2014-01-27 Thread Holger Brunck
miiphy_read and miiphy_write are returning 0 on success. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- board/keymile/km_arm/km_arm.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/board/keymile/km_arm/km_arm.c b/board/keymile/km_arm/km_arm.c index

Re: [U-Boot] powerpc: mpc824x: remove redundant CONFIG_MPC824X definition

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:13:49AM +0900, Masahiro Yamada wrote: We do not have to define CONFIG_MPC824X in board config headers because it is defined in arch/powerpc/cpu/mpc824x/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

[U-Boot] [PATCH 3/8] arm/km/suv31: switch to 256MB RAM

2014-01-27 Thread Holger Brunck
We now use 256MB RAM instead of 128MB. We can use the same config file as kmnusa. Signed-off-by: Holger Brunck holger.bru...@keymile.com --- include/configs/km_kirkwood.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/km_kirkwood.h b/include/configs/km_kirkwood.h index

[U-Boot] [PATCH 8/8] arm/km: introduce kmsugp1 target

2014-01-27 Thread Holger Brunck
From: Gerlando Falauto gerlando.fala...@keymile.com KMSUGP1 is from a u-boot perspective (almost) identical to KMNUSA. The only difference is that the PCIe reset is connected to Kirkwood pin MPP7_PEX_RST_OUTn, we use a dedicated config flag KM_PCIE_RESET_MPP7. Such pin should theoretically be

Re: [U-Boot] sandbox: fix the return type of os_free() function

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 01:06:41PM +0900, Masahiro Yamada wrote: The function os_free() returns nothing. Its return type should be void rather than void *. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description:

[U-Boot] [PATCH 4/9] drivers:mmc:sdhci: enable support for DT

2014-01-27 Thread Piotr Wilczek
This patch enables support for device tree for sdhci driver. Non DT case is still supported. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- arch/arm/include/asm/arch-exynos/mmc.h |7 ++

Re: [U-Boot] lib: time: add weak timer_init() function

2014-01-27 Thread Tom Rini
On Thu, Dec 19, 2013 at 03:06:12PM -0800, Darwin Rambo wrote: If timer_init() is made a weak stub function, then it allows us to remove several empty timer_init functions for those boards that already have a timer initialized when u-boot starts. Architectures that use the timer framework may

Re: [U-Boot] [PATCH 1/3] powerpc/p1010rdb: SECURE BOOT- define CONFIG_SYS_RAMBOOT for NAND boot

2014-01-27 Thread Wolfgang Denk
Dear aneesh.ban...@freescale.com, In message 680c371d651d49a08b33ddd4d01fb...@dm2pr03mb415.namprd03.prod.outlook.com you wrote: In case of secure boot, boot from NAND is ramboot. It was removed by some other commit. So defining it again. In case of not-secure-boot, it's not ramboot.

Re: [U-Boot] powerpc: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:10:33PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] board: delete meaningless serial.h

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 06:00:25PM +0900, Masahiro Yamada wrote: Delete some serial.h files, whole code in which is surrounded by #if 0 ... #endif Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Stefan Roese s...@denx.de Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot,v2,4/4] arm: am43xx: Add USB spl boot support

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:23:31AM -0600, Dan Murphy wrote: Add the USB host boot support for the am43xx evm Add the macros to boot from a usb drive in uBoot Signed-off-by: Dan Murphy dmur...@ti.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 2/4] spl: common: Move FAT funcs to a common file

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:23:29AM -0600, Dan Murphy wrote: Move the FAT functions to a common location for reuse. Signed-off-by: Dan Murphy dmur...@ti.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

[U-Boot] [PATCH 9/9] board:trats2:fdt: Enable device tree on Trats2

2014-01-27 Thread Piotr Wilczek
This patch enables to run Trats2 board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- board/samsung/dts/exynos4412-trats2.dts | 434 +++

Re: [U-Boot] board: tec-ng: Do not make directories in a board Makefile

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 10:55:02AM +0900, Masahiro Yamada wrote: Commit e5c5301f refactored the build system not to make directories in board makefiles. But commit 8f380381 create directories again in board/avionic-design/tec-ng/Makefile. Signed-off-by: Masahiro Yamada

Re: [U-Boot] powerpc: mpc85xx: move CONFIG_MPC85xx definition to CPU config.mk

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:14:07AM +0900, Masahiro Yamada wrote: Define CONFIG_MPC85xx in arch/powerpc/cpu/mpc85xx/config.mk because all target boards with mpc85xx cpu define it. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] POST in u-boot for P2020 process

2014-01-27 Thread Wolfgang Denk
Dear pshambhu, In message 1390818248806-172450.p...@n7.nabble.com you wrote: If possoble can you please send me some example/sample code for writing the POST scenarios. You have it all at your hands. Check for example the lwmon / lwmon5 board configurations. Best regards,

[U-Boot] [PATCH 2/2] mx6qsabreauto: Add splash screen support

2014-01-27 Thread Fabio Estevam
Allow the splash screen to work on LVDS or HDMI. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx6qsabreauto/mx6qsabreauto.c | 195 ++ include/configs/mx6qsabreauto.h | 16 +++ 2 files changed, 211 insertions(+) diff --git

Re: [U-Boot] [U-Boot, v3] board_r - fixup functions table after relocation

2014-01-27 Thread Tom Rini
On Mon, Jan 20, 2014 at 02:30:39PM +0400, Alexey Brodkin wrote: This is only required for PIC relocation and doesn't apply to modern PIE relocation which does data relocation as well as code. init_sequence_r is just an array that consists of compile-time adresses of init functions. Since

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-01-27 Thread Wolfgang Denk
Dear Andreas Färber, In message 1390798091-24747-1-git-send-email-afaer...@suse.de you wrote: Avoids could not find output section .gnu.hash ld.bfd errors on openSUSE. Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Signed-off-by: Andreas Färber afaer...@suse.de ---

Re: [U-Boot] drivers: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:11:48PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot, v2, 3/4] spl: common: Support for USB MSD FAT image loading

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:23:30AM -0600, Dan Murphy wrote: Add SPL support to be able to detect a USB Mass Storage device connected to a USB host. Once a USB Mass storage device is detected the SPL will load the u-boot.img from a FAT partition to target address. Signed-off-by: Dan Murphy

Re: [U-Boot] board: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:11:02PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Stefan Roese s...@denx.de Acked-by: Matthias Fuchs matthias.fu...@esd.eu Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v2] powerpc: ppc4xx: remove redundant CONFIG_4xx definition

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 05:24:35PM +0900, Masahiro Yamada wrote: We do not have to define CONFIG_4xx in board config headers because it is defined in arch/powerpc/cpu/ppc4xx/config.mk. include/configs/JSE.h defines CONFIG_4x, not CONFIG_4xx. I believe it is a typo because CONFIG_4x is not

Re: [U-Boot] Fwd: [ Uboot code understanding guide ]

2014-01-27 Thread Wolfgang Denk
Dear Devarsh gadhia, In message CAFeYsEOoPFCCXe_Q-+0gbXW3-Suh0g7LsLSVr=0l9r-0ulh...@mail.gmail.com you wrote: I have started working on uboot porting on beaglebone black. What exactly needs porting on this board? Does UBoot not work right out of the box? I want to learn the code flow of

Re: [U-Boot] [U-Boot, v2] powerpc: mpc8xx: remove redundant CONFIG_8xx definition

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 05:26:43PM +0900, Masahiro Yamada wrote: We do not have to define CONFIG_8xx in source files because it is defined in arch/powerpc/cpu/mpc8xx/config.mk Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot,v2] Remove obsolete _LINUX_CONFIG_H macro

2014-01-27 Thread Tom Rini
On Mon, Jan 06, 2014 at 03:39:48PM +0900, Masahiro Yamada wrote: Commit 643aae1406c93ddc64fcf8c136b47cdffd9c8ccd deleted include/linux/config.h but missed to delete _LINUX_CONFIG_H macro. It is no longer used at all. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to

Re: [U-Boot] avr32: move CONFIG_AVR32 definition to arch/avr32/config.mk

2014-01-27 Thread Tom Rini
On Mon, Jan 06, 2014 at 03:45:09PM +0900, Masahiro Yamada wrote: Like other architectures, CONFIG_AVR32 can be defined in arch/avr32/config.mk rather than board header files. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Cc: Andreas Bießmann andreas.de...@googlemail.com

[U-Boot] [PATCH] mx6qsabreauto: Update imximage.cfg

2014-01-27 Thread Fabio Estevam
Use the latest DDR and clock settings as the one from Freescale BSP. Signed-off-by: Fabio Estevam fabio.este...@freescale.com --- board/freescale/mx6qsabreauto/imximage.cfg | 136 + 1 file changed, 59 insertions(+), 77 deletions(-) diff --git

Re: [U-Boot] sandbox: fix the return type of os_free() function

2014-01-27 Thread Simon Glass
Hi Tom, On 27 January 2014 07:56, Tom Rini tr...@ti.com wrote: On Wed, Jan 15, 2014 at 01:06:41PM +0900, Masahiro Yamada wrote: The function os_free() returns nothing. Its return type should be void rather than void *. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to

Re: [U-Boot] [PATCH] sandbox: Use system headers first for sandbox's os.c in a different way

2014-01-27 Thread Simon Glass
On 26 November 2013 00:13, Masahiro Yamada yamad...@jp.panasonic.com wrote: Commit cbe5cdfcd changed config.mk and arch/sandbox/cpu/Makefile to use -idirafter instead of -I and remove -nostdinc. But * Sandbox-specific code dirties config.mk * os.c is compiled without such compiler flags

Re: [U-Boot] x86: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:10:46PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Acked-by: Simon Glass s...@chromium.org Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH v2] boards.cfg: Keep the entries sorted

2014-01-27 Thread Tom Rini
On Sat, Jan 25, 2014 at 06:42:39PM -0200, Fabio Estevam wrote: From: Fabio Estevam fabio.este...@freescale.com Run tools/reformat.py -i -d '-' -s 8 boards.cfg boards0.cfg mv boards0.cfg boards.cfg in order to keep the entries sorted. Signed-off-by: Fabio Estevam

Re: [U-Boot] cosmetic: tools/scripts/README: insert only one space between words

2014-01-27 Thread Tom Rini
On Tue, Dec 24, 2013 at 02:59:19PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/scripts/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] cosmetic: tools/scripts/README: insert only one space between words

2014-01-27 Thread Tom Rini
On Tue, Dec 24, 2013 at 02:59:19PM +0900, Masahiro wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com --- tools/scripts/README | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] include: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:11:27PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

[U-Boot] [PATCH 8/9] trats:fdt: Enable device tree on Trats

2014-01-27 Thread Piotr Wilczek
This patch enables to run Trats board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com CC: Lukasz Majewski l.majew...@samsung.com --- board/samsung/dts/exynos4210-trats.dts | 120

Re: [U-Boot] powerpc: mpc512x: remove redundant CONFIG_MPC512X definition

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:11:28AM +0900, Masahiro Yamada wrote: We do not have to define CONFIG_MPC512X in board config headers because it is defined in arch/powerpc/cpu/mpc512x/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] blackfin: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:10:15PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] powerpc: mpc86xx: move CONFIG_MPC86xx definition to CPU config.mk

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:14:21AM +0900, Masahiro Yamada wrote: Define CONFIG_MPC86xx in arch/powerpc/cpu/mpc86xx/config.mk because all target boards with mpc86xx cpu define it. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

[U-Boot] [PATCH 1/9] exynos4:pinmux:fdt: decode peripheral id

2014-01-27 Thread Piotr Wilczek
This patch adds api to decode peripheral id based in interrupt number. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com CC: Minkyu Kang mk7.k...@samsung.com --- arch/arm/cpu/armv7/exynos/pinmux.c | 21 + 1 file

Re: [U-Boot] lib: fix return codes when CONFIG_SYS_VSNPRINTF is enabled

2014-01-27 Thread Tom Rini
On Thu, Dec 19, 2013 at 03:14:19PM -0800, Darwin Rambo wrote: When CONFIG_SYS_VSNPRINTF is enabled, it protects print operations such as sprintf, snprintf, vsnprintf, etc., from buffer overflows. But vsnprintf_internal includes the terminating NULL character in the calculation of number of

Re: [U-Boot] [U-Boot, v3] powerpc: mpc5xxx: remove redundant CONFIG_MPC5xxx definition

2014-01-27 Thread Tom Rini
On Thu, Jan 16, 2014 at 11:03:07AM +0900, Masahiro Yamada wrote: We do not have to define CONFIG_MPC5xxx in board config headers (and start.S) because it is defined in arch/powerpc/cpu/mpc5xxx/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master,

Re: [U-Boot] powerpc: mpc5xx: remove redundant CONFIG_5xx definition

2014-01-27 Thread Tom Rini
On Wed, Jan 15, 2014 at 10:13:00AM +0900, Masahiro Yamada wrote: We do not have to define CONFIG_5xx in a source file because it is defined in arch/powerpc/cpu/mpc5xx/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, v2] powerpc: mpc83xx: remove redundant CONFIG_MPC83xx definition

2014-01-27 Thread Tom Rini
On Tue, Jan 14, 2014 at 05:26:17PM +0900, Masahiro Yamada wrote: We do not have to define CONFIG_MPC83xx in board config headers because it is defined in arch/powerpc/cpu/mpc83xx/config.mk. Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom

[U-Boot] [PATCH 2/9] video:mipidsim:fdt: Add DT support for mipi dsim driver

2014-01-27 Thread Piotr Wilczek
This patch enables parsing mipi data from device tree. Non device tree case is still supported. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com --- arch/arm/include/asm/arch-exynos/mipi_dsim.h |3 +

Re: [U-Boot] avr32: delete unused header files

2014-01-27 Thread Tom Rini
On Wed, Jan 08, 2014 at 08:09:13PM +0900, Masahiro Yamada wrote: Signed-off-by: Masahiro Yamada yamad...@jp.panasonic.com Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] POST in u-boot for P2020 process

2014-01-27 Thread Wolfgang Denk
Dear pshambhu, In message 1390806073574-172435.p...@n7.nabble.com you wrote: post/libpost.a(post.o): In function `post_bootmode_get': /home/raghu/Emerson_BSP/p2020/u-boot/u-boot-2009.11/post/post.c:91: undefined reference to `post_word_load' post/libpost.a(post.o): In function

[U-Boot] [PATCH 7/9] board:universal:fdt: Enable device tree on Universal

2014-01-27 Thread Piotr Wilczek
This patch enables to run Universal board on device tree. Signed-off-by: Piotr Wilczek p.wilc...@samsung.com Signed-off-by: Kyungmin Park kyungmin.p...@samsung.com Cc: Przemyslaw Marczak p.marc...@samsung.com Cc: Minkyu Kang mk7.k...@samsung.com ---

Re: [U-Boot] tools: move kermit files to tools/kermit directory

2014-01-27 Thread Tom Rini
On Tue, Dec 24, 2013 at 03:30:39PM +0900, Masahiro Yamada wrote: The script files, define2mk.sed and make-asm-offsets are used to create autoconf.mk and asm-offsets.h while build. Whereas README, dot.kermrc, flash_param, send_cmd, send_image are files useful for kermit. We should not

Re: [U-Boot] [PATCH V2 13/13] ARM: tegra: fix bootp issue for Tegra124 too

2014-01-27 Thread Stephen Warren
On 01/23/2014 11:53 PM, Jim Lin wrote: On Fri, 2014-01-24 at 08:43 +0800, Stephen Warren wrote: From: Jim Lin ji...@nvidia.com Fix the timeout issue after running bootp command in U-Boot console. TXFIFOTHRES bits of TXFILLTUNING register should be set to 0x10 after a controller reset and

Re: [U-Boot] [PATCH V3 01/14] mmc: tegra: support Tegra124

2014-01-27 Thread Stephen Warren
On 01/26/2014 09:11 AM, Simon Glass wrote: Hi Stephen, On 24 January 2014 12:46, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com mailto:swar...@nvidia.com Tegra124's MMC controller is very similar to earlier SoC

Re: [U-Boot] [PATCH V2 1/5] fs: fix generic save command implementation

2014-01-27 Thread Stephen Warren
On 01/26/2014 08:26 AM, Simon Glass wrote: On 23 January 2014 12:56, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com mailto:swar...@nvidia.com Fix a few issues with the generic save shell command, and fs_write()

Re: [U-Boot] [PATCH V2 2/5] fs: implement infra-structure for an 'exists' function

2014-01-27 Thread Stephen Warren
On 01/26/2014 08:41 AM, Simon Glass wrote: Hi Stephen, On 23 January 2014 12:56, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com mailto:swar...@nvidia.com This could be used in scripts such as: if exists mmc

Re: [U-Boot] [PATCH V2 5/5] fat: implement exists() for FAT fs

2014-01-27 Thread Stephen Warren
On 01/26/2014 08:52 AM, Simon Glass wrote: Hi Stephen, On 23 January 2014 12:57, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com mailto:swar...@nvidia.com This hooks into the generic file exists support added in an

Re: [U-Boot] [PATCH V3 01/14] mmc: tegra: support Tegra124

2014-01-27 Thread Simon Glass
On 27 January 2014 08:53, Stephen Warren swar...@wwwdotorg.org wrote: On 01/26/2014 09:11 AM, Simon Glass wrote: Hi Stephen, On 24 January 2014 12:46, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com

Re: [U-Boot] [PATCH 5/7] rsa: add sha256,rsa4096 algorithm

2014-01-27 Thread Simon Glass
Hi Heiko, On 26 January 2014 23:36, Heiko Schocher h...@denx.de wrote: Hello Simon, Am 26.01.2014 22:19, schrieb Simon Glass: Hi Heiko, On 24 January 2014 23:44, Heiko Schocherh...@denx.de wrote: Signed-off-by: Heiko Schocherh...@denx.de Cc: Simon Glasss...@chromium.org Missing

Re: [U-Boot] [PATCH 4/7] rsa: add sha256-rsa2048 algorithm

2014-01-27 Thread Simon Glass
Hi Heiko, On 26 January 2014 22:45, Heiko Schocher h...@denx.de wrote: Hello Simon, Am 26.01.2014 22:10, schrieb Simon Glass: Hi Heiko, On 24 January 2014 23:44, Heiko Schocherh...@denx.de wrote: based on patch from andr...@oetken.name: http://patchwork.ozlabs.org/patch/294318/

Re: [U-Boot] [PATCH V2 2/5] fs: implement infra-structure for an 'exists' function

2014-01-27 Thread Simon Glass
Hi Stephen, On 27 January 2014 09:03, Stephen Warren swar...@wwwdotorg.org wrote: On 01/26/2014 08:41 AM, Simon Glass wrote: Hi Stephen, On 23 January 2014 12:56, Stephen Warren swar...@wwwdotorg.org mailto:swar...@wwwdotorg.org wrote: From: Stephen Warren swar...@nvidia.com

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

2014-01-27 Thread Jagannadha Sutradharudu Teki
Hi Tom, SF code optimized stuff and few fixes. -- Thanks! Jagan. The following changes since commit 0876703cf2ee107372b56037d4eeeb7604c56796: boards.cfg: Keep the entries sorted (2014-01-27 08:28:35 -0500) are available in the git repository at: git://git.denx.de/u-boot-spi.git master

Re: [U-Boot] [PATCH] ventana: Add Gateworks Ventana family support

2014-01-27 Thread Tim Harvey
On Mon, Jan 27, 2014 at 3:57 AM, Fabio Estevam feste...@gmail.com wrote: On Tue, Jan 21, 2014 at 4:41 PM, Tim Harvey thar...@gateworks.com wrote: +static int setup_pmic_voltages(void) +{ + int ret; + unsigned char value, rev_id = 0; + + ret = i2c_set_bus_num(1); +

Re: [U-Boot] [PATCH] arm: Handle .gnu.hash section in ldscripts

2014-01-27 Thread Andreas Färber
Hello, Am 27.01.2014 15:24, schrieb Wolfgang Denk: In message 1390798091-24747-1-git-send-email-afaer...@suse.de you wrote: Avoids could not find output section .gnu.hash ld.bfd errors on openSUSE. Cc: Albert Aribaud albert.u.b...@aribaud.net Cc: Tom Rini tr...@ti.com Signed-off-by: Andreas

[U-Boot] [PATCH 4/6] i2c: kona: Add Kona I2C driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona I2C controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org --- drivers/i2c/Makefile |1 + drivers/i2c/kona_i2c.c | 730

[U-Boot] [PATCH 6/6] board: bcm28155_ap: Add board files

2014-01-27 Thread Darwin Rambo
Add support for the bcm28155_ap reference board. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org --- board/broadcom/bcm28155_ap/Makefile |7 ++ board/broadcom/bcm28155_ap/bcm28155_ap.c | 99

[U-Boot] [PATCH 1/6] arch: kona: Initial commit of kona-common architecture code

2014-01-27 Thread Darwin Rambo
The Kona architecture is present on a number of Broadcom mobile SoCs including the bcm281xx family of chips. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Tim Kryger tkry...@linaro.org --- arch/arm/cpu/armv7/Makefile|

[U-Boot] [PATCH 0/6] Introducing the Broadcom bcm281xx Architecture

2014-01-27 Thread Darwin Rambo
This patchset introduces the Broadcom bcm281xx family of mobile SoC chips. Broadcom kona hardware blocks are often found in Broadcom mobile SoC chips including the bcm281xx family, so support for some of these kona blocks is also provided here. These patches work on u-boot master as well as the

[U-Boot] [PATCH 3/6] gpio: kona: Add Kona gpio driver

2014-01-27 Thread Darwin Rambo
Add support for the Kona GPIO controller found on Broadcom mobile SoCs. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae s...@broadcom.com Reviewed-by: Markus Mayer markus.ma...@linaro.org Reviewed-by: Tim Kryger tkry...@linaro.org --- drivers/gpio/Makefile|1 +

[U-Boot] [PATCH 2/6] arch: bcm281xx: Initial commit of bcm281xx architecture code

2014-01-27 Thread Darwin Rambo
Add bcm281xx architecture support code including a clock framework and chip reset. Define register block base addresses for the bcm281xx architecture and create an empty gpio header file required when CONFIG_CMD_GPIO is set. Signed-off-by: Darwin Rambo dra...@broadcom.com Reviewed-by: Steve Rae

  1   2   >