[U-Boot] [PATCH] board: ti: am335x: Fix scale_vcore for beaglebones

2017-06-10 Thread Lokesh Vutla
commit 0650798824 ("board: am335x: Introduce scale_vcores") updated voltages of each board based on efuse. It updated beagle bone specific voltages under the condition board_is_bone(). But this is true only for BeagleBoneWhite. Due to which voltages are not configured for BBB, BBW as wrong device i

Re: [U-Boot] [PATCH v4 04/11] usb: host: xhci-rockchip: use fixed regulator to control vbus

2017-06-10 Thread Marek Vasut
On 06/09/2017 04:01 PM, rock-chips(daniel.meng) wrote: > > > On 2017/6/9 16:22, Marek Vasut wrote: >> On 06/09/2017 09:49 AM, rock-chips(daniel.meng) wrote: >>> >>> On 2017/6/8 21:17, Marek Vasut wrote: On 06/08/2017 09:31 AM, Meng Dongyang wrote: > Use fixed regulator to control the vol

Re: [U-Boot] [PATCH] arm: am57xx: Keep environment in eMMC

2017-06-10 Thread Lokesh Vutla
On Friday 09 June 2017 07:59 PM, Tom Rini wrote: > On Fri, Jun 09, 2017 at 05:24:16PM +0300, Sam Protsenko wrote: >> On 9 June 2017 at 17:17, Tom Rini wrote: >>> On Fri, Jun 09, 2017 at 05:12:56PM +0300, Sam Protsenko wrote: >>> Use eMMC (instead of SD card) to store U-Boot environment. Use

[U-Boot] [PATCH v2] sun50i: h5: Add initial Orangepi Zero Plus 2 support

2017-06-10 Thread Jagan Teki
From: Jagan Teki Orangepi Zero Plus 2 is an open-source single-board computer using the Allwinner h5 SOC. H5 Orangepi Zero Plus 2 has - Quad-core Cortex-A53 - 512MB DDR3 - micrSD slot and 8GB eMMC - Debug TTL UART - HDMI - Wifi + BT - OTG+power supply Signed-off-by: Jagan Teki --- Changes for

[U-Boot] [PATCH] common/fb_mmc.c: Fix warnings about casts

2017-06-10 Thread Tom Rini
When building the flash zImage code on aarch64 we see warnings about pointer size casts. Use uintptr_t instead to correct these. Cc: Sam Protsenko Signed-off-by: Tom Rini --- common/fb_mmc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/fb_mmc.c b/common/fb_mmc

[U-Boot] [PATCH] am33xx: Finish migration of CONFIG_AM33XX/AM43XX

2017-06-10 Thread Tom Rini
Almost all users of CONFIG_AM33XX/AM43XX have been migrated. Finish moving the last few over to Kconfig, and put all of the boards under the appropriate Kconfig chocie now. This board choice is non-optional, so remove that keyword on am33xx. Signed-off-by: Tom Rini --- arch/arm/mach-omap2/Kcon

Re: [U-Boot] [U-Boot, v2, 1/7] spl: armv7m: to keep ARM v7M in thumb mode before booting next image

2017-06-10 Thread Tom Rini
On Sun, May 28, 2017 at 12:55:08PM -0700, Vikas Manocha wrote: > On ARM v7M, the processor will return to ARM mode when executing blx > instruction with bit 0 of the address == 0. Always set it to 1 to stay in > thumb > mode. > > At present, it is applied only for raw U-Boot. This patch moves it

Re: [U-Boot] [U-Boot,v2,2/7] stm32f7: remove duplicate configs

2017-06-10 Thread Tom Rini
On Sun, May 28, 2017 at 12:55:09PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha Reviewed-by: Tom Rini -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-b

Re: [U-Boot] [U-Boot,v2,5/7] serial: stm32f7: disable overrun

2017-06-10 Thread Tom Rini
On Sun, May 28, 2017 at 12:55:12PM -0700, Vikas Manocha wrote: > With overrun enabled, serial port console freezes & stops receiving data with > overun error if we keep sending data. > > Signed-off-by: Vikas Manocha Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital

Re: [U-Boot] [U-Boot,v2,3/7] stm32: stm32f7: add spl build support

2017-06-10 Thread Tom Rini
On Sun, May 28, 2017 at 12:55:10PM -0700, Vikas Manocha wrote: > This commit supports booting from stm32 internal nor flash. spl U-Boot > initializes the sdram memory, copies next image (e.g. standard U-Boot) > to sdram & then jumps to entry point. > > Here are the flash memory addresses for U-Bo

Re: [U-Boot] cmd: jffs2: Rename command ls to fsls

2017-06-10 Thread Tom Rini
On Tue, May 30, 2017 at 02:18:55PM +0200, Michal Simek wrote: > From: Siva Durga Prasad Paladugu > > Rename command ls to fsls as its conflicting with > generic file systesm command ls and this is causing > compilation failure as below, if both are enabled > and this patch fixes it. > > cmd/jff

