Re: [U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-25 Thread Stefan Roese
Hi Bin, On 26.04.2017 06:21, Bin Meng wrote: On Tue, Apr 25, 2017 at 7:11 PM, Stefan Roese wrote: Hi Bin, On 25.04.2017 11:34, Bin Meng wrote: What do you mean by "display stays in power safe mode"? Is it a black screen, or is it just U-Boot's video output screen? Blank

[U-Boot] [PATCH v2 2/2] rtc: Add DM support to ds1307

2017-04-25 Thread Chris Packham
Add an implementation of the ds1307 driver that uses the driver model i2c APIs. Signed-off-by: Chris Packham --- Changes in v2: None drivers/rtc/Kconfig | 7 ++ drivers/rtc/ds1307.c | 196 ++- 2 files changed, 184

Re: [U-Boot] [PATCH 2/2][v4] nxp/ls2080ardb: Add QSPI-boot support

2017-04-25 Thread york sun
> -Original Message- > From: Priyanka Jain > Sent: Tuesday, April 25, 2017 9:36 PM > To: york sun ; u-boot@lists.denx.de > Cc: Suresh Gupta > Subject: RE: [PATCH 2/2][v4] nxp/ls2080ardb: Add QSPI-boot support > > > > > -Original Message-

Re: [U-Boot] [PATCH 4/6] am33xx: Provide platform data for mmc

2017-04-25 Thread Lokesh Vutla
Hi Adam, On Wednesday 26 April 2017 05:35 AM, Adam Ford wrote: > On Tue, Apr 25, 2017 at 4:10 PM, Tom Rini wrote: >> On Sat, Apr 22, 2017 at 12:20:46PM +0530, Lokesh Vutla wrote: >>> Signed-off-by: Lokesh Vutla >>> --- >>> board/ti/am335x/board.c | 32

Re: [U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-25 Thread Bin Meng
Hi Stefan, On Tue, Apr 25, 2017 at 7:11 PM, Stefan Roese wrote: > Hi Bin, > > On 25.04.2017 11:34, Bin Meng wrote: > > > What do you mean by "display stays in power safe mode"? Is it a black screen, or is it just U-Boot's video output screen? >>> >>> Blank screen

Re: [U-Boot] [RFC PATCH] ext4: Fix comparision of unsigned expression with < 0

2017-04-25 Thread Lokesh Vutla
On Tuesday 25 April 2017 11:34 PM, Tom Rini wrote: > On Tue, Apr 25, 2017 at 10:22:27AM +0530, Lokesh Vutla wrote: >> In file ext4fs.c funtion ext4fs_read_file() compares an >> unsigned expression with < 0 like below >> >> lbaint_t blknr; >> blknr = read_allocated_block(&(node->inode),

[U-Boot] [PATCH] armv8: fsl-layerscape: Add back fdt_fixup_ethernet()

2017-04-25 Thread York Sun
Commit 3f66149 dropped fdt_fixup_ethernet() from common/image-fdt.c, presuming this function is called by ft_cpu_setup(). Add such call in the mentioned function for Freescale ARMv8 Layerscape SoCs. Signed-off-by: York Sun --- arch/arm/cpu/armv8/fsl-layerscape/fdt.c | 1 + 1

[U-Boot] [PATCH] mmc: sdhci: Fix maximum clock for programmable clock mode

2017-04-25 Thread Wenyou Yang
In the programmable clock mode, the SDCLK frequency is incorrectly assigned when the maximum clock has been assigned during probe, this causes the SDHCI not work well. In the programmable clock mode, when calculating the SDCLK Frequency Select, when the maximum clock has been assigned, it is the

[U-Boot] [PATCH] clk: at91: clk-generated: Fix incorrect assignment of clock source

2017-04-25 Thread Wenyou Yang
Differentiate the generic clock source selection value from the parent clock index to fix the incorrect assignment of the generic clock source selection. Signed-off-by: Wenyou Yang --- drivers/clk/at91/clk-generated.c | 16 +--- 1 file changed, 9

Re: [U-Boot] [PATCH v2] Ensure device tree DTS is compiled

2017-04-25 Thread Masahiro Yamada
2017-03-27 11:27 GMT+09:00 Simon Glass : > On 15 March 2017 at 22:11, James Balean wrote: >> Enables custom DTS files, or those not associated with a specific target, to >> be compiled into a boot image. >> >> Signed-off-by: James Balean

Re: [U-Boot] [PATCH] power: twl4030: Add CONFIG_CMD_POWEROFF support

2017-04-25 Thread Adam Ford
On Tue, Apr 25, 2017 at 3:10 PM, Tom Rini wrote: > On Mon, Apr 24, 2017 at 01:34:43PM -0500, Adam Ford wrote: > >> With the addition of twl4030_power_off(), let's allow the 'poweroff' command >> to run this function when CONFIG_CMD_POWEROFF is enabled. >> >> Tested on a DM3730

[U-Boot] [PATCH v4 14/20] sunxi: 64-bit SoCs: introduce FIT generator script

2017-04-25 Thread Andre Przywara
Now that the Makefile can call a generator script to build a more advanced FIT image, let's use this feature to address the needs of Allwinner boards with 64-bit SoCs (A64 and H5). The (DTB stripped) U-Boot binary and the ATF are static, but we allow an arbitrary number of supported device trees

[U-Boot] [PATCH v4 19/20] sunxi: update Pine64 README

2017-04-25 Thread Andre Przywara
With the DRAM init code and the SPL's ability to load the ATF binary as well, we can now officially get rid of the boot0 boot method, which involed a closed-source proprietary blob to be used. Rework the Pine64 README file to document how to build the firmware. Also since these instructions now

[U-Boot] [PATCH v4 18/20] sunxi: use SPL header DT name for FIT board matching

2017-04-25 Thread Andre Przywara
Now that we can store a DT name in the SPL header, use this string (if available) when finding the right DT blob to load for U-Boot proper. This allows a generic U-Boot (proper) image to be combined with a bunch of supported DTs, with just the SPL (possibly only that string) to be different.

[U-Boot] [PATCH v4 11/20] sunxi: SPL: store RAM size in gd

2017-04-25 Thread Andre Przywara
The sunxi SPL was holding the detected RAM size in some local variable only, so it wasn't accessible for other functions. Store the value in gd->ram_size instead, so it can be used later on. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass

[U-Boot] [PATCH v4 15/20] sunxi: defconfig: add supported DT list for Pine64

2017-04-25 Thread Andre Przywara
When a board uses a FIT image to load U-Boot proper, it requires a list of supported device trees to be supplied in CONFIG_OF_LIST, from which it chooses the right one at runtime. For boards with just one possible DT (like the OrangePi PC2) this defaults to CONFIG_DEFAULT_DEVICE_TREE, but for the

[U-Boot] [PATCH v4 10/20] sunxi: A64: move SPL stack to end of SRAM A2

2017-04-25 Thread Andre Przywara
The SPL stack is usually located at the end of SRAM A1, where it grows towards the end of the SPL. For the really big AArch64 binaries the stack overwrites code pretty soon, so move the SPL stack to the end of SRAM A2, which is unused at this time. Signed-off-by: Andre Przywara

[U-Boot] [PATCH v4 17/20] sunxi: Store the device tree name in the SPL header

2017-04-25 Thread Andre Przywara
From: Siarhei Siamashka This patch updates the mksunxiboot tool to optionally add the default device tree name string to the SPL header. This information can be used by the firmware upgrade tools to protect users from harming themselves by trying to upgrade to an

[U-Boot] [PATCH v4 16/20] sunxi: enable automatic FIT build for 64-bit SoCs

2017-04-25 Thread Andre Przywara
The Allwinner SoCs with 64-bit cores use an ARM Trusted Firmware binary, which needs to be loaded alongside U-Boot proper. Set the respective Kconfig options to let them select this feature and also automatically build the FIT image. Signed-off-by: Andre Przywara

[U-Boot] [PATCH v4 13/20] Makefile: add rules to generate SPL FIT images

2017-04-25 Thread Andre Przywara
Some platforms require more complex U-Boot images than we can easily generate via the mkimage command line, for instance to load additional image files. Introduce a CONFIG_SPL_FIT_SOURCE and CONFIG_SPL_FIT_GENERATOR symbol, which can either hold an .its source file describing the image layout, or,

[U-Boot] [PATCH v4 20/20] sunxi: Move maintainership for Pine64

2017-04-25 Thread Andre Przywara
After speaking to Hans at FOSDEM, he is fine with transferring the maintainership of the Pine64 boards over to me. Signed-off-by: Andre Przywara --- board/sunxi/MAINTAINERS | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/board/sunxi/MAINTAINERS

[U-Boot] [PATCH v4 06/20] Kconfig: fix SPL_FIT dependency

2017-04-25 Thread Andre Przywara
SPL_FIT obviously requires libfdt in SPL, so let Kconfig express that by selecting SPL_OF_LIBFDT. Also make the actual options that users want (SPL signature and SPL FIT loading) visible in the menu and let them select the SPL_FIT as a requirement. Also remove the now redundant SPL_OF_LIBFDT from

[U-Boot] [PATCH v4 12/20] sunxi: SPL: add FIT config selector for Pine64 boards

2017-04-25 Thread Andre Przywara
For a board or platform to support FIT loading in the SPL, it has to provide a board_fit_config_name_match() routine, which helps to select one of possibly multiple DTBs contained in a FIT image. Provide a simple function which chooses the DT name U-Boot was configured with. If the DT name is one

[U-Boot] [PATCH v4 09/20] armv8: fsl: move ccn504 code into FSL Makefile

2017-04-25 Thread Andre Przywara
The generic ARMv8 assembly code contains routines for setting up a CCN interconnect, though the Freescale SoCs are the only user. Link this code only for Freescale targets, this saves some precious bytes in the chronically tight SPL. Signed-off-by: Andre Przywara ---

[U-Boot] [PATCH v4 03/20] SPL: FIT: improve error handling

2017-04-25 Thread Andre Przywara
At the moment we ignore any errors due to missing FIT properties, instead go ahead and calculate our addresses with the -1 return value. Fix this and bail out if any of the mandatory properties are missing. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass

[U-Boot] [PATCH v4 07/20] tools: mksunxiboot: allow larger SPL binaries

2017-04-25 Thread Andre Przywara
mksunxiboot limits the size of the resulting SPL binaries to pretty conservative values to cover all SoCs and all boot media (NAND). It turns out that we have limit checks in place in the build process, so mksunxiboot can be relaxed and allow packaging binaries up to the actual 32KB the mask boot

[U-Boot] [PATCH v4 08/20] armv8: SPL: only compile GIC code if needed

2017-04-25 Thread Andre Przywara
Not every SoC needs to set up the GIC interrupt controller, so link think code only when the respective config option is set. This shaves off some bytes from the SPL code size. Signed-off-by: Andre Przywara Reviewed-by: Simon Glass ---

[U-Boot] [PATCH v4 05/20] SPL: FIT: allow loading multiple images

2017-04-25 Thread Andre Przywara
So far we were not using the FIT image format to its full potential: The SPL FIT loader was just loading the first image from the /images node plus one of the listed DTBs. Now with the refactored loader code it's easy to load an arbitrary number of images in addition to the two mentioned above. As

[U-Boot] [PATCH v4 02/20] SPL: FIT: rework U-Boot image loading

2017-04-25 Thread Andre Przywara
Currently the SPL FIT loader always looks only for the first image in the /images node a FIT tree, which it loads and later executes. Generalize this by looking for a "firmware" property in the matched configuration subnode, or, if that does not exist, for the first string in the "loadables"

[U-Boot] [PATCH v4 04/20] SPL: FIT: factor out spl_load_fit_image()

2017-04-25 Thread Andre Przywara
At the moment we load two images from a FIT image: the actual U-Boot image and the .dtb file. Both times we have very similar code, that deals with alignment requirements the media we load from imposes upon us. Factor out this code into a new function, which we just call twice. Signed-off-by:

[U-Boot] [PATCH v4 00/20] SPL: extend FIT loading support

2017-04-25 Thread Andre Przywara
Another round of smaller fixes for the SPL FIT loading series and the respective patches to enable this feature on 64-bit Allwinner SoCs. The README has been changed to address all 64-bit Allwinner boards and has consequently been renamed to README.sunxi64. Also we can now point U-Boot to the ARM

[U-Boot] [PATCH v4 01/20] SPL: FIT: refactor FDT loading

2017-04-25 Thread Andre Przywara
Currently the SPL FIT loader uses the spl_fit_select_fdt() function to find the offset to the right DTB within the FIT image. For this it iterates over all subnodes of the /configuration node in the FIT tree and compares all "description" strings therein using a board specific matching function.

Re: [U-Boot] [PATCH 4/6] am33xx: Provide platform data for mmc

2017-04-25 Thread Adam Ford
On Tue, Apr 25, 2017 at 4:10 PM, Tom Rini wrote: > On Sat, Apr 22, 2017 at 12:20:46PM +0530, Lokesh Vutla wrote: >> Signed-off-by: Lokesh Vutla >> --- >> board/ti/am335x/board.c | 32 >> 1 file changed, 32 insertions(+) >>

[U-Boot] [U-boot] use of CONFIG_SYS_EARLY_PCI_INIT with DM PCI

2017-04-25 Thread Suneel Garapati
Hi Simon, Request your inputs on below query - Boards I work on have most of the devices on PCI bus, driver model support enabled, would like to use CONFIG_SYS_EARLY_PCI_INIT to call pci_init but the below snippet would hinder. #ifdef CONFIG_PCI static int initr_pci(void) { -#ifndef

Re: [U-Boot] [PATCH] patman: encode CC list to UTF-8

2017-04-25 Thread Dr. Philipp Tomsich
Hi Simon, > On 25 Apr 2017, at 22:31, Simon Glass wrote: > > Hi Tom, > > On 25 April 2017 at 11:12, Tom Rini wrote: >> >> On Sat, Apr 22, 2017 at 05:53:36PM -0600, Simon Glass wrote: >>> +Tom >>> >>> On 19 April 2017 at 07:24, Philipp Tomsich >>>

[U-Boot] "syntax error" after erasing flash sector

2017-04-25 Thread Ohad Peleg
hello, from the hush cli im trying to update the uboot within the uboot. but after erasing a flash sector (which is succeded) i get: "syntax error" for every coomand.. im not sure why, uboot supposed to run from ram at this point so why does it matter i erased the flash?

[U-Boot] [Turris Omnia] Btrfs support status?

2017-04-25 Thread Marek Behún
Hello, the Turris Omnia router uses btrfs as the main filesystem, from which it also loads kernel and dts. We have an implementation in our internal u-boot (https://gitlab.labs.nic.cz/turris/turris-omnia-uboot/tree/master/fs/btrfs). As I understand it, this code was already proposed for u-boot:

[U-Boot] [PATCH] LS1088A: PPA Enable for ls1088a rdb and qds.

2017-04-25 Thread Amrita Kumari
Signed-off-by: Amrita Kumari --- arch/arm/cpu/armv8/fsl-layerscape/Kconfig | 1 + board/freescale/ls1088a/ls1088a.c | 4 configs/ls1088aqds_qspi_defconfig | 1 + configs/ls1088ardb_qspi_defconfig | 1 + 4 files changed, 7 insertions(+) diff

[U-Boot] [Turris Omnia] Is there a standard approach to write a driver for CryptoAuthentication/EEPROM chip?

2017-04-25 Thread Marek Behún
Hello, I have few questions about upstreaming support for the Turris Omnia into u-boot. The Turris Omnia has (on I2C interface) an Atmel ATSHA204 CryptoAuthentication chip for storage of MAC adresses, device serial number, device configuration (1 GB RAM vs 2 GB RAM). This data is stored in the

[U-Boot] [PATCH] LS1012A: change the size of flash

2017-04-25 Thread Suresh Gupta
LS1012A has S25FS512S flash of 64M size Signed-off-by: Suresh Gupta --- include/configs/ls1012a_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/ls1012a_common.h b/include/configs/ls1012a_common.h index 0db926f..861cbc3 100644

[U-Boot] [PATCH] sf: Fix s25fs512s erase size and remove SECT_4K flag

2017-04-25 Thread Suresh Gupta
As per data sheet, S25FS512S support Uniform sector option or erase size of 256 kbytes and Page Programming buffer of 256 or 512 Bytes. So, flag SECT_4K have no significance for this flash. Signed-off-by: Suresh Gupta --- drivers/mtd/spi/spi_flash_ids.c | 2 +- 1 file

Re: [U-Boot] [EXT] Armada 385: PEX detection pulse width

2017-04-25 Thread Assaf Hoffman
+ Torsten -Original Message- From: Adam Shobash Sent: Tuesday, April 25, 2017 10:26 AM To: Rene Straub; Stefan Eichenberger Cc: Assaf Hoffman; s...@denx.de; u-boot@lists.denx.de Subject: RE: [EXT] Armada 385: PEX detection pulse width Hi Rene, These bits that I have sent changes the

Re: [U-Boot] [EXT] Armada 385: PEX detection pulse width

2017-04-25 Thread Adam Shobash
Hi Rene, These bits that I have sent changes the pulse width of the "detection pulse" during the detect state, and purpose of it is to measure the slew rate of the common mode voltage change and according to the slew rate it is decided whether there is a Termination(usually it is the Rx

Re: [U-Boot] [EXT] Armada 385: PEX detection pulse width

2017-04-25 Thread Rene Straub
Hello Adam, first of all thanks the quick reply. First trials with reduced pulse length, showed promising results. To better understand the root cause of the problem, it would be helpful if you explained us briefly what the register change actually performs. I/we understand that the problem is

Re: [U-Boot] [PATCH 6/6] arm: am335x: Enable tiny printf in SPL

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:48PM +0530, Lokesh Vutla wrote: > am335x_evm SPL is very close to its limit in SRAM space. > Switch to use tiny printf to reclaim some size. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [PATCH 4/6] am33xx: Provide platform data for mmc

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:46PM +0530, Lokesh Vutla wrote: > Signed-off-by: Lokesh Vutla > --- > board/ti/am335x/board.c | 32 > 1 file changed, 32 insertions(+) > > diff --git a/board/ti/am335x/board.c b/board/ti/am335x/board.c > index

Re: [U-Boot] [PATCH 5/6] configs: am335x_evm: Enable SPL_DM

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:47PM +0530, Lokesh Vutla wrote: > Enable SPL_DM on all AM335x based TI platforms. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 3/6] configs: am335x_evm: Use omap2 generic spl load script

2017-04-25 Thread Tom Rini
On Mon, Apr 24, 2017 at 10:23:17AM -0500, Andrew F. Davis wrote: > On 04/22/2017 01:50 AM, Lokesh Vutla wrote: > > No reason to use a separate load script for am33xx than using > > omap-common load script. > > > > Signed-off-by: Lokesh Vutla > > --- > >

Re: [U-Boot] [PATCH 2/6] dm: mmc: omap_hsmmc: Add pre-reloc flag to the driver

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:44PM +0530, Lokesh Vutla wrote: > For platforms that don't use device tree in SPL the only > way to mark this driver as 'required by relocation' is > with the DM_FLAG_PRE_RELOC flag. Add this to ensure that > the driver is bound. > > Signed-off-by: Lokesh Vutla

Re: [U-Boot] [PATCH 1/6] dm: mmc: omap_hsmmc: Update to support of-platdata

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 12:20:43PM +0530, Lokesh Vutla wrote: > This is to aid platforms that uses OF_PLATDATA. > > Signed-off-by: Lokesh Vutla Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH 2/2] asm-generic: global_data: change timebase_l/h to unsigned int

2017-04-25 Thread Peng Fan
Hi Simon, > -Original Message- > From: s...@google.com [mailto:s...@google.com] On Behalf Of Simon Glass > Sent: Monday, April 24, 2017 11:38 AM > To: Peng Fan > Cc: U-Boot Mailing List ; Tom Rini > ; Eddie Cai

Re: [U-Boot] [PATCH v3 0/6] sunxi: video: Add support for HDMI output on A64/H3/H5

2017-04-25 Thread Jernej Škrabec
Hi Maxime, Dne torek, 25. april 2017 ob 10:57:05 CEST je Maxime Ripard napisal(a): > On Mon, Apr 24, 2017 at 11:54:22PM +0200, Jernej Škrabec wrote: > > Hi Maxime, > > > > Dne ponedeljek, 24. april 2017 ob 09:19:40 CEST je Maxime Ripard napisal(a): > > > Hi Jernej, > > > > > > On Fri, Apr 21,

Re: [U-Boot] [PATCH] patman: encode CC list to UTF-8

2017-04-25 Thread Simon Glass
Hi Tom, On 25 April 2017 at 11:12, Tom Rini wrote: > > On Sat, Apr 22, 2017 at 05:53:36PM -0600, Simon Glass wrote: > > +Tom > > > > On 19 April 2017 at 07:24, Philipp Tomsich > > wrote: > > > > > > This change encodes the CC list to

Re: [U-Boot] [PATCH] ARM: omap2+: rename config to ARCH_OMAP2PLUS and consolidate Kconfig

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 01:10:11PM +0900, Masahiro Yamada wrote: > In Linux, CONFIG_ARCH_OMAP2PLUS is used for OMAP2 or later SoCs. > Rename CONFIG_ARCH_OMAP2 to CONFIG_ARCH_OMAP2PLUS to follow this > naming. > > Move the OMAP2+ board/SoC choice down to mach-omap2/Kconfig to slim > down the

Re: [U-Boot] [PATCH v2] Kconfig: Enable FIT support by default for TI platforms

2017-04-25 Thread Tom Rini
On Fri, Apr 21, 2017 at 10:01:28AM -0500, Andrew F. Davis wrote: > Almost all TI defconfigs enable this already, add this as a default > and remove the explicit assignment. > > Signed-off-by: Andrew F. Davis Reviewed-by: Tom Rini -- Tom signature.asc

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

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 12:51:10PM +0200, Marek Vasut wrote: > The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) > > are available in the git repository at: > >

Re: [U-Boot] [PATCH] power: twl4030: Add CONFIG_CMD_POWEROFF support

2017-04-25 Thread Tom Rini
On Mon, Apr 24, 2017 at 01:34:43PM -0500, Adam Ford wrote: > With the addition of twl4030_power_off(), let's allow the 'poweroff' command > to run this function when CONFIG_CMD_POWEROFF is enabled. > > Tested on a DM3730 with twl4030 PMIC. > > Signed-off-by: Adam Ford > >

Re: [U-Boot] [PULL] u-boot-socfpga/master

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 12:49:41PM +0200, Marek Vasut wrote: > This was rotting in for too long, might as well push it upstream ... > > The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: > > Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) > >

Re: [U-Boot] [PATCH v4 0/7] am57xx: cl-som-am57x: fix usb

2017-04-25 Thread Marek Vasut
On 04/25/2017 03:09 AM, Tom Rini wrote: > On Sun, Apr 23, 2017 at 11:18:04AM +0300, Uri Mashiach wrote: >> Hello Tom, >> >> A gentle ping on this patch series. >> >> On 02/23/2017 03:39 PM, Uri Mashiach wrote: >>> Various USB related comits for the CL-SOM-AM57x module. >>> >>> --- >>> V1 -> V2:

Re: [U-Boot] [PATCH v4 00/35] ARM: i.MX6: SabreSD: Add dts support

2017-04-25 Thread Fabio Estevam
Hi Jagan, On Tue, Apr 25, 2017 at 3:35 PM, Jagan Teki wrote: > >> This isn't a limitation, all the defconfigs on various boards follows >> the same but except by giving dtb explicitly doing make, like >> make DEVICE_TREE=imx6l-sabresd > > Any help? Take imx6 cubox or

[U-Boot] Pull request: u-boot-sunxi/master

2017-04-25 Thread Jagan Teki
Hi Tom, Please take this PR, probably the last PR for the release. thanks! Jagan. The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) are available in the git repository at: git://git.denx.de/u-boot-sunxi.git

