Re: [U-Boot] [RFC PATCH v3 09/11] net: IPv6 documentation

2017-01-28 Thread Chris Packham
On 29/01/2017 8:51 AM, "Tom Rini" wrote: On Wed, Jan 25, 2017 at 10:56:20PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > --- > > Changes in v3: > - Add brief testing section [snip] > +Testing using QEMU > +-- > +Refer to README.x86 for instructions on building u-b

[U-Boot] [PATCH v2] SPL: add support to boot from a partition type

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen the socfpga bootrom supports mmc booting from either a raw image starting at 0x0, or from a partition of type 0xa2. This patch adds support for locating the boot image in the first type 0xa2 partition found. Signed-off-by: Dalon Westergreen --- common/spl/Kconfig | 1

Re: [U-Boot] [PATCH] SPL: add support to boot from a partition type

2017-01-28 Thread Westergreen, Dalon
On Sat, 2017-01-28 at 21:05 -0500, Tom Rini wrote: > On Sun, Jan 29, 2017 at 01:59:17AM +, Westergreen, Dalon wrote: > > > > On Sat, 2017-01-28 at 19:06 -0500, Tom Rini wrote: > > > > > > On Sat, Jan 28, 2017 at 03:20:09PM -0800, Dalon Westergreen wrote: > > > > > > > > > > > > > > > From:

Re: [U-Boot] [PATCH] SPL: add support to boot from a partition type

2017-01-28 Thread Tom Rini
On Sun, Jan 29, 2017 at 01:59:17AM +, Westergreen, Dalon wrote: > On Sat, 2017-01-28 at 19:06 -0500, Tom Rini wrote: > > On Sat, Jan 28, 2017 at 03:20:09PM -0800, Dalon Westergreen wrote: > > > > > > > > From: Dalon Westergreen > > > > > > the socfpga bootrom supports mmc booting from eithe

Re: [U-Boot] [PATCH] SPL: add support to boot from a partition type

2017-01-28 Thread Westergreen, Dalon
On Sat, 2017-01-28 at 19:06 -0500, Tom Rini wrote: > On Sat, Jan 28, 2017 at 03:20:09PM -0800, Dalon Westergreen wrote: > > > > > From: Dalon Westergreen > > > > the socfpga bootrom supports mmc booting from either a raw image > > starting at 0x0, or from a partition of type 0xa2.  This patch >

Re: [U-Boot] [PATCH] SPL: add support to boot from a partition type

2017-01-28 Thread Tom Rini
On Sat, Jan 28, 2017 at 03:20:09PM -0800, Dalon Westergreen wrote: > From: Dalon Westergreen > > the socfpga bootrom supports mmc booting from either a raw image > starting at 0x0, or from a partition of type 0xa2. This patch > adds support for locating the boot image in the first type 0xa2 > p

[U-Boot] [PATCH] SPL: add support to boot from a partition type

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen the socfpga bootrom supports mmc booting from either a raw image starting at 0x0, or from a partition of type 0xa2. This patch adds support for locating the boot image in the first type 0xa2 partition found. Signed-off-by: Dalon Westergreen --- common/spl/Kconfig | 1

[U-Boot] [PATCH v8 6/7] arm: socfpga: Update SoCKit environment

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen Remove the default environment as it is now in a common header. Add the CONFIG_DEFAULT_DEVICE_TREE to the board's defconfig to set the linux devicetree name. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut Acked-by: Dinh Nguyen --- configs/socfpga_sockit_defco

[U-Boot] [PATCH v8 3/7] arm: socfpga: update cyclone5 socdk default environment

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen Remove the default environment as it is now in a common header. Add the CONFIG_DEFAULT_DEVICE_TREE to the board's defconfig to set the linux devicetree name. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut Acked-by: Dinh Nguyen --- configs/socfpga_cyclone5_def

