[U-Boot] [PATCH 1/1] SMC91111: Fix compilation warnings

2014-02-04 Thread Bhupesh Sharma
This patch fixes the following warning messages coming out of 'drivers/net/smc9.h' when compiled for 'vexpress_aemv8a': warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Currently this issue seems to surface when SMSC is compiled for 64-bit ARMv8 platforms, so th

Re: [U-Boot] [PATCH 3/3] exynos: pinmux: remove unnecessary routine

2014-02-04 Thread Minkyu Kang
On 29/01/14 17:04, Minkyu Kang wrote: > Because of the list of peripherals is not sequential, > such a routine does not check for valid correctly. > Error check will be done when call the exynos_pinmux_config function. > > Signed-off-by: Minkyu Kang > --- > arch/arm/cpu/armv7/exynos/pinmux.c |

Re: [U-Boot] [PATCH 1/3] exynos: pinmux: sort the list of peripherals

2014-02-04 Thread Minkyu Kang
On 29/01/14 17:03, Minkyu Kang wrote: > Signed-off-by: Minkyu Kang > --- > arch/arm/include/asm/arch-exynos/periph.h |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/arch/arm/include/asm/arch-exynos/periph.h > b/arch/arm/include/asm/arch-exynos/periph.h > index 30c7f1

Re: [U-Boot] [PATCH 2/3] exynos: pinmux: remove unnecessary define

2014-02-04 Thread Minkyu Kang
On 29/01/14 17:03, Minkyu Kang wrote: > The value of PERIPH_ID_COUNT was wrong, and unnecessary. > > Signed-off-by: Minkyu Kang > --- > arch/arm/cpu/armv7/exynos/clock.c |2 +- > arch/arm/include/asm/arch-exynos/periph.h |1 - > 2 files changed, 1 insertion(+), 2 deletions(-) >

[U-Boot] [PATCH v2] zynq: Update CLK in bdinfo

2014-02-04 Thread Michal Simek
ARM has specific clk entries which should be also setup. Signed-off-by: Michal Simek --- Changes in v2: - Freq is expected to be in MHz - Use different DDR clock input arch/arm/cpu/armv7/zynq/clk.c | 5 + 1 file changed, 5 insertions(+) diff --git a/arch/arm/cpu/armv7/zynq/clk.c b/arch/ar

Re: [U-Boot] [PATCH v2 06/12] USB: gadget: added a saner gadget downloader registration API

2014-02-04 Thread Marek Vasut
On Tuesday, February 04, 2014 at 06:02:38 PM, Mateusz Zalega wrote: > Preprocessor definitions and hardcoded implementation selection in > g_dnl core were replaced by a linker list made of (usb_function_name, > bind_callback) pairs. > > Signed-off-by: Mateusz Zalega > Cc: Lukasz Majewski > Cc: M

Re: [U-Boot] [PATCH] zynq: Fix elf header generation

2014-02-04 Thread Michal Simek
On 02/04/2014 09:35 PM, Tom Rini wrote: > On Tue, Feb 04, 2014 at 04:59:45PM +0100, Michal Simek wrote: > >> This patch is here because of: >> "arm: keep all sections in ELF file" >> (sha1: 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7) >> >> Our tools expect to have elf with only LOAD header. >> Witho

Re: [U-Boot] [PATCH] zynq: Fix elf header generation

2014-02-04 Thread Michal Simek
On 02/05/2014 04:00 AM, Masahiro Yamada wrote: > Hello Michal, > > >> @@ -224,4 +226,5 @@ >> #define CONFIG_CMD_MII >> #define CONFIG_CMD_TFTPPUT >> >> + >> #endif /* __CONFIG_ZYNQ_COMMON_H */ >> -- >> 1.8.2.3 >> > > > Please do not double empty lines. Sure. Just sent v2. Thanks, Michal

[U-Boot] [PATCH v2] zynq: Fix elf header generation

2014-02-04 Thread Michal Simek
This patch is here because of: "arm: keep all sections in ELF file" (sha1: 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7) Our tools expect to have elf with only LOAD header. Without this fix also PHDR, INTERP and DYNAMIC headers are available in ELF. Signed-off-by: Michal Simek --- Changes in v2: -

[U-Boot] [PATCH] zynq: Use full tftpboot command instead of shortcut tftp

2014-02-04 Thread Michal Simek
The reason is enabling tftpput command where tftp shorcut stops to work for tftpboot. Signed-off-by: Michal Simek --- include/configs/zynq-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/configs/zynq-common.h b/include/configs/zynq-common.h index 36b9508..f0

[U-Boot] [PATCH] powerpc/t104xrdb, t1040qds : Update FMAN microcode NOR address

2014-02-04 Thread Priyanka Jain
FMAN microcode image address range on NOR flash changed from (0xeff0 to 0xebf1) to (0xeff1 to 0xeff1) The change has been done - to support FMAN microcode flashing via promjet mechanism as promjet uses address based on offsets. Based on this address of FMAN microcode flash on pro

Re: [U-Boot] [PATCH RESEND] MMC: DWMMC: Correct the CLKDIV register value

2014-02-04 Thread Rajeshwari Birje
Hi All, CCing Jaehoon Chung. Regards, Rajeshwari On Wed, Feb 5, 2014 at 10:48 AM, Rajeshwari Shinde wrote: > From: Rajeshwari S Shinde > > This patch corrects the divider value written to CLKDIV register. > Since SDCLKIN is divided inside controller by the DIVRATIO value set > in the CLKSEL re

