Re: [U-Boot] [PATCH] armv8: ls1043a: Extend the size for SPL

2016-09-07 Thread Q.Y. Gong
Hi York, > -Original Message- > From: york sun > Sent: Wednesday, September 07, 2016 11:36 PM > To: Q.Y. Gong ; u-boot@lists.denx.de > Cc: Prabhakar Kushwaha ; Vincent Hu > > Subject: Re: [PATCH] armv8: ls1043a: Extend

Re: [U-Boot] [PATCH V4 1/2] mmc: sd: extracting erase related information from sd status

2016-09-07 Thread Peng Fan
On Thu, Sep 08, 2016 at 10:49:53AM +0900, Jaehoon Chung wrote: >Hi Peng, > >On 09/08/2016 10:42 AM, Peng Fan wrote: >> Hi Jaehoon, >> On Wed, Sep 07, 2016 at 03:52:53PM +0900, Jaehoon Chung wrote: >>> Hi Peng, >>> >>> On 09/01/2016 12:13 PM, Peng Fan wrote: Add function to read SD_STATUS

Re: [U-Boot] [PATCH V4 1/2] mmc: sd: extracting erase related information from sd status

2016-09-07 Thread Jaehoon Chung
Hi Peng, On 09/08/2016 10:42 AM, Peng Fan wrote: > Hi Jaehoon, > On Wed, Sep 07, 2016 at 03:52:53PM +0900, Jaehoon Chung wrote: >> Hi Peng, >> >> On 09/01/2016 12:13 PM, Peng Fan wrote: >>> Add function to read SD_STATUS information. >>> According to the information, get

Re: [U-Boot] [PATCH V4 1/2] mmc: sd: extracting erase related information from sd status

2016-09-07 Thread Peng Fan
Hi Jaehoon, On Wed, Sep 07, 2016 at 03:52:53PM +0900, Jaehoon Chung wrote: >Hi Peng, > >On 09/01/2016 12:13 PM, Peng Fan wrote: >> Add function to read SD_STATUS information. >> According to the information, get erase_timeout/erase_size/erase_offset. >> Add a structure sd_ssr to include the erase

Re: [U-Boot] [PATCH 21/21] arm: imx: add i.MX6ULL 14x14 EVK board support

2016-09-07 Thread Peng Fan
Hi Jagan, On Wed, Sep 07, 2016 at 08:21:07PM +0530, Jagan Teki wrote: >On Thu, Aug 11, 2016 at 11:32 AM, Peng Fan wrote: >> Add i.MX6ULL EVK board support: >> Add device tree file, which is copied from NXP Linux. >> Enabled DM_MMC, DM_GPIO, DM_I2C, DM_SPI, PINCTRL,

Re: [U-Boot] config USB_STORAGE: defconfig vs include header

2016-09-07 Thread Masahiro Yamada
Hi Stephen 2016-09-08 1:15 GMT+09:00 Stephen Warren : > Masahiro, > > In patch 6e7e9294d321 "usb: add basic USB configs in Kconfig", you added > "config USB_STORAGE" to drivers/usb/Kconfig. However, it's still just > #defined by many include/configs/*.h rather than being

Re: [U-Boot] [PATCH 5/5] ARM: omap5: add fdt secure dram reservation fixup

2016-09-07 Thread Andrew F. Davis
On 09/02/2016 12:40 AM, Daniel Allred wrote: > Adds a secure dram reservation fixup for secure > devices, when a region in the emif has been set aside > for secure world use. The size is defined by the > CONFIG_TI_SECURE_EMIF_TOTAL_REGION_SIZE config option. > > Signed-off-by: Daniel Allred

Re: [U-Boot] [PATCH] Various, accumulated typos collected from around the tree.

2016-09-07 Thread Jagan Teki
On Wed, Sep 7, 2016 at 11:57 PM, Robert P. J. Day wrote: > > Fix various misspellings of: > > * deprecated > * partition > * preceding,preceded > * preparation > * its versus it's > * export > * existing > * scenario > * redundant > * remaining > * value > *

Re: [U-Boot] [PATCH v2 1/2] spi: ti_qspi: use 128 bit transfer mode when writing to flash

2016-09-07 Thread Jagan Teki
On Wed, Sep 7, 2016 at 3:18 PM, Vignesh R wrote: > TI QSPI has four 32 bit data registers which can be used to transfer 16 > bytes of data at once. The register group QSPI_SPI_DATA_REG_3, > QSPI_SPI_DATA_REG_2, QSPI_SPI_DATA_REG_1 and QSPI_SPI_DATA_REG is > treated as a single

Re: [U-Boot] [PATCH] armv8: ls1043a: Extend the size for SPL

2016-09-07 Thread york sun
On 09/07/2016 03:33 AM, Gong Qianyu wrote: > The SPL images are growing much bigger especially when DEBUG is ON. > So need to fix the values for them. > > Signed-off-by: Gong Qianyu > --- > include/configs/ls1043a_common.h | 25 - > 1 file changed, 16

Re: [U-Boot] UBI and UBIFS on ARM64

2016-09-07 Thread Adam Oleksy
Hello Heiko, 2016-09-07 12:26 GMT+02:00 Heiko Schocher : > Sounds risky to me, as I think you have some problem with your nand > driver or io functions ... It sounds risky to me also. I'm going to resolve this problem by myself. I'll let you know about results. -- Adam Oleksy

