Re: [U-Boot] [PATCH] dm: gpio: handle GPIO_ACTIVE_LOW flag in DT

2016-03-28 Thread Peng Fan
Hi Eric, On Fri, Mar 25, 2016 at 01:12:11PM -0700, Eric Nelson wrote: >Device tree parsing of GPIO nodes is currently ignoring flags. > >Add support for GPIO_ACTIVE_LOW by checking for the presence >of the flag and setting the desc->flags field to the driver >model constant GPIOD_ACTIVE_LOW. You

Re: [U-Boot] [PATCH V2] fsl: esdhc: consolidate fsl_esdhc_cfg structure

2016-03-28 Thread York Sun
On 03/28/2016 09:44 PM, Peng Fan wrote: > Hi York, > > On Tue, Mar 29, 2016 at 01:35:09AM +, york sun wrote: >> On 03/28/2016 06:23 PM, Peng Fan wrote: >>> Hi York, >>> >>> On Tue, Mar 29, 2016 at 12:33:42AM +, york sun wrote: On 03/15/2016 03:14 AM, Peng Fan wrote: > We can use p

Re: [U-Boot] [PATCH V2] fsl: esdhc: consolidate fsl_esdhc_cfg structure

2016-03-28 Thread Peng Fan
Hi York, On Tue, Mar 29, 2016 at 01:35:09AM +, york sun wrote: >On 03/28/2016 06:23 PM, Peng Fan wrote: >> Hi York, >> >> On Tue, Mar 29, 2016 at 12:33:42AM +, york sun wrote: >>> On 03/15/2016 03:14 AM, Peng Fan wrote: We can use phys_addr_to for esdhc_base to discard the #ifde

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-03-28 Thread George Broz
On 20 March 2016 at 09:49, Marek Vasut wrote: > On 03/18/2016 10:22 PM, George Broz wrote: >> On 18 March 2016 at 12:32, Marek Vasut wrote: >>> On 03/18/2016 07:59 PM, George Broz wrote: On 16 March 2016 at 18:35, Marek Vasut wrote: > On 03/16/2016 05:17 PM, George Broz wrote: >> On

Re: [U-Boot] Newbie SPL question for socfpga_sockit

2016-03-28 Thread George Broz
On 20 March 2016 at 08:55, Dinh Nguyen wrote: > > > On 03/16/2016 08:35 PM, Marek Vasut wrote: >>> >>> Does this work for anybody else? >>> Is it in anyone's experience that these (cheaper) Terasic >>> eval boards are generally out of spec? >>> >>> Is there a way to relax the calibration parameter

Re: [U-Boot] [PATCH V2] fsl: esdhc: consolidate fsl_esdhc_cfg structure

2016-03-28 Thread york sun
On 03/28/2016 06:23 PM, Peng Fan wrote: > Hi York, > > On Tue, Mar 29, 2016 at 12:33:42AM +, york sun wrote: >> On 03/15/2016 03:14 AM, Peng Fan wrote: >>> We can use phys_addr_to for esdhc_base to discard >>> the #ifdef. >>> >>> Signed-off-by: Peng Fan >>> Cc: York Sun >>> Cc: Yangbo Lu >>

Re: [U-Boot] [PATCH] common: env: support sata device

2016-03-28 Thread Peng Fan
Hi Tom, Thanks for reviewing. On Mon, Mar 28, 2016 at 11:15:43AM -0400, Tom Rini wrote: >On Mon, Mar 28, 2016 at 05:37:16PM +0800, Peng Fan wrote: > >> Introduce env support for sata device. >> 1. Implement write_env/read_env/env_relocate_spec/saveenv/sata_get_env_dev >> 2. If want to enable this

Re: [U-Boot] [PATCH V2] fsl: esdhc: consolidate fsl_esdhc_cfg structure

2016-03-28 Thread Peng Fan
Hi York, On Tue, Mar 29, 2016 at 12:33:42AM +, york sun wrote: >On 03/15/2016 03:14 AM, Peng Fan wrote: >> We can use phys_addr_to for esdhc_base to discard >> the #ifdef. >> >> Signed-off-by: Peng Fan >> Cc: York Sun >> Cc: Yangbo Lu >> Cc: Eric Nelson >> Cc: Fabio Estevam >> Cc: Pantel

