Re: [U-Boot] [PATCH v2] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread Chin Liang See
On Fri, 2015-12-18 at 08:50 +, 圣江 吴 wrote: > > > On Dec 18, 2015, at 12:46 AM, Chin Liang See > wrote: > > > Hi Shengjiang, > > > > On Fri, 2015-12-18 at 16:43 +0800, shengjiangwu wrote: > > > Updated pinmux group MIXED1IO[0-13] for RGMII1. > > > Updated EMAC1 clock. > >

[U-Boot] [PATCH] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread shengjiangwu
Updated pinmux group MIXED1IO[0-13] for RGMII1. Updated EMAC1 clock. Signed-off-by: shengjiangwu Cc: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut

Re: [U-Boot] [PATCH] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread 圣江 吴
Hi Chin, I will check it. Best Regards ShengjiangWu On Dec 17, 2015, at 11:28 PM, Chin Liang See wrote: Hi Shengjiang, On Fri, 2015-12-18 at 15:13 +0800, shengjiangwu wrote: Updated pinmux group MIXED1IO[0-13] for RGMII1. Updated EMAC1 clock. Signed-off-by: shengjiangwu

Re: [U-Boot] [PATCH] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread 圣江 吴
On Dec 17, 2015, at 11:28 PM, Chin Liang See wrote: Hi Shengjiang, On Fri, 2015-12-18 at 15:13 +0800, shengjiangwu wrote: Updated pinmux group MIXED1IO[0-13] for RGMII1. Updated EMAC1 clock. Signed-off-by: shengjiangwu Cc: Chin Liang See

[U-Boot] [PATCH v2] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread shengjiangwu
Updated pinmux group MIXED1IO[0-13] for RGMII1. Updated EMAC1 clock. Signed-off-by: shengjiangwu Cc: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut

Re: [U-Boot] [PATCH] arm: socfpga: Fix QSPI doesn't work on socdk board

2015-12-18 Thread 圣江 吴
Hi Chin, The PLL settings are copied from previous version http://git.rocketboards.org/u-boot-socfpga.git,  On Dec 17, 2015, at 11:45 PM, Chin Liang See wrote: Hi Shengjiang, On Fri, 2015-12-18 at 15:21 +0800, shengjiangwu wrote: Updated pinmux group MIXED1IO[15-20] for

[U-Boot] [PATCH v2] arm: socfpga: Fix QSPI doesn't work on socdk board

2015-12-18 Thread shengjiangwu
Updated pinmux group MIXED1IO[15-20] for QSPI. Updated QSPI clock. Signed-off-by: shengjiangwu Cc: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut

[U-Boot] [Patch V2] i2c: mxc: add a condition in case the parameter is NULL

2015-12-18 Thread Gong Qianyu
This could avoid executing the code that only applies to i.MX platforms. The bus_i2c_init() is called before relocation and will assgin value to a static variable. If U-Boot is then still running in a flash device, it's theoretically not allowed to write data to flash without an erasing

Re: [U-Boot] [PATCH] usb: Move determination of TT hub address/port into seperate function

2015-12-18 Thread Hans de Goede
Hi, On 18-12-15 02:11, Stefan Brüns wrote: Start split and complete split tokens need the hub address and the downstream port of the first HS hub (device view). The core of the function was duplicated in both host/ehci_hcd and musb-new/usb-compat.h. Signed-off-by: Stefan Brüns

