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

2015-02-03 Thread Hannes Petermaier
on vxWorks targets the filesystem with its MBR starts from a higher offset in the emmc flash for limiting space which is accesible by the user. Signed-off-by: Hannes Petermaier --- Changes for V2: None --- board/BuR/kwb/board.c |6 ++ disk/part_dos.c | 11 --- drivers/mm

[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 --- Changes for V2: None --- bur-scripts/.gitignore|3 ++ bur

[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. Signe

[U-Boot] [PATCH v2 01/24] 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 ms wit

[U-Boot] [PATCH v2 04/24] 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 --- Changes for V2: None --- board/BuR/common/bur_common.h |4 + board/BuR/common/common.c |

[U-Boot] [PATCH v2 05/24] 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 --- Changes for V2: None --- board/BuR/common/common.c | 25 +++-- 1 file c

[U-Boot] [PATCH v2 02/24] 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 Pete

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

2015-02-03 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- 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 --- a/board/BuR/tseries/bo

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

2015-02-03 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- 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 368f588..7fd0a00 100644 --- a/include/configs/tseries.h +++ b/include/configs/tseries.h @

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

2015-02-03 Thread Hannes Petermaier
Signed-off-by: Hannes Petermaier --- 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 +++ b/include/configs/tseries.h @

[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 --- Changes for V2: None --- include/configs/bur_am335x_common.h |1 + 1 file changed, 1 insertion(+) diff --gi

[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 --- 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 +++ b/board/BuR/tseries/mux.c @@ -25,

[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 Pet

[U-Boot] [PATCH v2 09/24] 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 --- 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 b/board/BuR/tseries/mux.c index

[U-Boot] [PATCH v2 10/24] 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 --- Changes for V2: None --- board/BuR/tseries/mux.c |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/board/BuR/tseries/mux.c b/board/BuR

[U-Boot] [PATCH v2 16/24] 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 --- 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 a1c6887..9402aa4 100644 ---

[U-Boot] [PATCH v2 14/24] 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 --- Changes for V2: None --- include/configs/bur_am335x_common.h |9 - 1 file changed, 8 insertions(+), 1 deletion(-)

[U-Boot] [PATCH v2 19/24] 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 --- Changes for V2: None --- include/configs/kwb.h | 81 +++-- 1 file changed, 45 insertions(+), 36 deletions(-) diff

[U-Boot] [PATCH v2 20/24] 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 --- Changes for V2: None --- board/BuR/kwb/board.c | 30 ++

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

2015-02-03 Thread Hannes Petermaier
Due to several changes of the boot-process we've redesigned the default- environment settings completly. Signed-off-by: Hannes Petermaier --- Changes for V2: None --- include/configs/tseries.h | 71 + 1 file changed, 66 insertions(+), 5 deletions(-)

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

2015-02-03 Thread Hannes Petermaier
For series testing purpose we need to boot some linux, therefore we enable the needed features - bootz - devicetree Signed-off-by: Hannes Petermaier --- Changes for V2: None --- include/configs/kwb.h |9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/include/configs

[U-Boot] [PATCH v2 17/24] 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 --- Changes for V2: None --- board/BuR/kwb/board.c | 92 ++--- board/BuR/kw

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

2015-02-03 Thread Hannes Petermaier
on B&R boards we want not redirect console to screen. Signed-off-by: Hannes Petermaier --- 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 100644 --- a/RE

[U-Boot] [PATCH v2 23/24] intern: Add specific offset do FAT-Filesystem

2015-02-03 Thread Hannes Petermaier
on vxWorks targets the filesystem with its MBR starts from a higher offset in the emmc flash for limiting space which is accesible by the user. Signed-off-by: Hannes Petermaier --- Changes for V2: None --- board/BuR/kwb/board.c |6 ++ disk/part_dos.c | 11 --- drivers/mm

[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 overwritte

[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 --- Changes for V2: None --- bur-scripts/.gitignore|3 ++ bur

Re: [U-Boot] [PATCH v2 22/24] 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 From: Hannes Petermaier To: u-boot@lists.denx.de Date: 03.02.2015 13:26 Subject:[U-Boot] [PATCH v2 22/24] intern: disable lcd-stdout Sent by:"U-Boot" on B&R boards we want no

Re: [U-Boot] [PATCH v2 24/24] 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" schrieb am 03.02.2015 13:22:46: > From: Hannes Petermaier > To: u-boot@lists.denx.de > Date: 03.02.2015 13:27 > Subject: [U-Boot] [PATCH v2 24/24] intern: Add copy scripts and target specific

Re: [U-Boot] [PATCH v2] armv8/vexpress64: make multientry conditional

2015-02-03 Thread Linus Walleij
On Fri, Jan 30, 2015 at 3:27 PM, FengHua wrote: >> While the Freescale ARMv8 board LS2085A will enter U-Boot both >> on a master and a secondary (slave) CPU, this is not the common >> behaviour on ARMv8 platforms. The norm is that U-Boot is entered >> from the master CPU only, while the other CPU

Re: [U-Boot] [PATCH v2 23/24] 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" schrieb am 03.02.2015 13:22:45: > From: Hannes Petermaier > To: u-boot@lists.denx.de > Date: 03.02.2015 13:27 > Subject: [U-Boot] [PATCH v2 23/24] intern: Add specific offset do FAT-Filesyste

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 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] board/BuR/tseries: Change pinmux for GPIO2_28 from GPIO to PWM-Timeroutput

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 EXT4 support

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: try to setup cpsw mac-address from the devicetree

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: Introduce Network Console and common environment for it

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: Enable CONFIG_CMD_TIME

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 - enable UART1 pins

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: 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/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] 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] [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: 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 v2] intern: Add copy scripts and target specific helpers

2015-02-03 Thread Heiko Schocher
Hello Hannes, Am 03.02.2015 13:37, schrieb Hannes Petermaier: Hi all, please ignore this "internal" patch. This is was an accident. Maybe it is worth to look into patman, see: u-boot:/tools/patman/README ? bye, Heiko best regards, Hannes ___ U-B

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 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. >> Apache/2.2.

[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 sp

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 fdt_

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 t

Re: [U-Boot] SPL DM

2015-02-03 Thread Simon Glass
Hi Michal, On 3 February 2015 at 06:16, Michal Simek 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. > > microblaze-generic:

[U-Boot] [PATCH 1/2] microblaze: spl: Do not call mem_malloc_init and use early alloc

2015-02-03 Thread Michal Simek
This patch has some parts connected together: - Use _gd in bss section which is automatically cleared Location at SPL_MALLOC_END wasn't cleared at all - Use MALLOC_F_LEN(early alloc) instead of FULL MALLOC (mem_malloc_init is not called at all) - Simplify malloc and stack init. At the end of

[U-Boot] [PATCH 2/2] microblaze: spl: Add LISTS to linker script

2015-02-03 Thread Michal Simek
This is required for driver model. Signed-off-by: Michal Simek --- arch/microblaze/cpu/u-boot-spl.lds | 6 ++ 1 file changed, 6 insertions(+) diff --git a/arch/microblaze/cpu/u-boot-spl.lds b/arch/microblaze/cpu/u-boot-spl.lds index 96353cd96ca7..c60336ca5ca8 100644 --- a/arch/microblaze/

Re: [U-Boot] SPL DM

2015-02-03 Thread Michal Simek
Hi Simon, On 02/03/2015 03:11 PM, Simon Glass wrote: > Hi Michal, > > On 3 February 2015 at 06:16, Michal Simek 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. Withou

[U-Boot] [PATCH] nand: Remove unused CONFIG_MTD_NAND_ECC_JFFS2 option

2015-02-03 Thread Peter Tyser
This option was removed along with legacy NAND support in be33b046b549ad88c204c209508cd7657232ffbd. Clean up some remnants. Signed-off-by: Peter Tyser --- doc/README.nand | 12 include/configs/ethernut5.h | 1 - 2 files changed, 13 deletions(-) diff --git a/doc/README

[U-Boot] [PATCH] cmd_yaffs: Clean up command usage messages

2015-02-03 Thread Peter Tyser
Remove duplicate command names in usage messages to fix issues such as: => help yls yls - yaffs ls Usage: yls yls [-l] dirname Signed-off-by: Peter Tyser --- common/cmd_yaffs2.c | 26 +- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/common/cmd_y

[U-Boot] [PATCH] nand: Remove unused read/write structures

2015-02-03 Thread Peter Tyser
The use of the nand_write_options and nand_read_options structures were removed in commit dfbf617ff055e4216f78d358b0867c548916d14b. Remove the now-unused structures too. Signed-off-by: Peter Tyser --- include/nand.h | 26 -- 1 file changed, 26 deletions(-) diff --git a/

[U-Boot] [PATCH v2] omap3: add support for QUIPOS Cairo board.

2015-02-03 Thread Albert ARIBAUD (3ADEV)
This patch extends OMAP3 support for AM/DM37xx and introduces the AM3703-based Quipos Cairo board. Signed-off-by: Albert ARIBAUD (3ADEV) --- NOTES: Two checkpatch diagnostics are left uncorrected: 1. "warning: arch/arm/cpu/armv7/omap3/Kconfig,94: please write a paragraph that describes the c

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 R

[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 --- 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 --- I don't have a board with DFU support, so this change is untested. drivers/dfu/dfu_nand.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) di

[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 --- README | 3 -- board/prodrive/alpr/nand.c | 16 - board/socrates/nand.c

[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 few

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 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 anybody already encountered >

[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 --- common/cmd_demo.c | 4 +++- 1 file changed, 3 ins

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 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 > --- > > arch/arm/lib/int

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 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. > > Signed-off-by: Pet

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 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 errors. > > The patch

[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 and

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 pat

[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 d

[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 wrote: > > > On 01/24/2015 11:11 PM, Masahiro Yamada wrote: > > > This commit moves files as follows: > > > > > > arch/arm/cpu/arm720t/tegra20/* -> arc

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

2015-02-03 Thread Joe Hershberger
Commit 90bac29a76bc8d649b41a55f2786c0abef9bb2c1 claims to fix this bug that was introduced in commit a92fd6577ea17751ead9b50243e3c562125cf581 but doesn't actually make the change that the commit message describes. Actually fix the bug this time. Signed-off-by: Joe Hershberger --- common/cmd_fd

[U-Boot] [PATCH 2/2] cmd_fdt: Print the control fdt in terms of virtual memory

2015-02-03 Thread Joe Hershberger
If you want to inspect the control device tree using the fdt command, the "fdt address -c" command previously unhelpfully printed the phys memory address of the device tree. That address could not then be used to set the fdt address for inspection. Signed-off-by: Joe Hershberger --- common/cm

Re: [U-Boot] Loop Variable through to user space

2015-02-03 Thread Albert ARIBAUD
Hello André, On Tue, 03 Feb 2015 13:57:28 +0100, André Schaller wrote: > 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 v

Re: [U-Boot] [PATCH 2/2] cmd_fdt: Print the control fdt in terms of virtual memory

2015-02-03 Thread Albert ARIBAUD
Hello Joe, On Tue, 3 Feb 2015 16:06:07 -0600, Joe Hershberger wrote: > If you want to inspect the control device tree using the fdt command, > the "fdt address -c" command previously unhelpfully printed the phys > memory address of the device tree. That address could not then be used > to set th

[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 --- include/configs/sunxi-common.h | 3 +++ 1 file changed, 3 insertions(+

Re: [U-Boot] SPL DM

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

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 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 describes. > > Actually fix

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 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. > > --- > lib/rsa/Kconfig | 1 +

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 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 wrote: >> >>> Hi Michal, >>> >>> On 2 February 2015 at 08:31, Michal Simek wrote: Targets with CONFIG_

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 wrote: > Hi Simon, > > > On Tue, 3 Feb 2015 10:10:02 +0200 > "Lubomir Popov" wrote: > >> Hi Simon, >> >> > Hi, >> > >> > On 30 January 2015 at 10:56, Lubomir Popov wrote: >> >> I2C chips do exist that require a write of some multi-byte d

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 wrote: > Hi, > > On 2 February 2015 at 01:07, Hans de Goede wrote: >> Hi Simon, Siarhei, >> >> On 01-02-15 21:59, Simon Glass wrote: >>> >>> Hi Siarhei, >>> >>> On 1 February 2015 at 11:37, Siarhei Siamashka >>> >> >> >> >> A comprehensive FEL

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 wrote: > +Masahiro > > Hi Chris, > > On 3 February 2015 at 00:42, Chris Kuethe wrote: >> Discovered while experimenting with signature checking on vexpress >> which doesn't typically use DM. Rather than complaining about unmet >> dependencies it might b

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

2015-02-03 Thread Simon Glass
Hi Chris, On 3 February 2015 at 17:57, Chris Kuethe wrote: > On Tue, Feb 3, 2015 at 4:38 PM, Simon Glass wrote: >> +Masahiro >> >> Hi Chris, >> >> On 3 February 2015 at 00:42, Chris Kuethe wrote: >>> Discovered while experimenting with signature checking on vexpress >>> which doesn't typically

<    1   2