[U-Boot] [PATCH v2 0/5] Add Basic support for RK818

2017-05-01 Thread Jacob Chen
The RK818 chip is a power management IC for multimedia and handheld devices. It contains the following components: - Regulators - RTC - Clkout - battery support This series patch just give it a basic support, to make rk818 board work. Changes in v2: - remove input current selection in probe, i

[U-Boot] [PATCH v2 1/5] power: pmic: append rk818 regs to rk808

2017-05-01 Thread Jacob Chen
Both RK808 and RK818 chips are using a similar register map, so we can reuse them. I have also add reg prefix to exist registers, to keep them same style. Signed-off-by: Jacob Chen Reviewed-by: Simon Glass --- Changes in v2: None drivers/power/regulator/rk808.c | 18 ++--- include/power/rk8

[U-Boot] [PATCH v2 2/5] power: pmic: rk808: add RK818 support

2017-05-01 Thread Jacob Chen
The RK818 chip is a Power Management IC (PMIC) for multimedia and handheld devices. For boards use rk818, the input current should be set in the early stage, before ddr initialization. Signed-off-by: Jacob Chen --- Changes in v2: - remove input current selection in probe, it should be configure

[U-Boot] [PATCH v2 4/5] power: regulator: rk808: add rk818 support

2017-05-01 Thread Jacob Chen
Add support for the rk818 regulator. The regulator module consists of 4 DCDCs, 9 LDOs, 1 switch and 1 BOOST converter which is used to power OTG and HDMI5V. Signed-off-by: Jacob Chen Reviewed-by: Simon Glass --- Changes in v2: None drivers/power/regulator/rk808.c | 55 ++

Re: [U-Boot] [PATCH v4 11/11] sun5i: boot in non-secure mode by default

2017-05-01 Thread Antoine Tenart
Hi Maxime, On Mon, May 01, 2017 at 11:14:22PM +0200, Maxime Ripard wrote: > On Sun, Apr 30, 2017 at 03:29:56PM +0200, Antoine Tenart wrote: > > sun5i now implements the psci suspend function. In order to be used by > > the kernel, we should now boot in non-secure mode. Enable it by default. > > >

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Sjoerd Simons
On Tue, 2017-05-02 at 08:42 +0200, Tomeu Vizoso wrote: > On 2 May 2017 at 08:40, Tomeu Vizoso wrote: > > On 2 May 2017 at 03:19, Matthew Gorski > > wrote: > > > Seems if you change the FIT description from anything but > > > > > > "description = "Chrome OS kernel image with one or more FDT > > >

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Antoine Tenart
Hi Stephen, On Mon, May 01, 2017 at 09:34:43AM -0600, Stephen Warren wrote: > > Antoine Tenart wrote at Sunday, April 30, 2017 6:30 AM: > > > > > > Select the newly introduced ARM_GIC option to the relevant configuration > > > which also have a psci implementation. > > It's true that all Tegra h

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Tomeu Vizoso
On 2 May 2017 at 08:40, Tomeu Vizoso wrote: > On 2 May 2017 at 03:19, Matthew Gorski wrote: >> Seems if you change the FIT description from anything but >> >> "description = "Chrome OS kernel image with one or more FDT blobs";" >> >> the kernel wont load. So this issue has to be in the kernel-big

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Tomeu Vizoso
On 2 May 2017 at 03:19, Matthew Gorski wrote: > Seems if you change the FIT description from anything but > > "description = "Chrome OS kernel image with one or more FDT blobs";" > > the kernel wont load. So this issue has to be in the kernel-big.its >

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Antoine Tenart
On Tue, May 02, 2017 at 08:39:03AM +0200, Antoine Tenart wrote: > Hi Stephen, Of course I meant Tom... Sorry for that. Antoine > On Mon, May 01, 2017 at 03:12:30PM +, Tom Warren wrote: > > Antoine - what testing did you do? > > I tested using CPU idle with a mainline kernel on both the CHI

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Antoine Tenart
Hi Stephen, On Mon, May 01, 2017 at 03:12:30PM +, Tom Warren wrote: > Antoine - what testing did you do? I tested using CPU idle with a mainline kernel on both the CHIP and an A20 board (both have an Allwinner SoC). I also measured the overall power consumption using the ACME cape from BayLib

