Re: [U-Boot] [PATCH 2/3] ext4: Fix handling of direntlen in unlink_filename

2016-10-13 Thread Tom Rini
On Sun, Oct 09, 2016 at 08:15:27PM +0200, Stefan Brüns wrote: > The direntlen checks were quite bogus, i.e. the loop termination used > "len + offset == blocksize" (exact match only), and checked for a > direntlen less than 0. The latter can never happen as the len is > unsigned, this has been

Re: [U-Boot] [PATCH 1/3] ext4: cleanup unlink_filename function

2016-10-13 Thread Tom Rini
On Sun, Oct 09, 2016 at 08:15:26PM +0200, Stefan Brüns wrote: > Use the same variable names as in search_dir, to make purpose of variables > more obvious. > > Signed-off-by: Stefan Brüns Reviewed-by: Tom Rini -- Tom signature.asc

Re: [U-Boot] [U-Boot, v6, 01/10] x86: Move table csum into separate file

2016-10-13 Thread Alexander Graf
> We need the checksum function without all the other table functionality > soon, so let's split it out into its own C file. > > Signed-off-by: Alexander Graf > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng Thanks, applied to

Re: [U-Boot] efi_loader: Fix crash on 32-bit systems

2016-10-13 Thread Alexander Graf
> A type mismatch in the efi_allocate_pool boot service flow causes > hazardous memory scribbling on 32-bit systems. > > This is efi_allocate_pool's prototype: > > static efi_status_t EFIAPI efi_allocate_pool(int pool_type, > unsigned long size,

Re: [U-Boot] [U-Boot, v6, 08/10] smbios: Expose in efi_loader as table

2016-10-13 Thread Alexander Graf
> We can pass SMBIOS easily as EFI configuration table to an EFI payload. This > patch adds enablement for that case. > > While at it, we also enable SMBIOS generation for ARM systems, since they > support > EFI_LOADER. > > Signed-off-by: Alexander Graf > Reviewed-by: Bin Meng

[U-Boot] [PATCH 3/3] ARM: sunxi: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

2016-10-13 Thread Masahiro Yamada
ARCH_SUNXI selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT is not used. Signed-off-by: Masahiro Yamada --- include/configs/sun4i.h | 1 - include/configs/sun5i.h | 1 - include/configs/sun6i.h | 1 - include/configs/sun7i.h | 1 - include/configs/sun8i.h |

Re: [U-Boot] [U-Boot, v4, 3/7] efi_loader: Move efi_allocate_pool implementation to efi_memory.c

2016-10-13 Thread Alexander Graf
> We currently handle efi_allocate_pool() in our boot time service > file. In the following patch, pool allocation will receive additional > internal semantics that we should preserve inside efi_memory.c instead. > > As foundation for those changes, split the function into an externally > facing

Re: [U-Boot] [U-Boot,v6,10/10] smbios: Provide serial number

2016-10-13 Thread Alexander Graf
> If the system has a valid "serial#" environment variable set (which boards > that > can find it out programatically set automatically), use that as input for the > serial number and UUID fields in the SMBIOS tables. > > Signed-off-by: Alexander Graf > Reviewed-by: Bin Meng

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