Re: [U-Boot] [PATCH 1/5] i.MX6Q: icorem6: Add modeboot env via board_late_init

2017-04-25 Thread Jagan Teki
Hi Stefano, On Mon, Apr 17, 2017 at 9:18 PM, Jagan Teki wrote: > On Wed, Apr 12, 2017 at 9:27 PM, Stefano Babic wrote: >> On 07/04/2017 19:50, Jagan Teki wrote: >>> Hi Stefano, >>> >>> On Mon, Mar 27, 2017 at 11:32 PM, Jagan Teki

Re: [U-Boot] [RFC PATCH] ext4: Fix comparision of unsigned expression with < 0

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 10:22:27AM +0530, Lokesh Vutla wrote: > In file ext4fs.c funtion ext4fs_read_file() compares an > unsigned expression with < 0 like below > > lbaint_t blknr; > blknr = read_allocated_block(&(node->inode), i); > if (blknr < 0) > return -1; >

Re: [U-Boot] [PATCH] patman: encode CC list to UTF-8

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 05:53:36PM -0600, Simon Glass wrote: > +Tom > > On 19 April 2017 at 07:24, Philipp Tomsich > wrote: > > > > This change encodes the CC list to UTF-8 to avoid failures on > > maintainer-addresses that include non-ASCII characters

