Re: [U-Boot] [PATCH v4 2/4] usb: dwc2-otg: adjust fifo size via platform data

2016-07-15 Thread Marek Vasut
On 07/15/2016 05:56 AM, Simon Glass wrote: On 14 July 2016 at 21:20, Simon Glass wrote: On 14 July 2016 at 00:52, Ziyuan Xu wrote: From: Xu Ziyuan The total FIFO size of some SoCs may be different from the existen, this patch supports fifo size setting from platform data. Signed-off-by: Zi

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Stephen Warren
On 07/15/2016 10:29 AM, Tom Rini wrote: On Fri, Jul 15, 2016 at 10:22:36AM -0600, Simon Glass wrote: Hi Tom, On 15 July 2016 at 10:13, Tom Rini wrote: On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote: Hi Tom, On 15 July 2016 at 09:46, Tom Rini wrote: On Fri, Jul 15, 2016 at 09:

[U-Boot] [PATCH v2] armv8: spl: Call board_init_r from crt0_64 in SPL

2016-07-15 Thread Jeremy Hunt
As part of the startup process for boards using the SPL, the meaning of board_init_f changed such that it should return normally rather than calling board_init_r directly. (see db910353a126d84fe8dff7a694ea792f50fcfb6a ) This was fixed in 32-bit arm, but broke when SPL was added to 64 bit arm. This

[U-Boot] [PATCH 9/9] rockchip: rk3188: Add clock driver

2016-07-15 Thread Heiko Stuebner
Add a driver for setting up and modifying the various PLLs and peripheral clocks on the RK3188. Signed-off-by: Heiko Stuebner --- arch/arm/include/asm/arch-rockchip/cru_rk3188.h | 186 ++ drivers/clk/Makefile| 1 + drivers/clk/clk_rk3188.c

[U-Boot] [PATCH 7/9] rockchip: rk3188: Add pinctrl driver

2016-07-15 Thread Heiko Stuebner
Add a driver which supports pin multiplexing setup for the most commonly used peripherals. Signed-off-by: Heiko Stuebner --- drivers/pinctrl/Kconfig | 9 + drivers/pinctrl/rockchip/Makefile | 1 + drivers/pinctrl/rockchip/pinctrl_rk3188.c | 614 +

[U-Boot] [PATCH 2/9] cosmetic: rockchip: rk3036: pinctrl: fix config symbol naming

2016-07-15 Thread Heiko Stuebner
Rockchip socs are always named rk in all places, as also shown by the naming of the rk3036 pinctrl file itself. Therefore also name the config symbol according to this scheme. Signed-off-by: Heiko Stuebner --- configs/evb-rk3036_defconfig | 2 +- configs/kylin-rk3036_defconfig| 2 +-

[U-Boot] [PATCH 8/9] rockchip: rk3188: Bring in rk3066/rk3188 clock bindings

2016-07-15 Thread Heiko Stuebner
Bring in required device clock binding files from Linux. The clock trees for rk3066 and rk3188 are largely similar, which makes them share the common parts in a shared header. While we focus on rk3188 for now, bring in both headers already for completeness sake. Signed-off-by: Heiko Stuebner ---

[U-Boot] [PATCH 5/9] rockchip: rk3288: fix FREF_MIN_HZ constant

2016-07-15 Thread Heiko Stuebner
According to the TRM the minimum FREF frequency is 269kHz not MHz. Adapt the constant accordingly. Signed-off-by: Heiko Stuebner --- drivers/clk/clk_rk3288.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/clk/clk_rk3288.c b/drivers/clk/clk_rk3288.c index dece4bc..a41

[U-Boot] [PATCH 3/9] cosmetic: rockchip: sort socs according to numbers

2016-07-15 Thread Heiko Stuebner
Having some sort of ordering proofed helpful in a lot of other places already. So for a larger number of rockchip socs it might be helpful as well instead of an ever increasing unsorted list. Signed-off-by: Heiko Stuebner --- arch/arm/mach-rockchip/Kconfig| 20 ++-- arch/arm/

[U-Boot] [PATCH 6/9] rockchip: rk3188: Add header files for PMU and GRF