2016-10-13 Thread Keerthy
Simon, On Thursday 13 October 2016 07:54 PM, Simon Glass wrote: Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: Hi Tom, This is mostly syncing up with upstream. I have a few more things to do also (some

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

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 08:38 PM, Simon Glass wrote: Hi Keerthy, On 13 October 2016 at 08:59, Keerthy wrote: Simon, On Thursday 13 October 2016 07:54 PM, Simon Glass wrote: Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: On Tue, Oct 11,

Re: [U-Boot] [PATCH v3 00/29] Kconfig: Move console options to Kconfig

2016-10-13 Thread Tom Rini
On Thu, Oct 13, 2016 at 08:51:09AM -0600, Simon Glass wrote: > Hi Tom, > > On 13 October 2016 at 08:02, Tom Rini wrote: > > On Thu, Sep 29, 2016 at 02:22:59PM -0600, Simon Glass wrote: > > > >> This series moves a number of console-related CONFIG options to Kconfig. > >>

Re: [U-Boot] [U-Boot, v6, 07/10] smbios: Generate type 4 on non-x86 systems

2016-10-13 Thread Alexander Graf
> The type 4 table generation code is very x86 centric today. Refactor things > out into the device model cpu class to allow the tables to get generated for > other architectures as well. > > Signed-off-by: Alexander Graf > Reviewed-by: Simon Glass >

Re: [U-Boot] [U-Boot,v6,06/10] cpu: Add get_vendor callback

2016-10-13 Thread Alexander Graf
> The CPU udevice already has a few callbacks to retreive information > about the currently running CPUs. This patch adds a new get_vendor() > call that returns the vendor of the main CPUs. > > Signed-off-by: Alexander Graf > Reviewed-by: Simon Glass >

Re: [U-Boot] [U-Boot, v3, 7/7] efi_loader: Do not leak memory when unlinking a mapping

2016-10-13 Thread Alexander Graf
> As soon as a mapping is unlinked from the list, there are no further > references to it, so it should be freed. If it not unlinked, > update the start address and length. > > Signed-off-by: Stefan Brüns > Reviewed-by: Alexander Graf Thanks,

Re: [U-Boot] [U-Boot,5/5] efi_loader: Add generic PSCI RTS

2016-10-13 Thread Alexander Graf
> Now that we have generic PSCI reset and shutdown support in place, we can > advertise those as EFI Run Time Services, allowing efi applications and > OSs to reset and shut down systems. > > Signed-off-by: Alexander Graf > Reviewed-by: Simon Glass Thanks,

Re: [U-Boot] [U-Boot, v4, 2/7] efi_loader: Fix memory map size check to avoid out-of-bounds access

2016-10-13 Thread Alexander Graf
> The current efi_get_memory_map() function overwrites the map_size > property before reading its value. That way the sanity check whether our > memory map fits into the given array always succeeds, potentially > overwriting arbitrary payload memory. > > This patch moves the property update write

Re: [U-Boot] [U-Boot, v6, 04/10] smbios: Allow compilation on 64bit systems

2016-10-13 Thread Alexander Graf
> The SMBIOS generation code passes pointers as u32. That causes the compiler > to warn on casts to pointers. This patch moves all address pointers to > uintptr_t instead. > > Technically u32 would be enough for the current SMBIOS2 style tables, but > we may want to extend the code to SMBIOS3 in

Re: [U-Boot] [U-Boot, 4/5] arm: Provide common PSCI based reset handler

2016-10-13 Thread Alexander Graf
> Most armv8 systems have PSCI support enabled in EL3, either through > ARM Trusted Firmware or other firmware. > > On these systems, we do not need to implement system reset manually, > but can instead rely on higher level firmware to deal with it. > > The exclude list seems excessive right

Re: [U-Boot] [U-Boot,v2,3/5] efi_loader: gop: Expose fb when 32bpp

2016-10-13 Thread Alexander Graf
> When we're running in 32bpp mode, expose the frame buffer address > to our payloads so that Linux efifb can pick it up. > > Signed-off-by: Alexander Graf Thanks, applied to ___ U-Boot mailing list U-Boot@lists.denx.de

Re: [U-Boot] [U-Boot, v6, 09/10] efi_loader: Fix efi_install_configuration_table

2016-10-13 Thread Alexander Graf
> So far we were only installing the FDT table and didn't have space > to store any other. Hence nobody realized that our efi table allocation > was broken in that it didn't set the indicator for the number of tables > plus one. > > This patch fixes it, allowing code to allocate new efi tables. >

Re: [U-Boot] [U-Boot, v2, 6/8] x86: efi: Add EFI loader support for x86

2016-10-13 Thread Alexander Graf
> Add the required pieces to support the EFI loader on x86. > > Since U-Boot only builds for 32-bit on x86, only a 32-bit EFI application > is supported. If a 64-bit kernel must be booted, U-Boot supports this > directly using FIT (see doc/uImage.FIT/kernel.its). U-Boot can act as a > payload for

Re: [U-Boot] [U-Boot,3/5] arm: Add PSCI shutdown function

2016-10-13 Thread Alexander Graf
> Using PSCI you can not only reset the system, you can also shut it down! > This patch exposes a function to do exactly that to whatever code wants > to make use of it. > > Signed-off-by: Alexander Graf > Reviewed-by: Simon Glass Thanks, applied to

Re: [U-Boot] [U-Boot, v3, 1/7] efi_loader: Update description of internal efi_mem_carve_out

2016-10-13 Thread Alexander Graf
> In 74c16acce30bb882ad5951829d8dafef8eea564c the return values where > changed, but the description was kept. > > Signed-off-by: Stefan Brüns > Reviewed-by: Alexander Graf Thanks, applied to ___ U-Boot

Re: [U-Boot] [PATCH] pmic: palmas: Accommodate fdt_subnode_offset signature change

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 06:22 PM, Simon Glass wrote: On 13 October 2016 at 05:57, Keerthy wrote: Accommodate fdt_subnode_offset signature change. Signed-off-by: Keerthy --- drivers/power/pmic/palmas.c | 2 +- 1 file changed, 1 insertion(+), 1

Re: [U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-13 Thread C.H. Zhao
From: Chen-Yu Tsai Sent: Thursday, October 13, 2016 5:52 PM To: C.H. Zhao Cc: U-Boot Mailing List; Albert ARIBAUD; z.chen...@gmail.com Subject: Re: [U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12 On Sat, Oct 8, 2016 at 7:08

[U-Boot] [PATCH] mmc: refactor two core functions

2016-10-13 Thread Masahiro Yamada
Drop unneeded variables and assignments. Signed-off-by: Masahiro Yamada --- drivers/mmc/mmc-uclass.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/mmc/mmc-uclass.c b/drivers/mmc/mmc-uclass.c index 425abb1..4e955da

Re: [U-Boot] [U-Boot, v6, 02/10] x86: Move smbios generation into arch independent directory

2016-10-13 Thread Alexander Graf
> We will need the SMBIOS generation function on ARM as well going forward, > so let's move it into a non arch specific location. > > Signed-off-by: Alexander Graf > Reviewed-by: Bin Meng > Reviewed-by: Simon Glass Thanks, applied to

Re: [U-Boot] [U-Boot, v3, 5/7] efi_loader: Readd freed pages to memory pool

2016-10-13 Thread Alexander Graf
> Currently each allocation creates a new mapping. Readding the mapping > as free memory (EFI_CONVENTIONAL_MEMORY) potentially allows to hand out > an existing mapping, thus limiting the number of mapping descriptors in > the memory map. > > Mitigates a problem with current (4.8rc7) linux kernels

Re: [U-Boot] [U-Boot,2/5] arm: Disable HVC PSCI calls by default

2016-10-13 Thread Alexander Graf
> All systems that are running on armv8 are running bare metal with firmware > that implements PSCI running in EL3. That means we don't really need to expose > the hypercall variants of them. > > This patch leaves the code in, but makes the code explicit enough to have the > compiler optimize it

Re: [U-Boot] [PATCH] pmic: lp873x: Accommodate fdt_subnode_offset signature change

2016-10-13 Thread Keerthy
On Thursday 13 October 2016 06:22 PM, Simon Glass wrote: Hi Keerthy, On 13 October 2016 at 05:56, Keerthy wrote: Accommodate fdt_subnode_offset signature change. Signed-off-by: Keerthy --- drivers/power/pmic/lp873x.c | 2 +- 1 file changed, 1

Re: [U-Boot] [PATCH v3 00/29] Kconfig: Move console options to Kconfig

2016-10-13 Thread Simon Glass
Hi Tom, On 13 October 2016 at 08:02, Tom Rini wrote: > On Thu, Sep 29, 2016 at 02:22:59PM -0600, Simon Glass wrote: > >> This series moves a number of console-related CONFIG options to Kconfig. >> Those that are not currently used are removed. >> >> A few unused video drivers

[U-Boot] [PATCH v2] pmic: palmas: Accommodate fdt_for_each_subnode signature change

2016-10-13 Thread Keerthy
Accommodate fdt_for_each_subnode signature change. Signed-off-by: Keerthy Acked-by: Simon Glass --- Changes in v2: * Corrected subject. * Added Simon's Ack. drivers/power/pmic/palmas.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

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

2016-10-13 Thread Tom Rini
On Thu, Oct 13, 2016 at 08:24:22AM -0600, Simon Glass wrote: > Hi Tom, > > On 12 October 2016 at 08:13, Tom Rini wrote: > > > > On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: > > > > > Hi Tom, > > > > > > This is mostly syncing up with upstream. I have a few

Re: [U-Boot] [U-Boot, v3, 6/7] efi_loader: Keep memory mapping sorted when splitting an entry

2016-10-13 Thread Alexander Graf
> The code assumes sorted mappings in descending address order. When > splitting a mapping, insert the new part next to the current mapping. > > Signed-off-by: Stefan Brüns > Reviewed-by: Alexander Graf Thanks, applied to

Re: [U-Boot] [U-Boot,v6,05/10] cpu: Add DMTF id and family fields

2016-10-13 Thread Alexander Graf
> For SMBIOS tables we need to know the CPU family as well as CPU IDs. This > patches allocates some space for them in the cpu device and populates it > on x86. > > Signed-off-by: Alexander Graf > Reviewed-by: Simon Glass > Reviewed-by: Bin Meng

Re: [U-Boot] [U-Boot,v2,3/8] efi: Fix missing EFIAPI specifiers

2016-10-13 Thread Alexander Graf
> These are missing in some functions. Add them to keep things consistent. > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng > Reviewed-by: Alexander Graf Thanks, applied to ___ U-Boot

Re: [U-Boot] [U-Boot,v2,2/8] efi: Use asmlinkage for EFIAPI

2016-10-13 Thread Alexander Graf
> This is required for x86 and is also correct for ARM (since it is empty). > > Signed-off-by: Simon Glass > Reviewed-by: Bin Meng Thanks, applied to ___ U-Boot mailing list U-Boot@lists.denx.de

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

2016-10-13 Thread Simon Glass
Hi Tom, On 13 October 2016 at 08:33, Tom Rini wrote: > On Thu, Oct 13, 2016 at 08:24:22AM -0600, Simon Glass wrote: >> Hi Tom, >> >> On 12 October 2016 at 08:13, Tom Rini wrote: >> > >> > On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: >> >

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

2016-10-13 Thread Simon Glass
Hi Keerthy, On 13 October 2016 at 08:59, Keerthy wrote: > Simon, > > On Thursday 13 October 2016 07:54 PM, Simon Glass wrote: >> >> Hi Tom, >> >> On 12 October 2016 at 08:13, Tom Rini wrote: >>> >>> >>> On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass

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

2016-10-13 Thread Simon Glass
Hi Tom, On 12 October 2016 at 08:13, Tom Rini wrote: > > On Tue, Oct 11, 2016 at 02:29:01PM -0600, Simon Glass wrote: > > > Hi Tom, > > > > This is mostly syncing up with upstream. I have a few more things to do > > also (some small, some large). > > > > > > The following

Re: [U-Boot] [U-Boot, v4, 4/7] efi_loader: Track size of pool allocations to allow freeing

2016-10-13 Thread Alexander Graf
> We need a functional free_pool implementation, as otherwise each > allocate_pool causes growth of the memory descriptor table. > > Different to free_pages, free_pool does not provide the size for the > to be freed allocation, thus we have to track the size ourselves. > > As the only EFI

Re: [U-Boot] [U-Boot, v6, 03/10] efi_loader: Expose efi_install_configuration_table

2016-10-13 Thread Alexander Graf
> We want to be able to add configuration table entries from our own code as > well as from EFI payload code. Export the boot service function internally > too, so that we can reuse it. > > Signed-off-by: Alexander Graf > Reviewed-by: Simon Glass Thanks,

Re: [U-Boot] [U-Boot, 1/5] efi_loader: Allow boards to implement get_time and reset_system

2016-10-13 Thread Alexander Graf
> EFI allows an OS to leverage firmware drivers while the OS is running. In the > generic code we so far had to stub those implementations out, because we would > need board specific knowledge about MMIO setups for it. > > However, boards can easily implement those themselves. This patch provides

Re: [U-Boot] efi_loader: Allow bouncing for network

2016-10-13 Thread Alexander Graf
> So far bounce buffers were only used for disk I/O, but network I/O > may suffer from the same problem. > > On platforms that have problems doing DMA on high addresses, let's > also bounce outgoing network packets. Incoming ones always already > get bounced. > > This patch fixes EFI PXE boot on

[U-Boot] [PATCH 2/3] ARM: zynq(mp): remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

2016-10-13 Thread Masahiro Yamada
ARCH_ZYNQ(MP) selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT is not used. Signed-off-by: Masahiro Yamada --- include/configs/xilinx_zynqmp.h | 1 - include/configs/zynq-common.h | 1 - 2 files changed, 2 deletions(-) diff --git

[U-Boot] [PATCH 1/3] ARM: uniphier: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

2016-10-13 Thread Masahiro Yamada
ARCH_UNIPHIER selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT is not used. Signed-off-by: Masahiro Yamada --- include/configs/uniphier.h | 1 - 1 file changed, 1 deletion(-) diff --git a/include/configs/uniphier.h b/include/configs/uniphier.h index

Re: [U-Boot] [U-Boot,17/27] sandbox: Use asm-generic/io.h

2016-10-13 Thread Tom Rini
On Sat, Oct 01, 2016 at 03:19:20PM +0100, Paul Burton wrote: > Convert the sandbox architecture to make use of the new asm-generic/io.h > to provide address mapping functions. As sandbox actually performs > non-identity mapping between physical & virtual addresses we can't > simply make use of

Re: [U-Boot] phy: atheros: add support for RGMII_ID, RGMII_TXID and RGMII_RXID

2016-10-13 Thread Joe Hershberger
Hi Andrea, https://patchwork.ozlabs.org/patch/626776/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] driver: net: cpsw: add support for RGMII id mode support and RMII clock source selection

2016-10-13 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/681802/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] include: configs: am335x: add Atheros phy support

2016-10-13 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/681803/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] board: am335x-icev2: add ethernet phy mode detection logic

2016-10-13 Thread Joe Hershberger
Hi Roger, https://patchwork.ozlabs.org/patch/662258/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] Pull request: u-boot-net.git master

2016-10-13 Thread Joe Hershberger
Hi Tom, The following changes since commit 5ebd27d860ec0c6e36f1b0f973653fe66a7360be: Merge branch 'master' of git://git.denx.de/u-boot-x86 (2016-10-12 13:59:26 -0400) are available in the git repository at: git://git.denx.de/u-boot-net.git master for you to fetch changes up to

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

2016-10-13 Thread Tom Rini
On Tue, Oct 11, 2016 at 11:36:40AM -0600, Simon Glass wrote: > Hi Tom, > > This includes lp873x PMIC support, moving patman to work with Python 3 > (mostly), buildman improvements, cros_ec flashinfo support and sandbox > filesystem test fixes. It also includes the MMC patches I've been > holding

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

2016-10-13 Thread Tom Rini
On Tue, Oct 11, 2016 at 08:37:56AM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you these patches on u-boot/master? > > The following changes since commit f5fd45ff64e28a73499548358e3d1ceda0de7daf: > > Merge branch 'master' of git://www.denx.de/git/u-boot-imx (2016-10-08 > 09:33:37

Re: [U-Boot] test: add NFS download test

2016-10-13 Thread Joe Hershberger
Hi Guillaume, https://patchwork.ozlabs.org/patch/669800/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] rtl8169: fix cache misalignment message on transmit.

2016-10-13 Thread Joe Hershberger
Hi Peter, https://patchwork.ozlabs.org/patch/669676/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: mv88e61xx: Add support for fixed links

2016-10-13 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/662993/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: smsc95xx: fix DM MAC address reading

2016-10-13 Thread Joe Hershberger
Hi Stephen, https://patchwork.ozlabs.org/patch/670537/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] drivers: net: phy: atheros: add separate config for AR8031

2016-10-13 Thread Joe Hershberger
Hi Mugunthan, https://patchwork.ozlabs.org/patch/681801/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH] power: twl6030: fix code refactoring

2016-10-13 Thread Tom Rini
On Thu, Oct 13, 2016 at 01:47:53PM +0300, Nicolae Rosia wrote: > From: Nicolae Rosia > > Commit a85362fb3e1fc7833723accddbbae431091d06b8 refactored the code > but the register read ended up in the wrong if branch. > Currently, the else branch checks a variable which is

Re: [U-Boot] board: am335x: Always set eth/eth1addr environment variable

2016-10-13 Thread Joe Hershberger
Hi Roger, https://patchwork.ozlabs.org/patch/662259/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: mvneta: fix typo in comment

2016-10-13 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/663514/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: write enetaddr down to hardware on env_callback

2016-10-13 Thread Joe Hershberger
Hi Hannes, https://patchwork.ozlabs.org/patch/665202/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: Fix cache misalignment message after network load operations

2016-10-13 Thread Joe Hershberger
Hi Peter, https://patchwork.ozlabs.org/patch/669691/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] net: Add support for mv88e609x switches

2016-10-13 Thread Joe Hershberger
Hi Chris, https://patchwork.ozlabs.org/patch/662992/ was applied to u-boot-net.git. Thanks! -Joe ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] NFS and timeouts?

2016-10-13 Thread Tom Rini
Hey all, I've noticed now, but not dug into a problem that goes like this. On every platform that I have tried NFS on now (and I wasn't a user before the test came in) I see: # nfs 8000 /tftpboot/1MiBtest.bin link up on port 0, speed 1000, full duplex