[U-Boot] [PATCH v8 7/7] arm: socfpga: Update sr1500 environment

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen Remove the default environment as it is now in a common header. Add the CONFIG_DEFAULT_DEVICE_TREE to the board's defconfig to set the linux devicetree name. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut Acked-by: Dinh Nguyen --- configs/socfpga_sr1500_defco

[U-Boot] [PATCH v8 5/7] arm: socfpga: Update DE1 environment

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen Remove the default environment as it is now in a common header. Add the CONFIG_DEFAULT_DEVICE_TREE to the board's defconfig to set the linux devicetree name. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut Acked-by: Dinh Nguyen --- configs/socfpga_de1_soc_defc

[U-Boot] [PATCH v8 4/7] arm: socfpga: update arria5 socdk default environment

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen Remove the default environment as it is now in a common header. Add the CONFIG_DEFAULT_DEVICE_TREE to the board's defconfig to set the linux devicetree name. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut Acked-by: Dinh Nguyen --- configs/socfpga_arria5_defco

[U-Boot] [PATCH v8 1/7] arm: socfpga: add env settings to common header

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen Move repeated environment settings for socfpga boards to a common header. The default values for the boot partition and the OS filesystem partition have changed and as as result the default uboot environment for socfpga boards needs updating. Move to using CONFIG_DEFAUL

[U-Boot] [PATCH v8 2/7] arm: socfpga: update de0 nano default environment

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen Remove the default environment as it is now in a common header. Add the CONFIG_DEFAULT_DEVICE_TREE to the board's defconfig to set the linux devicetree name. Signed-off-by: Dalon Westergreen Acked-by: Marek Vasut --- configs/socfpga_de0_nano_soc_defconfig | 3 +-- in

[U-Boot] [PATCH v8 0/7] arm: socfpga: update default u-boot environment

2017-01-28 Thread Dalon Westergreen
From: Dalon Westergreen These patches update the boot and os partition numbers in the default uboot environment for a number of socfpga boards. Per request, common environment configurations have been moved to a shared header.

Re: [U-Boot] [U-Boot, v4, 3/3] defconfig: Add a config for AM335x High Security EVM

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 10:39:20AM -0600, Andrew F. Davis wrote: > Add a new defconfig file for the AM335x High Security EVM. This config > is specific for the case of memory device booting. Memory device booting > is handled separatly from peripheral booting on HS devices as the load > address ch

Re: [U-Boot] [PATCH 0/3] Distroboot support for DE0-nano-SoC board

2017-01-28 Thread Marek Vasut
On 01/28/2017 11:47 PM, Dalon Westergreen wrote: > On Sat, 2017-01-28 at 23:30 +0100, Marek Vasut wrote: >> On 01/28/2017 10:25 PM, Westergreen, Dalon wrote: >>> >>> On Sat, 2017-01-28 at 21:53 +0100, Marek Vasut wrote: On 01/28/2017 09:47 PM, Frank Kunz wrote: > > > This adds

Re: [U-Boot] [U-Boot, v4, 2/3] spl: Remove overwrite of relocated malloc limit

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 10:39:19AM -0600, Andrew F. Davis wrote: > spl_init on some boards is called after stack and heap relocation, on > some platforms spl_relocate_stack_gd is called to handle setting the > limit to its value CONFIG_SPL_STACK_R_MALLOC_SIMPLE_LEN when simple > SPL malloc is enab

Re: [U-Boot] [PATCH 0/3] Distroboot support for DE0-nano-SoC board

2017-01-28 Thread Dalon Westergreen
On Sat, 2017-01-28 at 23:30 +0100, Marek Vasut wrote: > On 01/28/2017 10:25 PM, Westergreen, Dalon wrote: > > > > On Sat, 2017-01-28 at 21:53 +0100, Marek Vasut wrote: > > > > > > On 01/28/2017 09:47 PM, Frank Kunz wrote: > > > > > > > > > > > > This adds common distribution boot environment va