[U-Boot] Antwort: [PATCH] video: bmp: rename CONFIG_BMP_24BMP to CONFIG_BMP_24BPP

2017-05-01 Thread Hannes Schmelzer
Philipp Tomsich schrieb am 28.04.2017 17:13:49: > > Due to a typo, the 24 bit-per-pixel configuration ends in 24BMP > instead of 24BPP. This change renames it throughout the source tree > for consistency and to make moving these options into Kconfig easier > and less error-prone. > > Signed-off

[U-Boot] [PATCH 1/1] tools: conditionally disable python libfdt wrapper

2017-05-01 Thread Matt Weber
Not all host systems want the default swig to be used when building the tools. Allow for the disabling of the wrapper to enable cross-compiling of the tools on a host system with swig. Signed-off-by: Matthew Weber --- I'm open for suggestions on what updates to make to enable the wrapper buildi

Re: [U-Boot] fdt: Move fdt_fixup_ethernet to a common place

2017-05-01 Thread Chen-Yu Tsai
On Mon, May 1, 2017 at 11:32 PM, Tom Rini wrote: > On Fri, Apr 28, 2017 at 08:51:44AM -0400, Tom Rini wrote: > >> With 3f66149d9fb4 we no longer have a common call fdt_fixup_ethernet. >> This was fine to do on PowerPC as they largely had calls already in >> ft_cpu_fixup. On ARM however we largely

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
Seems if you change the FIT description from anything but "description = "Chrome OS kernel image with one or more FDT blobs";" the kernel wont load. So this issue has to be in the kernel-big.its

[U-Boot] [ANN] U-Boot v2017.05-rc3 released

2017-05-01 Thread Tom Rini
Hey all, It's release day and v2017.05-rc3 is out. Most of the changes from -rc2 to -rc3 are Kconfig migrations, and I'm happy with that. I also re-synced the defconfig files and CONFIG symbol whitelist. If anyone has critical fixes I've missed, or some other Kconfig changes (that I can prove o

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
On Mon, May 1, 2017 at 7:34 PM, Simon Glass wrote: > Hi Matthew, > > On 1 May 2017 at 17:27, Matthew Gorski wrote: > > > > > > On Mon, May 1, 2017 at 6:02 PM, Simon Glass wrote: > >> > >> Hi Matthew, > >> > >> On 1 May 2017 at 14:30, Matthew Gorski wrote: > >> > > >> > > >> > On Mon, May 1, 20

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Simon Glass
Hi Matthew, On 1 May 2017 at 17:27, Matthew Gorski wrote: > > > On Mon, May 1, 2017 at 6:02 PM, Simon Glass wrote: >> >> Hi Matthew, >> >> On 1 May 2017 at 14:30, Matthew Gorski wrote: >> > >> > >> > On Mon, May 1, 2017 at 2:36 PM, Simon Glass wrote: >> >> >> >> Hi Matthew, >> >> >> >> On 1 Ma

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
On Mon, May 1, 2017 at 6:02 PM, Simon Glass wrote: > Hi Matthew, > > On 1 May 2017 at 14:30, Matthew Gorski wrote: > > > > > > On Mon, May 1, 2017 at 2:36 PM, Simon Glass wrote: > >> > >> Hi Matthew, > >> > >> On 1 May 2017 at 11:26, Matthew Gorski wrote: > >> > > >> > > >> > > >> > On Mon, Ma

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
First off THANK YOU Simon for all the help and time. I am making progress now. I found this here: https://lists.denx.de/pipermail/u-boot/2017- February/281572.html I adjusted my FIT its and now the display flashes like its entering u-boot but immediately reboots into chromeos usb recovery. I us

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Simon Glass
Hi Matthew, On 1 May 2017 at 14:30, Matthew Gorski wrote: > > > On Mon, May 1, 2017 at 2:36 PM, Simon Glass wrote: >> >> Hi Matthew, >> >> On 1 May 2017 at 11:26, Matthew Gorski wrote: >> > >> > >> > >> > On Mon, May 1, 2017 at 1:03 PM, Simon Glass wrote: >> >> >> >> Hi Matthew, >> >> >> >> On