[U-Boot] [PATCH v2] armv8: LS2080A: Consolidate LS2080A and LS2085A

2016-03-28 Thread York Sun
LS2080A is the primary SoC, and LS2085A is a personality with AIOP and DPAA DDR. The RDB and QDS boards support both personality. By detecting the SVR at runtime, a single image per board can support both SoCs. It gives users flexibility to swtich SoC without the need to reprogram the board. Signe

[U-Boot] [PATCH v2 0/1] Use LS2080A as the only SoC name

2016-03-28 Thread York Sun
Not long ago, a change was made in U-Boot to switch the primary SoC from LS2085A to LS2080A. SoC name and board names were changed. It turns out the same board support both SoCs with a socket. It is possible to swtich SoC. In this case, using one unified image is more appropriate. If future SoC can

Re: [U-Boot] [PATCH V2] fsl: esdhc: consolidate fsl_esdhc_cfg structure

2016-03-28 Thread york sun
On 03/15/2016 03:14 AM, Peng Fan wrote: > We can use phys_addr_to for esdhc_base to discard > the #ifdef. > > Signed-off-by: Peng Fan > Cc: York Sun > Cc: Yangbo Lu > Cc: Eric Nelson > Cc: Fabio Estevam > Cc: Pantelis Antoniou > Cc: Tom Rini > --- > > V2: > Split this patch from the V1 pa

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-28 Thread Peng Fan
Hi York, On Mon, Mar 28, 2016 at 05:55:39PM +, york sun wrote: >On 03/27/2016 08:02 AM, Peng Fan wrote: >> Hi York, >> >> Could you test this patch for PPC and layerscape platform? Since I >> only test this on i.MX6 platform, I do not want to break PPC or else. >> >> Thanks, >> Peng. >> >>

Re: [U-Boot] [PATCH RESEND] armv8: LSCH2 early and final mmu needs matching NS attribute

2016-03-28 Thread york sun
On 03/28/2016 02:16 PM, Ed Swarthout wrote: > When switching between the early and final mmu tables, the stack will > get corrupted if the Non-Secure attribute is different. For ls1043a, > this issue is currently masked because flush_dcache_all is called > before the switch when CONFIG_SYS_DPAA_FM

[U-Boot] [PATCH] buildman: allow more incremental building

2016-03-28 Thread Stephen Warren
From: Stephen Warren One use-case for buildman is to continually run it interactively after each small step in a large refactoring operation. This gives more immediate feedback than making a number of commits and then going back and testing them. For this to work well, buildman needs to be extrem

[U-Boot] [PATCH RESEND] armv8: LSCH2 early and final mmu needs matching NS attribute

2016-03-28 Thread Ed Swarthout
When switching between the early and final mmu tables, the stack will get corrupted if the Non-Secure attribute is different. For ls1043a, this issue is currently masked because flush_dcache_all is called before the switch when CONFIG_SYS_DPAA_FMAN is defined. Signed-off-by: Ed Swarthout --- Re

[U-Boot] [PATCH] armv8/LSCH2: early and final mmu needs matching NS attribute

2016-03-28 Thread Ed Swarthout
When switching between the early and final mmu tables, the stack will get corrupted if the Non-Secure attribute is different. For ls1043a, this issue is currently masked because flush_dcache_all is called before the switch when CONFIG_SYS_DPAA_FMAN is defined. Signed-off-by: Ed Swarthout --- de

[U-Boot] [RFC] SPL -> U-Boot Chain of Trust

2016-03-28 Thread Andreas Dannenberg
On Mon, Mar 28, 2016 at 03:32:40PM -0400, Tom Rini wrote: > I'm interested in getting secure device support going, but it seems > like we should need more than that, ie something to keep the chain of > trust going. Tom et al., I just saw your reply to Vitaly's email and I'm actually just looking i

Re: [U-Boot] [PATCH] configs: ti_armv7_keystone2: make SYS_TEXT_BASE configurable at build time

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 03:15:59PM -0400, Vitaly Andrianov wrote: > U-boot for general purpose KS2 devices is loaded to the beginning of the > internal memory (0x0c00). Secure devices uses this memory and > CONFIG_SYS_TEXT_BASE has to be different for those devices. > > This commit make this