Re: [U-Boot] [U-Boot, v4, 1/3] malloc_simple: Add debug statements to memalign_simple

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 10:39:18AM -0600, Andrew F. Davis wrote: > Add debug statements to memalign_simple to match malloc_simple. > > Signed-off-by: Andrew F. Davis > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot, 5/5] arm: Note vendor-required status of certain MACH_TYPE values

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 08:42:38PM -0500, Tom Rini wrote: > In the cases of some boards, a MACH_TYPE number is used which is either > not registered upstream or worse (for functionality) is re-using the > number of a different (or reference) platform instead. Make sure we > have a comment in thes

Re: [U-Boot] [U-Boot, v2] fs/fat: Fix unaligned __u16 reads for FAT12 access

2017-01-28 Thread Tom Rini
On Thu, Jan 26, 2017 at 08:22:36PM +, Stefan Brüns wrote: > Doing unaligned reads is not supported on all architectures, use > byte sized reads of the little endian buffer. > Rename off16 to off8, as it reflects the buffer offset in byte > granularity (offset is in entry, i.e. 12 bit, granular

Re: [U-Boot] [U-Boot, 3/5] arm: Clean up MACH_TYPE_xxx usage after re-sync of mach-types

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 08:42:36PM -0500, Tom Rini wrote: > With the latest mach-types values we have many instances where we no > longer need to define a value and a few cases where the name (but not > value) have changed slightly. > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks!

Re: [U-Boot] booti: Set images.os.arch

2017-01-28 Thread Tom Rini
On Thu, Jan 26, 2017 at 04:55:44PM -0600, Scott Wood wrote: > Commit ec6617c39741adc6c549 ("armv8: Support loading 32-bit OS in AArch32 > execution state") broke SMP boot by assuming that an image is 32-bit if > the arch field in the spin table != IH_ARCH_DEFAULT (i.e. > IH_ARCH_ARM64), even if th

Re: [U-Boot] [U-Boot, v4, 9/9] ARM: SPI: stm32: add stm32f746 qspi driver

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:30PM +0100, Michael Kurz wrote: > This patch adds support for the QSPI IP found in stm32f7 devices. > > Signed-off-by: Michael Kurz Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 2/5] Revert "arm: Remove unregister MACH_TYPE_xxx uses"

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 08:42:35PM -0500, Tom Rini wrote: > This reverts commit 70b26cd057f42c7126088b49d4285955c8a00eae. > > This is not a strict revert as it is easier to fix > board/atmark-techno/armadillo-800eva/armadillo-800eva.c to now the > correct name (same value) than to revert that cha

Re: [U-Boot] buildman: Update link to the most recent prebuilt ARC toolachin

2017-01-28 Thread Tom Rini
On Thu, Jan 26, 2017 at 05:25:59PM +0300, Alexey Brodkin wrote: > To troubleshoot unexpected bhavior during building and what's more > important during execution it is strongly recommended to use recent > ARC toolchain, and so we're now referring to arc-2016.09 which is the > latest as of today. >

Re: [U-Boot] [U-Boot,4/5] am335x_shc: Drop MACH_TYPE usage

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 08:42:37PM -0500, Tom Rini wrote: > This board is using MACH_TYPE values that were clearly picked during > development and not registered. Remove rather than support. > > Cc: Heiko Schocher > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signatur

Re: [U-Boot] [U-Boot, 1/5] arm: Re-sync with full list of MACH_TYPE_xxx values

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 08:42:34PM -0500, Tom Rini wrote: > This re-syncs us with the official and full list of MACH_TYPE_xxx values > from http://www.armlinux.org.uk/developer/machines/ > > Signed-off-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot, v4, 8/9] ARM: stm32: enable support for smsc phy on stm32f746-disco board

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:29PM +0100, Michael Kurz wrote: > This patch enables support for the smsc phy on the > stm32f746-disco board. > > Signed-off-by: Michael Kurz > Acked-by: Vikas MANOCHA > > Series-changes 3: > - Add Acked-by tag to 'enable support for smsc phy on...' Applied to u-