Re: [U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2015-12-18 Thread Heiko Schocher
Hello Gong Qianyu, added Stefano Babic to cc as he is the imx maintainer. Am 18.12.2015 um 10:38 schrieb Gong Qianyu: This could avoid executing the code that only applies to i.MX platforms. The bus_i2c_init() is called before relocation and will assgin value to a static variable. If U-Boot

Re: [U-Boot] [PATCH v2 1/3] serial: uartlite: Move driver to DM

2015-12-18 Thread Thomas Chou
Hi Michal, On 2015年12月18日 15:52, Michal Simek wrote: On 18.12.2015 00:35, Thomas Chou wrote: Hi Michal, On 2015年12月17日 21:58, Michal Simek wrote: On 17.12.2015 14:37, Thomas Chou wrote: Hi Michal, On 2015年12月17日 20:00, Michal Simek wrote: Enable SPL DM too. Signed-off-by: Michal Simek

Re: [U-Boot] [PATCH v2 1/3] serial: uartlite: Move driver to DM

2015-12-18 Thread Michal Simek
On 18.12.2015 09:12, Thomas Chou wrote: > Hi Michal, > > On 2015年12月18日 15:52, Michal Simek wrote: >> On 18.12.2015 00:35, Thomas Chou wrote: >>> Hi Michal, >>> >>> On 2015年12月17日 21:58, Michal Simek wrote: On 17.12.2015 14:37, Thomas Chou wrote: > Hi Michal, > > On 2015年12月17日

Re: [U-Boot] [PATCH v1 10/18] MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO.

2015-12-18 Thread Chin Liang See
On Thu, 2015-12-17 at 23:01 +0530, Purna Chandra Mandal wrote: > With CONFIG_CMD_GPIO compilation reports error. > common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or > directory > #include > ^ > Signed-off-by: Purna Chandra Mandal

Re: [U-Boot] [PATCH] serial-howto: remove altera_jtag_uart and altera_uart from the list

2015-12-18 Thread Chin Liang See
On Thu, 2015-12-17 at 21:47 +0800, Thomas Chou wrote: > Since both altera_jtag_uart and altera_uart are converted to driver > model, remove them from the list of drivers remaining to convert. > > Signed-off-by: Thomas Chou > Reviewed-by: Chin Liang See

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread 圣江 吴
On Dec 18, 2015, at 12:46 AM, Chin Liang See wrote: Hi Shengjiang, On Fri, 2015-12-18 at 16:43 +0800, shengjiangwu wrote: Updated pinmux group MIXED1IO[0-13] for RGMII1. Updated EMAC1 clock. Signed-off-by: shengjiangwu Cc: Chin Liang See

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix QSPI doesn't work on socdk board

2015-12-18 Thread 圣江 吴
On Dec 18, 2015, at 12:47 AM, Chin Liang See wrote: Hi Shangjiang On Fri, 2015-12-18 at 16:43 +0800, shengjiangwu wrote: Updated pinmux group MIXED1IO[15-20] for QSPI. Updated QSPI clock. Signed-off-by: shengjiangwu Cc: Chin Liang See

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix QSPI doesn't work on socdk board

2015-12-18 Thread Pavel Machek
On Fri 2015-12-18 08:48:39, 圣江 吴 wrote: > > > On Dec 18, 2015, at 12:47 AM, Chin Liang See wrote: > > Hi Shangjiang > > On Fri, 2015-12-18 at 16:43 +0800, shengjiangwu wrote: > Updated pinmux group MIXED1IO[15-20] for QSPI. > Updated QSPI clock. > > Signed-off-by:

[U-Boot] [Patch V3] i2c: mxc: add a condition in case the parameter is NULL

2015-12-18 Thread Gong Qianyu
This could avoid executing the code that only applies to i.MX platforms. The bus_i2c_init() is called before relocation and will assgin value to a static variable. If U-Boot is then still running in a flash device, it's theoretically not allowed to write data to flash without an erasing

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread Chin Liang See
Hi Shengjiang, On Fri, 2015-12-18 at 16:43 +0800, shengjiangwu wrote: > Updated pinmux group MIXED1IO[0-13] for RGMII1. > Updated EMAC1 clock. > > Signed-off-by: shengjiangwu > Cc: Chin Liang See > Cc: Dinh Nguyen >

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix QSPI doesn't work on socdk board

2015-12-18 Thread Chin Liang See
Hi Shangjiang On Fri, 2015-12-18 at 16:43 +0800, shengjiangwu wrote: > Updated pinmux group MIXED1IO[15-20] for QSPI. > Updated QSPI clock. > > Signed-off-by: shengjiangwu > Cc: Chin Liang See > Cc: Dinh Nguyen > Cc:

[U-Boot] [PATCH] mips: add base support for atheros ar71xx based SOCs

2015-12-18 Thread Wills Wang
This patch enable work for ar933x SOC, tested on ar9331 Signed-off-by: Wills Wang --- arch/mips/Makefile |1 + arch/mips/include/asm/ar71xx.h | 1144 +++ arch/mips/mach-ath79/Makefile |8 +

[U-Boot] [PATCH] arm: socfpga: Fix QSPI doesn't work on socdk board

2015-12-18 Thread shengjiangwu
Updated pinmux group MIXED1IO[15-20] for QSPI. Updated QSPI clock. Signed-off-by: shengjiangwu Cc: Chin Liang See Cc: Dinh Nguyen Cc: Dinh Nguyen Cc: Pavel Machek Cc: Marek Vasut

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-18 Thread Chin Liang See
On Tue, 2015-12-15 at 19:16 +0100, Marek Vasut wrote: > On Tuesday, December 15, 2015 at 11:09:59 AM, Chin Liang See wrote: > > On Tue, 2015-12-15 at 02:15 +0100, Marek Vasut wrote: > > > On Tuesday, December 15, 2015 at 02:09:42 AM, Chin Liang See > > > wrote: > > > > On Tue, 2015-12-15 at 01:32

[U-Boot] about to do some tidying up of the top-level README file

2015-12-18 Thread Robert P. J. Day
for an embedded linux course i'm teaching soon, i'm going to hand out an exercise to read parts of the u-boot README file and i notice there are some historical anachronisms in there i can submit patches for -- things like references to boards.cfg, and referring to a single MAINTAINERS file,

[U-Boot] [RFC PATCH 1/6] clk: fix comments in include/clk.h

2015-12-18 Thread Masahiro Yamada
The comment about get_periph_rate() is the same as that of set_periph_rate(). I am fixing typos here and there while I am in this file. Signed-off-by: Masahiro Yamada --- include/clk.h | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-)