Re: [U-Boot] [PATCH] board: ge: bx50v3: Update display setup

2016-03-28 Thread Akshay Bhat
Hi Stefano, On Tue, Mar 15, 2016 at 2:10 PM, Akshay Bhat wrote: Implements the below changes: - Disable LVDS1 on B450v3/B650v3 boards since the final boards no longer have connectors for the same. Only LVDS0 hardware connectors are present. - Implement imx6 EB821 or ERR009219 errata for LVDS c

[U-Boot] [PATCH] configs: ti_armv7_keystone2: make SYS_TEXT_BASE configurable at build time

2016-03-28 Thread Vitaly Andrianov
U-boot for general purpose KS2 devices is loaded to the beginning of the internal memory (0x0c00). Secure devices uses this memory and CONFIG_SYS_TEXT_BASE has to be different for those devices. This commit make this configurable at build time by giving CONFIG_SYS_TEXT_BASE as a command line d

[U-Boot] [PATCH] arm: spl: Align default board_init_f comment with code

2016-03-28 Thread Andreas Dannenberg
The default board_init_f() implementation performs a call to board_init_r() as the last step of the sequence. Fix the comment for this function to reflect the actual execution flow. Signed-off-by: Andreas Dannenberg --- arch/arm/lib/spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[U-Boot] should include/post.h have MPC8360-related macro refer to "CPM_POST_WORD_ADDR"?

2016-03-28 Thread Robert P. J. Day
another POST-related bit of pedantry, but i'm curious about the best way to deal with the question in the subject. i can see in include/post.h the logic involved in assigning a value to the macro _POST_WORD_ADDR. first, deal with the trivial case: #ifndef CONFIG_POST_EXTERNAL_WORD_FUNCS #ifd

Re: [U-Boot] [PATCH V3] fsl: esdhc: support driver model

2016-03-28 Thread york sun
On 03/27/2016 08:02 AM, Peng Fan wrote: > Hi York, > > Could you test this patch for PPC and layerscape platform? Since I > only test this on i.MX6 platform, I do not want to break PPC or else. > > Thanks, > Peng. > > On Fri, Mar 25, 2016 at 02:16:56PM +0800, Peng Fan wrote: >> Support Driver Mo

Re: [U-Boot] [PATCH 1/9] imx: imx6qdl: add device tree files for i.MX6DQ

2016-03-28 Thread Eric Nelson
On 03/28/2016 10:26 AM, Eric Nelson wrote: > Copy device tree headers and include (.dtsi) files for > i.MX6 Dual and Quad variants. > > These are copied as-is from Linux stable (4.4.1). > This is the only patch in the set. Sorry for not catching the "Patch 1/9" in the header. I pulled this out

[U-Boot] [PATCH V3 1/3] drivers: block: add block device cache

2016-03-28 Thread Eric Nelson
Add a block device cache to speed up repeated reads of block devices by various filesystems. This small amount of cache can dramatically speed up filesystem operations by skipping repeated reads of common areas of a block device (typically directory structures). This has shown to have some benefi

[U-Boot] [PATCH V2 1/3] drivers: block: add block device cache

2016-03-28 Thread Eric Nelson
Add a block device cache to speed up repeated reads of block devices by various filesystems. This small amount of cache can dramatically speed up filesystem operations by skipping repeated reads of common areas of a block device (typically directory structures). This has shown to have some benefi

Re: [U-Boot] [PATCH v2 1/2] doc: driver-model: Update dm tests run using test.py

2016-03-28 Thread Jagan Teki
On 17 March 2016 at 12:23, Jagan Teki wrote: > Since all the tests are implemented in pytest infrastructure, > So update the dm tests with the same instead of ./test/dm/test-dm.sh > > Cc: Tom Rini > Cc: Simon Glass > Acked-by: Stephen Warren > Signed-off-by: Jagan Teki Ping! -- Jagan.

Re: [U-Boot] [PATCH v2 2/2] board: README.sandbox: Update dm test command

2016-03-28 Thread Jagan Teki
On 17 March 2016 at 12:23, Jagan Teki wrote: > Update dm test command with pytest instead of ./test/dm/test-dm.sh > > Cc: Tom Rini > Cc: Simon Glass > Acked-by: Stephen Warren > Signed-off-by: Jagan Teki Ping! -- Jagan. ___ U-Boot mailing list U-B

