Re: [U-Boot] [PATCH] common: fit: Allow U-Boot images to be booted

2016-07-18 Thread Michal Simek
On 19.7.2016 08:45, Mario Six wrote: > On Tue, Jul 19, 2016 at 7:46 AM, Michal Simek wrote: >> On 18.7.2016 14:05, Mario Six wrote: >>> In certain circumstances it comes in handy to be able to boot into a second >>> U-Boot. But as of now it is not possible to boot a U-Boot binary that is >>> insi

Re: [U-Boot] [PATCH] common: fit: Allow U-Boot images to be booted

2016-07-18 Thread Mario Six
On Tue, Jul 19, 2016 at 7:46 AM, Michal Simek wrote: > On 18.7.2016 14:05, Mario Six wrote: >> In certain circumstances it comes in handy to be able to boot into a second >> U-Boot. But as of now it is not possible to boot a U-Boot binary that is >> inside >> a FIT image, which is problematic for

Re: [U-Boot] [PATCH v1 6/6] armv8: layerscape: Convert to use common MMU framework

2016-07-18 Thread Alexander Graf
On 25.06.16 01:46, York Sun wrote: > Drop platform code to create static MMU tables. Use common framework > to create MMU tables on the run. Tested on LS2080ARDB with secure and > non-secure ram scenarios. > > Signed-off-by: York Sun > > Alison Wang , > Prabhakar Kushwaha W

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

2016-07-18 Thread Michal Simek
Hi Simon, On 18.7.2016 13:20, Simon Glass wrote: > Hi Michal, > > On 18 July 2016 at 00:57, Michal Simek wrote: >> Hi Simon, >> >> On 15.7.2016 17:43, Stephen Warren wrote: >>> On 07/15/2016 01:02 AM, Michal Simek wrote: Simple version of clk_get_by_index() added by: "dm: clk: Add a si

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

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

Re: [U-Boot] u-boot: x86: interrupt mapping

2016-07-18 Thread Christian Gmeiner
Hi Bin >> >> For the moment I have no answer to this question. I need to dive into >> the vxworks code, which >> is not what I like to do now (but needs to be done)- >> > > Yes, please do track it down. The interrupt line register configured > by U-Boot should be enough for VxWorks to function und

Re: [U-Boot] [PATCH] common: fit: Allow U-Boot images to be booted

2016-07-18 Thread Michal Simek
On 18.7.2016 14:05, Mario Six wrote: > In certain circumstances it comes in handy to be able to boot into a second > U-Boot. But as of now it is not possible to boot a U-Boot binary that is > inside > a FIT image, which is problematic for projects that e.g. need to guarantee a > unbroken chain of

Re: [U-Boot] [PATCH 1/2] fs/fat/fatwrite: Local variable as buffer to store dir_slot entries

2016-07-18 Thread Tien Fong Chee
On Thu, 2016-07-14 at 15:00 -0600, Stephen Warren wrote: > On 07/13/2016 03:01 AM, Tien Fong Chee wrote: > > fill_dir_slot use get_contents_vfatname_block as a temporary buffer > > for > > constructing a list of dir_slot entries. To save the memory and > > providing > > correct type of memory for a

[U-Boot] [PATCH 1/2 v3] x86: Add DFI BT700 BayTrail board support

2016-07-18 Thread Stefan Roese
This patch adds support for the DFI BayTrail BT700 QSeven SoM installed on the DFI Q7X-151 baseboard. The baseboard is equipped with the Nuvoton NCT6102D Super IO chip providing the UART as console. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Bin Meng --- v3: - Change comment Winbo

[U-Boot] [PATCH v3] misc: Add simple driver for some Nuvoton NCT6102D devices

2016-07-18 Thread Stefan Roese
This simple driver provides some functions to control some of the integrated devices. The watchdog is enabled per default. This driver adds a function to disable the watchdog. Also the internal legacy UART (io address 0x3f8/0x2f8) is enabled per default. Signed-off-by: Stefan Roese Reviewed-by: B

[U-Boot] [PATCH v2] x86: baytrail: Add SIO HS-UART clock setup

2016-07-18 Thread Stefan Roese
To support the BayTrail internal SIO HS UART, the internal UART clock needs to get configured. This patch adds support for this clock configuration which will be done, if the PCI device(s) are found. Signed-off-by: Stefan Roese Cc: Simon Glass Reviewed-by: Bin Meng --- v2: - Add loop over 2 UAR

[U-Boot] [PATCH 2/2] zynq: defconfig: Remove unnecessary board specifc config files

2016-07-18 Thread Siva Durga Prasad Paladugu
Remove unnecessary board specifc config files for zynq boards(microzed, picozed, ZC770(all), zed) and point to zynq common config file. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - Newly added in series --- configs/zynq_microzed_defconfig| 2 +- configs/zynq_picozed_defco

[U-Boot] [PATCH] Kconfig: Move option CONFIG_SYS_NO_FLASH to Kconfig

