[U-Boot] [PATCH v1] sama5d2_xplained: move CONFIG_SYS_NO_FLASH to default config files

2016-11-03 Thread Wenyou Yang
Move CONFIG_SYS_NO_FLASH symbol to the default config files, such as, configs/sama5d2_xplained_*_defconfig. Signed-off-by: Wenyou Yang --- configs/sama5d2_xplained_mmc_defconfig | 9 - configs/sama5d2_xplained_spiflash_defconfig | 7 +++

Re: [U-Boot] [PATCH 7/7] spi: cadence_qspi: Support specifying the sample edge used

2016-11-03 Thread Vignesh R
Hi, On Wednesday 02 November 2016 08:45 PM, Phil Edworthy wrote: > The HW manual does not give details about what the register > value for this bit actually does, other than "Choose edge on > which data outputs from flash memory will be sampled". > > Signed-off-by: Phil Edworthy

Re: [U-Boot] [U-Boot 2/2] ti_armv7_keystone2: env: Add NFS loading support for PMMC and MON

2016-11-03 Thread Lokesh Vutla
On Friday 04 November 2016 02:06 AM, Andrew F. Davis wrote: > NFS loading support has been added to the default environment for > most boot components, as PMMC and MON loading were added later they > did not originally get the NFS commands added, add these now. Reviewed-by: Lokesh Vutla

Re: [U-Boot] [U-Boot 1/2] keystone2: Move target selection to Kconfig

2016-11-03 Thread Lokesh Vutla
On Friday 04 November 2016 02:06 AM, Andrew F. Davis wrote: > The config option TARGET_K2E_EVM is set by the k2x defconfigs to pick > a board target, but the header configs also set K2E_EVM. This config > is redundant, remove it and use TARGET_K2E_EVM everywhere in its place. I guess the patch

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-03 Thread Alison Wang
York, No, he don’t have my 32-bit kernel image. I am not sure he is using 32-bit kernel or 64-bit kernel. Ryan, I am not familiar with the boards you tested, so I have some questions, please help to work with me to find the root cause. 1. Are you

Re: [U-Boot] [PATCH 18/20] rockchip: clk: Support setting ACLK

2016-11-03 Thread Kever Yang
Hi Simon, On 11/01/2016 04:39 AM, Simon Glass wrote: Add basic support for setting the ARM clock, since this allows us to run at maximum speed in U-Boot. Currently only a single speed is supported (1.8GHz). Signed-off-by: Simon Glass --- drivers/clk/rockchip/clk_rk3288.c

Re: [U-Boot] Rockchip USB driver

2016-11-03 Thread Kever Yang
Hi Doug, Do you mean usb gadget driver or usb host driver? The usb controller for rk3288 is very similar to rk3036, I though the driver are working on upstream. Let me double check. Thanks, - Kever On 11/02/2016 09:04 AM, Simon Glass wrote: Hi Kever, Do you have a USB driver for RK3288

Re: [U-Boot] [PATCH v2] rk3399: Reserve space for ARM Trust Firmware