Re: [U-Boot] [PATCH] drivers: net: ldpaa: Memset pools_params as "0" before use

2016-03-28 Thread Joe Hershberger
On Mon, Mar 28, 2016 at 3:41 AM, Prabhakar Kushwaha wrote: > Memset pools_params as "0" to avoid garbage value in dpni_set_pools. > > Signed-off-by: Prabhakar Kushwaha > Reported-by: Jose Rivera Acked-by: Joe Hershberger ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH v5 1/3] net: phy: Optionally force master mode for RTL PHY

2016-03-28 Thread Joe Hershberger
Hi Hans, On Mon, Mar 28, 2016 at 7:54 AM, Hans de Goede wrote: > Hi, > > > On 25-03-16 22:11, Joe Hershberger wrote: >> >> On Fri, Mar 25, 2016 at 12:22 PM, Michael Haas >> wrote: >>> >>> This patch introduces CONFIG_RTL8211X_PHY_FORCE_MASTER. If this >>> define is set, RTL8211x PHYs (except for

Re: [U-Boot] [PATCH] common: env: support sata device

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 05:37:16PM +0800, Peng Fan wrote: > Introduce env support for sata device. > 1. Implement write_env/read_env/env_relocate_spec/saveenv/sata_get_env_dev > 2. If want to enable this feature, define CONFIG_ENV_IS_IN_SATA, and >define CONFIG_SYS_SATA_ENV_DEV or implement yo

[U-Boot] is "quicc engine" supported on non-powerpc architectures?

2016-03-28 Thread Robert P. J. Day
possibly a silly question but does the "quicc engine" exist on any architecture but the powerpc? i ask since i just ran across this snippet in include/linux/immap_qe.h: #ifdef CONFIG_PPC #define QE_IMMR_OFFSET 0x0014 #else #define QE_IMMR_OFFSET 0x0140 #endif which co

Re: [U-Boot] [PATCH 1/3] drivers: block: add block device cache

2016-03-28 Thread Eric Nelson
Thanks Tom, On 03/28/2016 07:16 AM, Tom Rini wrote: > On Sun, Mar 27, 2016 at 12:00:13PM -0700, Eric Nelson wrote: > >> +++ b/drivers/block/blkcache.c > [snip] >> +static int trace; > > I see where you can toggle this at run-time. But do we really think > that this will be useful outside of deb

Re: [U-Boot] [PATCH 3/3] sata: use block layer for sata command

2016-03-28 Thread Tom Rini
On Sun, Mar 27, 2016 at 12:00:15PM -0700, Eric Nelson wrote: > Call blk_dread, blk_dwrite, blk_derase to ensure that the block cache is > used if enabled and to remove build breakage when CONFIG_BLK is enabled. > > Signed-off-by: Eric Nelson Reviewed-by: Tom Rini -- Tom signature.asc Descr

Re: [U-Boot] [PATCH 2/3] mmc: use block layer in mmc command

2016-03-28 Thread Tom Rini
On Sun, Mar 27, 2016 at 12:00:14PM -0700, Eric Nelson wrote: > Call blk_dread, blk_dwrite, blk_derase to ensure that the block cache is > used if enabled and to remove build breakage when CONFIG_BLK is enabled. > > Signed-off-by: Eric Nelson Reviewed-by: Tom Rini -- Tom signature.asc Descr

Re: [U-Boot] [PATCH 1/3] drivers: block: add block device cache

2016-03-28 Thread Tom Rini
On Sun, Mar 27, 2016 at 12:00:13PM -0700, Eric Nelson wrote: > +++ b/drivers/block/blkcache.c [snip] > +static int trace; I see where you can toggle this at run-time. But do we really think that this will be useful outside of debug? My first reaction is that we should move the trace stuff into

Re: [U-Boot] [PATCH 4/7] kc1: Add some sysboot and devicetree-related environment variables

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 02:07:11PM +0200, Paul Kocialkowski wrote: > This adds some environment variables for sysboot and devicetree. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 7/7] sniper: Change vendor name from lge to lg, matching devicetree vendor prefix

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 02:07:14PM +0200, Paul Kocialkowski wrote: > This moves the sniper board from the lge to lg, in order to match the > devicetree > vendor prefix already defined in the kernel. > > Signed-off-by: Paul Kocialkowski > --- > arch/arm/cpu/armv7/omap3/Kconfig | 2 +- > board