2016-07-18 Thread Siva Durga Prasad Paladugu
Move config option CONFIG_SYS_NO_FLASH as Kconfig option. All the boards which needs to enable this option can be done through defconfigs Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - No changes --- common/Kconfig | 6 ++ 1 file changed, 6 insertions(+) diff --git a/common

[U-Boot] [PATCH 1/2] zynq: config: Enable CONFIG_SYS_NO_FLASH through defconfig

2016-07-18 Thread Siva Durga Prasad Paladugu
Enable config CONFIG_SYS_NO_FLASH through defconfig for all zynq boards. Signed-off-by: Siva Durga Prasad Paladugu --- Changes for v2: - None --- configs/zynq_microzed_defconfig| 1 + configs/zynq_picozed_defconfig | 1 + configs/zynq_zc702_defconfig | 1 + configs/zynq_zc706_defco

[U-Boot] [PATCH] usb: Kconfig: Add Kconfigs entry USB_EHCI_ZYNQ

2016-07-18 Thread Siva Durga Prasad Paladugu
Add Kconfig entry config option for USB_EHCI_ZYNQ and update the same to enable for all zynq boards which supports USB Signed-off-by: Siva Durga Prasad Paladugu --- - This series is based on latest mainline Changes for v2: - Moved CONFIG_USB_EHCI_ZYNQ to Kconfig and removed config ZYNQ_USB as p

Re: [U-Boot] [PATCH] i2c: intel_i2c: SMBus driver PCI addition (e.g. BayTrail)

2016-07-18 Thread Bin Meng
Simon, Heiko, On Tue, Jul 12, 2016 at 1:22 PM, Bin Meng wrote: > Hi Simon, > > On Tue, Jun 28, 2016 at 9:44 PM, Stefan Roese wrote: >> This patch adds support for the SMBus block read/write functionality. >> Other protocols like the SMBus quick command need to get added >> if this is needed. >>

[U-Boot] [PATCH] ARM: uniphier: use devm_ioremap() for drivers

2016-07-18 Thread Masahiro Yamada
This does not have much impact on behavior, but makes drivers look more like Linux's ones. It sometimes help to delete .remove callback entirely. Signed-off-by: Masahiro Yamada --- drivers/clk/uniphier/clk-uniphier-core.c | 12 +--- drivers/clk/uniphier/clk-uniphier-mio.c

Re: [U-Boot] [PATCH 2/2] x86: Add theadorable-x86-dfi-bt700 board support

2016-07-18 Thread Bin Meng
On Wed, Jul 13, 2016 at 2:04 PM, Stefan Roese wrote: > This patch adds support for the BayTrail based theadorable-x86-dfi-bt700 > board which uses the DFI BT700 BayTrail Qseven SoM on a custom baseboard. > The main difference to the DFI baseboard is, that it isn't equipped > with a Super IO chip a

Re: [U-Boot] [PATCH 1/2 v2] x86: Add DFI BT700 BayTrail board support

2016-07-18 Thread Bin Meng
Hi Stefan, On Mon, Jul 18, 2016 at 4:24 PM, Stefan Roese wrote: > This patch adds support for the DFI BayTrail BT700 QSeven SoM installed > on the DFI Q7X-151 baseboard. The baseboard is equipped with the Nuvoton > NCT6102D Super IO chip providing the UART as console. > > Signed-off-by: Stefan Ro

Re: [U-Boot] [PATCH] mmc: dw_mmc: reduce timeout detection cycle

2016-07-18 Thread Jaehoon Chung
Hi Ziyuan, On 07/19/2016 11:33 AM, Ziyuan Xu wrote: > Hi Jaehoon, > > On 2016年07月19日 10:03, Jaehoon Chung wrote: >> Hi Ziyuan, >> >> On 07/19/2016 10:38 AM, Ziyuan Xu wrote: >>> It's no need to speed 10 seconds to wait the mmc device out from busy >>> status. 500 milliseconds enough. >> I agreed

Re: [U-Boot] u-boot: x86: interrupt mapping

2016-07-18 Thread Bin Meng
+Jian, Simon, ML, this info might be useful for other guys on the ML. Hi Christian, On Mon, Jul 18, 2016 at 11:02 PM, Christian Gmeiner wrote: > Hi Bin, > > > 2016-06-28 3:15 GMT+02:00 Bin Meng : >> Hi Christian, >> >> On Mon, Jun 27, 2016 at 8:37 PM, Christian Gmeiner >> wrote: >>> Hi Bin >>>

Re: [U-Boot] [PATCH v2] misc: Add simple driver for some Nuvoton NCT6102D devices

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 4:16 PM, Stefan Roese wrote: > This simple driver provides some functions to control some of the > integrated devices. The watchdog is enabled per default. This driver > adds a function to disable the watchdog. Also the internal legacy > UART (io address 0x3f8/0x2f8) is ena

Re: [U-Boot] [PATCH] x86: baytrail: Add SIO HS-UART clock setup

2016-07-18 Thread Bin Meng
Hi Stefan, On Mon, Jul 18, 2016 at 8:25 PM, Stefan Roese wrote: > To support the BayTrail internal SIO HS UART, the internal UART clock > needs to get configured. This patch adds support for this clock > configuration which will be done, if the PCI device(s) are found. > > Signed-off-by: Stefan R