Re: [U-Boot] UBI and UBIFS on ARM64

2016-09-07 Thread Adam Oleksy
Hi Heiko, Thank you, and I understand that you can't say nothing more about this. Anyway, I've found workaround... I've just disabled compression for ubifs, and problem disappeared. I believe I can live with it:). 2016-09-07 6:49 GMT+02:00 Heiko Schocher : > Hello Adam, > > > Am

Re: [U-Boot] [PATCH] treewide: compress lines for immediate return

2016-09-07 Thread Masahiro Yamada
Hi Stefano, 2016-09-06 18:25 GMT+09:00 Stefano Babic : > > Nothing against, but it looks to me just a different and allowed coding > style - where is the advantages of this ? > This had already been superseded. Please check v3, where I mostly transformed simple wrapper functions

Re: [U-Boot] [PATCH] treewide: compress lines for immediate return

2016-09-07 Thread Masahiro Yamada
Hi Stephen, 2016-09-07 1:09 GMT+09:00 Stephen Warren : >>> All child function calls are structured the same, so someone reading the >>> code will always see the same structure irrespective of where in a >>> function >>> a child function is called. This gives uniformity.

[U-Boot] [PATCH] Various, accumulated typos collected from around the tree.

2016-09-07 Thread Robert P. J. Day
Fix various misspellings of: * deprecated * partition * preceding,preceded * preparation * its versus it's * export * existing * scenario * redundant * remaining * value * architecture Signed-off-by: Robert P. J. Day --- just rebased against master so it

Re: [U-Boot] [PATCH] arch: ifc: update the IFC IP input clock

2016-09-07 Thread york sun
On 09/06/2016 07:42 PM, Prabhakar Kushwaha wrote: > >> -Original Message- >> From: york sun >> Sent: Tuesday, September 06, 2016 9:10 PM >> To: Prabhakar Kushwaha ; u- >> b...@lists.denx.de >> Subject: Re: [PATCH] arch: ifc: update the IFC IP input clock >> >>

[U-Boot] [PATCH] ARM64: Add support for some of atomic64 operations

2016-09-07 Thread Adam Oleksy
These functions are needed in UBI/UBIFS on ZynqMP platform (ARM64). --- arch/arm/include/asm/atomic.h | 66 +++ 1 file changed, 66 insertions(+) diff --git a/arch/arm/include/asm/atomic.h b/arch/arm/include/asm/atomic.h index 9b79506..57914fd 100644 ---

Re: [U-Boot] [PATCH v4 10/10] defconfig: Add a config for AM335x High Security EVM with SD Boot support

2016-09-07 Thread Andrew F. Davis
On 09/02/2016 09:58 AM, Tom Rini wrote: > On Fri, Sep 02, 2016 at 09:57:10AM -0500, Andrew F. Davis wrote: >> On 09/02/2016 09:54 AM, Tom Rini wrote: >>> On Tue, Aug 30, 2016 at 02:06:29PM -0500, Andrew F. Davis wrote: >>> Add a new defconfig file for the AM335x High Security EVM. This config

Re: [U-Boot] board: ks2: README: Update to add K2G support

2016-09-07 Thread Tom Rini
On Tue, Sep 06, 2016 at 09:10:37AM +0530, Lokesh Vutla wrote: > Update the README to add support for K2G EVM. Also > - Add steps on how to use MMC boot > - Fix load address when using CCS > - Update build target to u-boot.bin from u-boot-dtb.bin as all ks2 > platforms uses DT. > >

Re: [U-Boot] efi_loader: provide efi_mem_desc version

2016-09-07 Thread Tom Rini
On Mon, Sep 05, 2016 at 11:59:22PM +0200, Mian Yousaf Kaukab wrote: > Provide version of struct efi_mem_desc in efi_get_memory_map(). > > EFI_BOOT_SERVICES.GetMemoryMap() in UEFI specification v2.6 defines > memory descriptor version to 1. Linux kernel also expects descriptor > version to be 1

Re: [U-Boot] image-fit: switch ENOLINK to ENOENT

2016-09-07 Thread Tom Rini
On Sat, Sep 03, 2016 at 08:30:14AM +1000, Jonathan Gray wrote: > ENOLINK is not required by POSIX and does not exist on OpenBSD > and likely other systems. > > Signed-off-by: Jonathan Gray Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] compiler.h: use system endian macros on OpenBSD

2016-09-07 Thread Tom Rini
On Sat, Sep 03, 2016 at 08:26:55AM +1000, Jonathan Gray wrote: > The u-boot endian macros map directly to system endian > macros on OpenBSD. > > Signed-off-by: Jonathan Gray Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, V2] board: am57xx: Fix missing check for beagle_x15

2016-09-07 Thread Tom Rini
On Fri, Sep 02, 2016 at 01:51:33PM -0500, Nishanth Menon wrote: > When beagleboard-X15 is booted, we see the following log: > Unidentified board claims BBRDX15_ in eeprom header > > This is because of the missing check for x15 (the default) and reports > an error for a valid board configuration.

Re: [U-Boot] [U-Boot, 1/2] omap3_pandora: Fix mmc loading of autoboot script to use correct syntax.

2016-09-07 Thread Tom Rini
On Mon, Aug 29, 2016 at 12:56:05AM -0700, Vagrant Cascadian wrote: > fatload/ext2load both require that the device and partition be > specified after specifying the device type. Specify the first > partition on mmc device 0, which is the only mmc device currently > configured on the pandora. > >