Re: [U-Boot] [PATCH 5/7] sniper: Proper reboot mode and boot reason validation

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 02:07:12PM +0200, Paul Kocialkowski wrote: > With the previous implementation, rebooting without registering a recognized > reboot mode (despite registering the magic) would end up with U-Boot checking > for a valid power-on reason, which might result in the device turning

Re: [U-Boot] [PATCH 6/7] kc1: Proper reboot mode and boot reason validation

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 02:07:13PM +0200, Paul Kocialkowski wrote: > With the previous implementation, rebooting without registering a recognized > reboot mode would end up with U-Boot checking for a valid power-on reason, > which > might result in the device turning off (e.g. with no USB cable a

Re: [U-Boot] [PATCH 3/7] kc1: Select libfdt to allow running devicetree-based kernels

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 02:07:10PM +0200, Paul Kocialkowski wrote: > Selecting CONFIG_OF_LIBFDT allows running recent mainline kernels. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 2/7] kc1: Include explicit serial baudrate on bootargs

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 02:07:09PM +0200, Paul Kocialkowski wrote: > This makes the baudrate for the kernel command line explicit. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 1/7] sniper: Include explicit serial baudrate on bootargs

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 02:07:08PM +0200, Paul Kocialkowski wrote: > This makes the baudrate for the kernel command line explicit. > > Signed-off-by: Paul Kocialkowski Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH] common: env_sf: Add exclamation mark

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 05:26:27PM +0800, Peng Fan wrote: > Add exclamation mark to the errmsg, when error and set_default_env. This is awkwardly worded. We aren't adding a literal ! to the errmsg itself, we're adding that as a flag. I'll try and re-word this when applying to be clearer. > >

Re: [U-Boot] [PATCH 6/6] kc1: Add some sysboot and devicetree-related environment variables

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 01:55:15PM +0200, Paul Kocialkowski wrote: > Le samedi 26 mars 2016 à 15:21 -0400, Tom Rini a écrit : > > On Sat, Mar 26, 2016 at 12:20:04PM +0100, Paul Kocialkowski wrote: > > > > > > > > This adds some environment variables for sysboot and devicetree. > > > > > > Signed

Re: [U-Boot] [PATCH v7 00/87] mtd: Add SPI-NOR core support