2016-11-03 Thread Kever Yang
Hi Andreas, On 11/03/2016 09:32 AM, Andreas Färber wrote: Hello, Am 25.07.2016 um 05:45 schrieb Kever Yang: RK3399 needs reserve 0x20 at the beginning of DRAM, for ATF bl31. Signed-off-by: Kever Yang --- Changes in v2: - correct some typo on commit message

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-11-03 Thread Alexandr Bochkarev
Replace emmc to sd card, on sdc2 lines. Remove sd on sdc0, works like a charm, but with emmc not success >>U-Boot SPL 2016.11-rc1-g4dc34be (Nov 04 2016 - 03:06:54) >>DRAM: 1024 MiB >>CPU: 91200Hz, AXI/AHB/APB: 3/2/2 >>Trying to boot from MMC2 >>U-Boot 2016.11-rc1-g4dc34be (Nov 04 2016

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-11-03 Thread Alexandr Bochkarev
To exclude board factor, i get another board, Cubieboard2, desolder nand chip and put emmc on sdc2 lines. Boot kernel from sd on sdc0 lines, kernel init emmc well, in 4 bit mode So, some trouble in u-boot is exist, PLEASE HELP! U-Boot SPL 2016.11-rc1-g4dc34be My board - A20: U-Boot with my

Re: [U-Boot] [PATCH 4/4] net: fec: Zap local mac variable

2016-11-03 Thread Joe Hershberger
On Thu, Nov 3, 2016 at 2:43 PM, Jagan Teki wrote: > From: Jagan Teki > > Call dev->enetaddr or pdata->enetaddr directly > in eth_ops instead of local mac variable. > > Cc: Stefano Babic > Cc: Matteo Lisi >

Re: [U-Boot] [PATCH 3/4] dm: net: fec: Add .read_rom_hwaddr

2016-11-03 Thread Joe Hershberger
On Thu, Nov 3, 2016 at 2:43 PM, Jagan Teki wrote: > From: Jagan Teki > > Add .read_rom_hwaddr on dm eth_ops. > > Cc: Stefano Babic > Cc: Matteo Lisi > Cc: Michael Trimarchi >

[U-Boot] [U-Boot 1/2] keystone2: Move target selection to Kconfig

2016-11-03 Thread Andrew F. Davis
The config option TARGET_K2E_EVM is set by the k2x defconfigs to pick a board target, but the header configs also set K2E_EVM. This config is redundant, remove it and use TARGET_K2E_EVM everywhere in its place. Signed-off-by: Andrew F. Davis --- arch/arm/mach-keystone/Makefile | 4

[U-Boot] [U-Boot 2/2] ti_armv7_keystone2: env: Add NFS loading support for PMMC and MON

2016-11-03 Thread Andrew F. Davis
NFS loading support has been added to the default environment for most boot components, as PMMC and MON loading were added later they did not originally get the NFS commands added, add these now. Signed-off-by: Andrew F. Davis --- include/configs/ti_armv7_keystone2.h | 3 +++ 1

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-11-03 Thread Alexandr Bochkarev
I have put external pullups on marsboard, boot from sd. Linux kernel init emmc fine, 4-bit width bus, so board works well Hit any key to stop autoboot: 2 ... 0 => mmc list SUNXI SD/MMC: 0 (SD) SUNXI SD/MMC: 1 => mmc dev 0 switch to partitions #0, OK mmc0 is current device => mmc part

[U-Boot] [PATCH v5 1/2] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

2016-11-03 Thread Sam Protsenko
Signed-off-by: Sam Protsenko --- Changes in v5: - USE_SECTOR: add default=y for default architectures Changes in v4: - remove TARGET_* from Kconfig default section Changes in v3: - add USE_SECTOR to missed boards (reported by buildman): - Merrii_A80_Optimus

Re: [U-Boot] [PATCH v4 1/2] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

2016-11-03 Thread Sam Protsenko
On Thu, Nov 3, 2016 at 5:57 PM, Tom Rini wrote: > On Thu, Nov 03, 2016 at 03:49:52PM +0200, Sam Protsenko wrote: > >> Signed-off-by: Sam Protsenko >> --- >> Changes in v4: >> - remove TARGET_* from Kconfig default section > [snip] >> diff --git

[U-Boot] [PATCH v5 2/2] spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

2016-11-03 Thread Sam Protsenko
This option isn't used for anything, so get rid of it. Signed-off-by: Sam Protsenko --- Changes in v5: None Changes in v4: None Changes in v3: None Changes in v2: None README | 4 include/configs/am3517_crane.h | 1 -

[U-Boot] [PATCH v5 0/2] spl: Convert MMC raw mode sector options to Kconfig

2016-11-03 Thread Sam Protsenko
This series accomplishes next: 1. Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option to Kconfig 2. Remove CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from boards that don't build SPL 3. Add CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR bool option, which can be tested with #ifdef

[U-Boot] [PATCH 2/4] arm: imx6ul: Add Engicam GEAM6UL Starter Kit initial support

2016-11-03 Thread Jagan Teki
From: Jagan Teki Boot Log: U-Boot SPL 2016.11-rc2-00144-g922adaa-dirty (Oct 28 2016 - 18:55:30) Trying to boot from MMC1 U-Boot 2016.11-rc2-00144-g922adaa-dirty (Oct 28 2016 - 18:55:30 +0530) CPU: Freescale i.MX6UL rev1.1 528 MHz (running at 396 MHz) CPU:

[U-Boot] [PATCH 3/4] dm: net: fec: Add .read_rom_hwaddr

2016-11-03 Thread Jagan Teki
From: Jagan Teki Add .read_rom_hwaddr on dm eth_ops. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Cc: Joe Hershberger Signed-off-by: Jagan Teki

[U-Boot] [PATCH 4/4] net: fec: Zap local mac variable

2016-11-03 Thread Jagan Teki
From: Jagan Teki Call dev->enetaddr or pdata->enetaddr directly in eth_ops instead of local mac variable. Cc: Stefano Babic Cc: Matteo Lisi Cc: Michael Trimarchi Cc: Joe Hershberger

[U-Boot] [PATCH 1/4] arm: dts: Add devicetree for i.MX6UL

2016-11-03 Thread Jagan Teki
From: Jagan Teki Add i.MX6UL dtsi support from Linux. Here is the last commit: "ARM: dts: add gpio-ranges property to iMX GPIO controllers" (sha1: bb728d662bed0fe91b152550e640cb3f6caa972c) Cc: Stefano Babic Cc: Matteo Lisi

[U-Boot] [PATCH 1/1] ARM: ts4600: add basic board support

2016-11-03 Thread Sebastien Bourdelin
This commit adds basic support including: MMC, Serial console Signed-off-by: Sebastien Bourdelin --- arch/arm/Kconfig | 6 ++ board/technologic/ts4600/Kconfig | 15 board/technologic/ts4600/MAINTAINERS | 6 ++

Re: [U-Boot] [PATCH v7 1/2] armv8: Support loading 32-bit OS in AArch32 execution state

2016-11-03 Thread Ryan Harkin
Hi York/Alison, Sorry for not having had time to look at this earlier. On 26 October 2016 at 17:54, york sun wrote: > On 10/07/2016 11:56 PM, Alison Wang wrote: >> To support loading a 32-bit OS, the execution state will change from >> AArch64 to AArch32 when jumping to

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-03 Thread Marek Vasut
On 11/03/2016 02:56 PM, Simon Glass wrote: > Hi, > > On 2 November 2016 at 13:38, Marek Vasut > wrote: >> On 11/02/2016 04:24 PM, Phil Edworthy wrote: >>> The IP supports two ports, A and B, each providing up to 32 gpios. >>> The driver already creates a 2nd

Re: [U-Boot] [PATCH v2] cmd: crosec: Move cros_ec_decode_region helper to cmd/cros_ec.c

2016-11-03 Thread Simon Glass
On 3 November 2016 at 08:53, Moritz Fischer wrote: > The cros_ec_decode_region() function is only used in combination > with the crosec cmds. Move the function to the correct place. > > Signed-off-by: Moritz Fischer > Cc: Simon Glass

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-03 Thread Phil Edworthy
Hi Simon, On 03 November 2016 15:49, Simon Glass wrote: > On 3 November 2016 at 08:02, Phil Edworthy > wrote: > > >On 2 November 2016 at 13:38, Marek Vasut wrote: > > >> On 11/02/2016 04:24 PM, Phil Edworthy wrote: > > >>> The IP supports two ports, A

Re: [U-Boot] [PATCH v4 1/2] spl: Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR to Kconfig

2016-11-03 Thread Tom Rini
On Thu, Nov 03, 2016 at 03:49:52PM +0200, Sam Protsenko wrote: > Signed-off-by: Sam Protsenko > --- > Changes in v4: > - remove TARGET_* from Kconfig default section [snip] > diff --git a/common/spl/Kconfig b/common/spl/Kconfig > index bb99f1f..a67ad0d 100644 > ---

[U-Boot] [PATCH v2 2/2] arc: use timer driver instead of arch/arc/lib/timer.c

2016-11-03 Thread Vlad Zakharov
This commit replaces legacy timer code with usage of arc timer driver. Also it adds timer0 device tree node with corresponding "clock-frequency" property. Therefore we remove legacy CONFIG_SYS_TIMER_RATE config symbol that is not longer required. Furthermore the commit selects CONFIG_TIMER and

[U-Boot] [PATCH v2 1/2] drivers: timer: Introduce ARC timer driver

2016-11-03 Thread Vlad Zakharov
This commit introduces timer driver for ARC. ARC timers are configured via ARC AUX registers so we use special functions to access timer control registers. This driver allows utilization of either timer0 or timer1 depending on which one is available in real hardware. Essentially only existing

[U-Boot] [PATCH v2 0/2] drivers: timer: inroduce ARC timer driver

2016-11-03 Thread Vlad Zakharov
This patch series replaces legacy approach to access ARC timer via specific code in "arch/arc/lib/time.c" and uses timer driver instead. ARC cores may have up to 2 built-in timers: timer0 and timer1, usually at least one of them exists. They are controlled through auxiliary registers and so we

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-03 Thread Simon Glass
Hi Phil, On 3 November 2016 at 08:02, Phil Edworthy wrote: > > Hi Simon, > > >On 2 November 2016 at 13:38, Marek Vasut wrote: > >> On 11/02/2016 04:24 PM, Phil Edworthy wrote: > >>> The IP supports two ports, A and B, each providing up to 32 gpios. >

Re: [U-Boot] dtc 1.4.2 warnings

2016-11-03 Thread James Chargin
On 11/03/2016 04:14 AM, Tom Rini wrote: On Thu, Nov 03, 2016 at 12:30:30PM +0800, Bin Meng wrote: Hi, After I switched to dtc 1.4.2, when building x86 boards, I got: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name [snip] Should we fix those

[U-Boot] [PATCH v2] cmd: crosec: Move cros_ec_decode_region helper to cmd/cros_ec.c

2016-11-03 Thread Moritz Fischer
The cros_ec_decode_region() function is only used in combination with the crosec cmds. Move the function to the correct place. Signed-off-by: Moritz Fischer Cc: Simon Glass Cc: Masahiro Yamada Cc: u-boot@lists.denx.de

Re: [U-Boot] [RFC] 0/4] Add Pl330 DMA support

