Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Michal Simek
On 23.2.2016 08:47, Masahiro Yamada wrote: > Hi Michal, > > > 2016-02-23 16:06 GMT+09:00 Michal Simek : >> On 23.2.2016 03:57, Masahiro Yamada wrote: >>> Hi Michal, Tom, Simon >>> >>> >>> >>> >>> 2016-02-23 1:16 GMT+09:00 Tom Rini : On Mon, Feb 22, 2016

Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Masahiro Yamada
Hi Michal, 2016-02-23 16:06 GMT+09:00 Michal Simek : > On 23.2.2016 03:57, Masahiro Yamada wrote: >> Hi Michal, Tom, Simon >> >> >> >> >> 2016-02-23 1:16 GMT+09:00 Tom Rini : >>> On Mon, Feb 22, 2016 at 04:51:47PM +0100, Michal Simek wrote: Hi,

Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Michal Simek
On 23.2.2016 03:57, Masahiro Yamada wrote: > Hi Michal, Tom, Simon > > > > > 2016-02-23 1:16 GMT+09:00 Tom Rini : >> On Mon, Feb 22, 2016 at 04:51:47PM +0100, Michal Simek wrote: >>> Hi, >>> >>> On 8.2.2016 21:49, Tom Rini wrote: On Fri, Feb 05, 2016 at 05:55:14PM