Re: [U-Boot] Pull request: u-boot-net.git master

2016-10-13 Thread Tom Rini
On Thu, Oct 13, 2016 at 12:34:54PM -0500, Joe Hershberger wrote: > Hi Tom, > > The following changes since commit 5ebd27d860ec0c6e36f1b0f973653fe66a7360be: > > Merge branch 'master' of git://git.denx.de/u-boot-x86 (2016-10-12 13:59:26 > -0400) > > are available in the git repository at: >

Re: [U-Boot] [PATCH] cmd/nand.c: Remove unnecessarily repeated step

2016-10-13 Thread Benoît Thébaudeau
Dear Ahmed Samir Khalil, On Mon, Oct 10, 2016 at 6:44 AM, Ahmed Samir Khalil wrote: > Getting the current NAND device is already done once as part > of nand command. Therefore, repeating this step as part of > the sub-commands is unnecessary. > > Signed-off-by: Ahmed

Re: [U-Boot] [PATCH v2] pmic: palmas: Accommodate fdt_for_each_subnode signature change

2016-10-13 Thread Simon Glass
On 13 October 2016 at 09:02, Keerthy wrote: > > Accommodate fdt_for_each_subnode signature change. > > Signed-off-by: Keerthy > Acked-by: Simon Glass > --- > > Changes in v2: > > * Corrected subject. > * Added Simon's Ack. > >