2016-11-03 Thread Dinh Nguyen
On 11/02/2016 03:47 PM, Marek Vasut wrote: > On 11/02/2016 05:30 PM, Dinh Nguyen wrote: >> On Tue, Nov 1, 2016 at 3:43 PM, Dinh Nguyen wrote: >>> >>> >>> On 11/01/2016 03:42 PM, Marek Vasut wrote: On 11/01/2016 09:39 PM, Dinh Nguyen wrote: > > > On

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-03 Thread Phil Edworthy
Hi Simon, >On 2 November 2016 at 13:38, Marek Vasut wrote: >> On 11/02/2016 04:24 PM, Phil Edworthy wrote: >>> The IP supports two ports, A and B, each providing up to 32 gpios. >>> The driver already creates a 2nd gpio bank by reading the 2nd node >>> from DT, so this is quite a

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-03 Thread Simon Glass
Hi, On 2 November 2016 at 13:38, Marek Vasut wrote: > On 11/02/2016 04:24 PM, Phil Edworthy wrote: >> The IP supports two ports, A and B, each providing up to 32 gpios. >> The driver already creates a 2nd gpio bank by reading the 2nd node >> from DT, so this is quite a simple

[U-Boot] [PATCH v4 2/2] spl: Remove CONFIG_SYS_U_BOOT_MAX_SIZE_SECTORS