Re: [U-Boot] [PATCH 0/4] MIPS: call debug_uart_init right before board_init_f

2017-04-25 Thread Daniel Schwierzeck
2017-04-25 17:48 GMT+02:00 Álvaro Fernández Rojas : > I've just realized I sent this without v2 prefix. > Should I resend it? no, I've found the right patches in patchwork ;) > > El 24/04/2017 a las 19:03, Álvaro Fernández Rojas escribió: >> All MIPS boards that support debug

Re: [U-Boot] [PATCH 2/2][v4] nxp/ls2080ardb: Add QSPI-boot support

2017-04-25 Thread York Sun
On 04/25/2017 03:18 AM, Priyanka Jain wrote: QSPI-boot is verified on LS20080ARDB RevF board Typo here. It is LS2080ARDB. with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS Is the board marked as LS2088ARDB? Is the limitation on rev F board, or the boot method? can not

Re: [U-Boot] [PATCH 0/4] MIPS: call debug_uart_init right before board_init_f

2017-04-25 Thread Álvaro Fernández Rojas
I've just realized I sent this without v2 prefix. Should I resend it? El 24/04/2017 a las 19:03, Álvaro Fernández Rojas escribió: > All MIPS boards that support debug uart are calling debug_uart_init right at > the beginning of board_early_init_f. > Instead of doing that, let's provide a generic