[U-Boot] [PATCH RESEND] MMC: DWMMC: Correct the CLKDIV register value

2014-02-04 Thread Rajeshwari Shinde
From: Rajeshwari S Shinde This patch corrects the divider value written to CLKDIV register. Since SDCLKIN is divided inside controller by the DIVRATIO value set in the CLKSEL register, we need to use the same output clock value to calculate the CLKDIV value. as per user manual: cclk_in = SDCLKIN

[U-Boot] [PATCH RESEND 1/2] serial: opencores_yanu: Fix build error

2014-02-04 Thread Axel Lin
Fix build error due to missing include of serial.h and a trivial typo. Signed-off-by: Axel Lin --- Hi Tom, This patch was sent on http://lists.denx.de/pipermail/u-boot/2014-January/171093.html I don't get any feedback from NIOS2 maintainers so far. Maybe you can pick up this serial (or at least p

[U-Boot] [PATCH RESEND 2/2] serial: opencores_yanu: Avoid duplicate oc_serial_setbrg() implementation

2014-02-04 Thread Axel Lin
The implementation of oc_serial_setbrg() for CONFIG_SYS_NIOS_FIXEDBAUD and !CONFIG_SYS_NIOS_FIXEDBAUD are very similar. Add a baudrate variable and set it to either CONFIG_BAUDRATE or gd->baudrate. Then we can unify the code for both cases. Signed-off-by: Axel Lin --- drivers/serial/opencores_ya

[U-Boot] [PATCH 3/4] ARM: rpi_b: load /uEnv.txt from MMC at startup

2014-02-04 Thread Stephen Warren
The Pi has no flash to store an environment in the usual fashion. However, the user may wish to customize the environment. We know that the SD card must be present, since that's where the boot ROM has loaded U-Boot from. So, load uEnv.txt from there early during boot. This allows the user to e.g. c

[U-Boot] [PATCH 1/4] pxe: allow compilation when !defined(CONFIG_CMD_NET)

2014-02-04 Thread Stephen Warren
pxe.c provides both the "pxe" command which relies on a network, and the "sysboot" command which doesn't. Fix the file to compile when network support isn't enabled. This is useful e.g. on the Raspberry Pi which has no network support yet, but will soon support the sysboot command. Signed-off-by:

[U-Boot] [PATCH 2/4] ARM: rpi_b: convert to use distro defaults

2014-02-04 Thread Stephen Warren
Modify the rpi_b board to include the "distro defaults" header, so that all the config options distros expect are enabled. Remove any #defines that enable the same options from the rpi_b.h. Signed-off-by: Stephen Warren --- Patches 2/4 and 4/4 depend on various patches in u-boot/master, so that w

[U-Boot] [PATCH 4/4] ARM: rpi_b: rework boot scripts, enable sysboot

2014-02-04 Thread Stephen Warren
Rework rpi_b's bootcmd (and sub-commands) to match Tegra's bootcmd as much as possible. This will aid in a future patch which will create a common header e.g. config_distro_bootcmd.h. While at it, enable booting from extlinux.conf using the sysboot command. The iteration and componentization curr

Re: [U-Boot] [PATCH v9 0/38] Switch over to real Kbuild

2014-02-04 Thread Masahiro Yamada
Hello Otavio, > Does this version address Simon's build time increase? Or did it been > identified? Updates in v9 are unrelated with Simon's anxiety about Kbuild performance. In my view, preformance regression by Kbuild is not so big. And its cause was identified. Please read my analysis. http

Re: [U-Boot] [PATCH] zynq: Fix elf header generation

2014-02-04 Thread Masahiro Yamada
Hello Michal, > @@ -224,4 +226,5 @@ > #define CONFIG_CMD_MII > #define CONFIG_CMD_TFTPPUT > > + > #endif /* __CONFIG_ZYNQ_COMMON_H */ > -- > 1.8.2.3 > Please do not double empty lines. Best Regards Masahiro Yamada ___ U-Boot mailing list U-Boo

Re: [U-Boot] [PATCH 4/6] usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver

2014-02-04 Thread Marek Vasut
On Tuesday, February 04, 2014 at 10:49:24 PM, Lukasz Majewski wrote: [...] > > > Maybe other ARM architectures shall have the cache management code > > > updated to work in a similar way to cache_v7.c ? > > > > Not all CPUs are ARM architecture ... there're others, you know ;-) > : > :-) ... but

[U-Boot] [PATCH v3 2/3] dts: move device tree sources to arch/$(ARCH)/dts/

2014-02-04 Thread Masahiro Yamada
Unlike Linux Kernel, U-Boot historically had *.dts files under board/$(VENDOR)/dts/ and *.dtsi files under arch/$(ARCH)/dts/. I think arch/$(ARCH)/dts dicretory is a better location to store both *.dts and *.dtsi files. For example, before this commit, board/xilinx/dts directory had both Microbla

[U-Boot] [PATCH v3 3/3] dts: generate multiple device tree blobs

2014-02-04 Thread Masahiro Yamada
It is convenient to have all device trees on the same SoC compiled. It allows for later easy repackaging without the need to re-run the make file. - Build device trees with the same SoC under arch/$(ARCH)/dts - Copy the one specified by CONFIG_DEFAULT_DEVICE_TREE or DEVICE_TREE=... to dts

