[U-Boot] [PATCH v2] intern: Add copy scripts and target specific helpers

2015-02-03 Thread Hannes Petermaier
cpy === copies relevant files to TFTP server and packs them into a ZIP which can be checked in for series production in SAP. bur/scripts === target specific helper scripts Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- bur-scripts/.gitignore

[U-Boot] [PATCH v2 03/24] common/lcd: Add command for writing to lcd-display

2015-02-03 Thread Hannes Petermaier
Sometimes we do not want redirect u-boot's console to screen but anyway we want write out some status information out of a u-boot script to the display. So we cannot use the normal echo , instead we write explicitly using lcdputs ... for writing to the actual cursor position on LCD.

[U-Boot] [PATCH v2] board/BuR/kwb: Redesign default-environment

2015-02-03 Thread Hannes Petermaier
Due to several changes in the boot-process we do a complete redesign of the default environment. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- include/configs/kwb.h | 81 +++-- 1 file changed, 45 insertions(+), 36

[U-Boot] [PATCH v2] intern: disable lcd-stdout

2015-02-03 Thread Hannes Petermaier
on BR boards we want not redirect console to screen. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- README |7 +++ common/lcd.c | 10 ++ 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/README b/README index fefa71c..8f9865c

[U-Boot] [PATCH v2] board/BuR/kwb: switch to board HW-Rev3

2015-02-03 Thread Hannes Petermaier
The board has been redesigned, therefore we need from now other I/O Pins to mux and handle. Older boards aren't supported from now anymore. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/kwb/board.c | 92

[U-Boot] [PATCH v2] board/BuR/common: Add support for displaying BMP on LCD

2015-02-03 Thread Hannes Petermaier
Customer wants to display some logo very quickly after power on, so we support from now loading a compressed bmp.gz to the screen. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- include/configs/bur_am335x_common.h |9 - 1 file changed, 8 insertions(+),

[U-Boot] [PATCH v2] board/BuR/tseries: cosmetic changes

2015-02-03 Thread Hannes Petermaier
remove unnary '#define ETHLED_ORANGE (96+16) /* GPIO3_16 */' Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/tseries/board.c |2 -- 1 file changed, 2 deletions(-) diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c index

[U-Boot] [PATCH v2] board/BuR/kwb: Form a bootline for vxWorks

2015-02-03 Thread Hannes Petermaier
vxWorks needs several parameters which are set by the bootloader und his environment. So we form a vxWorks bootline and pass the result to vxWorks on a predefined address. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/kwb/board.c | 30

Re: [U-Boot] [PATCH v2] board/BuR/kwb: switch to board HW-Rev3

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/tseries: Chg pinmux - use free NAND Pins in non NAND-config as GPIO

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/tseries: cosmetic changes

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/tseries: Rework default-environment settings.

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/kwb: Form a bootline for vxWorks

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/kwb: Support booting Linux

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/common: Add support for displaying BMP on LCD

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] intern: disable lcd-stdout

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore this internal patch. This is was an accident. best regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] intern: Add specific offset do FAT-Filesystem

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore this internal patch. This is was an accident. best regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/kwb: Support modify bootcmd through reset-controller

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] U-Boot gitweb

2015-02-03 Thread Stefano Babic
Hi Bin, On 03/02/2015 04:24, Bin Meng wrote: Hello, On Mon, Feb 2, 2015 at 3:47 PM, Nable nable.mainin...@googlemail.com wrote: Hi! I can also see the same issue. It looks like some problem with permissions: Forbidden You don't have permission to access /gitweb.css on this server.

Re: [U-Boot] [PATCH 2/2] sunxi: video: Dynamically reserve framebuffer memory

2015-02-03 Thread Ian Campbell
On Mon, 2015-02-02 at 19:57 +0100, Hans de Goede wrote: Only use CONFIG_SUNXI_MAX_FB_SIZE to reserve memory at the top when relocating u-boot, and calculate the actual amount of memory necessary when setting up the video-mode and use only that, freeing up some additional memory for use by the

Re: [U-Boot] [PATCH 1/2] sunxi: video: Do not use CONFIG_SYS_MEM_TOP_HIDE for the framebuffer