Re: [U-Boot] [U-Boot,v2,4/7] SPL: Add XIP booting support

2017-06-10 Thread Tom Rini
On Sun, May 28, 2017 at 12:55:11PM -0700, Vikas Manocha wrote: > Enable support for XIP (execute in place) of U-Boot or kernel image. There is > no need to copy image from flash to ram if flash supports execute in place. > > Signed-off-by: Vikas Manocha > Reviewed-by: Alexandru Gagniuc Applied

Re: [U-Boot] [U-Boot, 3/3] board: ti: am572x-evm: Update pinmux using latest PMT

2017-06-10 Thread Tom Rini
On Mon, Jun 05, 2017 at 02:48:17PM +0530, Lokesh Vutla wrote: > Update the board pinmux for AM572x-evm using latest PMT[1] and the > board files named am572x_gp_evm_A3a_sr2p0 and am572x_gp_evm_A2b_sr1p1 > that were autogenerated on 30th January, 2017 by > "Ahmad Rashed " and "Tom Johnson ". > > S

Re: [U-Boot] davinci: omapl138_lcdk: fix tXSNR DDR2 timing value

2017-06-10 Thread Tom Rini
On Fri, Jun 02, 2017 at 06:07:12PM +0530, Sekhar Nori wrote: > As per the datasheet[1] available for DDR2 part on board > the OMAP-L138 LCDK, the tXSNR (exit self refresh to a > non-read command) is 137.5 ns. This corresponds to a > value of 20 to be written to T_XSNR register field of > OMAP-L138

Re: [U-Boot] armv7m: Disable D-cache when booting nommu(ARMv7M) Linux kernel

2017-06-10 Thread Tom Rini
On Mon, Jun 05, 2017 at 01:18:08AM +0900, tnishinaga@gmail.com wrote: > Disable D-Cache is required when booting nommu Linux kernel. > (please see Linux kernel source "arch/arm/kernel/head-nommu.S") > > U-Boot is enabled D-cache and I-Cache at startup. > However, it does not disable D-Cache b

Re: [U-Boot] [U-Boot,v2] Kconfig: Add description for CMD_POWEROFF

2017-06-10 Thread Tom Rini
On Mon, Jun 05, 2017 at 08:28:17AM +0200, Michal Simek wrote: > Add poweroff description to Kconfig to make it selectable > via menuconfig. > > Signed-off-by: Michal Simek > Reviewed-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

Re: [U-Boot] [PATCH] am33xx: Finish migration of CONFIG_AM33XX/AM43XX

2017-06-10 Thread Tom Rini
On Sat, Jun 10, 2017 at 09:16:15AM -0400, Tom Rini wrote: > Almost all users of CONFIG_AM33XX/AM43XX have been migrated. Finish > moving the last few over to Kconfig, and put all of the boards under the > appropriate Kconfig chocie now. This board choice is non-optional, so > remove that keyword

Re: [U-Boot] rtc: ds1337: drop "SYS" from config variables

2017-06-10 Thread Tom Rini
On Tue, May 30, 2017 at 12:03:33PM +1200, Chris Packham wrote: > There is some inconsistency between uses of CONFIG_RTC_DS13xx and > CONFIG_SYS_RTC_DS13xx. Address this by dropping the "SYS" from > these variables. > > Signed-off-by: Chris Packham > Reviewed-by: Simon Glass Applied to u-boot/m

Re: [U-Boot] [U-Boot, 2/3] board: ti: am571x-idk: Update pinmux using latest PMT

2017-06-10 Thread Tom Rini
On Mon, Jun 05, 2017 at 02:48:16PM +0530, Lokesh Vutla wrote: > Update the board pinmux for AM571x-IDK board using latest PMT[1] and the > board files named am571x_idk_v1p3b_sr2p0 that were autogenerated on > 23rd March, 2017 by "Ahmad Rashed " and > "Tom Johnson ". > > [1] https://dev.ti.com/pin

Re: [U-Boot] armv8: Support loading 32-bit OS which is not in the form of FIT

2017-06-10 Thread Tom Rini
On Tue, Jun 06, 2017 at 03:32:40PM +0800, Alison Wang wrote: > As only FIT image is supported now, this patch is to support loading > 32-bit uImage, dtb and rootfs separately. > > Signed-off-by: Alison Wang > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom signature.asc Desc

Re: [U-Boot] [U-Boot, v2, 7/7] spl: stm32f7: configure for xip booting

2017-06-10 Thread Tom Rini
On Sun, May 28, 2017 at 12:55:14PM -0700, Vikas Manocha wrote: > With xip booting configuration, we don't need to copy the next image > (U-Boot or linux xipimage) from flash to sdram area. > > Flash memory organization is like this: > spl-U-Boot: u-boot-spl.bin : 0x0800_ > U-