2016-03-28 Thread Tom Rini
On Mon, Mar 28, 2016 at 05:02:45PM +0530, Jagan Teki wrote: > On 22 March 2016 at 20:25, Tom Rini wrote: > > On Tue, Mar 22, 2016 at 01:19:25PM +0530, Jagan Teki wrote: > > [snip] > >> Issues: > >> --- > >> 1) undefined reference to `__aeabi_ldivmod' > >> > >> 59: config: Enable SPI-NOR framew

[U-Boot] [PATCH] post: Remove references to scrapped "netta" board.

2016-03-28 Thread Robert P. J. Day
Given that README.scrapyard shows scrapping of netta boards: netta2 powerpc mpc8xx c51c1c9a2014-07-07 nettapowerpc mpc8xx c51c1c9a2014-07-07 delete netta example from POST tests. Signed-off-by: Robert P. J. Day --- this will slightly co

[U-Boot] [PATCH] ARM: uniphier: add PH1-LD20 SoC support

2016-03-28 Thread Masahiro Yamada
This is the first ARMv8 SoC from Socionext Inc. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/Kconfig| 5 ++ arch/arm/mach-uniphier/Makefile | 1 + arch/arm/mach-uniphier/arm64/Makefile | 8 +++ arch/arm/mach-uniphier/arm64/mem_ma

[U-Boot] [PATCH] ARM: dts: uniphier: move aliases node up to make fdtgrep happy

2016-03-28 Thread Masahiro Yamada
Currently, fdtgrep would not accept uniphier-ph1-ld20-ref.dtb and uniphier-ph1-ld11-ref.dtb unless the aliases node comes the first in the root node. $ make -s uniphier_pxs2_ld6b_defconfig $ make CROSS_COMPILE=arm-linux-gnueabi- DEVICE_TREE=uniphier-ph1-ld20-ref [snip] LDS spl/u-boot-spl.l

Re: [U-Boot] Linux hangs due to commit v2015.10-15-g02cc27c on loading i2c-mv64xx

2016-03-28 Thread Hans de Goede
Hi, On 25-03-16 08:59, Michael Haas wrote: On 03/20/2016 08:15 PM, Hans de Goede wrote: I'm running Debian Jessie with Linux 4.3.0-0.bpo.1-armmp-lpae on my a20-olinuxino-lime2. I have noticed that my board hangs with my recent u-boot versions when I load the i2c module. git-bisect narrowed t

Re: [U-Boot] Ethernet via USB on Sinlinx SinA33

2016-03-28 Thread Hans de Goede
Hi, On 25-03-16 18:14, Quentin Schulz wrote: Hi, I am trying to get Ethernet to work through the USB port of the Sinlinx SinA33 on U-Boot to use TFTP to get the kernel and dtb files. However, I am getting 'data abort' when using dhcp or tftp after adding: #define CONFIG_USB_HOST_ETHER #define

Re: [U-Boot] [PATCH v5 1/3] net: phy: Optionally force master mode for RTL PHY

2016-03-28 Thread Hans de Goede
Hi, On 25-03-16 22:11, Joe Hershberger wrote: On Fri, Mar 25, 2016 at 12:22 PM, Michael Haas wrote: This patch introduces CONFIG_RTL8211X_PHY_FORCE_MASTER. If this define is set, RTL8211x PHYs (except for the RTL8211F) will have their 1000BASE-T master/slave autonegotiation disabled and forced

[U-Boot] (brief?) question on POST, post_test "void (*reloc) (void)" member

2016-03-28 Thread Robert P. J. Day
i was about to dig into this until i noticed that, since i'm working on PPC, i shouldn't(?) care about it. as i read it, if one sets that function pointer, as in (from post/tests.c): #if CONFIG_POST & CONFIG_SYS_POST_SYSMON { "SYSMON test", "sysmon", "This test mo

[U-Boot] [PATCH] ARM: dts: uniphier: add NAND pinmux node

2016-03-28 Thread Masahiro Yamada
This will be used to set up pin-muxing for the NAND controller. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-pinctrl.dtsi | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/dts/uniphier-pinctrl.dtsi b/arch/arm/dts/uniphier-pinctrl.dtsi index 988e60a..2d36f98 100644 -

[U-Boot] [PATCH] ARM: dts: uniphier: add clock-frequency for LD11/LD20 DTSI

2016-03-28 Thread Masahiro Yamada
Since no clock driver is implemented for peripherals in U-Boot yet, this property is needed for the serial driver to set up the divisor register. Signed-off-by: Masahiro Yamada --- arch/arm/dts/uniphier-ph1-ld11.dtsi | 4 arch/arm/dts/uniphier-ph1-ld20.dtsi | 4 2 files changed, 8 ins

[U-Boot] [PATCH 5/7] sniper: Proper reboot mode and boot reason validation

2016-03-28 Thread Paul Kocialkowski
With the previous implementation, rebooting without registering a recognized reboot mode (despite registering the magic) would end up with U-Boot checking for a valid power-on reason, which might result in the device turning off (e.g. with no USB cable attached and no buttons pressed). This was de

[U-Boot] [PATCH 6/7] kc1: Proper reboot mode and boot reason validation

2016-03-28 Thread Paul Kocialkowski
With the previous implementation, rebooting without registering a recognized reboot mode would end up with U-Boot checking for a valid power-on reason, which might result in the device turning off (e.g. with no USB cable attached and no buttons pressed). Since this approach is not viable (breaks r

[U-Boot] [PATCH 7/7] sniper: Change vendor name from lge to lg, matching devicetree vendor prefix

2016-03-28 Thread Paul Kocialkowski
This moves the sniper board from the lge to lg, in order to match the devicetree vendor prefix already defined in the kernel. Signed-off-by: Paul Kocialkowski --- arch/arm/cpu/armv7/omap3/Kconfig | 2 +- board/lg/sniper/Kconfig | 12 ++ board/lg/sniper/MAINTAINERS | 6 + board

[U-Boot] [PATCH 2/7] kc1: Include explicit serial baudrate on bootargs

2016-03-28 Thread Paul Kocialkowski
This makes the baudrate for the kernel command line explicit. Signed-off-by: Paul Kocialkowski --- include/configs/kc1.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/kc1.h b/include/configs/kc1.h index c2ac148..444a0f3 100644 --- a/include/configs/kc1.h +++

[U-Boot] [PATCH 1/7] sniper: Include explicit serial baudrate on bootargs

2016-03-28 Thread Paul Kocialkowski
This makes the baudrate for the kernel command line explicit. Signed-off-by: Paul Kocialkowski --- include/configs/sniper.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/sniper.h b/include/configs/sniper.h index 171a8c4..cb25c0a 100644 --- a/include/configs/

[U-Boot] [PATCH 4/7] kc1: Add some sysboot and devicetree-related environment variables

2016-03-28 Thread Paul Kocialkowski
This adds some environment variables for sysboot and devicetree. Signed-off-by: Paul Kocialkowski --- include/configs/kc1.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/kc1.h b/include/configs/kc1.h index 444a0f3..4803acb 100644 --- a/include/configs/kc1.h +++ b/include/

[U-Boot] [PATCH 3/7] kc1: Select libfdt to allow running devicetree-based kernels

2016-03-28 Thread Paul Kocialkowski
Selecting CONFIG_OF_LIBFDT allows running recent mainline kernels. Signed-off-by: Paul Kocialkowski --- configs/kc1_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/kc1_defconfig b/configs/kc1_defconfig index 1e5c918..4de0b34 100644 --- a/configs/kc1_defconfig +++ b/configs/

Re: [U-Boot] [PATCH 6/6] kc1: Add some sysboot and devicetree-related environment variables

2016-03-28 Thread Paul Kocialkowski
Le samedi 26 mars 2016 à 15:21 -0400, Tom Rini a écrit : > On Sat, Mar 26, 2016 at 12:20:04PM +0100, Paul Kocialkowski wrote: > > > > > This adds some environment variables for sysboot and devicetree. > > > > Signed-off-by: Paul Kocialkowski > > --- > >  include/configs/kc1.h | 2 ++ > >  1 file

Re: [U-Boot] [PATCH 1/6] sniper: Move PXE file address to a viable location

2016-03-28 Thread Paul Kocialkowski
Le samedi 26 mars 2016 à 14:59 -0400, Tom Rini a écrit : > On Sat, Mar 26, 2016 at 12:19:59PM +0100, Paul Kocialkowski wrote: > > > > This moves the PXE file address out of the bounds of the U-Boot image (which > > is > > loaded at 0x8010). > > > > This also moves the ramdisk address to a bet

Re: [U-Boot] [PATCH v7 00/87] mtd: Add SPI-NOR core support

2016-03-28 Thread Jagan Teki
On 22 March 2016 at 20:25, Tom Rini wrote: > On Tue, Mar 22, 2016 at 01:19:25PM +0530, Jagan Teki wrote: > [snip] >> Issues: >> --- >> 1) undefined reference to `__aeabi_ldivmod' >> >> 59: config: Enable SPI-NOR framework >>arm: + nyan-big >> +drivers/mtd/spi-nor/built-in.o: In func