Re: [U-Boot] board: am57xx: MAINTAINERS: Update for current maintainer

2016-09-07 Thread Tom Rini
On Fri, Sep 02, 2016 at 02:51:45AM -0500, Nishanth Menon wrote: > Felipe Balbi has move on from TI and the current email ID is no longer > valid. So, replacing with Lokesh. > > While at it, update missing config file which was untracked. > > Signed-off-by: Nishanth Menon >

Re: [U-Boot] [U-Boot, v2] global_data.h: Standardize tabs and alignment for comments

2016-09-07 Thread Tom Rini
On Thu, Sep 01, 2016 at 12:54:32PM -0400, Robert P. J. Day wrote: > Line up comments for readibility. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v3, 2/2] pxe: Modify README to add the description about FIT image

2016-09-07 Thread Tom Rini
On Thu, Sep 01, 2016 at 04:28:22PM +0800, Wenbin Song wrote: > Use environment variable "kernel_addr_r" to indicate the location > in RAM where FIT image will be stored. > Use label command "kernel" to indicate which the FIT image at. > > Signed-off-by: Wenbin Song

Re: [U-Boot] regulator: fixed: obey startup delay

2016-09-07 Thread Tom Rini
On Mon, Aug 22, 2016 at 03:10:09PM +0100, John Keeping wrote: > When enabling a fixed regulator, it may take some time to rise to the > correct voltage. If we do not delay here then subsequent operations > will fail. > > Signed-off-by: John Keeping > Reviewed-by: Tom Rini

Re: [U-Boot] [U-Boot,v3,1/2] pxe: Fix pxe boot with FIT image

2016-09-07 Thread Tom Rini
On Thu, Sep 01, 2016 at 04:28:21PM +0800, Wenbin Song wrote: > From: York Sun > > When FIT image is used, a single image provides kernel, device > tree and optionally ramdisk. Argc and argv need to be adjusted > to support this. > > Test cases: > 1. Booting with legacy

Re: [U-Boot] [U-Boot, 1/2] omap3_pandora: Switch to use config_distro_bootcmd.

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 01:16:31PM -0700, Vagrant Cascadian wrote: > Add support for using distro_bootcmd to the omap3_pandora target, > falling back to prior behavior. > > Signed-off-by: Vagrant Cascadian Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] common/Kconfig: Fix various innocuous typos.

2016-09-07 Thread Tom Rini
On Wed, Aug 31, 2016 at 12:49:13PM -0400, Robert P. J. Day wrote: > Correct a small number of spelling mistakes. > > Signed-off-by: Robert P. J. Day Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 2/2] omap3_pandora: Only set bootargs if distro_bootcmd failed to load.

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 01:16:32PM -0700, Vagrant Cascadian wrote: > As bootargs is hard-coded for the default behavior on the > omap3_pandora, only set the bootargs if distro_bootcmd fails to > load. This leaves distro_bootcmd free to use alternate boot arguments. > > Signed-off-by: Vagrant

Re: [U-Boot] ARM: am335x: select DM_GPIO

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 06:51:40PM +0900, Masahiro Yamada wrote: > We are supposed to not add config entries with only "default y" > in board/SoC Kconfig files. > > Signed-off-by: Masahiro Yamada > Acked-by: Enric Balletbo i Serra

Re: [U-Boot] Increase default of CONFIG_SYS_MALLOC_F_LEN for SPL_OF_CONTROL

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 06:50:36PM +0900, Masahiro Yamada wrote: > If both SPL_DM and SPL_OF_CONTROL are enabled, SPL needs to bind > several devices, but CONFIG_SYS_MALLOC_F_LEN=0x400 is apparently > not enough. Increase the default to 0x2000 for the case. This > will be helpful for shorter

Re: [U-Boot] [U-Boot, v2, 4/4] ARM: armv7: move ARMV7_PSCI_NR_CPUS to Kconfig

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 04:22:23PM +0900, Masahiro Yamada wrote: > Move this option to Kconfig and set its default value to 4; this > increases the number of supported CPUs for some boards. > > It consumes 1KB memory per CPU for PSCI stack, but it should not > be a big deal, given the amount of

Re: [U-Boot] [U-Boot, v2, 3/4] ARM: armv7: move CONFIG_ARMV7_PSCI to Kconfig

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 04:22:22PM +0900, Masahiro Yamada wrote: > Add ARCH_SUPPORT_PSCI as a non-configurable option that platforms > can select. Then, move CONFIG_ARMV7_PSCI, which is automatically > enabled if both ARMV7_NONSEC and ARCH_SUPPORT_PSCI are enabled. > > Signed-off-by: Masahiro

Re: [U-Boot] [U-Boot, v2, 3/4] ARM: armv7: move CONFIG_ARMV7_PSCI to Kconfig

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 04:22:22PM +0900, Masahiro Yamada wrote: > Add ARCH_SUPPORT_PSCI as a non-configurable option that platforms > can select. Then, move CONFIG_ARMV7_PSCI, which is automatically > enabled if both ARMV7_NONSEC and ARCH_SUPPORT_PSCI are enabled. > > Signed-off-by: Masahiro

