Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board

2015-03-19 Thread Igor Grinberg
Hi Peter, On 03/18/15 20:07, Peter Kuemmel wrote: > I have a custom board which boots with a patched > cm_t35 configuration based on the v2015.01 release. > > When I update to v2015.04-rc4 the system reboots > after the x-loader has read u-boot from MMC and > started it. IIUC, we have a working

Re: [U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-19 Thread Jan Kiszka
On 2015-03-18 17:54, Ian Campbell wrote: > On Wed, 2015-03-11 at 11:11 -0400, Tom Rini wrote: >> On Mon, Mar 09, 2015 at 08:00:10AM +0100, Jan Kiszka wrote: >> >>> Changes in v4: >>> - rebased over master >>> - implemented psci_get_cpu_id as weak function >>> - implemented psci_disable/enable_sm

Re: [U-Boot] [PATCH v5 02/14] ARM: Factor out common psci_get_cpu_id

2015-03-19 Thread Jan Kiszka
On 2015-03-18 17:54, Ian Campbell wrote: > On Mon, 2015-03-09 at 08:00 +0100, Jan Kiszka wrote: >> Will be required for obtaining the ID of the current CPU in shared PSCI >> functions. The default implementation requires a dense ID space and only >> supports a single cluster. Therefore, the functio

[U-Boot] [PATCH] mmc: fix OCR Polling

2015-03-19 Thread Peng Fan
If in mmc_send_op_cond, OCR_BUSY is set in CMD1's response, then state is transfered to Ready state, and there is no need to send CMD1 again. Otherwise following CMD1 will recieve no response, or timeour error from driver such as fsl_esdhc.c. If not into Ready state in previous CMD1, then continue

[U-Boot] [PATCH v3 1/4] common/lcd_console: cleanup lcd_drawchars/lcd_putc_xy

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier the capability of drawing some *str with count from lcd_drawchars is unnary. It is always called from lcd_putc_xy with one character of and count = 1. So we simply rename lcd_drawchars into lcd_putc_xy and remove the loops inside. Signed-off-by: Hannes Petermaier Signed

[U-Boot] [PATCH v3 3/4] common/lcd_console: move single static variables into common (static) structure

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier For coming implementation of lcd_console rotation, we will need some more variables for holding information about framebuffer size, rotation, ... For better readability we catch all them into a common structure. Signed-off-by: Hannes Petermaier Signed-off-by: Hannes Pet

[U-Boot] [PATCH v3 2/4] common/lcd_console: ask only one-time for bg/fg-color per call

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier Don't call the lcd_getfgcolor and lcd_getbgcolor within the "draw-loop", this only wastes time. Signed-off-by: Hannes Petermaier Signed-off-by: Hannes Petermaier --- Changes in v3: None Changes in v2: None common/lcd_console.c |7 ++- 1 file changed, 2 insert

Re: [U-Boot] [PATCH] remove unnecessary version.h includes

2015-03-19 Thread Linus Walleij
On Tue, Mar 17, 2015 at 9:28 PM, Rob Herring wrote: > Various files are needlessly rebuilt every time due to the version and > build time changing. As version.h is not actually needed, remove the > include. > > Signed-off-by: Rob Herring > Cc: Albert Aribaud > Cc: Stefano Babic > Cc: Minkyu Ka

[U-Boot] [PATCH v3 0/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-19 Thread Hannes Petermaier
Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degree, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are printed out. For this we introduce the feature called "

[U-Boot] [PATCH v3 4/4] common/lcd_console: introduce display/framebuffer rotation

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier Sometimes, for example if the display is mounted in portrait mode or even if it mounted landscape but rotated by 180 degrees, we need to rotate our content of the display respectively the framebuffer, so that user can read the messages who are printed out. For this we int

[U-Boot] [PATCH 1/2] board/BuR/common: move I2C initialization from common part to board-specific

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier At this time I2C and responsible pin-mux is setup during PMIC initialziation within common.c, this is possible because today PMIC is always connected on I2C0. In Future this will be changed, PMIC isn't anymore connected to bus0 in call cases. So we do following: - rename

[U-Boot] [PATCH 2/2] board/BuR/common: remove unused function 'blink'

2015-03-19 Thread Hannes Petermaier
From: Hannes Petermaier since we have possibility to write out on lcd whats going on, we don't need the gpio blink functionality anymore. Signed-off-by: Hannes Petermaier Signed-off-by: Hannes Petermaier --- board/BuR/common/bur_common.h |1 - board/BuR/common/common.c | 14 --

Re: [U-Boot] [PATCH v2 7/7] ARM: bcm283x: move SoC headers to mach-bcm283x/include/mach

2015-03-19 Thread Masahiro Yamada
2015-03-17 12:35 GMT+09:00 Masahiro Yamada : > Move arch/arm/include/asm/arch-bcm283x/* > -> arch/arm/mach-bcm283x/include/mach/* > > Signed-off-by: Masahiro Yamada > Cc: Stephen Warren Based on Stephen's comment in: http://lists.denx.de/pipermail/u-boot/2015-March/208135.html Acked-by: Ste

[U-Boot] [PATCH v3 6/7] ARM: bcm283x: merge BCM2835/BCM2836 directories into mach-bcm283x

2015-03-19 Thread Masahiro Yamada
BCM2835 (used on Raspberry Pi) and BCM2836 (used on Raspberry Pi 2) are similar enough. One of the biggest differences is the ARM processor. It is reasonable to collect the source files into a single place, arch/arm/mach-bcm283x/. Signed-off-by: Masahiro Yamada Acked-by: Stephen Warren --- Ch

[U-Boot] [PATCH v3 7/7] ARM: bcm283x: move SoC headers to mach-bcm283x/include/mach

2015-03-19 Thread Masahiro Yamada
Move arch/arm/include/asm/arch-bcm283x/* -> arch/arm/mach-bcm283x/include/mach/* Signed-off-by: Masahiro Yamada Acked-by: Stephen Warren --- Changes in v2: None arch/arm/mach-bcm283x/Kconfig | 2 +- .../{include/asm/arch-bcm2835 => mach-bcm283x/includ

[U-Boot] [PATCH v3 3/7] m68k: remove arch/m68k/lib/board.c

2015-03-19 Thread Masahiro Yamada
All the M68000 boards have switched to Generic Board. This file is no longer necessary. Signed-off-by: Masahiro Yamada Cc: Huan Wang Cc: Angelo Dureghello --- Changes in v2: None arch/m68k/lib/Makefile | 3 - arch/m68k/lib/board.c | 642 - 2

[U-Boot] [PATCH v3 4/7] malloc_f: remove redundant defalut values of CONFIG_SYS_MALLOC_F_LEN

2015-03-19 Thread Masahiro Yamada
The default value of CONFIG_SYS_MALLOC_F_LEN is defined by ./Kconfig as 0x400. Each defconfig or Kconfig need not repeat the same value. Signed-off-by: Masahiro Yamada Acked-by: Stephen Warren --- Changes in v2: None arch/arm/cpu/armv7/exynos/Kconfig | 3 --- arch/arm/cpu/armv7/omap3

[U-Boot] [PATCH v3 1/7] generic-board: move __HAVE_ARCH_GENERIC_BOARD to Kconfig

2015-03-19 Thread Masahiro Yamada
Move the option to Kconfig renaming it to CONFIG_HAVE_GENERIC_BOARD. Signed-off-by: Masahiro Yamada --- Changes in v2: None Makefile | 2 +- README| 6 +++--- arch/Kconfig | 14 ++ arch/arc/config.mk| 3 --- arch/arm/conf

[U-Boot] [PATCH v3 0/7] Some improvements related to build system

2015-03-19 Thread Masahiro Yamada
- Move GENERIC_BOARD CONFIGs - Remove arch/m68k/lib/board.c - Clean ups CONFIG_SYS_MALLOC_F and CONFIG_SYS_MALLOC_F_LEN - Move BCM283x code into arch/arm/mach-bcm283x Changes in v3: - No change. Just add Stephen's Acked-by tag Changes in v2: - Fix a typo s/not board-independent/board-

[U-Boot] [PATCH v3 2/7] generic-board: select SYS_GENERIC_BOARD for some architectures

2015-03-19 Thread Masahiro Yamada
We have done with the generic board conversion for all the boards of ARC, Blackfin, M68000, MicroBlaze, MIPS, NIOS2, Sandbox, X86. Let's select SYS_GENERIC_BOARD for those architectures, so we can tell which architecture has finished the conversion at a glance. Signed-off-by: Masahiro Yamada ---

[U-Boot] [PATCH v3 5/7] malloc_f: enable SYS_MALLOC_F by default if DM is on

2015-03-19 Thread Masahiro Yamada
This option has a bool type, not hex. Fix it and enable it if CONFIG_DM is on because Driver Model always requires malloc memory. Devices are scanned twice, before/after relocation. CONFIG_SYS_MALLOC_F should be enabled to use malloc memory before relocation. As it is board-independent, handle i

Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board

2015-03-19 Thread Peter Kuemmel
> Gesendet: Donnerstag, 19. März 2015 um 08:11 Uhr > Von: "Igor Grinberg" > An: "Peter Kuemmel" , u-boot@lists.denx.de > Cc: "Nikita Kiryanov" > Betreff: Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board > > Hi Peter, > > On 03/18/15 20:07, Peter Kuemmel wrote: > > I have a custom boar

Re: [U-Boot] [PATCH] dfu: cmd: trigger watchdog before calling usb_gadget_handle_interrupts

2015-03-19 Thread Lukasz Majewski
Hi Heiko, > trigger watchdog before calling usb_gadget_handle_interrupts() > This prevents board resets when calling dfu command on boards > which have a watchdog. > > Signed-off-by: Heiko Schocher > --- > > common/cmd_dfu.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/common/cm

Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board

2015-03-19 Thread Igor Grinberg
On 03/19/15 12:43, Peter Kuemmel wrote: >> Gesendet: Donnerstag, 19. März 2015 um 08:11 Uhr >> Von: "Igor Grinberg" >> An: "Peter Kuemmel" , u-boot@lists.denx.de >> Cc: "Nikita Kiryanov" >> Betreff: Re: [U-Boot] v2015.04-rc4: broken for custom TI-based board >> >> Hi Peter, >> >> On 03/18/15 20:0

[U-Boot] U-boot on MPC8641D based board

2015-03-19 Thread Ashish Khetan
Hi All, I have been facing a strange problem in my board which is MPC8641D based. In this board we have two nor spansion flashes connected to cs0 and cs1. U boot had detected both the flashes and when flinfo command is it shows both flash information but when we try to access another flash u-boot i

[U-Boot] [PATCH 6/6] mmc: Fix splitting device initialization

2015-03-19 Thread Andrew Gabbasov
Starting part of device initialization sets the init_in_progress flag only if the MMC card did not yet come to ready state and needs to continue polling. If the card is SD or if the MMC card became ready quickly, the flag is not set and (if using pre-initialization) the starting phase will be re-ex

[U-Boot] [PATCH 5/6] mmc: Restructure polling loops to avoid extra delays

2015-03-19 Thread Andrew Gabbasov
The polling loops in sd_send_op_cond and mmc_complete_op_cond functions check the ready flag state at the end of the loop, that is after executing a delay inside the loop, which, in case of exiting with no error, is not needed. Also, one of these loops, as well as the loop in mmc_send_status, have

[U-Boot] [PATCH 4/6] mmc: Continue polling MMC card for OCR only if it is still not ready

2015-03-19 Thread Andrew Gabbasov
Some MMC cards come to ready state quite quickly, so that the respective flag appears to be set in mmc_send_op_cond already. In this case trying to continue polling the card with CMD1 in mmc_complete_op_cond is incorrect and may lead to unpredictable results. So check the flag before polling and sk

[U-Boot] [PATCH 3/6] mmc: Do not pass external mmc_cmd structure to mmc_send_op_cond_iter()

2015-03-19 Thread Andrew Gabbasov
The previous change to use 'ocr' structure field for storing send_op_cond command response also stopped using command response directly outside of mmc_send_op_cond_iter(). Now it becomes possible to use command structure in mmc_send_op_cond_iter() locally, removing a necessity to pass it as an argu

[U-Boot] [PATCH 2/6] mmc: Avoid extra duplicate entry in mmc device structure

2015-03-19 Thread Andrew Gabbasov
The 'op_cond_response' field in mmc structure contains the response from the last SEND_OP_COND MMC command while making iterational polling of the card. Later it is copied to 'ocr' field, designed to contain the OCR register value, which is actually the same response from the same command. So, thes

[U-Boot] [PATCH 1/6] mmc: Fix typo in MMC type checking macro

2015-03-19 Thread Andrew Gabbasov
The version flag constant name used in IS_MMC macro is incorrect/undefined. Signed-off-by: Andrew Gabbasov --- include/mmc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/mmc.h b/include/mmc.h index 2ad0f19..a251531 100644 --- a/include/mmc.h +++ b/include/mmc.h @@

[U-Boot] [PATCH 0/6] mmc: Fix OCR polling and splitted initialization

2015-03-19 Thread Andrew Gabbasov
Patch 4 contains a fix for a problem that really occures with some MMC cards, that are capable to get to ready state within a single polling call. Patch 6 is a fix for an error, that may be not so important and is not visible at the moment, since no platform does actually use pre-initialization. H

Re: [U-Boot] Pull request: u-boot-mmc 18032015

2015-03-19 Thread Tom Rini
On Wed, Mar 18, 2015 at 10:08:46AM +0200, Pantelis Antoniou wrote: > Hi Tom, > > Only bug fixes for now, rather uneventful. > > The following changes since commit 3231e364bf8426a9c8fd5158fe2d155ae7b9: > > mmc: fsl_esdhc fix register offset (2015-03-17 09:09:47 -0400) > > are available in

Re: [U-Boot] [U-Boot v2] [i2c] Pull request

2015-03-19 Thread Tom Rini
On Wed, Mar 18, 2015 at 10:17:51AM +0100, Heiko Schocher wrote: > Hello Tom, > > updated pull request for u-boot-i2c.git. Added the mvtwsi baudrate > fix patch from Stefan after Hans added his Acked-by ... > > The following changes since commit 052a681bae8ee91c9854089549b20c857d499fd7: > > Pr

Re: [U-Boot] [PULL] Please pull u-boot-imx

2015-03-19 Thread Tom Rini
On Wed, Mar 18, 2015 at 10:23:38AM +0100, Stefano Babic wrote: > Hi Tom, > > please pull (small fixes) from u-boot-imx, thanks ! > > The following changes since commit 32df39c741788e8637cffe6633d73594b26d70fb: > > mx5: fix get_reset_cause (2015-03-05 10:29:27 +0100) > > are available in the

Re: [U-Boot] [PATCH v2 1/1] ARM: DRA7XX: Add config file for Android with fastboot support

2015-03-19 Thread Tom Rini
On Thu, Mar 19, 2015 at 02:42:16AM +0530, Dileep Katta wrote: > Hi Tom, > > On 18 March 2015 at 21:41, Tom Rini wrote: > > > On Wed, Mar 18, 2015 at 12:08:23AM +0530, Dileep Katta wrote: > > > > > - Added new configuration for Android fastboot > > > - This is based on following patch

[U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Yegor Yefremov
I've got v2015.04-rc4 running on my custom am335x (600MHz) based board. My 8-bit NAND chip: [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 [17.303850 0.006057] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda [17.309706 0.005856] nand: Micron MT29F2G08ABAEAWP [17.312823 0.

Re: [U-Boot] 64Bit device tree compilation

2015-03-19 Thread Simon Glass
Hi Hanna, On 18 March 2015 at 11:17, Hanna Hawa wrote: > Hi Simon, > > > > My name is Hanna, I’m working in Software team in Marvell with Yehuda. > > > > I’m trying to run U-Boot with FDT in 64Bit. > > I’ve issue when I’m trying to load the image on my board, I got abort > (**Synchronous Abort**)

Re: [U-Boot] [PATCH v5 00/14] Add PSCI support for Jetson TK1/Tegra124 + CNTFRQ fix

2015-03-19 Thread Thierry Reding
On Mon, Mar 09, 2015 at 08:00:10AM +0100, Jan Kiszka wrote: > Changes in v4: > - rebased over master > - implemented psci_get_cpu_id as weak function > - implemented psci_disable/enable_smp as weak functions > - adjusted register interface of psci_get_cpu_stack_top > > This version (+ the non-

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Yegor Yefremov
On Thu, Mar 19, 2015 at 2:56 PM, Daniel Mack wrote: > Hi, > > On 03/19/2015 02:41 PM, Yegor Yefremov wrote: >> I've got v2015.04-rc4 running on my custom am335x (600MHz) based >> board. My 8-bit NAND chip: >> >> [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 >> [17.303850 0.006057

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Daniel Mack
On 03/19/2015 04:13 PM, Yegor Yefremov wrote: > Strange. Have tried with "nand read" command, but still the same > result with and without CONFIG_NAND_OMAP_GPMC_PREFETCH : > > [2.150655 0.001006] NAND read: device 0 offset 0x26, size 0x120 > [15.978943 13.828288] 18874368 bytes read: OK

[U-Boot] [PATCH 4/8] driver/ldpaa_eth: Add LDPAA Ethernet driver

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha LDPAA Ethernet driver is a freescale's new ethernet driver based on Layerscape architecture. Every ethernet driver controls on DPNI object. Where all DPNIs share one common DPBP and DPIO object to support Rx and Tx flows. Signed-off-by: Prabhakar Kushwaha CC: Cristian

[U-Boot] [PATCH 6/8] driver/fsl_ifc: Add support to finalize CS1, CS3 address binding

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha For fsl-lsch3, IFC is binded with address within 32-bit at fist. After u-boot relocates to DDR, CS1, CS3 can be binded to higher address to support large space. Signed-off-by: Prabhakar Kushwaha Signed-off-by: York Sun --- drivers/misc/fsl_ifc.c |9 + 1 fi

[U-Boot] [PATCH 1/8] armv8/fsl-lsch3: Add Freescale Debug Server driver

2015-03-19 Thread York Sun
From: Bhupesh Sharma The Debug Server driver is responsible for loading the Debug server FW on the Service Processor (Cortex-A5 core) on LS2085A like SoCs and then polling for the successful initialization of the same. TOP MEM HIDE is adjusted to ensure the space required by Debug Server FW is ac

[U-Boot] [PATCH 7/8] nand/fsl_ifc: Increase eccstat[] for IFC 2.0

2015-03-19 Thread York Sun
From: Scott Wood IFC 2.0 doubled the SRAM size, which means double the number of ECCSTAT registers. Fix the resulting array overflow. Signed-off-by: Scott Wood --- drivers/mtd/nand/fsl_ifc_nand.c | 11 +-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/nan

[U-Boot] [PATCH 5/8] board/ls2085_common: Increase malloc length

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha Increase malloc length for more than 2M. Signed-off-by: Prabhakar Kushwaha Change-Id: Id3b87453be03c97467ab58c841274fb5ea0883f2 Reviewed-on: http://git.am.freescale.net:8181/26580 Tested-by: Review Code-CDREVIEW --- include/configs/ls2085a_common.h |2 +- 1 file c

[U-Boot] [PATCH 2/4] driver/ddr/fsl: Fix driver to support empty first slot

2015-03-19 Thread York Sun
CS0 was not allowed to be empty by u-boot driver in the past to simplify the driver. This may be inconvenient for some debugging. This patch lifts the restrictions. Controller interleaving still requires CS0 populated. Signed-off-by: York Sun --- drivers/ddr/fsl/ctrl_regs.c | 64 ++

[U-Boot] [PATCH 1/4] drivers/ddr/fsl: Update DDR driver for DDR4

2015-03-19 Thread York Sun
Add/update registers for DDR4, including DQ mappings. Allow raw timing method used for all controllers. Update mode_9 register to 0x500 for improved stability. Check DDR controller version number individually in case a SoC has multiple DDR controllers of different versions. Increase read-write turn

[U-Boot] [PATCH 3/4] driver/ddr/fsl: Add built-in memory test for DDR4 driver

2015-03-19 Thread York Sun
Add built-in memory test to catch errors after DDR is initialized, before any other transactions. To enable this test, define CONFIG_FSL_DDR_BIST. An environmental variable "ddr_bist" is checked before starting test. It takes a while (several seconds) depending on system memory size. Signed-off-by

[U-Boot] [PATCH 4/4] driver/ddr/fsl: Add workaround for DDR erratum A008511

2015-03-19 Thread York Sun
This erratum only applies to general purpose DDR controllers in LS2. It shouldn't be applied to DP-DDR controller. Check DDRC versoin number before applying workaround. Signed-off-by: York Sun --- drivers/ddr/fsl/fsl_ddr_gen4.c | 96 +++- include/fsl_ddr_sdr

[U-Boot] [PATCH 2/8] fsl-ch3/README: Add description for NOR flash layout (firmware images)

2015-03-19 Thread York Sun
From: Bhupesh Sharma This patch adds description for NOR flash layout (firmware images) in the README file for LS2085A platforms. Signed-off-by: Bhupesh Sharma --- arch/arm/cpu/armv8/fsl-lsch3/README | 25 + 1 file changed, 25 insertions(+) diff --git a/arch/arm/cpu/

[U-Boot] [PATCH 8/8] driver/i2c/mxc: Add I2C3 and I2C4 for LS2085A

2015-03-19 Thread York Sun
LS2085A uses mxc I2C driver and has four I2C buses. Signed-off-by: York Sun CC: Heiko Schocher --- drivers/i2c/mxc_i2c.c | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/drivers/i2c/mxc_i2c.c b/drivers/i2c/mxc_i2c.c index fc5ee35..02a173e 100644 --- a/drive

[U-Boot] [PATCH] cmd_mem: Store last address/size/etc as ulong

2015-03-19 Thread York Sun
From: Scott Wood Otherwise the high 32 bits get truncated on 64-bit U-boot. Signed-off-by: Scott Wood CC: Simon Glass --- common/cmd_mem.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/cmd_mem.c b/common/cmd_mem.c index bcb3ee3..62a0404 100644 --- a/commo

[U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread York Sun
From: Minghuan Lian The patch removes unnecessary whitespace to fix checkpatch's warning: unnecessary whitespace before a quoted newline Signed-off-by: Minghuan Lian CC: Joe Hershberger --- drivers/net/e1000.c |8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/driv

[U-Boot] [PATCH 01/28] armv8/fsl-lsch3: Implement workaround for erratum A008585

2015-03-19 Thread York Sun
Generic Timer may contain an erroneous value. The workaround is to read it twice until getting the same value. Signed-off-by: York Sun --- arch/arm/cpu/armv8/generic_timer.c | 11 +++ arch/arm/include/asm/arch-fsl-lsch3/config.h |1 + 2 files changed, 12 insertions(+) di

[U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread York Sun
The timer clock is system clock divided by 4, not fixed 12MHz. This is common to the SoC, not board specific. Signed-off-by: York Sun --- README |8 arch/arm/cpu/armv8/fsl-lsch3/cpu.c | 24 board/freescale/ls2085a/ls2085a.c |

[U-Boot] [PATCH 02/28] armv8/ls2085a: Update common header file

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha ls2085a_common.h contains hard-coded information for NOR/NAND flash, I2C, DDR, etc. These are platform specific. Move them out of common header file and placed into respective board header files. Move TEXTBASE to 1MB offset to fit NOR flash with up to 1MB sector size. E

[U-Boot] [PATCH 05/28] armv8/ls2085a: Add support for reset request

2015-03-19 Thread York Sun
From: pankaj chauhan Add support for reset_cpu() by asserting RESET_REQ_B. Signed-off-by: pankaj chauhan --- arch/arm/cpu/armv8/fsl-lsch3/cpu.c | 11 +++ board/freescale/ls2085a/ls2085a.c |7 --- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/arch/arm/cpu/ar

[U-Boot] [PATCH 06/28] armv8/fsl-lsch3: Set nodes in DVM domain

2015-03-19 Thread York Sun
From: Scott Wood This is required for TLB invalidation broadcasts to work. Signed-off-by: Scott Wood --- arch/arm/cpu/armv8/fsl-lsch3/lowlevel.S |9 + arch/arm/include/asm/arch-fsl-lsch3/config.h |6 ++ 2 files changed, 15 insertions(+) diff --git a/arch/arm/cpu/armv8

[U-Boot] [PATCH 10/28] armv8/fsl-lsch3: Use correct compatible for serial clock fixup

2015-03-19 Thread York Sun
From: Scott Wood The serial nodes in the fsl-lsch3 device trees have compatible = "fsl,ns16550", "ns16550a" -- so don't look for "ns16550". Signed-off-by: Scott Wood --- arch/arm/cpu/armv8/fsl-lsch3/fdt.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/cpu/armv8

[U-Boot] [PATCH 09/28] armv8/ls2085a: Add workaround for USB erratum A-008751

2015-03-19 Thread York Sun
From: Scott Wood Without this "USB may not work" according to the erratum text, though I did not notice a problem without it. Signed-off-by: Scott Wood --- arch/arm/cpu/armv8/fsl-lsch3/soc.c | 11 +++ arch/arm/include/asm/arch-fsl-lsch3/config.h |5 + 2 files change

[U-Boot] [PATCH 08/28] fsl-lsch3: Introduce place for common early SoC init

2015-03-19 Thread York Sun
From: Scott Wood Signed-off-by: Scott Wood --- arch/arm/cpu/armv8/fsl-lsch3/Makefile |1 + arch/arm/cpu/armv8/fsl-lsch3/soc.c| 14 ++ arch/arm/include/asm/arch-fsl-lsch3/soc.h |8 board/freescale/ls2085a/ls2085a.c |4 ++-- 4 files changed,

[U-Boot] [PATCH 12/28] armv8: Add SerDes framework for LayerScape Architecture

2015-03-19 Thread York Sun
From: Minghuan Lian Add support of SerDes framework for LayerScape Architecture. - Add support of 2 SerDes block - Add SerDes protocol parsing and detection - Create table of SerDes protocol supported by LS2085A Signed-off-by: Prabhakar Kushwaha Signed-off-by: Minghuan Lian --- ar

[U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread York Sun
From: Scott Wood This lets us see the problems (close to) when they happen, rather than Linux hanging when it enables them prior to having a working console. Signed-off-by: Scott Wood --- arch/arm/cpu/armv8/fsl-lsch3/cpu.c |4 1 file changed, 4 insertions(+) diff --git a/arch/arm/cpu

[U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread York Sun
From: Shaohui Xie The memac for PHY management on little endian SoCs is similar on big endian SoCs, so we modify the driver by using I/O accessor function to handle the endianness, so the driver can be reused on little endian SoCs, we introduce CONFIG_SYS_MEMAC_LITTLE_ENDIAN for little endian SoC

[U-Boot] [PATCH 14/28] drivers/fsl-mc: Changed MC firmware loading for new boot architecture

2015-03-19 Thread York Sun
From: "J. German Rivera" Changed MC firmware loading to comply with the new MC boot architecture. Flush D-cache hierarchy after loading MC images. Add environment variables "mcboottimeout" for MC boot timeout in milliseconds, "mcmemsize" for MC DRAM block size. Check MC boot status before calling

[U-Boot] [PATCH 07/28] armv8/fsl-lsch3: Update early MMU table

2015-03-19 Thread York Sun
During booting, IFC is mapped to low region. After booting up, IFC is remapped to high region for larger space. The environmental variables are also stored at high region. In order to read the variables during booting, a virtual mapping is required. Cache was enabled for entire IFC space before. A

[U-Boot] [PATCH 18/28] driver/ldpaa: Add support of WRIOP static data structure

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha Wire rate IO Processor (WRIOP) provide support of receive and transmit ethernet frames from the ethernet MAC. Here Each WRIOP block supports upto 64 DPMACs. Create a house keeping data structure to support upto 16 DPMACs and store external phy related information. Sign

[U-Boot] [PATCH 16/28] armv8/fsl-ch3: Add support to print RCW configuration

2015-03-19 Thread York Sun
From: Bhupesh Sharma This patch adds support to print out the Reset Configuration Word information. Signed-off-by: Bhupesh Sharma Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-lsch3/cpu.c | 14 ++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-lsch3/c

[U-Boot] [PATCH 13/28] net/phy/cortina: Fix compilation warning

2015-03-19 Thread York Sun
From: pankaj chauhan Fix comilation warning which is emitted when firmware address is more than 32 bit. Signed-off-by: pankaj chauhan CC: Joe Hershberger --- drivers/net/phy/cortina.c |4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/phy/cortina.c b/driver

[U-Boot] [PATCH 11/28] driver/ldpaa_eth: Update ldpaa ethernet driver

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha Fix flush_dcache_range() input parameter to use start and end addresses. Change ethernet interface name to DPNI. Update entry criteria for ldpaa_eth_stop. Ethernet stack first stop the device before performing next operation. At the time of Ethernet driver registration, n

[U-Boot] [PATCH 19/28] armv8/ls2085aqds: Add support of LS2085AQDS platform

2015-03-19 Thread York Sun
The LS2080AQDS is an evaluatoin platform that supports the LS2080A family SoCs. This patch add basic support of the platform. Signed-off-by: York Sun Signed-off-by: Prabhakar Kushwaha Signed-off-by: Bhupesh Sharma --- arch/arm/Kconfig | 11 + arch/arm/cpu/ar

[U-Boot] [PATCH 23/28] driver/ifc: Add 64KB page support

2015-03-19 Thread York Sun
From: Jaiprakash Singh IFC has two register pages.Till IFC version 1.4 each register page is 4KB each.But IFC ver 2.0 register page size is 64KB each.IFC regiters structure is break into two viz FCM and RUNTIME.FCM(Flash control machine) registers are defined in PAGE0 and controls IFC generic fun

[U-Boot] [PATCH 21/28] drivers/fsl-mc: Autoload AOIP image from NOR flash

2015-03-19 Thread York Sun
From: "J. German Rivera" Load AIOP image from NOR flash into DDR so that the MC firmware the MC fw can start it at boot time. Signed-off-by: J. German Rivera Change-Id: I19e23d983e7f947a4398e0421600057e0d7be6a3 [York Sun: This is a debug commit. Will drop once AIOP is loaded by Linux] --- driv

[U-Boot] [PATCH 22/28] board/ls2085qds: Add support ethernet

2015-03-19 Thread York Sun
From: Prabhakar Kushwaha Add support of ethernet: - eth.c: mapping lane to slot for (0x2A, 0x07) - ls2085a.c: To enable/disable dpmac and get link type Signed-off-by: Prabhakar Kushwaha Change-Id: I6d79a9633f3e31b3c23c839b9e9660ee59f0cc0c --- board/freescale/ls2085aqds/Makefile |

[U-Boot] [PATCH 28/28] armv8/fsl-lsch3: Implement workaround for I2C issue

2015-03-19 Thread York Sun
This erratum requires setting GLITCH_EN bit in debug register. Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-lsch3/soc.c | 30 ++ 1 file changed, 30 insertions(+) diff --git a/arch/arm/cpu/armv8/fsl-lsch3/soc.c b/arch/arm/cpu/armv8/fsl-lsch3/soc.c index ca001

[U-Boot] [PATCH 24/28] armv8/ls2085aqds: NAND boot support

2015-03-19 Thread York Sun
From: Scott Wood This adds NAND boot support for LS2085AQDS, using SPL framework. To form a NAND image, append u-boot-with-spl.bin after a proper nand boot RCW and flash to the beginning of NAND. Signed-off-by: Scott Wood --- arch/arm/Kconfig |1 + arch/ar

[U-Boot] [PATCH 27/28] ls2085a: esdhc: Add esdhc support for ls2085a

2015-03-19 Thread York Sun
From: Yangbo Lu This patch adds esdhc support for ls2085a. Signed-off-by: Yangbo Lu --- arch/arm/cpu/armv8/fsl-lsch3/cpu.c | 10 +++ arch/arm/cpu/armv8/fsl-lsch3/fdt.c |7 + arch/arm/include/asm/arch-fsl-lsch3/config.h |2 ++ drivers/mmc/fsl_esdhc.c

[U-Boot] [PATCH 03/28] armv8/fsl-lsch3: Fix platform clock calculation

2015-03-19 Thread York Sun
Platform clock is half of platform PLL. There is an additional divisor in place. Clean up code copied from powerpc. Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-lsch3/speed.c |7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/armv8/fsl-lsch3/speed.c

[U-Boot] [PATCH 26/28] armv8/ls2085ardb: Enable NAND SPL support

2015-03-19 Thread York Sun
From: Scott Wood Enable NAND boot support using SPL framework. To boot from NAND, either use DIP switches on board, or "qixis_reset nand" command. Signed-off-by: Scott Wood --- arch/arm/Kconfig |1 + board/freescale/ls2085ardb/ddr.c |4 configs/ls2085ardb_nand_de

[U-Boot] [PATCH 20/28] armv8/ls2085ardb: Add support of LS2085ARDB platform

2015-03-19 Thread York Sun
The LS2080ARDB is a evaluation platform that supports LS2080A family SoCs. This patch add sbasic support for the platform. Signed-off-by: York Sun Signed-off-by: Prabhakar Kushwaha Signed-off-by: Bhupesh Sharma Signed-off-by: Scott Wood Change-Id: I7744b17f074488989de998ab7d487c437cc8eedf ---

[U-Boot] [PATCH 25/28] freescale/qixis: Add support for booting from NAND

2015-03-19 Thread York Sun
From: Scott Wood Use "qixis_reset nand" to reset the board to boot from NAND. Signed-off-by: Scott Wood --- board/freescale/common/qixis.c | 31 +-- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/board/freescale/common/qixis.c b/board/freescale/co

Re: [U-Boot] am335x: GPMC: reading speed with prefetch mode

2015-03-19 Thread Daniel Mack
Hi, On 03/19/2015 02:41 PM, Yegor Yefremov wrote: > I've got v2015.04-rc4 running on my custom am335x (600MHz) based > board. My 8-bit NAND chip: > > [17.297793 0.004021] omap-gpmc 5000.gpmc: GPMC revision 6.0 > [17.303850 0.006057] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xda > [

Re: [U-Boot] arm: mx5: Add support for USB armory board

2015-03-19 Thread Vagrant Cascadian
On 2015-02-24, and...@inversepath.com wrote: > Add support for Inverse Path USB armory board, an open source > flash-drive sized computer based on Freescale i.MX53 SoC. ... > diff --git a/include/configs/usbarmory.h b/include/configs/usbarmory.h > new file mode 100644 > index 000..e00ec7b > ---

Re: [U-Boot] arm: mx5: Add support for USB armory board

2015-03-19 Thread Otavio Salvador
Hello Vagrant, On Thu, Mar 19, 2015 at 1:55 PM, Vagrant Cascadian wrote: > On 2015-02-24, and...@inversepath.com wrote: >> Add support for Inverse Path USB armory board, an open source >> flash-drive sized computer based on Freescale i.MX53 SoC. > ... >> diff --git a/include/configs/usbarmory.h b

Re: [U-Boot] [PATCH V2] Exynos: Clock: Fix exynos5_get_periph_rate for I2C.

2015-03-19 Thread Guillaume Gardet
Ping. Guillaume Le 11/03/2015 10:34, Guillaume GARDET a écrit : Commit 2e82e9252695a612ab0cbf40fa0c7368515f6506 'Exynos: Clock: Cleanup soc_get_periph_rate' introduced a bug in I2C config. This patch makes cros_ec keyboard working again on Samsung Chromebook (snow). Changes in V2: reorder lin

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 11:43 AM, York Sun wrote: > > From: Minghuan Lian > > The patch removes unnecessary whitespace to fix checkpatch's > warning: unnecessary whitespace before a quoted newline > > Signed-off-by: Minghuan Lian > CC: Joe Hershberger Acked-by: Joe Hershberger Want me to pul

Re: [U-Boot] [PATCH 13/28] net/phy/cortina: Fix compilation warning

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 11:45 AM, York Sun wrote: > > From: pankaj chauhan > > Fix comilation warning which is emitted when > firmware address is more than 32 bit. > > Signed-off-by: pankaj chauhan > CC: Joe Hershberger Acked-by: Joe Hershberger ___

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread York Sun
On 03/19/2015 10:16 AM, Joe Hershberger wrote: > On Thu, Mar 19, 2015 at 11:43 AM, York Sun > wrote: >> >> From: Minghuan Lian > >> >> The patch removes unnecessary whitespace to fix checkpatch's >> warning: unnecessary whitespac

Re: [U-Boot] [PATCH] cmd_mem: Store last address/size/etc as ulong

2015-03-19 Thread Simon Glass
On 19 March 2015 at 10:43, York Sun wrote: > From: Scott Wood > > Otherwise the high 32 bits get truncated on 64-bit U-boot. > > Signed-off-by: Scott Wood > CC: Simon Glass > --- > common/cmd_mem.c |6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/common/cmd_mem

Re: [U-Boot] [PATCH] cmd_mem: Store last address/size/etc as ulong

2015-03-19 Thread York Sun
On 03/19/2015 10:50 AM, Simon Glass wrote: > On 19 March 2015 at 10:43, York Sun wrote: >> From: Scott Wood >> >> Otherwise the high 32 bits get truncated on 64-bit U-boot. >> >> Signed-off-by: Scott Wood >> CC: Simon Glass >> --- >> common/cmd_mem.c |6 +++--- >> 1 file changed, 3 inser

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread York Sun
On 03/19/2015 10:19 AM, York Sun wrote: > > > On 03/19/2015 10:16 AM, Joe Hershberger wrote: >> On Thu, Mar 19, 2015 at 11:43 AM, York Sun > > wrote: >>> >>> From: Minghuan Lian > > >>> >>> The patch removes unnecessary whitespace

Re: [U-Boot] U-boot on MPC8641D based board

2015-03-19 Thread Sinan Akman
Hi Ashish On 03/19/2015 08:12 AM, Ashish Khetan wrote: Hi All, I have been facing a strange problem in my board which is MPC8641D based. In this board we have two nor spansion flashes connected to cs0 and cs1. U boot had detected both the flashes and when flinfo command is it shows both flash

Re: [U-Boot] [PATCH 15/28] net/memac_phy: reuse driver for little endian SoCs

2015-03-19 Thread Joe Hershberger
Hi Shaohui Xie, On Thu, Mar 19, 2015 at 11:45 AM, York Sun wrote: > > From: Shaohui Xie > > The memac for PHY management on little endian SoCs is similar on big > endian SoCs, so we modify the driver by using I/O accessor function to > handle the endianness, so the driver can be reused on little

Re: [U-Boot] 64Bit device tree compilation

2015-03-19 Thread Thierry Reding
On Thu, Mar 19, 2015 at 07:43:35AM -0600, Simon Glass wrote: > Hi Hanna, > > On 18 March 2015 at 11:17, Hanna Hawa wrote: > > Hi Simon, > > > > > > > > My name is Hanna, I’m working in Software team in Marvell with Yehuda. > > > > > > > > I’m trying to run U-Boot with FDT in 64Bit. > > > > I’ve i

Re: [U-Boot] [PATCH] drivers/net/e1000.c: Cleanup whitespace

2015-03-19 Thread Joe Hershberger
On Thu, Mar 19, 2015 at 12:55 PM, York Sun wrote: > > On 03/19/2015 10:19 AM, York Sun wrote: > > > > > > On 03/19/2015 10:16 AM, Joe Hershberger wrote: > >> On Thu, Mar 19, 2015 at 11:43 AM, York Sun >> > wrote: > >>> > >>> From: Minghuan Lian >>

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 04:45:35PM +, York Sun wrote: > The timer clock is system clock divided by 4, not fixed 12MHz. This is > common to the SoC, not board specific. > > Signed-off-by: York Sun > --- > README |8 > arch/arm/cpu/armv8/fsl-lsch3/cpu.c

Re: [U-Boot] [PATCH 17/28] armv8/fsl-lsch3: Enable system error aborts

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 04:45:48PM +, York Sun wrote: > From: Scott Wood > > This lets us see the problems (close to) when they happen, > rather than Linux hanging when it enables them prior to having a > working console. FYI, if the Linux driver for your UART supports earlycon, that should

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread York Sun
On 03/19/2015 11:08 AM, Mark Rutland wrote: >> + >> +int timer_init(void) >> +{ >> +u32 __iomem *cntcr = (u32 *)CONFIG_SYS_FSL_TIMER_ADDR; >> +u32 __iomem *cltbenr = (u32 *)CONFIG_SYS_FSL_PMU_CLTBENR; >> +#ifdef COUNTER_FREQUENCY_REAL >> +unsigned long cntfrq = COUNTER_FREQUENCY_REAL; >

Re: [U-Boot] [PATCH 04/28] armv8/ls2085a: Fix generic timer clock source

2015-03-19 Thread Mark Rutland
On Thu, Mar 19, 2015 at 06:16:25PM +, York Sun wrote: > On 03/19/2015 11:08 AM, Mark Rutland wrote: > >> + > >> +int timer_init(void) > >> +{ > >> + u32 __iomem *cntcr = (u32 *)CONFIG_SYS_FSL_TIMER_ADDR; > >> + u32 __iomem *cltbenr = (u32 *)CONFIG_SYS_FSL_PMU_CLTBENR; > >> +#ifdef COUNTER_FRE

  1   2   >