Re: [U-Boot] [PATCH 2/2] fs/fat/fat: Optimizes memory size with single global variable instead of 3

2016-07-18 Thread Tien Fong Chee
On Fri, 2016-07-15 at 01:37 +0200, Benoît Thébaudeau wrote: > Dear Tien Fong, > > On Thu, Jul 14, 2016 at 12:48 PM, Tien Fong Chee > wrote: > > Dear Benoît, > > > > On Wed, 2016-07-13 at 12:56 +0200, Benoît Thébaudeau wrote: > > > Dear Tien Fong Chee, > > > > > > On Jul 13, 2016 at 11:01 AM, Tien

Re: [U-Boot] [PATCH] x86: cache.h: Add default for CONFIG_SYS_CACHELINE_SIZE

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 6:53 PM, Stefan Roese wrote: > Don't just define ARCH_DMA_MINALIGN but also CONFIG_SYS_CACHELINE_SIZE > if its undefined. This is needed for the xhci driver to compile. nits: it's I can fix this when applying. > > Signed-off-by: Stefan Roese > Cc: Simon Glass > Cc: Bin

Re: [U-Boot] [PATCH 2/3] x86: Add a reference to README.efi

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 9:27 AM, Bin Meng wrote: > On Sun, Jul 17, 2016 at 3:23 PM, Simon Glass wrote: >> UEFI is commonly used on x86. Add a reference to U-Boot's support for this >> in the x86 README. >> >> Signed-off-by: Simon Glass >> --- >> >> doc/README.x86 | 11 +++ >> 1 file cha

Re: [U-Boot] [PATCH 3/3] x86: Mention running U-Boot in 64-bit mode in the README

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 9:27 AM, Bin Meng wrote: > On Sun, Jul 17, 2016 at 3:23 PM, Simon Glass wrote: >> This feature is not supported. Document this, and add some details on how it >> might be implemented. >> >> Signed-off-by: Simon Glass >> --- >> >> doc/README.x86 | 18 ++ >>

Re: [U-Boot] [PATCH 1/3] x86: Mention how to boot a 64-bit kernel from U-Boot

2016-07-18 Thread Bin Meng
On Mon, Jul 18, 2016 at 9:24 AM, Bin Meng wrote: > On Sun, Jul 17, 2016 at 3:22 PM, Simon Glass wrote: >> The README indicates that this is not supported, but this is no-longer true. >> Update the text to indicate this and describe the FIT changes required. >> >> Signed-off-by: Simon Glass >> --

Re: [U-Boot] [PATCH] x86: doc: Add note about the debug FSP usage on BayTrail

2016-07-18 Thread Bin Meng
On Wed, Jul 13, 2016 at 5:35 PM, Bin Meng wrote: > On Wed, Jul 13, 2016 at 2:23 PM, Stefan Roese wrote: >> The debug FSP image is bigger in size than the normal FSP image. This >> patch adds a small description on how to use this FSP debug version >> by changing CONFIG_FSP_ADDR. >> >> Signed-off-