Re: [U-Boot] [U-Boot, v2, 1/4] ARM: tegra: remove wrong dependency on SPL_BUILD

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 04:22:20PM +0900, Masahiro Yamada wrote: > SPL_BUILD is not a CONFIG in Kconfig, so !SPL_BUILD is always true. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, v2, 2/4] ARM: armv7: guard memory reserve for PSCI with #ifdef CONFIG_ARMV7_PSCI

2016-09-07 Thread Tom Rini
On Tue, Aug 30, 2016 at 04:22:21PM +0900, Masahiro Yamada wrote: > If CONFIG_ARMV7_NONSEC is enabled, the linker script requires > CONFIG_ARMV7_PSCI_NR_CPUS regardless of CONFIG_ARMV7_PSCI. > > Signed-off-by: Masahiro Yamada Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, 2/2] omap3_pandora: Switch to using "load" command to load the autoboot script.

2016-09-07 Thread Tom Rini
On Mon, Aug 29, 2016 at 12:56:06AM -0700, Vagrant Cascadian wrote: > CONFIG_CMD_FS_GENERIC is enabled; use it to load the autoboot script, > rather than first attempting with fatload and falling back to > ext2load. > > Signed-off-by: Vagrant Cascadian > Acked-by: Grazvydas

Re: [U-Boot] TI: Rework SRAM definitions and maximums

2016-09-07 Thread Tom Rini
On Fri, Aug 26, 2016 at 01:30:43PM -0400, Tom Rini wrote: > On all TI platforms the ROM defines a "downloaded image" area at or near > the start of SRAM which is followed by a reserved area. As it is at > best bad form and at worst possibly harmful in corner cases to write in > this reserved

Re: [U-Boot] omap3logic: Fix PBIAS Bug

2016-09-07 Thread Tom Rini
On Fri, Aug 26, 2016 at 07:53:53AM -0500, Adam Ford wrote: > From: Adam Ford > > The PBIAS fixing is done in the MMC driver, and doing it in the > the board file conflicts with the driver causing intermittent > hangs on reboot. Remove this from the board file and let > the

Re: [U-Boot] board/BuR/common: increase NET_RETRY_COUNT to 10

2016-09-07 Thread Tom Rini
On Thu, Aug 25, 2016 at 09:18:56AM +0200, Hannes Schmelzer wrote: > Sometimes boards may need more time to become stable network connection > due to several reasons: > > - phy speed > - link-partner (switch) > > Therefore we increase the retry-count to 10 for making sure that network >

Re: [U-Boot] README: add cmd directory description

2016-09-07 Thread Tom Rini
On Fri, Aug 26, 2016 at 07:54:49PM +0800, Xu Ziyuan wrote: > All of the command files have moved to cmd directory, add description to > Directory Hierarchy. > > Signed-off-by: Ziyuan Xu > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot, 3/3] ARM: AM57xx: Enable post-processing of FIT artifacts loaded by U-Boot

2016-09-07 Thread Tom Rini
On Wed, Aug 24, 2016 at 02:32:18PM -0500, Andrew F. Davis wrote: > From: Andreas Dannenberg > > Enable the platform-specific post-processing of FIT-extracted blobs such > as Kernel, DTB, and initramfs on TI AM57xx high-security (HS) devices > which will ultimately invoke a

Re: [U-Boot] [U-Boot, 2/3] ARM: DRA7xx: Enable post-processing of FIT artifacts loaded by U-Boot

2016-09-07 Thread Tom Rini
On Wed, Aug 24, 2016 at 02:32:17PM -0500, Andrew F. Davis wrote: > From: Andreas Dannenberg > > Enable the platform-specific post-processing of FIT-extracted blobs such > as Kernel, DTB, and initramfs on TI DRA7xx high-security (HS) devices > which will ultimately invoke a

Re: [U-Boot] [U-Boot, 1/3] ARM: AM43xx: Enable post-processing of FIT artifacts loaded by U-Boot

2016-09-07 Thread Tom Rini
On Wed, Aug 24, 2016 at 02:32:16PM -0500, Andrew F. Davis wrote: > From: Andreas Dannenberg > > Enable the platform-specific post-processing of FIT-extracted blobs such > as Kernel, DTB, and initramfs on TI AM43xx high-security (HS) devices > which will ultimately invoke a

Re: [U-Boot] [U-Boot, 4/4] tools: moveconfig: add --spl option to move options for SPL build

2016-09-07 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:18:22PM +0900, Masahiro Yamada wrote: > Prior to this commit, the tool could not move options guarded by > CONFIG_SPL_BUILD ifdef conditionals because they do not show up in > include/autoconf.mk. This new option, if given, makes the tool > parse

Re: [U-Boot] [U-Boot, 3/4] tools: moveconfig: warn loudly if moved option has no entry in Kconfig

2016-09-07 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:18:21PM +0900, Masahiro Yamada wrote: > Currently, the tool gives up moving an option quietly if its entry > was not found in Kconfig. > > If the option is not defined in the config header in the first > place, it is no problem (as the Kconfig entry may have been

Re: [U-Boot] [U-Boot, 1/4] tools: moveconfig: remove document about deprecated error message

2016-09-07 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:18:19PM +0900, Masahiro Yamada wrote: > Since commit cc008299f852 ("tools: moveconfig: do not rely on type > and default value given by users"), we do not have this error case. > > Signed-off-by: Masahiro Yamada > Acked-by: Joe

Re: [U-Boot] [U-Boot, 2/4] tools: moveconfig: use sets instead of lists for failed/suspicious boards

2016-09-07 Thread Tom Rini
On Mon, Aug 22, 2016 at 10:18:20PM +0900, Masahiro Yamada wrote: > The sets feature is handier for adding unique elements. > > Signed-off-by: Masahiro Yamada > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 3/4] pinctrl: add driver for meson-gxbb pin controller