[U-Boot] Please pull u-boot-fsl-qoriq master

2017-04-25 Thread York Sun
Tom, The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-fsl-qoriq.git for you to fetch changes up to

[U-Boot] [PATCH 2/2] armv8: ls1043ardb: Make NET independent of FMan

2017-04-25 Thread York Sun
This allows using PCIe NIC without enabling DPAA FMan. Signed-off-by: York Sun CC: Mingkai Hu --- board/freescale/ls1043ardb/Makefile | 2 +- include/configs/ls1043ardb.h| 13 - 2 files changed, 9 insertions(+), 6 deletions(-) diff

[U-Boot] [PATCH 1/2] armv8: ls1046ardb: Make NET independent of FMan

2017-04-25 Thread York Sun
This allows using PCIe NIC without enabling DPAA FMan. Signed-off-by: York Sun CC: Mingkai Hu --- board/freescale/ls1046ardb/Makefile | 2 +- include/configs/ls1046ardb.h| 15 +-- 2 files changed, 10 insertions(+), 7 deletions(-) diff

Re: [U-Boot] Please pull u-boot-mips

2017-04-25 Thread Tom Rini
On Fri, Apr 21, 2017 at 05:02:14PM +0200, Daniel Schwierzeck wrote: > Hi Tom, > > please pull two bugfixes for qemu_mips, thanks. > > > The following changes since commit f6c1df44b815a08585e7fd3805a1db51a5955d09: > > Prepare v2017.05-rc2 (2017-04-17 18:16:49 -0400) > > are available in the