Re: [U-Boot] NFS and timeouts?

2016-10-13 Thread Simon Glass
Hi Tom, On 13 October 2016 at 13:11, Tom Rini wrote: > Hey all, > > I've noticed now, but not dug into a problem that goes like this. On > every platform that I have tried NFS on now (and I wasn't a user before > the test came in) I see: > # nfs 8000

Re: [U-Boot] [PATCH v5] ARM: sun71: dts: add support for Bananapi BPI-R1

2016-10-13 Thread Stephen Arnold
Okay, rebased on u-boot master again and updated the config for i2c/spl. I have an RFC patch for u-boot and an updated kernel dts to test; I also brought in the (small) sun7i-a20.dtsi patch to add the standard A20 i2c4 pins_a which is the only i2c brought out on the Pi header (goes with pin fix

Re: [U-Boot] [PATCH 2/2] net: add driver for Synopsys Ethernet QoS device

2016-10-13 Thread Stephen Warren
On 10/11/2016 04:48 PM, Joe Hershberger wrote: On Tue, Oct 4, 2016 at 12:13 AM, Stephen Warren wrote: On 09/23/2016 03:49 PM, Joe Hershberger wrote: Hi Stephen, Thanks for sending this! I have some comments below. Cheers, -Joe On Mon, Sep 12, 2016 at 12:48 PM,

Re: [U-Boot] NFS and timeouts?

2016-10-13 Thread Tom Rini
On Thu, Oct 13, 2016 at 04:52:14PM -0600, Simon Glass wrote: > Hi Tom, > > On 13 October 2016 at 13:11, Tom Rini wrote: > > Hey all, > > > > I've noticed now, but not dug into a problem that goes like this. On > > every platform that I have tried NFS on now (and I wasn't a

[U-Boot] Please pull u-boot-fdt (take 2)

2016-10-13 Thread Simon Glass
Hi Tom, Here is a second attempt with this patch pulled in: http://patchwork.ozlabs.org/patch/681814/ The following changes since commit c69f6d04ec66433f2360490a5cd0263c83aab18f: Merge branch 'master' of http://git.denx.de/u-boot-mmc (2016-10-13 08:13:56 -0400) are available in the git

Re: [U-Boot] NFS and timeouts?

2016-10-13 Thread Joe Hershberger
On Fri, Oct 14, 2016 at 12:52 AM, Simon Glass wrote: > Hi Tom, > > On 13 October 2016 at 13:11, Tom Rini wrote: >> Hey all, >> >> I've noticed now, but not dug into a problem that goes like this. On >> every platform that I have tried NFS on now (and I

Re: [U-Boot] [PATCH V2 2/2] net: add driver for Synopsys Ethernet QoS device

2016-10-13 Thread Stephen Warren
On 10/11/2016 05:41 PM, Joe Hershberger wrote: On Tue, Oct 4, 2016 at 12:45 AM, Stephen Warren wrote: From: Stephen Warren This driver supports the Synopsys Designware Ethernet QoS (Quality of Service) a/k/a eqos IP block, which is a different

Re: [U-Boot] [PATCH 1/3] ARM: uniphier: remove unneeded CONFIG_USB_MAX_CONTROLLER_COUNT defines

2016-10-13 Thread Simon Glass
On 13 October 2016 at 09:39, Masahiro Yamada wrote: > ARCH_UNIPHIER selects DM_USB, where CONFIG_USB_MAX_CONTROLLER_COUNT > is not used. > > Signed-off-by: Masahiro Yamada > --- > > include/configs/uniphier.h | 1 - > 1 file changed,

Re: [U-Boot] [PATCH v3 01/10] binman: Introduce binman, a tool for building binary images

2016-10-13 Thread Simon Glass
Hi Masahiro, On 4 October 2016 at 22:08, Masahiro Yamada wrote: > Hi Simon, > > > 2016-10-05 9:25 GMT+09:00 Simon Glass : > >> + >> +Image description format >> + >> + >> +The binman node is called 'binman'. An example

Re: [U-Boot] [PATCH 2/2] net: add driver for Synopsys Ethernet QoS device

2016-10-13 Thread Joe Hershberger
On Fri, Oct 14, 2016 at 1:35 AM, Stephen Warren wrote: > On 10/11/2016 04:48 PM, Joe Hershberger wrote: >> >> On Tue, Oct 4, 2016 at 12:13 AM, Stephen Warren >> wrote: >>> >>> On 09/23/2016 03:49 PM, Joe Hershberger wrote: Hi Stephen,

[U-Boot] [PATCH 3/3] board: ti: amx3xx: Remove multiple EEPROM reads

2016-10-13 Thread Lokesh Vutla
Detect the board very early and avoid reading eeprom multiple times. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/am33xx/board.c| 3 +++ arch/arm/include/asm/arch-am33xx/sys_proto.h | 1 + board/ti/am335x/board.c | 32

[U-Boot] [PATCH 0/3] ARM: AMx3xx: Minor cleanup in early init code

2016-10-13 Thread Lokesh Vutla
This series does a minor cleanup for early initialization code on AM33xx and AM43xx based platforms. Logs: AM437x-GP EVM: http://pastebin.ubuntu.com/23321700/ BBB: http://pastebin.ubuntu.com/23321698/ Lokesh Vutla (3): ARM: AMx3xx: Allow arch specific code to use early DM ARM: AMx3xx:

[U-Boot] [PATCH 1/3] ARM: AMx3xx: Allow arch specific code to use early DM

2016-10-13 Thread Lokesh Vutla
Early system initialization is being done before initf_dm is being called in U-Boot. Then system will fail to boot if any of the DM enabled driver is being called in this system initialization code. So, rearrange the code a bit so that DM enabled drivers can be called during early system

[U-Boot] [PATCH 2/3] ARM: AMx3xx: Centralize early clock initialization

2016-10-13 Thread Lokesh Vutla
This is similar to Commit 93e6253d11030 ("ARM: OMAP4/5: Centralize early clock initialization") that was done for OMAP4+, reflecting the same for AM33xx and AM43xx SoCs to centralize clock initialization. Signed-off-by: Lokesh Vutla --- arch/arm/cpu/armv7/am33xx/board.c

Re: [U-Boot] [U-Boot, v6, 07/10] smbios: Generate type 4 on non-x86 systems

2016-10-13 Thread Alexander Graf
> Am 14.10.2016 um 03:50 schrieb Bin Meng : > > On Thu, Oct 13, 2016 at 10:35 PM, Alexander Graf wrote: >>> The type 4 table generation code is very x86 centric today. Refactor things >>> out into the device model cpu class to allow the tables to get

Re: [U-Boot] [U-Boot, v6, 07/10] smbios: Generate type 4 on non-x86 systems

2016-10-13 Thread Bin Meng
On Fri, Oct 14, 2016 at 1:13 PM, Alexander Graf wrote: > > >> Am 14.10.2016 um 03:50 schrieb Bin Meng : >> >> On Thu, Oct 13, 2016 at 10:35 PM, Alexander Graf wrote: The type 4 table generation code is very x86 centric today. Refactor things

Re: [U-Boot] [PATCH 2/2] spi: ti_qspi: Fix baudrate divider calculation

2016-10-13 Thread Vignesh R
Hi, On Thursday 13 October 2016 05:41 PM, Jagan Teki wrote: > On Wed, Oct 12, 2016 at 9:46 AM, Vignesh R wrote: >> Fix the divider calculation logic to choose a value so that the >> resulting baudrate is either equal to or closest possible baudrate less >> than the requested

[U-Boot] [PATCH] usb: ehci-vf: use ehci_deregister() for .remove callback

2016-10-13 Thread Masahiro Yamada
This driver was recently converted to Driver Model, so missed the subsystem-wide cleanups by commit 405273427366 ("usb: replace ehci_*_remove() with usb_deregister()"). Signed-off-by: Masahiro Yamada --- drivers/usb/host/ehci-vf.c | 13 + 1 file

[U-Boot] [PATCH] usb: xhci-mvebu: use xhci_deregister() for .remove callback

2016-10-13 Thread Masahiro Yamada
No need to use a wrapper that is equivalent to xhci_deregister(). Signed-off-by: Masahiro Yamada --- drivers/usb/host/xhci-mvebu.c | 7 +-- 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/usb/host/xhci-mvebu.c

Re: [U-Boot] [U-Boot, v6, 07/10] smbios: Generate type 4 on non-x86 systems

2016-10-13 Thread Bin Meng
On Thu, Oct 13, 2016 at 10:35 PM, Alexander Graf wrote: >> The type 4 table generation code is very x86 centric today. Refactor things >> out into the device model cpu class to allow the tables to get generated for >> other architectures as well. >> >> Signed-off-by: Alexander Graf

[U-Boot] Booting from MMC, other partition

2016-10-13 Thread Robert Ianovich
I have a iMX233 with SD as storage and I need to have first partition fat32, otherways windows will not open the SD card at all. Customer needs to get/save some data from windows. So what I did is wrote U-Boot on 2'nd and rootfs on 3'rd. Command (m for help): p Disk /dev/sdb: 7,4 GiB, 7969177600

Re: [U-Boot] [PATCH] ARM: dts: am437x-idk: Fix QSPI compatible string

2016-10-13 Thread Jagan Teki
On Thu, Oct 13, 2016 at 6:24 PM, Tom Rini wrote: > On Thu, Oct 13, 2016 at 05:45:52PM +0530, Jagan Teki wrote: >> On Thu, Oct 13, 2016 at 3:53 PM, Vignesh R wrote: >> > Unlike Linux kernel, U-Boot depends on "spi-flash" compatible to probe >> > m25p80 spi-nor

Re: [U-Boot] [PATCH] arm: psci: save and restore registers from r4 to r12

2016-10-13 Thread Chenhui Zhao
On Thu, Oct 13, 2016 at 5:52 PM, Chen-Yu Tsai wrote: > On Sat, Oct 8, 2016 at 7:08 PM, Chenhui Zhao wrote: >> Save and restore core registers from r4 to r12 so that PSCI code won't >> break their value. >> >> Signed-off-by: Chenhui Zhao

[U-Boot] [PATCH] spi: kirkwood_spi: implement mvebu_spi_set_mode()

2016-10-13 Thread Chris Packham
Set the appropriate bits in the interface config register based on the SPI_ mode flags. Signed-off-by: Chris Packham --- arch/arm/include/asm/arch-mvebu/spi.h | 4 drivers/spi/kirkwood_spi.c| 13 + 2 files changed, 17 insertions(+) diff

[U-Boot] [PATCH v3 00/12] Add support for Stratix 10 SoC

2016-10-13 Thread Chin Liang See
Add support for Stratix 10 SoC which is ARM64 based. This series of patches are tested with Stratix 10 SOC Virtual Platform that is available today. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan

[U-Boot] MMC driver questions

2016-10-13 Thread Aaron Williams
Hi all, I'm working on a eMMC/SD driver for our Thunder ARMv8 SoCs by porting the MIPS driver I wrote earlier but I'm running into some issues and have some comments. First of all, our SoC performs a number of high-level operations in hardware which are not supported by the U-Boot model.

[U-Boot] [PATCH v3 10/12] arm: dts: socfpga: Add dts for Stratix 10 socdk

2016-10-13 Thread Chin Liang See
Add device tree for Stratix 10 SoC development kit Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Cc: Tien Fong Chee Acked-by: Marek Vasut ---

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

2016-10-13 Thread Chin Liang See
Add support for Stratix 10 SoC development kit Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Cc: Tien Fong Chee --- arch/arm/Kconfig

[U-Boot] [PATCH v3 11/12] arm: socfpga: Add SPL support for Stratix 10 SoC

2016-10-13 Thread Chin Liang See
Add SPL support for Stratix 10 SoC development kit Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Cc: Tien Fong Chee --- arch/arm/mach-socfpga/Makefile | 13

[U-Boot] [PATCH v3 06/12] arm: socfpga: misc: Separate the misc.c for Stratix 10

2016-10-13 Thread Chin Liang See
Separate the misc.c to support both GEN5 SoC and Stratix 10 SoC. Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Cc: Tien Fong Chee ---

[U-Boot] [PATCH v3 09/12] arm: socfpga: stratix10: Add board directory for Stratix 10 socdk

2016-10-13 Thread Chin Liang See
Add board folder for Stratix 10 SoC development kit Signed-off-by: Chin Liang See Cc: Marek Vasut Cc: Dinh Nguyen Cc: Ley Foon Tan Cc: Tien Fong Chee ---

  1   2   >