Re: [U-Boot] [PATCH v4 3/4] stv0991: default + misc command configs enabled

2014-11-17 Thread Albert ARIBAUD
Hello Vikas, (nitpicking) can you replace '+' in the subject with 'and' ? (nitpicking yet more) can you keep the "action" form for the subject rather than "action done", i.e., "stv0991: enable default and misc command configs" Amicalement, -- Albert.

Re: [U-Boot] [PATCH v4 1/4] stv0991: Add basic stv0991 architecture support

2014-11-17 Thread Albert ARIBAUD
Hello Vikas, On Mon, 17 Nov 2014 17:30:25 -0800, Vikas Manocha wrote: > stv0991 architecture support added. It contains the support for > following blocks > - Timer > - uart > > Signed-off-by: Vikas Manocha > --- > > Changes in v4: > - added maintainers info I don't see the MAINTAINERS file a

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-17 Thread Albert ARIBAUD
Hello li.xi...@freescale.com, On Tue, 18 Nov 2014 02:01:02 +, li.xi...@freescale.com wrote: > Hi Albert, > > > > > > > > > +#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV7_VIRT) > > > > > > > +/* Setting the address at which secondary cores start from.*/ > > > > > > > +void smp_set

Re: [U-Boot] [PATCH v3 4/8] common: spl: Add interactive DDR debugger support for SPL image

2014-11-17 Thread Albert ARIBAUD
Hello York, On Mon, 17 Nov 2014 15:00:42 -0800, York Sun wrote: > On 10/27/2014 06:48 PM, Wang Huan-B18965 wrote: > > Hello, Albert, > > > > > >>> --- > >>> Change log: > >>> v3: Gave more explaination in the commit. > >>> v2: No change. > >> > >> This does not apply cleanly. Could you rebas

[U-Boot] [PATCH] powerpc/t104x: Convert to use generic board code

2014-11-17 Thread Vijay Rai
Convert T1040QDS and T1040RDB to use generic board code. Signed-off-by: Vijay Rai --- Tested for : NOR, NAND, SPI, SD bootloader for T104xRDB boards NOR bootloader for T104xQDS Boards include/configs/T1040QDS.h |2 ++ include/configs/T104xRDB.h |2 ++ 2 files changed, 4 insertions(+)

[U-Boot] [PATCH] powerpc/mpc85xx: Update LIODN entries for T1040

2014-11-17 Thread Priyanka Jain
Signed-off-by: Priyanka Jain --- arch/powerpc/cpu/mpc85xx/t1040_ids.c | 26 +++--- 1 files changed, 19 insertions(+), 7 deletions(-) diff --git a/arch/powerpc/cpu/mpc85xx/t1040_ids.c b/arch/powerpc/cpu/mpc85xx/t1040_ids.c index a5dfb81..2903d57 100644 --- a/arch/powerpc/cp

Re: [U-Boot] [PATCH 0/5] PL01x: baudrate & line control fixes

2014-11-17 Thread Simon Glass
Hi Vikas, On 18 November 2014 00:17, Vikas Manocha wrote: > This patchset fixes the pl01x driver esp for pl011 baudrate & line > control. > > Vikas Manocha (5): > serial: pl01x: pass pl01x_type to set baudrate > serial: pl01x: fix pl011 baud rate configuration > serial: pl01x: move all line

Re: [U-Boot] [PATCH 5/5] serial: pl01x: avoid pl01x type check two times

2014-11-17 Thread Simon Glass
On 18 November 2014 00:17, Vikas Manocha wrote: > Signed-off-by: Vikas Manocha Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 4/5] serial: pl01x: disable as per type of pl01x

2014-11-17 Thread Simon Glass
On 18 November 2014 00:17, Vikas Manocha wrote: > pl010 & pl011 have different control register offsets, setting it as per > the pl01x type. > > Signed-off-by: Vikas Manocha Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http://lis

Re: [U-Boot] [PATCH 3/5] serial: pl01x: move all line control at same place

2014-11-17 Thread Simon Glass
On 18 November 2014 00:17, Vikas Manocha wrote: > Receive line control uses same setting as transmit line control, also one lcrh > write is effective for both baud rate & receive line control internal update. > > Signed-off-by: Vikas Manocha Seems cleaner to me. Acked-by: Simon Glass _

Re: [U-Boot] [PATCH 2/5] serial: pl01x: fix pl011 baud rate configuration

2014-11-17 Thread Simon Glass
On 18 November 2014 00:17, Vikas Manocha wrote: > UART_IBRD, UART_FBRD, and UART_LCR_H form a single 30-bit wide register which > is updated on a single write strobe generated by a UART_LCR_H write. So, to > internally update the content of UART_IBRD or UART_FBRD, a write to UART_LCR_H > must alwa

Re: [U-Boot] [PATCH 1/5] serial: pl01x: pass pl01x_type to set baudrate

2014-11-17 Thread Simon Glass
On 18 November 2014 00:17, Vikas Manocha wrote: > Although we were checking the pl01x type, seems like PL010 type was being > passed by mistake. > > Signed-off-by: Vikas Manocha Acked-by: Simon Glass ___ U-Boot mailing list U-Boot@lists.denx.de http:/

Re: [U-Boot] [PATCH v4 0/4] add support for new arch stv0991

