Re: [U-Boot] [PATCH v4 00/33] dm: Introduce Rockchip RK3288 support

2015-11-09 Thread c...@rock-chips.com
Hi Simon, Thank you so much for your response. If there is no new framework, I may first follow the following API which U-boot has defined in the file include/common.h, such as: /* $(CPU)/interrupts.c */ int interrupt_init(void); void irq_install_handler(int, interrupt_handler_t *,

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment (LONG, sorry)

2015-11-09 Thread Albert ARIBAUD
Hello Bin, On Tue, 10 Nov 2015 11:54:08 +0800, Bin Meng wrote: > Hi Albert, > > On Tue, Nov 10, 2015 at 8:20 AM, Albert ARIBAUD > wrote: > > board_init_f_mem() alters the C runtime environment's > > stack it ls actually already using. This is not a valid > > C runtime environment and may confli

[U-Boot] [PATCH 1/2] spi: ti_qspi: Add dummy readl for bus sync

2015-11-09 Thread Vignesh R
Add dummy readl after invalidating cmd field of QSPI_CMD_REG to ensure bus sync. Without this device's CS is not deactivated reliably leading to failure to enumerate flash or failure to set quad enable bit on Macronix flash present on am437x-sk and am437x-idk evms. Signed-off-by: Vignesh R --- d

[U-Boot] [PATCH 2/2] ARM: am43xx: Enable QUAD read and EDMA support for ti_qspi

2015-11-09 Thread Vignesh R
Enable TI_EDMA3 and QUAD read support for ti_qspi on am43xx, this increases read performance to 4 MB/s. Signed-off-by: Vignesh R --- arch/arm/include/asm/arch-am33xx/hardware_am43xx.h | 3 +++ include/configs/am43xx_evm.h | 2 ++ 2 files changed, 5 insertions(+) diff --git

[U-Boot] [PATCH 0/2] am43xx: Enable QUAD mode and DMA support for QSPI

2015-11-09 Thread Vignesh R
This patchset enables QUAD mode and DMA support for qspi read on am437x. This increases the througput to 4 MB/s. Tested on am437x-sk and am437x-idk evm. Vignesh R (2): spi: ti_qspi: Add dummy readl for bus sync ARM: am437xx: Enable QUAD read and EDMA support for ti_qspi arch/arm/include/asm

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-09 Thread Albert ARIBAUD
Hello Thomas, On Tue, 10 Nov 2015 09:14:01 +0800, Thomas Chou wrote: > Hi Albert, > > On 2015年11月10日 08:20, Albert ARIBAUD wrote: > > board_init_f_mem() alters the C runtime environment's > > stack it ls actually already using. This is not a valid > > C runtime environment and may conflict with

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-09 Thread Bin Meng
Hi Albert, On Tue, Nov 10, 2015 at 8:20 AM, Albert ARIBAUD wrote: > board_init_f_mem() alters the C runtime environment's > stack it ls actually already using. This is not a valid > C runtime environment and may conflict with the C compiler's > expectations. What C compiler's expectations confli

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-09 Thread Masahiro Yamada
2015-11-10 5:24 GMT+09:00 Simon Glass : >>> I am unhappy because I was hoping >>> we could stop creating symbolic links during building >>> in a long run. > > But how? I don't see that it is possible if we want to have a sensible > prefix for each include. [step 1] move SoC-specific headers to a

Re: [U-Boot] [PATCH 04/10] dm: timer: Support 64-bit counter

2015-11-09 Thread Bin Meng
Hi Thomas, On Sat, Nov 7, 2015 at 6:40 AM, Thomas Chou wrote: > Hi Bin, > > > On 2015年11月06日 22:35, Bin Meng wrote: >> >> Hi Thomas, >> >> On Fri, Nov 6, 2015 at 3:14 PM, Thomas Chou wrote: >>> >>> Hi Bin, >>> >>> On 2015年11月05日 22:02, Bin Meng wrote: There are timers with a 64-bi

Re: [U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-09 Thread Thomas Chou
Hi Albert, On 2015年11月10日 08:20, Albert ARIBAUD wrote: board_init_f_mem() alters the C runtime environment's stack it ls actually already using. This is not a valid C runtime environment and may conflict with the C compiler's expectations. Split board_init_f_mem into C functions which do not al

[U-Boot] [PATCH v2] Various Makefiles: Add SPDX-License-Identifier tags

2015-11-09 Thread Tom Rini
After consulting with some of the SPDX team, the conclusion is that Makefiles are worth adding SPDX-License-Identifier tags too, and most of ours have one. This adds tags to ones that lack them and converts a few that had full (or in one case, very partial) license blobs into the equivalent tag.

[U-Boot] [PATCH] Various Makefiles: Add SPDX-License-Identifier tags

2015-11-09 Thread Tom Rini
After consulting with some of the SPDX team, the conclusion is that Makefiles are worth adding SPDX-License-Identifier tags too, and most of ours have one. This adds tags to ones that lack them and converts a few that had full (or in one case, very partial) license blobs into the equivalent tag.

Re: [U-Boot] [PATCH v4 13/20] rockchip: Add an rk3036 MMC driver

2015-11-09 Thread hl
Hi Simon, On 10/11/15 04:23, Simon Glass wrote: Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: rk3036 mmc driver is similar to dw_mmc, but use external dma, this patch implment fifo mode, need to do dma mode in future. What is the plan to merge this driver with the dwmmc one? Also the

Re: [U-Boot] [PATCH v4 14/20] rockchip: add early uart driver

2015-11-09 Thread hl
Hi Simon, On 10/11/15 04:24, Simon Glass wrote: Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: add early uart driver so we can print debug message in SPL stage Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - pass uart base address to rk_uart_init

Re: [U-Boot] [PATCH v4 20/20] rockchip: doc: show packet rk3036 uboot image

2015-11-09 Thread hl
Hi Simon, On 10/11/15 04:24, Simon Glass wrote: Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: show how to packet rk3036 uboot image and boot from SD Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: - fix some spell error doc

[U-Boot] [PATCH] Fix board init code to use a valid C runtime environment

2015-11-09 Thread Albert ARIBAUD
board_init_f_mem() alters the C runtime environment's stack it ls actually already using. This is not a valid C runtime environment and may conflict with the C compiler's expectations. Split board_init_f_mem into C functions which do not alter their own stack and therefore function in a valid C ru

Re: [U-Boot] [UBOOT PATCH v2 2/2] arasan: nfc: Add initial nand driver support for arasan

2015-11-09 Thread Scott Wood
On Fri, Nov 06, 2015 at 04:52:33PM +0530, Siva Durga Prasad Paladugu wrote: > Added initial nand driver support for arasan nand flash > controller.This supports nand erase,nand read, nand write > This uses the hardware ECC for read and write operations > ZynqMP uses this driver. > > Signed-off-by

Re: [U-Boot] [PATCH v4 7/7] board: ti: AM57xx: Add detection logic for AM57xx-evm

2015-11-09 Thread Nishanth Menon
On 18:39-20151105, Steve Kipisz wrote: [...] > diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c > index 042f9ab1965a..15da8e66fee5 100644 > --- a/board/ti/am57xx/board.c > +++ b/board/ti/am57xx/board.c [...] > +static void setup_board_eeprom_env(void) > +{ > + char *name

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-11-09 Thread Fabio Estevam
Hi Nikolay, On Thu, Aug 13, 2015 at 9:37 AM, Nikolay Dimitrov wrote: > Thanks for sharing this info, it seems it will solve a similar problem > of mine on the latest U-Boot code (SPI slave malloc not working during > SPL boot from SPI NOR). Unfortunately this is not working in U-boot mainline n

Re: [U-Boot] Secure memory

2015-11-09 Thread York Sun
On 11/06/2015 02:10 PM, York Sun wrote: > Albert, > > I am trying to separate secure memory and non-secure memory for ARMv8. Before > I > go too far, I'd like to check with you to see if there is already some code > implemented. > > Basically what I am trying to do is to mark most DDR memory n

Re: [U-Boot] [PATCH v4 3/7] ARM: omap-common: Add standard access for board description EEPROM

2015-11-09 Thread Nishanth Menon
On 11/05/2015 06:39 PM, Steve Kipisz wrote: [...] > +#define TI_EEPROM_HDR_NAME_LEN 8 > +#define TI_EEPROM_HDR_REV_LEN12 > +#define TI_EEPROM_HDR_SERIAL_LEN 4 ^^ minor typo here as well. Serial should be 12 and REV is 4. [...] -- Regards, Nishanth Menon ___

Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY

2015-11-09 Thread Tom Rini
On Mon, Nov 09, 2015 at 11:28:27PM +, Tom Warren wrote: > TomR, > > Any chance of you taking a look at these ARM MMU patches and either > taking them in to u-boot/master or ACKing them so I can take them in > via the Tegra repo? So I know Albert was tacking a PR today and then ran into a bug

Re: [U-Boot] Using spi_alloc_slave() from SPL

2015-11-09 Thread Fabio Estevam
On Thu, Aug 6, 2015 at 7:13 PM, Fabio Estevam wrote: > Hi Simon, > > On Thu, Aug 6, 2015 at 4:31 PM, Simon Glass wrote: > >> Please check the README about the SPL flow. From what I can see >> malloc() is not available before board_init_r() in SPL. >> >> However, if you add a call to spl_init() fr

Re: [U-Boot] [PATCH 1/4] armv8: enable compilation with CONFIG_SYS_NONCACHED_MEMORY

2015-11-09 Thread Tom Warren
TomR, Any chance of you taking a look at these ARM MMU patches and either taking them in to u-boot/master or ACKing them so I can take them in via the Tegra repo? Thanks, TomW > -Original Message- > From: Tom Warren > Sent: Friday, November 06, 2015 9:32 AM > To: 'Albert ARIBAUD' ; 'St

Re: [U-Boot] [PATCH v4 3/7] ARM: omap-common: Add standard access for board description EEPROM

2015-11-09 Thread Nishanth Menon
On 11/05/2015 06:39 PM, Steve Kipisz wrote: [...] > diff --git a/board/ti/common/board_detect.c b/board/ti/common/board_detect.c > new file mode 100644 > index ..3d2b1bb1465e > --- /dev/null > +++ b/board/ti/common/board_detect.c [...] > +int __maybe_unused ti_i2c_eeprom_am_get_print(

Re: [U-Boot] [PATCH] patman: fix series-notes handling for buildman

2015-11-09 Thread Albert ARIBAUD
Hello Simon, On Mon, 9 Nov 2015 12:24:55 -0800, Simon Glass wrote: > On 9 November 2015 at 06:19, Albert ARIBAUD wrote: > > A patman series with a 'Series-notes' section causes > > buildman to crash with: > > > > self.series.notes += self.section > > TypeError: cannot concatenate 'str' a

Re: [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y

2015-11-09 Thread Simon Glass
On 9 November 2015 at 12:03, Tom Rini wrote: > On Mon, Nov 09, 2015 at 10:45:07AM +0100, Michal Simek wrote: > >> CONFIG_OF_EMBED=y is the option which is here only for testing purpose >> and shouldn't be enabled by default as is describe at: >> "dts: Add a comment about CONFIG_OF_EMBED being for

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-09 Thread Simon Glass
Hi Hans, On 9 November 2015 at 00:22, Hans de Goede wrote: > Hi, > > On 09-11-15 07:48, Simon Glass wrote: >> >> Each scan of the USB bus may return different results. Existing >> driver-model >> devices are reused when found, but if a device no longer exists it will >> stay >> around, de-activat

Re: [U-Boot] [PATCH v5 2/3] cfi_flash: convert to driver model

2015-11-09 Thread Simon Glass
On 6 November 2015 at 23:57, Thomas Chou wrote: > Convert cfi flash to driver model. > > Signed-off-by: Thomas Chou > --- > v2 > add dts binding. > add more help to Kconfig. > move struct platdata to top of file as Simon suggested. > v3 > change to MTD uclass. > v4 > fix fdt addr and si

Re: [U-Boot] [PATCH] patman: fix series-notes handling for buildman

2015-11-09 Thread Simon Glass
On 9 November 2015 at 06:19, Albert ARIBAUD wrote: > A patman series with a 'Series-notes' section causes > buildman to crash with: > > self.series.notes += self.section > TypeError: cannot concatenate 'str' and 'list' objects > > Fix by initializing series.notes as a one-element array > r

Re: [U-Boot] [PATCH V4 11/13] spl: announce boot devices

2015-11-09 Thread Simon Glass
On 8 November 2015 at 07:11, Nikita Kiryanov wrote: > Now that we support alternative boot devices, it can sometimes be > unclear which boot devices was actually used. Provide a function to > announce which boot devices are attempted during boot. > > Signed-off-by: Nikita Kiryanov > Cc: Igor Grin

Re: [U-Boot] [PATCH v4 20/20] rockchip: doc: show packet rk3036 uboot image

2015-11-09 Thread Simon Glass
Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: > show how to packet rk3036 uboot image and boot from SD > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: None > Changes in v4: > - fix some spell error > > doc/README.rockchip | 7 +++ > 1

Re: [U-Boot] [PATCH V4 10/13] spl: add support for alternative boot device

2015-11-09 Thread Simon Glass
On 8 November 2015 at 07:11, Nikita Kiryanov wrote: > Introduce spl_boot_list array, which defines a list of boot devices > that SPL will try before hanging. By default this list will consist > of only spl_boot_device(), but board_boot_order() can be overridden > by board code to populate the arra

Re: [U-Boot] [PATCH v4 00/33] dm: Introduce Rockchip RK3288 support

2015-11-09 Thread Simon Glass
Hi, On 9 November 2015 at 00:41, c...@rock-chips.com wrote: > Hi Simon, > > Do you have plan to support interrupt controller driver for U-Boot? > > On Rockchip SDK uboot,interrupt is enabled, usb driver using interrupt for > speed up programing images. > U-Boot code has no a good interrupt contro

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-09 Thread Simon Glass
Hi Masahiro, On 9 November 2015 at 09:37, Nishanth Menon wrote: > On 11/09/2015 10:03 AM, Masahiro Yamada wrote: >> 2015-11-09 1:38 GMT+09:00 Tom Rini : >>> On Sun, Nov 08, 2015 at 09:56:18AM -0600, menon.nisha...@gmail.com wrote: On Sat, Nov 7, 2015 at 8:18 PM, Tom Rini wrote: > C

Re: [U-Boot] [PATCH v4 19/20] rockchip: Add support for rk's second level loader

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > From: Jeffy Chen > > The Rockchip boot ROM could load & run an initial spl loader, > and continue to load a second level boot-loader(which stored > right after the initial loader) when it returns. > Modify idblock generation code to support it. > >

Re: [U-Boot] [PATCH v4 17/20] rockchip: Add basic support for evb-rk3036 board

2015-11-09 Thread Simon Glass
Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: > This add some basic files required to allow the board to dispaly > serial message and can run command(mmc info etc) > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v2: > - get sdram info fro

Re: [U-Boot] [PATCH v4 18/20] rockchip: Add max init size & chip tag configs

2015-11-09 Thread Simon Glass
Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: > From: Jeffy Chen > > Our chips may have different sram size limits and chip tag, so > we need to add configs for that. > > Signed-off-by: Jeffy Chen > --- > Changes in v1: None > Changes in v2: None > Changes in v3: None > Changes in v4: N

Re: [U-Boot] [PATCH v4 16/20] rockchip: rk3036: Add core Soc start-up code

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > rk3036 only 4K size SRAM for SPL, so only support > timer, uart, sdram driver in SPL stage, when finish > initial sdram, back to bootrom.And in rk3036 sdmmc and > debug uart use same iomux, so if you want to boot from > sdmmc, you must disable debug

Re: [U-Boot] [PATCH v4 15/20] rockchip: add rk3036 sdram driver

2015-11-09 Thread Simon Glass
Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: > add rk3036 sdram driver so we can set up sdram in SPL > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: > - fix some code style error > Changes in v4: > -modify code advice by Simon Glass > > a

Re: [U-Boot] [PATCH v4 12/20] rockchip: rk3036: Add pinctrl driver

2015-11-09 Thread Simon Glass
Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: > Add a driver which support pin multiplexing setup for rk3036 > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v2: None > Changes in v3: > - fix some coding style error > Changes in v4: None >

Re: [U-Boot] [PATCH v4 14/20] rockchip: add early uart driver

2015-11-09 Thread Simon Glass
Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: > add early uart driver so we can print debug message in > SPL stage > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: > - pass uart base address to rk_uart_init() function > Changes in v4: None >

Re: [U-Boot] [PATCH v4 04/20] rockchip: add config decide whether to build common.c

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > some rockchips soc will not use uclass in SPL stage, > so define config to decide whether to build common.c > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: None > Changes in v4: None > > arch/arm/mach

Re: [U-Boot] [PATCH v4 13/20] rockchip: Add an rk3036 MMC driver

2015-11-09 Thread Simon Glass
Hi Lin, On 9 November 2015 at 00:02, Lin Huang wrote: > rk3036 mmc driver is similar to dw_mmc, but use external dma, > this patch implment fifo mode, need to do dma mode in future. What is the plan to merge this driver with the dwmmc one? Also the other code seems very similar to rockchip_dw_mm

Re: [U-Boot] [PATCH v4 10/20] rockchip: rk3036: Add Soc reset driver

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > We can reset the Soc using some CRU (clock/reset unit) register. > Add support for this. > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v2: > - only build reset_rk3036.c in NON-SPL stage > Changes i

Re: [U-Boot] [PATCH v4 11/20] rockchip: rk3036: Add a simple syscon driver

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > Add a driver that provides access to system controllers > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v2: > - only build syscon_rk3036.c on NON-SPL stage > Changes in v3: None > Changes in v4: None

Re: [U-Boot] [PATCH v4 09/20] rockchip: rk3036: Add header files for GRF

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > GRF is the gereral register file. Add header files with register definitions. > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v2: > - move some macro to grf_rk3036.h > Changes in v3: None > Changes i

Re: [U-Boot] [PATCH v4 08/20] rockchip: rk3036: Add clock driver

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > Add a driver for setting up and modifying the various PLLs, peripheral > clocks and mmc clocks on RK3036 > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v2: > - move some macro to cru_rk3036.h > Chan

Re: [U-Boot] [PATCH v4 07/20] rockchip: Bring in RK3036 device tree file includes and bindings

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > Since rk3036 device tree file still in reviewing, bring it from > https://patchwork.kernel.org/patch/7203371/ and add some aliases > we need in uboot > > Signed-off-by: Lin Huang > --- > Changes in v1: > - clean copyright announcement > Changes in v

Re: [U-Boot] [PATCH v4 02/20] rockchip: move SYS_MALLOC_F_LEN to rk3288 own Kconfig

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > > since different rockchip SOC have different size of SRAM, > So the size SYS_MALLOC_F_LEN may different, so move this > config to rk3288 own Kconfig > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: Non

Re: [U-Boot] [PATCH v4 05/20] dm: core: Add SPL Kconfig for REGMAP and SYSCON

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > Add SPL Kconfig for REGMAP and SYSCON, so REGMAP and SYSCON can > remove from SPL stage. > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: > - fix compile error > Changes in v4: None > > configs/chromeb

Re: [U-Boot] [PATCH v4 06/20] rockchip: serial driver support rk3036

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: > - modify code suggest by Simon > Changes in v3: None > Changes in v4: None > > drivers/serial/serial_rockchip.c | 1 + > 1 file changed, 1 insertion(+) Acked-by: Simon Glass

Re: [U-Boot] [PATCH v4 03/20] rockchip: rename board-spl.c to rk3288-board-spl.c

2015-11-09 Thread Simon Glass
On 9 November 2015 at 00:02, Lin Huang wrote: > since different rockchip soc need different spl file, > so rename board-spl.c. > > Signed-off-by: Lin Huang > --- > Changes in v1: None > Changes in v2: None > Changes in v3: None > Changes in v4: None > > arch/arm/mach-rockchip/Makefile

[U-Boot] eth_send, eth_rx

2015-11-09 Thread Milan Joshi
Hi Team, I want to implement eth client like application in the form of some command. I am going through the TFTP protocol implementation so that I can understand the flow. I want to make sure about following.. After sending packet using eth_send or NetSendUdpPacket, eth_rx function is polled in

Re: [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region

2015-11-09 Thread Thierry Reding
On Mon, Nov 09, 2015 at 08:19:48AM -0700, Stephen Warren wrote: > On 11/09/2015 07:36 AM, Thierry Reding wrote: > >On Wed, Oct 28, 2015 at 11:59:04AM -0600, Stephen Warren wrote: > >>On 10/18/2015 10:57 PM, Alexandre Courbot wrote: > >>>T210's GPU secure firmware loading requires a write-protected

Re: [U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y

2015-11-09 Thread Tom Rini
On Mon, Nov 09, 2015 at 10:45:07AM +0100, Michal Simek wrote: > CONFIG_OF_EMBED=y is the option which is here only for testing purpose > and shouldn't be enabled by default as is describe at: > "dts: Add a comment about CONFIG_OF_EMBED being for local use" > (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a

Re: [U-Boot] [PATCH] ARM: zynq: Choose boot image based on OF_SEPARATE macro

2015-11-09 Thread Tom Rini
On Mon, Nov 09, 2015 at 10:43:39AM +0100, Michal Simek wrote: > OF_CONTROL is enabled by default for all Zynq boards. > The difference between two boot images is done by OF_SEPARATE > or OF_EMBED macros. > > Signed-off-by: Michal Simek Reviewed-by: Tom Rini -- Tom signature.asc Description

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-09 Thread Nishanth Menon
On 11/09/2015 10:03 AM, Masahiro Yamada wrote: > 2015-11-09 1:38 GMT+09:00 Tom Rini : >> On Sun, Nov 08, 2015 at 09:56:18AM -0600, menon.nisha...@gmail.com wrote: >>> On Sat, Nov 7, 2015 at 8:18 PM, Tom Rini wrote: >>> Conceptually fine with me. Do we really need a config option for it

Re: [U-Boot] Ethernet i210 (e1000 driver) on tegra K1

2015-11-09 Thread Stephen Warren
On 11/04/2015 08:49 PM, Bin Meng wrote: On Thu, Nov 5, 2015 at 2:54 AM, Stephen Warren wrote: On 10/30/2015 05:07 AM, Ivan Mercier wrote: Hi, I'm using a ethernet controller intel i210 (http://www.commell.com.tw/product/Surveillance/MPX-210.htm) on my nvidia tegra k1 jetson. (You didn't a

Re: [U-Boot] [PATCH v2 4/5] armv7/fsl-ls102xa: Workaround for DDR erratum A008514

2015-11-09 Thread York Sun
On 11/09/2015 01:30 AM, Yuan Yao-B46683 wrote: > Hi york, > > Is it for DDR4? > LS1021A doesn't use this file. LS1021A support both DDR3 and DDR4. DDR4 mode uses this driver, doesn't it? My concern is if the workaround is implemented in different places, it will be harder to maintain in future

Re: [U-Boot] [PATCH v2 00/26] usb: Drop requirement for USB unbinding, add tests

2015-11-09 Thread Simon Glass
Hi Hans, On 9 November 2015 at 00:14, Hans de Goede wrote: > Hi Simon, > > On 09-11-15 07:47, Simon Glass wrote: >> >> There was quite a bit of discussion about the change that required the >> unbinding of USB devices for the subsystem to function correctly. E.g. >> >> https://patchwork.ozlabs.or

Re: [U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids

2015-11-09 Thread Simon Glass
+Tom, Stephen Hi, On 9 November 2015 at 05:19, Thomas Chou wrote: > Hi Bin, > > On 2015年11月09日 20:03, Bin Meng wrote: >>> >>> I want to use serial_x86.c for nios2. I think there is no need to >>> duplicate >>> another one for altera/nios2. Is there a proper way to change >>> Kconfig/Makefile? >>

Re: [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region

2015-11-09 Thread Stephen Warren
On 11/09/2015 08:48 AM, Thierry Reding wrote: On Mon, Nov 09, 2015 at 08:19:48AM -0700, Stephen Warren wrote: On 11/09/2015 07:36 AM, Thierry Reding wrote: On Wed, Oct 28, 2015 at 11:59:04AM -0600, Stephen Warren wrote: On 10/18/2015 10:57 PM, Alexandre Courbot wrote: T210's GPU secure firmwa

Re: [U-Boot] [PATCH] Makefile: Include vendor common library in include search path

2015-11-09 Thread Masahiro Yamada
2015-11-09 1:38 GMT+09:00 Tom Rini : > On Sun, Nov 08, 2015 at 09:56:18AM -0600, menon.nisha...@gmail.com wrote: >> On Sat, Nov 7, 2015 at 8:18 PM, Tom Rini wrote: >> >> > Conceptually fine with me. Do we really need a config option for it >> > tho? >> >> I was following the lines of CONFIG_CREAT

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-11-09 Thread Marek Vasut
On Monday, November 09, 2015 at 04:46:54 PM, Stefan Roese wrote: > Hi Marek, Hi! > On 09.11.2015 14:49, Marek Vasut wrote: > > > > --- a/include/configs/socfpga_common.h > +++ b/include/configs/socfpga_common.h > @@ -73,7 +73,6 @@ > > /* > > * Cac

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-11-09 Thread Stefan Roese
Hi Marek, On 09.11.2015 14:49, Marek Vasut wrote: --- a/include/configs/socfpga_common.h +++ b/include/configs/socfpga_common.h @@ -73,7 +73,6 @@ /* * Cache */ -#define CONFIG_SYS_ARM_CACHE_WRITEALLOC #define CONFIG_S

Re: [U-Boot] [PATCH v4] colibri_vf: Add board_usb_phy_mode function

2015-11-09 Thread Marek Vasut
On Monday, November 09, 2015 at 03:59:56 PM, Sanchayan Maity wrote: > Add board_usb_phy_mode function for detecting whether a port is > being used as host or client using a GPIO. On Colibri Vybrid we > provide GPIO 102 for this very same purpose. > > Signed-off-by: Sanchayan Maity > --- > Changes

Re: [U-Boot] [PATCH v2] usb:ci_udc: Remove ULPI setting for i.MX OTG controller

2015-11-09 Thread Marek Vasut
On Monday, November 09, 2015 at 04:16:37 PM, Stephen Warren wrote: > On 11/09/2015 02:03 AM, Ye.Li wrote: > > All the i.MX6, i.MX23 and i.MX28 OTG controllers only support UTMI > > interface. Set to ULPI is not correct, even the controller will reject > > this setting in PORTSC register. > > > > d

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-11-09 Thread Marek Vasut
On Monday, November 09, 2015 at 12:42:24 PM, Stefan Roese wrote: > Hi Marek, > > On 09.11.2015 01:10, Marek Vasut wrote: > > On Thursday, September 17, 2015 at 05:30:29 PM, Stefan Roese wrote: > > > > Hi! > > > >> By not defining CONFIG_SYS_ARM_CACHE_WRITEALLOC, the WRITEBACK cache > >> policy i

Re: [U-Boot] [PATCH v2 00/26] usb: Drop requirement for USB unbinding, add tests

2015-11-09 Thread Marek Vasut
On Monday, November 09, 2015 at 07:47:42 AM, Simon Glass wrote: > There was quite a bit of discussion about the change that required the > unbinding of USB devices for the subsystem to function correctly. E.g. > > https://patchwork.ozlabs.org/patch/485637/ > > The key issue is the usb_get_dev_ind

Re: [U-Boot] [PATCH 0/5] net: altera_tse: add mSG-DMA support

2015-11-09 Thread Marek Vasut
On Monday, November 09, 2015 at 07:37:50 AM, Thomas Chou wrote: > The Modular Scatter-Gather DMA core is a new DMA core to work > with the Altera Triple-Speed Ethernet MegaCore. It replaces the > legacy Scatter-Gather Direct Memory Access (SG-DMA) controller > core. Please find details on the "Embe

Re: [U-Boot] [PATCH v2] nios2: add 10m50 devboard support

2015-11-09 Thread Marek Vasut
On Monday, November 09, 2015 at 07:59:03 AM, Thomas Chou wrote: > Add 10m50 devboard support. It is based on the Golden Hardware > Reference Design (GHRD), available at, > > http://rocketboards.org/foswiki/view/Documentation/ > AlteraMAX1010M50RevCDevelopmentKitLinuxSetup > > Though we supported

Re: [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region

2015-11-09 Thread Stephen Warren
On 11/09/2015 07:36 AM, Thierry Reding wrote: On Wed, Oct 28, 2015 at 11:59:04AM -0600, Stephen Warren wrote: On 10/18/2015 10:57 PM, Alexandre Courbot wrote: T210's GPU secure firmware loading requires a write-protected region to be set up. This patch reserves the upper 256KB of RAM as the WP

Re: [U-Boot] [PATCH v2] usb:ci_udc: Remove ULPI setting for i.MX OTG controller

2015-11-09 Thread Stephen Warren
On 11/09/2015 02:03 AM, Ye.Li wrote: All the i.MX6, i.MX23 and i.MX28 OTG controllers only support UTMI interface. Set to ULPI is not correct, even the controller will reject this setting in PORTSC register. diff --git a/drivers/usb/gadget/ci_udc.c b/drivers/usb/gadget/ci_udc.c @@ -1018,18

[U-Boot] [PATCH v4] colibri_vf: Add board_usb_phy_mode function

2015-11-09 Thread Sanchayan Maity
Add board_usb_phy_mode function for detecting whether a port is being used as host or client using a GPIO. On Colibri Vybrid we provide GPIO 102 for this very same purpose. Signed-off-by: Sanchayan Maity --- Changes since v3: Return USB_INIT_DEVICE or USB_INIT_HOST after checking for the GPIO sta

Re: [U-Boot] [PATCH 4/4] ARM: tegra210: gpu: configure WPR region

2015-11-09 Thread Thierry Reding
On Wed, Oct 28, 2015 at 11:59:04AM -0600, Stephen Warren wrote: > On 10/18/2015 10:57 PM, Alexandre Courbot wrote: > >T210's GPU secure firmware loading requires a write-protected region > >to be set up. > > > >This patch reserves the upper 256KB of RAM as the WPR region and locks > >it so the kern

Re: [U-Boot] [PATCH 2/8] dm: pci: Avoid a driver model build error with CONFIG_CMD_PCI_ENUM

2015-11-09 Thread Thierry Reding
On Fri, Oct 23, 2015 at 11:30:04AM -0600, Stephen Warren wrote: > On 10/23/2015 09:47 AM, Simon Glass wrote: > >Hi Stephen, > > > >On 21 October 2015 at 14:16, Stephen Warren wrote: > >>On 10/17/2015 11:49 AM, Simon Glass wrote: > >>> > >>>This is not supported with driver model, so print a messag

Re: [U-Boot] [PATCH v4 00/33] dm: Introduce Rockchip RK3288 support

2015-11-09 Thread c...@rock-chips.com
Hi Simon, Do you have plan to support interrupt controller driver for U-Boot? On Rockchip SDK uboot,interrupt is enabled, usb driver using interrupt for speed up programing images. U-Boot code has no a good interrupt controller driver platform, especially when u-boot using dtb. So, I haven't a

Re: [U-Boot] [UBOOT PATCH v2 1/2] zynqmp: nand: Add Nand driver support for zynqmp

2015-11-09 Thread Siva Durga Prasad Paladugu
Hi Scott, > -Original Message- > From: Scott Wood [mailto:scottw...@freescale.com] > Sent: Friday, November 06, 2015 10:33 PM > To: Siva Durga Prasad Paladugu > Cc: u-boot@lists.denx.de; Michal Simek; Siva Durga Prasad Paladugu > Subject: Re: [UBOOT PATCH v2 1/2] zynqmp: nand: Add Nand dri

[U-Boot] [PATCH] patman: fix series-notes handling for buildman

2015-11-09 Thread Albert ARIBAUD
A patman series with a 'Series-notes' section causes buildman to crash with: self.series.notes += self.section TypeError: cannot concatenate 'str' and 'list' objects Fix by initializing series.notes as a one-element array rathen than a scalar. Signed-off-by: Albert ARIBAUD --- tools/p

Re: [U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids

2015-11-09 Thread Thomas Chou
Hi Bin, On 2015年11月09日 20:03, Bin Meng wrote: I want to use serial_x86.c for nios2. I think there is no need to duplicate another one for altera/nios2. Is there a proper way to change Kconfig/Makefile? Please check my previous proposal on serial driver clean up. http://lists.denx.de/pipermai

Re: [U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids

2015-11-09 Thread Bin Meng
Hi Thomas, On Mon, Nov 9, 2015 at 5:17 PM, Thomas Chou wrote: > Hi Simon, > > On 2015年11月09日 16:53, Thomas Chou wrote: >> >> Add ns16550a compatible ids, so that other arch may use >> this standard driver. >> >> Signed-off-by: Thomas Chou >> --- >> drivers/serial/serial_x86.c | 2 ++ >> 1 fil

Re: [U-Boot] [PATCH] arm: socfpga: Fix cache configuration

2015-11-09 Thread Stefan Roese
Hi Marek, On 09.11.2015 01:10, Marek Vasut wrote: On Thursday, September 17, 2015 at 05:30:29 PM, Stefan Roese wrote: Hi! By not defining CONFIG_SYS_ARM_CACHE_WRITEALLOC, the WRITEBACK cache policy is selected. This leads to much better performance on the SoCFPGA. A quick network test shows t

Re: [U-Boot] [PATCH 0/2] Add support for GCC 5.x for MicroBlaze

2015-11-09 Thread Michal Simek
On 11/06/2015 10:25 AM, Nathan Rossi wrote: > This patch series fixes some issues with some MicroBlaze functions and > declarations that are not compatible with newer C standards (e.g. C99) this > includes the default C standard set by the GCC 5.x compiler (which is gnu11 by > default). > > This s

[U-Boot] [PATCH 2/2][v2] armv8: ls2085a: Add support of LS2085A SoC

2015-11-09 Thread Prabhakar Kushwaha
Freescale's LS2085A is a another personality of LS2080A SoC with support of AIOP and DP-DDR. This Patch adds support of LS2085A Personality. Signed-off-by: Pratiyush Mohan Srivastava Signed-off-by: Prabhakar Kushwaha --- Changes for v2: Rebased on LS1043 patch set arch/arm/cpu/armv8/fsl-layers

[U-Boot] [PATCH 1/2][v2] armv8: LS2080A: Rename LS2085A to reflect LS2080A

2015-11-09 Thread Prabhakar Kushwaha
LS2080A is a prime personality of Freescale’s LS2085A. It is a non-AIOP personality without support of DP-DDR, L2 switch, 1588, PCIe endpoint etc. So renaming existing LS2085A code base to reflect LS2080A (Prime personality) Signed-off-by: Pratiyush Mohan Srivastava Signed-off-by: Prabhakar Kushw

[U-Boot] [PATCH] spl: Add support for CONFIG_OF_EMBED=y

2015-11-09 Thread Michal Simek
CONFIG_OF_EMBED=y is the option which is here only for testing purpose and shouldn't be enabled by default as is describe at: "dts: Add a comment about CONFIG_OF_EMBED being for local use" (sha1: 3d3f60cb7a6bb6c338e00a9769fa918a8536096c) But still enabling this option locally shouldn't end up with

[U-Boot] [PATCH] ARM: zynq: Choose boot image based on OF_SEPARATE macro

2015-11-09 Thread Michal Simek
OF_CONTROL is enabled by default for all Zynq boards. The difference between two boot images is done by OF_SEPARATE or OF_EMBED macros. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/zynq-common.h

Re: [U-Boot] [PATCH v2 4/5] armv7/fsl-ls102xa: Workaround for DDR erratum A008514

2015-11-09 Thread Yao Yuan
Hi york, Is it for DDR4? LS1021A doesn't use this file. Best Regards, Yuan Yao > -Original Message- > From: York Sun [mailto:york...@freescale.com] > Sent: Friday, November 06, 2015 2:05 AM > To: Yuan Yao-B46683 > Cc: Wang Huan-B18965 ; u-boot@lists.denx.de > Subject: Re: [PATCH v2 4/5]

[U-Boot] [PATCH v2] usb:ci_udc: Remove ULPI setting for i.MX OTG controller

2015-11-09 Thread Ye . Li
All the i.MX6, i.MX23 and i.MX28 OTG controllers only support UTMI interface. Set to ULPI is not correct, even the controller will reject this setting in PORTSC register. Signed-off-by: Ye.Li --- Changes since v1: - Add error handling for udc probe drivers/usb/gadget/ci_udc.c | 14 +++

Re: [U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids

2015-11-09 Thread Thomas Chou
Hi Simon, On 2015年11月09日 16:53, Thomas Chou wrote: Add ns16550a compatible ids, so that other arch may use this standard driver. Signed-off-by: Thomas Chou --- drivers/serial/serial_x86.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/serial_x86.c b/drivers/serial/seri

[U-Boot] [PATCH] serial: serial_x86: add ns16550a compatible ids

2015-11-09 Thread Thomas Chou
Add ns16550a compatible ids, so that other arch may use this standard driver. Signed-off-by: Thomas Chou --- drivers/serial/serial_x86.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/serial_x86.c b/drivers/serial/serial_x86.c index 4bf6062..f378eee 100644 --- a/drivers/ser

Re: [U-Boot] [PATCH v2 18/26] dm: usb: Remove inactive children after a bus scan

2015-11-09 Thread Hans de Goede
Hi, On 09-11-15 07:48, Simon Glass wrote: Each scan of the USB bus may return different results. Existing driver-model devices are reused when found, but if a device no longer exists it will stay around, de-activated, but bound. Detect these devices and remove them after the scan completes. Si

Re: [U-Boot] [PATCH v2 00/26] usb: Drop requirement for USB unbinding, add tests

2015-11-09 Thread Hans de Goede
Hi Simon, On 09-11-15 07:47, Simon Glass wrote: There was quite a bit of discussion about the change that required the unbinding of USB devices for the subsystem to function correctly. E.g. https://patchwork.ozlabs.org/patch/485637/ The key issue is the usb_get_dev_index() function which is no

Re: [U-Boot] [PATCH] usb:ci_udc: Remove ULPI setting for i.MX OTG controller

2015-11-09 Thread Li Ye-B37916
On 11/5/2015 1:10 PM, Marek Vasut wrote: > On Thursday, November 05, 2015 at 04:17:38 AM, Ye.Li wrote: >> All the i.MX6, i.MX23 and i.MX28 OTG controllers only support UTMI >> interface. Set to ULPI is not correct, even the controller will reject >> this >> setting in PORTSC register. >> >> Signed

[U-Boot] [PATCH v4 19/20] rockchip: Add support for rk's second level loader

2015-11-09 Thread Lin Huang
From: Jeffy Chen The Rockchip boot ROM could load & run an initial spl loader, and continue to load a second level boot-loader(which stored right after the initial loader) when it returns. Modify idblock generation code to support it. Signed-off-by: Jeffy Chen --- Changes in v1: None Changes in

[U-Boot] [PATCH v4 20/20] rockchip: doc: show packet rk3036 uboot image

2015-11-09 Thread Lin Huang
show how to packet rk3036 uboot image and boot from SD Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: - fix some spell error doc/README.rockchip | 7 +++ 1 file changed, 7 insertions(+) diff --git a/doc/README.rockchip b/doc/README.r

[U-Boot] [PATCH v4 17/20] rockchip: Add basic support for evb-rk3036 board

2015-11-09 Thread Lin Huang
This add some basic files required to allow the board to dispaly serial message and can run command(mmc info etc) Signed-off-by: Lin Huang --- Changes in v1: - clean copyright announcement Changes in v2: - get sdram info from evb_rk3036.c Changes in v3: - delete some config Changes in v4: None

[U-Boot] [PATCH v4 18/20] rockchip: Add max init size & chip tag configs

2015-11-09 Thread Lin Huang
From: Jeffy Chen Our chips may have different sram size limits and chip tag, so we need to add configs for that. Signed-off-by: Jeffy Chen --- Changes in v1: None Changes in v2: None Changes in v3: None Changes in v4: None include/configs/rk3288_common.h | 3 +++ tools/Makefile

[U-Boot] [PATCH v4 15/20] rockchip: add rk3036 sdram driver

2015-11-09 Thread Lin Huang
add rk3036 sdram driver so we can set up sdram in SPL Signed-off-by: Lin Huang --- Changes in v1: None Changes in v2: None Changes in v3: - fix some code style error Changes in v4: -modify code advice by Simon Glass arch/arm/include/asm/arch-rockchip/sdram_rk3036.h | 341 ++ arch/arm/m

  1   2   >