Re: [U-Boot] [U-Boot, v4, 2/2] board/chiliboard: Add support for chiliBoard

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 09:53:08AM +0100, Marcin Niestroj wrote: > chiliBoard is a development board which uses chiliSOM as its base. > > Hardware specification: > * chiliSOM (TI AM335x, DRAM, NAND) > * Ethernet PHY (id 0) > * USB host (usb1) > * MicroSD slot (mmc0) > > Signed-off-by: Marcin

Re: [U-Boot] [U-Boot, v4, 2/9] ARM: DTS: stm32: add stm32f746-disco device tree files

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:23PM +0100, Michael Kurz wrote: > This patch adds the DTS source files needed for stm32f746-disco board > The files are based on the stm32f429/469 files from current linux > kernel. > > Source for "arch/arm/dts/armv7-m.dtsi": Linux: > "arch/arm/boot/dts/armv7-m.dtsi

Re: [U-Boot] [U-Boot, v4, 6/9] net: stm32: add designware mac glue code for stm32

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:27PM +0100, Michael Kurz wrote: > This patch adds glue code required for enabling the designware > mac on stm32f7 devices. > > Signed-off-by: Michael Kurz > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital s

Re: [U-Boot] [U-Boot,v4,1/2] ARM: am335x: Add support for chiliSOM

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 09:53:07AM +0100, Marcin Niestroj wrote: > chiliSOM is a System On Module (http://http://grinn-global.com/chilisom/). > It can't exists on its own, but will be used as part of other boards. > > Hardware specification: > * TI AM335x processor > * 128M, 256M or 512M DDR3 m

Re: [U-Boot] [U-Boot,v4,7/9] net: phy: add SMSC LAN8742 phy

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:28PM +0100, Michael Kurz wrote: > This patch adds support for SMSC LAN8742 in phylib > > Signed-off-by: Michael Kurz > Acked-by: Joe Hershberger Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, v4, 4/9] ARM: stm32: fix stm32f7 sdram fmc base address

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:25PM +0100, Michael Kurz wrote: > The fmc base address is defined twice, once in fmc.h and once in stm32.h. > Fix wrong definition in stm32.h. > Remove the definiton in fmc.h. > > Signed-off-by: Michael Kurz > Acked-by: Vikas Manocha Applied to u-boot/master, than

Re: [U-Boot] [U-Boot,v4,3/9] ARM: stm32: cleanup stm32f7 files

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:24PM +0100, Michael Kurz wrote: > Cleanup stm32f7 files: > - use BIT macro > - use GENMASK macro > - use rcc struct instead of macro additions > > Add missing stm32f7 register in rcc struct > > Signed-off-by: Michael Kurz > Acked-by: Vikas MANOCHA Applied to u-boo

Re: [U-Boot] [U-Boot, v4, 5/9] ARM: stm32: use clock setup function defined in clock.c

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:26PM +0100, Michael Kurz wrote: > Use the clock setup function defined in clock.c instead of setting the > clock bits directly in the drivers. > Remove register definitions of RCC in rcc.h as these are already > defined in the struct in stm32.h > > Signed-off-by: Mic

Re: [U-Boot] [U-Boot, v4, 1/9] ARM: DTS: stm32: add stm32f746 device tree pin control files

2017-01-28 Thread Tom Rini
On Sun, Jan 22, 2017 at 04:04:22PM +0100, Michael Kurz wrote: > This patch adds pin control definitions for use in device tree files > The definitions are based on the stm32f746 files from current > linux kernel "include/dt-bindings/pinctrl/stm32f746-pinfunc.h". > > Signed-off-by: Michael Kurz >

Re: [U-Boot] [U-Boot, v2, 2/2] arm: omap3: Update cpuinfo for DM3730, DM3725, AM3715, and AM3703