2014-11-17 Thread Simon Glass
Hi Vikas, On 18 November 2014 01:30, Vikas Manocha wrote: > This patchset add support for new arch stv0991. > > Changes in v4: > - rebased to current master > - added maintainers info > > Changes in v3: > - removed period from commit messages > > Changes in v2: > - corrected files license to GPL-

[U-Boot] [PATCH v8 0/6] fs: fat/ext4/sandbox - Deal with files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
The commands fatls/ext4ls give negative values when dealing with files greater than 2GB. The commands fatsize/ext4size do not update the variable filesize for these files. To deal with this, the fs functions have been modified to take an additional parameter of type "* loff_t" which is then popula

[U-Boot] [PATCH] net: bootp: as CONFIG_BOOTP_SERVERIP is defined, keep bootfile not changed

2014-11-17 Thread Josh Wu
Currenly when CONFIG_BOOTP_SERVERIP is defined, the SERVERIP is not changed when receive the BOOTP packet. But BOOTFILE is changed via BOOTP packet. As we will load the BOOTFILE from SERVERIP, if the BOOTFILE is modified by bootp packet but SERVERIP is not, that is not make sense. This patch make

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-17 Thread Simon Glass
Hi Victor, On 18 November 2014 03:32, Victor Ascroft wrote: > > On Monday 17 November 2014 11:58 AM, Simon Glass wrote: >> Hi Albert, >> >> On 16 November 2014 07:50, Albert ARIBAUD wrote: >>> Hello Simon, >>> >>> On Sat, 15 Nov 2014 15:10:47 -0700, Simon Glass >>> wrote: Hi Albert, >

Re: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD

2014-11-17 Thread Victor Ascroft
On Monday 17 November 2014 11:58 AM, Simon Glass wrote: > Hi Albert, > > On 16 November 2014 07:50, Albert ARIBAUD wrote: >> Hello Simon, >> >> On Sat, 15 Nov 2014 15:10:47 -0700, Simon Glass >> wrote: >>> Hi Albert, >>> >>> On 15 November 2014 05:30, Albert ARIBAUD wrote: Hello Simon, >>>

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-17 Thread Suriyan Ramasami
Hello Minkyu Kang/Przemyslaw and of course anyone else who can direct me, Thanks for the commit. I just realized that the code in this particular patch is missing the gpio_request() call before calling the gpio_direction_output() call, and hence fails to initialize the USB3503A hub. This was

[U-Boot] [PATCH] powerpc/hydra: Update MDIO mux fixups

2014-11-17 Thread Chunhe Lan
The new device trees use a more generic interface for supporting muxing mdio buses. The mux property is thus specified in "reg", rather than "fsl,hydra-mdio-muxval". In order to support using old device trees, we keep the old fixup in there. Linux will therefore see the both properties, but will i

Re: [U-Boot] [PATCH v8 3/3] Odroid-XU3: Add documentation for Odroid-XU3

2014-11-17 Thread Hyungwon Hwang
Dear Marczak, On Mon, 17 Nov 2014 10:58:21 +0100 Przemyslaw Marczak wrote: > Hello Hyungwon, > > Now we will have some ambiguous naming: > "doc/README.odroid" and "doc/README.odroid-xu3" > > Please update the first name to Odroid U3 or make it as a common for > both Odroids, since the documen

[U-Boot] [PATCH] powerpc/t4240rdb: enable eSDHC 3.3V support

2014-11-17 Thread Xie Xiaobo
The SD supply Voltage was 3.3V on T4240RDB, so enabled 3.3V support for eSDHC. Signed-off-by: Xie Xiaobo Signed-off-by: Wujie Qiu --- include/configs/T4240RDB.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/configs/T4240RDB.h b/include/configs/T4240RDB.h index 13f4bd3..38ea1ba 100

Re: [U-Boot] [PATCH v8 1/3] exynos5: fix GPIO information of exynos5420

2014-11-17 Thread Hyungwon Hwang
Thanks for your reviews. I did not know that the code from Simon Glass is merged. I will remove this patch will be removed from the next version. Thanks. Best regards, Hyungwon Hwang On Mon, 17 Nov 2014 10:51:21 +0100 Przemyslaw Marczak wrote: > Hello, > > Hyungwon, please check my last chang

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-17 Thread li.xi...@freescale.com
Hi Albert, > > > > > > +#if defined(CONFIG_ARMV7_NONSEC) || defined(CONFIG_ARMV7_VIRT) > > > > > > +/* Setting the address at which secondary cores start from.*/ > > > > > > +void smp_set_core_boot_addr(unsigned long addr, int corenr) > > > > > > +{ > > > > > > + struct ccsr_gur __iomem *gur =

Re: [U-Boot] [PATCH v8 2/3] Odroid-XU3: Add support for Odroid-XU3

2014-11-17 Thread Hyungwon Hwang
Dear Przemyslaw Marczak, > > +/* > > + * FIXME: The number of bank is actually 8. But there is no way to > > reserver the > > + * last 16 Mib in the last bank now. So I just excluded the last > > bank > > + * temporally. > > + */ > > It's not prober solution, since non-dt kernel could get wrong D

Re: [U-Boot] [PATCH v3 1/3] stv0991: Add basic stv0991 architecture support

2014-11-17 Thread Vikas MANOCHA
Thanks Albert, I rebased the patchset on current master today & submitted the v4. Rgds, Vikas > -Original Message- > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > Sent: Wednesday, November 12, 2014 1:08 AM > To: Vikas MANOCHA > Cc: u-boot@lists.denx.de; vk.vi...@gmail.com > S