[U-Boot] [PATCH v3 1/3] dts: re-write dts/Makefile more simply with Kbuild

2014-02-04 Thread Masahiro Yamada
Useful rules in scripts/Makefile.lib allows us to easily generate a device tree blob and wrap it in assembly code. We do not need to parse a linker script to get output format and arch. This commit deletes ./u-boot.dtb since it is a copy of dts/dt.dtb. Signed-off-by: Masahiro Yamada --- Change

[U-Boot] [PATCH v3 0/3] Simplify dts/Makefile and support multiple DTBs generation

2014-02-04 Thread Masahiro Yamada
1/3 re-writes dts/Makefile more simply. It does not change the behavior except removal of ./u-boot.dts 2/3 moves *.dts from board/$(VENDOR)/dts to arch/$(ARCH)/dts 3/3 adds multipe DTBs generation (Multiple DTBs generation was suggested by Simon.) This patch uses my Kbuild series as a prerequis

Re: [U-Boot] [PATCH] ARM: rpi_b: set $fdtfile in default environment

2014-02-04 Thread Stephen Warren
On 01/28/2014 10:41 PM, Stephen Warren wrote: > U-Boot names the Raspberry Pi board rpi_b. This means that the common > expression for DTB filename ${soc}-${board}.dtb expands to > bcm2835-rpi_b.dtb. However, the DTB generated by the Linux kernel is > bcm2835-rpi-b.dtb. Set $fdtfile in U-Boot's env

Re: [U-Boot] [PATCH] ARM: bcm2835: config.mk isn't needed

2014-02-04 Thread Stephen Warren
On 01/28/2014 10:42 PM, Stephen Warren wrote: > The entries in config.mk were needed so that U-Boot could be built > with an old version of the Raspberry Pi Foundation's toolchain. Without > them, the build would error out with: > > ...-ld: error: .../libgcc.a(_bswapsi2.o) uses VFP register argume

[U-Boot] [PATCH v2 1/3] kernel-doc: move kernel-doc tools to scripts/

2014-02-04 Thread Masahiro Yamada
tools/kernel-doc/docproc.c and tools/kernel-doc/kernel-doc are files imported from Linux Kernel. They originally resided under scripts/ directory in Linux Kernel. This commit moves them to the original location. Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- Changes in v2: - fix t

[U-Boot] [PATCH v2 2/3] kernel-doc: update kernel-doc related files to Linux v3.13

2014-02-04 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Acked-by: Simon Glass --- Changes in v2: - update also .gitignore doc/DocBook/.gitignore | 1 - doc/DocBook/stylesheet.xsl | 1 - scripts/docproc.c | 72 +++- scripts/kernel-doc | 74 +++

[U-Boot] [PATCH v2 3/3] kernel-doc: fix some errors

2014-02-04 Thread Masahiro Yamada
- Delete fs.xml from DOCBOOKS to fix an error. Commit e3ff797c added fs.xml to DOCBOOKS but missed to add doc/DocBook/fs.tmpl. - Fix the location of include guard in include/linker_lists.h. Signed-off-by: Masahiro Yamada Reported-by: Abraham Varricatt Acked-by: Simon Glass --- Th

[U-Boot] [PATCH v2 0/3] Adjust and fix kernel-doc

2014-02-04 Thread Masahiro Yamada
"make %docs" have not worked for a while. This problem was reported by Abraham Varricatt. "make htmldocs" gives error: http://u-boot.10912.n7.nabble.com/quot-make-htmldocs-quot-gives-error-td168840.html This series adjusts kernel doc stuff to the current build system and fixes errors. By applyi

[U-Boot] [PATCH] .gitignore: drop include/asm from ignored file list

2014-02-04 Thread Masahiro Yamada
Commit bb02c536 stopped creaing a symbolic link include/asm. Signed-off-by: Masahiro Yamada --- include/.gitignore | 1 - 1 file changed, 1 deletion(-) diff --git a/include/.gitignore b/include/.gitignore index 7cd3e90..bf142fc 100644 --- a/include/.gitignore +++ b/include/.gitignore @@ -1,5 +1

[U-Boot] pull request for u-boot-tegra/master into ARM/master

2014-02-04 Thread Tom Warren
Albert, Please pull u-boot-tegra/master into ARM/master. Thanks! ./MAKEALL -s tegra AOK, checkpatch.pl is clean, and ./MAKEALL -a arm only shows failures that were already present in ARM/master. The following changes since commit e97f9d817e600cd6f43d1d0da76f5787e33a5c56: Merge branch 'u-boot-

[U-Boot] [PATCH V3 2/3] ARM: tegra: rework boot scripts

2014-02-04 Thread Stephen Warren
From: Stephen Warren Update the common Tegra boot scripts in the default environment to a) Make use of the new "exists" shell command to avoid some error messges. b) Allow booting using the sysboot command and extlinux.conf. This allows easy creation of boot menus, and provides a simple i

[U-Boot] [PATCH V3 1/3] ARM: tegra: convert tegra to use distro defaults

2014-02-04 Thread Stephen Warren
From: Stephen Warren Modify all Tegra boards to include the "distro defaults" header, so that all the config options distros expect are enabled. Remove any #defines that enable the same options from the Tegra files. Signed-off-by: Stephen Warren --- v3: No change. v2: No change. Note: These pa