2017-01-28 Thread Tom Rini
On Fri, Jan 20, 2017 at 02:03:52PM +0100, Ladislav Michl wrote: > From: Adam Ford > > The check for OMAP3630/3730 only checks for 800MHz 3630/3730, but > anything else is lumped into 36XX/37XX with an assumed 1GHz speed. > > Based on the DM3730 TRM bit 9 shows the MPU Frequency (800MHz/1GHZ). >

Re: [U-Boot] [U-Boot, 1/2] arm: omap3: Fix cpuinfo frequency spelling

2017-01-28 Thread Tom Rini
On Fri, Jan 20, 2017 at 02:03:15PM +0100, Ladislav Michl wrote: > Frequency is measured in Hz. > > Signed-off-by: Ladislav Michl Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@l

Re: [U-Boot] [U-Boot, v4, 4/4] aspeed: Support for ast2500 Eval Board

2017-01-28 Thread Tom Rini
On Wed, Jan 18, 2017 at 01:44:58PM -0800, max...@google.com wrote: > ast2500 Eval Board device tree and board specific configuration. > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] Revert "armv8: release slave cores from CPU_RELEASE_ADDR"

2017-01-28 Thread Tom Rini
On Fri, Jan 20, 2017 at 06:30:58PM +0900, Masahiro Yamada wrote: > This reverts commit 8c36e99f211104fd7dcbf0669a35a47ce5e154f5. > > There is misunderstanding in commit 8c36e99f2111 ("armv8: release > slave cores from CPU_RELEASE_ADDR"). How to bring the slave cores > into U-Boot proper is platf

Re: [U-Boot] [U-Boot, v2] arm64: spin-table: add more information in Kconfig help

2017-01-28 Thread Tom Rini
On Fri, Jan 20, 2017 at 06:04:43PM +0900, Masahiro Yamada wrote: > This feature seems to be sometimes misunderstood. The intention is: > > [1] Bring the slaves into the U-Boot proper image, not SPL (unless > you have a special reason to do otherwise). > > [2] The operation must be done in a

Re: [U-Boot] [U-Boot, v4, 2/4] aspeed: Add basic ast2500-specific drivers and configuration

2017-01-28 Thread Tom Rini
On Wed, Jan 18, 2017 at 01:44:56PM -0800, max...@google.com wrote: > Clock Driver > > This driver is ast2500-specific and is not compatible with earlier > versions of this chip. The differences are not that big, but they are > in somewhat random places, so making it compatible with ast2400 is not

Re: [U-Boot] [U-Boot, v4, 3/4] aspeed: Board init functions and common configs for ast2500 based boards

2017-01-28 Thread Tom Rini
On Wed, Jan 18, 2017 at 01:44:57PM -0800, max...@google.com wrote: > Add configuration file with parameters that are very likely to be shared by > all ast2500-based boards. > Add ast2500-board.c file with the init code that is very likely to be > shared by all ast2500-based boards. > Reviewed-by:

Re: [U-Boot] [U-Boot, v4, 1/4] aspeed: Add drivers common to all Aspeed SoCs

2017-01-28 Thread Tom Rini
On Wed, Jan 18, 2017 at 01:44:55PM -0800, max...@google.com wrote: > Add support for Watchdog Timer, which is compatible with AST2400 and > AST2500 watchdogs. There is no uclass for Watchdog yet, so the driver > does not follow the driver model. It also uses fixed clock, so no clock > driver is ne

Re: [U-Boot] [PATCH 0/3] Distroboot support for DE0-nano-SoC board

2017-01-28 Thread Marek Vasut
On 01/28/2017 10:25 PM, Westergreen, Dalon wrote: > On Sat, 2017-01-28 at 21:53 +0100, Marek Vasut wrote: >> On 01/28/2017 09:47 PM, Frank Kunz wrote: >>> >>> This adds common distribution boot environment variables for >>> DE0-nanos-SoC board. The current boot procedure is extended to run >>> the

Re: [U-Boot] [RFC PATCH 3/3] spl: add support to booting with ATF