2015-02-03 Thread Ian Campbell
On Mon, 2015-02-02 at 19:57 +0100, Hans de Goede wrote: @@ -1237,6 +1243,20 @@ int sunxi_simplefb_setup(void *blob) return 0; /* Keep older kernels working */ } + /* + * Do not report the framebuffer as free RAM to Linux, note we cannot + * use

[U-Boot] [PATCH v2] board/BuR/tseries: Enable EXT4 support

2015-02-03 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- include/configs/tseries.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/tseries.h b/include/configs/tseries.h index 7fd0a00..986db3f 100644 --- a/include/configs/tseries.h +++

[U-Boot] [PATCH v2] common/lcd: Add command for writing to lcd-display

2015-02-03 Thread Hannes Petermaier
Sometimes we do not want redirect u-boot's console to screen but anyway we want write out some status information out of a u-boot script to the display. So we cannot use the normal echo , instead we write explicitly using lcdputs ... for writing to the actual cursor position on LCD.

[U-Boot] [PATCH v2] drivers/video/am335x-fb: Add possibility to wait for stable power/picture

2015-02-03 Thread Hannes Petermaier
Often on boards exists a circuit which switches power on/off to LCD display. Due to the need of limiting the in-rush current the output voltage from this circuit rises slowly, so it is necessary to wait a bit (VCC ramp up time) before starting output on LCD-pins. This time is specified in n ms

[U-Boot] [PATCH v2] board/BuR/common: try to setup cpsw mac-address from the devicetree

2015-02-03 Thread Hannes Petermaier
since we have a dtb blob programmed on the board we try to setup the cpsw interface with the programmed mac. If this method fails, we fall back to the device-fuses. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/common/common.c | 25

[U-Boot] [PATCH v2] board/BuR/tseries: Chg pinmux - use free NAND Pins in non NAND-config as GPIO

2015-02-03 Thread Hannes Petermaier
On boards were we have no NAND-flash soldered, we want to use those free pins as regular gpio. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/tseries/mux.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git

[U-Boot] [PATCH v2] board/BuR/tseries: Change pinmux for GPIO2_28 from GPIO to PWM-Timeroutput

2015-02-03 Thread Hannes Petermaier
From now we use this pin for the Brightness regulation from LED-Backlight. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/tseries/mux.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/board/BuR/tseries/mux.c

[U-Boot] [PATCH v2] board/BuR/tseries: Enable HW-Watchdog

2015-02-03 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/tseries/board.c |4 include/configs/tseries.h |3 +++ 2 files changed, 7 insertions(+) diff --git a/board/BuR/tseries/board.c b/board/BuR/tseries/board.c index 66747eb..a1c6887 100644 ---

Re: [U-Boot] [PATCH v2] board/BuR/kwb: Redesign default-environment

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] intern: Add copy scripts and target specific helpers

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore this internal patch. This is was an accident. best regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Patch to add support for BAV335x boards

2015-02-03 Thread Wolfgang Denk
Dear Gilles, In message 3efcb679-8df9-43f2-b3f4-fbc00e578...@gigadevices.com you wrote: I just added support for the BAV335x OEM boards = http://birdland.com/oem/bav335x-network-processor/ This patch was generated with the patman tool which reported no checks, = warnings nor errors.

Re: [U-Boot] SPL DM

2015-02-03 Thread Simon Glass
Hi Michal, On 3 February 2015 at 06:16, Michal Simek mon...@monstr.eu wrote: Hi Simon, I am playing with driver model and I have moved uartlite to it and it is working fine for normal u-boot +10k but SPL size is dramatically bigger. Without DM I can fit to 3k but now it has ~16k.

[U-Boot] [PATCH v2] board/BuR/common: Take usage of am335x LCD-Display

2015-02-03 Thread Hannes Petermaier
From now we use the am335x lcd driver and setup a display with displaying a summary screen to the lcd. Values are taken from environment and or devicetree blob. Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/common/bur_common.h |4 +

[U-Boot] [PATCH v2] common/lcd: Add command for setting cursor within lcd-console

2015-02-03 Thread Hannes Petermaier
Sometimes we do not want redirect u-boot's console to screen but anyway we want write out some status information out of a u-boot script to the display. To define the specific position of the string to be written, we have to set the cursor with setcurs before writing. Signed-off-by: Hannes

Re: [U-Boot] [PATCH v2] board/BuR/tseries: Enable U-Boot BOOTCOUNT feature

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] common/lcd: Add command for setting cursor within lcd-console

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] drivers/video/am335x-fb: Add possibility to wait for stable power/picture

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/common: Take usage of am335x LCD-Display

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] common/lcd: Add command for writing to lcd-display

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH v2] board/BuR/tseries: Enable HW-Watchdog

2015-02-03 Thread Hannes Petermaier
Hi all, please ignore, the numbering has been lost - so i will resend V2 regards, Hannes ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 03/21] common/lcd: Add command for writing to lcd-display

2015-02-03 Thread Nikita Kiryanov
Hi Hannes, On 02/02/2015 09:37 AM, Hannes Petermaier wrote: From: Nikita Kiryanov nik...@compulab.co.il To: Hannes Petermaier oe5...@oevsv.at, u-boot@lists.denx.de Date: 01.02.2015 15:53 Subject: Re: [U-Boot] [PATCH 03/21] common/lcd: Add command for writing to lcd-display Sent by: U-Boot

[U-Boot] [PATCH v2 12/24] board/BuR/common: Introduce Network Console and common environment for it

2015-02-03 Thread Hannes Petermaier
It is often necessary to break in into boards bootloader commandline if something fails or even for development purposes some parameters have to be changed. So we enable u-boot's CONFIG_NETCONSOLE feature. We also modify Networksettings to apply with this new use-case. Signed-off-by: Hannes

[U-Boot] [PATCH v2 13/24] board/BuR/common: Enable CONFIG_CMD_TIME

2015-02-03 Thread Hannes Petermaier
time measurement of u-boot commands is needed very often during development. We add this feature until development is completed. Maybe forever :) Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- include/configs/bur_am335x_common.h |1 + 1 file changed, 1

[U-Boot] [PATCH v2 11/24] board/BuR/tseries: Chg Pinmux - enable UART1 pins

2015-02-03 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- board/BuR/tseries/mux.c |8 1 file changed, 8 insertions(+) diff --git a/board/BuR/tseries/mux.c b/board/BuR/tseries/mux.c index 330429a..2c87a63 100644 --- a/board/BuR/tseries/mux.c +++

[U-Boot] [PATCH v2 08/24] board/BuR/tseries: Enable EXT4 support

2015-02-03 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- include/configs/tseries.h |4 1 file changed, 4 insertions(+) diff --git a/include/configs/tseries.h b/include/configs/tseries.h index 7fd0a00..986db3f 100644 --- a/include/configs/tseries.h +++

[U-Boot] [PATCH v2 24/24] intern: Add copy scripts and target specific helpers

2015-02-03 Thread Hannes Petermaier
cpy === copies relevant files to TFTP server and packs them into a ZIP which can be checked in for series production in SAP. bur/scripts === target specific helper scripts Signed-off-by: Hannes Petermaier oe5...@oevsv.at --- Changes for V2: None --- bur-scripts/.gitignore

[U-Boot] [PATCH v2 21/24] board/BuR/kwb: Support modify bootcmd through reset-controller

2015-02-03 Thread Hannes Petermaier
For some cases it is necessary to modify temporaly the bootcommand. This can be done by writing into the Scratchregister a specific value: * 0xCC - modify bootcmd run netboot * 0xCD - modify bootcmd run netscript * 0xCE - modify bootcmd run mmcboot the environment in flash is NOT overwritten.

[U-Boot] SPL DM

2015-02-03 Thread Michal Simek
Hi Simon, I am playing with driver model and I have moved uartlite to it and it is working fine for normal u-boot +10k but SPL size is dramatically bigger. Without DM I can fit to 3k but now it has ~16k. microblaze-generic: all +10759 bss +4 data +560 rodata +1379 spl/u-boot-spl:all +9100

Re: [U-Boot] [PATCH 1/2] sunxi: video: Do not use CONFIG_SYS_MEM_TOP_HIDE for the framebuffer

2015-02-03 Thread Hans de Goede
Hi, On 02/03/2015 02:20 PM, Ian Campbell wrote: On Mon, 2015-02-02 at 19:57 +0100, Hans de Goede wrote: @@ -1237,6 +1243,20 @@ int sunxi_simplefb_setup(void *blob) return 0; /* Keep older kernels working */ } + /* +* Do not report the framebuffer as free

[U-Boot] [PATCH 1/5] nand: Add verification functions

2015-02-03 Thread Peter Tyser
Add nand_verify() and nand_verify_page_oob(). nand_verify() verifies NAND contents against an arbitrarily sized buffer using ECC while nand_verify_page_oob() verifies a NAND page's contents and OOB. Signed-off-by: Peter Tyser pty...@xes-inc.com --- drivers/mtd/nand/nand_util.c | 97

[U-Boot] [PATCH 3/5] dfu: nand: Verify writes

2015-02-03 Thread Peter Tyser
Previously NAND writes were not verified and could fail silently. Add a verification step after all writes to NAND. Signed-off-by: Peter Tyser pty...@xes-inc.com --- I don't have a board with DFU support, so this change is untested. drivers/dfu/dfu_nand.c | 2 +- 1 file changed, 1

[U-Boot] Hang when enabling DCache on a iMX6 board

2015-02-03 Thread Boris Brezillon
Hello, I'm currently porting the SECO iMX6 uQ7 board to mainline, but I'm facing a hang when enabling DCache (CONFIG_SYS_DCACHE_OFF undefined). Last week I asked on the #u-boot chan if anybody already encountered such a bug, and someone (named malik) suggested to check my DDR timings. After a

[U-Boot] [PATCH 2/5] cmd_nand: Verify writes to NAND

2015-02-03 Thread Peter Tyser
Previously NAND writes were only verified when CONFIG_MTD_NAND_VERIFY_WRITE was defined. On boards without this define writes could fail silently. Boards with CONFIG_MTD_NAND_VERIFY_WRITE could prematurely report failures which ECC could correct. Add a verification step after all nand write[.x]

[U-Boot] [PATCH 5/5] nand: yaffs: Remove the nand write.yaffs command

2015-02-03 Thread Peter Tyser
This command is only enabled by one board, complicates the NAND code, and doesn't appear to have been functioning properly for several years. If there are no bad blocks in the NAND region being written nand_write_skip_bad() will take the shortcut of calling nand_write() which bypasses the special

[U-Boot] [PATCH 4/5] nand: Remove CONFIG_MTD_NAND_VERIFY_WRITE

2015-02-03 Thread Peter Tyser
The CONFIG_MTD_NAND_VERIFY_WRITE has been removed from Linux for some time and a more generic method of NAND verification now exists in U-Boot. Signed-off-by: Peter Tyser pty...@xes-inc.com --- README | 3 -- board/prodrive/alpr/nand.c | 16 -

Re: [U-Boot] [RFC PATCH 6/7] arm: Show relocated PC/LR in the register dump

2015-02-03 Thread Albert ARIBAUD
Hello Simon, On Fri, 30 Jan 2015 12:04:56 -0700, Simon Glass s...@chromium.org wrote: If we don't know the relocation address, the raw values are not very useful. Show the pre-relocation values as well as these can be looked up in System.map, etc. Signed-off-by: Simon Glass

Re: [U-Boot] Hang when enabling DCache on a iMX6 board

2015-02-03 Thread Anatolij Gustschin
Hello Boris, On Tue, 3 Feb 2015 19:39:16 +0100 Boris Brezillon boris.brezil...@free-electrons.com wrote: Hello, I'm currently porting the SECO iMX6 uQ7 board to mainline, but I'm facing a hang when enabling DCache (CONFIG_SYS_DCACHE_OFF undefined). Last week I asked on the #u-boot chan if

Re: [U-Boot] [PATCH 1/3] dm: Prevent demo hello and demo status segfaults

2015-02-03 Thread Simon Glass
On 3 February 2015 at 12:18, Peter Tyser pty...@xes-inc.com wrote: Segfaults can occur when a mandatory argument is not provided to demo hello and demo status. Eg: = demo hello Segmentation fault (core dumped) Add a check to ensure all required arguments are provided.

[U-Boot] [PATCH 1/3] dm: Prevent demo hello and demo status segfaults

2015-02-03 Thread Peter Tyser
Segfaults can occur when a mandatory argument is not provided to demo hello and demo status. Eg: = demo hello Segmentation fault (core dumped) Add a check to ensure all required arguments are provided. Signed-off-by: Peter Tyser pty...@xes-inc.com --- common/cmd_demo.c | 4 +++- 1 file

Re: [U-Boot] [PATCH 1/3] dm: Prevent demo hello and demo status segfaults

2015-02-03 Thread Peter Tyser
Hi Simon, On Tue, 2015-02-03 at 13:18 -0600, Peter Tyser wrote: Segfaults can occur when a mandatory argument is not provided to demo hello and demo status. Eg: = demo hello Segmentation fault (core dumped) Add a check to ensure all required arguments are provided.

Re: [U-Boot] Patch to add support for BAV335x boards

2015-02-03 Thread Albert ARIBAUD
Hello Gilles, On Mon, 2 Feb 2015 23:40:02 -0800, Gilles gil...@gigadevices.com wrote: Hi Folks, I just added support for the BAV335x OEM boards http://birdland.com/oem/bav335x-network-processor/ This patch was generated with the patman tool which reported no checks, warnings nor

[U-Boot] [PATCH] sunxi: configs/sunxi-common.h: Enable CONFIG_CMD_PART

2015-02-03 Thread Hans de Goede
The recent changes to config_distro_bootcmd.h require CONFIG_CMD_PART to be defined, as the default bootcmd not uses the part command. This fixes sunxi boards not booting with v2015.04-rc1. Signed-off-by: Hans de Goede hdego...@redhat.com --- include/configs/sunxi-common.h | 3 +++ 1 file

Re: [U-Boot] [PATCH] mpc837xerdb: fix Calling __hwconfig without a buffer warning

2015-02-03 Thread Sinan Akman
Tom Rini wrote: On 02/03/2015 02:31 PM, Sinan Akman wrote: Hi Tom As per our discussion with Kim at IRC, could you please pick this for rc2 : http://u-boot.10912.n7.nabble.com/PATCH-mpc837xerdb-fix-Calling-hwconfig-without-a-buffer-warning-tp202599.html OK, I've assigned to myself in

[U-Boot] [RFC PATCH] arm: Enable CONFIG_USE_ARCH_MEMSET/MEMCPY globally

2015-02-03 Thread Tom Rini
- Move the obj- lines for memset.S/memcpy.S to outside of an SPL check so that SPL can use them as well. - Make sure memset() / memcpy() end up in a text.fn section for garbage collection in SPL. - Update examples/api/Makefile to get memset() again on ARM. - Drop Y-MODEM SPL from am335x_evm

Re: [U-Boot] [PATCH] powerpc, mpc5xx: fix compiler warning

2015-02-03 Thread Masahiro Yamada
Hi Heiko, On Tue, 3 Feb 2015 11:10:19 +0100 Heiko Schocher h...@denx.de wrote: executing tools/buildman/buildman mpc5xx drops this warning: common/spl/spl_nor.c: In function 'spl_nor_load_image': common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier from pointer

Re: [U-Boot] [PATCH] powerpc, mpc5xx: fix compiler warning

2015-02-03 Thread Masahiro Yamada
Hi Heiko, On Tue, 3 Feb 2015 11:10:19 +0100 Heiko Schocher h...@denx.de wrote: executing tools/buildman/buildman mpc5xx drops this warning: common/spl/spl_nor.c: In function 'spl_nor_load_image': common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier from pointer

[U-Boot] [PATCH 03/12] arc: add more flavours of ARC700 series CPU

2015-02-03 Thread Alexey Brodkin
Now we may select a particular version of ARC700: * ARC750D or * ARC770D It allows more flexible (or more fine tuned) configuration of U-Boot. Before that change we relied on minimal configuration but now we may use specific features of each CPU. Moreover allows us to escape manual selection

[U-Boot] [PATCH 04/12] arc: define and use PTAG AUX regs for MMUv3 only

2015-02-03 Thread Alexey Brodkin
DC_PTAG and IC_PTAG registers only exist in MMUv3. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/include/asm/arcregs.h | 4 ++-- arch/arc/lib/cache.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arc/include/asm/arcregs.h

[U-Boot] [PATCH 02/12] arc: remove CPU hard-coded selection from board description in include/configs

2015-02-03 Thread Alexey Brodkin
With switch to Kconfig we only need very board-specific descriptions in include/configs. CPU selection is performed with either defconfig or manually via menuconfig. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- include/configs/arcangel4-be.h | 1 - include/configs/arcangel4.h| 1

[U-Boot] [PATCH 01/12] arc: memcmp - fix zero-delay loop utilization

2015-02-03 Thread Alexey Brodkin
From: Igor Guryanov gurya...@synopsys.com It's prohibited to put branch instruction in the very end of zero-delay loop. On execution this causes Illegal instruction exception. Signed-off-by: Alexey Brodkin abrod...@synopsys.com Signed-off-by: Igor Guryanov gurya...@synopsys.com ---

[U-Boot] [PATCH 00/12] ARC: more improvements

2015-02-03 Thread Alexey Brodkin
This series is focused on following items: * Move more config options to Kconfig - Cache settings - Endianess - Monitor base * Clean-up of board configuration headers * Build libgcc in U-Boot for portability Alexey Brodkin (11): arc: remove CPU hard-coded selection from board

[U-Boot] [PATCH 07/12] arc: hard-code CONFIG_SYS_GENERIC_BOARD into asm/config.h

2015-02-03 Thread Alexey Brodkin
There're no other options for ARC except generic board so ther's no point to define CONFIG_SYS_GENERIC_BOARD per board. We now have it set fo all ARC boards. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/include/asm/config.h | 1 + include/configs/arcangel4.h | 1 -

[U-Boot] [PATCH 05/12] arc: select cache settings via menuconfig

2015-02-03 Thread Alexey Brodkin
This change allows to keep board description clean and minimalistic. This is especially helpful if one board may house different CPUs with different features. It is applicable to both FPGA-based boards or those that have CPUs mounted on interchnagable daughter-boards. Signed-off-by: Alexey

[U-Boot] [PATCH 06/12] arc: add selection of endianess in Kconfig

2015-02-03 Thread Alexey Brodkin
This change allows to keep board description clean and minimalistic. This is especially helpful if one board may house different CPUs with different features. It is applicable to both FPGA-based boards or those that have CPUs mounted on interchnagable daughter-boards. Signed-off-by: Alexey

[U-Boot] [PATCH 09/12] arc: hard-code CONFIG_ARCH_EARLY_INIT_R in asm/config.h

2015-02-03 Thread Alexey Brodkin
Common arch_early_init_r() is used in arc/lib/cpu.c for all ARC boards so there's no sense in separate per-board definitions. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- arch/arc/include/asm/config.h | 1 + include/configs/arcangel4.h | 5 - include/configs/axs101.h | 5

[U-Boot] [PATCH 12/12] arc: build libgcc in U-Boot

2015-02-03 Thread Alexey Brodkin
This way we may have very limited set of functions implemented so we save some space. Also it allows us to build U-Boot for any ARC core with the same one toolchain because we don't rely on pre-built libgcc. For example: * we may use little-endian toolchain but build U-Boot for ether endianess

[U-Boot] [PATCH 08/12] arc: get rid of useless CONFIG_SKIP_LOWLEVEL_INIT

2015-02-03 Thread Alexey Brodkin
Currently there's nothing related to really low-level init on ARC so CONFIG_SKIP_LOWLEVEL_INIT definition makes no sense. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- include/configs/arcangel4.h | 2 -- include/configs/axs101.h| 2 -- 2 files changed, 4 deletions(-) diff --git

[U-Boot] [PATCH 10/12] arc: move SYS_MONITOR_BASE setup in Konfig

2015-02-03 Thread Alexey Brodkin
Following SPARK ARC now has SYS_MONITOR_BASE setup via Kconfig. This makes include/configs/*.h cleaner and more flexible. Signed-off-by: Alexey Brodkin abrod...@synopsys.com --- Kconfig| 2 +- configs/arcangel4-be_defconfig | 1 + configs/arcangel4_defconfig| 1 +

[U-Boot] [PATCH 11/12] arc: move CPU flags selection to the main config.mk

2015-02-03 Thread Alexey Brodkin
As a preparation to ARCv2 port submission we're moving CPU slection flags to a common location. Also it will allow us to have more flexible CPU specification, not only ISA version but CPU family as well checking CONFIG_ARC_CPU_xxx. Signed-off-by: Alexey Brodkin abrod...@synopsys.com ---

[U-Boot] [PATCH] ARM: at91: at91sam9rlek: add hush parser to defconfig

2015-02-03 Thread Josh Wu
HUSH parser will handle the variable easier. That will be helpful for write a complicated U-Boot commands or varaibles. Signed-off-by: Josh Wu josh...@atmel.com --- configs/at91sam9rlek_dataflash_defconfig | 1 + configs/at91sam9rlek_mmc_defconfig | 1 +

Re: [U-Boot] [RFC PATCH 0/21] ARM: start to move SoC code into arch/arm/mach-*

2015-02-03 Thread Albert ARIBAUD
Hello Simon, On Sun, 1 Feb 2015 09:23:05 -0700, Simon Glass s...@chromium.org wrote: Hi Albert, [...] I think the ARM core name is a convenient way of splitting things up and has served us well. But now the common elements are more at the SOC level. Yes the idea of arch/arm/soc/mach-... is

[U-Boot] Patch to add support for BAV335x boards

2015-02-03 Thread Gilles
Hi Folks, I just added support for the BAV335x OEM boards http://birdland.com/oem/bav335x-network-processor/ This patch was generated with the patman tool which reported no checks, warnings nor errors. The patch is relative to the v2015.01 tag. Cheers, Gilles .

Re: [U-Boot] [PATCH v2 1/5] microblaze: Move architecture to use generic board init

2015-02-03 Thread Michal Simek
Hi Simon, On 02/03/2015 12:58 AM, Simon Glass wrote: Hi Michal, On 2 February 2015 at 08:46, Michal Simek michal.si...@xilinx.com wrote: Compile code with -fPIC to get GOT. Do not build SPL with fPIC because it increasing SPL size for nothing. Signed-off-by: Michal Simek

Re: [U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

2015-02-03 Thread Simon Glass
Hi Michal, On 3 February 2015 at 02:11, Michal Simek michal.si...@xilinx.com wrote: Hi Simon, On 02/03/2015 03:02 AM, Masahiro Yamada wrote: Hi. On Mon, 2 Feb 2015 16:57:15 -0700 Simon Glass s...@chromium.org wrote: Hi Michal, On 2 February 2015 at 08:31, Michal Simek

Re: [U-Boot] [PATCH 2/9] sunxi: Move SPL s_init() code to board_init_f()

2015-02-03 Thread Simon Glass
Hi, On 2 February 2015 at 22:29, Simon Glass s...@chromium.org wrote: Hi, On 2 February 2015 at 01:07, Hans de Goede hdego...@redhat.com wrote: Hi Simon, Siarhei, On 01-02-15 21:59, Simon Glass wrote: Hi Siarhei, On 1 February 2015 at 11:37, Siarhei Siamashka

Re: [U-Boot] SPL DM

2015-02-03 Thread Simon Glass
Hi Michal, On 3 February 2015 at 08:46, Michal Simek mon...@monstr.eu wrote: Hi Simon, On 02/03/2015 03:11 PM, Simon Glass wrote: Hi Michal, On 3 February 2015 at 06:16, Michal Simek mon...@monstr.eu wrote: Hi Simon, I am playing with driver model and I have moved uartlite to it and it

Re: [U-Boot] [PATCH 1/2] cmd_fdt: Actually fix fdt command in sandbox

2015-02-03 Thread Simon Glass
Hi Joe, On 3 February 2015 at 15:06, Joe Hershberger joe.hershber...@ni.com wrote: Commit 90bac29a76bc8d649b41a55f2786c0abef9bb2c1 claims to fix this bug that was introduced in commit a92fd6577ea17751ead9b50243e3c562125cf581 but doesn't actually make the change that the commit message

Re: [U-Boot] [PATCH] RSA depends on DM

2015-02-03 Thread Simon Glass
+Masahiro Hi Chris, On 3 February 2015 at 00:42, Chris Kuethe chris.kue...@gmail.com wrote: Discovered while experimenting with signature checking on vexpress which doesn't typically use DM. Rather than complaining about unmet dependencies it might be better to enable those them. ---

Re: [U-Boot] [PATCH V3] cmd_i2c: Provide option for bulk 'i2c write' in one transaction

2015-02-03 Thread Simon Glass
Hi Masahiro, On 3 February 2015 at 01:35, Masahiro Yamada yamad...@jp.panasonic.com wrote: Hi Simon, On Tue, 3 Feb 2015 10:10:02 +0200 Lubomir Popov lpo...@mm-sol.com wrote: Hi Simon, Hi, On 30 January 2015 at 10:56, Lubomir Popov lpo...@mm-sol.com wrote: I2C chips do exist that

Re: [U-Boot] [PATCH] RSA depends on DM

2015-02-03 Thread Chris Kuethe
On Tue, Feb 3, 2015 at 4:38 PM, Simon Glass s...@chromium.org wrote: +Masahiro Hi Chris, On 3 February 2015 at 00:42, Chris Kuethe chris.kue...@gmail.com wrote: Discovered while experimenting with signature checking on vexpress which doesn't typically use DM. Rather than complaining about

[U-Boot] [RFC PATCH] ARMv8: add Kconfig and CPU_V8 option

2015-02-03 Thread fenghua
From: David Feng feng...@phytium.com.cn This patch add Kconfig to armv8. Signed-off-by: David Feng feng...@phytium.com.cn --- arch/arm/Kconfig | 16 +++- arch/arm/cpu/armv8/Kconfig | 10 ++ 2 files changed, 21 insertions(+), 5 deletions(-) create mode 100644

Re: [U-Boot] [RFC PATCH] dm: Add support for all targets which requires MANUAL_RELOC

2015-02-03 Thread Michal Simek
Hi Simon, On 02/03/2015 03:02 AM, Masahiro Yamada wrote: Hi. On Mon, 2 Feb 2015 16:57:15 -0700 Simon Glass s...@chromium.org wrote: Hi Michal, On 2 February 2015 at 08:31, Michal Simek michal.si...@xilinx.com wrote: Targets with CONFIG_NEEDS_MANUAL_RELOC do not use REL/RELA

[U-Boot] [PATCH] .travis.yml: remove 824x builds

2015-02-03 Thread Heiko Schocher
remove powerpc 824x build, as this architecture not longer exists. Signed-off-by: Heiko Schocher h...@denx.de --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 90f0fd7..923c9dd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -107,9 +107,6 @@

[U-Boot] [PATCH] powerpc, mpc5xx: fix compiler warning

2015-02-03 Thread Heiko Schocher
executing tools/buildman/buildman mpc5xx drops this warning: common/spl/spl_nor.c: In function 'spl_nor_load_image': common/spl/spl_nor.c:26:10: warning: assignment discards 'const' qualifier from pointer target type [enabled by default] fix this. Signed-off-by: Heiko Schocher h...@denx.de ---

Re: [U-Boot] Zynq Zybo booting with mainline U-Boot

2015-02-03 Thread Michal Simek
Hi Simon and Masahiro, On 02/03/2015 08:32 AM, Masahiro Yamada wrote: Hi Simon, On Mon, 2 Feb 2015 22:00:25 -0700 Simon Glass s...@chromium.org wrote: Hi, I have one of boards and would like to get mainline U-Boot booting on it. I have followed the instructions for creating a

[U-Boot] netconsole: USB Ethernet connection dropping with ping or tftpboot

2015-02-03 Thread Jörg Krause
I followed the instructions from Marek in 'M28 U-Boot Single-Wire Debug preview' to enable NetConsole: http://www.denx-cs.de/?q=blogm28singlewiredebug I'm using mxsldr to flash the u-boot.sb image to RAM. This is the dmesg output from my host: [31048.492181] usb 3-13: new high-speed USB

[U-Boot] Loop Variable through to user space

2015-02-03 Thread André Schaller
Hi all, during the execution of th MLO I create a variable, whose value I want to make accessible to user space applications in Android. How can this be achieved? One way would be to write the contents of the variable to external memory and let it read by the user space process. However, I would

Re: [U-Boot] [RFC PATCH 04/21] ARM: tegra: collect SoC sources into mach-tegra

2015-02-03 Thread Tom Rini
On Wed, Jan 28, 2015 at 11:11:46AM +0900, Masahiro Yamada wrote: Hi Stephen, On Mon, 26 Jan 2015 10:40:57 -0700 Stephen Warren swar...@wwwdotorg.org wrote: On 01/24/2015 11:11 PM, Masahiro Yamada wrote: This commit moves files as follows: arch/arm/cpu/arm720t/tegra20/* -

<    1   2