[U-Boot] [RFC PATCH 5/6] clk: add enable() callback

2015-12-18 Thread Masahiro Yamada
The most basic thing for clock is to enable it, but it is missing in this uclass. Signed-off-by: Masahiro Yamada --- include/clk.h | 9 + 1 file changed, 9 insertions(+) diff --git a/include/clk.h b/include/clk.h index 518cb47..ce2db41 100644 ---

[U-Boot] [RFC PATCH 0/6] clk: some fixes, device tree support, new features

2015-12-18 Thread Masahiro Yamada
Masahiro Yamada (6): clk: fix comments in include/clk.h clk: add needed include and declaration to include/clk.h clk: add function to get peripheral ID clk: add device tree support for clock framework clk: add enable() callback clk: add fixed rate clock driver drivers/clk/Makefile

[U-Boot] [RFC PATCH 3/6] clk: add function to get peripheral ID

2015-12-18 Thread Masahiro Yamada
Currently, this framework does not provide the systematic way to get the peripheral ID (clock index). I assume that the functions added by this commit are mainly used to get the ID from "clocks" properties in device trees although they are not limited to that use. Signed-off-by: Masahiro Yamada

[U-Boot] [RFC PATCH 6/6] clk: add fixed rate clock driver

2015-12-18 Thread Masahiro Yamada
This commit intends to implement "fixed-clock" as in Linux. (drivers/clk/clk-fixed-rate.c in Linux) If you need a very simple clock to just provide fixed clock rate like a crystal oscillator, you do not have to write a new driver. This driver can support it. Note: As you see in dts/ directories,

[U-Boot] [RFC PATCH 4/6] clk: add device tree support for clock framework