2017-01-28 Thread Tom Rini
On Thu, Jan 26, 2017 at 07:23:40AM -0700, Simon Glass wrote: > +Tom for license comment > > Hi, > > On 6 January 2017 at 00:55, Michal Simek wrote: > > Hi, > > > > On 6.1.2017 08:09, Kever Yang wrote: > >> Hi Michal, > >> > >> Thanks for your comments. > >> > >> On 01/02/2017 11:05 PM, Micha

Re: [U-Boot] [PATCH 0/3] Distroboot support for DE0-nano-SoC board

2017-01-28 Thread Frank Kunz
Am 28.01.2017 um 22:25 schrieb Westergreen, Dalon: > On Sat, 2017-01-28 at 21:53 +0100, Marek Vasut wrote: >> On 01/28/2017 09:47 PM, Frank Kunz wrote: >>> >>> This adds common distribution boot environment variables for >>> DE0-nanos-SoC board. The current boot procedure is extended to run >>> the

Re: [U-Boot] [PATCH 0/3] Distroboot support for DE0-nano-SoC board

2017-01-28 Thread Westergreen, Dalon
On Sat, 2017-01-28 at 21:53 +0100, Marek Vasut wrote: > On 01/28/2017 09:47 PM, Frank Kunz wrote: > > > > This adds common distribution boot environment variables for > > DE0-nanos-SoC board. The current boot procedure is extended to run > > the distribution boot as fallback. > > The SOC ROM loade

Re: [U-Boot] [PATCH 0/3] Distroboot support for DE0-nano-SoC board

2017-01-28 Thread Marek Vasut
On 01/28/2017 09:47 PM, Frank Kunz wrote: > This adds common distribution boot environment variables for > DE0-nanos-SoC board. The current boot procedure is extended to run > the distribution boot as fallback. > The SOC ROM loader scans for the SPL in the special partition 0xa2 (partition > mode)

[U-Boot] [PATCH 1/3] socfpga: Enable abort for DE-nano-SoC SPL uboot load from MMC

2017-01-28 Thread Frank Kunz
This allows the SPL to scan the MMC for a valid uboot image on a second sector location defined by CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR when the default location "CONFIG_SYS_MMCSD_RAW_MODE_U_BOOT_SECTOR + first partition offset" does not contain a valid uboot image. Signed-off-by: Frank Kunz -

[U-Boot] [PATCH 0/3] Distroboot support for DE0-nano-SoC board

2017-01-28 Thread Frank Kunz
This adds common distribution boot environment variables for DE0-nanos-SoC board. The current boot procedure is extended to run the distribution boot as fallback. The SOC ROM loader scans for the SPL in the special partition 0xa2 (partition mode) if this is not found it scans the MMC card sector 0

[U-Boot] [PATCH 2/3] socfpga: Add distoboot support for DE0-nano-SoC

2017-01-28 Thread Frank Kunz
This enables common distroboot support as fall back when the "mmcboot" command fails to load OS image. In fall back case MMC, PXE and DHCP boot are probed. Signed-off-by: Frank Kunz --- :100644 100644 f7e2068782... d58240e751... M include/configs/socfpga_de0_nano_soc.h include/configs/socfpg

[U-Boot] [PATCH 3/3] socfpga: Adapt environment storage for DE0-nano-SoC

2017-01-28 Thread Frank Kunz
Increase environment size and locate storage location on MMC after GPT. Signed-off-by: Frank Kunz --- :100644 100644 d58240e751... 5d0542bd8f... M include/configs/socfpga_de0_nano_soc.h include/configs/socfpga_de0_nano_soc.h | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --

Re: [U-Boot] [RFC PATCH v3 09/11] net: IPv6 documentation

2017-01-28 Thread Luka Kovačič
Sounds good to me. I will start testing soon and I am going to automate it. V sob., 28. jan. 2017 8:51 pop. je oseba Tom Rini napisala: > On Wed, Jan 25, 2017 at 10:56:20PM +1300, Chris Packham wrote: > > Signed-off-by: Chris Packham > > --- > > > > Changes in v3: > > - Add brief testing sectio