Re: [U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Peng Fan
Hi Fabio, On Mon, Jul 18, 2016 at 10:59:43PM -0300, Fabio Estevam wrote: >Hi Peng, > >On Mon, Jul 18, 2016 at 10:48 PM, Peng Fan wrote: > >> If you burned u-boot using mfgtool, the uboot will be burned into boot >> partition. >> However when uboot boots up, it will switch to user partition. >> Y

[U-Boot] [PATCH] ARM: uniphier: fix doubled tftpboot commands

2016-07-18 Thread Masahiro Yamada
This downloads the same file twice for nothing. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index 4ebaf84..169c197 100644 --- a/include/configs/uniphier.h +++ b/include/c

Re: [U-Boot] [PATCH] mmc: dw_mmc: reduce timeout detection cycle

2016-07-18 Thread Ziyuan Xu
Hi Jaehoon, On 2016年07月19日 10:03, Jaehoon Chung wrote: Hi Ziyuan, On 07/19/2016 10:38 AM, Ziyuan Xu wrote: It's no need to speed 10 seconds to wait the mmc device out from busy status. 500 milliseconds enough. I agreed that 10 seconds is too big.. Could you explain more how you get 500ms and

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Stefan Agner
On 2016-07-18 17:36, Tom Rini wrote: > On Mon, Jul 18, 2016 at 03:21:39PM -0700, Stefan Agner wrote: >> On 2016-07-18 15:19, Fabio Estevam wrote: >> > On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: >> >> From: Stefan Agner >> >> >> >> This can be useful if the same U-Boot binary is used for

[U-Boot] [PATCH] Revert "rockchip: Move the MMC setup check earlier"

2016-07-18 Thread Ziyuan Xu
Boot Rom wouldn't initialize sdmmc while booting from eMMC. We need to setup sdmmc gpio, otherwise we will hit an error below: =>mmc info blk_get_device: if_type=6, devnum=0: dw...@ff0c.blk, 6, 0 uclass_find_device_by_seq: 0 -1 uclass_find_device_by_seq: 0 0 - -1 -1 - -1 0 - found ucl

Re: [U-Boot] [PATCH] mmc: dw_mmc: reduce timeout detection cycle

2016-07-18 Thread Jaehoon Chung
Hi Ziyuan, On 07/19/2016 10:38 AM, Ziyuan Xu wrote: > It's no need to speed 10 seconds to wait the mmc device out from busy > status. 500 milliseconds enough. I agreed that 10 seconds is too big.. Could you explain more how you get 500ms and feel enough? Best Regards, Jaehoon Chung > > Signed-

Re: [U-Boot] [PATCH v2 4/5] mpc85xx/powerpc: P5040: Apply errata A006261 for P5040

2016-07-18 Thread york sun
Same comment to the subject line. On 07/17/2016 08:47 PM, Sriram Dash wrote: > Apply USB errata A006261 for P5040. Please add explanation the same erratum applies to P5040 rev 2.0. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > --- > drivers/usb/common/fsl-errata.c | 3 ++- >

Re: [U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Fabio Estevam
Hi Peng, On Mon, Jul 18, 2016 at 10:48 PM, Peng Fan wrote: > If you burned u-boot using mfgtool, the uboot will be burned into boot > partition. > However when uboot boots up, it will switch to user partition. > You need to switch to read/write/erase boot partition in u-boot. What are the comm

Re: [U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Peng Fan
On Mon, Jul 18, 2016 at 06:23:10PM +, mike.wors...@emerson.com wrote: >I'm working with a 2015.04 version of U-Boot, I have it flashed on a i.MX6 >DualLite based device in eMMC. I'm now trying to blow away that version of >U-Boot from within U-Boot itself (so the device goes back into Serial

[U-Boot] [PATCH] mmc: dw_mmc: reduce timeout detection cycle

2016-07-18 Thread Ziyuan Xu
It's no need to speed 10 seconds to wait the mmc device out from busy status. 500 milliseconds enough. Signed-off-by: Ziyuan Xu --- drivers/mmc/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/dw_mmc.c b/drivers/mmc/dw_mmc.c index 2cf7bae..790a166 100644

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:21:39PM -0700, Stefan Agner wrote: > On 2016-07-18 15:19, Fabio Estevam wrote: > > On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: > >> From: Stefan Agner > >> > >> This can be useful if the same U-Boot binary is used for boards > >> available with a i.MX 7Solo and

Re: [U-Boot] [PATCH v2 0/9] mx7: add Colibri iMX7S/iMX7D support

2016-07-18 Thread Stefan Agner
On 2016-07-13 00:25, Stefan Agner wrote: > From: Stefan Agner > > This patchset adds support for the Toradex i.MX 7Solo and 7Dual > based computer on modules Colibri iMX7S/iMX7D. > > It also brings several smaller i.MX 7 related fixes/cleanups. Is there anything holding us back merging this pat

[U-Boot] [PATCH 2/2] ARM: tegra: pick up actual memory size

2016-07-18 Thread Stephen Warren
From: Stephen Warren On Tegra186, U-Boot is booted by the binary firmware as if it were a Linux kernel. Consequently, a DTB is passed to U-Boot. Cache the address of that DTB, and parse the /memory/reg property to determine the actual RAM regions that U-Boot and subsequent EL2/EL1 SW may actually

[U-Boot] [PATCH 1/2] ARM: Add save_boot_params for ARMv8

2016-07-18 Thread Stephen Warren
From: Stephen Warren Implement a hook to allow boards to save boot-time CPU state for later use. When U-Boot is chain-loaded by another bootloader, CPU registers may contain useful information such as system configuration information. This feature mirrors the equivalent ARMv7 feature. Signed-off

Re: [U-Boot] [PATCH v2 2/5] mpc85xx/powerpc:P1010: Apply errata A006261 for P1010

2016-07-18 Thread york sun
Sriram, Same comment here, please fix the subject. On 07/17/2016 08:47 PM, Sriram Dash wrote: > Apply USB errata A006261 for P1010. A006261 is already applied to P1010. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > --- > arch/powerpc/include/asm/config_mpc85xx.h | 1 + > a

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Stefan Agner
On 2016-07-18 15:19, Fabio Estevam wrote: > On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: >> From: Stefan Agner >> >> This can be useful if the same U-Boot binary is used for boards >> available with a i.MX 7Solo and i.MX 7Dual. >> >> Signed-off-by: Stefan Agner >> Reviewed-by: Simon Glas

Re: [U-Boot] [PATCH v2 5/9] mx7: set soc environment according to exact SoC type

2016-07-18 Thread Fabio Estevam
On Wed, Jul 13, 2016 at 4:25 AM, Stefan Agner wrote: > From: Stefan Agner > > This can be useful if the same U-Boot binary is used for boards > available with a i.MX 7Solo and i.MX 7Dual. > > Signed-off-by: Stefan Agner > Reviewed-by: Simon Glass > --- > > arch/arm/cpu/armv7/mx7/soc.c | 14 +++

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Adam Duskett
Dear Wolfgang Denk > To: adamdusk...@outlook.com > CC: u-boot@lists.denx.de > From: w...@denx.de > Subject: Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for > findfdt. > Date: Mon, 18 Jul 2016 21:47:05 +0200 > > Dear Adam Duskett, > > In message you wrote: > > With the releas

Re: [U-Boot] is minicom still discouraged as the serial comms program?

2016-07-18 Thread Robert P. J. Day
On Mon, 18 Jul 2016, Wolfgang Denk wrote: > Dear Måns, > > In message you wrote: > > > > It's an opinion shared by many. Minicom appears to be mainly intended > > for use with an actual modem, and when there isn't one involved, those > > features tend to get in the way. > > Right - now you menti

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Wolfgang Denk
Dear Adam Duskett, In message you wrote: > With the release of kernel 4.1.15 for the imx6 line of processors, > wandboard now uses imx6q-wandboard-revc1.dtb and imx6dl-wandboard-revc1.dtb. > This patch fixes the naming convention to work with kernel 4.1.15 > > Signed-off-by: Adam Duskett > ---

Re: [U-Boot] online wiki page for "fdt" commands full of FDT_ERR_BADMAGIC msgs

2016-07-18 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > i'm sure i mentioned this before but the denx wiki page describing > the "fdt" command is loaded with pretty much nothing but error > messages: > > http://www.denx.de/wiki/view/DULG/UBootCmdFDT Obviously the DULGData_%BOARD%.UBootFDTCmd* %INCLUDE files

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Fabio Estevam
On Mon, Jul 18, 2016 at 4:30 PM, Robert Nelson wrote: > NAK, This breaks mainline: > > https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/arch/arm/boot/dts/Makefile?id=refs/tags/v4.7-rc7#n338 > > imx6dl-wandboard.dtb \ > imx6dl-wandboard-revb1.dtb \ > > >

Re: [U-Boot] more "#if 0" pedantry related to moving macros in header files

2016-07-18 Thread Wolfgang Denk
Dear "Robert P. J. Day", In message you wrote: > > but this brings up the question, where should content like that > properly be defined? it seems awkward to break the bit flag > definitions for a single register over two header files (especially > when they're not defined syntactically identi

Re: [U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Robert Nelson
Hi Adam, On Mon, Jul 18, 2016 at 10:45 AM, Adam Duskett wrote: > With the release of kernel 4.1.15 for the imx6 line of processors, > wandboard now uses imx6q-wandboard-revc1.dtb and > imx6dl-wandboard-revc1.dtb. > This patch fixes the naming convention to work with kernel 4.1.15 > > Signed-off-

Re: [U-Boot] what is with the "#if 0"ed part of ARP hdr in include/net.h?

2016-07-18 Thread Wolfgang Denk
Dear "Robert P. J. Day", In message you wrote: > > was poking around in include/net.h, and noticed this snippet: ... > is it doing anything, like acting as a comment or something? Probably. Sorry, I dont remember the details. > p.s. there's quite a lot of "#if 0" throughout the source code

Re: [U-Boot] is minicom still discouraged as the serial comms program?

2016-07-18 Thread Wolfgang Denk
Dear Måns, In message you wrote: > > It's an opinion shared by many. Minicom appears to be mainly intended > for use with an actual modem, and when there isn't one involved, those > features tend to get in the way. Right - now you mention it I remember that minicom at least in some default inst

Re: [U-Boot] is minicom still discouraged as the serial comms program?

2016-07-18 Thread Wolfgang Denk
Dear Robert, In message you wrote: > > i know that minicom has been discouraged for quite some time WRT > u-boot, is that still the case? The recommendation to avoid minicom even predates U-Boot; it comes from the time when it was still called PPCBoot, way back then... I can't tell if it has

Re: [U-Boot] [PATCH v2 5/5] mpc85xx/powerpc: Do not apply errata A006261 for T4160, T1040, T2080

2016-07-18 Thread york sun
On 07/17/2016 08:47 PM, Sriram Dash wrote: > Do not apply errata A006261 for T4160 and T4080(rev 1.0, 2.0), > T1040(rev 1.0), T2080(rev 1.0), T2081(rev 1.0). I don't see mentioning the revision numbers helps here. Your patch is removing the erratum from T4160, T4080, T1040, T1042, T1020, T1022,

Re: [U-Boot] [PATCH v2 0/5] Modified the errata A006261 according to endianness

2016-07-18 Thread york sun
On 07/18/2016 02:36 AM, Marek Vasut wrote: > On 07/18/2016 05:47 AM, Sriram Dash wrote: >> Modifies errata implementation due to the fact that P3041, >> P5020, and P5040 are all big endian for the USB PHY registers, but >> they were specified little endian. >> Applies the errata for P1010, P2041, P

[U-Boot] [PATCH] ARM: tegra: p2371-2180: A03 board PMIC config update

2016-07-18 Thread Stephen Warren
From: Stephen Warren Rev A03 of P2180 requires some PMIC programming adjustments, yet the PMIC's own OTP has not been updated. Consequently, U-Boot must make these changes itself. NVIDIA's syseng team has confirmed that these changes can be enabled on all board revisions without issue. Signed-o

[U-Boot] erasing u-boot from u-boot

2016-07-18 Thread Mike.Worster
I'm working with a 2015.04 version of U-Boot, I have it flashed on a i.MX6 DualLite based device in eMMC. I'm now trying to blow away that version of U-Boot from within U-Boot itself (so the device goes back into Serial Download mode). I've tried erasing the mmc0 (eMMC), the command works, but

[U-Boot] [PATCH 1/1] configs/wandboard.h: fix dtb file name for findfdt.

2016-07-18 Thread Adam Duskett
With the release of kernel 4.1.15 for the imx6 line of processors, wandboard now uses imx6q-wandboard-revc1.dtb and imx6dl-wandboard-revc1.dtb. This patch fixes the naming convention to work with kernel 4.1.15 Signed-off-by: Adam Duskett --- include/configs/wandboard.h | 4 ++-- 1 file changed,

[U-Boot] [PATCH] ARM: tegra: add IVC protocol implementation

2016-07-18 Thread Stephen Warren
From: Stephen Warren IVC (Inter-VM Communication) protocol is a Tegra-specific IPC (Inter Processor Communication) framework. Within the context of U-Boot, it is typically used for communication between the main CPU and various auxiliary processors. In particular, it will be used to communicate w

[U-Boot] [PATCH 3/3] ARM: tegra: unify Tegra186 Makefile a bit

2016-07-18 Thread Stephen Warren
From: Stephen Warren Many files in arch/arm/mach-tegra are compiled conditionally based on Kconfig variables, or applicable to all platforms. We can let the main Tegra Makefile handle compiling (or not) those files to avoid each SoC- specific Makefile needing to duplicate entries for those files.

[U-Boot] [PATCH 2/3] ARM: tegra: split p2771-0000 build

2016-07-18 Thread Stephen Warren
From: Stephen Warren There are multiple versions of p2771- board. There are SW visible incompatible differences between the versions, and they are relevant to U-Boot. Create separate "A02" and "B00" defconfigs (named after the first and/or only board rev they defconfig supports) so that users

[U-Boot] [PATCH 1/3] ARM: tegra: fix Tegra186 DT GPIO binding header

2016-07-18 Thread Stephen Warren
From: Stephen Warren Tegra186 uses different GPIO port IDs compared to previous chips. Make sure the SoC DT file includes the correct GPIO binding header. Signed-off-by: Stephen Warren --- arch/arm/dts/tegra186.dtsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/d

Re: [U-Boot] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-18 Thread Nishanth Menon
On 07/18/2016 10:42 AM, Murali Karicheri wrote: commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery") refactored code, however K2HKLE_MSMC_SEGMENT_QM_PDSP is left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for

Re: [U-Boot] [PATCH v2 3/5] mpc85xx/powerpc: P2041: Apply errata A006261 for P2041

2016-07-18 Thread york sun
Same comment to the subject. On 07/17/2016 08:47 PM, Sriram Dash wrote: > Apply USB errata A006261 for P2041, P2040. > > Signed-off-by: Sriram Dash > Signed-off-by: Rajesh Bhagat > --- > drivers/usb/common/fsl-errata.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/d

Re: [U-Boot] [PATCH v2 1/5] mpc85xx/powerpc:cpu_init: Modified the errata A006261 according to endianness

2016-07-18 Thread york sun
Sriram, Please pay attention to the language. "errata" is the plural noun of "erratum". You are dealing with one erratum, aren't you? And you are modifying the workaround, not the erratum itself. The tags in the subject should be separated by either "/", or ":", but not both. I don't believe "

Re: [U-Boot] [PATCH 1/4] dm: clk: Add a way to find a clock by its driver

2016-07-18 Thread Stephen Warren
On 07/17/2016 03:23 PM, Simon Glass wrote: Some SoCs have a single clock device. Provide a way to find it given its driver name. This is handled by the linker so will fail if the name is not found, avoiding strange errors when names change and do not match. It is also faster than a string compari

Re: [U-Boot] [PATCH] test: Adjust the of-platdata test run condition

2016-07-18 Thread Stephen Warren
On 07/16/2016 07:01 PM, Tom Rini wrote: On Sat, Jul 16, 2016 at 06:36:44PM -0600, Simon Glass wrote: This should be spl_of_platdata, since otherwise it will try to run on boards that don't support of-platdata. Signed-off-by: Simon Glass Applied to u-boot/master, thanks! FWIW, this appears

[U-Boot] [PATCH] test/py: use absolute dts path in vboot test

2016-07-18 Thread Stephen Warren
From: Stephen Warren Without this, the test fails if the test is run with a cwd other than the root of the U-Boot source tree. Fixes: 8729d582595d ("test: Convert the vboot test to test/py") Signed-off-by: Stephen Warren --- test/py/tests/test_vboot.py | 2 +- 1 file changed, 1 insertion(+), 1

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

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

Re: [U-Boot] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 11:42:48AM -0400, Murali Karicheri wrote: > commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid > #ifdeffery") refactored code, however K2HKLE_MSMC_SEGMENT_QM_PDSP is > left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. > This, in effect d

Re: [U-Boot] [PATCH] common: fit: Allow U-Boot images to be booted

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 02:05:42PM +0200, Mario Six wrote: > In certain circumstances it comes in handy to be able to boot into a second > U-Boot. But as of now it is not possible to boot a U-Boot binary that is > inside > a FIT image, which is problematic for projects that e.g. need to guarantee

Re: [U-Boot] supported image compression types?

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 06:16:15AM -0400, Robert P. J. Day wrote: > > reading u-boot wiki page on image formats: > > http://www.denx.de/wiki/view/DULG/UBootImages > > wherein one reads: > > "Compression Type (Provisions for uncompressed, gzip, bzip2, lzo; > Currently supported: uncompressed,

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

2016-07-18 Thread Ziyuan Xu
Revise config to CONFIG_ROCKCHIP_RK3288_PINCTRL. Signed-off-by: Ziyuan Xu --- configs/evb-rk3288_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/evb-rk3288_defconfig b/configs/evb-rk3288_defconfig index 41cfedd..93be4a5 100644 --- a/configs/evb-rk3288_defco

[U-Boot] keystone: k2h/e/l: Fix DMA coherency for QM PDSP

2016-07-18 Thread Murali Karicheri
commit 1f807a9f32aa ("ARM: keystone2: Refactor MSMC macros to avoid #ifdeffery") refactored code, however K2HKLE_MSMC_SEGMENT_QM_PDSP is left under a macro KS2_MSMC_SEGMENT_QM_PDSP which is no longer valid. This, in effect disabled DMA coherency for QM PDSP. Given that msmc_k2hkle_common_setup is

[U-Boot] [PATCH] rockchip: add a dummy byte for the sdram-channel property

2016-07-18 Thread Ziyuan Xu
Add an extra byte so that this data is not byteswapped. Signed-off-by: Ziyuan Xu --- arch/arm/dts/rk3288-evb.dts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm/dts/rk3288-evb.dts b/arch/arm/dts/rk3288-evb.dts index caf24ee..3e1ee58 100644 --- a/arch/arm/dts/rk328

[U-Boot] [PATCH] mx6: clock: Fix the logic for reading axi_alt_sel

2016-07-18 Thread Fabio Estevam
According to the IMX6DQRM Reference Manual, the description of bit 7 (axi_alt_sel) of the CCM_CBCDR register is: "AXI alternative clock select 0 pll2 396MHz PFD will be selected as alternative clock for AXI root clock 1 pll3 540MHz PFD will be selected as alternative clock for AXI root clock " Th

Re: [U-Boot] [PATCH 12/14] defconfig: dra7xx_hs_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:07PM +0530, Mugunthan V N wrote: > Enable i2c driver model for dra7xx_hs_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 13/14] defconfig: am57xx_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:08PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am57xx_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 10/14] defconfig: am43xx_hs_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:05PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am43xx_hs_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [PATCH 08/14] defconfig: am335x_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:03PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am335x_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 11/14] defconfig: dra7xx_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:06PM +0530, Mugunthan V N wrote: > Enable i2c driver model for dra7xx_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 09/14] defconfig: am43xx_evm: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:04PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am43xx_evm as omap i2c > supports driver model. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH 07/14] defconfig: am335x_boneblack_vboot: enable i2c driver model

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:11:02PM +0530, Mugunthan V N wrote: > Enable i2c driver model for am335x_boneblack_vboot as omap i2c > supports driver model. Also enable CONFIG_DM_I2C_COMPAT for > legacy drivers of i2c devices. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signa

Re: [U-Boot] [PATCH 04/14] ti_armv7_common: i2c: do not define DM_I2C for spl

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:10:59PM +0530, Mugunthan V N wrote: > Since omap's spl doesn't support DM currently, do not define > DM_I2C for spl build. > > Signed-off-by: Mugunthan V N Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH 02/14] omap5/dra7: i2c: correct register offset for sync register

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:10:57PM +0530, Mugunthan V N wrote: > The register offset of i2c_sysc offset is not correct as per > omap5[1]/dra7[2] TRM, correct the offsets as per the > documentation. > > [1] - http://www.ti.com/lit/pdf/swpu249 > [2] - http://www.ti.com/lit/pdf/spruhz6 > > Signed-o