Re: [U-Boot] pull request: u-boot-uniphier/master

2017-04-25 Thread Tom Rini
On Sat, Apr 22, 2017 at 02:08:53AM +0900, Masahiro Yamada wrote: > Hi Tom, > > Here is a small pull request for UniPhier SoCs. > Please pull! > > - Add USB PHY settings > - Use PSCI system reset when used with ARM Trusted Firmware > - Improve boot log to show SCP status > - Sync DT with Linux >

Re: [U-Boot] sunxi: Build issue with Bananapi_M2_Ultra

2017-04-25 Thread Tom Rini
On Tue, Apr 25, 2017 at 05:59:43PM +0800, Chen-Yu Tsai wrote: > On Tue, Apr 25, 2017 at 4:46 PM, Chen-Yu Tsai wrote: > > Hi, > > > > On Tue, Apr 25, 2017 at 1:56 PM, Jagan Teki > > wrote: > >> Hi, > >> > >> We're unable to build with buildman with

Re: [U-Boot] [PATCH v2 00/22] x86: Add ACPI S3 resume support

2017-04-25 Thread Stefan Roese
Hi Bin, On 25.04.2017 11:34, Bin Meng wrote: >>> What do you mean by "display >>> stays in power safe mode"? Is it a black screen, or is it just >>> U-Boot's video output screen? >> >> Blank screen and the monitor does not wake up from power-safe >> mode. I see the log on the serial console,