[U-Boot] [PATCH v4 4/4] stv0991: add maintainer information

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changes in v4: - added maintainers info MAINTAINERS |6 ++ board/st/stv0991/MAINTAINERS |5 + 2 files changed, 11 insertions(+) create mode 100644 board/st/stv0991/MAINTAINERS diff --git a/MAINTAINERS b/MAINTAINERS index c8386a

[U-Boot] [PATCH v4 2/4] stv0991: enable ethernet support

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changes in v4: None Changes in v3: - removed period from commit message Changes in v2: None arch/arm/cpu/armv7/stv0991/clock.c | 14 arch/arm/cpu/armv7/stv0991/pinmux.c| 14 arch/arm/include/asm/arch-stv099

[U-Boot] [PATCH v4 3/4] stv0991: default + misc command configs enabled

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- Changes in v4: None Changes in v3: - removed period from commit message Changes in v2: None include/configs/stv0991.h | 21 +++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/include/configs/stv0991.h b/include/configs/stv09

[U-Boot] [PATCH v4 1/4] stv0991: Add basic stv0991 architecture support

2014-11-17 Thread Vikas Manocha
stv0991 architecture support added. It contains the support for following blocks - Timer - uart Signed-off-by: Vikas Manocha --- Changes in v4: - added maintainers info - rebased to current master Changes in v3: - removed period from commit message Changes in v2: - corrected files license to

[U-Boot] [PATCH v4 0/4] add support for new arch stv0991

2014-11-17 Thread Vikas Manocha
This patchset add support for new arch stv0991. Changes in v4: - rebased to current master - added maintainers info Changes in v3: - removed period from commit messages Changes in v2: - corrected files license to GPL-2.0+ - replaced printf() usage with puts() for string print - sorted sourcing

[U-Boot] [PATCH 4/5] serial: pl01x: disable as per type of pl01x

2014-11-17 Thread Vikas Manocha
pl010 & pl011 have different control register offsets, setting it as per the pl01x type. Signed-off-by: Vikas Manocha --- drivers/serial/serial_pl01x.c |7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c inde

[U-Boot] [PATCH 0/5] PL01x: baudrate & line control fixes

2014-11-17 Thread Vikas Manocha
This patchset fixes the pl01x driver esp for pl011 baudrate & line control. Vikas Manocha (5): serial: pl01x: pass pl01x_type to set baudrate serial: pl01x: fix pl011 baud rate configuration serial: pl01x: move all line control at same place serial: pl01x: disable as per type of pl01x se

[U-Boot] [PATCH 1/5] serial: pl01x: pass pl01x_type to set baudrate

2014-11-17 Thread Vikas Manocha
Although we were checking the pl01x type, seems like PL010 type was being passed by mistake. Signed-off-by: Vikas Manocha --- drivers/serial/serial_pl01x.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c index 3

[U-Boot] [PATCH 2/5] serial: pl01x: fix pl011 baud rate configuration

2014-11-17 Thread Vikas Manocha
UART_IBRD, UART_FBRD, and UART_LCR_H form a single 30-bit wide register which is updated on a single write strobe generated by a UART_LCR_H write. So, to internally update the content of UART_IBRD or UART_FBRD, a write to UART_LCR_H must always be performed at the end. Signed-off-by: Vikas Manocha

[U-Boot] [PATCH 3/5] serial: pl01x: move all line control at same place

2014-11-17 Thread Vikas Manocha
Receive line control uses same setting as transmit line control, also one lcrh write is effective for both baud rate & receive line control internal update. Signed-off-by: Vikas Manocha --- drivers/serial/serial_pl01x.c | 40 +++- 1 file changed, 19 insertio

[U-Boot] [PATCH 5/5] serial: pl01x: avoid pl01x type check two times

2014-11-17 Thread Vikas Manocha
Signed-off-by: Vikas Manocha --- drivers/serial/serial_pl01x.c | 15 ++- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/drivers/serial/serial_pl01x.c b/drivers/serial/serial_pl01x.c index 758684f..3fc1db5 100644 --- a/drivers/serial/serial_pl01x.c +++ b/drivers/serial

[U-Boot] [PATCH v2] odroid: Turn blue LED on

2014-11-17 Thread Suriyan Ramasami
To indicate that U-Boot is active, turn on the blue LED. Signed-off-by: Suriyan Ramasami --- Changes in v2: - Przemyslaw Marczak, Add gpio_request call. Changes in v1: - First try board/samsung/odroid/odroid.c | 5 + 1 file changed, 5 insertions(+) diff --git a/board/samsung/odroid/odro

Re: [U-Boot] [PATCH v3 4/8] common: spl: Add interactive DDR debugger support for SPL image

2014-11-17 Thread York Sun
On 10/27/2014 06:48 PM, Wang Huan-B18965 wrote: > Hello, Albert, > >>> --- >>> Change log: >>> v3: Gave more explaination in the commit. >>> v2: No change. >> >> This does not apply cleanly. Could you rebase and resubmit? > [Alison Wang] ok, I will rebase and resubmit the set. Thanks. > Alis

[U-Boot] [PATCH v8 3/6] ext4: Prepare API change for files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
Change the internal EXT4 functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami Acked-by: Simon Glass --- Changes in v8: - None Changes in v7: - Split this patch for bisectability. Changes in v6: None Changes in v5: None common/cmd_ext4.c | 61 +++