2016-07-15 Thread Heiko Stuebner
PMU is the power management unit and GRF is the general register file. Both are heavily used in U-Boot. Add header files with register definitions. Signed-off-by: Heiko Stuebner --- arch/arm/include/asm/arch-rockchip/grf_rk3188.h | 589 arch/arm/include/asm/arch-rockchip

[U-Boot] [PATCH 0/9] rockchip: cosmetics, a fix and first steps on the rk3188

2016-07-15 Thread Heiko Stuebner
I've made some nice progress on using mainline uboot on the rk3188 and would like to dump some first results. Right now I can use uboot on the rk3188 with the Rockchip binary ddr init, similar to what barebox does and can even netboot a kernel image using a usb ethernet adapter [0] . While workin

[U-Boot] [PATCH 1/9] cosmetic: rockchip: rk3288: pinctrl: fix config symbol naming

2016-07-15 Thread Heiko Stuebner
The rk3288 pinctrl is very specific to this soc, so should not hog the generic rockchip naming. Signed-off-by: Heiko Stuebner --- configs/chromebook_jerry_defconfig | 2 +- configs/firefly-rk3288_defconfig | 2 +- configs/rock2_defconfig| 2 +- configs/sandbox_defconfig |

[U-Boot] [PATCH 4/9] cosmetic: rockchip: rk3288: rename rkclk_configure_cpu

2016-07-15 Thread Heiko Stuebner
The function is very specific to the rk3288 in its arguments referencing the rk3288 cru and grf and every other rockchip soc has differing cru and grf registers. So make that function naming explicit. Signed-off-by: Heiko Stuebner --- arch/arm/include/asm/arch-rockchip/clock.h | 2 +- arch/arm

Re: [U-Boot] [PATCH v3 0/5] add support for rk3399 soc and evb

2016-07-15 Thread Heiko Stübner
Hi Kever, Am Freitag, 15. Juli 2016, 16:42:08 schrieb Kever Yang: > This patchset add support for rk3399 with ATF based on > Rockchip miniloader as secondary bootloader instead of > u-boot SPL. > > Rockchip miniloader init the DRAM and load the ATF and > u-boot to runing address, and then jump to

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 04:18:43PM -0400, Robert P. J. Day wrote: > On Fri, 15 Jul 2016, Tom Rini wrote: > > > On Fri, Jul 15, 2016 at 03:37:52PM -0400, Robert P. J. Day wrote: > > > h ... https://tincantools.com/wiki/Flyswatter3_PIC32MX_How_To > > > > Well, it's not listed on the store yet,

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 03:37:52PM -0400, Robert P. J. Day wrote: > > h ... https://tincantools.com/wiki/Flyswatter3_PIC32MX_How_To > > Well, it's not listed on the store yet, so I'd contact them > privately if I were you :) hm ... quite so. so,

[U-Boot] [PATCH] gdsys: Drop print_fpga_state function

2016-07-15 Thread Tom Rini
On most platforms the print_fpga_state function is never called. Only on dlvision-10g do we, so in that case inline it. Drop it from everywhere else to avoid extra strings. Signed-off-by: Tom Rini Acked-by: Reinhard Pfau Acked-by: Dirk Eibach --- Changes in v2: - Per Reinhard, use fpga_state

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 03:37:52PM -0400, Robert P. J. Day wrote: > On Fri, 15 Jul 2016, Tom Rini wrote: > > > On Fri, Jul 15, 2016 at 03:29:54PM -0400, Robert P. J. Day wrote: > > > On Fri, 15 Jul 2016, Tom Rini wrote: > > > > > > > On Fri, Jul 15, 2016 at 08:38:57AM -0400, Robert P. J. Day wrote

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 03:29:54PM -0400, Robert P. J. Day wrote: > > On Fri, 15 Jul 2016, Tom Rini wrote: > > > > > On Fri, Jul 15, 2016 at 08:38:57AM -0400, Robert P. J. Day wrote: > > > > > > > i am in no way a BDM/JTAG authority, but i notice that on th

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 03:29:54PM -0400, Robert P. J. Day wrote: > On Fri, 15 Jul 2016, Tom Rini wrote: > > > On Fri, Jul 15, 2016 at 08:38:57AM -0400, Robert P. J. Day wrote: > > > > > i am in no way a BDM/JTAG authority, but i notice that on this > > > u-boot page: > > > > > > http://www.denx