Re: [U-Boot] [PATCH v7 00/16] Add Intel Arria 10 SoC support

2017-04-25 Thread Marek Vasut
On 04/25/2017 08:44 PM, Ley Foon Tan wrote: > This is the 7th version of patchset to adds support for Intel Arria 10 SoC. > This is initial patchset enables the basic support for Arria 10 and other > features will come after this. > > This series is rebased on top of >

[U-Boot] [PATCH v7 15/16] arm: socfpga: Add board files for the Arria10

2017-04-25 Thread Ley Foon Tan
Add support for the Arria10 SoCDK. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- board/altera/arria10-socdk/Kconfig | 18 ++ board/altera/arria10-socdk/Makefile | 7 +++

[U-Boot] [PATCH v7 16/16] arm: socfpga: Enable build for Arria 10

2017-04-25 Thread Ley Foon Tan
Update Kconfig and Makefile to enable Arria 10. Clean up Makefile and sorting *.o alphanumerically. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Kconfig | 10 + arch/arm/mach-socfpga/Makefile | 46

[U-Boot] [PATCH v7 14/16] arm: socfpga: Add config and defconfig for Arria 10

2017-04-25 Thread Ley Foon Tan
Add config and defconfig for the Arria10 and update socfpga_common.h. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- configs/socfpga_arria10_defconfig | 29 +++ include/configs/socfpga_arria10_socdk.h | 66