[U-Boot] [PATCH V3 3/3] ARM: tegra: implement bootcmd_pxe

2014-02-04 Thread Stephen Warren
From: Stephen Warren This retrieves a PXE config file over the network, and executes it. This allows an extlinux config file to be retrieved over the network and executed, whereas the existing bootcmd_dhcp retrieves a U-Boot script. Signed-off-by: Stephen Warren --- v3: No change. v2: No chang

Re: [U-Boot] [PATCH V2 2/2] config: add config_distro_defaults.h

2014-02-04 Thread Tom Rini
On Tue, Feb 04, 2014 at 05:25:47AM -0600, Dennis Gilmore wrote: > describe a set of default features that distros can rely on being available. > having this common definition means that distros can easily support systems > implementing them. > > Signed-off-by: Dennis Gilmore Applied to u-boot/m

Re: [U-Boot] [PATCH V2 1/2] cmd_pxe.c add any option for filesystem with sysboot uses generic load

2014-02-04 Thread Tom Rini
On Tue, Feb 04, 2014 at 05:25:46AM -0600, Dennis Gilmore wrote: > Signed-off-by: Dennis Gilmore Applied to u-boot/master, thanks! -- Tom signature.asc Description: Digital signature ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/

Re: [U-Boot] [PATCH][v3] powerpc/mpc85xx: SECURE BOOT- Add secure boot target for B4860QDS

2014-02-04 Thread Scott Wood
On Tue, 2014-02-04 at 01:41 -0600, Bansal Aneesh-B39320 wrote: > > -Original Message- > > From: Wood Scott-B07421 > > Sent: Tuesday, February 04, 2014 4:32 AM > > To: Bansal Aneesh-B39320 > > Cc: u-boot@lists.denx.de; Sun York-R58495; Gupta Ruchika-R66431 > > Subject: Re: [PATCH][v3] powerp

Re: [U-Boot] [PATCH V4 12/12] fat: implement exists() for FAT fs

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:10PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This hooks into the generic "file exists" support added in an earlier > patch, and provides an implementation for the FAT filesystem. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass Applied t

Re: [U-Boot] [PATCH V4 11/12] ext4: implement exists() for ext4fs

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:09PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This hooks into the generic "file exists" support added in an earlier > patch, and provides an implementation for the ext4 filesystem. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass Applied

Re: [U-Boot] [PATCH V4 10/12] sandbox: enable CONFIG_CMD_FS_GENERIC

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:08PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Since the generic ls command no longer segfaults sandbox, enable it. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass Applied to u-boot/master, thanks! -- Tom signature.asc Description: Di

Re: [U-Boot] [PATCH 4/6] usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver

2014-02-04 Thread Lukasz Majewski
On Tue, 4 Feb 2014 21:21:16 +0100 Marek Vasut wrote: > On Tuesday, February 04, 2014 at 08:29:49 AM, Lukasz Majewski wrote: > > Hi Marek, > > > > > On Monday, February 03, 2014 at 12:06:59 PM, Lukasz Majewski > > > wrote: > > > > Hi Marek, > > > > > > > > > On Saturday, February 01, 2014 at 12:

Re: [U-Boot] [PATCH V4 06/12] cmd_test: implement ! on sub-expressions

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:04PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Currently, ! can only be parsed as the first operator in an expression. > This prevents the following from working: > > $ if test ! ! 1 -eq 1; then echo yes; else echo no; fi > yes > $ if test ! 1 -eq 2 -

Re: [U-Boot] [PATCH V4 09/12] sandbox: implement exists() function

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:07PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This hooks into the generic "file exists" support added in an earlier > patch, and provides an implementation for the sandbox test environment. > > Signed-off-by: Stephen Warren > Acked-by: Simon Glass

Re: [U-Boot] [PATCH V4 08/12] cmd_test: implement -e test for file existence

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:06PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This is much like a regular shell's -e operator, except that it takes > multiple arguments to specify the device type and device/partition ID > in addition to the usual filename: > > if test -e mmc 0:1 /

Re: [U-Boot] [PATCH V4 02/12] fs: implement infrastructure for an 'exists' function

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:00PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This could be used in scripts such as: > > if test -e mmc 0:1 /boot/boot.scr; then > load mmc 0:1 ${scriptaddr} /boot/boot.scr > source ${scriptaddr} > fi > > rather than: > > if load mmc 0:1 ${

Re: [U-Boot] [PATCH V4 05/12] cmd_test: check for binary operators before unary

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:03PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This better mirrors the behaviour of bash, for example: > > $ if test -z = -z; then echo yes; else echo no; fi > yes > > This is parsed as a string comparison of "-z" and "-z", since the check > for the

Re: [U-Boot] [PATCH V4 04/12] cmd_test: use table lookup for parsing

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:02PM -0700, Stephen Warren wrote: > From: Stephen Warren > > do_test() currently uses strcmp() twice to determine which operator is > present; once to determine how many arguments the operator needs, then > a second time to actually decode the operator and implement

Re: [U-Boot] [PATCH V4 07/12] cmd_test: evaluate to false without any arguments

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:05PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This emulates bash: > $ if test; then echo yes; else echo no; fi > no > > Currently, the code sets expr = -1 in this case, which gets mapped to > 0 (true) at the end of do_test() by the logical -> shell e

Re: [U-Boot] [PATCH V4 03/12] fs: don't pass NULL dev_desc to most filesystems

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:21:01PM -0700, Stephen Warren wrote: > From: Stephen Warren > > FAT and ext4 expect that the passed in block device descriptor not be > NULL. This causes problems on sandbox, where get_device_and_partition() > succeeds for the "host" device, yet passes back a NULL devi

Re: [U-Boot] [PATCH V4 01/12] fs: fix generic save command implementation

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:20:59PM -0700, Stephen Warren wrote: > From: Stephen Warren > > Fix a few issues with the generic "save" shell command, and fs_write() > function. > > 1) fstypes[].write wasn't filled in for some file-systems, and isn't >checked when used, which could cause crashe

