Re: [U-Boot] [PATCH 3/4] arm: debug: import debug files from Linux 3.16

2014-08-25 Thread Masahiro Yamada
Hi Przemyslaw, On Mon, 25 Aug 2014 11:03:13 +0200 Przemyslaw Marczak wrote: > Hello Masahiro, > I tried to test this on Trats2(Exynos4412) with required files from the linux > and the code doesn't build. > > On 08/17/2014 08:16 AM, Masahiro Yamada wrote: > > U-Boot does not have arch/arm/kern

Re: [U-Boot] [PATCH 1/3] stv0991 : Add basic stv0991 architecture support.

2014-08-25 Thread Nobuhiro Iwamatsu
Hi, 2014-08-23 4:43 GMT+09:00 Vikas Manocha : > stv0991 architecture support added. It contains the support for > following blocks > - Timer > - uart > > Signed-off-by: Vikas Manocha > --- > arch/arm/Kconfig |4 + > arch/arm/cpu/armv7/stv0991/Makefile

Re: [U-Boot] [RFC PATCH] USB: get rid of warning when compile with debug enabled

2014-08-25 Thread Bo Shen
Hi Marek, On 08/25/2014 06:43 PM, Marek Vasut wrote: On Monday, August 25, 2014 at 11:23:19 AM, Bo Shen wrote: When compile with debug information is enabled, if call spin_lock_irqsave, it will give following warning information. This patch is used to get rid of it. --->8--- warning: 'flags' is

Re: [U-Boot] [U-Boot, U-boot, v3, 2/3] common: cmd_nand: add nand ecclayout command

2014-08-25 Thread Tom Rini
On Tue, Aug 26, 2014 at 12:22:38AM +0300, Ivan Khoronzhuk wrote: > On 08/25/2014 10:14 PM, Tom Rini wrote: > >On Tue, Jun 24, 2014 at 04:49:05PM +0300, Khoronzhuk, Ivan wrote: > > > >>From: WingMan Kwok > >> > >>This commit adds a nand ecclayout command that allows the ecclayout of > >>the current

Re: [U-Boot] [U-Boot, U-boot, v3, 2/3] common: cmd_nand: add nand ecclayout command

2014-08-25 Thread Ivan Khoronzhuk
On 08/25/2014 10:14 PM, Tom Rini wrote: On Tue, Jun 24, 2014 at 04:49:05PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok This commit adds a nand ecclayout command that allows the ecclayout of the current nand device to be changed during run time. This feature is useful when using u-boot t

Re: [U-Boot] [U-Boot, U-boot, v3, 1/3] mtd: nand: davinci: allow to change ecclayout by ecclayout command

2014-08-25 Thread Ivan Khoronzhuk
On 08/25/2014 10:14 PM, Tom Rini wrote: On Tue, Jun 24, 2014 at 04:49:04PM +0300, Khoronzhuk, Ivan wrote: From: WingMan Kwok This patch adds opportunity to change ecclayout of current nand device during runtime. So we can change the current nand device ecclayout using the "nand ecclayout set"

Re: [U-Boot] [PATCH] samsung: dfu: Provide correct Vendor and Product IDs for UMS gadget

2014-08-25 Thread Lukasz Majewski
On Mon, 25 Aug 2014 19:12:19 +0300 Vasili Galka wrote: > > Hi, > > On Tue, Jul 29, 2014 at 12:10 PM, Lukasz Majewski > wrote: > > It is necessary to provide the same Vendor and Product IDs as the > > one in the original Linux kernel code. > > > > Without this change the USB mass storage gadget

Re: [U-Boot] U-boot for Banana Pi