Re: [U-Boot] [PATCH 5/5] meson: odroid-c2: enable serial

2016-03-28 Thread Carlo Caione
On Sun, Mar 27, 2016 at 10:22 PM, Beniamino Galvani wrote: > Enable serial support in the ODROID-C2 configuration. > > Signed-off-by: Beniamino Galvani > --- > configs/odroid-c2_defconfig | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/configs/odroid-c2_defconfig b/configs/odroid-c

Re: [U-Boot] [PATCH 0/5] Basic support for Amlogic GXBaby and ODROID-C2

2016-03-28 Thread Carlo Caione
On Sun, Mar 27, 2016 at 10:22 PM, Beniamino Galvani wrote: > Hi, > > this series adds a very basic support for Amlogic S905 SoC (GXBaby) > and for the ODROID-C2 board [1], and is based on u-boot sources > available from the board vendor [2]. > > Mainline kernel support is still in early stages [3]

Re: [U-Boot] [RFC PATCH v1] armv8: LS2080A: Consolidate LS2080A and LS2085A

2016-03-28 Thread york sun
On 03/26/2016 03:39 AM, Prabhakar Kushwaha wrote: > >> -Original Message- >> From: York Sun [mailto:york@nxp.com] >> Sent: Thursday, March 24, 2016 1:43 AM >> To: U-Boot Mailing List >> Cc: Stuart Yoder ; Scott Wood ; >> Huan Wang ; york sun ; >> Prabhakar Kushwaha ; Ramneek Mehresh >