Re: [U-Boot] [PATCH 2/2] unit-test: add lots of tests for the Hush 'test' command

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:24:24PM -0700, Stephen Warren wrote: > From: Stephen Warren > > I recently re-wrote cmd_test() to add new features. Add a bunch of unit- > tests to make sure I didn't break anything. > > Suggested-by: Simon Glass > Signed-off-by: Stephen Warren Applied to u-boot/ma

Re: [U-Boot] [PATCH 1/2] unit-test: fix 'env default' invocation

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 01:24:23PM -0700, Stephen Warren wrote: > From: Stephen Warren > > "env default -f" doesn't work any more; replace it with > "env default -f -a". This avoids the following when running the ut > command: > > do_ut_cmd: Testing commands > env - environment handling command

Re: [U-Boot] README: document CONFIG_CMD_FS_GENERIC

2014-02-04 Thread Tom Rini
On Fri, Jan 24, 2014 at 08:46:37PM -0700, Stephen Warren wrote: > From: Stephen Warren > > This enables generic filesystem commands such as load and ls, which > automatically work with multiple filesystem types, without having to > be told which is present, unlike e.g. ext2load, fatls. > > Sign

Re: [U-Boot] [PATCH V2 2/2] pxe: implement fdtdir extlinux.conf tag

2014-02-04 Thread Tom Rini
On Tue, Jan 28, 2014 at 02:50:10PM -0700, Stephen Warren wrote: > From: Stephen Warren > > People who write (or scripts that auto-generate) extlinux.conf don't > want to know about HW-specific information such as FDT filenames. Create > a new extlinux.conf tag "fdtdir" that specifies only the di

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

2014-02-04 Thread Tom Rini
On Mon, Feb 03, 2014 at 09:04:42AM -0800, York Sun wrote: > Tom, > > The following changes since commit 07e2822d158940a0e8ba45b6ab0344ffa1011a07: > > board: nios2: Check if flash is configured before calling > early_flash_cmd_reset() (2014-01-29 16:44:18 -0500) > > are available in the git re

Re: [U-Boot] [PATCH V2 1/2] pxe: support "devicetree" tag

2014-02-04 Thread Tom Rini
On Tue, Jan 28, 2014 at 02:50:09PM -0700, Stephen Warren wrote: > From: Stephen Warren > > The specification for extlinux.conf[1] states that "fdt" is an alias for > "devicetree". To date, U-Boot only implements "fdt". Rectify that. > > [1] http://freedesktop.org/wiki/Specifications/BootLoaderS

Re: [U-Boot] [GIT PULL] Microblaze/Zynq network fixes

2014-02-04 Thread Tom Rini
On Tue, Feb 04, 2014 at 04:47:39PM +0100, Michal Simek wrote: > Hi Joe, > > I have two pending patches for xilinx ethernet drivers. > Can you please add them to your net tree? > > Thanks, > Michal > > > The following changes since commit b44bd2c73c4cfb6e3b9e7f8cf987e8e39aa74a0b: > > Prepare

Re: [U-Boot] [GIT PULL] Uartlite patch

2014-02-04 Thread Tom Rini
On Tue, Feb 04, 2014 at 04:53:06PM +0100, Michal Simek wrote: > Hi Tom, > > I have one pending uartlite patch which I would like to add to the mainline. > Can you please add it to your tree? > > Thanks, > Michal > > > The following changes since commit b44bd2c73c4cfb6e3b9e7f8cf987e8e39aa74a0b:

Re: [U-Boot] Question about Coding-Style