Re: [U-Boot] [U-Boot,v2,6/7] spl: stm32f7: add kernel boot support

2017-06-10 Thread Tom Rini
On Sun, May 28, 2017 at 12:55:13PM -0700, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha 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] configs: omapl138_lcdk: dont disable fat write

2017-06-10 Thread Tom Rini
On Tue, Jun 06, 2017 at 05:11:53PM +0530, Sekhar Nori wrote: > CONFIG_FAT_WRITE is imply'ed when CONFIG_CMD_FAT > is selected (see CONFIG_TI_COMMON_CMD_OPTIONS). > > Dont disable it in defconfig so the imply takes > effect and 'fatwrite' is available for users. > > Signed-off-by: Sekhar Nori >

Re: [U-Boot] tools/kwbimage: Support building with LibreSSL

2017-06-10 Thread Tom Rini
On Tue, Jun 06, 2017 at 03:17:27PM +0200, Marek Behún wrote: > From: Marek Behún > > The kwbimage utility fails to compile when LibreSSL is present on > the host system instead of OpenSSL. This one-line patch resolves > this. > > Signed-off-by: Marek Behun > > diff --git a/tools/kwbimage.c b/

Re: [U-Boot] [U-Boot, 1/3] board: ti: am572x-idk: Update pinmux using latest PMT

2017-06-10 Thread Tom Rini
On Mon, Jun 05, 2017 at 02:48:15PM +0530, Lokesh Vutla wrote: > Update the board pinmux for AM572x-IDK board using latest PMT[1] and the > board files named am572x_idk_v1p3b_sr2p0 that were autogenerated on > 30th January, 2017 by "Ahmad Rashed " and > "Tom Johnson ". > > [1] https://dev.ti.com/p

Re: [U-Boot] [U-Boot, v2] arm: omap: Unify get_device_type() function

2017-06-10 Thread Tom Rini
On Fri, Jun 02, 2017 at 06:00:00PM +0300, Semen Protsenko wrote: > Refactor OMAP3/4/5 code so that we have only one get_device_type() > function for all platforms. > > Details: > - Add ctrl variable for AM33xx and OMAP3 platforms (like it's done for >OMAP4/5), so we can obtain status registe

Re: [U-Boot] igep0020: Enable DISTRO_DEFAULTS on IGEPv2 platforms

2017-06-10 Thread Tom Rini
On Mon, Jun 05, 2017 at 07:27:23PM +0200, Enric Balletbo i Serra wrote: > Like commit 3337e3af5d3d this enables suitable commands needed for booting > general purpose Linux distribution. This is required for example if we want > to use PXE or DHCP as default boot targets, symbols no longer enabled

Re: [U-Boot] board: mpl: pci: Fix checkpatch.pl

2017-06-10 Thread Tom Rini
On Mon, Jun 05, 2017 at 11:09:30PM +0530, Chakra Divi wrote: > From: Chakra Divi > > Fixed checkpatch.pl errors/warnings in board/mpl/common/pci.c > > Signed-off-by: Chakra Divi Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature _

[U-Boot] [PATCH] dm: blk: Fix warning on !CONFIG_BLK

2017-06-10 Thread Tom Rini
When we don't have CONFIG_BLK defined we don't have a forward declaration of struct udevice, and thus get a warning about it on blk_get_from_parent(), which we only have when CONFIG_BLK is set. Move the declaration of blk_get_from_parent() to be with the other CONFIG_BLK parts. Fixes 9f103b9cb5f8

Re: [U-Boot] [PATCH] board: ti: am335x: Fix scale_vcore for beaglebones

2017-06-10 Thread Emmanuel Vadot
On Sat, 10 Jun 2017 13:22:56 +0530 Lokesh Vutla wrote: > commit 0650798824 ("board: am335x: Introduce scale_vcores") > updated voltages of each board based on efuse. It updated > beagle bone specific voltages under the condition board_is_bone(). > But this is true only for BeagleBoneWhite. Due to

[U-Boot] [PATCH v2 1/3] display_options: Refactor to allow obtaining the banner

2017-06-10 Thread Simon Glass
Move the display options code into a separate function so that the U-Boot banner can be obtained from other code. Adjust the 'version' command to use it. Signed-off-by: Simon Glass --- Changes in v2: - Update the code to be more testable - Avoid a warning on spring, etc. cmd/version.c

[U-Boot] [PATCH v2 2/3] Allow displaying the U-Boot banner on a video display

2017-06-10 Thread Simon Glass
At present the U-Boot banner is only displayed on the serial console. If this is not visible to the user, the banner does not show. Some devices have a video display which can usefully display this information. Add a banner which is printed after relocation only on non-serial devices if CONFIG_DIS

[U-Boot] [PATCH v2 3/3] test: Add a test for snprintf() and the banner/version

2017-06-10 Thread Simon Glass
Add a simple test to make sure that these functions obey the buffer size passed into them. Signed-off-by: Simon Glass --- Changes in v2: - Fix buffer overflow problem when there is not enough space for the build tag - Add test to check for buffer overflow problems test/Makefile | 1 + test/

Re: [U-Boot] Please pull u-boot-video/master

2017-06-10 Thread Tom Rini
On Fri, Jun 09, 2017 at 05:01:43PM +0200, Anatolij Gustschin wrote: > Hi Tom, > > The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: > > Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) > > are available in the git repository at: > > git://git.d

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