[U-Boot] [PATCH] configs: Add more CONFIG_ARMV7_PSCI_NR_CPUS entries

2016-07-15 Thread Tom Rini
The code had assumed 4 CPUS before and now we have this configurable. For now, set this to the previous default. Cc: Chander Kashyap Cc: Steve Rae Cc: Minkyu Kang Signed-off-by: Tom Rini --- include/configs/arndale.h | 1 + include/configs/bcm_ep_board.h | 1 + include/configs/

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 08:38:57AM -0400, Robert P. J. Day wrote: > > > i am in no way a BDM/JTAG authority, but i notice that on this > > u-boot page: > > > > http://www.denx.de/wiki/DULG/UBootInstallUsingBDM > > > > there is a recommendation for the BDI20

Re: [U-Boot] [PATCH v4 2/9] efi_loader: AArch64: Run EFI payloads in EL2 if U-Boot runs in EL3

2016-07-15 Thread york sun
On 06/21/2016 10:44 PM, Alexander Graf wrote: > > > On 21.06.16 20:02, york sun wrote: >> On 06/21/2016 10:55 AM, Alexander Graf wrote: >>> >>> Am 21.06.2016 um 19:12 schrieb york sun : > On 06/20/2016 04:07 PM, Alexander Graf wrote: > Some boards decided not to run ATF or other s

Re: [U-Boot] [RFC PATCH 1/1] mtd: nand: fix bug writing 1 byte less than page size

2016-07-15 Thread Scott Wood
On Fri, 2016-07-15 at 09:45 +0200, Hector Palacios wrote: > nand_do_write_ops() determines if it is writing a partial page with the > formula: > part_pagewr = (column || writelen < (mtd->writesize - 1)) > > When 'writelen' is exactly 1 byte less than the NAND page size the formula > equates

[U-Boot] [PATCH v2] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Robert P. J. Day
Fix a number of typos, including: * "compatble" -> "compatible" * "eanbeld" -> "enabled" * "envrionment" -> "environment" * "FTD" -> "FDT" (for "flattened device tree") * "ommitted" -> "omitted" * "overriden" -> "overridden" * "partiton" -> "partition" *

Re: [U-Boot] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 01:22:26PM -0400, Robert P. J. Day wrote: > On Fri, 15 Jul 2016, Tom Rini wrote: > > > On Fri, Jul 15, 2016 at 07:17:36AM -0400, Robert P. J. Day wrote: > > > > > Fix a number of typos, including: > > > > > > * "comptible", "compatble" -> "compatible" > > > *

Re: [U-Boot] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Robert P. J. Day
On Fri, 15 Jul 2016, Tom Rini wrote: > On Fri, Jul 15, 2016 at 07:17:36AM -0400, Robert P. J. Day wrote: > > > Fix a number of typos, including: > > > > * "comptible", "compatble" -> "compatible" > > * "eanbeld" -> "enabled" > > * "envrionment" -> "environment" > > * "FTD"

Re: [U-Boot] [PATCH v2] rockchip: sdram: Fix register layout for Linux

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 05:33:23PM +0100, John Keeping wrote: > The ChromeOS kernel reads the RAM settings from PMU_SYS_REG2 and expects > the bootloader to store the necessary information there. We're using > the same register to pass the same information between the SPL and > U-Boot but in a sl

[U-Boot] [PATCH v2] rockchip: sdram: Fix register layout for Linux

2016-07-15 Thread John Keeping
The ChromeOS kernel reads the RAM settings from PMU_SYS_REG2 and expects the bootloader to store the necessary information there. We're using the same register to pass the same information between the SPL and U-Boot but in a slightly different format. Change this to use the format expected by the

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 10:22:36AM -0600, Simon Glass wrote: > Hi Tom, > > On 15 July 2016 at 10:13, Tom Rini wrote: > > On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote: > >> Hi Tom, > >> > >> On 15 July 2016 at 09:46, Tom Rini wrote: > >> > On Fri, Jul 15, 2016 at 09:28:21AM -0600,

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Simon Glass
Hi Tom, On 15 July 2016 at 10:13, Tom Rini wrote: > On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 15 July 2016 at 09:46, Tom Rini wrote: >> > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote: >> >> On 07/14/2016 10:02 PM, Simon Glass wrote: >> >>