2016-09-07 Thread Tom Rini
On Tue, Aug 16, 2016 at 11:49:49AM +0200, Beniamino Galvani wrote: > Add a pin controller driver for Meson GXBB adapted from Linux kernel. > > Signed-off-by: Beniamino Galvani > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 4/4] meson: odroid-c2: enable Ethernet support through the device tree

2016-09-07 Thread Tom Rini
On Tue, Aug 16, 2016 at 11:49:50AM +0200, Beniamino Galvani wrote: > Remove the device definition from board file, update the driver with > the new compatible property and update config with necessary options. > > Signed-off-by: Beniamino Galvani > Reviewed-by: Simon Glass

Re: [U-Boot] [U-Boot, 3/4] pinctrl: add driver for meson-gxbb pin controller

2016-09-07 Thread Tom Rini
On Tue, Aug 16, 2016 at 11:49:49AM +0200, Beniamino Galvani wrote: > Add a pin controller driver for Meson GXBB adapted from Linux kernel. > > Signed-off-by: Beniamino Galvani > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom

Re: [U-Boot] [U-Boot, 2/4] arm: dts: update DTS files for meson-gxbb and odroid-c2

2016-09-07 Thread Tom Rini
On Tue, Aug 16, 2016 at 11:49:48AM +0200, Beniamino Galvani wrote: > Import DTS files and dt-bindings includes from Linux 4.8-rc1. > > Signed-off-by: Beniamino Galvani > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc

Re: [U-Boot] [U-Boot, 1/4] pinctrl: generic: scan for "pins" and "groups" properties in sub-nodes