Re: [U-Boot] [PATCH 1/3] env: Add generic redundant environment implementation

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 06:53:11PM +1000, Fiach Antaw wrote: > All current environments that implement redundancy use almost > identical implementations. This patch implements the env_nand > implementation as a function in env_common, and updates the > env_export function to export an env_nand-sty

Re: [U-Boot] [PATCH 2/3] env: Switch env_nand, env_mmc and env_ubi to env_import_redund

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 06:53:12PM +1000, Fiach Antaw wrote: > The env_nand, env_mmc and env_ubi implementations all implement > redundancy using an identical serial-number scheme. This commit > migrates them to use the implementation in env_common, which is > functionally identical. > > Signed-o

Re: [U-Boot] [PATCH 3/3] env: Add support for FS environment

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 06:53:13PM +1000, Fiach Antaw wrote: > This patch adds support for fat/ext4-style environments on top of > the FS api, allowing any filesystem to be used to store the u-boot > environment. This implementation also support redundancy in the > form of a secondary environment f

Re: [U-Boot] [RFC PATCH v3 09/11] net: IPv6 documentation

2017-01-28 Thread Tom Rini
On Wed, Jan 25, 2017 at 10:56:20PM +1300, Chris Packham wrote: > Signed-off-by: Chris Packham > --- > > Changes in v3: > - Add brief testing section [snip] > +Testing using QEMU > +-- > +Refer to README.x86 for instructions on building u-boot for QEMU. Add > +the relevant IPv6 con

Re: [U-Boot] [PATCH v3 3/4] api: FreeBSD: flush cache before starting

2017-01-28 Thread Tom Rini
On Thu, Jan 26, 2017 at 05:46:11PM +0100, Emmanuel Vadot wrote: > From: Warner Losh > > FreeBSD loader(8) just loaded code to some random location that may > contain stale icache entries. > FreeBSD Kernel needs the icache and dcache flushed. > Before running either one of them, flush the icache

Re: [U-Boot] [PATCH v5 5/9] disk: convert CONFIG_AMIGA_PARTITION to Kconfig

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:39AM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v5 9/9] disk: convert CONFIG_PARTITION_TYPE_GUID to Kconfig

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:43AM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH] mmc: move CONFIG_GENERIC_MMC to Kconfig

2017-01-28 Thread Tom Rini
On Sat, Jan 28, 2017 at 11:40:49PM +0900, Masahiro Yamada wrote: > Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC. > > Let's create an entry for "config GENERIC_MMC" with "default MMC", > then convert all macro defines in headers to Kconfig. > > I see only two exceptions: > configs/bla

Re: [U-Boot] [PATCH v6 8/9] cmd, disk: convert CONFIG_PARTITION_UUIDS, CMD_PART and CMD_GPT

2017-01-28 Thread Tom Rini
On Sat, Jan 28, 2017 at 08:46:48AM -0500, Tom Rini wrote: > From: Patrick Delaunay > > We convert CONFIG_PARTITION_UUIDS to Kconfig first. But in order to cleanly > update all of the config files we must also update CMD_PART and CMD_GPT to > also > be in Kconfig in order to avoid complex logic

Re: [U-Boot] [PATCH v5 7/9] disk: convert CONFIG_EFI_PARTITION to Kconfig

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:41AM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v5 6/9] kbuild: add include linux/kconfig.h in config.h

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:40AM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Allow to use define CONFIG_IS_ENABLED > in include/config_fallbacks.h > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.as

Re: [U-Boot] [PATCH v5 3/9] disk: convert CONFIG_DOS_PARTITION to Kconfig

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:37AM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v5 4/9] disk: convert CONFIG_ISO_PARTITION to Kconfig

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:38AM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v5 2/9] disk: convert CONFIG_MAC_PARTITION to Kconfig

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:36AM +0100, Patrick Delaunay wrote: > From: Patrick Delaunay > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [PATCH v5 1/9] disk: convert CONFIG_PARTITIONS to Kconfig