[U-Boot] [PATCH v7 12/16] arm: dts: Add dts and dtsi for Arria 10

2017-04-25 Thread Ley Foon Tan
Device tree files for Arria 10 Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/dts/Makefile | 1 + arch/arm/dts/socfpga_arria10.dtsi | 869 +

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

2017-04-25 Thread Marek Vasut
The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) are available in the git repository at: git://git.denx.de/u-boot-usb.git master for you to fetch changes up to

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

2017-04-25 Thread Marek Vasut
This was rotting in for too long, might as well push it upstream ... The following changes since commit 3c476d841daa491f87c8f07851038afbdf4d90a8: Merge git://git.denx.de/u-boot-fsl-qoriq (2017-04-18 11:36:06 -0400) are available in the git repository at:

[U-Boot] [PATCH v7 10/16] arm: socfpga: Add pinmux for Arria 10

2017-04-25 Thread Ley Foon Tan
Add pinmux support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 1 + arch/arm/mach-socfpga/include/mach/pinmux.h | 17 + arch/arm/mach-socfpga/pinmux_arria10.c

[U-Boot] [PATCH v7 11/16] arm: socfpga: Add misc support for Arria 10

2017-04-25 Thread Ley Foon Tan
Add misc support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 1 + arch/arm/mach-socfpga/include/mach/misc.h | 6 + arch/arm/mach-socfpga/misc_arria10.c | 259

[U-Boot] [PATCH v7 03/16] arm: socfpga: Restructure system manager

2017-04-25 Thread Ley Foon Tan
Restructure system manager in the preparation to support A10. No functional change. Change uint32_t to u32. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 5 +- .../arm/mach-socfpga/include/mach/system_manager.h | 128

[U-Boot] [PATCH v7 13/16] arm: socfpga: Add SPL support for Arria 10

2017-04-25 Thread Ley Foon Tan
Add SPL support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/spl.c | 53 +++-- 1 file changed, 51 insertions(+), 2 deletions(-) diff --git

[U-Boot] [PATCH v7 08/16] arm: socfpga: Add system manager for Arria 10

2017-04-25 Thread Ley Foon Tan
Add system manager register struct and macros for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- .../arm/mach-socfpga/include/mach/system_manager.h | 74 +--- .../include/mach/system_manager_arria10.h

[U-Boot] [PATCH v7 09/16] arm: socfpga: Add sdram header file for Arria 10

2017-04-25 Thread Ley Foon Tan
Add sdram header file for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/sdram_arria10.h | 380 + 1 file changed, 380 insertions(+) create mode 100644

[U-Boot] [PATCH v7 05/16] arm: socfpga: Add A10 macros

2017-04-25 Thread Ley Foon Tan
Add i2c, timer and other A10 macros. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/include/mach/base_addr_a10.h | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/arch/arm/mach-socfpga/include/mach/base_addr_a10.h

[U-Boot] [PATCH v7 07/16] arm: socfpga: Add clock driver for Arria 10

2017-04-25 Thread Ley Foon Tan
Add clock driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile |3 +- arch/arm/mach-socfpga/clock_manager.c | 10 +