Re: [U-Boot] [PATCH v4 11/11] sun5i: boot in non-secure mode by default

2017-05-01 Thread Maxime Ripard
Hi, On Sun, Apr 30, 2017 at 03:29:56PM +0200, Antoine Tenart wrote: > sun5i now implements the psci suspend function. In order to be used by > the kernel, we should now boot in non-secure mode. Enable it by default. > > Signed-off-by: Antoine Tenart > --- > board/sunxi/Kconfig | 3 +++ > 1 file

Re: [U-Boot] [PATCH v4 09/11] sun5/7i: add an implementation of the psci suspend function

2017-05-01 Thread Maxime Ripard
Hi Antoine, On Sun, Apr 30, 2017 at 03:29:54PM +0200, Antoine Tenart wrote: > +/* > + * The PSCI suspend function switch cpuclk to another source and disable > + * pll1. As this function is called per-CPU, it should only do this when > + * all the CPUs are in idle state. > + * > + * The 'cnt' vari

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
On Mon, May 1, 2017 at 2:36 PM, Simon Glass wrote: > Hi Matthew, > > On 1 May 2017 at 11:26, Matthew Gorski wrote: > > > > > > > > On Mon, May 1, 2017 at 1:03 PM, Simon Glass wrote: > >> > >> Hi Matthew, > >> > >> On 1 May 2017 at 10:40, Matthew Gorski wrote: > >> > Let me repost this to the b

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Simon Glass
Hi Matthew, On 1 May 2017 at 11:26, Matthew Gorski wrote: > > > > On Mon, May 1, 2017 at 1:03 PM, Simon Glass wrote: >> >> Hi Matthew, >> >> On 1 May 2017 at 10:40, Matthew Gorski wrote: >> > Let me repost this to the bottom. New to the mailing list ;) >> > >> > I am using chained boot to test

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
On Mon, May 1, 2017 at 1:26 PM, Matthew Gorski wrote: > > > On Mon, May 1, 2017 at 1:03 PM, Simon Glass wrote: > >> Hi Matthew, >> >> On 1 May 2017 at 10:40, Matthew Gorski wrote: >> > Let me repost this to the bottom. New to the mailing list ;) >> > >> > I am using chained boot to test uboot

Re: [U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-01 Thread Andreas Färber
Am 01.05.2017 um 19:41 schrieb Andreas Färber: > diff --git a/configs/geekbox_defconfig b/configs/geekbox_defconfig > index f5783100c0..5e4d5f03a4 100644 > --- a/configs/geekbox_defconfig > +++ b/configs/geekbox_defconfig > @@ -4,6 +4,7 @@ CONFIG_ROCKCHIP_RK3368=y > CONFIG_TARGET_GEEKBOX=y > CONF

Re: [U-Boot] [PATCH 6/7] rockchip: rk3368: Add PX5 Evaluation board

2017-05-01 Thread Andreas Färber
Am 21.04.2017 um 04:33 schrieb Andy Yan: > diff --git a/arch/arm/dts/Makefile b/arch/arm/dts/Makefile > index fbc97e8..d786611 100644 > --- a/arch/arm/dts/Makefile > +++ b/arch/arm/dts/Makefile > @@ -42,9 +42,10 @@ dtb-$(CONFIG_ARCH_ROCKCHIP) += \ > rk3288-veyron-minnie.dtb \ > rk3328-e

[U-Boot] [PATCH] rockchip: rk3368: Set fdtfile

2017-05-01 Thread Andreas Färber
Populate the fdtfile environment variable based on CONFIG_DEFAULT_FDT_FILE. Allow to override this default behavior via FDTFILE. Set CONFIG_DEFAULT_FDT_FILE for the GeekBox. Signed-off-by: Andreas Färber --- configs/geekbox_defconfig | 1 + include/configs/rk3368_common.h | 7 ++- 2 f

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
On Mon, May 1, 2017 at 1:03 PM, Simon Glass wrote: > Hi Matthew, > > On 1 May 2017 at 10:40, Matthew Gorski wrote: > > Let me repost this to the bottom. New to the mailing list ;) > > > > I am using chained boot to test uboot as a FIT image so I I don't have to > > flash to spl flash. Does CON

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Simon Glass
Hi Matthew, On 1 May 2017 at 10:40, Matthew Gorski wrote: > Let me repost this to the bottom. New to the mailing list ;) > > I am using chained boot to test uboot as a FIT image so I I don't have to > flash to spl flash. Does CONFIG_SPL_TEXT_BASE need to be adjusted for > chained boot? > > I am

Re: [U-Boot] [PATCH 1/1] odroid-c2: README: MMC is supported

2017-05-01 Thread Andreas Färber
Am 15.04.2017 um 11:29 schrieb Heinrich Schuchardt: > Mention eMMC and microSD as supported devices. > > They have been enabled with patch > d0c5c8d529f16fa88ab52a3b5dd2d4fc03664f19 > odroid-c2: enable new Meson GX MMC driver in board defconfig > which was accepted for u-boot-mmc.git. > > Signed-

Re: [U-Boot] [U-Boot,1/1] odroid-c2: README: MMC is supported

2017-05-01 Thread Tom Rini
On Sat, Apr 15, 2017 at 11:29:06AM +0200, xypron.g...@gmx.de wrote: > Mention eMMC and microSD as supported devices. > > They have been enabled with patch > d0c5c8d529f16fa88ab52a3b5dd2d4fc03664f19 > odroid-c2: enable new Meson GX MMC driver in board defconfig > which was accepted for u-boot-mmc.

Re: [U-Boot] [PATCH 2/2] Enable PXE boot on meson-gxbb.

2017-05-01 Thread Andreas Färber
Am 17.04.2017 um 00:04 schrieb Andreas Färber: > Am 17.04.2017 um 00:01 schrieb Vagrant Cascadian: >> Enable distro_bootcmd PXE functions on meson-gxbb systems. >> >> While DHCP boot is already supported, the format is fairly u-boot >> specific, while PXE boot supports the widely used syslinux styl

Re: [U-Boot] [PATCH 1/1] odroid-c2: README: MMC is supported

2017-05-01 Thread Heinrich Schuchardt
On 04/15/2017 11:29 AM, Heinrich Schuchardt wrote: > Mention eMMC and microSD as supported devices. > > They have been enabled with patch > d0c5c8d529f16fa88ab52a3b5dd2d4fc03664f19 > odroid-c2: enable new Meson GX MMC driver in board defconfig > which was accepted for u-boot-mmc.git. > > Signed-o

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
Let me repost this to the bottom. New to the mailing list ;) I am using chained boot to test uboot as a FIT image so I I don't have to flash to spl flash. Does CONFIG_SPL_TEXT_BASE need to be adjusted for chained boot? I am using instructions to boot Linux for Tegra from sdcard/USB in developer

Re: [U-Boot] [U-Boot,v2,1/1] meson: gxbb: change ramdisk_addr_r

2017-05-01 Thread Tom Rini
On Fri, Apr 14, 2017 at 08:04:46PM +0200, xypron.g...@gmx.de wrote: > 0x1000 is the start of a 2 MiB area used by the > ARM Trusted Firmware (BL31). > > See > https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/meson-gx.dtsi?id=refs/tags/v4

Re: [U-Boot] [U-Boot,v2,1/1] meson: gxbb: change ramdisk_addr_r

2017-05-01 Thread Heinrich Schuchardt
On 04/17/2017 10:41 PM, Vagrant Cascadian wrote: > On 2017-04-14, xypron.g...@gmx.de wrote: >> 0x1000 is the start of a 2 MiB area used by the >> ARM Trusted Firmware (BL31). >> >> See >> https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/tree/arch/arm64/boot/dts/amlogic/me

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
On May 1, 2017 11:45 AM, "Simon Glass" wrote: Hi Matthew, On 1 May 2017 at 09:37, Matthew Gorski wrote: > Thanks for the reply Simon. > > I have been trying to find the System.map for depthcharge to see the kernel > load address but I am unable to find anything. I have tried multiple > CONFIG_

Re: [U-Boot] [U-Boot, v3, 1/1] meson: gxbb: enable MMC as boot target

2017-05-01 Thread Tom Rini
On Sat, Apr 15, 2017 at 09:30:39PM +0200, xypron.g...@gmx.de wrote: > To enable automatic booting from SD card or eMMC the MMC > devices 0, 1, and 2 are added to the BOOT_TARGET_DEVICES. > > Booting from SD card, eMMC, and DHCP are tried in sequence. > A missing or failing device is gracefully ha

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Simon Glass
Hi Matthew, On 1 May 2017 at 09:37, Matthew Gorski wrote: > Thanks for the reply Simon. > > I have been trying to find the System.map for depthcharge to see the kernel > load address but I am unable to find anything. I have tried multiple > CONFIG_SYS_TEXT_BASE settings with no luck. How did yo

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
Thanks for the reply Simon. I have been trying to find the System.map for depthcharge to see the kernel load address but I am unable to find anything. I have tried multiple CONFIG_SYS_TEXT_BASE settings with no luck. I am creating my sdcard with a standard linux (Linux for Tegra) rootfs: Partiti

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Stephen Warren
On 05/01/2017 09:12 AM, Tom Warren wrote: Adding Stephen and Thierry for review/input. Antoine - what testing did you do? Antoine Tenart wrote at Sunday, April 30, 2017 6:30 AM: Select the newly introduced ARM_GIC option to the relevant configuration which also have a psci implementation.

Re: [U-Boot] fdt: Move fdt_fixup_ethernet to a common place

2017-05-01 Thread Tom Rini
On Fri, Apr 28, 2017 at 08:51:44AM -0400, Tom Rini wrote: > With 3f66149d9fb4 we no longer have a common call fdt_fixup_ethernet. > This was fine to do on PowerPC as they largely had calls already in > ft_cpu_fixup. On ARM however we largely relied on this call. Rather > than introduce a large n

Re: [U-Boot] [U-Boot, v4, 2/3] cmd: add Kconfig option for 'date' command

2017-05-01 Thread Tom Rini
On Sat, Apr 29, 2017 at 03:20:28PM +1200, Chris Packham wrote: > Signed-off-by: Chris Packham Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/l

Re: [U-Boot] warp7: MAINTAINERS: Add warp7_secure_defconfig entry

2017-05-01 Thread Tom Rini
On Sat, Apr 29, 2017 at 07:01:57PM -0300, Fabio Estevam wrote: > From: Fabio Estevam > > Add warp7_secure_defconfig entry to avoid the following warning: > > WARNING: no maintainers for 'warp7_secure' > > Signed-off-by: Fabio Estevam Applied to u-boot/master, thanks! -- Tom signature.asc

[U-Boot] [PATCH v2 5/9] Fix up inclusion of common.h

2017-05-01 Thread Simon Glass
It is good practice to include common.h as the first header. This ensures that required features like the DECLARE_GLOBAL_DATA_PTR macro, configuration options and common types are available. Fix up some files which currently don't do this. This is necessary because driver model will soon start usi

[U-Boot] [PATCH v2 9/9] dm: core: Adjust device_bind_common() to take an ofnode

2017-05-01 Thread Simon Glass
This core function will need to work with a live tree also. Update it to accept an ofnode instead of an offset. Signed-off-by: Simon Glass --- Changes in v2: - Cut the series down to only prepare the way for live tree - Drop all live tree changes - Adjust storage to avoid a code size increase

[U-Boot] [PATCH v2 8/9] dm: core: Add ofnode to represent device tree nodes

2017-05-01 Thread Simon Glass
With live tree we need a struct device_node * to reference a node. With the existing flat tree, we need an int offset. We need to unify these into a single value which can represent both. Add an ofnode union for this and adjust existing code to move to this. Signed-off-by: Simon Glass --- Chang

[U-Boot] [PATCH v2 7/9] dm: core: Replace of_offset with accessor (part 2)

2017-05-01 Thread Simon Glass
At present devices use a simple integer offset to record the device tree node associated with the device. In preparation for supporting a live device tree, which uses a node pointer instead, refactor existing code to access this field through an inline function. Signed-off-by: Simon Glass --- Ch

[U-Boot] [PATCH v2 6/9] dm: core: Dont export dm_scan_fdt_node()

2017-05-01 Thread Simon Glass
This function is only used in one place. It is better to just declare it internally since there is a simpler replacement for use outside the driver-model core code. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/root.c | 17 +++-- include/dm/root.h | 16 -

[U-Boot] [PATCH v2 4/9] atmel: Fix up use of dm_scan_fdt_node()

2017-05-01 Thread Simon Glass
This function should not be used outside the core driver-model code. Update it to use dm_scan_fdt_dev() instead. Signed-off-by: Simon Glass --- Changes in v2: None drivers/gpio/atmel_pio4.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/gpio/atmel_pio4.c b/driver

[U-Boot] [PATCH v2 2/9] dm: core: Move dev_get_addr() etc. into a separate file

2017-05-01 Thread Simon Glass
Move this group of address-related functions into a new file. These use the flat device tree. Future work will provide new versions of these which can support the live tree. Signed-off-by: Simon Glass --- Changes in v2: None drivers/core/Makefile | 2 +- drivers/core/device.c | 125 ---

[U-Boot] [PATCH v2 1/9] dm: Use dm.h header when driver mode is used

2017-05-01 Thread Simon Glass
This header includes things that are needed to make driver build. Adjust existing users to include that always, even if other dm/ includes are present Signed-off-by: Simon Glass --- Changes in v2: None arch/arm/lib/bootm.c | 2 +- arch/arm/mach-uniphier/pinctrl-gl

[U-Boot] [PATCH v2 0/9] dm: Prepare for supporting a live device tree

2017-05-01 Thread Simon Glass
The original livetree series [1] proved out the concept of a live device tree in U-Boot. This involved converting the existing flat tree into a node-based data structure immediately after relocation, and adjusting some existing drivers to continue to work. Several points came out of that work: 1

Re: [U-Boot] [PATCH v4 1/3] configs: sync P101x, P102x, P202x defconfgs

2017-05-01 Thread York Sun
On 04/28/2017 08:20 PM, Chris Packham wrote: In preparation for the next change that adds a new option. Signed-off-by: Chris Packham --- This isn't strictly needed. I did this so the next patch only touched CONFIG_CMD_DATE and I figured I may as well send this out so it can be applied if desir

Re: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Simon Glass
Hi Matthew, On 1 May 2017 at 08:43, Matthew Gorski wrote: > I am porting u-boot to nyan_big and need some input. I have been searching > high and low and found this thread here: [U-Boot] [PATCH 0/20] tegra: Expand > Nyan-big support > > https://lists.denx.de/pipermail/u-boot/2015-March/209530.h

Re: [U-Boot] [PATCH] SECURE_BOOT: Unify memory map for Layerscape based platforms

2017-05-01 Thread York Sun
On 05/01/2017 01:26 AM, Sumit Garg wrote: -Original Message- From: York Sun [mailto:york@nxp.com] Sent: Friday, April 28, 2017 9:27 PM To: Sumit Garg ; u-boot@lists.denx.de Cc: Ruchika Gupta ; Prabhakar Kushwaha ; Vini Pillai ; Udit Agarwal Subject: Re: [PATCH] SECURE_BOOT: Unify mem

Re: [U-Boot] [PATCH v4 05/11] tegra: select ARM_GIC for Tegra SoCs

2017-05-01 Thread Tom Warren
Adding Stephen and Thierry for review/input. Antoine - what testing did you do? Tom > -Original Message- > From: Antoine Tenart [mailto:antoine.ten...@free-electrons.com] > Sent: Sunday, April 30, 2017 6:30 AM > To: maxime.rip...@free-electrons.com; w...@csie.org; ja...@openedev.com > Cc

[U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support

2017-05-01 Thread Matthew Gorski
I am porting u-boot to nyan_big and need some input. I have been searching high and low and found this thread here: [U-Boot] [PATCH 0/20] tegra: Expand Nyan-big support https://lists.denx.de/pipermail/u-boot/2015-March/209530.html I have tried to build u-boot with the branch here: https://git.

Re: [U-Boot] [PATCH v3] usb: lpc32xx: add i2c DM support

2017-05-01 Thread Sylvain Lemieux
Hi, On Fri, 2017-04-28 at 18:28 -0600, Simon Glass wrote: > Hi, > > On 26 April 2017 at 05:57, Sylvain Lemieux wrote: > > From: Liam Beguin > > > > Add DM support for i2c functions. > > > > Signed-off-by: Liam Beguin > > Signed-off-by: Sylvain Lemieux > > --- > > Changes from v2 to v3: > > *

Re: [U-Boot] [PATCH v3 1/1] meson: gxbb: enable MMC as boot target

2017-05-01 Thread Andreas Färber
Am 19.04.2017 um 07:12 schrieb Andreas Färber: > Am 15.04.2017 um 21:30 schrieb Heinrich Schuchardt: >> To enable automatic booting from SD card or eMMC the MMC >> devices 0, 1, and 2 are added to the BOOT_TARGET_DEVICES. >> >> Booting from SD card, eMMC, and DHCP are tried in sequence. >> A missin

Re: [U-Boot] [U-Boot, 21/28] fs: Kconfig: Add a separate option for FS_CRAMFS

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:04PM -0600, Simon Glass wrote: > Rather than using CMD_CRAMFS for both the filesystem and its command, we > should have a separate option for each. This allows us to enable CRAMFS > support without the command, if desired, which reduces U-Boot's size > slightly. > >

Re: [U-Boot] [U-Boot,24/28] Kconfig: Drop CONFIG_CMD_DFL

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:07PM -0600, Simon Glass wrote: > This option is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,27/28] powerpc: Drop configs/manroland

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:10PM -0600, Simon Glass wrote: > This is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot

Re: [U-Boot] [U-Boot,19/28] Convert CONFIG_CMD_CLK to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:02PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_CLK > > Signed-off-by: Simon Glass Add imply CMD_CLK on ARCH_ZYNQ and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,28/28] Drop the pdsp188x driver

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:11PM -0600, Simon Glass wrote: > This is not used in U-Boot. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.de

Re: [U-Boot] [U-Boot, 20/28] fs: Convert CONFIG_CMD_CRAMFS to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:03PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_CRAMFS > > Signed-off-by: Simon Glass Add imply CMD_CRAMFS for keymile and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,12/28] Convert CONFIG_CMD_BMP to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:55PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_BMP > > Signed-off-by: Simon Glass Add depends on LCD || DM_VIDEO || VIDEO and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,18/28] Drop CONFIG_CMD_CLEAR

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:01PM -0600, Simon Glass wrote: > This option is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,26/28] Convert CONFIG_CMD_DISPLAY to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:09PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_DISPLAY > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 03/28] power: Convert CONFIG_PMIC_AS3722 to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:46PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_PMIC_AS3722 > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 17/28] Convert CONFIG_CMD_CHIP_CONFIG to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:00PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_CHIP_CONFIG > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,08/28] Convert CONFIG_CMD_BAT to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:51PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_BAT > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-B

Re: [U-Boot] [U-Boot, 16/28] fs: Kconfig: Add a separate config for FS_CBFS

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:59PM -0600, Simon Glass wrote: > Rather than using CMD_CBFS for both the filesystem and its command, we > should have a separate option for each. This allows us to enable CBFS > support without the command, if desired, which reduces U-Boot's size > slightly. > > Sign

Re: [U-Boot] [U-Boot, 22/28] Kconfig: Drop CONFIG_CMD_DEFAULTENV_VARS

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:05PM -0600, Simon Glass wrote: > This option does not exist in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing l

Re: [U-Boot] [U-Boot,25/28] Convert CONFIG_CMD_DIAG to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:08PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_DIAG > > Signed-off-by: Simon Glass Add imply on some keymile configs and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot, 14/28] Convert CONFIG_SYS_WHITE_ON_BLACK to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:57PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_SYS_WHITE_ON_BLACK > > Signed-off-by: Simon Glass Make this default y on various SoCs and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,23/28] Convert CONFIG_CMD_DEKBLOB to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:28:06PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_DEKBLOB > > Note: This option does not seem to actually be enabled by any board. > > Signed-off-by: Simon Glass Add imply under SECURE_BOOT for mx5/6/7 and applied to u-boot/m

Re: [U-Boot] [U-Boot, 07/28] ti816x_evm: Change CONFIG_CMD_ASKEN to CONFIG_CMD_ASKENV

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:50PM -0600, Simon Glass wrote: > This looks like a typo. Fix it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@list

Re: [U-Boot] [U-Boot,10/28] Convert CONFIG_CMD_BLOB to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:53PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_BLOB > > Signed-off-by: Simon Glass Add imply CMD_BLOB under CHAIN_OF_TRUST and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature __

Re: [U-Boot] [U-Boot,11/28] Convert CONFIG_CMD_BMODE to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:54PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_BMODE > > Signed-off-by: Simon Glass Make this default y and depend on mx5/6/7 and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,09/28] Convert CONFIG_CMD_BEDBUG to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:52PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_BEDBUG > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot,15/28] fs: Convert CONFIG_CMD_CBFS to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:58PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_CBFS > > Signed-off-by: Simon Glass Add imply CMD_CBFS on SYS_COREBOOT and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___

Re: [U-Boot] [U-Boot, 06/28] Convert CONFIG_CMD_AES et al to Kconfig

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:49PM -0600, Simon Glass wrote: > This converts the following to Kconfig: >CONFIG_CMD_AES >CONFIG_AES > > Signed-off-by: Simon Glass Add select AES to CMD_AES and applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [U-Boot, 01/28] power: Rename CONFIG_AS3722_POWER to CONFIG_PMIC_AS3722

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:44PM -0600, Simon Glass wrote: > Before converting this to Kconfig, rename it to match the other PMICs. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [U-Boot,05/28] power: Drop CONFIG_PMIC

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:48PM -0600, Simon Glass wrote: > This option is not used in U-Boot. Drop it. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list

Re: [U-Boot] [U-Boot,04/28] power: Drop CONFIG_I2C_PMIC

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:47PM -0600, Simon Glass wrote: > This is only used by one board and should not be a CONFIG option. Instead > it should use the driver model pmic framework. For now, just move the > setting into the only board that uses it. > > Signed-off-by: Simon Glass Applied to

Re: [U-Boot] [U-Boot, 02/28] power: Move as3722 pmic to pmic/ directory

2017-05-01 Thread Tom Rini
On Wed, Apr 26, 2017 at 10:27:45PM -0600, Simon Glass wrote: > Most of the PMICs are in the drivers/power/pmic/ directory. Move this one > there. > > Signed-off-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature

Re: [U-Boot] [PATCH] arm: Re-sync ARCH_MX5 / MX51 / MX53 CONFIG options

2017-05-01 Thread Tom Rini
On Sat, Apr 29, 2017 at 07:23:53PM -0400, Tom Rini wrote: > A few boards had not been fully re-synced with CONFIG_ARCH_MX5 / CONFIG_MX51 / > CONFIG_MX53 being in Kconfig. Do so now. > > Signed-off-by: Tom Rini After also fixing usbarmory to select MX53, applied to u-boot/master, thanks! -- T

[U-Boot] [ANN] meson-tools v0.1 released

2017-05-01 Thread Andreas Färber
Hello, I have just made an initial v0.1 release of my meson-tools project: https://github.com/afaerber/meson-tools In particular the amlbootsig tool has successfully been used in the openSUSE Open Build Service instance to create bootable images for the Amlogic S905 based Hardkernel Odroid-C2, u

Re: [U-Boot] [PATCH] SECURE_BOOT: Unify memory map for Layerscape based platforms

2017-05-01 Thread Sumit Garg
> -Original Message- > From: York Sun [mailto:york@nxp.com] > Sent: Friday, April 28, 2017 9:27 PM > To: Sumit Garg ; u-boot@lists.denx.de > Cc: Ruchika Gupta ; Prabhakar Kushwaha > ; Vini Pillai ; Udit > Agarwal > Subject: Re: [PATCH] SECURE_BOOT: Unify memory map for Layerscape based