2014-02-04 Thread Scott Wood
On Tue, 2014-02-04 at 12:50 +, Hannes Petermaier wrote: > 2) > a line ist limited to 80 characters (maybe thus comes from very old days > where displays couldn't show more than this and scrolling was very > expensive). is this state of the art ? Even on a fairly nice, modern screen, I find 80

Re: [U-Boot] [GIT PULL] clk command

2014-02-04 Thread Tom Rini
On Tue, Feb 04, 2014 at 04:36:08PM +0100, Michal Simek wrote: > Hi Tom, > > please pull this one patch to your tree. It is adding new clk command > which I want to use for zynq. When it is applied I will prepare > zynq specific patches which will go through arm tree. > > i.MXes are other users fo

Re: [U-Boot] [GIT PULL] microblaze changes

2014-02-04 Thread Tom Rini
On Tue, Feb 04, 2014 at 04:41:50PM +0100, Michal Simek wrote: > Hi Tom, > > please pull these Microblaze changes to your tree. > > Thanks, > Michal > > The following changes since commit 07e2822d158940a0e8ba45b6ab0344ffa1011a07: > > board: nios2: Check if flash is configured before calling

Re: [U-Boot] NAND bad block table

2014-02-04 Thread Scott Wood
On Tue, 2014-02-04 at 13:43 +0100, Michal Simek wrote: > Hi Scott and others, > > I have a question regarding BBT position and number of blocks allocated > for BBT. > > Did you face the issue with last 4 blocks broken in any NAND flash > device since the default option in Linux/u-boot BBM is last

Re: [U-Boot] [PATCH] zynq: Fix elf header generation

2014-02-04 Thread Tom Rini
On Tue, Feb 04, 2014 at 04:59:45PM +0100, Michal Simek wrote: > This patch is here because of: > "arm: keep all sections in ELF file" > (sha1: 47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7) > > Our tools expect to have elf with only LOAD header. > Without this fix also PHDR, INTERP and DYNAMIC headers

Re: [U-Boot] Question about Coding-Style

2014-02-04 Thread Wolfgang Denk
Dear Hannes, In message <29703.213.33.116.113.1391525447.squir...@petermaier.org> you wrote: > > The 80 character thing is reported from checkpatch.pl as WARNING, not as > ERROR - so there will be a chance of the patch to become accepted by a > custodian. It is better for your reputation ere on

Re: [U-Boot] [PATCH v4 2/5] sf: Optimize flash features code

2014-02-04 Thread Marek Vasut
On Tuesday, February 04, 2014 at 05:06:14 PM, Jagannadha Sutradharudu Teki wrote: > - Shrink spi_slave {} > - Shrink spi_flash_params {} > - Documentation for sf features > > Signed-off-by: Jagannadha Sutradharudu Teki > --- > doc/SPI/README.sf-features| 121 + >

Re: [U-Boot] [PATCH v4 1/5] sf: ops: Squash the malloc+memset combo

2014-02-04 Thread Marek Vasut
On Tuesday, February 04, 2014 at 05:06:13 PM, Jagannadha Sutradharudu Teki wrote: > Squash the malloc()+memset() combo in favor of calloc(). > > Signed-off-by: Jagannadha Sutradharudu Teki Acked-by: Marek Vasut btw your CC list seems bugged for some reason ... Best regards, Marek Vasut _

Re: [U-Boot] [PATCH 4/6] usb:udc:samsung: Zero copy approach for data passed to Samsung's UDC driver

2014-02-04 Thread Marek Vasut
On Tuesday, February 04, 2014 at 08:29:49 AM, Lukasz Majewski wrote: > Hi Marek, > > > On Monday, February 03, 2014 at 12:06:59 PM, Lukasz Majewski wrote: > > > Hi Marek, > > > > > > > On Saturday, February 01, 2014 at 12:05:29 PM, Lukasz Majewski > > > > > > > > wrote: > > > > > On Sat, 1 Feb 2

Re: [U-Boot] Question about Coding-Style

2014-02-04 Thread Wolfgang Denk
Dear Hannes, In message <11685.213.33.116.116.1391518218.squir...@petermaier.org> you wrote: > > I've read on the U-Boot website about coding style. They say 'All > contributions to U-Boot should conform to the Linux kernel coding style'. > Further i've read this link and there are at least 2 thi

Re: [U-Boot] [PATCH v3] spi/cadence: Adding Cadence SPI driver support for SOCFPGA

2014-02-04 Thread Chin Liang See
Hi Jagan, As there are no further comments, would need your help to apply this patch. Thanks and appreciate for your support. Chin Liang On Fri, 2014-01-10 at 11:39 -0600, Chin Liang See wrote: > To add the Cadence SPI driver support for Altera SOCFPGA. It > required information such as clocks

Re: [U-Boot] [PATCH 2/2] socfpga: Adding Clock Manager handoff file

2014-02-04 Thread Chin Liang See
Hi Albert, As there are no further comments, would need your help to apply this patch. Thanks and appreciate for your support. Chin Liang On Wed, 2013-12-18 at 17:54 -0600, Chin Liang See wrote: > The pll_config.h will be consumed by Clock Manager driver > > Signed-off-by: Chin Liang See > Cc

Re: [U-Boot] [PATCH] nand/denali: Adding Denali NAND driver support

2014-02-04 Thread Chin Liang See
Hi Scott, As there are no further comments, would need your help to apply this patch. Thanks and appreciate for your support. Chin Liang On Wed, 2013-12-18 at 15:18 -0600, Chin Liang See wrote: > To add the Denali NAND driver support into U-Boot. It required > information such as register base

Re: [U-Boot] [PATCH 1/2] socfpga: Adding Clock Manager driver

2014-02-04 Thread Chin Liang See
Hi Albert, As there are no further comments, would need your help to apply this patch. Thanks and appreciate for your support. Chin Liang On Wed, 2013-12-18 at 17:54 -0600, Chin Liang See wrote: > Clock Manager driver will be called to reconfigure all the > clocks setting based on user input. T

[U-Boot] [RESEND PATCH 2/2 v2] socfpga: Adding Scan Manager IOCSR handoff files

2014-02-04 Thread Chin Liang See
The IOCSR handoff files will be consumed by Scan Manager driver. Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Wolfgang Denk CC: Pavel Machek Cc: Tom Rini Cc: Albert Aribaud Signed-off-by: Chin Liang See --- Changes for v2 - rebase with latest v2014.01-rc1 --- board/altera/socfpga/ioc

[U-Boot] [RESEND PATCH 1/2 v2] socfpga: Adding Scan Manager driver

2014-02-04 Thread Chin Liang See
Scan Manager driver will be called to configure the IOCSR scan chain. This configuration will setup the IO buffer settings Signed-off-by: Chin Liang See Cc: Dinh Nguyen Cc: Wolfgang Denk CC: Pavel Machek Cc: Tom Rini Cc: Albert Aribaud Signed-off-by: Chin Liang See --- Changes for v2 - reb

Re: [U-Boot] [PATCH] watchdog/denali: Adding DesignWare watchdog driver support

2014-02-04 Thread Chin Liang See
Hi Albert, As there are no further comments, would need your help to apply this patch. Thanks and appreciate for your support. Chin Liang On Wed, 2013-12-18 at 16:23 -0600, Chin Liang See wrote: > To add the DesignWare watchdog driver support. It required > information such as register base add

[U-Boot] [PATCH v3] designware_i2c: Enhance DesignWare I2C driver address support

2014-02-04 Thread Chin Liang See
Enhance the DesignWare I2C driver to support address length more than 1 byte. This enhancement is required as some I2C slave device such as EEPROM chip might have 16 bit address byte. Signed-off-by: Chin Liang See Acked-by: Alexey Brodkin Cc: Tom Rini cc: Armando Visconti Cc: Stefan Roese Cc:

Re: [U-Boot] [PATCH v2] designware_i2c: Enhance DesignWare I2C driver address support

2014-02-04 Thread Chin Liang See
Hi Heiko, On Thu, 2014-01-30 at 06:20 +0100, Heiko Schocher wrote: > Hello Chin, > > Am 22.01.2014 16:37, schrieb Chin Liang See: > > Thanks Alexey. > > > > Hi Heiko, > > > > I believe this patch should be good for apply. Would need your help > > then. :) Thanks > > > > Chin Liang > > > > > > On