2015-12-18 Thread Masahiro Yamada
Add device tree binding support for the clock uclass. This allows clock consumers to get the peripheral ID based on the "clocks" property in the device tree. Usage: Assume the following device tree: clk: myclock { compatible = "myclocktype"; #clock-cells = <1>; };

[U-Boot] [RFC PATCH 2/6] clk: add needed include and declaration to include/clk.h

2015-12-18 Thread Masahiro Yamada
This header uses ulong, so it needs to include . Likewise, "struct udevice" must be declared before it is used. Signed-off-by: Masahiro Yamada --- include/clk.h | 4 1 file changed, 4 insertions(+) diff --git a/include/clk.h b/include/clk.h index

Re: [U-Boot] [PATCH] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread Chin Liang See
On Fri, 2015-12-18 at 07:55 +, 圣江 吴 wrote: > > > On Dec 17, 2015, at 11:28 PM, Chin Liang See > wrote: > > > Hi Shengjiang, > > > > On Fri, 2015-12-18 at 15:13 +0800, shengjiangwu wrote: > > > Updated pinmux group MIXED1IO[0-13] for RGMII1. > > > Updated EMAC1 clock. > >

Re: [U-Boot] [PATCH v2 1/3] serial: uartlite: Move driver to DM

2015-12-18 Thread Michal Simek
On 18.12.2015 03:40, Simon Glass wrote: > Hi Michal, > > On 17 December 2015 at 11:52, Michal Simek wrote: >> On 17.12.2015 16:27, Simon Glass wrote: >>> Hi Michal, >>> >>> On 17 December 2015 at 06:58, Michal Simek wrote: On 17.12.2015

Re: [U-Boot] ATAGS for Tegra, Sunxi, etc.

2015-12-18 Thread Masahiro Yamada
Hi everyone, Thanks for explanation! Keeping ATAGS makes sense for combination of new U-Boot and old Linux. -- Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [GIT PULL] Xilinx changes for Zynq and Microblaze

2015-12-18 Thread Michal Simek
Hi Tom, here are fixes which I have in my queue for 2016.1. Moving Microblaze drivers to DM will be send after 2016.1 because there are some stuff which are not fully reviewed yet. This patchset contain fixes for zybo, mkimage, gem and microblaze. There is also one generic fix for MANUAL_RELOC

[U-Boot] Asymmetry in setting of "fileaddr" variable

2015-12-18 Thread ELSOFT AG
Hello In net/net.c::net_loop(), the variables "fileaddr" and "filesize" are both set in case of a successful transfer. In fs/fs.c::do_load(), just the variable "filesize" is set in case of success. Is this asymmetry intentional or a mistake? Dave

Re: [U-Boot] [PATCH] mips: add base support for atheros ar71xx based SOCs

2015-12-18 Thread Antony Pavlov
On Fri, 18 Dec 2015 15:34:29 +0800 Wills Wang wrote: > This patch enable work for ar933x SOC, tested on ar9331 > > Signed-off-by: Wills Wang > --- > > arch/mips/Makefile |1 + > arch/mips/include/asm/ar71xx.h

[U-Boot] [PATCH v3 2/3] serial: uartlite: Add support for debug console

2015-12-18 Thread Michal Simek
Add support for debug console. Signed-off-by: Michal Simek Reviewed-by: Thomas Chou --- Changes in v3: - Add static inline to _debug_uart_init Changes in v2: - Add needed header from the first patch - Remove WATCHDOG_RESET call - Extend commit

[U-Boot] [PATCH v3 1/3] serial: uartlite: Move driver to DM

2015-12-18 Thread Michal Simek
Enable SPL DM too. Signed-off-by: Michal Simek Reviewed-by: Thomas Chou --- Changes in v3: - Use BIT macros - Fix logic in pending() for output direction Changes in v2: - Remove unneeded headers - Use get_dev_addr instead of fdtdec_get_addr - Use

[U-Boot] [PATCH v3 0/3] Moving Uartlite to DM

2015-12-18 Thread Michal Simek
Hi, This patch series depends on microblaze cleanup series. All these patches will be available in git://git.denx.de/u-boot-microblaze.git also with patches which I am going to send now. Thanks, Michal Changes in v3: - Use BIT macros - Fix logic in pending() for output direction - Add static

[U-Boot] [PATCH v3 3/3] serial: uartlite: Add uartlite to Kconfig

2015-12-18 Thread Michal Simek
- Move config option out of board file. - Remove uartlite address from config file Signed-off-by: Michal Simek Reviewed-by: Thomas Chou --- Changes in v3: None Changes in v2: None board/xilinx/microblaze-generic/xparameters.h | 4

Re: [U-Boot] [PATCH] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread Marek Vasut
On Friday, December 18, 2015 at 07:36:28 AM, 圣江 吴 wrote: > Hi Marek Vasut, Hi, > I'm not sure if the format is correct, I don't know why patch is plain text > instead of a .patch file. Could you please help to review? Thanks. please keep the list on Cc and do not top-post. It seems your mailer

Re: [U-Boot] [PATCH v2] arm: socfpga: Fix emac1 doesn't work on socdk board

2015-12-18 Thread Marek Vasut
On Friday, December 18, 2015 at 09:50:09 AM, 圣江 吴 wrote: > On Dec 18, 2015, at 12:46 AM, Chin Liang See wrote: > > Hi Shengjiang, > > On Fri, 2015-12-18 at 16:43 +0800, shengjiangwu wrote: > Updated pinmux group MIXED1IO[0-13] for RGMII1. > Updated EMAC1 clock. > >

Re: [U-Boot] [PATCH] arm: socfpga: Fix QSPI doesn't work on socdk board

2015-12-18 Thread Marek Vasut
On Friday, December 18, 2015 at 08:57:22 AM, 圣江 吴 wrote: > Hi Chin, > > The PLL settings are copied from previous version > http://git.rocketboards.org/u-boot-socfpga.git, This stuff should be generated by quartus, so why are you copying it from some random version of u-boot somewhere ? Best

Re: [U-Boot] [PATCH 1/6] arm: socfpga: cyclone5-socdk: Enabling mtd partitioning layout

2015-12-18 Thread Marek Vasut
On Friday, December 18, 2015 at 10:39:12 AM, Chin Liang See wrote: [...] > > > Yeah, I managed to get ubiufsmount work in U-Boot now. Need to > > > disable > > > the 4K_SECTORS when enabling UBI at NOR flash. > > > > In that case, look at commit 0a02655481834a4ebdf457e43c24729ffd7daf37 > > Yup,

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-18 Thread Michal Simek
Hi Stephen, >> Finally, the example scripts support two boards; my >> home/laptop dev >> setup that uses a Numato relay board to control the signals >> to the >> board I use there, and my work desktop dev setup that >> uses our >>

Re: [U-Boot] [PATCH V2 4/7] test/py: test the md/mw commands

2015-12-18 Thread Michal Simek
On 2.12.2015 23:18, Stephen Warren wrote: > This tests whether md/mw work, and affect each-other. > > Command repeat is also tested. > > test/cmd_repeat.sh is removed, since the new Python-based test does > everything it used to. > > Signed-off-by: Stephen Warren >

[U-Boot] [PATCH] altera_qspi: initialize instr.mtd in flash_erase

2015-12-18 Thread Thomas Chou
Initialize instr.mtd in flash_erase(). This fixes the system hang issue when CONFIG_MTD_PARTITIONS is selected. Signed-off-by: Thomas Chou --- drivers/mtd/altera_qspi.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/altera_qspi.c

Re: [U-Boot] [PATCH V2 3/7] test/py: add test of setenv/printenv/echo

2015-12-18 Thread Michal Simek
On 2.12.2015 23:18, Stephen Warren wrote: > This tests basic environment variable functionality. > > Signed-off-by: Stephen Warren > Signed-off-by: Stephen Warren > --- > test/py/test_env.py | 121 >

Re: [U-Boot] [PATCH] altera_qspi: initialize instr.mtd in flash_erase

2015-12-18 Thread Marek Vasut
On Friday, December 18, 2015 at 02:36:04 PM, Thomas Chou wrote: > Initialize instr.mtd in flash_erase(). This fixes the system > hang issue when CONFIG_MTD_PARTITIONS is selected. > > Signed-off-by: Thomas Chou > --- > drivers/mtd/altera_qspi.c | 1 + > 1 file changed, 1

Re: [U-Boot] [PATCH] mips: add base support for atheros ar71xx based SOCs

2015-12-18 Thread Wills Wang
On 12/18/2015 08:54 PM, Antony Pavlov wrote: On Fri, 18 Dec 2015 15:34:29 +0800 Wills Wang wrote: This patch enable work for ar933x SOC, tested on ar9331 Signed-off-by: Wills Wang --- arch/mips/Makefile |1 +

Re: [U-Boot] [PATCH] mips: add base support for atheros ar71xx based SOCs

2015-12-18 Thread Antony Pavlov
On Fri, 18 Dec 2015 23:24:22 +0800 Wills Wang wrote: > On 12/18/2015 08:54 PM, Antony Pavlov wrote: > > On Fri, 18 Dec 2015 15:34:29 +0800 > > Wills Wang wrote: > > > >> This patch enable work for ar933x SOC, tested on ar9331 > >> > >> Signed-off-by:

Re: [U-Boot] [PATCH V2 3/7] test/py: add test of setenv/printenv/echo

2015-12-18 Thread Stephen Warren
On 12/18/2015 06:50 AM, Michal Simek wrote: On 2.12.2015 23:18, Stephen Warren wrote: This tests basic environment variable functionality. Signed-off-by: Stephen Warren Signed-off-by: Stephen Warren --- test/py/test_env.py | 121

Re: [U-Boot] [PULL] u-boot-usb/master

2015-12-18 Thread Tom Rini
On Fri, Dec 18, 2015 at 02:53:28AM +0100, Marek Vasut wrote: > The following changes since commit 52bc7c7e2b31d6ba8d394f3d22b551abfa365363: > > eeprom: fix eeprom write procedure (2015-12-16 10:31:31 -0500) > > are available in the git repository at: > > git://git.denx.de/u-boot-usb.git

Re: [U-Boot] [GIT PULL] Xilinx changes for Zynq and Microblaze

2015-12-18 Thread Tom Rini
On Fri, Dec 18, 2015 at 01:24:06PM +0100, Michal Simek wrote: > Hi Tom, > > here are fixes which I have in my queue for 2016.1. > Moving Microblaze drivers to DM will be send after 2016.1 because there > are some stuff which are not fully reviewed yet. > > This patchset contain fixes for zybo,

Re: [U-Boot] [PATCH V2 4/7] test/py: test the md/mw commands

2015-12-18 Thread Stephen Warren
On 12/18/2015 06:51 AM, Michal Simek wrote: On 2.12.2015 23:18, Stephen Warren wrote: This tests whether md/mw work, and affect each-other. Command repeat is also tested. test/cmd_repeat.sh is removed, since the new Python-based test does diff --git a/test/py/test_md.py

Re: [U-Boot] [PATCH] mips: add base support for atheros ar71xx based SOCs

2015-12-18 Thread Wills Wang
Hi, Antony, I'm sorry, i can't find any code for cache operation in lowlevel_init routine. I mean there are no code maintenance cache in this patch , such as "cache reset" and "dcache enable". Best Regards Wills On 12/19/2015 12:16 AM, Antony Pavlov wrote: On Fri, 18 Dec 2015 23:24:22

Re: [U-Boot] [PATCH] mips: add base support for atheros ar71xx based SOCs

2015-12-18 Thread Antony Pavlov
On Sat, 19 Dec 2015 00:44:19 +0800 Wills Wang wrote: > Hi, Antony, > > I'm sorry, i can't find any code for cache operation in lowlevel_init > routine. > I mean there are no code maintenance cache in this patch , such as > "cache reset" and "dcache enable". I so sorry!

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-18 Thread Stephen Warren
On 12/18/2015 07:50 AM, Michal Simek wrote: Hi Stephen, Finally, the example scripts support two boards; my home/laptop dev setup that uses a Numato relay board to control the signals to the board I use there, and my work desktop dev

Re: [U-Boot] [PATCH 00/11] zap: Do not use macros that are equivalent to IS_ENABLED(CONFIG_...)

2015-12-18 Thread Simon Glass
Hi Masahiro, On 17 December 2015 at 20:23, Marek Vasut wrote: > On Friday, December 18, 2015 at 03:04:59 AM, Masahiro Yamada wrote: >> Please stop such coding habit as follows: >> >> #ifdef CONFIG_FOO >> # define ENABLE_FOO 1 >> #else >> # define ENABLE_FOO 0 >>

[U-Boot] U-Boot Rockchip dwc_hcd question for low-speed devices

2015-12-18 Thread Josh Sanford
All, I am trying to use USB within U-Boot on a Firefly RK3288 (Rockchip) board, and I am able to enumerate high-speed devices, but not full-speed or low-speed devices. I know that the devices are functional, because they work on the same physical hardware when I boot into Linux. Note that I'm

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-18 Thread Marek Vasut
On Friday, December 18, 2015 at 02:07:21 AM, Stefan Brüns wrote: > The configuration descriptor includes all interface, endpoint and > auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. > > Signed-off-by: Stefan Brüns Fine with me,

Re: [U-Boot] Problems with USB 3 hubs

2015-12-18 Thread Aaron Williams
Hi Marek, On 12/17/2015 07:06 AM, Marek Vasut wrote: On Thursday, December 17, 2015 at 10:12:08 AM, Aaron Williams wrote: Hi all, Hi Aaron, I maintain U-Boot for the Cavium Octeon series of 64-bit MIPS processors and have been experiencing problems with USB 3 hubs with XHCI. If I plug in a

[U-Boot] [PULL] Please pull u-boot-nios/master

2015-12-18 Thread Thomas Chou
The following changes since commit 4832e17787acb29734d895751bc7a594908aecc6: Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze (2015-12-18 07:28:24 -0500) are available in the git repository at: git://git.denx.de/u-boot-nios.git master for you to fetch changes up to

Re: [U-Boot] [PATCH V2 1/7] test/py: Implement pytest infrastructure

2015-12-18 Thread Stephen Warren
On 12/18/2015 11:33 AM, Stephen Warren wrote: On 12/18/2015 07:50 AM, Michal Simek wrote: ... - I see that output log doesn't handle tabs correctly - output from i2c bus for example. OK. I can easily make the logging code replace a TAB with something else, e.g. a chain of , although it will

Re: [U-Boot] [RFC PATCH 03/11] mmc: Add support for Qualcomm SDHCI controller

2015-12-18 Thread Simon Glass
Hi Mateusz, On 16 December 2015 at 15:46, Mateusz Kulikowski wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Hi Simon, > > On 15.12.2015 19:58, Simon Glass wrote: >> Hi Mateusz, >> >> On 10 December 2015 at 14:41, Mateusz Kulikowski >>

Re: [U-Boot] [PATCH] usb: Alloc buffer for USB descriptor dynamically

2015-12-18 Thread Simon Glass
Hi, On 17 December 2015 at 18:07, Stefan Brüns wrote: > The configuration descriptor includes all interface, endpoint and > auxiliary descriptors (e.g. report, union) so 512 bytes may not be enough. > > Signed-off-by: Stefan Brüns >

Re: [U-Boot] [PATCH v1 10/18] MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO.

2015-12-18 Thread Simon Glass
n 17 December 2015 at 10:31, Purna Chandra Mandal wrote: > With CONFIG_CMD_GPIO compilation reports error. > common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or directory > #include > ^ > Signed-off-by: Purna Chandra Mandal

Re: [U-Boot] [PATCH 07/10] x86: fsp: Make sure HOB list is not overwritten by U-Boot

2015-12-18 Thread Simon Glass
Hi Bin, On 11 December 2015 at 03:55, Bin Meng wrote: > Intel IvyBridge FSP seems to be buggy that it does not report memory > used by FSP itself as reserved in the resource descriptor HOB. The > FSP specification does not describe how resource descriptor HOBs are > generated

Re: [U-Boot] [PATCH 06/10] x86: ivybridge: Do not require HAVE_INTEL_ME

2015-12-18 Thread Simon Glass
On 11 December 2015 at 03:55, Bin Meng wrote: > Do not set HAVE_INTEL_ME by default as for some cases Intel ME > firmware even does not reside on the same SPI flash as U-Boot. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/ivybridge/Kconfig |

Re: [U-Boot] [PATCH 01/10] fdtdec: Add compatible string for Intel IvyBridge FSP

2015-12-18 Thread Simon Glass
Hi Bin, On 11 December 2015 at 03:55, Bin Meng wrote: > Use "intel,ivybridge-fsp" for Intel IvyBridge FSP compatible string. > > Signed-off-by: Bin Meng > --- > > include/fdtdec.h | 1 + > lib/fdtdec.c | 1 + > 2 files changed, 2 insertions(+) > >

Re: [U-Boot] [PATCH 09/10] x86: ivybridge: Add macros for LPC decode ranges

2015-12-18 Thread Simon Glass
On 11 December 2015 at 03:55, Bin Meng wrote: > Add several macros for LPC decode registers on PCH. > > Signed-off-by: Bin Meng > --- > > arch/x86/include/asm/arch-ivybridge/pch.h | 10 ++ > 1 file changed, 10 insertions(+) Acked-by: Simon Glass

[U-Boot] [PATCH] powerpc: p1_p2_rdb_pc: rename to P2020RDB_PC

2015-12-18 Thread Bryan Hundven
As I work to re-add p1_p2_rdb, CONFIG_P2020RDB conflicts with p1_p2_rdb's CONFIG_P2020RDB. Rename p1_p2_rdb_pc's CONFIG_P2020RDB to CONFIG_P2020RDB_PC. Signed-off-by: Bryan Hundven Cc: Andy Fleming Cc: York Sun ---

Re: [U-Boot] [PATCH v2 6/9] x86: fsp: Introduce CONFIG_FSP_USE_UPD Kconfig option

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:03, Bin Meng wrote: > Not every FSP supports UPD, thus we introduce a Kconfig option > CONFIG_FSP_USE_UPD and use it to wrap these common UPD handling > codes in fsp_support.c. > > Signed-off-by: Bin Meng > > --- > > Changes in

Re: [U-Boot] [Patch V2 4/4] dm: env_sf: fix saveenv() to use driver model

2015-12-18 Thread Simon Glass
Hi Gong, On 15 December 2015 at 03:32, Gong Qianyu wrote: > > It might be missed when converting spi_flash_probe() in cmd_sf.c. > > This commit refers to fbb099183e3a53f77a975964cdf2e73d11e565af. > > Signed-off-by: Gong Qianyu > --- > V2: >

Re: [U-Boot] [PATCH v2 3/9] x86: fsp: Add boot_mode as a member of struct shared_data

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:02, Bin Meng wrote: > Save boot_mode in struct shared_data for future refactoring. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in v2: None > > arch/x86/include/asm/fsp/fsp_support.h |

Re: [U-Boot] [PATCH v2 7/9] x86: queensbay: Remove invalid comments in update_fsp_configs()

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:03, Bin Meng wrote: > Those comments in update_fsp_configs() are not correct. Remove them. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > > --- > > Changes in v2: None > >

Re: [U-Boot] [PATCH v2 8/9] x86: fsp: Move struct fspinit_rtbuf definition to chipset header

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:03, Bin Meng wrote: > All FSP spec v1.0 complaint FSP binary uses struct fspinit_rtbuf > as defined by the 1.0 spec, however there are FSPs that does not > follow 1.0 spec (possible due to that FSP predates the 1.0 spec), > and future FSP binary that

Re: [U-Boot] [PATCH v2 4/9] x86: fsp: Rename shared_data to fsp_config_data

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:02, Bin Meng wrote: > FSP has several config data like UPD, HDA verb table which can be > overridden or provided by bootloader. Currently in U-Boot only UPD > is handled via struct shared_data. To accommodate any platform, we > rename shared_data to

Re: [U-Boot] [PATCH v2 9/9] x86: fsp: Set up init runtime buffer in update_fsp_configs()

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:03, Bin Meng wrote: > fsp_init() runtime buffer parameter might be different across > different platforms. Move this to update_fsp_configs(). > > Signed-off-by: Bin Meng > > --- > > Changes in v2: > - split this patch from v1

Re: [U-Boot] Problems with USB 3 hubs

2015-12-18 Thread Marek Vasut
On Saturday, December 19, 2015 at 01:55:22 AM, Aaron Williams wrote: > Hi Marek, Hi! > On 12/17/2015 07:06 AM, Marek Vasut wrote: > > On Thursday, December 17, 2015 at 10:12:08 AM, Aaron Williams wrote: > >> Hi all, > > > > Hi Aaron, > > > >> I maintain U-Boot for the Cavium Octeon series of

Re: [U-Boot] [PATCH v2] net: eth_designware: select PHYLIB in Kconfig

2015-12-18 Thread Thomas Chou
Hi Marek, On 2015年12月07日 20:53, Thomas Chou wrote: Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB from legacy board header files. This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE are selected. Signed-off-by: Thomas Chou Reported-by: Pavel

Re: [U-Boot] [PATCH v2] net: eth_designware: select PHYLIB in Kconfig

2015-12-18 Thread Marek Vasut
On Saturday, December 19, 2015 at 04:56:38 AM, Thomas Chou wrote: > Hi Marek, > > On 2015年12月07日 20:53, Thomas Chou wrote: > > Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB > > from legacy board header files. > > > > This fixed the warnings when both ALTERA_TSE and

[U-Boot] [PATCH] arm: socfpga: Actually enable L2 cache

2015-12-18 Thread Marek Vasut
The L2 cache was never enabled in the v7_outer_cache_enable(), fix this and enable the L2 cache. Signed-off-by: Marek Vasut Cc: Dinh Nguyen Cc: Chin Liang See --- arch/arm/mach-socfpga/misc.c | 7 +-- 1 file changed, 5

[U-Boot] [PATCH] arm: socfpga: Define NAND reset bit

2015-12-18 Thread Marek Vasut
Define the NAND reset bit and fix the ordering of the macros. Signed-off-by: Marek Vasut Cc: Dinh Nguyen --- arch/arm/mach-socfpga/include/mach/reset_manager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH] arm: socfpga: Unreset NAND in SPL