Re: [U-Boot] [PATCH 01/14] omap4: i2c: correct register offset for sync register

2016-07-18 Thread Tom Rini
On Mon, Jul 18, 2016 at 03:10:56PM +0530, Mugunthan V N wrote: > The register offset of i2c_sysc offset is not correct as per > omap4 TRM [1], correct the offsets as per the documentation. > > [1] - http://www.ti.com/lit/ug/swpu235ab/swpu235ab.pdf > > Signed-off-by: Mugunthan V N Reviewed-by:

Re: [U-Boot] [PATCH 2/3] serial: zynq: Read information about clock from DT

2016-07-18 Thread Moritz Fischer
On Sun, Jul 17, 2016 at 7:12 AM, Simon Glass wrote: > On 14 July 2016 at 07:19, Michal Simek wrote: >> Read information about clock frequency from DT. >> >> Signed-off-by: Michal Simek >> --- >> >> drivers/serial/serial_zynq.c | 28 +++- >> 1 file changed, 27 insertions(

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

2016-07-18 Thread Andreas Färber
Hi Kever, Am 18.07.2016 um 06:54 schrieb Kever Yang: > Hi Andreas, > > Thanks for you comments, I will apply them one by one except some > confuse below. > > On 07/18/2016 07:26 AM, Andreas Färber wrote: >> Hi, >> >> Isn't evb short for evaluation board? That makes board board then. ;) >> >>

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

2016-07-18 Thread Heiko Stübner
Hi Simon, Am Montag, 18. Juli 2016, 06:16:33 schrieb Simon Glass: > On 17 July 2016 at 09:27, Simon Glass wrote: > > On 17 July 2016 at 09:20, Heiko Stübner wrote: > >> Am Sonntag, 17. Juli 2016, 08:14:06 schrieb Simon Glass: > >>> Hi Heiko, > >>> > >>> On 15 July 2016 at 16:17, Heiko Stuebner

Re: [U-Boot] [PATCH v4 2/4] ARM64: rockchip: add support for rk3399 SoC based evb

2016-07-18 Thread Andreas Färber
Am 18.07.2016 um 10:46 schrieb Kever Yang: > RK3399 is a SoC from Rockchip with dual-core Cortex-A72 > and quad-core Cortex-A53 CPU. It supports two USB3.0 > type-C ports and two USB2.0 EHCI ports. Other interfaces > are very much like RK3288, the DRAM are 32bit width address > and support address

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

2016-07-18 Thread Simon Glass
Hi Heiko, On 17 July 2016 at 09:48, Simon Glass wrote: > Hi Heiko, > > On 17 July 2016 at 09:33, Heiko Stübner wrote: >> Am Sonntag, 17. Juli 2016, 08:13:58 schrieb Simon Glass: >>> Hi Heiko, >>> >>> On 15 July 2016 at 16:17, Heiko Stuebner wrote: >>> > Add a driver for setting up and modifying

Re: [U-Boot] [PATCH v4 1/4] dts: add support for Rockchip rk3399 soc

2016-07-18 Thread Simon Glass
Hi Kever, On 18 July 2016 at 07:21, Andreas Färber wrote: > Am 18.07.2016 um 10:46 schrieb Kever Yang: >> These files are from kernel upstream with some modification >> need by U-Boot: >> - chosen with stdout-path to uart2. >> >> Signed-off-by: Kever Yang >> Acked-by: Simon Glass >> --- >> >> C

Re: [U-Boot] [PATCH] wandboard: move environment partition farther from u-boot.img

2016-07-18 Thread Fabio Estevam
Hi Stefano, On Sat, Jul 9, 2016 at 9:42 AM, Alexey Brodkin wrote: > Recently I started to notice that u-boot.img built for Wandboard > by some toolchains becomes so large that it basically overlaps with > U-Boot environment area on SD-card. > > According to > http://wiki.wandboard.org/index.php/B

Re: [U-Boot] [PATCH v4 1/4] dts: add support for Rockchip rk3399 soc

2016-07-18 Thread Andreas Färber
Am 18.07.2016 um 10:46 schrieb Kever Yang: > These files are from kernel upstream with some modification > need by U-Boot: > - chosen with stdout-path to uart2. > > Signed-off-by: Kever Yang > Acked-by: Simon Glass > --- > > Changes in v4: None Commit message not extended as requested! Furthe

[U-Boot] [PATCH] x86: baytrail: Add SIO HS-UART clock setup

2016-07-18 Thread Stefan Roese
To support the BayTrail internal SIO HS UART, the internal UART clock needs to get configured. This patch adds support for this clock configuration which will be done, if the PCI device(s) are found. Signed-off-by: Stefan Roese Cc: Simon Glass Cc: Bin Meng --- arch/x86/cpu/baytrail/cpu.c | 52

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

2016-07-18 Thread Simon Glass
On 17 July 2016 at 08:13, Simon Glass wrote: > On 15 July 2016 at 10:33, John Keeping wrote: >> The ChromeOS kernel reads the RAM settings from PMU_SYS_REG2 and expects >> the bootloader to store the necessary information there. We're using >> the same register to pass the same information betwe

Re: [U-Boot] [PATCH] mmc: rockchip: add SDHCI driver support for rockchip soc

2016-07-18 Thread Simon Glass
On 18 July 2016 at 05:56, Simon Glass wrote: > On 18 July 2016 at 03:00, Kever Yang wrote: >> Rockchip rk3399 using arasan sdhci-5.1 controller. >> This patch add the controller support to enable mmc device >> with full driver-model support, tested on rk3399 evb board. >> >> According to my test

  1   2   >