[U-Boot] [PATCH v7 06/16] arm: socfpga: Add reset driver support for Arria 10

2017-04-25 Thread Ley Foon Tan
Add reset driver support for Arria 10. Signed-off-by: Tien Fong Chee Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 + arch/arm/mach-socfpga/include/mach/reset_manager.h | 2 +

[U-Boot] [PATCH v7 04/16] arm: socfpga: Restructure misc driver

2017-04-25 Thread Ley Foon Tan
Restructure misc driver in the preparation to support A10. Move the Gen5 specific code to gen5 file. Change all uint32_t_to u32. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile| 2 +- arch/arm/mach-socfpga/include/mach/misc.h | 25

[U-Boot] [PATCH v7 02/16] arm: socfpga: Restructure reset manager driver

2017-04-25 Thread Ley Foon Tan
Restructure reset manager driver in the preparation to support A10. Move the Gen5 specific code to gen5 files. Signed-off-by: Ley Foon Tan --- arch/arm/mach-socfpga/Makefile | 2 +- arch/arm/mach-socfpga/include/mach/reset_manager.h | 48 ++-

[U-Boot] [PATCH v7 01/16] arm: socfpga: Restructure clock manager driver

2017-04-25 Thread Ley Foon Tan
Restructure clock manager driver in the preparation to support A10. Move the Gen5 specific code to _gen5 files. - Change all uint32_t to u32 and change to use macro BIT(n) for bit shift. - Check return value from wait_for_bit(). So change return type to int for cm_write_with_phase() and

[U-Boot] [PATCH v7 00/16] Add Intel Arria 10 SoC support

2017-04-25 Thread Ley Foon Tan
This is the 7th version of patchset to adds support for Intel Arria 10 SoC. This is initial patchset enables the basic support for Arria 10 and other features will come after this. This series is rebased on top of http://git.denx.de/?p=u-boot/u-boot-socfpga.git. v6 -> v7 changes:

[U-Boot] [PATCH 2/2][v4] nxp/ls2080ardb: Add QSPI-boot support

2017-04-25 Thread Priyanka Jain
QSPI-boot is verified on LS20080ARDB RevF board with LS2088A SoC. LS2088ARDB RevF Board has limitation that QIXIS can not be access, so QIXIS flag is kept disabled Signed-off-by: Priyanka Jain Signed-off-by: Suresh Gupta --- Changes for v4: Updated

[U-Boot] [PATCH 1/2][v4] board: freescale: ls2080ardb: Update QIXIS code

2017-04-25 Thread Priyanka Jain
Update QIXIS related code to be executed only if CONFIG_FSL_QIXIS flag is enabled As per board documentation, default sysclk is 100MHz. In case QIXIS code is not enabled, update default sysclk value to 100MHz Signed-off-by: Priyanka Jain --- Changes for v4: Added

Re: [U-Boot] orangepi_pc2: Build error

2017-04-25 Thread Andre Przywara
Hi, On 24/04/17 07:54, Jagan Teki wrote: > On Sat, Apr 8, 2017 at 5:01 AM, André Przywara wrote: >> On 07/04/17 06:10, Jagan Teki wrote: >> >> Hi Jagan, >> >>> Can you check this error on master? >>> >>> COPYspl/u-boot-spl.bin >>> MKSUNXI spl/sunxi-spl.bin >>>

Re: [U-Boot] sunxi: Build issue with Bananapi_M2_Ultra

2017-04-25 Thread Chen-Yu Tsai
On Tue, Apr 25, 2017 at 4:46 PM, Chen-Yu Tsai wrote: > Hi, > > On Tue, Apr 25, 2017 at 1:56 PM, Jagan Teki wrote: >> Hi, >> >> We're unable to build with buildman with gcc-4.9.x >> >>arm: + Bananapi_M2_Ultra >>

Re: [U-Boot] [PATCH 1/2] ARM: sunxi: move board/sunxi/Kconfig to arch/arm/mach-sunxi/Kconfig

2017-04-25 Thread Masahiro Yamada
Hi Maxime, 2017-04-25 18:46 GMT+09:00 Maxime Ripard : > Hello Masahiro, > > On Tue, Apr 25, 2017 at 01:42:06PM +0900, Masahiro Yamada wrote: >> For the consistent location of SoC-level Kconfig. >> >> Signed-off-by: Masahiro Yamada

Re: [U-Boot] [PATCH 1/2] ARM: sunxi: move board/sunxi/Kconfig to arch/arm/mach-sunxi/Kconfig

2017-04-25 Thread Maxime Ripard
Hello Masahiro, On Tue, Apr 25, 2017 at 01:42:06PM +0900, Masahiro Yamada wrote: > For the consistent location of SoC-level Kconfig. > > Signed-off-by: Masahiro Yamada This patch doesn't seem to apply, which tree did you base this on? Thanks! Maxime -- Maxime

  1   2   >