2015-12-18 Thread Marek Vasut
If the system boots from NAND, make sure to de-assert the NAND IP reset, otherwise the system will get stuck. Signed-off-by: Marek Vasut Cc: Dinh Nguyen --- arch/arm/mach-socfpga/spl.c | 1 + 1 file changed, 1 insertion(+) diff --git

Re: [U-Boot] [PATCH v2 2/9] x86: fsp: Avoid cast stack_top in struct shared_data

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:02, Bin Meng wrote: > Declare stack_top as u32 in struct shared_data and struct common_buf > so that we can avoid casting in fsp_init(). > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- > > Changes in

Re: [U-Boot] [PATCH 2/7] dm: pci: Add a function to write a BAR

2015-12-18 Thread Simon Glass
Hi Bin, On 8 December 2015 at 06:23, Bin Meng wrote: > Hi Simon, > > On Tue, Dec 1, 2015 at 12:11 PM, Simon Glass wrote: >> Add a driver-model version of the pci_write_bar32 function so that this is >> supported in the new API. >> >> Signed-off-by: Simon

Re: [U-Boot] [PATCH v2 1/9] x86: fsp: Simplify fsp_continue()

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:02, Bin Meng wrote: > There is no need to pass shared_data to fsp_continue() so we can > remove unnecessary codes that simplifies the function a lot. > > Signed-off-by: Bin Meng > Acked-by: Simon Glass > --- >