2016-11-03 Thread Sam Protsenko
This option isn't used for anything, so get rid of it. Signed-off-by: Sam Protsenko --- Changes in v4: None Changes in v3: None Changes in v2: None README | 4 include/configs/am3517_crane.h | 1 - include/configs/am3517_evm.h

[U-Boot] [PATCH v4 0/2] spl: Convert MMC raw mode sector options to Kconfig

2016-11-03 Thread Sam Protsenko
This series accomplishes next: 1. Convert CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR option to Kconfig 2. Remove CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR from boards that don't build SPL 3. Add CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_USE_SECTOR bool option, which can be tested with #ifdef

[U-Boot] [PATCH][v2] armv8: ls2080a: Update serdes protocol support

2016-11-03 Thread Priyanka Jain
Add serdes protocol support for Serdes1 protocol: 0x39, 0x4B, 0x4C, 0x4D Serdes2 protocol: 0x47, 0x57 Signed-off-by: Priyanka Jain Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar --- Changes for v2: Added

[U-Boot] [PATCH][v2] driver: net: ldpaa_eth: Fix missing bracket issue

2016-11-03 Thread Priyanka Jain
Signed-off-by: Priyanka Jain Signed-off-by: Prabhakar Kushwaha Signed-off-by: Ashish Kumar --- Changes for v2: Added signed-off-by drivers/net/ldpaa_eth/ldpaa_eth.c |3 ++- 1 files changed, 2 insertions(+), 1

[U-Boot] [PATCH v2 2/7] spi: cadence_qspi: Fix baud rate calculation

2016-11-03 Thread Phil Edworthy
With the existing code, when the requested SPI clock rate is near to the lowest that can be achieved by the hardware (max divider of the ref clock is 32), the generated clock rate is wrong. For example, with a 50MHz ref clock, when asked for anything less than a 1.5MHz SPI clock, the code sets up

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Alexander Graf
On 11/03/2016 11:49 AM, Hans de Goede wrote: Hi, On 03-11-16 11:36, Alexander Graf wrote: On 11/03/2016 10:51 AM, Andre Przywara wrote: Hi, On 03/11/16 09:34, Hans de Goede wrote: Hi, First of all cool stuff! Thank you Andre and all others involved for making this happen. On 03-11-16

[U-Boot] [PATCH 3/6][v3] armv8: fsl-layerscape: Update TZASC registers type

2016-11-03 Thread Priyanka Jain
TZASC registers like TZASC_GATE_KEEPER, TZASC_REGION_ATTRIBUTES are 32-bit regsiters. So while doing register load-store operations, 32-bit intermediate register, w0 should be used. Update x0 register to w0 register type. Signed-off-by: Priyanka Jain ---

Re: [U-Boot] dtc 1.4.2 warnings