2014-08-25 Thread TooMeeK Admin
Hello again, successfully compiled U-boot-arm.git source under bare-metal Linux on Banana Pi itself (not FreeBSD 64-bit VM). But still getting troubles at: U-Boot SPL 2014.10-rc1 (Aug 26 2014 - 03:39:46) DRAM: 1024 MiB CPU: 96000Hz, AXI/AHB/APB: 3/2/2 U-Boot 2014.10-rc1 (Aug 26 2014 - 03:

Re: [U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support

2014-08-25 Thread Marek Vasut
On Monday, August 25, 2014 at 10:31:18 PM, Otavio Salvador wrote: > On Mon, Aug 25, 2014 at 5:28 PM, Marek Vasut wrote: > > On Monday, August 25, 2014 at 10:24:19 PM, Otavio Salvador wrote: > >> On Mon, Aug 25, 2014 at 5:11 PM, Fabio Estevam wrote: > >> > On Mon, Aug 25, 2014 at 4:50 PM, Marek Va

Re: [U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support

2014-08-25 Thread Otavio Salvador
On Mon, Aug 25, 2014 at 5:28 PM, Marek Vasut wrote: > On Monday, August 25, 2014 at 10:24:19 PM, Otavio Salvador wrote: >> On Mon, Aug 25, 2014 at 5:11 PM, Fabio Estevam wrote: >> > On Mon, Aug 25, 2014 at 4:50 PM, Marek Vasut wrote: >> >> On Monday, August 25, 2014 at 07:26:46 PM, Fabio Estevam

Re: [U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support

2014-08-25 Thread Marek Vasut
On Monday, August 25, 2014 at 10:24:19 PM, Otavio Salvador wrote: > On Mon, Aug 25, 2014 at 5:11 PM, Fabio Estevam wrote: > > On Mon, Aug 25, 2014 at 4:50 PM, Marek Vasut wrote: > >> On Monday, August 25, 2014 at 07:26:46 PM, Fabio Estevam wrote: > >>> Tested with an Intel Wireless PCI 7260HMW ca

Re: [U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support

2014-08-25 Thread Otavio Salvador
On Mon, Aug 25, 2014 at 5:11 PM, Fabio Estevam wrote: > On Mon, Aug 25, 2014 at 4:50 PM, Marek Vasut wrote: >> On Monday, August 25, 2014 at 07:26:46 PM, Fabio Estevam wrote: >>> Tested with an Intel Wireless PCI 7260HMW card: >>> >>> U-Boot 2014.10-rc1-16576-g4a8a8a8-dirty (Aug 23 2014 - 16:05:1

Re: [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL

2014-08-25 Thread Tom Rini
On Mon, Aug 25, 2014 at 01:00:05PM -0600, Simon Glass wrote: > Hi Tom, > > On 25 August 2014 12:54, Tom Rini wrote: > > On Mon, Aug 25, 2014 at 09:58:21AM -0600, Simon Glass wrote: > > > >> Buildman has been around for a little over a year and is used by a fair > >> number of U-Boot developers. H

Re: [U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support

2014-08-25 Thread Fabio Estevam
On Mon, Aug 25, 2014 at 4:50 PM, Marek Vasut wrote: > On Monday, August 25, 2014 at 07:26:46 PM, Fabio Estevam wrote: >> Tested with an Intel Wireless PCI 7260HMW card: >> >> U-Boot 2014.10-rc1-16576-g4a8a8a8-dirty (Aug 23 2014 - 16:05:11) >> >> CPU: Freescale i.MX6SX rev1.0 at 792 MHz >> Reset

[U-Boot] [PATCH] usb: ci_udc: implement dfu_usb_get_reset

2014-08-25 Thread Stephen Warren
From: Stephen Warren This allows the USB code to determine whether a USB bus reset was issued, which in turn allows the code to differentiate between a detach (return to shell prompt) and a board reset/reboot request. Signed-off-by: Stephen Warren --- Note that this patch relies on the followin

Re: [U-Boot] [PATCH 1/2] dfu: Provide means to find difference between dfu-util -e and -R

2014-08-25 Thread Stephen Warren
On 08/22/2014 08:08 AM, Lukasz Majewski wrote: This commit provides distinction between DFU device detach and reset. The -R behavior is preserved with proper handling of the dfu-util's -e switch, which detach the DFU device. By running dfu-util -e; one can force device to finish the execution of

Re: [U-Boot] [PATCH v3 2/3] pcie_imx: Add mx6solox support

2014-08-25 Thread Marek Vasut
On Monday, August 25, 2014 at 07:26:45 PM, Fabio Estevam wrote: > Let PCI on mx6solox also be supported. > > Signed-off-by: Fabio Estevam > --- > Changes since v2: > - Configure lvds1_clk_sel in run-time > Changes since v1: > - Put the definition of gpc inside CONFIG_MX6SX ifdef > - Use setbits_l

Re: [U-Boot] [PATCH v7 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-25 Thread Marek Vasut
On Monday, August 25, 2014 at 06:34:16 PM, Fabio Estevam wrote: > mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. > Other SoCs work with the standard 32 bytes alignment. > > Adjust it accordingly by using 64 bytes aligment in the FEC RX DMA buffers, > which addresses the nee

Re: [U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support

2014-08-25 Thread Marek Vasut
On Monday, August 25, 2014 at 07:26:46 PM, Fabio Estevam wrote: > Tested with an Intel Wireless PCI 7260HMW card: > > U-Boot 2014.10-rc1-16576-g4a8a8a8-dirty (Aug 23 2014 - 16:05:11) > > CPU: Freescale i.MX6SX rev1.0 at 792 MHz > Reset cause: WDOG > Board: MX6SX SABRE SDB > I2C: ready > DRAM:

Re: [U-Boot] [PATCH v7 2/2] net: fec_mxc: Poll FEC_TBD_READY after polling TDAR

2014-08-25 Thread Marek Vasut
On Monday, August 25, 2014 at 06:34:17 PM, Fabio Estevam wrote: > When testing the FEC driver on a mx6solox we noticed that the TDAR bit gets > always cleared prior then the READY bit is cleared in the last BD, which > causes FEC packets reception to always fail. > > As explained by Ye Li: > > "T

Re: [U-Boot] [U-Boot, v2] am335x_evm: Convert CONFIG_CONS_INDEX into a menu choice

2014-08-25 Thread Tom Rini
On Fri, Aug 01, 2014 at 09:53:24AM -0400, Tom Rini wrote: > - Drop CONFIG_SERIAL[1-6] and use CONFIG_CONS_INDEX tests instead > - Add choice and help text to board/ti/am335x/Kconfig > - Correct comment about IDK in board/ti/am335x/mux.c > - Remove am335x_evm_uart* defconfig files as they're just v

Re: [U-Boot] [U-Boot,v2] ARM: DRA: Enable VTT regulator

2014-08-25 Thread Tom Rini
On Mon, Aug 04, 2014 at 07:42:24PM +0530, Lokesh Vutla wrote: > DRA7 evm REV G and later boards uses a vtt regulator for DDR3 termination > and this is controlled by gpio7_11. Configuring gpio7_11. > The pad A22(offset 0x3b4) is used by gpio7_11 on REV G and later boards, > and left unused on prev

[U-Boot] Please pull u-boot-ti/master

2014-08-25 Thread Tom Rini
Hey, The following changes since commit 1899fac925eda817e12234aef3d01d354788662e: Merge branch 'u-boot-sunxi/master' into 'u-boot-arm/master' (2014-08-09 16:48:34 +0200) are available in the git repository at: git://git.denx.de/u-boot-ti.git master for you to fetch changes up to 6302ea54

Re: [U-Boot] [U-Boot,3/3] cm-t54: convert to generic board

2014-08-25 Thread Tom Rini
On Thu, Jul 31, 2014 at 02:30:41PM +0300, Dmitry Lifshitz wrote: > Use generic board setup functions by defining > CONFIG_SYS_GENERIC_BOARD. > > Signed-off-by: Dmitry Lifshitz Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,2/3] cm-t54: fix eMMC boot mode check

2014-08-25 Thread Tom Rini
On Thu, Jul 31, 2014 at 02:30:40PM +0300, Dmitry Lifshitz wrote: > Boot from eMMC boot partition corresponds to BOOT_DEVICE_MMC2 > omap_bootmode, while BOOT_DEVICE_MMC2_2 corresponds to the user > data partition boot. > > Fix mmc_get_env_part() boot mode check to use a correct value. > > Signed-

Re: [U-Boot] [U-Boot, 1/3] cm-t54: fix EEPROM read return value check

2014-08-25 Thread Tom Rini
On Thu, Jul 31, 2014 at 02:30:39PM +0300, Dmitry Lifshitz wrote: > Fix cl_eeprom_read_mac_addr() return value check. > Fix long line codding style issue in board_init(). > > Signed-off-by: Dmitry Lifshitz Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signatu

Re: [U-Boot] ARM: DRA7: Enable software leveling for dra7

2014-08-25 Thread Tom Rini
On Thu, Jul 31, 2014 at 12:05:50PM +0530, Lokesh Vutla wrote: > From: Sricharan R > > Currently hw leveling is enabled by default on DRA7/72. > But the hardware team suggested to use sw leveling as hw leveling > is not characterized and seen some test case failures. > So enabling sw leveling on

Re: [U-Boot] SOM: tam3517: convert to generic board

2014-08-25 Thread Tom Rini
On Mon, Jul 28, 2014 at 11:34:42PM +0200, Jeroen Hofstee wrote: > Cc: Raphael Assenat > Cc: Stefano Babic > Signed-off-by: Jeroen Hofstee Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing

Re: [U-Boot] [U-Boot, U-boot] keystone2: use EFUSE_BOOTROM information to configure PLLs

2014-08-25 Thread Tom Rini
On Fri, Jul 25, 2014 at 10:23:19PM +0300, Khoronzhuk, Ivan wrote: > From: Vitaly Andrianov > > This patch reads EFUSE_BOOTROM register to see the maximum supported > clock for CORE and TETRIS PLLs and configure them accordingly. > > Acked-by: Murali Karicheri > Signed-off-by: Vitaly Andrianov

Re: [U-Boot] [U-Boot, PATCHv2] pcm051: use ti_am335x_common.h config

2014-08-25 Thread Tom Rini
On Sat, Jul 26, 2014 at 06:48:45PM +0400, matwey.korni...@gmail.com wrote: > From: "Matwey V. Kornilov" > > Include general configs/ti_am335x_common.h and drop redundant #defines. > > Signed-off-by: Matwey V. Kornilov Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, v2, 6/6] board/ti/dra7xx: add support for parallel NOR

2014-08-25 Thread Tom Rini
On Tue, Jul 22, 2014 at 04:03:24PM +0530, pekon gupta wrote: > This patch adds support for parallel NOR device (S29GL512S10) present on > J6-EVM. > The Flash device is connected to GPMC controller on chip-select[0] and > accessed > as memory-mapped device. It has data-witdh=x16, capacity-64MBytes

Re: [U-Boot] [U-Boot, v2, 5/6] board/ti/dra7xx: add support for parallel NAND

2014-08-25 Thread Tom Rini
On Tue, Jul 22, 2014 at 04:03:23PM +0530, pekon gupta wrote: > This patch adds support for x16 NAND device (MT29F2G16AAD) connected to GPMC > chip-select[0] on DRA7xx EVM. > As GPMC pins are shared by multiple devices, so in addition to this patch > following board settings are required for NAND d

Re: [U-Boot] [U-Boot, v2, 4/6] board/ti/am43xx: add support for parallel NAND

2014-08-25 Thread Tom Rini
On Tue, Jul 22, 2014 at 04:03:22PM +0530, pekon gupta wrote: > This patch adds support for NAND device connected to GPMC chip-select on > following AM43xx EVM boards. > > am437x-gp-evm: On this board, NAND Flash signals are muxed with eMMC, thus at > a > time either eMMC or NAND can be enabled

Re: [U-Boot] [U-Boot, v2, 3/6] board/ti/am335x: add support for beaglebone NOR Cape

2014-08-25 Thread Tom Rini
On Tue, Jul 22, 2014 at 04:03:21PM +0530, pekon gupta wrote: > This patch adds support of NOR cape[1] for both Beaglebone (white) and > Beaglebone(Black) boards. NOR Flash on this cape is connected to GPMC > chip-select[0] and accesses as external memory-mapped device. > This cape has 128Mbits(16M

Re: [U-Boot] [U-Boot, v2, 2/6] board/ti/am335x: add support for beaglebone NAND cape

2014-08-25 Thread Tom Rini
On Tue, Jul 22, 2014 at 04:03:20PM +0530, pekon gupta wrote: > Beaglebone Board can be connected to expansion boards to add devices to them. > These expansion boards are called 'capes'. This patch adds support for > following versions of Beaglebone(AM335x) NAND capes > (a) NAND Device with bus-wid

Re: [U-Boot] [U-Boot, v2, 1/6] board/ti/am335x: update configs for parallel NAND

2014-08-25 Thread Tom Rini
On Tue, Jul 22, 2014 at 04:03:19PM +0530, pekon gupta wrote: > This patch > - consolidate CONFIG_SYS_NAND_xx and CONFIG_SPL_NAND_xx from various > configuration files into single file. > - update MTD Partition table to match AM335x_EVM DT in linux-kernel > - segregate CONFIGs based on different

Re: [U-Boot] [U-Boot, 5/5] am335x_evm: Enable CONFIG_SPL_ENV_SUPPORT on EMMC_BOOT

2014-08-25 Thread Tom Rini
On Fri, Jul 18, 2014 at 11:51:35AM -0400, Tom Rini wrote: > When we're using EMMC_BOOT that means we have environment on eMMC so > we can make use of CONFIG_SPL_ENV_SUPPORT within Falcon Mode. > > Signed-off-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description:

Re: [U-Boot] [U-Boot, 4/5] common/Makefile: Consolidate SPL ENV options, correct inclusion

2014-08-25 Thread Tom Rini
On Fri, Jul 18, 2014 at 11:51:34AM -0400, Tom Rini wrote: > CONFIG_SPL_NET_SUPPORT is not the only time we want SPL to ahve > environment, CONFIG_SPL_ENV_SUPPORT is when we want it. > > Signed-off-by: Tom Rini Applied to u-boot-ti/master, thanks! -- Tom signature.asc Description: Digital si

Re: [U-Boot] [U-Boot,1/5] am335x_evm: Move SPL network defines

2014-08-25 Thread Tom Rini
On Fri, Jul 18, 2014 at 11:51:31AM -0400, Tom Rini wrote: > On am335x_evm we only support USBETH for a networking SPL option so move > the rest of the defines under that area as that's the only time we need > (and want) environment support here. > > Signed-off-by: Tom Rini Applied to u-boot-ti/

Re: [U-Boot] [U-Boot, 3/5] tseries: Set CONFIG_ENV_IS_NOWHERE for SPL+NAND

2014-08-25 Thread Tom Rini
On Fri, Jul 18, 2014 at 11:51:33AM -0400, Tom Rini wrote: > In the case of SPL on these boards we only need environment for > SPL_USBETH, so it's safe to normally use ENV_IS_NOWHERE and SPL+NAND > does not support environment today. > > Cc: Hannes Petermaier > Signed-off-by: Tom Rini Applied t

Re: [U-Boot] [U-Boot, U-boot, v3, 1/3] mtd: nand: davinci: allow to change ecclayout by ecclayout command

2014-08-25 Thread Tom Rini
On Tue, Jun 24, 2014 at 04:49:04PM +0300, Khoronzhuk, Ivan wrote: > From: WingMan Kwok > > This patch adds opportunity to change ecclayout of current nand > device during runtime. So we can change the current nand device > ecclayout using the "nand ecclayout set" command before writing > the dat

Re: [U-Boot] [U-Boot, U-boot, v3, 2/3] common: cmd_nand: add nand ecclayout command

2014-08-25 Thread Tom Rini
On Tue, Jun 24, 2014 at 04:49:05PM +0300, Khoronzhuk, Ivan wrote: > From: WingMan Kwok > > This commit adds a nand ecclayout command that allows the ecclayout of > the current nand device to be changed during run time. This feature is > useful when using u-boot to write something to nand flash t

Re: [U-Boot] [U-Boot, v3, 2/5] TI:armv7: Change CONFIG_SPL_STACK to not be CONFIG_SYS_INIT_SP_ADDR

2014-08-25 Thread Tom Rini
On Fri, Jul 18, 2014 at 11:51:32AM -0400, Tom Rini wrote: > There are times where we may need more than a few kilobytes of stack > space. We also will not be using CONFIG_SPL_STACK location prior to DDR > being initialized (CONFIG_SYS_INIT_SP_ADDR is still used there) so pick > a good location wi

Re: [U-Boot] [PATCH v9 11/14] buildman: Add an option to show which boards caused which errors

2014-08-25 Thread Tom Rini
On Mon, Aug 25, 2014 at 09:58:32AM -0600, Simon Glass wrote: > Add a -l option to display a list of offending boards against each > error/warning line. The information will be shown in brackets as below: > > 02: wip >sandbox: + sandbox >arm: + seaboard > +(sandbox) arch/sandbox/cpu

Re: [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL

2014-08-25 Thread Simon Glass
Hi Tom, On 25 August 2014 12:54, Tom Rini wrote: > On Mon, Aug 25, 2014 at 09:58:21AM -0600, Simon Glass wrote: > >> Buildman has been around for a little over a year and is used by a fair >> number of U-Boot developers. However quite a few people still use MAKEALL. >> >> Buildman was intended to

Re: [U-Boot] [U-Boot, v2] buildman: Create parent directories as necessary

2014-08-25 Thread Tom Rini
On Tue, Aug 19, 2014 at 10:22:39AM +0200, Thierry Reding wrote: > From: Thierry Reding > > When creating build directories also create parents as necessary. This > fixes a failure when building a hierarchical branch (i.e. foo/bar). > > Signed-off-by: Thierry Reding > Acked-by: Simon Glass Te

Re: [U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL

2014-08-25 Thread Tom Rini
On Mon, Aug 25, 2014 at 09:58:21AM -0600, Simon Glass wrote: > Buildman has been around for a little over a year and is used by a fair > number of U-Boot developers. However quite a few people still use MAKEALL. > > Buildman was intended to replace MAKEALL, so perhaps now is a good time to > star

Re: [U-Boot] [PATCH v6 03/12] tegra: Convert tegra GPIO driver to use driver model

2014-08-25 Thread Stephen Warren
On 08/25/2014 12:31 PM, Simon Glass wrote: Hi, On 11 August 2014 09:23, Simon Glass wrote: This is an implementation of GPIOs for Tegra that uses driver model. It has been tested on trimslice and also using the new iotrace feature. The implementation uses a top-level GPIO device (which has n

Re: [U-Boot] [PATCH 04/25] dm: spi: Move cmd device code into its own function

2014-08-25 Thread Jagan Teki
On 15 July 2014 06:26, Simon Glass wrote: > In preparation for changing the error handling in this code for driver > model, move it into its own function. > > Signed-off-by: Simon Glass > --- > > common/cmd_spi.c | 53 - > 1 file changed, 32 in

Re: [U-Boot] [PATCH v6 03/12] tegra: Convert tegra GPIO driver to use driver model

2014-08-25 Thread Simon Glass
Hi, On 11 August 2014 09:23, Simon Glass wrote: > > This is an implementation of GPIOs for Tegra that uses driver model. It has > been tested on trimslice and also using the new iotrace feature. > > The implementation uses a top-level GPIO device (which has no actual GPIOS). > Under this all the

Re: [U-Boot] [PATCH 1/4] vexpress64: kconfig: consolidate CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI

2014-08-25 Thread Steve Rae
Reviewed-by: Steve Rae Thanks, Steve On 14-08-16 11:16 PM, Masahiro Yamada wrote: We do not have to distinguish CONFIG_TARGET_VEXPRESS_AEMV8A_SEMI from CONFIG_TARGET_VEXPRESS_AEMV8A. Rename the former to the latter. Signed-off-by: Masahiro Yamada Cc: David Feng Cc: Steve Rae --- arch/

Re: [U-Boot] [PATCH v2 2/3] pcie_imx: Add mx6solox support

2014-08-25 Thread Fabio Estevam
On Mon, Aug 25, 2014 at 11:27 AM, Marek Vasut wrote: > Can you maybe pull the mask out and just ORR it with the correct bit in the > ifdef ? Or -- even better, can this not be done at runtime ? Yes, I implemented the run-time approach in v3. Thanks ___

[U-Boot] [PATCH v3 2/3] pcie_imx: Add mx6solox support

2014-08-25 Thread Fabio Estevam
Let PCI on mx6solox also be supported. Signed-off-by: Fabio Estevam --- Changes since v2: - Configure lvds1_clk_sel in run-time Changes since v1: - Put the definition of gpc inside CONFIG_MX6SX ifdef - Use setbits_le32 to configure register CNTR - Improve comments in the code arch/arm/cpu/armv7/

[U-Boot] [PATCH v3 1/3] mx6: imx-regs: Provide a structure for GPC registers

2014-08-25 Thread Fabio Estevam
Introduce a structure for accessing the General Power Controller block (GPC) registers. Signed-off-by: Fabio Estevam --- Changes since v2: - None Changes since v1: - None arch/arm/include/asm/arch-mx6/imx-regs.h | 13 + 1 file changed, 13 insertions(+) diff --git a/arch/arm/include

[U-Boot] [PATCH v3 3/3] mx6sxsabresd: Add PCI support

2014-08-25 Thread Fabio Estevam
Tested with an Intel Wireless PCI 7260HMW card: U-Boot 2014.10-rc1-16576-g4a8a8a8-dirty (Aug 23 2014 - 16:05:11) CPU: Freescale i.MX6SX rev1.0 at 792 MHz Reset c

Re: [U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-25 Thread Steve Rae
On 14-08-25 07:57 AM, Lukasz Majewski wrote: Hi Steve, This series implements the "fastboot flash" command for eMMC devices. It supports both raw and sparse images. NOTES: - the support for the "fastboot flash" command is enabled with CONFIG_FASTBOOT_FLASH - the support for eMMC is enabled w

Re: [U-Boot] [PATCH V4 10/19] arm: mx6: ddr: configure MMDC for slow_pd

2014-08-25 Thread Tim Harvey
On Mon, Aug 25, 2014 at 8:36 AM, Nikita Kiryanov wrote: > > On 20/08/14 15:08, Nikita Kiryanov wrote: >> >> According to MX6 TRM, both MMDC and DRAM should be configured to >> the same powerdown precharge. Currently, mx6_dram_cfg() >> configures MMDC for fast pd (MDPDC[7] = 0), and the DRAM for >>

[U-Boot] [PATCH v7 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-25 Thread Fabio Estevam
mx6solox has a requirement for 64 bytes alignment for RX DMA transfer. Other SoCs work with the standard 32 bytes alignment. Adjust it accordingly by using 64 bytes aligment in the FEC RX DMA buffers, which addresses the needs from mx6solox and also works for the other SoCs. Signed-off-by: Fabio

[U-Boot] [PATCH v7 2/2] net: fec_mxc: Poll FEC_TBD_READY after polling TDAR

2014-08-25 Thread Fabio Estevam
When testing the FEC driver on a mx6solox we noticed that the TDAR bit gets always cleared prior then the READY bit is cleared in the last BD, which causes FEC packets reception to always fail. As explained by Ye Li: "The TDAR bit is cleared when the descriptors are all out from TX ring, but on

Re: [U-Boot] [PATCH] samsung: dfu: Provide correct Vendor and Product IDs for UMS gadget

2014-08-25 Thread Vasili Galka
Hi, On Tue, Jul 29, 2014 at 12:10 PM, Lukasz Majewski wrote: > It is necessary to provide the same Vendor and Product IDs as the one in > the original Linux kernel code. > > Without this change the USB mass storage gadget is not working with > Windows7. > > Signed-off-by: Lukasz Majewski > --- >

Re: [U-Boot] [PATCH v2] arm: tegra: initial support for apalis t30

2014-08-25 Thread Stephen Warren
On 08/24/2014 03:18 PM, Marcel Ziswiler wrote: On Fri, 2014-08-22 at 13:31 -0600, Stephen Warren wrote: +#define CONFIG_USE_ARCH_MEMCPY That last option isn't set on other Tegra boards; what's it for? This is my special gift to Thierry to leverage architecture specific memory copying routine

Re: [U-Boot] Fix for Kconfig buildsystem

2014-08-25 Thread Markus Niebel
Am 11.08.2014 10:44, wrote Stefano Babic: > Hi Markus, > > after switch to Kconfig build system it is not possible to build the > tqma6 board. I have started to fix it (really only the 6q board), but it > is worth if you take a look and you send a patch for all 4 variations of > the board. > > Ca

[U-Boot] [PATCH 15/15] buildman: Add additional functional tests

2014-08-25 Thread Simon Glass
This adds coverage of core features of the builder, including the command-line options which affect building. Signed-off-by: Simon Glass --- tools/buildman/func_test.py | 326 +--- 1 file changed, 308 insertions(+), 18 deletions(-) diff --git a/tools/bui

[U-Boot] [PATCH 13/15] buildman: Provide an internal option to clean the outpur dir

2014-08-25 Thread Simon Glass
For testing it is useful to clean the output directory before running a test. This avoids a test interfering with the results of a subsequent test by leaving data around. Add this feature as an optional parameter to the control logic. Signed-off-by: Simon Glass --- tools/buildman/control.py |

[U-Boot] [PATCH 09/15] buildman: Set up bsettings outside the control module

2014-08-25 Thread Simon Glass
Move the bsettings code back to the main buildman.py file, so we can do something different when testing. Signed-off-by: Simon Glass --- tools/buildman/buildman.py | 2 ++ tools/buildman/control.py | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/buildman/buildman.py

[U-Boot] [PATCH 05/15] buildman: Move the command line code into its own file

2014-08-25 Thread Simon Glass
We want to be able to issue parser commands from within buildman for test purposes. Move the parser code into its own file so we don't end up needing the buildman and test modules to reference each other. Signed-off-by: Simon Glass --- tools/buildman/buildman.py | 73 ++-

[U-Boot] [PATCH 10/15] buildman: Avoid looking at config file or toolchains in tests

2014-08-25 Thread Simon Glass
These files may not exist in the environment, or may not be suitable for testing. Provide our own config file and our own toolchains when running tests. Signed-off-by: Simon Glass --- tools/buildman/bsettings.py | 15 ++- tools/buildman/func_test.py | 19 +++ 2 files

[U-Boot] [PATCH 08/15] buildman: Add a functional test

2014-08-25 Thread Simon Glass
Buildman currently lacks testing in many areas, including its use of git, make and many command-line flags. Add a functional test which covers some of these areas. So far it does a fake 'build' of all boards for the current source tree. This version reads the real ~/.buildman and boards.cfg files

[U-Boot] [PATCH 01/15] patman: Add a way of recording terminal output for testing

2014-08-25 Thread Simon Glass
When running unit tests we don't want output to go to the terminal. Provide a way of collecting it so that it can be examined by test code later. Signed-off-by: Simon Glass --- tools/patman/terminal.py | 61 1 file changed, 61 insertions(+) diff

[U-Boot] [PATCH 11/15] buildman: Allow tests to have their own boards

2014-08-25 Thread Simon Glass
Rather than reading boards.cfg, which may take time to generate and is not necessarily suitable for running tests, create our own list of boards. Signed-off-by: Simon Glass --- tools/buildman/control.py | 25 ++--- tools/buildman/func_test.py | 20 +++- 2 f

[U-Boot] [PATCH 03/15] buildman: Enhance basic test to check summary output

2014-08-25 Thread Simon Glass
Adjust the basic test so that it checks all console output. This will help to ensure that the builder is behaving correctly with printing summary information. Signed-off-by: Simon Glass --- tools/buildman/test.py | 101 ++--- 1 file changed, 96 insert

[U-Boot] [PATCH 07/15] patman: Provide a way to intercept commands for testing

2014-08-25 Thread Simon Glass
Add a test point for the command module. This allows tests to emulate the execution of commands. This provides more control (since we can make the fake 'commands' do whatever we like), makes it faster to write tests since we don't need to set up as much environment, and speeds up test execution. S

[U-Boot] [PATCH 02/15] buildman: Send builder output through a function for testing

2014-08-25 Thread Simon Glass
To allow us to verify the builder's console output, send it through a function which can collect it when running in test mode. Signed-off-by: Simon Glass --- tools/buildman/builder.py | 58 --- 1 file changed, 30 insertions(+), 28 deletions(-) diff -

[U-Boot] [PATCH 06/15] buildman: Move full help code into the control module

2014-08-25 Thread Simon Glass
There is no good reason to keep this code separate. Move it into control.py so it is easier to test. Signed-off-by: Simon Glass --- tools/buildman/buildman.py | 6 -- tools/buildman/control.py | 8 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/tools/buildman/build

[U-Boot] [PATCH 12/15] buildman: Correct counting of build failures on retry

2014-08-25 Thread Simon Glass
When a build is to be performed, buildman checks to see if it has already been done. In most cases it will not bother trying again. However, it was not reading the return code from the 'done' file, so if the result was a failure, it would not be counted. This depresses the 'failure' count stats tha

[U-Boot] [PATCH 04/15] patman: RunPipe() should not pipe stdout/stderr unless asked

2014-08-25 Thread Simon Glass
RunPipe() currently pipes the output of stdout and stderr to a pty, but this is not the intended behaviour. Fix it. Signed-off-by: Simon Glass --- tools/patman/command.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/patman/command.py b/tools/patman/command.py index 449d3d0..7212f

[U-Boot] [PATCH 14/15] patman: Start with a clean series when needed

2014-08-25 Thread Simon Glass
For reasons that are not well-understood, GetMetaDataForList() can end up adding to an existing series even when it appears that it should be starting a new one. Change from using a default constructor parameter to an explicit one, to work around this problem. Signed-off-by: Simon Glass --- to

[U-Boot] [PATCH 0/15] buildman: Expand test coverage

2014-08-25 Thread Simon Glass
Buildman's test coverage is inadequate, particularly in the area of the core builder threads and logic. As a result it is harder to make changes than it should be, since verifying correctness manually is tedious. The existing output test relies on the user to verify that things look OK. This is ge

[U-Boot] [PATCH v9 03/14] patman: Correct unit tests to run correctly

2014-08-25 Thread Simon Glass
It seems that doctest behaves differently now, and some of the unit tests do not run. Adjust the tests to work correctly. ./tools/patman/patman --test Signed-off-by: Simon Glass --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Add new patch to fix patman unit t

[U-Boot] [PATCH v9 10/14] buildman: Remove the directory prefix from each error line

2014-08-25 Thread Simon Glass
The full path is long and also includes buildman private directories. Clean this up, so that only a relative U-Boot path is shown. This will change warnings like these: /home/sjg/c/src/third_party/u-boot/buildman5/.bm-work/00/arch/sandbox/cpu/cpu.c: In function 'timer_get_us': /home/sjg/c/src/th

[U-Boot] [PATCH v9 04/14] patman: Remove the -a option

2014-08-25 Thread Simon Glass
It seems that this is no longer needed, since checkpatch.pl will catch whitespace problems in patches. Also the option is not widely used, so it seems safe to just remove it. Suggested-by: Masahiro Yamada Signed-off-by: Simon Glass --- Changes in v9: None Changes in v8: None Changes in v7: None

[U-Boot] [PATCH v9 02/14] patman: Fix indentation in terminal.py

2014-08-25 Thread Simon Glass
This code came from a different project with 2-character indentation. Fix it for U-Boot. Signed-off-by: Simon Glass --- Changes in v9: None Changes in v8: None Changes in v7: None Changes in v6: - Add new patch to fix indentation in teminal.py Changes in v5: None tools/patman/terminal.py | 10

[U-Boot] [PATCH v9 13/14] patman: Fix detection of git version

2014-08-25 Thread Simon Glass
A missing 'global' declaration means that this feature does not currently work. Fix it. Signed-off-by: Simon Glass --- Changes in v9: - Add new patch to fix detection of git version Changes in v8: None Changes in v7: None Changes in v6: None Changes in v5: None tools/patman/gitutil.py | 2 ++

[U-Boot] [PATCH v9 05/14] patman: Use --no-pager' to stop git from forking a pager

2014-08-25 Thread Simon Glass
In a headless environment the pager can apparently hang. We don't want a pager anyway so let's request that none be used. Reported-by: Tom Rini Signed-off-by: Simon Glass --- Changes in v9: None Changes in v8: - Add new patch to disable the pager in git Changes in v7: None Changes in v6: None

[U-Boot] [PATCH v9 07/14] buildman: Set the return code to indicate build result

2014-08-25 Thread Simon Glass
When buildman finds errors/warnings when building, set the return code to indicate this. Suggested-by: York Sun Signed-off-by: Simon Glass --- Changes in v9: - Add new patch to set the return code to indicate build result Changes in v8: None Changes in v7: None Changes in v6: None Changes in v

[U-Boot] [PATCH v9 11/14] buildman: Add an option to show which boards caused which errors

2014-08-25 Thread Simon Glass
Add a -l option to display a list of offending boards against each error/warning line. The information will be shown in brackets as below: 02: wip sandbox: + sandbox arm: + seaboard +(sandbox) arch/sandbox/cpu/cpu.c: In function 'timer_get_us': +(sandbox) arch/sandbox/cpu/cpu.c:40:9:

[U-Boot] [PATCH v9 09/14] buildman: Implement an option to exclude boards from the build

2014-08-25 Thread Simon Glass
Some boards are known to be broken and it is convenient to be able to exclude them from the build. Add an --exclude option to specific boards to exclude. This uses the same matching rules as the normal 'include' arguments, and is a comma- separated list of regular expressions. Suggested-by: York

[U-Boot] [PATCH v9 06/14] patman: Avoid changing the order of tags

2014-08-25 Thread Simon Glass
patman collects tags that it sees in the commit and places them nicely sorted at the end of the patch. However, this is not really necessary and in fact is apparently not desirable. Suggested-by: Masahiro Yamada Signed-off-by: Simon Glass --- Changes in v9: - Add new patch to avoid changing the

[U-Boot] [PATCH v9 01/14] patman: Support the 'reverse' option for 'git log'

2014-08-25 Thread Simon Glass
This option is currently not supported, but needs to be, for buildman to operate as expected. Reported-by: York Sun Signed-off-by: Simon Glass --- Changes in v9: None Changes in v8: None Changes in v7: - Add new patch to fix the 'reverse' bug Changes in v6: None Changes in v5: None tools/pat

[U-Boot] [PATCH v9 08/14] buildman: Allow make-flags variables to include '-' and '_'

2014-08-25 Thread Simon Glass
These characters are commonly used in variables, so permit them. Also document the permitted characters. Reported-by: Tom Rini Signed-off-by: Simon Glass --- Changes in v9: - Add new patch to allow make-flags variables to include '-' and '_' Changes in v8: None Changes in v7: None Changes in v

[U-Boot] [PATCH v9 14/14] RFC: Deprecate MAKEALL

2014-08-25 Thread Simon Glass
Since buildman now includes most of the features of MAKEALL it is probably time to talk about deprecating MAKEALL. Comments welcome. Signed-off-by: Simon Glass --- Changes in v9: None Changes in v8: None Changes in v7: - Remove already-applied patches from the series - Add the deprecation messa

[U-Boot] [PATCH v9 12/14] buildman: Separate out display of warnings and errors

2014-08-25 Thread Simon Glass
Some boards unfortunately build with warnings and it is useful to be able to easily distinguish the warnings from the errors. Use a simple pattern match to categorise gcc output into warnings and errors, and display each separately. New warnings are shown in magenta (with a w+ prefix) and fixed wa

[U-Boot] [PATCH v9 0/14] Add some missing buildman features and deprecate MAKEALL

2014-08-25 Thread Simon Glass
Buildman has been around for a little over a year and is used by a fair number of U-Boot developers. However quite a few people still use MAKEALL. Buildman was intended to replace MAKEALL, so perhaps now is a good time to start that process. The reasons to deprecate MAKEALL are: - We don't want t

Re: [U-Boot] [PATCH V4 10/19] arm: mx6: ddr: configure MMDC for slow_pd

2014-08-25 Thread Nikita Kiryanov
On 20/08/14 15:08, Nikita Kiryanov wrote: According to MX6 TRM, both MMDC and DRAM should be configured to the same powerdown precharge. Currently, mx6_dram_cfg() configures MMDC for fast pd (MDPDC[7] = 0), and the DRAM for 'slow exit (DLL off)' (MR0[12] = 0). Configure MMDC for slow pd. We h

[U-Boot] [GENERIC_BOARD] env problems before relocation with ppc8360

2014-08-25 Thread Valentin Longchamp
Hello, I am currently porting all the Keymile boards to CONFIG_SYS_GENERIC_BOARD. On u-boot 2014.10-rc1 I have all of them working quite well (at least booting and showing no obvious problem), except for our boards using a MPC8360 from Freescale (kmcoge5ne and kmeter1, both using km8360.h as confi

Re: [U-Boot] [PATCH v5 0/4] Implement "fastboot flash" for eMMC

2014-08-25 Thread Lukasz Majewski
Hi Steve, > This series implements the "fastboot flash" command for eMMC devices. > It supports both raw and sparse images. > > NOTES: > - the support for the "fastboot flash" command is enabled with > CONFIG_FASTBOOT_FLASH > - the support for eMMC is enabled with CONFIG_FASTBOOT_FLASH_MMC_DEV >

Re: [U-Boot] [PATCH v2 2/3] pcie_imx: Add mx6solox support

2014-08-25 Thread Marek Vasut
On Monday, August 25, 2014 at 03:54:29 PM, Fabio Estevam wrote: > On Mon, Aug 25, 2014 at 4:54 AM, Marek Vasut wrote: > > On Sunday, August 24, 2014 at 07:52:25 PM, Fabio Estevam wrote: > > > > [...] > > > >> --- a/arch/arm/cpu/armv7/mx6/clock.c > >> +++ b/arch/arm/cpu/armv7/mx6/clock.c > >> @@

[U-Boot] [PATCH]usb: eth: add ASIX AX88179 DRIVER

2014-08-25 Thread Rene Griessl
--- drivers/usb/eth/Makefile| 3 + drivers/usb/eth/asix88179.c | 643 drivers/usb/eth/usb_ether.c | 7 + 3 files changed, 653 insertions(+) create mode 100644 drivers/usb/eth/asix88179.c diff --git a/drivers/usb/eth/Makefile b/drivers/usb/eth/

Re: [U-Boot] [PATCH v6 1/2] net: fec_mxc: Adjust RX DMA alignment for mx6solox

2014-08-25 Thread Fabio Estevam
On Mon, Aug 25, 2014 at 5:02 AM, Marek Vasut wrote: > This $size here is used only by the cache flushing functions. We agreed in the > previous iterations, that the cacheline is 32b on MX6SX . This change is > pointless unless ARCH_DMA_MINALIGN != 32 on MX6SX. Is that right ? Yes, you are right.

[U-Boot] [PATCH]usb: eth: add ASIX AX88179 DRIVER

2014-08-25 Thread Rene Griessl
Patch adds Driver for the ASIX AX88179 USB3.0 to GbE Network Adapter Rene Griessl (1): usb: eth: add ASIX AX88179 DRIVER drivers/usb/eth/Makefile| 3 + drivers/usb/eth/asix88179.c | 643 drivers/usb/eth/usb_ether.c | 7 + 3 files changed, 65

  1   2   >