Re: [U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-02-22 Thread Scott Wood
On Tue, 2016-02-23 at 04:09 +, Prabhakar Kushwaha wrote: > > -Original Message- > > From: Scott Wood [mailto:o...@buserror.net] > > Sent: Tuesday, February 23, 2016 6:52 AM > > To: Prabhakar Kushwaha ; u- > > b...@lists.denx.de > > Cc: york sun

Re: [U-Boot] [PATCH v2 00/25] exynos: video: Convert exynos LCD driver to use driver model

2016-02-22 Thread Simon Glass
Hi Minkyu, On 21 February 2016 at 21:08, Simon Glass wrote: > > This series converts the exynos LCD driver to work with driver model. Only > the eDP display is converted - the MIPI display is left mostly alone as I > do not have a device to test with. > > The conversion

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-22 Thread Hannes Schmelzer
On 22.02.2016 18:59, Fabio Estevam wrote: On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: Hello, I was hit by the same problem, where my USB SD card reader would timeout in U-boot when reading a large file (16 MB). Changing USB_MAX_XFER_BLK to 32767 fixed the

Re: [U-Boot] [PATCH 1/2] serial: dcc: Move driver to DM

2016-02-22 Thread Simon Glass
Hi Michal, On 22 February 2016 at 08:54, Michal Simek wrote: > On 19.2.2016 21:55, Simon Glass wrote: >> Hi Michal, >> >> On 18 February 2016 at 09:01, Michal Simek wrote: >>> Enabling this driver requires some DT changes. >>> Adding DCC to root

Re: [U-Boot] [PATCH] dm: ns16550: Add support for reg-offset property

2016-02-22 Thread Simon Glass
Hi Michal, On 22 February 2016 at 00:40, Michal Simek wrote: > On 19.2.2016 21:55, Simon Glass wrote: >> Hi Michal, >> >> On 16 February 2016 at 08:17, Michal Simek wrote: >>> reg-offset is the part of standard 8250 binding in the kernel. >>> It

Re: [U-Boot] [PATCH 1/2] dm: core: Add uclass_first_device_err() to return a valid device

2016-02-22 Thread Simon Glass
Hi Bin, On 16 February 2016 at 02:31, Bin Meng wrote: > Hi Simon, > > On Fri, Feb 12, 2016 at 4:23 AM, Simon Glass wrote: >> A common pattern is to call uclass_first_device() and then check if it >> actually returns a device. Add a new function which does

Re: [U-Boot] uboot fdt commands

2016-02-22 Thread Simon Glass
Hi, On 18 February 2016 at 00:40, Damien Wei Huang wrote: > Hi > > This question is regarding to uboot commands > > > > I use the uboot "fdt mknode" command to create two nodes as below > > uboot> fdt resize > > uboot> fdt mknode /my_light_pinctrl > >

Re: [U-Boot] [PATCH 10/16] sandbox: timer: Support the early timer

2016-02-22 Thread Simon Glass
Hi Bin On 16 February 2016 at 02:22, Bin Meng wrote: > Hi Simon, > > On Mon, Feb 15, 2016 at 9:36 AM, Simon Glass wrote: >> Add support for the early timer so we can use tracing with sandbox again. >> >> Signed-off-by: Simon Glass >>

Re: [U-Boot] [PATCH 07/16] timer: Support tracing fully

2016-02-22 Thread Simon Glass
Hi Bin, On 16 February 2016 at 02:21, Bin Meng wrote: > Hi Simon, > > On Mon, Feb 15, 2016 at 9:36 AM, Simon Glass wrote: >> A few of the functions in the timer uclass are not marked with 'notrace'. Fix >> this so that tracing can be used with

Re: [U-Boot] [PATCH 08/16] timer: Provide an early timer

2016-02-22 Thread Simon Glass
Hi Bin, On 16 February 2016 at 02:21, Bin Meng wrote: > Hi Simon, > > On Mon, Feb 15, 2016 at 9:36 AM, Simon Glass wrote: >> In some cases the timer must be accessible before driver model is active. >> Examples include when using CONFIG_TRACE to trace

Re: [U-Boot] [PATCH] rpi: set board serial number in environment

2016-02-22 Thread Stephen Warren
On 02/22/2016 02:06 PM, Lubomir Rintel wrote: > Gets propagated into the device tree and then into /proc/cpuinfo where > users often expect it. Tested-by: Stephen Warren (on qemu-0xabu at least) Reviewed-by: Stephen Warren

Re: [U-Boot] fdtgrep results in Segmentation fault for 64bit DT

2016-02-22 Thread Simon Glass
Hi Masahiro, On 17 February 2016 at 20:36, Masahiro Yamada wrote: > Hi Simon, > > I am working on U-Boot support on my new ARMv8 SoC. > I was hit by a problem with fdtgrep. > > (Note: CONFIG_SPL_OF_CONTROL is on UniPhier SoC family) > OK thanks for the report. I

[U-Boot] [PATCH v2 22/27] mkimage: Bring data into the FIT before processing

2016-02-22 Thread Simon Glass
Since we now support data outside the FIT image, bring it into the FIT image first before we do any processing. This avoids adding new functionality to the core FIT code for now. Signed-off-by: Simon Glass --- Changes in v2: None tools/fit_image.c | 97

[U-Boot] [PATCH v2 18/27] image: Add functions to obtain short names

2016-02-22 Thread Simon Glass
Sometimes it is useful to obtain the short name for an Operating System, architecture or compression mechanism. Provide functions for this. Signed-off-by: Simon Glass --- Changes in v2: None common/image.c | 26 ++ include/image.h | 27

[U-Boot] [PATCH v2 25/27] spl: Add a way to specify a list of device trees to include

2016-02-22 Thread Simon Glass
When building a FIT, more than one device tree can be included. The board can select (at run-time) the one that it wants. Add a Kconfig option to allow the list of devices trees (supported by the board) to be specified. When using SPL_LOAD_FIT, build u-boot.img in FIT format instead of the

[U-Boot] [PATCH v2 26/27] spl: Support loading a FIT from MMC

2016-02-22 Thread Simon Glass
Detect a FIT when loading from MMC and handle it using the new FIT SPL support. Signed-off-by: Simon Glass --- Changes in v2: None common/spl/spl_mmc.c | 75 +++- 1 file changed, 57 insertions(+), 18 deletions(-) diff --git

[U-Boot] [PATCH v2 23/27] spl: Add a way for boards to select which device tree to load

2016-02-22 Thread Simon Glass
SPL calls this function with each device tree it can find in the FIT. The board should implement this function, using whatever hardware detection it can muster to determine the correct device tree. Signed-off-by: Simon Glass --- Changes in v2: None include/image.h | 13

[U-Boot] [PATCH v2 20/27] mkimage: Support adding device tree files to a FIT

2016-02-22 Thread Simon Glass
To make the auto-FIT feature useful we need to be able to provide a list of device tree files on the command line for mkimage to add into the FIT. Add support for this feature. So far there is no support for hashing or verified boot using this method. For those cases, a .its file must still be

Re: [U-Boot] [PATCH] rpi: always scroll by 10 lines

2016-02-22 Thread Stephen Warren
On 02/22/2016 02:15 PM, Lubomir Rintel wrote: > Scrolling the simple framebuffer is really slow in Raspberry Pi to the > point it delays the boot by a second or two and makes longer output > inconvenient to follow (printenv, md). Acked-by: Stephen Warren

[U-Boot] [PATCH v2 27/27] RFC: sunxi: Enable SPL FIT support

2016-02-22 Thread Simon Glass
Enable SPL FIT support for the Linksprite pcDuino3 as an example of how this feature is used. This is only for demonstration purposes and is not to be applied. Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/cpu/armv7/sunxi/board.c | 5 +

[U-Boot] [PATCH v2 13/27] fdt: Allow libfdt to be used in SPL

2016-02-22 Thread Simon Glass
Add an option to enable libfdt in SPL. This can be useful when decoding FIT files in SPL. We need to make sure this option is not enabled in SPL by this change. Also this option needs to be enabled in host builds. Si add a new IMAGE_USE_LIBFDT #define which can be used in files that are built on

[U-Boot] [PATCH v2 21/27] mkimage: Support placing data outside the FIT

2016-02-22 Thread Simon Glass
One limitation of FIT is that all the data is 'inline' within it, using a 'data' property in each image node. This means that to find out what is in the FIT it is necessary to scan the entire file. Once loaded it can be scanned and then the images can be copied to the correct place in memory. In

[U-Boot] [PATCH v2 17/27] tools: Add a function to obtain the size of a file

2016-02-22 Thread Simon Glass
This will be used in mkimage when working out the required size of the FIT based on the files to be placed into it. Signed-off-by: Simon Glass --- Changes in v2: None doc/mkimage.1 | 4 ++-- tools/imagetool.c | 22 ++ tools/imagetool.h | 12

[U-Boot] [PATCH v2 14/27] sunxi: Display the board model on start-up

2016-02-22 Thread Simon Glass
It is useful to know which sunxi board you are booting. Display this on start-up to avoid confusion. Signed-off-by: Simon Glass --- Changes in v2: None include/configs/sunxi-common.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/sunxi-common.h

[U-Boot] [PATCH v2 12/27] fdt: Adjust DEFAULT_DEVICE_TREE to device on OF_CONTROL

2016-02-22 Thread Simon Glass
This option has no meaning without OF_CONTROL, so add a dependency. Signed-off-by: Simon Glass --- Changes in v2: None dts/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/dts/Kconfig b/dts/Kconfig index fb2d79e..ba83d5f 100644 --- a/dts/Kconfig +++ b/dts/Kconfig

[U-Boot] [PATCH v2 19/27] mkimage: Support automatic creating of a FIT without a .its

2016-02-22 Thread Simon Glass
At present, when generating a FIT, mkimage requires a .its file containing the structure of the FIT and referring to the images to be included. Creating the .its file is a separate step that makes it harder to use FIT. This is not required for creating legacy images. Often the FIT is pretty

[U-Boot] [PATCH v2 24/27] spl: Add an option to load a FIT containing U-Boot

2016-02-22 Thread Simon Glass
This provides a way to load a FIT containing U-Boot and a selection of device tree files. The board can select the correct device tree by probing the hardware. Then U-Boot is started with the selected device tree. Signed-off-by: Simon Glass --- Changes in v2: - Add a few

[U-Boot] [PATCH v2 08/27] Correct defconfig ordering

2016-02-22 Thread Simon Glass
Various boards have the wrong Kconfig ordering now. To avoid a misleading diff in the next patch, reorder the configuration correctly. Signed-off-by: Simon Glass --- Changes in v2: None configs/am335x_gp_evm_defconfig | 2 +- configs/am437x_sk_evm_defconfig

[U-Boot] [PATCH v2 15/27] tools: Include fdt_sw.o in libfdt for mkimage

2016-02-22 Thread Simon Glass
At present this file is omitted. It is used to build up a binary device tree. We plan to do this in mkimage, so include this file in the build. Signed-off-by: Simon Glass --- Changes in v2: None tools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[U-Boot] [PATCH v2 06/27] mkimage: Make 'params' static

2016-02-22 Thread Simon Glass
This is not used outside mkimage.c, so make this variable static. Signed-off-by: Simon Glass --- Changes in v2: None tools/mkimage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/mkimage.c b/tools/mkimage.c index 5aae748..b8293f6 100644 ---

[U-Boot] [PATCH v2 04/27] mkimage: Move usage() up to the top

2016-02-22 Thread Simon Glass
To avoid a forward declaration, move the usage() function higher in the file. Signed-off-by: Simon Glass --- Changes in v2: None tools/mkimage.c | 81 ++--- 1 file changed, 42 insertions(+), 39 deletions(-) diff --git

[U-Boot] [PATCH v2 09/27] freescale: Remove CONFIG_DM from header files

2016-02-22 Thread Simon Glass
Kconfig options must defined in the defconfig files. Since RSA_SOFTWARE_EXP relies on CONFIG_DM, unless it is set in kconfig we cannot enable RSA. Remove the hacks which enable CONFIG_DM in header files and update the defconfig. Signed-off-by: Simon Glass --- Changes in v2:

[U-Boot] [PATCH v2 05/27] mkimage: Show an error message when usage() is called

2016-02-22 Thread Simon Glass
Sometimes incorrect arguments are supplied but the reason is not obvious to the user. Add some helpful messages. Signed-off-by: Simon Glass --- Changes in v2: None tools/mkimage.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git

[U-Boot] [PATCH v2 07/27] libfdt: Add a function to write a property placeholder

2016-02-22 Thread Simon Glass
The existing function to add a new property to a tree being built requires that the entire contents of the new property be passed in. For some applications it is more convenient to be able to add the property contents later, perhaps by reading from a file. This avoids double-buffering of the

[U-Boot] [PATCH v2 03/27] mkimage: Sort the option processing code by option

2016-02-22 Thread Simon Glass
Adjust the code so that option alphabetical order matches the order in the switch() statement. This makes it easier to find options. Signed-off-by: Simon Glass --- Changes in v2: None tools/mkimage.c | 50 +- 1 file changed,

[U-Boot] [PATCH v2 02/27] mkimage: Convert to use getopt()

2016-02-22 Thread Simon Glass
The current way of parsing arguments is a bit clumsy. It seems better to use getopt() which is commonly used for this purpose. Convert the code to use getopt() and make a few minor adjustments as needed. Signed-off-by: Simon Glass --- Changes in v2: None tools/mkimage.c |

[U-Boot] [PATCH v2 00/27] spl: Support loading a FIT image containing U-Boot

2016-02-22 Thread Simon Glass
We need a way to support more than one board per binary in U-Boot with device tree. Various methods have been discussed. The one that seems to make the most sense is to adjust SPL so that it can load a FIT which contains U-Boot and several device tree binaries. This is how things with with Linux:

[U-Boot] [PATCH v2 01/27] mkimage: Move argument processing into its own function

2016-02-22 Thread Simon Glass
At present main() is very long. Split out the argument processing to make it easier to follow. Signed-off-by: Simon Glass --- Changes in v2: None tools/mkimage.c | 56 1 file changed, 32 insertions(+), 24 deletions(-)

[U-Boot] [PATCH] common: Add support for environment file in EXT4.

2016-02-22 Thread stuartl
From: Stuart Longland This is an enhancement that permits storing the environment file on an EXT4 partition such as the root filesystem. It is based on the existing FAT environment file code. --- common/Makefile | 2 + common/cmd_nvedit.c | 3 +- common/env_ext4.c

Re: [U-Boot] [PATCH] net: phy: atheros: Fix problem with phy_reset() clearing BMCR

2016-02-22 Thread Stefan Agner
On 2016-02-19 13:24, Fabio Estevam wrote: > On Fri, Feb 19, 2016 at 5:52 AM, Alison Wang wrote: >> In commit [net: phy: do not read configuration register on >> reset], phy_reset() will clear the BMCR register. Bit 12(AUTO_NEGOTIATION) >> is cleared too. It causes

Re: [U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-02-22 Thread Prabhakar Kushwaha
> -Original Message- > From: Scott Wood [mailto:o...@buserror.net] > Sent: Tuesday, February 23, 2016 6:52 AM > To: Prabhakar Kushwaha ; u- > b...@lists.denx.de > Cc: york sun ; Priyanka Jain > Subject: Re: [RFC] armv8:

Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Masahiro Yamada
Hi Michal, Tom, Simon 2016-02-23 1:16 GMT+09:00 Tom Rini : > On Mon, Feb 22, 2016 at 04:51:47PM +0100, Michal Simek wrote: >> Hi, >> >> On 8.2.2016 21:49, Tom Rini wrote: >> > On Fri, Feb 05, 2016 at 05:55:14PM +0900, Masahiro Yamada wrote: >> > >> >> The build command of

Re: [U-Boot] [PATCH 2/3][v3] Data types defined for 64 bit physical address

2016-02-22 Thread york sun
On 02/22/2016 05:38 PM, Scott Wood wrote: > On Wed, 2016-02-10 at 05:20 +, york sun wrote: >> On 02/09/2016 09:10 PM, Scott Wood wrote: >>> On Wed, 2016-02-10 at 02:30 +, york sun wrote: >> >> >> Aneesh and Scott, I need to revisit this patch. Would it be better to

Re: [U-Boot] [PATCH v2 2/2] arm: ls1021aqds: Enable driver model lpuart serial driver

2016-02-22 Thread Bin Meng
On Tue, Feb 23, 2016 at 3:01 AM, York Sun wrote: > Convert ls1021aqds_nor_lpuart and ls1021aqds_ddr4_nor_lpuart > to driver model suport. Enable lpuart port driver. > > Signed-off-by: York Sun > CC: Alison Wang > CC: Bin Meng

Re: [U-Boot] [PATCH v2 1/2] arm: ls1021aqds: Convert to driver model and enable serial support

2016-02-22 Thread Bin Meng
On Tue, Feb 23, 2016 at 3:01 AM, York Sun wrote: > Split duart configuration as device tree file. Move /chosen node > out of board commone device tree. Convert ls1021aqds nor and SD > configurations to driver model support (qspi already uses DM). > Enable ns16550 DM serial

Re: [U-Boot] [PATCH 2/3][v3] Data types defined for 64 bit physical address

2016-02-22 Thread Scott Wood
On Wed, 2016-02-10 at 05:20 +, york sun wrote: > On 02/09/2016 09:10 PM, Scott Wood wrote: > > On Wed, 2016-02-10 at 02:30 +, york sun wrote: > > > > > > > > > Aneesh and Scott, > > > > > > I need to revisit this patch. Would it be better to change it as below? > > > > > > +#if

Re: [U-Boot] [RFC] armv8: layerscape: Add support of u-boot device tree fix-up

2016-02-22 Thread Scott Wood
On Mon, 2016-02-22 at 16:05 +0530, Prabhakar Kushwaha wrote: > There is a requirement of u-boot dts fix-up before it is being > consumed by u-boot. You might want to explain the reason *why* we have this requirement -- that the board takes a socketed SoC, and we don't want to have to reflash the

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

2016-02-22 Thread Scott Wood
On Mon, 2016-02-22 at 18:05 +0800, Gong Qianyu wrote: > QSPI and IFC are pin-multiplexed on LS1043A. So if QSPI is enabled, > IFC should be disabled. > But just disable IFC driver in LS1043A Linux is not enough because > mdio-mux will access IFC address space -- actually it accesses FPGA > which

[U-Boot] [PATCH 2/2] mx7dsabresd: Define serial port locally

2016-02-22 Thread Fabio Estevam
From: Fabio Estevam CONFIG_MXC_UART_BASE should not be defined in mx7_common.h as the console port can vary from board to board. Define CONFIG_MXC_UART_BASE locally instead. Signed-off-by: Fabio Estevam --- include/configs/mx7_common.h | 1 -

[U-Boot] [PATCH 1/2] mx7_common: Remove unexisting options

2016-02-22 Thread Fabio Estevam
From: Fabio Estevam CONFIG_IMX_FIXED_IVT_OFFSET and CONFIG_FSL_CLK are not used anywhere, so just remove them. Signed-off-by: Fabio Estevam --- include/configs/mx7_common.h | 3 --- 1 file changed, 3 deletions(-) diff --git

[U-Boot] [PATCH] rpi: always scroll by 10 lines

2016-02-22 Thread Lubomir Rintel
Scrolling the simple framebuffer is really slow in Raspberry Pi to the point it delays the boot by a second or two and makes longer output inconvenient to follow (printenv, md). Signed-off-by: Lubomir Rintel --- include/configs/rpi-common.h | 1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH] rpi: set board serial number in environment

2016-02-22 Thread Lubomir Rintel
Gets propagated into the device tree and then into /proc/cpuinfo where users often expect it. Signed-off-by: Lubomir Rintel --- arch/arm/mach-bcm283x/include/mach/mbox.h | 11 +++ board/raspberrypi/rpi/rpi.c | 33 +++ 2 files

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/22/2016 12:09 PM, Alexander Graf wrote: > > > On 22.02.16 20:52, york sun wrote: >> On 02/22/2016 11:42 AM, Alexander Graf wrote: >>> >>> >>> On 22.02.16 19:39, york sun wrote: On 02/22/2016 10:31 AM, Alexander Graf wrote: > > On Feb 22, 2016, at 7:12 PM, york sun

[U-Boot] [PATCH] booti: Help text rework.

2016-02-22 Thread Karsten Merker
Hello, while experimenting with the arm64 support I have stumbled over two small spelling issues in the "booti" help text: s/specifying the size of RAW initrd/specifying the size of a RAW initrd/ s/a Linux kernelrequires/a Linux kernel requires/ While editing the help text I have ended up

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
On 22.02.16 20:52, york sun wrote: > On 02/22/2016 11:42 AM, Alexander Graf wrote: >> >> >> On 22.02.16 19:39, york sun wrote: >>> On 02/22/2016 10:31 AM, Alexander Graf wrote: On Feb 22, 2016, at 7:12 PM, york sun wrote: > On 02/22/2016 10:02 AM, Alexander

[U-Boot] [PATCH] booti: Help text rework.

2016-02-22 Thread Karsten Merker
Fix spelling errors in the "booti" help text and bring it more in line with the bootm/bootz help texts. Signed-off-by: Karsten Merker --- cmd/bootm.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/cmd/bootm.c b/cmd/bootm.c index

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/22/2016 11:42 AM, Alexander Graf wrote: > > > On 22.02.16 19:39, york sun wrote: >> On 02/22/2016 10:31 AM, Alexander Graf wrote: >>> >>> On Feb 22, 2016, at 7:12 PM, york sun wrote: >>> On 02/22/2016 10:02 AM, Alexander Graf wrote: > > >> Am 22.02.2016

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
On 22.02.16 19:39, york sun wrote: > On 02/22/2016 10:31 AM, Alexander Graf wrote: >> >> On Feb 22, 2016, at 7:12 PM, york sun wrote: >> >>> On 02/22/2016 10:02 AM, Alexander Graf wrote: > Am 22.02.2016 um 18:37 schrieb york sun : > >>

[U-Boot] [PATCH v2 2/2] arm: ls1021aqds: Enable driver model lpuart serial driver

2016-02-22 Thread York Sun
Convert ls1021aqds_nor_lpuart and ls1021aqds_ddr4_nor_lpuart to driver model suport. Enable lpuart port driver. Signed-off-by: York Sun CC: Alison Wang CC: Bin Meng --- Changes in v2: Fix default device tree name for

[U-Boot] [PATCH v2 0/2] Convert ls1021aqds to use driver model for serial ports

2016-02-22 Thread York Sun
Since a recent merge 5160def "dm: lpuart: Drop the legacy code", ls1021aqds_ddr4_nor_lpuart and ls1021aqds_nor_lpuart failed to compile because they are using legacy driver for lpuart. Following ls1021atwr, ls1021aqds should be converted as well. Changes in v2: Fix default device tree name for

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

2016-02-22 Thread Fabio Estevam
On Mon, Feb 22, 2016 at 3:17 PM, Jagan Teki wrote: > Can you pls- test the dataflash changes? use u-boot-spi/spi-nor Does not even build for me (mx6qsabresd_defconfig) : CC drivers/misc/mxc_ocotp.o drivers/dfu/dfu_sf.c: In function ‘dfu_read_medium_sf’:

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Stephen Warren
On 02/22/2016 11:37 AM, Alexander Graf wrote: On Feb 22, 2016, at 7:18 PM, Stephen Warren wrote: On 02/21/2016 06:57 PM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k granule page tables, we really should just create normal 4k page tables that allow us to set

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

2016-02-22 Thread york sun
On 02/22/2016 10:18 AM, Jagan Teki wrote: > Hi York, > > On 15 February 2016 at 02:16, Jagan Teki wrote: >> Compared to previous patch series this series adds spi-nor >> core with spi-nor controller drivers are of "mtd uclass" >> >> This is whole series for all spi-nor

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/22/2016 10:31 AM, Alexander Graf wrote: > > On Feb 22, 2016, at 7:12 PM, york sun wrote: > >> On 02/22/2016 10:02 AM, Alexander Graf wrote: >>> >>> Am 22.02.2016 um 18:37 schrieb york sun : > On 02/21/2016 05:57 PM, Alexander Graf wrote:

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Alexander Graf
On Feb 22, 2016, at 7:18 PM, Stephen Warren wrote: > On 02/21/2016 06:57 PM, Alexander Graf wrote: >> The idea to generate our pages tables from an array of memory ranges >> is very sound. However, instead of hard coding the code to create up >> to 2 levels of 64k granule

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: Howdy, Currently on arm64 there is a big pile of mess when it comes to MMU support and page tables. Each board does its own little thing and the generic code is pretty dumb and nobody actually uses it. This patch set tries to clean that up. After

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
On Feb 22, 2016, at 7:12 PM, york sun wrote: > On 02/22/2016 10:02 AM, Alexander Graf wrote: >> >> >>> Am 22.02.2016 um 18:37 schrieb york sun : >>> On 02/21/2016 05:57 PM, Alexander Graf wrote: Howdy, Currently on arm64 there is a big

Re: [U-Boot] [PATCH 4/9] tegra: Replace home grown mmu code with generic table approach

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: Now that we have nice table driven page table creating code that gives us everything we need, move to that. diff --git a/include/configs/tegra210-common.h b/include/configs/tegra210-common.h +#define CONFIG_SYS_FULL_VA +#define

Re: [U-Boot] [PATCH 2/9] arm64: Make full va map code more dynamic

2016-02-22 Thread Stephen Warren
On 02/21/2016 06:57 PM, Alexander Graf wrote: The idea to generate our pages tables from an array of memory ranges is very sound. However, instead of hard coding the code to create up to 2 levels of 64k granule page tables, we really should just create normal 4k page tables that allow us to set

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

2016-02-22 Thread Jagan Teki
Hi York, On 15 February 2016 at 02:16, Jagan Teki wrote: > Compared to previous patch series this series adds spi-nor > core with spi-nor controller drivers are of "mtd uclass" > > This is whole series for all spi-nor related changes, and while > series tested on spansion

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread Alexander Graf
> Am 22.02.2016 um 18:37 schrieb york sun : > >> On 02/21/2016 05:57 PM, Alexander Graf wrote: >> Howdy, >> >> Currently on arm64 there is a big pile of mess when it comes to MMU >> support and page tables. Each board does its own little thing and the >> generic code is

Re: [U-Boot] Issue with USB mass storage (thumb drives)

2016-02-22 Thread Fabio Estevam
On Mon, Feb 22, 2016 at 2:51 PM, Maxime Jayat wrote: > Hello, > I was hit by the same problem, where my USB SD card reader would timeout > in U-boot when reading a large file (16 MB). Changing USB_MAX_XFER_BLK > to 32767 fixed the problem but I investigated a little more.

[U-Boot] [PATCH] mx6qarm2: Update maintainer's emails

2016-02-22 Thread Fabio Estevam
From: Fabio Estevam Use the new NXP emails. Signed-off-by: Fabio Estevam --- board/freescale/mx6qarm2/MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/board/freescale/mx6qarm2/MAINTAINERS

Re: [U-Boot] [PATCH 0/9] arm64: Unify MMU code

2016-02-22 Thread york sun
On 02/21/2016 05:57 PM, Alexander Graf wrote: > Howdy, > > Currently on arm64 there is a big pile of mess when it comes to MMU > support and page tables. Each board does its own little thing and the > generic code is pretty dumb and nobody actually uses it. > > This patch set tries to clean that

Re: [U-Boot] [PATCH] test/py: Add option to skip SPL signature checking

2016-02-22 Thread Stephen Warren
On 02/22/2016 05:52 AM, Michal Simek wrote: Provide user option to skip SPL signature verification for cases where u-boot is build with SPL support but full U-Boot is also verified without SPL. If you want to support this feature please add env__spl_skipped = True to your boardenv configuration

Re: [U-Boot] [RFC PATCH v1 2/2] arm: ls1021aqds: Enable driver model lpuart serial driver

2016-02-22 Thread york sun
On 02/21/2016 11:07 PM, Huan Wang wrote: > Hi, York, > >> On Tue, Feb 9, 2016 at 8:57 AM, York Sun wrote: >>> Convert ls1021aqds_nor_lpuart and ls1021aqds_ddr4_nor_lpuart to driver >>> model suport. Enable lpuart port driver. >>> >>> Signed-off-by: York Sun

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

2016-02-22 Thread Anatolij Gustschin
Hi Tom, The following changes since commit 595af9db2422fa5ae734cfe615415b17a5098f34: Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-02-21 07:56:16 -0500) are available in the git repository at: git://git.denx.de/u-boot-video.git master for you to fetch changes up to