[U-Boot] [PATCH v8 4/6] sandbox: Prepare API change for files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
Change the internal sandbox functions to use loff_t for file offsets. Signed-off-by: Suriyan Ramasami Acked-by: Simon Glass --- Changes in v8: - Simon, use variable size consistently across all changes. Changes in v7: - Simon, split this as a separate commit Changes in v6: None Changes in v

[U-Boot] [PATCH v8 5/6] fs: API changes enabling extra parameter to return size of type loff_t

2014-11-17 Thread Suriyan Ramasami
The sandbox/ext4/fat/generic fs commands do not gracefully deal with files greater than 2GB. Negative values are returned in such cases. To handle this, the fs functions have been modified to take an additional parameter of type "* loff_t" which is then populated. The return value of the fs functi

[U-Boot] [PATCH v8 2/6] fat: Prepare API change for files greater than 2GB

2014-11-17 Thread Suriyan Ramasami
Change the internal FAT functions to use loff_t for offsets. Signed-off-by: Suriyan Ramasami Acked-by: Simon Glass --- Changes in v8: - Simon - indentation fixes Changes in v7: - Separate this patch out Changes in v6: None Changes in v5: None common/cmd_fat.c | 9 ++-- common/env_fat.

[U-Boot] [PATCH v8 6/6] sandbox: script for testing sandbox/ext4/fat/fs commands

2014-11-17 Thread Suriyan Ramasami
Test size/read/write commands in a sandbox environment. Signed-off-by: Suriyan Ramasami Acked-by: Simon Glass --- Changes in v8: None Changes in v7: - Simon comments - take care of fat/vfat in mkfs - fs/nonfs test code repeats, put it in function Changes in v6: - Update expected results in c

[U-Boot] [PATCH v8 1/6] sandbox: Use md5sum and fatwrite to enable testing of fs commands

2014-11-17 Thread Suriyan Ramasami
Enable md5sum to obtain the MD5 of the read and written files to check their contents for validity. Use map_sysmem() to map buffer in a sandbox environment. Signed-off-by: Suriyan Ramasami Acked-by: Simon Glass --- Changes in v8: - No changes. Changes in v7: - Add Ack Changes in v6: - Split

Re: [U-Boot] [PATCH v4 2/2] sunxi: video: Add simplefb support