Re: [U-Boot] [PATCH v2] arm: Switch to -mno-unaligned-access when supported by the compiler

2014-02-04 Thread Måns Rullgård
Tom Rini writes: > When we tell the compiler to optimize for ARMv7 it assumes a default of > unaligned accesses being supported at the hardware level and can make > use of this to perform what it deems as an optimization in any case, > including allowing for data to become unaligned. We explicit

Re: [U-Boot] [PATCH V2 2/2] config: add config_distro_defaults.h

2014-02-04 Thread Stephen Warren
On 02/04/2014 04:25 AM, Dennis Gilmore wrote: > describe a set of default features that distros can rely on being available. > having this common definition means that distros can easily support systems > implementing them. The series, Reviewed-by: Stephen Warren Tested-by: Stephen Warren A cha

Re: [U-Boot] [PATCH] xilinx_spi: Move timeout calculation out of the loop

2014-02-04 Thread Jagan Teki
On Wed, Jan 22, 2014 at 2:18 PM, Michal Simek wrote: > Timeout calculation should be out of the data loop. > This patch increase spi bandwidth for 30%. > > Signed-off-by: Michal Simek > --- > > drivers/spi/xilinx_spi.c | 8 +--- > 1 file changed, 5 insertions(+), 3 deletions(-) > > diff --gi

[U-Boot] [PATCH v2 12/12] ums: always initialize mmc before ums_disk_init()

2014-02-04 Thread Mateusz Zalega
In some cases MMC was still uninitialized while media capacity check, leading to broken ums command. Tested on Samsung Goni. Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- Changes since v1: - patch conforms to kernel coding style - moved mmc_init() check to ums_init() --- board/samsung/comm

[U-Boot] [PATCH v2] arm: Switch to -mno-unaligned-access when supported by the compiler

2014-02-04 Thread Tom Rini
When we tell the compiler to optimize for ARMv7 it assumes a default of unaligned accesses being supported at the hardware level and can make use of this to perform what it deems as an optimization in any case, including allowing for data to become unaligned. We explicitly disallow this hardware f

[U-Boot] [PATCH v2 11/12] mmc: postponed needless timer initialization

2014-02-04 Thread Mateusz Zalega
mmc_init() doesn't call get_timer() anymore if MMC is already initialized. Signed-off-by: Mateusz Zalega Cc: Pantelis Antoniou Cc: Minkyu Kang --- drivers/mmc/mmc.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index c6a1c23..7

[U-Boot] [PATCH v2 02/12] part: header fix

2014-02-04 Thread Mateusz Zalega
Implementation made use of types defined in common.h, even though it wasn't #included. It worked in circumstances when .c files included every needed header (all). Change-Id: Iafdd4f1997767e9eb84d583fd32c79c8c4d43afd Signed-off-by: Mateusz Zalega Cc: Minkyu Kang Cc: Tom Rini --- include/part.h

[U-Boot] [PATCH v2 09/12] arm:goni: enable USB Mass Storage

2014-02-04 Thread Mateusz Zalega
UMS-related defines were added to Samsung Goni config header. Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- include/configs/s5p_goni.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index d25c494..7314bff 100644 --- a/include/co

[U-Boot] [PATCH v2 01/12] mmc: mmc header fix