Re: [U-Boot] [PATCH 01/10] video: Add S3C24xx framebuffer support

2016-02-22 Thread Anatolij Gustschin
Hi Marek, On Sat, 11 Oct 2014 18:42:49 +0200 Marek Vasut ma...@denx.de wrote: > Add basic framebuffer driver for the S3C24xx family of CPUs. > > Signed-off-by: Marek Vasut > Cc: Anatolij Gustschin > Cc: Kyungmin Park > Cc: Lukasz

Re: [U-Boot] [PATCH v2 25/25] exynos: video: Drop old unused code

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:09:02 -0700 Simon Glass s...@chromium.org wrote: > Now that we are using driver model, we can drop the weak functions and LCD > init in the board file. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin

Re: [U-Boot] [PATCH v2 24/25] exynos: video: Convert several boards to driver model for video

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:09:01 -0700 Simon Glass s...@chromium.org wrote: > Update several boards to use driver model for video. This involves changes > to the EDP and FIMD (frame buffer) drivers. Existing PWM, simple-panel and > pwm-backlight drivers are used. These work without additional

Re: [U-Boot] [PATCH] usb: eth: fix memalign() parameter order

2016-02-22 Thread Stephen Warren
On 02/12/2016 02:16 PM, Marek Vasut wrote: On 02/12/2016 10:15 PM, Joe Hershberger wrote: On Fri, Feb 12, 2016 at 2:56 PM, Stephen Warren wrote: From: Stephen Warren The alignment and size were swapped, leading to malloc heap corruption. On my

