Re: [U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function

2013-10-17 Thread Masahiro Yamada
Hello Albert. > The way the code is written now, board_by_field() has to do the job of > board_by_cpu() and has to know the CPU field has colon-separated > subfields. What should be done is, board_by_field should not even worry > about colons at all, and it is board_by_cpu() which should know ab

[U-Boot] Can a standalone application send data via Ethernet in U-Boot?

2013-10-17 Thread rvijay435
In Linux, we have sendto and recvfrom calls to send and receive data from the external devices connected via Ethernet. Now I am executing my code on U-Boot as a standalone application. I need to replace these socket calls which should be independent of OS. Are there any APIs/drivers provided in U-

Re: [U-Boot] [PATCH v3 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-10-17 Thread Simon Glass
Hi Masahiro, On Thu, Oct 17, 2013 at 6:30 PM, Masahiro Yamada wrote: > Hello Simon > > > > The series: > > > > Acked-by: Simon Glass > > > > I will do some more testing but this seems to work for me. > > > > Unless I am missing something, the purpose of this series is slightly > > different. For

Re: [U-Boot] [PATCH v4 3/6] fs: move some file system to fs/Makefile

2013-10-17 Thread Masahiro Yamada
Hello Simon. > > diff --git a/Makefile b/Makefile > > index 75e93c4..ba521e1 100644 > > --- a/Makefile > > +++ b/Makefile > > @@ -248,17 +248,7 @@ endif > > LIBS-$(CONFIG_OF_EMBED) += dts/libdts.o > > LIBS-y += arch/$(ARCH)/lib/lib$(ARCH).o > > LIBS-y += fs/libfs.o \ > > - fs/cbfs/libcbf

Re: [U-Boot] [PATCH v3 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-10-17 Thread Simon Glass
Hi Masahiro, On Thu, Oct 17, 2013 at 2:34 AM, Masahiro Yamada wrote: > Kbuild in U-Boot has been talked for a while > and RFC patches were posted by Simon Glass. > > (Refer to "RFC: Add Kbuild system to U-Boot" > posted by Simon, May 12, 2013) > > Simon's effort is a good start point but > varous

Re: [U-Boot] [PATCH v3 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-10-17 Thread Masahiro Yamada
Hello Simon > The series: > > Acked-by: Simon Glass > > I will do some more testing but this seems to work for me. > > Unless I am missing something, the purpose of this series is slightly > different. For example, the actual Kbuild files are not brought in so > it is not possible to type 'ma

Re: [U-Boot] [PATCH v4 3/6] fs: move some file system to fs/Makefile

2013-10-17 Thread Simon Glass
Hi Masahiro, On Thu, Oct 17, 2013 at 5:38 AM, Masahiro Yamada wrote: > This commit moves some subdirectories of fs > from the toplevel Makefile to fs/Makefile > using Kbuild descending feature. > > Signed-off-by: Masahiro Yamada > --- > > Changes for v4: > - No change > > Changes for v3: > -

Re: [U-Boot] fdt performance

2013-10-17 Thread Simon Glass
Hi Aaron, On Thu, Oct 17, 2013 at 12:24 AM, Aaron Williams wrote: > Hi all, > > In our bootloader based off of 2013.07 we make extensive use of the flat > device tree. In profiling our bootloader in our simulator I found that the > function eating up the most time is fdt_next_tag. Looking at it,

Re: [U-Boot] [PATCH v2 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Stephen Warren
On 10/17/2013 08:29 AM, Alban Bedel wrote: > Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. Acked-by: Stephen Warren ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2 2/2] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-10-17 Thread Stephen Warren
On 10/17/2013 08:29 AM, Alban Bedel wrote: > Add support for the new Tamonten™ NG platform from Avionic Design. > Currently only I2C, MMC, USB and ethernet have been tested. > diff --git a/board/avionic-design/common/tamonten-ng.c > b/board/avionic-design/common/tamonten-ng.c > +void pmu_write(u

Re: [U-Boot] fdt performance

2013-10-17 Thread Andre Renaud
Hi Wolfgang, On 18 October 2013 07:55, Wolfgang Denk wrote: > In message <525f8284.4000...@caviumnetworks.com> you wrote: >> Some of the checks in fdt_offset_ptr also look useless, such as if >> ((offset + len) < offset) which will always be false, or >> if (p + len < p) > > What happens if the "

Re: [U-Boot] fdt performance

2013-10-17 Thread Wolfgang Denk
Dear Aaron Williams, In message <525f8284.4000...@caviumnetworks.com> you wrote: > > Some of the checks in fdt_offset_ptr also look useless, such as if > ((offset + len) < offset) which will always be false, or > if (p + len < p) What happens if the "offset" or "p" point to addresses close to t

Re: [U-Boot] [PATCH v8 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-10-17 Thread Tom Rini
On Thu, Oct 10, 2013 at 04:30:09PM +0530, Pekon Gupta wrote: > *changes in v8* > [PATCH 1/5] incorporated following feedbacks from Scott Wood > > - using symbolic names (enums) as values of CONFIG_NAND_OMAP_ECCSCHEME > - updated omap_select_ecc_scheme(): perform ecc-scheme compatibil

Re: [U-Boot] [PATCH 4/4] usb: ums: add ums exit feature by ctrl+c or by detach usb cable

2013-10-17 Thread Marek Vasut
Dear Przemyslaw Marczak, > This patch allows exiting from UMS mode to u-boot prompt > by detaching usb cable or by pressing ctrl+c. > > Add new config: CONFIG_USB_CABLE_CHECK. If defined then board > file should provide function: usb_cable_connected() (include/usb.h) > that return 1 if cable is c

Re: [U-Boot] [PATCH 3/4] usb: ums: fix bug in partition capacity computation.

2013-10-17 Thread Marek Vasut
Dear Przemyslaw Marczak, > Before this change ums disk capacity was miscalculated because > of integer overflow. > > Signed-off-by: Przemyslaw Marczak > Cc: Marek Vasut > --- > board/samsung/common/ums.c | 16 > 1 file changed, 12 insertions(+), 4 deletions(-) > > diff --gi

Re: [U-Boot] [PATCH 1/2][v2]powerpc/usb:Define CONFIG_USB_MAX_CONTROLLER_COUNT for all 85xx socs

2013-10-17 Thread York Sun
On 10/17/2013 10:17 AM, York Sun wrote: > On 10/10/2013 05:42 AM, Ramneek Mehresh wrote: >> CONFIG_USB_MAX_CONTROLLER_COUNT macro recently defined for >> initializing all USB controllers on a given platform. This >> macro is defined for all 85xx socs >> >> Signed-off-by: Ramneek Mehresh >> --- >>

Re: [U-Boot] [PATCH 1/4] usb: ums: move ums code from trats to Samsung common directory

2013-10-17 Thread Marek Vasut
Dear Przemyslaw Marczak, > UMS init was implemented in trats board file but mostly it comprises > common code. Due to that it has been moved to common/ums.c to avoid > code duplication in the future. > > Changes: > - move ums initialization code from trats to common/ums.c > - remove unused CONFIG

Re: [U-Boot] [PATCH v7 0/5] mtd: nand: omap: optimize and clean-up of OMAP NAND driver

2013-10-17 Thread Tom Rini
On Mon, Sep 30, 2013 at 07:43:33PM +0530, Pekon Gupta wrote: > *changes in v7* > [PATCH 1/5] > - omap_gpmc.c: fix: free bytes in OOB (ecclayout->oobfree[0].length) > - omap_gpmc.c: cleanup: redundant code added in previous patch versions > - am335x_evm.h: cleanup: redundant code

Re: [U-Boot] [PATCH 2/2] powerpc/usb:Differentiate USB controller base address

2013-10-17 Thread York Sun
On 09/12/2013 04:05 AM, Ramneek Mehresh wrote: > Introduce different macros for storing addresses of multiple > USB controllers. This is required for successful initialization > and usage of multiple USB controllers inside u-boot > > Signed-off-by: Ramneek Mehresh > --- > arch/powerpc/cpu/mpc83x

Re: [U-Boot] [PATCH 1/2][v2]powerpc/usb:Define CONFIG_USB_MAX_CONTROLLER_COUNT for all 85xx socs

2013-10-17 Thread York Sun
On 10/10/2013 05:42 AM, Ramneek Mehresh wrote: > CONFIG_USB_MAX_CONTROLLER_COUNT macro recently defined for > initializing all USB controllers on a given platform. This > macro is defined for all 85xx socs > > Signed-off-by: Ramneek Mehresh > --- > Changes for v2: rebased on u-boot-mpc85xx-next >

Re: [U-Boot] [PATCH v2] powerpc/c29xpcie: add DDR ECC on off config setting

2013-10-17 Thread York Sun
On 09/25/2013 06:40 PM, Po Liu wrote: > c29xpcie REV_A board DDR ECC chip has bad impedance in hardware, > force that kind of board to be DDR ECC off when booting. > Other version board config ECC on/off by hwconfig=fsl_ddr:ecc=on > in uboot enviroment. > > Signed-off-by: Po Liu > --- > Add this

Re: [U-Boot] [PATCH V2 5/6] omap3_dss: define DSS_ONOFF

2013-10-17 Thread Anatolij Gustschin
Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH V2 4/6] lcd: add DataImage SCF0403x LCD panel support

2013-10-17 Thread Anatolij Gustschin
Acked-by: Anatolij Gustschin ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [ANN] U-Boot v2013.10 released

2013-10-17 Thread Scott Wood
On Thu, 2013-10-17 at 08:18 -0400, Tom Rini wrote: > On Wed, Oct 16, 2013 at 05:34:20PM -0500, Scott Wood wrote: > > On Wed, 2013-10-16 at 15:50 -0400, Tom Rini wrote: > > > The big, diffstat wise at least, change is that now instead of large > > > boilerplate messages in every file about the licen

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

2013-10-17 Thread Tom Rini
On Thu, Oct 17, 2013 at 09:51:05AM +0900, Nobuhiro Iwamatsu wrote: > Hi Tom, > > Please pull u-boot-sh master branch. > > Best regards, > Nobuhiro > The following changes since commit 183acb700378a8cfc5d50a01a65de93fb2c24586: > > Prepare v2013.10 (2013-10-16 13:08:12 -0400) > > are availab

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Thierry Reding
On Thu, Oct 17, 2013 at 08:59:22AM -0600, Stephen Warren wrote: > On 10/17/2013 04:50 AM, Thierry Reding wrote: > > On Thu, Oct 17, 2013 at 11:29:06AM +0200, Alban Bedel wrote: > >> On Mon, 23 Sep 2013 17:23:12 -0700 Tom Warren > >> wrote: > >> > >>> It's fine as-is for now. Send a V2 with any ch

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Tom Warren
Alban, On Thu, Oct 17, 2013 at 8:26 AM, Thierry Reding wrote: > On Thu, Oct 17, 2013 at 08:59:22AM -0600, Stephen Warren wrote: > > On 10/17/2013 04:50 AM, Thierry Reding wrote: > > > On Thu, Oct 17, 2013 at 11:29:06AM +0200, Alban Bedel wrote: > > >> On Mon, 23 Sep 2013 17:23:12 -0700 Tom Warre

[U-Boot] [PATCH 1/3] fpga: zynqpl: Add dcache flush support

2013-10-17 Thread Michal Simek
From: Jagannadha Sutradharudu Teki Buffers must be cache and dma aligned. Signed-off-by: Jagannadha Sutradharudu Teki Signed-off-by: Michal Simek --- drivers/fpga/zynqpl.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c

[U-Boot] [PATCH 3/3] fpga: Add support for gzip images with bitstreams

2013-10-17 Thread Michal Simek
Here is the set of command which has been performed to proof this feature. gzip < fpga.bin > fpga.bin.gz mkimage -A arm -O u-boot -T firmware -C gzip \ -a 2000 -n "zc702_fpga_bin" -d fpga.bin.gz fpga.bin.gz.ub tftp 10 fpga.bin.gz.ub fpga loadmk 0 10 This flow should speedup loading b

[U-Boot] [PATCH 2/3] fpga: zynqpl: Do not place bitstream below 1MB

2013-10-17 Thread Michal Simek
DMA doesn't work when src is placed below 1MB limit. Signed-off-by: Michal Simek Acked-by: Jagannadha Sutradharudu Teki --- drivers/fpga/zynqpl.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/drivers/fpga/zynqpl.c b/drivers/fpga/zynqpl.c index f2f49b5..1effbad 100644 --- a/drivers/

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Stephen Warren
On 10/17/2013 04:50 AM, Thierry Reding wrote: > On Thu, Oct 17, 2013 at 11:29:06AM +0200, Alban Bedel wrote: >> On Mon, 23 Sep 2013 17:23:12 -0700 Tom Warren >> wrote: >> >>> It's fine as-is for now. Send a V2 with any changes Stephen, et >>> al requested (if any), and I'll get it into tegra-next

[U-Boot] [PATCH v2 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Alban Bedel
Add the Tegra30 SKU b1 and treat it like other Tegra30 chips. Signed-off-by: Alban Bedel Reviewed-by: Julian Scheel --- arch/arm/cpu/tegra-common/ap.c | 1 + arch/arm/include/asm/arch-tegra/tegra.h | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/cpu/tegra-common/ap.c b/a

[U-Boot] [PATCH v2 0/2] ARM: tegra: Add the Tamonten-NG Evaluation carrier boards

2013-10-17 Thread Alban Bedel
Hi all, This new serie has been rebased on the current master from denx and the SKU 0xb1 names has been changed to SKU_ID_TM30MQS_A3 to better reflect nvidia's internal namming. Alban Bedel (2): ARM: tegra: support SKU b1 of Tegra30 ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

[U-Boot] [PATCH v2 2/2] ARM: tegra: Add the Tamonten™ NG Evaluation Carrier board

2013-10-17 Thread Alban Bedel
Add support for the new Tamonten™ NG platform from Avionic Design. Currently only I2C, MMC, USB and ethernet have been tested. Signed-off-by: Alban Bedel --- .../common/pinmux-config-tamonten-ng.h | 385 + board/avionic-design/common/tamonten-ng.c | 129 +

[U-Boot] Replace Redboot with U-boot

2013-10-17 Thread Romain Crausaz
Dear, I found this message on the list : lists.denx.de/pipermail/u-boot/2012-March/120801.html I m able to start u-boot from Redboot but I don't know how to download the u-boot-nand.bin from my tftp with u-boot and then copy it to the flash to erase redboot. I m also using the KA-RO TX25 bo

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-17 Thread Albert ARIBAUD
Hi Michal, > > Thanks for the clarification. This confirms my initial opinion that > > NEON can be enabled in start.S on a per-board basis, as it would workin > > all situations -- This is assuming that enabling NEON would have no > > adverse effect on builds which do not use it, of course. > > I

Re: [U-Boot] [PATCH v2 04/10] arm: vf610: add anadig pll5 definitions

2013-10-17 Thread Albert ARIBAUD
Hi Marcel, On Mon, 30 Sep 2013 13:26:09 +0200, Marcel Ziswiler wrote: > Add ANADIG PLL5 control definitions required for Ethernet RMII clock > configuration. > > Signed-off-by: Marcel Ziswiler > --- > arch/arm/include/asm/arch-vf610/crm_regs.h |4 > 1 file changed, 4 insertions(+) >

Re: [U-Boot] [ANN] U-Boot v2013.10 released

2013-10-17 Thread Tom Rini
On Wed, Oct 16, 2013 at 05:34:20PM -0500, Scott Wood wrote: > On Wed, 2013-10-16 at 15:50 -0400, Tom Rini wrote: > > The big, diffstat wise at least, change is that now instead of large > > boilerplate messages in every file about the license we use SPDX tags in > > all files to identify what licen

Re: [U-Boot] Beaglebone LCD support in U-Boot?

2013-10-17 Thread Tom Rini
On Wed, Oct 16, 2013 at 08:31:42PM -0600, Simon Glass wrote: > Hi, > > Is there any LCD driver for the Beaglebone? Kinda. drivers/video/da8xx-fb.c covers the IP block in question, and you can see it in use on the pxm2 and rut am335x boards from Siemens. Some amount of work shall be needed to s

Re: [U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function

2013-10-17 Thread Albert ARIBAUD
Hi Masahiro, On Thu, 17 Oct 2013 19:32:31 +0900, Masahiro Yamada wrote: > Hello Albert > > > > > > > -v field="$1" \ > > > -v select="$2" \ > > > -F "$FS" \ > > > - '($1 !~ /^#/ && $field == select) { print $1 }' \

[U-Boot] [PATCH v4 6/6] ARM: s5pc, exynos: move Samsung ARM SoC specific code under arch/arm/

2013-10-17 Thread Masahiro Yamada
This patch moves S5PC, EXYNOS specific directory entries from the toplevel Makefile to arch/arm/cpu/armv7/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada Cc: Minkyu Kang --- Changes for v4: - No change Changes for v3: - Fix misleading commit subject (No change in b

[U-Boot] [PATCH v4 0/6] Second step towards Kbuild: Descend down like Kbuild

2013-10-17 Thread Masahiro Yamada
I have been just wondering why the U-Boot top Makefile is so dirty. It is sprinkled with SoC-specific code as follows: ifneq ($(CONFIG_OMAP_COMMON),) LIBS-y += $(CPUDIR)/omap-common/libomap-common.o endif ifneq (,$(filter $(SOC), mx25 mx27 mx5 mx6 mx31 mx35 mxs vf610)) LIBS-y

[U-Boot] [PATCH v4 1/6] Makefile: support descending down to subdirectories

2013-10-17 Thread Masahiro Yamada
This patch tweaks scripts/Makefile.build to allow the build system to descend into subdirectories like Kbuild. To use this feature, use "obj-y += foo/" syntax. Example: obj-$(CONFIG_FOO) += foo/ Signed-off-by: Masahiro Yamada Cc: Simon Glass --- Changes for v4: - No change Changes for

[U-Boot] [PATCH v4 4/6] ARM: tegra: move Tegra specific code under arch/arm/

2013-10-17 Thread Masahiro Yamada
This patch moves Tegra specific directory entries from the toplevel Makefile and spl/Makefile to arch/arm/cpu/*/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada Cc: Tom Warren --- Changes for v4: - Update arch/arm/cpu/armv7/Makefile to rebase on v2013.10 Changes for v

[U-Boot] [PATCH v4 3/6] fs: move some file system to fs/Makefile

2013-10-17 Thread Masahiro Yamada
This commit moves some subdirectories of fs from the toplevel Makefile to fs/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada --- Changes for v4: - No change Changes for v3: - No change Changes for v2: - No change Makefile| 12 +--- fs/Makefile | 11

[U-Boot] [PATCH v4 2/6] drivers: move some drivers to drivers/Makefile

2013-10-17 Thread Masahiro Yamada
This commit moves some drivers subdirectory entry from the toplevel Makefile to drivers/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada --- Changes for v4: - rebase on v2013.10 Changes for v3: - No change Changes for v2: - refactor also drivers/pcmcia and drivers

[U-Boot] [PATCH v4 5/6] ARM: omap: move OMAP specific code under arch/arm/

2013-10-17 Thread Masahiro Yamada
This patch moves OMAP specific directory entries from the toplevel Makefile and spl/Makefile to arch/arm/cpu/armv7/Makefile using Kbuild descending feature. Signed-off-by: Masahiro Yamada Cc: Tom Rini --- Changes for v4: - Update arch/arm/cpu/armv7/Makefile to rebase on v2013.10 Changes for

Re: [U-Boot] [PATCH v2 01/10] arm: vf610: fix anadig register struct

2013-10-17 Thread Albert ARIBAUD
On Thu, 17 Oct 2013 13:20:09 +0200, Albert ARIBAUD wrote: > Hi Marcel, > > On Mon, 30 Sep 2013 13:26:06 +0200, Marcel Ziswiler > wrote: > > > The anadig_reg structure started at the wrong offset (fixed by adding > > resvA[4]), was missing some reserved field required for alignment > > purpose

Re: [U-Boot] [PATCH v2 01/10] arm: vf610: fix anadig register struct

2013-10-17 Thread Albert ARIBAUD
Hi Marcel, On Mon, 30 Sep 2013 13:26:06 +0200, Marcel Ziswiler wrote: > The anadig_reg structure started at the wrong offset (fixed by adding > resvA[4]), was missing some reserved field required for alignment > purpose (resvB[3] between pll4_denom and pll6_ctrl) and further > contained too shor

Re: [U-Boot] [PATCH v8 0/2] I2C: Zynq

2013-10-17 Thread Heiko Schocher
Hello Jagan, Am 17.10.2013 12:43, schrieb Jagan Teki: Hi Michael, On Wed, Oct 16, 2013 at 1:28 PM, Heiko Schocher wrote: Hello Michael, Am 15.10.2013 22:23, schrieb Michael Burr: This series of two patches contains improvements for the I2C driver on the Xilinx Zynq architecture. In general

[U-Boot] [PATCH V3] ARM: OMAP5: DDR3: Change io settings

2013-10-17 Thread Sricharan R
The change from 0x64656465 to 0x64646464 is to remove the weak pull enabled on DQS, nDQS lines. This pulls the differential signals in the same direction which is not intended. So disabling the weak pulls improves signal integrity. On the uEVM there are 4 DDR3 devices. The VREF for 2 of the devic

Re: [U-Boot] [PATCH 3/4] arm: rmobile: Add support R8A7791

2013-10-17 Thread Albert ARIBAUD
Hi Nobuhiro, On Tue, 24 Sep 2013 15:38:34 +0900, Nobuhiro Iwamatsu wrote: > Renesas R8A7791 is CPU with Cortex-A7 and A15. > This supports the basic register definition and GPIO and > framework of PFC. > > Signed-off-by: Hisashi Nakamura > Signed-off-by: Nobuhiro Iwamatsu > CC: Nobuhiro Iwama

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Thierry Reding
On Thu, Oct 17, 2013 at 11:29:06AM +0200, Alban Bedel wrote: > On Mon, 23 Sep 2013 17:23:12 -0700 > Tom Warren wrote: > > > It's fine as-is for now. Send a V2 with any changes Stephen, et al requested > > (if any), and I'll get it into tegra-next when I return from vacation > > next Monday (assum

Re: [U-Boot] [PATCH v8 0/2] I2C: Zynq

2013-10-17 Thread Jagan Teki
Hi Michael, On Wed, Oct 16, 2013 at 1:28 PM, Heiko Schocher wrote: > Hello Michael, > > Am 15.10.2013 22:23, schrieb Michael Burr: > >> This series of two patches contains improvements for the I2C driver on the >> Xilinx Zynq architecture. In general, the goals are: >>> >>> Support for both I2C b

Re: [U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function

2013-10-17 Thread Masahiro Yamada
Hello Albert > > -v field="$1" \ > > -v select="$2" \ > > -F "$FS" \ > > - '($1 !~ /^#/ && $field == select) { print $1 }' \ > > + '($1 !~ /^#/ && $field == select) { print $7 }' \ > >

Re: [U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_

2013-10-17 Thread Masahiro Yamada
Hello Albert > > Commit 27af930e broke this feature, > > so I want to fix this. > > Sorry, I have been unclear. How exactly does the commit break this > feature? What worked before it which does not work after? A quite simple test. $ git checkout 27af930e^ $ CROSS_COMPILE_ARM=arm-linux-gnu

Re: [U-Boot] fdt performance

2013-10-17 Thread Albert ARIBAUD
Hi Aaron, On Wed, 16 Oct 2013 23:24:04 -0700, Aaron Williams wrote: > Hi all, > > In our bootloader based off of 2013.07 we make extensive use of the flat > device tree. In profiling our bootloader in our simulator I found that > the function eating up the most time is fdt_next_tag. Looking a

Re: [U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function

2013-10-17 Thread Albert ARIBAUD
Hi Masahiro, On Thu, 17 Oct 2013 16:37:42 +0900, Masahiro Yamada wrote: > Commit 27af930e changed the boards.cfg format > and it changed boards_by_field() function incorrectly. > For tegra cpus it returned Board Name field, > not Target field. > > Signed-off-by: Masahiro Yamada > Cc: Albert AR

Re: [U-Boot] [PATCH 1/2] ARM: tegra: support SKU b1 of Tegra30

2013-10-17 Thread Alban Bedel
On Mon, 23 Sep 2013 17:23:12 -0700 Tom Warren wrote: > It's fine as-is for now. Send a V2 with any changes Stephen, et al requested > (if any), and I'll get it into tegra-next when I return from vacation > next Monday (assuming it's been Acked). What is the status with this patch serie? I'd real

Re: [U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_

2013-10-17 Thread Albert ARIBAUD
Hi Masahiro, On Thu, 17 Oct 2013 17:48:50 +0900, Masahiro Yamada wrote: > Hello Albert. > > > > > What issue does this change fix? > > > MAKEALL supports the environment variable CROSS_COMPILE_. > Commit 27af930e broke this feature, > so I want to fix this. Sorry, I have been unclear. How

Re: [U-Boot] [PATCH] ARM: OMAP5: DDR3: Change io settings

2013-10-17 Thread Enric Balletbo Serra
Hi Brad and Sricharan, 2013/10/17 Sricharan R : > Hi Brad, > > On Thursday 17 October 2013 08:05 AM, Griffis, Brad wrote: >> First, Sricharan, thanks for putting together these patches and getting them >> posted so quickly. I approve of the code but wanted to comment on the >> commit message.

Re: [U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function

2013-10-17 Thread Masahiro Yamada
Hello Albert. > > Commit 27af930e adjusted this part like follows: > > > > > > -v field="$1" \ > > -v select="$2" \ > > -F "$FS" \ > > - '($1 !~ /^#/ && $field == select) { print $1 }' \ > > + '($1 !

Re: [U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function

2013-10-17 Thread Albert ARIBAUD
Hi Masahiro, On Thu, 17 Oct 2013 16:37:42 +0900, Masahiro Yamada wrote: > Commit 27af930e changed the boards.cfg format > and it changed boards_by_field() function incorrectly. > For tegra cpus it returned Board Name field, > not Target field. > > Signed-off-by: Masahiro Yamada > Cc: Albert AR

Re: [U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_

2013-10-17 Thread Masahiro Yamada
Hello Albert. > What issue does this change fix? MAKEALL supports the environment variable CROSS_COMPILE_. MAKEALL --help says like follows: CROSS_COMPILE_ cross-compiler toolchain prefix for architecture "ARCH". Substitute "ARCH" for any This feature is useful when you want to bu

[U-Boot] [PATCH v3 00/19] First step towards Kbuild: Use Kbuild style makefiles

2013-10-17 Thread Masahiro Yamada
Kbuild in U-Boot has been talked for a while and RFC patches were posted by Simon Glass. (Refer to "RFC: Add Kbuild system to U-Boot" posted by Simon, May 12, 2013) Simon's effort is a good start point but varous critical features were missing from his patch series. I have also been eager to int

[U-Boot] [PATCH v3 11/19] drivers: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3: - update 4 files to rebase on u-boot/master drivers/dfu/Makefile drivers/power/pmic/Makefile drivers/power/battery/Makefile drivers/spi/Makefile - change 1 more makefile to Kbuild style drivers/power/mf

[U-Boot] [PATCH v3 07/19] ARM: imx-common: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Multiple targets are included in arch/arm/imx-common/Makefile In order to refactor it, we need to tweak Makefile and spl/Makefile. Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change Makefile | 8 +--- arch/arm/imx-common/Makef

[U-Boot] [PATCH v3 17/19] sandbox: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Simon Glass Acked-by: Simon Glass --- Changes for v3 - Convert also board/sandbox/sandbox/Makefile Changes for v2 - No change arch/sandbox/cpu/Makefile | 23 +-- arch/sandbox/lib/Makefile | 25 + boa

[U-Boot] [PATCH v3 13/19] common: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change common/Makefile | 389 common/spl/Makefile | 36 + 2 files changed, 189 insertions(+), 236 deletions(-) diff --git a/common/Makefile b/com

[U-Boot] [PATCH v3 16/19] disk: convert a makefile to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change disk/Makefile | 34 ++ 1 file changed, 6 insertions(+), 28 deletions(-) diff --git a/disk/Makefile b/disk/Makefile index 2b04e03..48abec8 100644 --- a/disk/Makefile +++

[U-Boot] [PATCH v3 18/19] powerpc: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Note: arch/powerpc/cpu/mpc8260/Makefile is originally like follows: -- START = start.o kgdb.o COBJS = traps.o serial_smc.o serial_scc.o cpu.o cpu_init.o speed.o \ -- COBJS-$(CONFIG_ETHER_ON_SCC) = ether_scc.o -- $(LIB): $(OBJS) $(call cmd_lin

[U-Boot] [PATCH v3 04/19] arm920t: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change arch/arm/cpu/arm920t/Makefile | 28 +++- arch/arm/cpu/arm920t/a320/Makefile| 25 ++--- arch/arm/cpu/arm920t/at91/Makefile| 33 ++-

[U-Boot] [PATCH v3 03/19] arm926ejs: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Note1: In arch/arm/cpu/arm926ejs/spear/Makefile START := start.o was changed extra-$(CONFIG_SPL_BUILD) := start.o because spear/start.o is only used for SPL. Note2: START := start.o was missing from arch/arm/cpu/arm926ejs/mxs/Makefile. This commit simply adds extra-$(CONFIG_SPL_BUILD) := start.o

[U-Boot] [PATCH v3 14/19] net: convert a makefile to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change net/Makefile | 46 -- 1 file changed, 12 insertions(+), 34 deletions(-) diff --git a/net/Makefile b/net/Makefile index 4c9a97f..31aadc2 100644 --- a/net/Mak

[U-Boot] [PATCH v3 09/19] drivers: mtd: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v2 - update 1 file to rebase on u-boot/master drivers/mtd/spi/Makefile Changes for v2 - No change drivers/mtd/Makefile | 44 +-- drivers/mtd/nand/Makefile| 102 +-- dri

[U-Boot] [PATCH v3 06/19] ARM: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - Delete patch for arm925t/Makefile to rebase on u-boot/master Changes for v2 - No change arch/arm/cpu/arm1136/Makefile | 26 +- arch/arm/cpu/arm1136/mx31/Makefile | 27 ++- arch/arm/cpu/arm1136/mx35/Makefile

[U-Boot] [PATCH v3 05/19] arm720t: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change arch/arm/cpu/arm720t/Makefile | 26 ++ arch/arm/cpu/arm720t/tegra-common/Makefile | 25 ++--- arch/arm/cpu/arm720t/tegra114/Makefile | 25 ++

[U-Boot] [PATCH v3 19/19] board: ti: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada Cc: Tom Rini --- Changes for v3 - delete patch for board/ti/omap1510inn/Makefile to rebase on u-boot/master Changes for v2 - No change board/ti/am335x/Makefile | 29 ++--- board/ti/am3517crane/Makefile | 19 +--

[U-Boot] [PATCH v3 02/19] armv7: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3: - update 3 files to rebase on the master arch/arm/cpu/armv7/Makefile arch/arm/cpu/armv7/socfpga/Makefile arch/arm/cpu/armv7/rmobile/Makefile Changes for v2: - updated 3 files to rebase on the master arch/arm/c

[U-Boot] [PATCH v3 15/19] lib: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change lib/Makefile| 114 ++-- lib/libfdt/Makefile | 27 + lib/lzma/Makefile | 24 +-- lib/lzo/Makefile| 24 +-- li

[U-Boot] [PATCH v3 08/19] drivers: net: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change drivers/net/Makefile | 136 --- drivers/net/fm/Makefile | 59 +++- drivers/net/npe/Makefile | 24 + drivers/net/phy/Makefile |

[U-Boot] [PATCH v3 12/19] fs: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - No change Changes for v2 - No change fs/Makefile | 24 +--- fs/cbfs/Makefile | 24 +--- fs/cramfs/Makefile | 29 ++--- fs/ext4/Makefile | 27 ++

[U-Boot] [PATCH v3 01/19] Makefile: prepare for using Kbuild-style Makefile

2013-10-17 Thread Masahiro Yamada
Every makefile in sub directories has common lines at the top and the bottom. This commit pushes the common parts into script/Makefile.build. Going forward sub-makefiles only need to describe this part: COBJS := ... COBJS += ... SOBJS := ... But using obj-y is preferable to prepare f

[U-Boot] [PATCH v3 10/19] drivers: usb: convert makefiles to Kbuild style

2013-10-17 Thread Masahiro Yamada
Signed-off-by: Masahiro Yamada --- Changes for v3 - update 2 file to rebase on u-boot/master drivers/usb/gadget drivers/usb/musb-new/Makefile Changes for v2 - No change drivers/usb/eth/Makefile | 28 ++-- drivers/usb/gadget/Makefile | 58 +++--

Re: [U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_

2013-10-17 Thread Albert ARIBAUD
Hi Masahiro, On Thu, 17 Oct 2013 16:37:41 +0900, Masahiro Yamada wrote: > Commit 27af930e changed the boards.cfg format but > missed to change get_target_arch() fuction. > This commit adjusts it for CROSS_COMPILE_ > to work correctly. > > Signed-off-by: Masahiro Yamada > Cc: Albert ARIBAUD >

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-17 Thread Michal Simek
On 10/17/2013 10:25 AM, Albert ARIBAUD wrote: > Hi Edgar, > > On Thu, 17 Oct 2013 09:37:40 +0200, "Edgar E. Iglesias" > wrote: > >> On Thu, Oct 17, 2013 at 08:33:28AM +0200, Albert ARIBAUD wrote: >>> Hi Albert, >>> >>> On Thu, 3 Oct 2013 18:07:40 +0200, Albert ARIBAUD >>> wrote: >>> Hi Mic

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-17 Thread Albert ARIBAUD
Hi Edgar, On Thu, 17 Oct 2013 09:37:40 +0200, "Edgar E. Iglesias" wrote: > On Thu, Oct 17, 2013 at 08:33:28AM +0200, Albert ARIBAUD wrote: > > Hi Albert, > > > > On Thu, 3 Oct 2013 18:07:40 +0200, Albert ARIBAUD > > wrote: > > > > > Hi Michal, > > > > > > On Thu, 3 Oct 2013 11:56:20 +0200, M

Re: [U-Boot] [PATCH v2] arm: Remove IXP425 boards pdnb3 and scpu

2013-10-17 Thread Albert ARIBAUD
Hi Stefan, On Tue, 24 Sep 2013 08:22:19 +0200, Stefan Roese wrote: > Remove Prodrive pdnb3 board (including the scpu variant) support > from mainline. As its unmaintained and not needed any more for > quite some time. > > Signed-off-by: Stefan Roese > Cc: Martijn de Gouw > Cc: Albert Aribaud

Re: [U-Boot] [PATCH] zynq: Use arch_cpu_init() instead of lowlevel_init()

2013-10-17 Thread Edgar E. Iglesias
On Thu, Oct 17, 2013 at 08:33:28AM +0200, Albert ARIBAUD wrote: > Hi Albert, > > On Thu, 3 Oct 2013 18:07:40 +0200, Albert ARIBAUD > wrote: > > > Hi Michal, > > > > On Thu, 3 Oct 2013 11:56:20 +0200, Michal Simek > > wrote: > > > > > Hi Albert, > > > > > > On 10/03/2013 10:41 AM, Albert ARIB

[U-Boot] [PATCH 3/3] MAKEALL: fix boards_by_field function

2013-10-17 Thread Masahiro Yamada
Commit 27af930e changed the boards.cfg format and it changed boards_by_field() function incorrectly. For tegra cpus it returned Board Name field, not Target field. Signed-off-by: Masahiro Yamada Cc: Albert ARIBAUD --- Commit 27af930e adjusted this part like follows: -v fie

[U-Boot] [PATCH 2/3] MAKEALL: fix a bug to use CROSS_COMPILE_

2013-10-17 Thread Masahiro Yamada
Commit 27af930e changed the boards.cfg format but missed to change get_target_arch() fuction. This commit adjusts it for CROSS_COMPILE_ to work correctly. Signed-off-by: Masahiro Yamada Cc: Albert ARIBAUD --- MAKEALL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MAKEALL b/

[U-Boot] [PATCH 0/3] Fix bugs of MAKEALL

2013-10-17 Thread Masahiro Yamada
Commit 27af930e9a5c91365ca639ada580b338eabe4989 changed the boards.cfg format and introduced some bugs to MAKEALL. This series fixes them. Cc: Albert ARIBAUD Masahiro Yamada (3): MAKEALL: fix awk warning message MAKEALL: fix a bug to use CROSS_COMPILE_ MAKEALL: fix boards_by_cpu function

[U-Boot] [PATCH 1/3] MAKEALL: fix awk warning message

2013-10-17 Thread Masahiro Yamada
If you do `./MAKEALL -M ` or `./MAKEALL -m` GNU awk would display warnings like follows: awk: warning: escape sequence `\ ' treated as plain ` ' In the first place, we do not explicitly set the field separator. Signed-off-by: Masahiro Yamada Cc: Albert ARIBAUD --- See line 163 of ./MAKEAL

Re: [U-Boot] [PATCH 2/3] arm: kzm9g: Update to new I2C framework

2013-10-17 Thread Heiko Schocher
Hello Nobuhiro, Am 17.10.2013 09:18, schrieb Nobuhiro Iwamatsu: Kzm9g uses sh_i2c driver. sh_i2c driver updated to new I2C framwork. This updates kzm9g to this change. Signed-off-by: Nobuhiro Iwamatsu --- board/kmc/kzm9g/kzm9g.c | 2 +- include/configs/kzm9g.h | 31

Re: [U-Boot] [PATCH 3/3] sh: ecovec: Update to new I2C framework

2013-10-17 Thread Heiko Schocher
Hello Nobuhiro, Am 17.10.2013 09:18, schrieb Nobuhiro Iwamatsu: Ecovec uses sh_i2c driver. sh_i2c driver updated to new I2C framwork. This updates ecovec to this change. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/ecovec/ecovec.c | 4 ++-- include/configs/ecovec.h | 15 +++--

[U-Boot] [PATCH 2/3] arm: kzm9g: Update to new I2C framework

2013-10-17 Thread Nobuhiro Iwamatsu
Kzm9g uses sh_i2c driver. sh_i2c driver updated to new I2C framwork. This updates kzm9g to this change. Signed-off-by: Nobuhiro Iwamatsu --- board/kmc/kzm9g/kzm9g.c | 2 +- include/configs/kzm9g.h | 31 --- 2 files changed, 17 insertions(+), 16 deletions(-) diff --

[U-Boot] [PATCH 3/3] sh: ecovec: Update to new I2C framework

2013-10-17 Thread Nobuhiro Iwamatsu
Ecovec uses sh_i2c driver. sh_i2c driver updated to new I2C framwork. This updates ecovec to this change. Signed-off-by: Nobuhiro Iwamatsu --- board/renesas/ecovec/ecovec.c | 4 ++-- include/configs/ecovec.h | 15 +++ 2 files changed, 9 insertions(+), 10 deletions(-) diff --gi

[U-Boot] [PATCH 1/3] i2c: sh_i2c: Update to new CONFIG_SYS_I2C framework

2013-10-17 Thread Nobuhiro Iwamatsu
This updates to new I2C framwwork on sh_i2c. Signed-off-by: Nobuhiro Iwamatsu --- README | 18 drivers/i2c/Makefile | 2 +- drivers/i2c/sh_i2c.c | 294 +++ 3 files changed, 150 insertions(+), 164 deletions(-) diff --git a/REA

Re: [U-Boot] [PATCH] ARM: OMAP5: DDR3: Change io settings

2013-10-17 Thread Sricharan R
Hi Brad, On Thursday 17 October 2013 08:05 AM, Griffis, Brad wrote: > First, Sricharan, thanks for putting together these patches and getting them > posted so quickly. I approve of the code but wanted to comment on the commit > message. Our previous (internal) thread had a hodge podge of issue