2016-11-03 Thread Tom Rini
On Thu, Nov 03, 2016 at 12:30:30PM +0800, Bin Meng wrote: > Hi, > > After I switched to dtc 1.4.2, when building x86 boards, I got: > > Warning (unit_address_vs_reg): Node /memory has a reg or ranges > property, but no unit name [snip] > Should we fix those warnings? I see some device tree

[U-Boot] [PATCH 6/6][v3] armv8/fsl-lsch3: Update code to release secondary cores

2016-11-03 Thread Priyanka Jain
NXP ARMv8 SoC LS2080A release all secondary cores in one-go. But other new SoCs like LS2088A, LS1088A release secondary cores one by one. Update code to release secondary cores based on SoC SVR Add code to release cores one by one for non LS2080A SoCs Signed-off-by: Priyanka Jain

[U-Boot] [PATCH 5/6][v3] armv8: fsl-layerscape: Add NXP LS2088A SoC support

2016-11-03 Thread Priyanka Jain
The QorIQ LS2088A SoC is built on layerscape architecture. It is similar to LS2080A SoC with some differences like 1)Timer controller offset is different 2)It has A72 cores 3)It supports TZASC module Signed-off-by: Priyanka Jain ---

[U-Boot] [PATCH 4/6][v3] armv8: fsl-layerscape : Check SVR for initializing TZASC

2016-11-03 Thread Priyanka Jain
LS2080 SoC and its personalities does not support TZASC But other new SoCs like LS2088A, LS1088A supports TZASC Hence, skip initializing TZASC for Ls2080A based on SVR Signed-off-by: Priyanka Jain --- Changes for v3: Update code which checks SVR

[U-Boot] [PATCH 2/6][v3] armv8: lsch3: Use SVR based timer base address detection

2016-11-03 Thread Priyanka Jain
Timer controller base address has been changed from LS2080A SoC (and its personalities) to new SoCs like LS2088A, LS1088A. Use SVR based timer base address detection to avoid compile time #ifdef. Signed-off-by: Priyanka Jain Signed-off-by: Prabhakar Kushwaha

[U-Boot] [PATCH 1/6][v3] armv8: lsch3: Add generic get_svr() in assembly

2016-11-03 Thread Priyanka Jain
Signed-off-by: Priyanka Jain --- arch/arm/cpu/armv8/fsl-layerscape/cpu.c|7 --- arch/arm/cpu/armv8/fsl-layerscape/lowlevel.S |9 + .../include/asm/arch-fsl-layerscape/immap_lsch3.h |6 +++--- 3 files changed, 12 insertions(+), 10

[U-Boot] [PATCH 0/6][v3] Update LS2080A SoC code to support LS2088A SoC

2016-11-03 Thread Priyanka Jain
LS2088A is similar to LS2080A SoC with some differences like 1)Timer controller offset is different 2)It has A72 cores 3)Process to release secondary cores is different 4)LS2088A SoC has TZASC controller In preparation of using same binary for LS2088A and LS2080A as both are using same

[U-Boot] [PATCH V2] Add support of ls1021a-iot

2016-11-03 Thread feng.li_2
From: Feng Li The patch add support ls1021a-iot. It supports I2C, MMC, PCIe, eTSEC, SATA, EEPROM, CPLD, HDMI, Serial port, HXCI, DSPI, SD boot, QSPI boot, Broadcom wifi card, QCA wifi card. Signed-off-by: Feng Li Cc: York Sun Cc: Alison

[U-Boot] [PATCH 1/2] rpi: save firmware provided boot param for later use

2016-11-03 Thread Cédric Schieli
At U-Boot entry point, the r2 register holds the address of the firmware provided boot param. Let's save it for further processing. Signed-off-by: Cédric Schieli --- board/raspberrypi/rpi/Makefile| 1 + board/raspberrypi/rpi/lowlevel_init.S | 26

[U-Boot] [PATCH 2/2] rpi: expose the firmware provided FDT blob in ${fw_fdt_addr}

2016-11-03 Thread Cédric Schieli
If the fw_boot_param saved at an early stage points to a valid FDT blob, let's expose it in ${fw_fdt_addr}. Signed-off-by: Cédric Schieli --- board/raspberrypi/rpi/rpi.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/board/raspberrypi/rpi/rpi.c

Re: [U-Boot] [PATCH V1] Add support of ls1021a-iot

2016-11-03 Thread Feng Li
Hi Alison, Thanks for reviewing. > -Original Message- > From: Alison Wang > Sent: Thursday, October 27, 2016 3:43 PM > To: Feng Li ; york sun ; u- > b...@lists.denx.de > Cc: Feng Li > Subject: RE: [U-Boot] [PATCH V1] Add