Re: [U-Boot] [PATCH v2 23/25] exynos: video: Rename variables for driver model

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:09:00 -0700 Simon Glass s...@chromium.org wrote: > Use 'priv' for a private pointer and 'regs' for a register pointer. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot

[U-Boot] [PATCH 4/7] pci/layerscape: add support for LUT

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder The per-PCI controller LUT (Look-Up-Table) is a 32-entry table that maps PCI requester IDs (bus/dev/fun) to a stream ID. This patch implements infrastructure to enable LUT initialization: -define registers offsets -add an index to 'struct ls_pcie' to

[U-Boot] [PATCH 7/7] pci/layerscape: set LUT and msi-map for discovered PCI devices

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder for all PCI devices discovered in a system: -allocate a LUT (look-up-table) entry in that PCI controller -allocate a stream ID for the device -program and enable a LUT entry (maps PCI requester id to stream ID) -set the msi-map property on the

[U-Boot] [PATCH 2/7] armv8: ls2080a: update stream ID partitioning info

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder -update comments around how stream IDs are partitioned -stream IDs allocated to PCI are no longer divided up by controller, but are instead a contiguous range Signed-off-by: Stuart Yoder ---

[U-Boot] [PATCH 5/7] pci/layerscape: add stream ID allocator

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder add a function to return the next available stream ID for PCI Signed-off-by: Stuart Yoder --- drivers/pci/pcie_layerscape.c | 11 +++ 1 file changed, 11 insertions(+) diff --git a/drivers/pci/pcie_layerscape.c