2014-11-17 Thread Ian Campbell
On Mon, 2014-11-17 at 16:48 +0100, Hans de Goede wrote: > From: Luc Verhaegen > > Add simplefb support, note this depends on the kernel having support for > the clocks property which has recently been added to the simplefb devicetree > binding. > > Signed-off-by: Luc Verhaegen > [hdego...@redha

Re: [U-Boot] [PATCH 5/5] sun6i: Add new CSQ_CS908 board

2014-11-17 Thread Ian Campbell
On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > The CSQ CS908 is an A31s based top-set box, with 1G RAM, 8G NAND, > rtl8188etv usb wifi, 2 USB A receptacles (1 connected through the OTG > controller), ethernet, 3.5 mm jack with a/v out and hdmi out: > > http://www.geekbuying.com/item/CS9

Re: [U-Boot] [PATCH 4/5] sun6i: Drop some "unknown magic" from dram init

2014-11-17 Thread Ian Campbell
On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > This bit of code is the rtc ram being used to detect coming out of > "super-standby" mode, and if that is the case, going out of self-refresh mode. > > Since we do not support "super-standby" mode, this can be dropped. > > Signed-off-by: H

Re: [U-Boot] [PATCH 3/5] sun6i: dram: Do not try to initialize a second dram chan on A31s

2014-11-17 Thread Ian Campbell
On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > The A31s only has one dram channel, so do not bother with trying to initalize "initialize" > a second channel. > > Signed-off-by: Hans de Goede > --- > arch/arm/cpu/armv7/sunxi/Makefile | 2 +- > arch/arm/cpu/armv7/sunxi/dram_sun6i

Re: [U-Boot] [PATCH 2/5] sun6i: Add sunxi_get_ss_bonding_id() function

2014-11-17 Thread Ian Campbell
On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > Add a sunxi_get_ss_bonding_id() function, and use it to differentiate between > the A31s and the A31. > > Signed-off-by: Hans de Goede Acked-by: Ian Campbell ___ U-Boot mailing list U-Boot@li

Re: [U-Boot] [PATCH 1/5] sun6i: Make dram clk and zq value Kconfig options

2014-11-17 Thread Ian Campbell
On Sun, 2014-11-16 at 17:16 +0100, Hans de Goede wrote: > +config DRAM_ZQ > + int "sun6i dram zq value" if EXPERT > + default 123 == 0x7b, which differs from the previous default of 0x78 (not by much, but still) > diff --git a/configs/Colombus_defconfig b/configs/Colombus_defconfig > ind

Re: [U-Boot] [PATCH v4 2/2] sunxi: video: Add simplefb support

2014-11-17 Thread Simon Glass
Hi Hans, On 17 November 2014 15:48, Hans de Goede wrote: > From: Luc Verhaegen > > Add simplefb support, note this depends on the kernel having support for > the clocks property which has recently been added to the simplefb devicetree > binding. > > Signed-off-by: Luc Verhaegen > [hdego...@redh

Re: [U-Boot] [PATCH v4 1/2] fdt_support: Add a fdt_setup_simplefb_node helper function

2014-11-17 Thread Simon Glass
Hi Hans, On 17 November 2014 15:48, Hans de Goede wrote: > Add a generic helper to fill and enable simplefb nodes. > > The first user of this will be the sunxi display code. > > lcd_dt_simplefb_configure_node is also a good candidate to be converted > to use this, but that requires someone to run

Re: [U-Boot] [PATCH v2 04/17] dm: fdt: Correct handling of aliases with embedded digits

2014-11-17 Thread Tom Rini
On Mon, Nov 17, 2014 at 05:57:43AM +, Simon Glass wrote: > Hi Tom, > > On 17 November 2014 00:46, Tom Rini wrote: > > > > On Tue, Nov 11, 2014 at 10:46:20AM -0700, Simon Glass wrote: > > > > > Since we scan from left to right looking for the first digit, "i2c0" > > > returns > > > 2 instead

Re: [U-Boot] [PATCH v3 01/30] vsprintf: Add modifier for phys_addr_t

2014-11-17 Thread Simon Glass
On 17 November 2014 10:18, Thierry Reding wrote: > Hi Simon, > > Thanks for taking this over. Besides the three small nitpicks (which > aren't really blockers, so feel free to ignore) this looks like what I > would've done had I respun the series. Great - thanks for going through this. - Simon _

Re: [U-Boot] [PATCH v3 05/30] power: Add AMS AS3722 PMIC support

2014-11-17 Thread Simon Glass
Hi Thierry, On 17 November 2014 10:04, Thierry Reding wrote: > On Wed, Nov 12, 2014 at 06:26:51PM -0700, Simon Glass wrote: > [...] >> diff --git a/drivers/power/as3722.c b/drivers/power/as3722.c > [...] >> +int as3722_init(struct udevice **devp) >> +{ >> + struct udevice *pmic; >> + u8 i

Re: [U-Boot] [PATCH 6/8] dm: core: look up drivers more efficiently

2014-11-17 Thread Simon Glass
Hi Masahiro, On 17 November 2014 11:49, Masahiro Yamada wrote: > Hi Simon, > > > On Mon, 17 Nov 2014 09:22:19 + > Simon Glass wrote: >> > --- a/drivers/core/device.c >> > +++ b/drivers/core/device.c >> > @@ -157,11 +157,9 @@ int device_bind_by_name(struct udevice *parent, bool >> > pre_relo

Re: [U-Boot] [PATCH 2/8] dm: core: remove meaningless if conditional

2014-11-17 Thread Simon Glass
Hi Masahiro, On 17 November 2014 11:19, Masahiro Yamada wrote: > Hi Simon, > > > > On Mon, 17 Nov 2014 09:14:15 + > Simon Glass wrote: > >> Hi Masahiro, >> >> On 17 November 2014 08:19, Masahiro Yamada wrote: >> > If the variable "ret" is equal to "-ENOENT", it is trapped at [1] and >> > ne

Re: [U-Boot] [RFC] How to get "#address-cells" in U-Boot?

2014-11-17 Thread Simon Glass
Hi Masahiro, On 17 November 2014 11:02, Masahiro Yamada wrote: > > Hi. > > > > > Another question. > > > > Can U-boot handle the address transformation? > > > > If the upper "bus" node has "ranges" property, > > it must also be checked to get the correct base address, I think. > > > I take this q

Re: [U-Boot] [PATCH 8/8] dm: core: abolish u-boot, dm-pre-reloc property

2014-11-17 Thread Simon Glass
Hi Masahiro, On 17 November 2014 08:19, Masahiro Yamada wrote: > The driver model provides two ways to pass the device information, > platform data and device tree. Either way works to bind devices and > drivers, but there is inconsistency in terms of how to pass the > pre-reloc flag. > > In the

Re: [U-Boot] loadb problem. (was: Hangs on START_CHAR)

2014-11-17 Thread bomellberg
Sorry for the confusion. Using an rs232 sniffer I found that the Start_char IS sent to the PC, see some posts ago. Fyi, "loady" also works. It types 'C' every 4 seconds until I start the ymodem transfer, and then it uploads the code ok. When using "loadb", I can see on the scope that data is bein

Re: [U-Boot] [PATCH 1/3] 85xx/b4860: Add alternate serdes protocols for B4860/B4420

2014-11-17 Thread York Sun
On 11/12/2014 02:32 AM, Shaveta Leekha wrote: > Addded Alternate options with LC VCO for following protocols: > 0x02 --> 0x01 > 0x08 --> 0x07 > 0x18 --> 0x17 > 0x1E --> 0x1D > 0x49 --> 0x48 > 0x6F --> 0x6E > 0x9A --> 0x99 > 0x9E --> 0x9D > > Signed-off-by: Shaveta Leekha > Signed-off-by: Poonam A

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread Wolfgang Denk
Dear Bo, In message <1416231868926-196549.p...@n7.nabble.com> you wrote: > > I keep coming back to the fact that "loads" works fine in 115200 baud, but > "loadb" does not. This is the funny part of it. > If there is indeed a timing issue, it must be some handshaking in the Kermit > protocol, ri

[U-Boot] [PATCH v4 2/2] sunxi: video: Add simplefb support

2014-11-17 Thread Hans de Goede
From: Luc Verhaegen Add simplefb support, note this depends on the kernel having support for the clocks property which has recently been added to the simplefb devicetree binding. Signed-off-by: Luc Verhaegen [hdego...@redhat.com: Use pre-populated simplefb node under /chosen as disussed on the

[U-Boot] [PATCH v4 1/2] fdt_support: Add a fdt_setup_simplefb_node helper function

2014-11-17 Thread Hans de Goede
Add a generic helper to fill and enable simplefb nodes. The first user of this will be the sunxi display code. lcd_dt_simplefb_configure_node is also a good candidate to be converted to use this, but that requires someone to run some tests first, as lcd_dt_simplefb_configure_node does not honor #

[U-Boot] [PATCH v4 0/2] sunxi: video: Add simplefb support

2014-11-17 Thread Hans de Goede
Hi All, Here is v4 of my sunxi simplefb support set. Changes since v3: -Added a fdt_setup_simplefb_node() helper function (new patch) -Changed how u-boot finds the pre-populated simplefb node to use a compatible string Changes since v2: -Detect and handle address and size #cells Changes since

[U-Boot] [PATCH 1/2] SPI: Add S25FL064A and S25FL116K flash information

2014-11-17 Thread Ben Dooks
From: Adnan Ali Add S25FL064A and S25FL116K flash indentifiers. Signed-off-by: Adnan Ali --- drivers/mtd/spi/sf_params.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 61545ca..462e5c2 100644 --- a/drivers/mtd/spi/sf_params

[U-Boot] SPI flash ID patches

2014-11-17 Thread Ben Dooks
These are a pair of patches adding some SPI flashes that were evaluated on a Marvell Kirkwood system. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH 2/2] SPI: Add S25FL164K flash identifier info

2014-11-17 Thread Ben Dooks
Add the necessary flash entry for the Spansion S25FL164K flash. Tested on Marvell 88F6218 based design. Signed-off-by: Ben Dooks --- drivers/mtd/spi/sf_params.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/mtd/spi/sf_params.c b/drivers/mtd/spi/sf_params.c index 462e5c2..c1f243b 10

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-17 Thread Grant Likely
On Mon, Nov 17, 2014 at 10:14 AM, Ian Campbell wrote: > On Mon, 2014-11-17 at 09:58 +, Grant Likely wrote: >> I /DO/ want comments though. Putting the node in /chosen is >> unconventional. I want to hear if anyone has a good reason why the >> framebuffers shouldn't be placed into /chosen. > >

Re: [U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-17 Thread Hans de Goede
Hi, On 11/17/2014 03:52 PM, Tom Rini wrote: > On Thu, Nov 13, 2014 at 07:38:50PM +0100, Hans de Goede wrote: >> Hi, >> >> On 11/13/2014 07:34 PM, Tom Rini wrote: >>> On Thu, Nov 13, 2014 at 07:08:59PM +0100, Hans de Goede wrote: Hi all, So as you know I've been working on getting ma

Re: [U-Boot] Booting non devicetree enabled kernels using u-boot build with CONFIG_OF_LIBFDT ?

2014-11-17 Thread Tom Rini
On Thu, Nov 13, 2014 at 07:38:50PM +0100, Hans de Goede wrote: > Hi, > > On 11/13/2014 07:34 PM, Tom Rini wrote: > > On Thu, Nov 13, 2014 at 07:08:59PM +0100, Hans de Goede wrote: > >> Hi all, > >> > >> So as you know I've been working on getting mainline u-boot to boot the > >> older android deri

Re: [U-Boot] [PATCH 5/6] sunxi: video: Add simplefb support

2014-11-17 Thread Grant Likely
On Sun, Nov 16, 2014 at 4:11 PM, Ian Campbell wrote: > On Sun, 2014-11-16 at 16:11 +0100, Hans de Goede wrote: >> On 11/16/2014 03:38 PM, Ian Campbell wrote: >> > On Sun, 2014-11-16 at 14:52 +0100, Hans de Goede wrote: >> >> Hardcoding a path is deliberate. I don't know if you've read the >> >> pr

Re: [U-Boot] Pull request: u-boot-sh/master

2014-11-17 Thread Tom Rini
On Mon, Nov 17, 2014 at 01:32:59PM +0900, Nobuhiro Iwamatsu wrote: > Dear Tom Rini. > > Please pull u-boot-sh master branch. > > The following changes since commit 11ada9225a16ed2d8ddbf0715a2416245a777cbc: > > Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh > (2014-11-05 13:11:18 -0

Re: [U-Boot] Pull request: u-boot-sh/rmobile

2014-11-17 Thread Tom Rini
On Mon, Nov 17, 2014 at 01:28:02PM +0900, Nobuhiro Iwamatsu wrote: > Dear Tom Rini. > > Please pull u-boot-sh rmobile branch. > > The following changes since commit 11ada9225a16ed2d8ddbf0715a2416245a777cbc: > > Merge branch 'rmobile' of git://www.denx.de/git/u-boot-sh > (2014-11-05 13:11:18 -

Re: [U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2014-11-17 Thread Tom Rini
On Mon, Nov 17, 2014 at 01:35:20PM +0100, Andreas Bießmann wrote: > Hi Tom, > > please pull u-boot-atmel/master into u-boot/master. > > Sorry for the huge patch-list. I accidentally pulled in u-boot-arm/master > someday and pushed it. Unfortunately the pushed tree couldn't be deleted for > good

Re: [U-Boot] [PATCH v3] sunxi: video: Add simplefb support

2014-11-17 Thread Hans de Goede
Hi, On 11/17/2014 10:35 AM, Grant Likely wrote: > On Sun, Nov 16, 2014 at 7:39 PM, Hans de Goede wrote: >> From: Luc Verhaegen >> >> Add simplefb support, note this depends on the kernel having support for >> the clocks property which has recently been added to the simplefb devicetree >> binding

Re: [U-Boot] [PATCH] ARM: OMAP5: DRA7xx: Enable I2C4 and I2C5 usage on the J6Eco EVM

2014-11-17 Thread Lubomir Popov
Hi Tom, > On Fri, Nov 14, 2014 at 03:20:44PM +0200, Lubomir Popov wrote: > >> On the J6Eco EVM we have two on-board devices on the I2C5 bus; this >> bus is also routed to the camera and expansion connectors. I2C4 is >> routed to one of the expansion connectors. This patch enables usage >> of these

Re: [U-Boot] [PATCH v4 0/7] Addition of new board Peach-Pi

2014-11-17 Thread Minkyu Kang
On 14/11/14 02:08, Akshay Saraswat wrote: > Now we are adding a new Peach-Pi board which is a variant of Peach-Pit > and is based on Exynos5800. Exynos5800 itself is a variant of Exynos5420, > hence, most of the hardware config and settings are reused for this board. > > Changes since v1: >

Re: [U-Boot] [PATCH v3 0/3] exynos config updates

2014-11-17 Thread Minkyu Kang
On 09/11/14 19:44, Ian Campbell wrote: > This series rebases my exynos config_distro_*.h patches as requested. > Baseline is u-boot.git#master 11ada9225a16 (ahead of current > u-boot-samsung). > > I also included "Increase command line buffer size (CONFIG_SYS_CBSIZE)" > which was previously posted

Re: [U-Boot] [PATCH] exynos: dts: Correct USB vbus-gpio numbering for Snow

2014-11-17 Thread Minkyu Kang
On 06/11/14 19:44, Sjoerd Simons wrote: > The current vbus GPIOs on snow make very little sense, their number is > far above the maximum. As a result, USB doesn't work on snow. > > Correct the GPIO numbering so they match the current scheme for exynos5. > Tested both EHCI and XHCI to correctly wor

Re: [U-Boot] [PATCH] SMDK2410: convert to generic board

2014-11-17 Thread Minkyu Kang
On 30/10/14 17:15, David Müller wrote: > Compile-time tested only, as I currently don't have access to > the eval board. > > Signed-off-by: David Müller > --- > include/configs/smdk2410.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/configs/smdk2410.h b/include/configs/smd

Re: [U-Boot] [PATCH v3 1/3] arm: odroid: pmic77686: allow buck voltage settings

2014-11-17 Thread Minkyu Kang
On 30/10/14 01:22, Suriyan Ramasami wrote: > Allow to set the buck voltage for the max77686. > This will be used to reset the SMC LAN9730 ethernet on the odroids. > > Signed-off-by: Suriyan Ramasami > > --- > > Changes in v3: > * Correct ldo and buck validation logic > * Jaehoon/Przemyslaw - Us

Re: [U-Boot] [PATCH v3 2/3] arm: odroid: enable/disable usb host phy for exynos4412

2014-11-17 Thread Minkyu Kang
On 30/10/14 01:22, Suriyan Ramasami wrote: > Enable/disable the usb host phy on the odroid U/X2 boards which are based > on the Exynos4412 SOC. > > Signed-off-by: Suriyan Ramasami > > --- > > Changes in v3: > * Minkyu - do not mix cpu_is... and proid_is... > > Changes in v2: > * Jaehoon - sepa

Re: [U-Boot] [PATCH v3 3/3] arm: odroid: usb: add support for usb host including ethernet

2014-11-17 Thread Minkyu Kang
On 30/10/14 01:22, Suriyan Ramasami wrote: > This change adds support for enabling the USB host features of the board. > This includes the USB3503A hub and the SMC LAN9730 ethernet controller > as well. > > Signed-off-by: Suriyan Ramasami > > --- > > Changes in v3: > * removed set_usb_ethaddr()

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread bomellberg
Dear Wolfgang! Thank you for your efforts to help me out. I keep coming back to the fact that "loads" works fine in 115200 baud, but "loadb" does not. If there is indeed a timing issue, it must be some handshaking in the Kermit protocol, right? The "loads" command just absorbs data as it is tran

Re: [U-Boot] [PATCH] ARM: OMAP5: DRA7xx: Enable I2C4 and I2C5 usage on the J6Eco EVM

2014-11-17 Thread Tom Rini
On Fri, Nov 14, 2014 at 03:20:44PM +0200, Lubomir Popov wrote: > On the J6Eco EVM we have two on-board devices on the I2C5 bus; this > bus is also routed to the camera and expansion connectors. I2C4 is > routed to one of the expansion connectors. This patch enables usage > of these two buses. > >

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread Wolfgang Denk
Dear Bo, In message <1416230584402-196545.p...@n7.nabble.com> you wrote: > > The following picture shows sending the character 'U' (0x01010101): > > > > Channel 1 shows the 'U' sent from the PC. Channel 2 shows the 'U' sent as > rep

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread Wolfgang Denk
Dear Bo, In message <1416227882897-196541.p...@n7.nabble.com> you wrote: > Well, I measured TX and RX at the target. They both have the same minimum > pulse width of about 8.7 µs. > > I'm reading up on delays in c-kermit. Is there a way to set char- and line > delays somehow? You should not need

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread bomellberg
"The fastest pulse" = the time that one bit encompasses. The following picture shows sending the character 'U' (0x01010101): Channel 1 shows the 'U' sent from the PC. Channel 2 shows the 'U' sent as reply from the board, which is als

Re: [U-Boot] [PATCH v2 4/4] mx6: Use a common SPL configuration file

2014-11-17 Thread Stefano Babic
Hi Fabio, On 14/11/2014 12:37, Fabio Estevam wrote: > From: Fabio Estevam > > Many boards use a minimal .cfg file in the SPL case. > > Introduce spl_sd.cfg so that we can reuse it. > > Signed-off-by: Fabio Estevam > --- > Changes since v1: > - Newly introduced on this series > > arch/arm/im

Re: [U-Boot] [PATCH v3 3/5] ls102xa: HYP/non-sec: support for ls102xa boards

2014-11-17 Thread Albert ARIBAUD
Hello li.xi...@freescale.com, On Mon, 17 Nov 2014 02:16:11 +, li.xi...@freescale.com wrote: > Hi Albert, > > > > -Original Message- > > From: Albert ARIBAUD [mailto:albert.u.b...@aribaud.net] > > Sent: Friday, November 14, 2014 7:45 PM > > To: Xiubo Li-B47053 > > Cc: Sun York-R58495

Re: [U-Boot] [PATCH v6 2/4] mx6: thermal: Add i.MX6 CPU thermal sensor support

2014-11-17 Thread Stefano Babic
Hi Nitin, On 14/11/2014 21:13, nitin.g...@freescale.com wrote: > From: Nitin Garg > > i.MX6 SoC has onchip temperature sensor. Add driver > for this sensor. > > Signed-off-by: Nitin Garg > --- > drivers/Makefile |1 + > drivers/thermal/Makefile |8 +++ > drivers/the

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread bomellberg
Well, I measured TX and RX at the target. They both have the same minimum pulse width of about 8.7 µs. I'm reading up on delays in c-kermit. Is there a way to set char- and line delays somehow? In Tera Term for Windows you can set them but they seem to have no effect on Kermit transfers, only on

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread Wolfgang Denk
Dear Bo, In message <1416225420788-196515.p...@n7.nabble.com> you wrote: > > I measured the fastest pulse on my scope to 8.691 µs, which gives 1/(8.691 x ... Re-reading this I stumble over "the fastest pulse". Did you also verify that the bit widths are all the same? What about the stop bit se

Re: [U-Boot] loadb problem. Hangs on START_CHAR

2014-11-17 Thread Wolfgang Denk
Dear Bo, In message <1416225420788-196515.p...@n7.nabble.com> you wrote: > > Yes, those settings are all in my .kermrc setup. OK. Just checking to make sure we don;t miss anything. > I measured the fastest pulse on my scope to 8.691 µs, which gives 1/(8.691 x > 1e-6) = 115061.56 baud. Not real

[U-Boot] [PULL] u-boot-atmel/master -> u-boot/master

2014-11-17 Thread Andreas Bießmann
Hi Tom, please pull u-boot-atmel/master into u-boot/master. Sorry for the huge patch-list. I accidentally pulled in u-boot-arm/master someday and pushed it. Unfortunately the pushed tree couldn't be deleted for good reasons. I'm so sorry for the mess. The following changes since commit 2086e388d

Re: [U-Boot] [PATCH] imx:mx6sxsabresd fix pfuz probe failed

2014-11-17 Thread Stefano Babic
Hi Peng, On 16/11/2014 12:42, Peng Fan wrote: >>> Also PFUZ is connected to I2C bus 0, so change "1" -> "0". >>> >>> Using this patch PFUZ can be correctly probed: >>> "PMIC: PFUZE100 ID=0x11" >>> >>> Signed-off-by: Peng Fan >> >> Acked-by: Fabio Estevam Patch is ok for me, too. Acked-by: St

Re: [U-Boot] [U-Boot,v4,2/3] net: macb: enable GMAC IP without GE feature support

2014-11-17 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The User Register in GMAC IP is used to select interface type. >When with GE feature, it is used to select interface between >RGMII and GMII. If without GE feature, it is used to select >interface between MII and RMII. > >Signed-off-by: Bo Shen >--- > >Changes in v

Re: [U-Boot] [U-Boot,v2] ARM: atmel: add sama5d4 xplained ultra board support

2014-11-17 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The code for this board supports following features: > - Boot media support: NAND flash/SD card/SPI flash > - Support LCD display (optional, disabled by default) > - Support ethernet > - Support USB mass storage > >Signed-off-by: Bo Shen >--- >This patch based

Re: [U-Boot] [U-Boot,v4,3/3] ARM: atmel: add sama5d4ek board support

2014-11-17 Thread Andreas Bießmann
Dear Bo Shen, Bo Shen writes: >The code for this board supports following features: > - Boot media support: NAND flash/SD card/SPI flash > - Support LCD display > - Support ethernet > - Support USB mass storage > >Signed-off-by: Bo Shen >--- > >Changes in v4: > - rebase to the mainline mast

  1   2   >