2017-06-10 Thread Tom Rini
On Fri, Jun 09, 2017 at 08:28:46PM +0900, Jaehoon Chung wrote: > Dear Tom, > > Could you pull these patches into u-boot/master? > > The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d3: > > Merge git://git.denx.de/u-boot-rockchip (2017-06-08 12:14:11 -0400) > > are ava

Re: [U-Boot] [PATCH] dm: blk: Fix warning on !CONFIG_BLK

2017-06-10 Thread Tom Rini
On Sat, Jun 10, 2017 at 10:03:26AM -0400, Tom Rini wrote: > When we don't have CONFIG_BLK defined we don't have a forward > declaration of struct udevice, and thus get a warning about it on > blk_get_from_parent(), which we only have when CONFIG_BLK is set. Move > the declaration of blk_get_from_

[U-Boot] Netboot Download times:: UDP vs TCP

2017-06-10 Thread Duncan Hare
Netboot Download times: u-boot NFS command (using UDP), 4 GB Linux kernel download - 16:20:45 to 16:24:07, elapsed download time 3m38 sec U-boot NFS download command. TCP Dump extract 16:20:45.666179 IP (tos 0x0, ttl 253, id 25842, offset 0, flags [DF], proto UDP (17), length 136)     192.168.

Re: [U-Boot] [PATCH v5 3/3] rename GPT partitions to detect boot failure

2017-06-10 Thread Alison Chaiken
On Fri, Jun 9, 2017 at 11:51 PM, Wolfgang Denk wrote: > I think you are talking about two parts here, and I strongly feel > these should be kept separate. > > The first part is support for renaming GPT partitions. The idea is > clean, but should it not rather be kept general and let the user > p

[U-Boot] [PATCH v6 3/3] GPT: provide commands to selectively rename partitions

2017-06-10 Thread alison
From: Alison Chaiken This patch provides support in u-boot for renaming GPT partitions. The renaming is accomplished via new 'gpt swap' and 'gpt rename' commands. The 'swap' mode prints a warning if no matching partition names are found. If only one matching name of a provided pair is found, i

Re: [U-Boot] Please pull u-boot-dm (take 2)

2017-06-10 Thread Tom Rini
On Fri, Jun 09, 2017 at 04:37:07PM -0600, Simon Glass wrote: > Hi Tom, > > This is without the two offending patches that broke BUILD_TAG. I'll figure > out a sandbox test for this and resubmit those patches later. > > > The following changes since commit 156d64fa55e9914b144c5e83f2a9e13d1223a4d

Re: [U-Boot] [PATCH v3 2/2] power: regulator: lp87565: add regulator support

2017-06-10 Thread Keerthy
On Saturday 10 June 2017 02:59 AM, Nishanth Menon wrote: > On 06/07/2017 08:38 AM, Keerthy wrote: > >> +static bool buck_get_enable(struct udevice *dev) >> +{ >> +bool enable = false; >> +int ret; >> + >> + >> +ret = lp87565_buck_enable(dev, PMIC_OP_GET, &enable); >> +if (ret) >>

[U-Boot] [PATCH 2/3] regulator: lp873x: Fix the return value of ldo_get_enable function

2017-06-10 Thread Keerthy
The function wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 99785de83 ("power: regulator: lp873x: Add regulator support") Signed-off-by: Keerthy --- drivers/power/regulator/lp873x_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 3/3] regulator: lp873x: Fix the return value of buck_get_enable function

2017-06-10 Thread Keerthy
The function wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 99785de83 ("power: regulator: lp873x: Add regulator support") Signed-off-by: Keerthy --- drivers/power/regulator/lp873x_regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[U-Boot] [PATCH 1/3] regulator: lp87565: Fix the return value of buck_get_enable function

2017-06-10 Thread Keerthy
The function wrongly returned an integer while it is supposed to return boolean. Fix that. Fixes: 2dd9dc02a3("power: regulator: lp87565: add regulator support") Reported-by: Nishanth Menon Signed-off-by: Keerthy --- drivers/power/regulator/lp87565_regulator.c | 2 +- 1 file changed, 1 insertion