2017-01-28 Thread Tom Rini
On Fri, Jan 27, 2017 at 11:00:35AM +0100, Patrick Delaunay wrote: > > Signed-off-by: Patrick Delaunay > Signed-off-by: Patrick Delaunay Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

[U-Boot] [PATCH] mmc: sandbox: rename CONFIG, fix dependency, and use it in Makefile

2017-01-28 Thread Masahiro Yamada
[1] Rename CONFIG_SANDBOX_MMC to CONFIG_MMC_SANDBOX for consistency I want all MMC driver options prefixed with CONFIG_MMC_. [2] Fix dependency Add necessary depends on to avoid compile error. Instead "depends on MMC" is unneeded because this config entry resides inside of "if MMC"

Re: [U-Boot] Config for karo tx28

2017-01-28 Thread Fabio Estevam
On Fri, Jan 27, 2017 at 12:28 PM, Wim Vinckier wrote: > Hi, > > I'm wondering if someone has a configuration laying around for karo tx28. > I've been using the karo version for a while but wanted to switch to the > latest u-boot version. > Or does there exist a way to convert an old manual configu

[U-Boot] [PATCH] mmc: move CONFIG_GENERIC_MMC to Kconfig

2017-01-28 Thread Masahiro Yamada
Now, CONFIG_GENERIC_MMC seems equivalent to CONFIG_MMC. Let's create an entry for "config GENERIC_MMC" with "default MMC", then convert all macro defines in headers to Kconfig. I see only two exceptions: configs/blanche_defconfig configs/sandbox_noblk_defconfig They define CONFIG_GENERIC_MMC

[U-Boot] Config for karo tx28

2017-01-28 Thread Wim Vinckier
Hi, I'm wondering if someone has a configuration laying around for karo tx28. I've been using the karo version for a while but wanted to switch to the latest u-boot version. Or does there exist a way to convert an old manual configuration to a modern .config one? Kind regards, wim. _

Re: [U-Boot] [PATCH v4 2/9] arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support

2017-01-28 Thread Tom Rini
On Sat, Jan 28, 2017 at 01:25:05PM +0100, Stefano Babic wrote: > Hi Jagan, Tom, > > On 27/01/2017 16:55, Jagan Teki wrote: > > n Fri, Jan 27, 2017 at 1:38 PM, Stefano Babic wrote: > >> Hi Jagan, > >> > >> On 27/01/2017 09:54, Jagan Teki wrote: > >>> From: Jagan Teki > >>> > >>> Boot from MMC: >

Re: [U-Boot] [PATCH v4 2/9] arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support

2017-01-28 Thread Michael Nazzareno Trimarchi
Hi On 28 Jan 2017 1:25 p.m., "Stefano Babic" wrote: Hi Jagan, Tom, On 27/01/2017 16:55, Jagan Teki wrote: > n Fri, Jan 27, 2017 at 1:38 PM, Stefano Babic wrote: >> Hi Jagan, >> >> On 27/01/2017 09:54, Jagan Teki wrote: >>> From: Jagan Teki >>> >>> Boot from MMC: >>> - >>> U-Boot

Re: [U-Boot] [PATCH v4 2/9] arm: imx6ul: Add Engicam Is.IoT MX6UL Starter Kit initial support

2017-01-28 Thread Stefano Babic
Hi Jagan, Tom, On 27/01/2017 16:55, Jagan Teki wrote: > n Fri, Jan 27, 2017 at 1:38 PM, Stefano Babic wrote: >> Hi Jagan, >> >> On 27/01/2017 09:54, Jagan Teki wrote: >>> From: Jagan Teki >>> >>> Boot from MMC: >>> - >>> U-Boot SPL 2017.01-rc2-gba3c151-dirty (Jan 02 2017 - 16:59:33)