Re: [U-Boot] [PATCH] Revert "Revert "rockchip: rk3288: correct sdram setting""

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 04:24:57PM +0100, John Keeping wrote: > The original commit was correct, except fot the priority of the mask > when extracting "bw" to calculate the SDRAM size. Add the necessary > parentheses so that we can apply the original fix. > > This reverts commit b525556e6325aa71

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 10:08:34AM -0600, Simon Glass wrote: > Hi Tom, > > On 15 July 2016 at 09:46, Tom Rini wrote: > > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote: > >> On 07/14/2016 10:02 PM, Simon Glass wrote: > >> >Hi Tom, > >> > > >> >Here is the of-platdata implementatio

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Simon Glass
Hi Stephen, On 15 July 2016 at 09:28, Stephen Warren wrote: > On 07/14/2016 10:02 PM, Simon Glass wrote: >> >> Hi Tom, >> >> Here is the of-platdata implementation, including the introduction of >> sandbox_spl. >> >> >> The following changes since commit >> 3a592a1349ac3961b0f4f2db0a8d9f128225d89

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Simon Glass
Hi Tom, On 15 July 2016 at 09:46, Tom Rini wrote: > On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote: >> On 07/14/2016 10:02 PM, Simon Glass wrote: >> >Hi Tom, >> > >> >Here is the of-platdata implementation, including the introduction of >> >sandbox_spl. >> > >> > >> >The following

[U-Boot] [PATCH] Revert "Revert "rockchip: rk3288: correct sdram setting""

2016-07-15 Thread John Keeping
The original commit was correct, except fot the priority of the mask when extracting "bw" to calculate the SDRAM size. Add the necessary parentheses so that we can apply the original fix. This reverts commit b525556e6325aa71427c0519f36247981cd444df. Signed-off-by: John Keeping --- arch/arm/ma

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 09:28:21AM -0600, Stephen Warren wrote: > On 07/14/2016 10:02 PM, Simon Glass wrote: > >Hi Tom, > > > >Here is the of-platdata implementation, including the introduction of > >sandbox_spl. > > > > > >The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897

Re: [U-Boot] [PATCH v2] dm: clk: Remove simple version of clk_get_by_index/name()

2016-07-15 Thread Stephen Warren
On 07/15/2016 01:02 AM, Michal Simek wrote: Simple version of clk_get_by_index() added by: "dm: clk: Add a simple version of clk_get_by_index()" (sha1: a4b10c088c4f6ef2e2bba33e8cfea369bcbbce44) is only working for #clock-cells=<1> but not for any other values. Fixed clocks is using #clock-cells=<

Re: [U-Boot] Please pull u-boot-dm

2016-07-15 Thread Stephen Warren
On 07/14/2016 10:02 PM, Simon Glass wrote: Hi Tom, Here is the of-platdata implementation, including the introduction of sandbox_spl. The following changes since commit 3a592a1349ac3961b0f4f2db0a8d9f128225d897: Revert "armv8: Enable CPUECTLR.SMPEN for coherency" (2016-07-14 17:36:18 -0400)

Re: [U-Boot] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 07:17:36AM -0400, Robert P. J. Day wrote: > Fix a number of typos, including: > > * "comptible", "compatble" -> "compatible" > * "eanbeld" -> "enabled" > * "envrionment" -> "environment" > * "FTD" -> "FDT" (for "flattened device tree") > * "omm