2016-09-07 Thread Tom Rini
On Tue, Aug 16, 2016 at 11:49:47AM +0200, Beniamino Galvani wrote: > In cases where the pins and groups definitions are in a sub-node, as: > > uart_a { > mux { > groups = "uart_tx_a", "uart_rx_a"; > function = "uart_a"; >

Re: [U-Boot] configs: am4xhs: Modify SPL load address to fix UART boot issue

2016-09-07 Thread Tom Rini
On Wed, Aug 24, 2016 at 04:41:22PM -0400, Srinivas, Madan wrote: > From: Madan Srinivas > > An issue in the TI secure image generation tool causes the ROM to > load the SPL at a different load address than what is specified by > CONFIG_ISW_ENTRY_ADDR while doing a peripheral boot

Re: [U-Boot] [U-Boot, v4, 2/2] serial: bcm283x_mu: Detect disabled serial device

2016-09-07 Thread Tom Rini
On Mon, Aug 15, 2016 at 05:48:51PM +0200, Alexander Graf wrote: > On the raspberry pi, you can disable the serial port to gain dynamic frequency > scaling which can get handy at times. > > However, in such a configuration the serial controller gets its rx queue > filled > up with zero bytes

Re: [U-Boot] image-fit: fix fit_image_load() OS check

2016-09-07 Thread Tom Rini
On Sun, Aug 14, 2016 at 08:31:24PM +0200, Andreas Bießmann wrote: > Commit 62afc601883e788f3f22291202d5b2a23c1a8b06 introduced fpga image load via > bootm but broke the OS check in fit_image_load(). > > This commit removes following compiler warning: > Applied to u-boot/master, thanks! --

Re: [U-Boot] [U-Boot,1/2] bcm2835_gpio: Implement GPIOF_FUNC

2016-09-07 Thread Tom Rini
On Thu, Aug 11, 2016 at 01:38:31PM +0200, Alexander Graf wrote: > So far we could only tell the gpio framework that a GPIO was mapped as input > or > output, not as alternative function. > > This patch adds support for determining whether a function is mapped as > alternative. > >

[U-Boot] [PATCH 9/9] MIPS: Malta: Enable CM & L2 support

2016-09-07 Thread Paul Burton
Enable support for the MIPS Coherence Manager & L2 caches on the MIPS Malta board, removing the need for us to attempt to bypass the L2 during boot (which would fail with recent CPUs that expose L2 config via the CM anyway). Signed-off-by: Paul Burton ---

Re: [U-Boot] [PULL] Resend: Please pull u-boot-imx

2016-09-07 Thread Tom Rini
On Tue, Sep 06, 2016 at 06:54:52PM +0200, Stefano Babic wrote: > Hi Tom, > > apart of patches that I should put to -next and not in -master, there > was something wrong in my tree. I had to rebase it (sorry for that..) > and I moved all new features into -next. Just bug fixes remain, with the >

[U-Boot] [PATCH 8/9] MIPS: L2 cache support

2016-09-07 Thread Paul Burton
This patch adds support for initialising & maintaining L2 caches on MIPS systems. The L2 cache configuration may be advertised through either coprocessor 0 or the MIPS Coherence Manager depending upon the system, and support for both is included. If the L2 can be bypassed then we bypass it early

[U-Boot] [PATCH 7/9] MIPS: Map CM Global Control Registers

2016-09-07 Thread Paul Burton
Map the Global Control Registers (GCRs) provided by the MIPS Coherence Manager (CM) in preparation for using some of them in later patches. Signed-off-by: Paul Burton --- arch/mips/Kconfig | 16 arch/mips/cpu/Makefile | 2 ++

[U-Boot] [PATCH 6/9] MIPS: Define register names for cache init

2016-09-07 Thread Paul Burton
Define names for registers holding cache sizes throughout mips_cache_reset, in order to make the code easier to read & allow for changing register assignments more easily. Signed-off-by: Paul Burton --- arch/mips/lib/cache_init.S | 42

[U-Boot] [PATCH 5/9] MIPS: If we don't need DDR for cache init, init cache first

2016-09-07 Thread Paul Burton
On systems where cache initialisation doesn't require zeroed memory (ie. systems where CONFIG_SYS_MIPS_CACHE_INIT_RAM_LOAD is not defined) perform cache initialisation prior to lowlevel_init & DDR initialisation. This allows for DDR initialisation code to run cached & thus significantly faster.

[U-Boot] [PATCH 4/9] MIPS: Preserve Config implementation-defined bits

2016-09-07 Thread Paul Burton
The coprocessor 0 Config register includes 9 implementation defined bits, which in some processors do things like enable write combining or other functionality. We ought not to wipe them to 0 during boot. Rather than doing so, preserve their value & only clear the bits standardised by the MIPS

[U-Boot] [PATCH 2/9] MIPS: Probe cache line sizes once during boot

2016-09-07 Thread Paul Burton
Rather than probing the cache line sizes on every call of any cache maintenance function, probe them once during boot & store the values in the global data structure for later use. This will reduce the overhead of the cache maintenance functions, which isn't a big deal yet but becomes more

[U-Boot] [PATCH 3/9] MIPS: Enable use of the instruction cache earlier

2016-09-07 Thread Paul Burton
Enable use of the instruction cache immediately after it has been initialised. This will only take effect if U-Boot was linked to run from kseg0 rather than kseg1, but when this is the case the data cache initialisation code will run cached & thus significantly faster. Signed-off-by: Paul Burton

[U-Boot] [PATCH 1/9] MIPS: Add arch-wide arch_cpu_init

2016-09-07 Thread Paul Burton
Add an implementation of arch_cpu_init that covers all MIPS boards, in preparation for performing various pieces of initialisation there in later patches. In order to allow the ath79 code to continue performing initialisation at this point in the boot, it's converted to use a new mach_cpu_init

[U-Boot] [PATCH 0/9] MIPS L2 cache support

2016-09-07 Thread Paul Burton
This series introduces support for initialising & maintaining L2 caches on MIPS systems. This allows U-Boot to function correctly on systems where such caches are present, whereas without performing L2 maintenance it is likely to fail with cache coherence issues when writing code or performing DMA

Re: [U-Boot] [PATCH 0/4] sunxi: Pine64 fixes

2016-09-07 Thread Andre Przywara
Hi, On 07/09/16 17:12, Tom Rini wrote: > On Wed, Sep 07, 2016 at 04:55:53PM +0100, Andre Przywara wrote: >> Hi, >> >> On 07/09/16 16:48, Hans de Goede wrote: >>> Hi, >>> >>> On 07-09-16 17:18, Andre Przywara wrote: Hi, On 07/09/16 16:13, Hans de Goede wrote: > Hi, > >

[U-Boot] config USB_STORAGE: defconfig vs include header

2016-09-07 Thread Stephen Warren
Masahiro, In patch 6e7e9294d321 "usb: add basic USB configs in Kconfig", you added "config USB_STORAGE" to drivers/usb/Kconfig. However, it's still just #defined by many include/configs/*.h rather than being defined in configs/*_defconfig. Is that a problem? It seems to work in practice, but

Re: [U-Boot] [PATCH 1/2][v2] arch: powerpc: update the IFC IP input clock

2016-09-07 Thread york sun
On 09/07/2016 01:36 AM, Prabhakar Kushwaha wrote: > IFC IP clock is always a constant divisor of platform clock > pre-defined per SoC. Clock control register (CCR) used in > current implementation governs IFC IP output clock. > > So update IFC IP clock to be defined as per predefined clock >

Re: [U-Boot] [PATCH 0/4] sunxi: Pine64 fixes

2016-09-07 Thread Tom Rini
On Wed, Sep 07, 2016 at 04:55:53PM +0100, Andre Przywara wrote: > Hi, > > On 07/09/16 16:48, Hans de Goede wrote: > > Hi, > > > > On 07-09-16 17:18, Andre Przywara wrote: > >> Hi, > >> > >> On 07/09/16 16:13, Hans de Goede wrote: > >>> Hi, > >>> > >>> On 05-09-16 02:32, Andre Przywara wrote: >

Re: [U-Boot] [PATCHv5 4/4] Add support the Avionic Design Meerkat COM and Kein Baseboard

2016-09-07 Thread Stephen Warren
On 09/07/2016 12:08 AM, Julian Scheel wrote: On 06.09.2016 20:58, Stephen Warren wrote: On 09/06/2016 12:14 PM, Julian Scheel wrote: On 06.09.16 19:15, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: Add support for platforms based on the Meerkat COM module. Includes

Re: [U-Boot] [U-Boot-DM] FPGA driver over PCI bus

2016-09-07 Thread Max Ruttenberg
Hi Simon, Are you starting up PCI? For example, with: > > ret = uclass_get_device(UCLASS_PCI, 0, ); > > If you are, then it should scan the bus and find and bind all the > devices, in pci_bind_bus_devices(). You can add DEBUG to the very top > of that file to see. > > But if you know the device

Re: [U-Boot] [PATCHv5 4/4] Add support the Avionic Design Meerkat COM and Kein Baseboard

2016-09-07 Thread Stephen Warren
On 09/07/2016 12:03 AM, Julian Scheel wrote: On 06.09.2016 20:53, Stephen Warren wrote: On 09/05/2016 07:29 AM, Julian Scheel wrote: Add support for platforms based on the Meerkat COM module. Includes support for the minimal reference platform called Kein Baseboard, which in fact is sufficient

Re: [U-Boot] [PATCH 0/4] sunxi: Pine64 fixes

2016-09-07 Thread Andre Przywara
Hi, On 07/09/16 16:48, Hans de Goede wrote: > Hi, > > On 07-09-16 17:18, Andre Przywara wrote: >> Hi, >> >> On 07/09/16 16:13, Hans de Goede wrote: >>> Hi, >>> >>> On 05-09-16 02:32, Andre Przywara wrote: Some patches to fix the Pine64 support: The first two patches revert two patches

Re: [U-Boot] [PATCH 0/4] sunxi: Pine64 fixes

2016-09-07 Thread Hans de Goede
Hi, On 07-09-16 17:18, Andre Przywara wrote: Hi, On 07/09/16 16:13, Hans de Goede wrote: Hi, On 05-09-16 02:32, Andre Przywara wrote: Some patches to fix the Pine64 support: The first two patches revert two patches that actually broke booting Pine64 via the boot0 blob, already in 2016.07.

[U-Boot] [PATCH v2] fsl-ifc-nand : Corrected the programming of chip select

2016-09-07 Thread Matt Weber
Corrected the chip selection in IFC_NAND_CSEL register. Due to this issue in multi-chip nand use-case, IFC was always pointing to the last probed chip even though the user select another device through "nand device " command. Also, remove the usage of ifc_ctrl->cs_nand from driver as chipselect

Re: [U-Boot] [PATCH 06/11] arm: socfpga: misc: Segregate the misc.c for Stratix 10

2016-09-07 Thread Marek Vasut
On 09/07/2016 03:28 PM, Chin Liang See wrote: > On Tue, 2016-09-06 at 14:09 +0200, Marek Vasut wrote: >> On 09/06/2016 08:19 AM, Chin Liang See wrote: >>> On Mon, 2016-09-05 at 18:01 +0200, Marek Vasut wrote: On 08/22/2016 05:02 PM, Chin Liang See wrote: > Segregate the misc.c to support

Re: [U-Boot] [PATCH 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-07 Thread Marek Vasut
On 09/07/2016 03:33 PM, Chin Liang See wrote: > On Tue, 2016-09-06 at 14:15 +0200, Marek Vasut wrote: >> On 09/06/2016 11:18 AM, Chin Liang See wrote: >>> On Mon, 2016-09-05 at 18:06 +0200, Marek Vasut wrote: On 08/22/2016 05:02 PM, Chin Liang See wrote: > Add support for Stratix 10 SoC

Re: [U-Boot] [PATCH 07/11] arm: socfpga: sysmgr: Fix casting warning when enabling ARM64

2016-09-07 Thread Marek Vasut
On 09/07/2016 03:31 PM, Chin Liang See wrote: > On Tue, 2016-09-06 at 14:12 +0200, Marek Vasut wrote: >> On 09/06/2016 11:41 AM, Chin Liang See wrote: >>> On Mon, 2016-09-05 at 18:02 +0200, Marek Vasut wrote: On 08/22/2016 05:02 PM, Chin Liang See wrote: > Fix casting warning to pointer

Re: [U-Boot] [PATCH 04/11] arm: socfpga: clkmgr: Segregate the Clock Manager for Stratix 10

2016-09-07 Thread Marek Vasut
On 09/07/2016 03:26 PM, Chin Liang See wrote: > On Tue, 2016-09-06 at 14:08 +0200, Marek Vasut wrote: >> On 09/06/2016 07:14 AM, Chin Liang See wrote: >>> On Mon, 2016-09-05 at 17:58 +0200, Marek Vasut wrote: On 08/22/2016 05:02 PM, Chin Liang See wrote: > Segregate the Clock Manager to

Re: [U-Boot] [PATCH 0/4] sunxi: Pine64 fixes

2016-09-07 Thread Andre Przywara
Hi, On 07/09/16 16:13, Hans de Goede wrote: > Hi, > > On 05-09-16 02:32, Andre Przywara wrote: >> Some patches to fix the Pine64 support: >> The first two patches revert two patches that actually broke booting >> Pine64 via the boot0 blob, already in 2016.07. >> This has been discussed on IRC

Re: [U-Boot] [PATCH 0/4] sunxi: Pine64 fixes

2016-09-07 Thread Hans de Goede
Hi, On 05-09-16 02:32, Andre Przywara wrote: Some patches to fix the Pine64 support: The first two patches revert two patches that actually broke booting Pine64 via the boot0 blob, already in 2016.07. This has been discussed on IRC before, the commit messages contain some details on the reasons

Re: [U-Boot] [PATCH 21/21] arm: imx: add i.MX6ULL 14x14 EVK board support

2016-09-07 Thread Jagan Teki
On Thu, Aug 11, 2016 at 11:32 AM, Peng Fan wrote: > Add i.MX6ULL EVK board support: > Add device tree file, which is copied from NXP Linux. > Enabled DM_MMC, DM_GPIO, DM_I2C, DM_SPI, PINCTRL, DM_REGULATOR. > The uart iomux settings are still keeped in board file. > > Boot

Re: [U-Boot] [PATCH v2 01/11] arm: socfpga: stratix10: Add SOCFPGA Stratix10 base address

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 09:29 -0500, Dinh Nguyen wrote: > > On 09/06/2016 05:03 AM, Chin Liang See wrote: > > Add base address header file for Stratix10 SoC > > > > Signed-off-by: Chin Liang See > > Cc: Marek Vasut > > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 14:15 +0200, Marek Vasut wrote: > On 09/06/2016 11:18 AM, Chin Liang See wrote: > > On Mon, 2016-09-05 at 18:06 +0200, Marek Vasut wrote: > > > On 08/22/2016 05:02 PM, Chin Liang See wrote: > > > > Add support for Stratix 10 SoC development kit > > > > > > > > Signed-off-by:

Re: [U-Boot] [PATCH v2 09/11] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 09:30 -0500, Dinh Nguyen wrote: > > On 09/06/2016 05:03 AM, Chin Liang See wrote: > > Add board folder for Stratix 10 SoC development kit > > > > Signed-off-by: Chin Liang See > > Cc: Marek Vasut > > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH v2 11/11] arm: socfpga: Add support for Stratix 10 SoC dev kit

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 09:32 -0500, Dinh Nguyen wrote: > > On 09/06/2016 05:03 AM, Chin Liang See wrote: > > Add support for Stratix 10 SoC development kit > > > > Signed-off-by: Chin Liang See > > Cc: Marek Vasut > > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH v2 10/11] arm: dts: socfpga: Add dts for Stratix 10 socdk

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 09:14 -0500, Dinh Nguyen wrote: > > On 09/06/2016 05:03 AM, Chin Liang See wrote: > > Add device tree for Stratix 10 SoC development kit > > > > Signed-off-by: Chin Liang See > > Cc: Marek Vasut > > Cc: Dinh Nguyen

Re: [U-Boot] [PATCH 07/11] arm: socfpga: sysmgr: Fix casting warning when enabling ARM64

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 14:12 +0200, Marek Vasut wrote: > On 09/06/2016 11:41 AM, Chin Liang See wrote: > > On Mon, 2016-09-05 at 18:02 +0200, Marek Vasut wrote: > > > On 08/22/2016 05:02 PM, Chin Liang See wrote: > > > > Fix casting warning to pointer from integer of different size > > > > when

Re: [U-Boot] [PATCH 06/11] arm: socfpga: misc: Segregate the misc.c for Stratix 10

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 14:09 +0200, Marek Vasut wrote: > On 09/06/2016 08:19 AM, Chin Liang See wrote: > > On Mon, 2016-09-05 at 18:01 +0200, Marek Vasut wrote: > > > On 08/22/2016 05:02 PM, Chin Liang See wrote: > > > > Segregate the misc.c to support both GEN5 SoC and Stratix 10 > > > > SoC. > >

Re: [U-Boot] [PATCH 04/11] arm: socfpga: clkmgr: Segregate the Clock Manager for Stratix 10

2016-09-07 Thread Chin Liang See
On Tue, 2016-09-06 at 14:08 +0200, Marek Vasut wrote: > On 09/06/2016 07:14 AM, Chin Liang See wrote: > > On Mon, 2016-09-05 at 17:58 +0200, Marek Vasut wrote: > > > On 08/22/2016 05:02 PM, Chin Liang See wrote: > > > > Segregate the Clock Manager to support both GEN5 SoC and > > > > Stratix 10

[U-Boot] [PATCH 2/3] fastboot: add support for writing MBR

2016-09-07 Thread Petr Kulhavy
Add special target "mbr" (otherwise configurable via CONFIG_FASTBOOT_MBR_NAME) to write MBR partition table. Partitions are now searched using the generic function which finds any partiiton by name. For MBR the partition names hda1, sda1, etc. are used. Signed-off-by: Petr Kulhavy

[U-Boot] [PATCH 0/3] Fastboot MBR and generic partition support

2016-09-07 Thread Petr Kulhavy
This set extends the Fastboot implementation from GPT-only to any partition support. Further it adds a special target "mbr" (configurable) to write the DOS MBR. Petr Kulhavy (3): disk: part: implement generic function part_get_info_by_name() fastboot: add support for writing MBR disk:

[U-Boot] [PATCH 3/3] disk: part: refactor generic name creation for DOS and ISO

2016-09-07 Thread Petr Kulhavy
In both DOS and ISO partition tables the same code to create partition name like "hda1" was repeated. Code moved to into a new function part_set_generic_name() in part.c and optimized. Added recognition of MMC and SD types, name is like "mmcsda1". Signed-off-by: Petr Kulhavy

[U-Boot] [PATCH 1/3] disk: part: implement generic function part_get_info_by_name()

2016-09-07 Thread Petr Kulhavy
So far partition search by name has been supported only on the EFI partition table. This patch extends the search to all partition tables. Rename part_get_info_efi_by_name() to part_get_info_by_name(), move it from part_efi.c into part.c and make it a generic function which traverses all part

  1   2   >