2014-02-04 Thread Mateusz Zalega
Structure definition used type block_dev_desc_t, defined in part.h, which wasn't included in mmc.h. It worked only in circumstances when common.h, or another header using part.h was incuded in implementation files. Signed-off-by: Mateusz Zalega Cc: Minkyu Kang Cc: Tom Rini --- include/mmc.h |

[U-Boot] [PATCH v2 08/12] arm:goni: enable GPT command

2014-02-04 Thread Mateusz Zalega
Signed-off-by: Mateusz Zalega Cc: Minkyu Kang --- include/configs/s5p_goni.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/configs/s5p_goni.h b/include/configs/s5p_goni.h index 24a0fcc..d25c494 100644 --- a/include/configs/s5p_goni.h +++ b/include/configs/s5p_goni.h @@ -72,6 +

[U-Boot] [PATCH v2 05/12] am335x: dfu: disable DFU in am335x_evm SPL build

2014-02-04 Thread Mateusz Zalega
Future patches will make DFU too large to fit in this board's SPL build. Signed-off-by: Mateusz Zalega Cc: Tom Rini Cc: Lukasz Majewski --- include/configs/am335x_evm.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/configs/am335x_evm.h b/include/configs/am335x_evm.h index 73a9a

[U-Boot] [PATCH v2 06/12] USB: gadget: added a saner gadget downloader registration API

2014-02-04 Thread Mateusz Zalega
Preprocessor definitions and hardcoded implementation selection in g_dnl core were replaced by a linker list made of (usb_function_name, bind_callback) pairs. Signed-off-by: Mateusz Zalega Cc: Lukasz Majewski Cc: Marek Vasut --- Changes since v1: - reordered --- common/cmd_dfu.c

[U-Boot] [PATCH v2 10/12] dfu:mmc: raw data write fix

2014-02-04 Thread Mateusz Zalega
When user attempted to perform a raw write using DFU (vide dfu_fill_entity_mmc) with MMC interface not initialized before, get_mmc_blk_size() reported invalid (zero) block size - it wasn't possible to write ie. a new u-boot image. This commit fixes that by initializing device in get_mmc_blk_size()

[U-Boot] [PATCH v2 03/12] arm:goni: Update configuration for goni target

2014-02-04 Thread Mateusz Zalega
Configuration file for GONI has been updated to support FAT file system, new mmc partitioning scheme and read linux kernel from eMMC instead of OneNAND. Change-Id: I00e55bc970512986f50b1f943021ba9de683795e Signed-off-by: Arkadiusz Wlodarczyk Signed-off-by: Kyungmin Park Signed-off-by: Mateusz Za

[U-Boot] [PATCH v2 00/12] Series v2.

2014-02-04 Thread Mateusz Zalega
This is an updated version of patch series regarding DFU, MMC, USB Gadget and Samsung Goni board, originally sent on 10 January 2014. --- Changes since v1: - reordered "USB: gadget: added a saner gadget downloader registration API" - fixed a bug related to usb_cable_connected() which broke previ

[U-Boot] [PATCH v2 07/12] arm:goni:dfu Add support for DFU to Goni target

2014-02-04 Thread Mateusz Zalega
Proper adjustment for supporting DFU by Goni target has been made. The s5p_goni.h file has been updated. Moreover, the code for low level USB initialization has been added to Goni board code. The malloc pool has been enlarged in order to support larger buffer sizes needed by DFU implementation. S

[U-Boot] [PATCH v2 04/12] dfu: fix boards wo USB cable detection

2014-02-04 Thread Mateusz Zalega
Former usb_cable_connected() patch broke compilation of boards which do not support this feature. Signed-off-by: Mateusz Zalega Cc: Lukasz Majewski --- common/cmd_usb_mass_storage.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cmd_usb_mass_storage.c b/common/cmd_usb_mass_storage

Re: [U-Boot] [PATCH v2 4/6] i2c: kona: Add Kona I2C driver

2014-02-04 Thread Darwin Rambo
On 14-02-03 11:22 PM, Heiko Schocher wrote: > Hello Darwin, > > Am 03.02.2014 23:12, schrieb Darwin Rambo: >> Add support for the Kona I2C controller found on Broadcom mobile SoCs. >> >> Signed-off-by: Darwin Rambo >> Reviewed-by: Steve Rae >> Reviewed-by: Tim Kryger >> --- > > What has changed

Re: [U-Boot] [PATCH v1 5/6] mmc: kona: Add Kona mmc driver

2014-02-04 Thread Darwin Rambo
On 14-02-03 05:12 PM, Jaehoon Chung wrote: > On 02/04/2014 06:03 AM, Darwin Rambo wrote: >> Add support for the Kona SDHCI found on Broadcom mobile SoCs. >> >> Signed-off-by: Darwin Rambo >> Reviewed-by: Steve Rae >> Reviewed-by: Tim Kryger >> --- >> drivers/mmc/Makefile |1 + >> driv

[U-Boot] [PATCH v4 1/5] sf: ops: Squash the malloc+memset combo

2014-02-04 Thread Jagannadha Sutradharudu Teki
Squash the malloc()+memset() combo in favor of calloc(). Signed-off-by: Jagannadha Sutradharudu Teki --- drivers/mtd/spi/sf_ops.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/spi/sf_ops.c b/drivers/mtd/spi/sf_ops.c index 1f1bb36..ef91b92 100644 --- a/dr

  1   2   >