Re: [U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Tom Rini
On Fri, Jul 15, 2016 at 08:38:57AM -0400, Robert P. J. Day wrote: > i am in no way a BDM/JTAG authority, but i notice that on this > u-boot page: > > http://www.denx.de/wiki/DULG/UBootInstallUsingBDM > > there is a recommendation for the BDI2000/BDI3000, but those are on > their way out: > >

Re: [U-Boot] [PATCH v4.1 3/4] rockchip: rk3288: add fastboot support

2016-07-15 Thread Simon Glass
Hi Ziyuan, On 15 July 2016 at 08:05, Ziyuan Xu wrote: > > Hi Simon, > > On 2016年07月15日 11:20, Simon Glass wrote: >> >> On 14 July 2016 at 10:26, Ziyuan Xu wrote: >>> >>> From: Xu Ziyuan >>> >>> Enable fastboot feature on rk3288. >>> >>> This path doesn't support the fastboot flash function comm

[U-Boot] Please pull u-boot-sunxi master

2016-07-15 Thread Hans de Goede
Hi Tom, Here is the first sunxi pull-req for v2016.09, the big one here is Chen-Yu's PSCI cleanup, this also touches non sunxi specific files but it seemed best to me merge this through the sunxi tree. Besides this, it contains a h3 ethernet driver, a few misc. fixes and 1 new board. Note I'm g

Re: [U-Boot] [PATCH 0/4] Ability to load linux kernel on rock2 RK3288

2016-07-15 Thread Sandy Patterson
Hi Simon, I think I screwed up submitting, and didn't cc the maintainers for the reverts. I can resubmit and get patman to behave. What do you suggest? I still think this is the best patch to getting rock2 to load kernels again. I just retested with a patch specific to my kernel. I think 3.14 li

[U-Boot] AHCI driver is quiet slow

2016-07-15 Thread Yaroslav K.
Hello! I'm using U-boot with x86 hardware (Atom C2000) and Linux, and I've noticed that the AHCI driver in U-boot is quiet much slower than the one in Linux. The drive connected is an 8 GB SATA SSD. U-boot: => time scsi read 0x1000 0 0x10 SCSI read: device 0 block # 0, count 1048576 ..

[U-Boot] [PATCH] armv8: ls1043a: add pxe commands

2016-07-15 Thread Wenbin Song
Configure to support U-boot's pxe. Signed-off-by: Wenbin Song --- include/configs/ls1043a_common.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/ls1043a_common.h b/include/configs/ls1043a_common.h index b0d4a8d..2083b0d 100644 --- a/include/configs/ls1043a_common.h +++ b/

Re: [U-Boot] [PATCH v4.1 3/4] rockchip: rk3288: add fastboot support

2016-07-15 Thread Ziyuan Xu
Hi Simon, On 2016年07月15日 11:20, Simon Glass wrote: On 14 July 2016 at 10:26, Ziyuan Xu wrote: From: Xu Ziyuan Enable fastboot feature on rk3288. This path doesn't support the fastboot flash function command entirely. patch? Yup, patch!!! We will hit "cannot find partition" assertion wi

[U-Boot] [PATCH] imx: ventana: enable splashscreen support

2016-07-15 Thread Tim Harvey
Signed-off-by: Tim Harvey --- include/configs/gw_ventana.h | 7 --- tools/logos/gateworks.bmp| Bin 0 -> 56202 bytes 2 files changed, 4 insertions(+), 3 deletions(-) create mode 100644 tools/logos/gateworks.bmp diff --git a/include/configs/gw_ventana.h b/include/configs/gw_ventana.h i

[U-Boot] [PATCH 2/2] imx: ventana: add dt fixup for watchdog external reset

2016-07-15 Thread Tim Harvey
Added removal of the fsl,ext-reset-output property in the wdog node for board revisions that pre-date the addition of the external watchdog reset signal. This property is a recent addition to mainline linux kernel in order to specify that the IMX watchdog external reset should be used instead of t

[U-Boot] [PATCH 1/2] imx: ventana: refactor board-specific dt fixups (no functional change)

2016-07-15 Thread Tim Harvey
Re-factor the board-specific dt fixups so that they are easier to follow and extend in the future: - use defines for DT paths - use switch/case per board - order models numerically There is no functional change in the code Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/gw_ventana.c

[U-Boot] [PATCH 0/2] imx: ventana: add dt fixup for watchdog external reset

2016-07-15 Thread Tim Harvey
Tim Harvey (2): imx: ventana: refactor board-specific dt fixups (no functional change) imx: ventana: add dt fixup for watchdog external reset board/gateworks/gw_ventana/gw_ventana.c | 192 1 file changed, 121 insertions(+), 71 deletions(-) -- 1.9.1

[U-Boot] [PATCH 4/4] imx: ventana: make hwconfig initialize based on board configuration

2016-07-15 Thread Tim Harvey
The hwconfig env var allows user to control hardware specific configuration of board specific features but not all Ventana boards have the same features. We will use the magic default value of "_UNKNOWN_" to signify that the bootloader should create this based on detected board model. Signed-off-

[U-Boot] [PATCH 1/4] imx: ventana: make RS232 enable board specific

2016-07-15 Thread Tim Harvey
Not all Ventana boards have an RS232 transceiver, make it board specific. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 34 +- board/gateworks/gw_ventana/common.h | 2 ++ 2 files changed, 27 insertions(+), 9 deletions(-) diff --git a/board/

[U-Boot] [PATCH 3/4] imx: ventana: add extra DIO's for GW5520

2016-07-15 Thread Tim Harvey
The GW5520 has 10 DIO's instead of the typical 4 found on the Ventana product family. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 36 1 file changed, 36 insertions(+) diff --git a/board/gateworks/gw_ventana/common.c b/board/gateworks

[U-Boot] [PATCH 2/4] imx: ventana: make number of digital I/O's dynamic

2016-07-15 Thread Tim Harvey
Replace the static list of board-specific digital I/O's with a dynamic list. Signed-off-by: Tim Harvey --- board/gateworks/gw_ventana/common.c | 399 board/gateworks/gw_ventana/common.h | 8 +- board/gateworks/gw_ventana/gw_ventana.c | 2 +- 3 files c

[U-Boot] [PATCH 0/4] make rs232 and dio board-specific

2016-07-15 Thread Tim Harvey
The Ventana U-Boot target supports a family of IMX6 based boards (6 boards currently) which have a variety of features. Make RS232 and the number of digital IO's baseboard specific. Tim Harvey (4): imx: ventana: make RS232 enable board specific imx: ventana: make number of digital I/O's dynami

[U-Boot] curious about "#ifndef CONFIG_ENV_OVERWRITE" test in lsxl.c

2016-07-15 Thread Robert P. J. Day
was perusing the wiki page on u-boot environment variables: http://www.denx.de/wiki/view/DULG/UBootPowerOn and just now learned about the ability to mark environment variables as "set once", that sort of thing, so i went looking for examples, and noticed, in board/buffalo/lsxl/lsxl.c: #ifnd

Re: [U-Boot] [PATCH 0/5] imx: ventana: stability fixes

2016-07-15 Thread Tim Harvey
On Wed, Jul 13, 2016 at 3:48 AM, Stefano Babic wrote: > Hi Tim, > > On 17/06/2016 15:01, Tim Harvey wrote: >> This series addresses some stability issues related to voltage rails on >> the IMX6 based Gateworks Ventana product family. >> >> Tim Harvey (5): >> imx: mx6: export the set_ldo_voltage

Re: [U-Boot] [PATCH] README: SPI Support: Add & explain undocumented SPI_FLASH options.

2016-07-15 Thread Jagan Teki
On 12 June 2016 at 02:15, Ahmed Samir Khalil wrote: > CONFIG_SPI_FLASH_BAR & CONFIG_SPI_FLASH_MTD are used without > documentation. Documenting these options makes getting startup, > configuration & testing easier. > > Signed-off-by: Ahmed Samir Khalil > --- > README | 10 ++ > 1 file ch

Re: [U-Boot] [PATCH] README: SPI: Add & explain missed SPI & serial flash options.

2016-07-15 Thread Jagan Teki
On 11 June 2016 at 19:00, Ahmed Samir Khalil wrote: > There are no README documentation about these options of SPI & > serial flash devices. Documenting these options makes getting > startup, configuration & testing easier. > > Signed-off-by: Ahmed Samir Khalil > --- > README | 15 ++

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-15 Thread Jagan Teki
Hi Hans, Excluded list, have some questions. I'm planning to take to sunix, is this only u-boot or linux as well? what all the hw boards should require to purchase? On 15 July 2016 at 14:15, Hans de Goede wrote: > Hi, > > On 04-07-16 14:57, Hans de Goede wrote: >> >> Hi All, >> >> Between my $d

[U-Boot] update u-boot BDM/JTAG debugger page?

2016-07-15 Thread Robert P. J. Day
i am in no way a BDM/JTAG authority, but i notice that on this u-boot page: http://www.denx.de/wiki/DULG/UBootInstallUsingBDM there is a recommendation for the BDI2000/BDI3000, but those are on their way out: http://www.abatron.ch/news/eol-bdi-products/ so are there any other recommendations

[U-Boot] Various, unrelated tree-wide typo fixes.

2016-07-15 Thread Robert P. J. Day
Fix a number of typos, including: * "comptible", "compatble" -> "compatible" * "eanbeld" -> "enabled" * "envrionment" -> "environment" * "FTD" -> "FDT" (for "flattened device tree") * "ommitted" -> "omitted" * "overriden" -> "overridden" * "partiton" -> "part

[U-Boot] MinnowBoard Turbot U-boot is in 64-bit mode or 32-bit mode

2016-07-15 Thread vinoth eswaran
Hi Mr.Simon Glass, Currently I am working on an embedded project with Minnowmax Turbot. I am checking the performance of different compression algorithms that can be employed in FIT image. I came across Brotli and felt that it might suit my use case. I had integrated the Brotli to U-Boot and tes

Re: [U-Boot] [PATCHv3] spi: Add support for N25Q016A

2016-07-15 Thread Jagan Teki
On 15 July 2016 at 04:52, Moritz Fischer wrote: > This commit adds support in the spi-nor driver for the > N25Q016A, a 16Mbit SPI NOR flash from Micron. > > Signed-off-by: Moritz Fischer Applied to u-boot-spi/master thanks! -- Jagan. ___ U-Boot maili

Re: [U-Boot] Stepping down as sunxi u-boot custodian

2016-07-15 Thread Hans de Goede
Hi, On 04-07-16 14:57, Hans de Goede wrote: Hi All, Between my $dayjob, linux-sunxi, other foss projects and last but not least spending time with my wife and children I'm way too busy lately. So I've decided to seriously scale back my involvement in linux-sunxi, as such I'm going to step down

[U-Boot] [PATCH v3 3/5] config: add config file for evb-rk3399

2016-07-15 Thread Kever Yang
This patch add basic config option for evb-rk3399 board. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None configs/evb-rk3399_defconfig | 32 1 file changed, 32 insertions(+) create mode 100644 configs/evb-rk3399_defconfig diff --git a/con

[U-Boot] [PATCH v3 4/5] mmc: rockchip: add SDHCI driver support for rockchip soc

2016-07-15 Thread Kever Yang
Rockchip rk3399 using arasan sdhci-5.1 controller. This patch add the controller support to enable mmc device and tested on rk3399 evb board. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None drivers/mmc/Kconfig | 6 + drivers/mmc/Makefile | 1 + driv

[U-Boot] [PATCH v3 0/5] add support for rk3399 soc and evb

2016-07-15 Thread Kever Yang
This patchset add support for rk3399 with ATF based on Rockchip miniloader as secondary bootloader instead of u-boot SPL. Rockchip miniloader init the DRAM and load the ATF and u-boot to runing address, and then jump to ATF, ATM do some init and switch to EL2/EL1 mode before jump to next loader w

[U-Boot] [PATCH v3 2/5] ARM64: rockchip: add support for rk3399 SoC based evb-board

2016-07-15 Thread Kever Yang
RK3399 is a SoC from Rockchip with dual-core Cortex-A72 and qual-core Cortex-A53 CPU. It supports two USB3.0 type-C ports and two USB2.0 EHCI ports. Other interfaces are very like RK3288, the DRAM are 32bit width address and support address from 0 to 4GB-128MB range. Signed-off-by: Kever Yang ---

[U-Boot] [PATCH v3 1/5] dts: add support for rkchichip rk3399 soc

2016-07-15 Thread Kever Yang
These files are from kernel upstream with some modification need by uboot: - chosen with stdout-path to uart2. Signed-off-by: Kever Yang --- Changes in v3: None Changes in v2: None arch/arm/dts/Makefile |3 +- arch/arm/dts/rk3399-evb.dts| 104 arch/arm/dt

[U-Boot] [PATCH v2 4/5] mmc: rockchip: add SDHCI driver support for rockchip soc

2016-07-15 Thread Kever Yang
Rockchip rk3399 using arasan sdhci-5.1 controller. This patch add the controller support to enable mmc device and tested on rk3399 evb board. Signed-off-by: Kever Yang --- Changes in v2: None drivers/mmc/Kconfig | 6 + drivers/mmc/Makefile | 1 + drivers/mmc/rockchip_sdh

[U-Boot] [PATCH v2 1/5] dts: add support for rkchichip rk3399 soc

2016-07-15 Thread Kever Yang
These files are from kernel upstream with some modification need by uboot: - chosen with stdout-path to uart2. Signed-off-by: Kever Yang --- Changes in v2: None arch/arm/dts/Makefile |3 +- arch/arm/dts/rk3399-evb.dts| 104 arch/arm/dts/rk3399.dtsi

[U-Boot] [PATCH v2 3/5] config: add config file for evb-rk3399

2016-07-15 Thread Kever Yang
This patch add basic config option for evb-rk3399 board. Signed-off-by: Kever Yang --- Changes in v2: None configs/evb-rk3399_defconfig | 32 1 file changed, 32 insertions(+) create mode 100644 configs/evb-rk3399_defconfig diff --git a/configs/evb-rk3399_defc

[U-Boot] [PATCH v2 2/5] ARM64: rockchip: add support for rk3399 SoC based evb-board

2016-07-15 Thread Kever Yang
RK3399 is a SoC from Rockchip with dual-core Cortex-A72 and qual-core Cortex-A53 CPU. It supports two USB3.0 type-C ports and two USB2.0 EHCI ports. Other interfaces are very like RK3288, the DRAM are 32bit width address and support address from 0 to 4GB-128MB range. Signed-off-by: Kever Yang ---

[U-Boot] [PATCH v2 0/5] add support for rk3399 soc and evb

2016-07-15 Thread Kever Yang
This patchset add support for rk3399 with ATF based on Rockchip miniloader as secondary bootloader instead of u-boot SPL. Rockchip miniloader init the DRAM and load the ATF and u-boot to runing address, and then jump to ATF, ATM do some init and switch to EL2/EL1 mode before jump to next loader w

[U-Boot] [RFC PATCH 1/1] mtd: nand: fix bug writing 1 byte less than page size

2016-07-15 Thread Hector Palacios
nand_do_write_ops() determines if it is writing a partial page with the formula: part_pagewr = (column || writelen < (mtd->writesize - 1)) When 'writelen' is exactly 1 byte less than the NAND page size the formula equates to zero, so the code doesn't process it as a partial write, although

[U-Boot] [RFC PATCH 0/1] bug writing to NAND 1 byte less than page size

2016-07-15 Thread Hector Palacios
Hi, I found this bug on v2015.04 but I guess it happens also in v2016.07 as I believe it has been there since 2007. It is so strange that nobody caught this before that I fear I'm doing something wrong or not taking something into account on the suggested fix, so I'd like to know if others can rep

Re: [U-Boot] [RFC PATCH 2/7] net: dm: Ignore unknown env_op_* constants

2016-07-15 Thread Bernhard Nortmann
Hi Simon! Am 15.07.2016 um 05:19 schrieb Simon Glass: [...] Presumably hitting the default would be an internal error. So in that case there is no point in returning an error, I think, and what you have is best. Regards, Simon It's not pretty, but a "catch all" solution. The alternative is t

Re: [U-Boot] [PATCH] libfdt: Add option to disable arch_fixup_fdt() calls

2016-07-15 Thread Michal Simek
On 10.6.2016 18:44, Simon Glass wrote: > Hi Michal, > > On 9 June 2016 at 08:23, Michal Simek wrote: >> Disable arch_fixup_fdt() calls for cases where U-Boot shouldn't update >> memory setup in DTB file. >> One example of usage of this option is to boot OS with different memory >> setup than U-Bo

[U-Boot] [PATCH v2] libfdt: Introduce new ARCH_FIXUP_FDT option

2016-07-15 Thread Michal Simek
Add new Kconfig option to disable arch_fixup_fdt() calls for cases where U-Boot shouldn't update memory setup in DTB file. One example of usage of this option is to boot OS with different memory setup than U-Boot use. Signed-off-by: Michal Simek --- Changes in v2: - Change logic to be possitive

[U-Boot] [PATCH v2] dm: clk: Remove simple version of clk_get_by_index/name()

2016-07-15 Thread Michal Simek
Simple version of clk_get_by_index() added by: "dm: clk: Add a simple version of clk_get_by_index()" (sha1: a4b10c088c4f6ef2e2bba33e8cfea369bcbbce44) is only working for #clock-cells=<1> but not for any other values. Fixed clocks is using #clock-cells=<0> which requires full implementation. Remove