[U-Boot] what is the purpose of the "init_f" function pointer in struct post_test?

2016-03-28 Thread Robert P. J. Day
continuing my journey through u-boot POST code, and i can see the "init_f" function pointer here: struct post_test { char *name; char *cmd; char *desc; int flags; int (*test) (int flags); int (*init_f) (void); <- void (*reloc) (voi

[U-Boot] [PATCH] common: env: support sata device

2016-03-28 Thread Peng Fan
Introduce env support for sata device. 1. Implement write_env/read_env/env_relocate_spec/saveenv/sata_get_env_dev 2. If want to enable this feature, define CONFIG_ENV_IS_IN_SATA, and define CONFIG_SYS_SATA_ENV_DEV or implement your own sata_get_ev_dev. Signed-off-by: Peng Fan Cc: Simon Glass

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-03-28 Thread Qianyu Gong
Hi Prabhakar, > -Original Message- > From: Prabhakar Kushwaha > Sent: Monday, March 28, 2016 4:52 PM > To: Qianyu Gong ; Scott Wood ; u- > b...@lists.denx.de; york sun > Cc: Mingkai Hu > Subject: RE: [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI > enabled > > > > --

[U-Boot] [PATCH] common: env_sf: Add exclamation mark

2016-03-28 Thread Peng Fan
Add exclamation mark to the errmsg, when error and set_default_env. Signed-off-by: Peng Fan Cc: Mario Schuknecht Cc: Vignesh R Cc: Jagan Teki Cc: Ravi Babu Cc: York Sun Cc: Tom Rini --- common/env_sf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/env_sf.c b/co

[U-Boot] Please pull from u-boot-i2c

2016-03-28 Thread Heiko Schocher
Hello Tom, please pull from u-boot-i2c.git master The following changes since commit f3c2cab87878d2ecd5bd796ee940dff814aa3255: Revert "pxa_lcd: make driver cache-aware" (2016-03-27 20:58:08 -0400) are available in the git repository at: git://git.denx.de/u-boot-i2c.git master for you to

[U-Boot] [PATCH] drivers: net: ldpaa: Memset pools_params as "0" before use

2016-03-28 Thread Prabhakar Kushwaha
Memset pools_params as "0" to avoid garbage value in dpni_set_pools. Signed-off-by: Prabhakar Kushwaha Reported-by: Jose Rivera --- drivers/net/ldpaa_eth/ldpaa_eth.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ldpaa_eth/ldpaa_eth.c b/drivers/net/ldpaa_eth/ldpaa_eth.c index

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-03-28 Thread Prabhakar Kushwaha
> -Original Message- > From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Qianyu > Gong > Sent: Friday, March 11, 2016 3:49 PM > To: Scott Wood ; u-boot@lists.denx.de; york sun > > Cc: Mingkai Hu > Subject: Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for > LS104

Re: [U-Boot] [PATCH] armv8/fsl-layerscape: add IFC fixup for LS1043A with QSPI enabled

2016-03-28 Thread Qianyu Gong
Hi all, Any comments about this patch? Thanks! Regards, Qianyu > -Original Message- > From: Gong Qianyu [mailto:qianyu.g...@nxp.com] > Sent: Monday, February 22, 2016 6:05 PM > To: u-boot@lists.denx.de; york sun ; o...@buserror.net > Cc: Mingkai Hu ; Qianyu Gong > Subject: [PATCH] armv8

Re: [U-Boot] [PATCH 4/6 v2] i2c: designware_i2c: Prepare for DM driver conversion

2016-03-28 Thread Heiko Schocher
Hello Stefan, Am 23.03.2016 um 06:46 schrieb Stefan Roese: This patch prepares the designware I2C driver for the DM conversion. This is mainly done by removing struct i2c_adapter from the functions that shall be used by the DM driver version as well. Signed-off-by: Stefan Roese Cc: Simon Glass