[U-Boot] [PATCH 0/2] rpi: enable passthrough of FDT blob provided by the firmware

2016-11-03 Thread Cédric Schieli
Raspberry firmware used to pass a FDT blob at a fixed address (0x100), but this is not true anymore. The address now depends on both the memory size and the blob size [1]. If one wants to passthrough this FDT blob to the kernel, the most reliable way is to save its address from the r2 register

[U-Boot] [PATCH v3] gpio: dwapb: Add support for port B

2016-11-03 Thread Phil Edworthy
The IP supports two ports, A and B, each providing up to 32 gpios. The driver already creates a 2nd gpio bank by reading the 2nd node from DT, so this is quite a simple change to support the 2nd bank. Signed-off-by: Phil Edworthy --- v3: Pass the bank nr to the

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-11-03 Thread Marek Vasut
On 11/03/2016 09:24 AM, Lukasz Majewski wrote: > Hi Marek, > >> On 11/02/2016 04:28 PM, Lukasz Majewski wrote: >>> Hi Marek, >> >> Is this for 2016.11 or next ? > > We can go with v2016.11, since those changes are fixes. Applied, thanks. >> >>> Please find following code for u-boot-dfu

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

2016-11-03 Thread Marek Vasut
The following changes since commit d8bdfc80da39211d95f10d24e79f2e867305f71b: Prepare v2016.11-rc3 (2016-10-31 16:36:10 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to dd93a8e9e688f4c448092a275bf7db3e16d21c6f: dfu:

Re: [U-Boot] [PATCH v2] gpio: dwapb: Add support for port B

2016-11-03 Thread Marek Vasut
On 11/03/2016 09:54 AM, Phil Edworthy wrote: > The IP supports two ports, A and B, each providing up to 32 gpios. > The driver already creates a 2nd gpio bank by reading the 2nd node > from DT, so this is quite a simple change to support the 2nd bank. > > Signed-off-by: Phil Edworthy

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 11:36, Alexander Graf wrote: On 11/03/2016 10:51 AM, Andre Przywara wrote: Hi, On 03/11/16 09:34, Hans de Goede wrote: Hi, First of all cool stuff! Thank you Andre and all others involved for making this happen. On 03-11-16 09:49, Alexander Graf wrote: On 11/03/2016

Re: [U-Boot] With u-boot vertion u-boot-d8bdfc8 compile error

2016-11-03 Thread Michal Simek
Hi, 2016-11-02 10:07 GMT+01:00 李东升 <000lidongsh...@163.com>: > Dear sir or madam : > when i want to generate u-boot file for zynq device , i found it can > not be compiled ; > > the error code are as below : > root@lolo-pc:~/zynq_study/u-boot_file/u-boot-d8bdfc8# make > zynq_zc702_defconfig

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-03 Thread Marek Vasut
On 11/03/2016 08:39 AM, Phil Edworthy wrote: > Hi Marek, > > On 02 November 2016 19:38, Marek Vasut wrote: >> On 11/02/2016 04:24 PM, Phil Edworthy wrote: >>> The IP supports two ports, A and B, each providing up to 32 gpios. >>> The driver already creates a 2nd gpio bank by reading the 2nd node

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Alexander Graf
On 11/03/2016 10:51 AM, Andre Przywara wrote: Hi, On 03/11/16 09:34, Hans de Goede wrote: Hi, First of all cool stuff! Thank you Andre and all others involved for making this happen. On 03-11-16 09:49, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: Hi, this is my

Re: [U-Boot] [PATCH v2 5/6] ARMv8: Setup PSCI memory and dt

2016-11-03 Thread Hongbo Zhang
On Wed, Nov 2, 2016 at 10:27 PM, Tom Rini wrote: > On Tue, Nov 01, 2016 at 06:04:31PM +0800, macro.wav...@gmail.com wrote: >> From: Hongbo Zhang >> >> Newly add ARMv8 PSCI needs to be initialized, be copied or reserved in right >> place, this patch does

Re: [U-Boot] [PATCH v2 6/6] ARMv8: LS1043A: Enable LS1043A default PSCI support

2016-11-03 Thread Hongbo Zhang
On Wed, Nov 2, 2016 at 10:27 PM, Tom Rini wrote: > On Tue, Nov 01, 2016 at 06:04:32PM +0800, macro.wav...@gmail.com wrote: >> From: Hongbo Zhang >> >> A most basic PSCI implementation with only one psci_version is added for >> LS1043A, this can verify

Re: [U-Boot] [bug report] sunxi: booting from eMMC

2016-11-03 Thread Alexandr Bochkarev
Some summary Marsboard by default has nand flash chip on sdc2 lines, but under nand chip, there is emmc bga pads also. So i have desoldered nand, and put emmc chip on it. Maybe there is no required pull ups on data lines to work on 4-bit widh, and when i boot kernel from sdc0 sd card, kernel

[U-Boot] [PATCH] ARM: k2g: Update PLL Multiplier and divider values

2016-11-03 Thread Lokesh Vutla
Only a certain set of PLLM/D values are recommended to configure the DDR at the required speeds for a given clock input frequency. Updating these values as specified in Data Sheet[1] Table 5-18 [1] http://www.ti.com/lit/ds/symlink/66ak2g02.pdf Signed-off-by: Lokesh Vutla ---

[U-Boot] [PATCH] ARM: keystone2: PLL: Enable glitch free initialization sequence

2016-11-03 Thread Lokesh Vutla
Update the PLL initialization sequence to avoid glitches while programming. User guide for the same is available at[1]. [1] http://www.ti.com/lit/ug/sprugv2h/sprugv2h.pdf Signed-off-by: Lokesh Vutla --- arch/arm/mach-keystone/clock.c | 16 1 file changed, 8

Re: [U-Boot] [PATCH v2 1/6] ARMv8: LS1043A: change macro CONFIG_ARMV8_PSCI definition

2016-11-03 Thread Hongbo Zhang
On Wed, Nov 2, 2016 at 10:27 PM, Tom Rini wrote: > On Tue, Nov 01, 2016 at 06:04:27PM +0800, macro.wav...@gmail.com wrote: > >> From: Hongbo Zhang >> >> NXP/Freescale uses macro CONFIG_ARMV8_PSCI to enable their private PSCI >> implementation in PPA

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Andre Przywara
Hi, On 03/11/16 09:34, Hans de Goede wrote: > object my packaging ideas> > > Hi, > > First of all cool stuff! Thank you Andre and all others > involved for making this happen. > > On 03-11-16 09:49, Alexander Graf wrote: >> On 11/03/2016 02:36 AM, Andre Przywara wrote: >>> Hi, >>> >>> this

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 10:38, Andre Przywara wrote: Hi, On 03/11/16 08:49, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: Hi, this is my first take on the SPL support for the Allwinner A64 SoC. The actual meat - the DRAM initialization code - has been provided by Jens - many

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Andre Przywara
Hi, On 03/11/16 08:49, Alexander Graf wrote: > On 11/03/2016 02:36 AM, Andre Przywara wrote: >> Hi, >> >> this is my first take on the SPL support for the Allwinner A64 SoC. >> The actual meat - the DRAM initialization code - has been provided >> by Jens - many thanks for that! >> The rest of the

Re: [U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 10:17, Andre Przywara wrote: Hi Hans, thanks for having a look. On 03/11/16 09:13, Hans de Goede wrote: Hi, On 03-11-16 10:10, Andre Przywara wrote: Hi, On 03/11/16 08:54, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: To avoid enumerating the very

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Hans de Goede
Hi, First of all cool stuff! Thank you Andre and all others involved for making this happen. On 03-11-16 09:49, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: Hi, this is my first take on the SPL support for the Allwinner A64 SoC. The actual meat - the DRAM

Re: [U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-03 Thread Andre Przywara
Hi Hans, thanks for having a look. On 03/11/16 09:13, Hans de Goede wrote: > Hi, > > On 03-11-16 10:10, Andre Przywara wrote: >> Hi, >> >> On 03/11/16 08:54, Alexander Graf wrote: >>> On 11/03/2016 02:36 AM, Andre Przywara wrote: To avoid enumerating the very same DRAM values in defconfig

Re: [U-Boot] [RFC PATCH 02/10] Makefile: use "arm64" architecture for U-Boot image files

2016-11-03 Thread Andre Przywara
Hi, On 03/11/16 09:10, Alexander Graf wrote: > On 11/03/2016 10:08 AM, Andre Przywara wrote: >> Hi, >> >> On 03/11/16 08:54, Alexander Graf wrote: >>> On 11/03/2016 02:36 AM, Andre Przywara wrote: At the moment we use the arch/arm directory for arm64 boards as well, so the Makefile will

Re: [U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-03 Thread Hans de Goede
Hi, On 03-11-16 10:10, Andre Przywara wrote: Hi, On 03/11/16 08:54, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: To avoid enumerating the very same DRAM values in defconfig files for each and every Allwinner A64 board out there, let's put some sane default values in

Re: [U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-03 Thread Andre Przywara
Hi, On 03/11/16 08:54, Alexander Graf wrote: > On 11/03/2016 02:36 AM, Andre Przywara wrote: >> To avoid enumerating the very same DRAM values in defconfig files >> for each and every Allwinner A64 board out there, let's put some sane >> default values in the Kconfig file. >> Boards with

Re: [U-Boot] [RFC PATCH 02/10] Makefile: use "arm64" architecture for U-Boot image files

2016-11-03 Thread Alexander Graf
On 11/03/2016 10:08 AM, Andre Przywara wrote: Hi, On 03/11/16 08:54, Alexander Graf wrote: On 11/03/2016 02:36 AM, Andre Przywara wrote: At the moment we use the arch/arm directory for arm64 boards as well, so the Makefile will pick up the "arm" name for the architecture to use for tagging

Re: [U-Boot] [RFC PATCH 02/10] Makefile: use "arm64" architecture for U-Boot image files

2016-11-03 Thread Andre Przywara
Hi, On 03/11/16 08:54, Alexander Graf wrote: > On 11/03/2016 02:36 AM, Andre Przywara wrote: >> At the moment we use the arch/arm directory for arm64 boards as well, >> so the Makefile will pick up the "arm" name for the architecture to use >> for tagging binaries in U-Boot image files. >>

Re: [U-Boot] [RFC PATCH 03/10] sunxi: provide default DRAM config for sun50i in Kconfig

2016-11-03 Thread Alexander Graf
On 11/03/2016 02:36 AM, Andre Przywara wrote: To avoid enumerating the very same DRAM values in defconfig files for each and every Allwinner A64 board out there, let's put some sane default values in the Kconfig file. Boards with different needs can override them at any time. Signed-off-by:

[U-Boot] [PATCH v2] gpio: dwapb: Add support for port B

2016-11-03 Thread Phil Edworthy
The IP supports two ports, A and B, each providing up to 32 gpios. The driver already creates a 2nd gpio bank by reading the 2nd node from DT, so this is quite a simple change to support the 2nd bank. Signed-off-by: Phil Edworthy --- v2: Use an offset element in the

Re: [U-Boot] [RFC PATCH 02/10] Makefile: use "arm64" architecture for U-Boot image files

2016-11-03 Thread Alexander Graf
On 11/03/2016 02:36 AM, Andre Przywara wrote: At the moment we use the arch/arm directory for arm64 boards as well, so the Makefile will pick up the "arm" name for the architecture to use for tagging binaries in U-Boot image files. Differentiate between the two by looking at the CPU variable

Re: [U-Boot] [RFC PATCH 01/10] sun6i: Restrict some register initialization to Allwinner A31 SoC

2016-11-03 Thread Alexander Graf
On 11/03/2016 02:36 AM, Andre Przywara wrote: These days many Allwinner SoCs use clock_sun6i.c, although out of them only the (original sun6i) A31 has a second MBUS clock register. Also setting up the PRCM PLL_CTLR1 register to provide the proper voltage seems to be an A31-only feature as well.

Re: [U-Boot] [RFC PATCH 00/10] sunxi: Allwinner A64 SPL support

2016-11-03 Thread Alexander Graf
On 11/03/2016 02:36 AM, Andre Przywara wrote: Hi, this is my first take on the SPL support for the Allwinner A64 SoC. The actual meat - the DRAM initialization code - has been provided by Jens - many thanks for that! The rest of the patches mostly deal with the 32-bit/64-bit switch. While it

Re: [U-Boot] [GIT] Pull request: u-boot-dfu

2016-11-03 Thread Lukasz Majewski
Hi Marek, > On 11/02/2016 04:28 PM, Lukasz Majewski wrote: > > Hi Marek, > > Is this for 2016.11 or next ? We can go with v2016.11, since those changes are fixes. > > > Please find following code for u-boot-dfu repository. > > > > The following changes since commit > >

Re: [U-Boot] [PATCH] gpio: dwapb: Add support for port B

2016-11-03 Thread Phil Edworthy
Hi Marek, On 02 November 2016 19:38, Marek Vasut wrote: > On 11/02/2016 04:24 PM, Phil Edworthy wrote: > > The IP supports two ports, A and B, each providing up to 32 gpios. > > The driver already creates a 2nd gpio bank by reading the 2nd node > > from DT, so this is quite a simple change to

Re: [U-Boot] [PATCH 2/7] spi: cadence_qspi: Fix baud rate calculation

2016-11-03 Thread Phil Edworthy
Hi Marek, On 02 November 2016 19:39, Marek Vasut wrote: > On 11/02/2016 04:15 PM, Phil Edworthy wrote: > > With the existing code, when the requested SPI clock rate is near > > to the lowerest that can be achieved by the hardware (max divider > > of the ref clock is 32), the generated clock rate