[U-Boot] [PATCH 0/7] support mapping PCI device ids to stream ids for MSIs

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder A binding for PCI nodes has been finalized specifying how PCI device IDs can be mapped to MSI specifiers. See Documentation/devicetree/bindings/pci/pci-msi.txt in the kernel. For ls2080a and similar Layerscape SoCs, the MSI specifier is the stream id.

[U-Boot] [PATCH 3/7] pci: make pci_get_hose_head() available to external users

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder put pci_get_hose_head() prototype in header so it is available to external users-- allowing them to find and iterate over all pci controllers Signed-off-by: Stuart Yoder --- include/pci.h |1 + 1 file changed, 1 insertion(+)

[U-Boot] [PATCH 6/7] pci/layerscape: fdt: function to set msi-map entries

2016-02-22 Thread Stuart Yoder
From: Stuart Yoder msi-map properties are used to tell an OS how PCI requester IDs are mapped to ARM SMMU stream IDs. This patch defines a function to append a single msi-map entry to a given PCI controller device tree node. Signed-off-by: Stuart Yoder

Re: [U-Boot] [U-Boot, v3, 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-22 Thread Tom Rini
On Mon, Feb 22, 2016 at 04:51:47PM +0100, Michal Simek wrote: > Hi, > > On 8.2.2016 21:49, Tom Rini wrote: > > On Fri, Feb 05, 2016 at 05:55:14PM +0900, Masahiro Yamada wrote: > > > >> The build command of u-boot-spl.dtb is not constant, but dependent > >> on CONFIG_OF_SPL_REMOVE_PROPS. Use

Re: [U-Boot] [PATCH v2 22/25] exynos: video: Rename edp_device_info to exynos_dp_priv

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:59 -0700 Simon Glass s...@chromium.org wrote: > Rename this function to better fit with driver model. It is the private data > for the exynos EDP driver. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin

Re: [U-Boot] [PATCH v2 13/25] video: Add an enum for active low/high

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:50 -0700 Simon Glass s...@chromium.org wrote: > This is used for video signals in some drivers so provide a standard way > of representing it in an enum. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin

Re: [U-Boot] [PATCH v2 11/25] exynos: video: Combine LCD driver into one file

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:48 -0700 Simon Glass s...@chromium.org wrote: > At present exynos_fimd.c is the controller and exynos_fb.c is the U-Boot > LCD interface. With driver model we want these in one file, so join them > in preparation. > > Signed-off-by: Simon Glass

Re: [U-Boot] [PATCH v2 10/25] exynos: video: Move mipi_lcd_device_dt into a function

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:47 -0700 Simon Glass s...@chromium.org wrote: > In preparation for making this a parameter, move it into the function > that sets it up. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin

Re: [U-Boot] [PATCH v2 09/25] exynos: video: Move struct exynos_platform_mipi_dsim into vidinfo

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:46 -0700 Simon Glass s...@chromium.org wrote: > Put the pointer to this structure in struct vidinfo so that we can > reference it without it being global. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin

Re: [U-Boot] [PATCH v2 07/25] exynos: video: Drop static variables in exynos_dp_lowlevel.c

2016-02-22 Thread Anatolij Gustschin
On Sun, 21 Feb 2016 21:08:44 -0700 Simon Glass s...@chromium.org wrote: > Drop these and use parameters instead. > > Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin ___ U-Boot mailing list

  1   2   >