Re: [U-Boot] [PATCH 2/2] ns16550: zap the rockchip serial compatible string

2015-12-18 Thread Simon Glass
On 10 December 2015 at 22:08, Thomas Chou wrote: > Zap the rockchip serial compatible string, because rockchip > serial has "snps,dw-apb-uart" compatible string in the dts. > > Signed-off-by: Thomas Chou > --- > drivers/serial/ns16550.c | 6 +- >

Re: [U-Boot] [PATCH v2 5/9] x86: fsp: Rename update_fsp_upd() and change its signature

2015-12-18 Thread Simon Glass
On 10 December 2015 at 23:03, Bin Meng wrote: > To support platform-specific configurations (might not always be > UPD on some platform), use a better name update_fsp_configs() and > accepct struct fsp_config_data as its parameter so that platform > codes can handle whatever

Re: [U-Boot] [PATCH 10/10] x86: Add Intel Cougar Canyon 2 board

2015-12-18 Thread Simon Glass
Hi Bin, On 11 December 2015 at 03:55, Bin Meng wrote: > This adds basic support to Intel Cougar Canyon 2 board, a board > based on Chief River platform with an Ivy Bridge processor and > a Panther Point chipset. > > Signed-off-by: Bin Meng > > --- > >

Re: [U-Boot] [PATCH 02/10] x86: ivybridge: Add FSP support

2015-12-18 Thread Simon Glass
On 11 December 2015 at 03:55, Bin Meng wrote: > IvyBridge FSP package is built with a base address at 0xfff8, > and does not use UPD data region. This adds basic FSP support. > > Signed-off-by: Bin Meng > --- > > arch/x86/cpu/ivybridge/Kconfig