Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
2017-01-04 6:46 GMT+02:00 Lokesh Vutla : > > "Card did not respond to voltage select!" is coming from: > > drivers/mmc/mmc.c > > Can you check if mmc mux is being done properly? > I think this message is coming because I have ejected mmc (sd card) in order to boot from nand. However, I went thro

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Lokesh Vutla
On Tuesday 03 January 2017 08:07 PM, matti kaasinen wrote: > "The Expected Linux image was not found. Please check your NAND > configuration" message is coming from: > common/spl/spl_nand.c > In practice this message seems coming from the fact that header of > kernel image can't be identified fro

Re: [U-Boot] [PATCH RESEND v2 1/2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2017-01-03 Thread Vignesh R
On Tuesday 03 January 2017 07:40 PM, Jagan Teki wrote: > On Tue, Jan 3, 2017 at 2:35 PM, R, Vignesh wrote: >> >> >> On 12/21/2016 10:42 AM, Vignesh R wrote: >>> According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC >>> TRM SPRUHY8D[1], the external master is only permitted to iss

[U-Boot] [PATCH v2 2/2] lib: net_utils: enforce '.' as octet separator in string_to_ip

2017-01-03 Thread Chris Packham
Ensure '.' is used to separate octets. If another character is seen reject the string outright and return 0.0.0.0. Signed-off-by: Chris Packham --- Changes in v2: - new END lib/net_utils.c | 4 1 file changed, 4 insertions(+) diff --git a/lib/net_utils.c b/lib/net_utils.c index 8f81e7801

[U-Boot] [PATCH v2 1/2] lib: net_utils: make string_to_ip stricter

2017-01-03 Thread Chris Packham
Previously values greater than 255 were implicitly truncated. Add some stricter checking to reject addresses with components >255. With the input "1234192.168.1.1" the old behaviour would truncate the address to 192.168.1.1. New behaviour rejects the string outright and returns 0.0.0.0, which for

[U-Boot] [U-Boot,v2,3/3] LS1046ARDB: Add QSPI Secure Boot target

2017-01-03 Thread Vinitha Pillai-B57223
From: Sumit Garg Add QSPI Secure Boot target. Also enable sec init. Signed-off-by: Vinitha Pillai Signed-off-by: Sumit Garg --- Changes in v2: Split patches logically from 2 to 3. board/freescale/ls1046ardb/MAINTAINERS| 4 board/freescale/ls1046ardb/ls1046ardb.c | 19 +++

Re: [U-Boot] [PATCH v3 0/6] arm: tegra: apalis-tk1, mmc and ext clock loopback

2017-01-03 Thread Tom Warren
Marcel, > -Original Message- > From: Marcel Ziswiler [mailto:mar...@ziswiler.com] > Sent: Wednesday, December 21, 2016 9:26 PM > To: u-boot@lists.denx.de > Cc: Max Krummenacher ; Stefan Agner > ; Marcel Ziswiler > ; York Sun ; > peter.ch...@data61.csiro.au; Lokesh Vutla ; Jaehoon > Chung ;

Re: [U-Boot] [U-Boot, v2, 3/3] LS1046ARDB: Add QSPI Secure Boot target

2017-01-03 Thread Vini Pillai
Hi all Please Ignore this mail Regards, Vinitha -Original Message- From: Vinitha Pillai-B57223 [mailto:b57...@freescale.com] Sent: Tuesday, January 03, 2017 11:01 PM To: Udit Agarwal ; u-boot@lists.denx.de Cc: Sumit Garg ; Ruchika Gupta ; Vini Pillai Subject: [U-Boot,v2,3/3] LS1046ARDB:

[U-Boot] are DM/SPL dependencies in drivers/core/Kconfig correct?

2017-01-03 Thread Robert P. J. Day
quite prepared to be told i'm totally off-base here, but the DM/SPL dependencies in the drivers/core/Kconfig file seem a bit odd, but that might be just my misunderstanding of how DM and SPL work together. first quick observation -- based on the naming convention i read somewhere, it seems th

Re: [U-Boot] Rockchip RK3288 regulator device table problem

2017-01-03 Thread Rick Bronson
Hi Simon, I'm not sure what to do about (in drivers/power/regulator/rk808.c): static const struct rk808_reg_info rk808_ldo[] = { { 100, 10, LDO1_ON_VSEL, 5, }, ... I had to change this table as my LDO values are different for this board. I'd like to fix it to take values fro

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-03 Thread Moritz Fischer
Hi Michal, On Tue, Jan 3, 2017 at 1:22 AM, Michal Simek wrote: > On 2.1.2017 20:20, Moritz Fischer wrote: >> Hi Michal, >> >> On Mon, Jan 2, 2017 at 6:24 AM, Michal Simek wrote: >>> On 29.12.2016 23:50, Moritz Fischer wrote: For mux check if the parent is already a device of UCLASS_I2C and

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
"The Expected Linux image was not found. Please check your NAND configuration" message is coming from: common/spl/spl_nand.c In practice this message seems coming from the fact that header of kernel image can't be identified from offset after executing: nand_spl_load_image(CONFIG_SYS_NAND_SPL_KERNE

Re: [U-Boot] [PATCH RESEND v2 1/2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2017-01-03 Thread Jagan Teki
On Tue, Jan 3, 2017 at 2:35 PM, R, Vignesh wrote: > > > On 12/21/2016 10:42 AM, Vignesh R wrote: >> According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC >> TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit >> data interface writes until the last word of an ind

Re: [U-Boot] [PATCH] spl: sunxi: Fix build error with CONFIG_SPL_SPI_SUNXI

2017-01-03 Thread Jagan Teki
On Mon, Jan 2, 2017 at 7:24 PM, Priit Laes wrote: > Fix typo introduced in ebc4ef61d76fc182773fe225151adc9b913c62eb > > Signed-off-by: Priit Laes Reviewed-by: Jagan Teki ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinf

Re: [U-Boot] [linux-sunxi] [PATCH v4 00/26] sunxi: Allwinner A64: SPL support

2017-01-03 Thread jonsm...@gmail.com
On Tue, Jan 3, 2017 at 5:41 AM, Jagan Teki wrote: > On Tue, Jan 3, 2017 at 3:38 AM, jonsm...@gmail.com wrote: >> I recently ran into a probably with the UARTs on the A64. Many >> Bluetooth modules (like Ampak) use the UART. The data rate of EDR BT >> is 3Mb/s with about 2.1Mb/s though put. To han

[U-Boot] [PATCH] rpi: Fix device tree path on ARM64

2017-01-03 Thread Tuomas Tynkkynen
The directory structure of device tree files produced by the kernel's 'make dtbs_install' is different on ARM64, the RPi3 device tree file is in a 'broadcom' subdirectory there. Make the set_fdtfile function account for this so that the distro boot scripts can locate the DTB file. Signed-off-by: T

[U-Boot] mkimage for ls1021a-twr.dtb

2017-01-03 Thread zvivered
Hello, I'm compiling vanilla 4.1.13 for ls1021a with gcc created with crosstool-ng Upon kernel build completion I got the file: ls1021a-twr.dtb Then I ran: mkimage -A arm -O Linux -C none -T kernel -n 3.14.4 -d ls1021a-twr.dtb uImage.dtb using tftp I downloaded: uImage -> 0x8300 uRamdisk ->

[U-Boot] [PATCH] spl: sunxi: Fix build error with CONFIG_SPL_SPI_SUNXI

2017-01-03 Thread Priit Laes
Fix typo introduced in ebc4ef61d76fc182773fe225151adc9b913c62eb Signed-off-by: Priit Laes --- drivers/mtd/spi/sunxi_spi_spl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mtd/spi/sunxi_spi_spl.c b/drivers/mtd/spi/sunxi_spi_spl.c index e70064c..a24c115 100644 --- a/

Re: [U-Boot] [PATCH RESEND v2 1/2] spi: cadence_qspi_apb: Use 32 bit indirect write transaction when possible

2017-01-03 Thread R, Vignesh
On 12/21/2016 10:42 AM, Vignesh R wrote: > According to Section 11.15.4.9.2 Indirect Write Controller of K2G SoC > TRM SPRUHY8D[1], the external master is only permitted to issue 32-bit > data interface writes until the last word of an indirect transfer > otherwise indirect writes is known to fai

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
2017-01-03 14:33 GMT+02:00 matti kaasinen : > One reason why I2C configuration is wrong in nand mode could be the fact > that I have CONFIG_TI_I2C_BOARD_DETECT variable is undefined (because I do > not have that eeprom). But it looks that do_board_detect runs > enable_i2c0_pin_mux() that I do not

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
2017-01-03 13:16 GMT+02:00 Lokesh Vutla : > > Would anyone have idea why spl boot fails in i2c_probe when running from > > nand but not when running from mmc card or anything at all to check? > > Do you have different mux configurations for different boot modes?(Just > wondering if mux is properly

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Lokesh Vutla
On Tuesday 03 January 2017 02:56 PM, matti kaasinen wrote: > Hi! > > Would anyone have idea why spl boot fails in i2c_probe when running from > nand but not when running from mmc card or anything at all to check? Do you have different mux configurations for different boot modes?(Just wondering

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
I could try that, but how does it work properly when I run it from mmc. Does reading spl from mmc touch I2C somehow (interrupt, speed or anything) or does reading spl from nand do that. 2017-01-03 13:05 GMT+02:00 Yegor Yefremov : > On Tue, Jan 3, 2017 at 12:02 PM, matti kaasinen > wrote: > > > >

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Yegor Yefremov
On Tue, Jan 3, 2017 at 12:02 PM, matti kaasinen wrote: > > 2017-01-03 12:56 GMT+02:00 Yegor Yefremov : >> >> What PMIC are you using? > > It is TPS65217, so probe command is: > i2c_probe(TPS65217_CHIP_PM) I had some problems with tps65910. Anyway try to reduce I2C speed up to 1000. The kernel ca

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
2017-01-03 12:56 GMT+02:00 Yegor Yefremov : > What PMIC are you using? > It is TPS65217, so probe command is: i2c_probe(TPS65217_CHIP_PM) ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread Yegor Yefremov
Hi Matti, On Tue, Jan 3, 2017 at 10:26 AM, matti kaasinen wrote: > Hi! > > Would anyone have idea why spl boot fails in i2c_probe when running from > nand but not when running from mmc card or anything at all to check? > > My card is am335x based board with u-boot coming from u-boot-it v2016.05.

Re: [U-Boot] [linux-sunxi] [PATCH v4 00/26] sunxi: Allwinner A64: SPL support

2017-01-03 Thread Jagan Teki
On Tue, Jan 3, 2017 at 3:38 AM, jonsm...@gmail.com wrote: > I recently ran into a probably with the UARTs on the A64. Many > Bluetooth modules (like Ampak) use the UART. The data rate of EDR BT > is 3Mb/s with about 2.1Mb/s though put. To handle this most systems > set the speed of the BT UART to

[U-Boot] am335x board i2c_probe fails from nand boot

2017-01-03 Thread matti kaasinen
Hi! Would anyone have idea why spl boot fails in i2c_probe when running from nand but not when running from mmc card or anything at all to check? My card is am335x based board with u-boot coming from u-boot-it v2016.05. Spl boot crashes when it tries to run i2c_probe getting timeout in omap24.._

Re: [U-Boot] [PATCH] i2c: mux: Allow muxes to work as children of i2c bus without i2c-parent

2017-01-03 Thread Michal Simek
On 2.1.2017 20:20, Moritz Fischer wrote: > Hi Michal, > > On Mon, Jan 2, 2017 at 6:24 AM, Michal Simek wrote: >> On 29.12.2016 23:50, Moritz Fischer wrote: >>> For mux check if the parent is already a device of UCLASS_I2C and if yes >>> just use that. Otherwise see if someone specified an i2c-par

Re: [U-Boot] [PATCH V2 20/20] imx: mx7ulp_evk: enable mmc/regulator support

2017-01-03 Thread Peng Fan
Hi Stefano, On Tue, Dec 27, 2016 at 12:07:40PM +, Peng Fan wrote: > > >> -Original Message- >> From: U-Boot [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Fabio >> Estevam >> Sent: Tuesday, December 27, 2016 7:23 PM >> To: Peng Fan >> Cc: U-Boot-Denx >> Subject: Re: [U-Boot] [PAT

Re: [U-Boot] [PATCH] ARM: zynqmp: Make SYS_VENDOR configurable

2017-01-03 Thread Michal Simek
On 3.1.2017 09:47, Mike Looijmans wrote: > Add a string description for SYS_VENDOR to allow configuring boards from > other vendors than just "xilinx". > --- > arch/arm/cpu/armv8/zynqmp/Kconfig | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/arch/arm/cpu/armv8/zynqmp/Kconfig > b/arch/ar

[U-Boot] [PATCH] ARM: zynqmp: Make SYS_VENDOR configurable

2017-01-03 Thread Mike Looijmans
Add a string description for SYS_VENDOR to allow configuring boards from other vendors than just "xilinx". --- arch/arm/cpu/armv8/zynqmp/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/cpu/armv8/zynqmp/Kconfig b/arch/arm/cpu/armv8/zynqmp/Kconfig index e175e6e..499e1dd 100644