[U-Boot] [PATCH] video: Fix splash screen alignment

2013-02-15 Thread Matthias Weisser
commit d484b52 "video: Skip bitmaps which do not fit into the screen in cfb_console" breaks splash screen alignment which is passed in as magic (BMP_ALIGN_CENTER) x/y coordinates. Moving the check after the alignment block fixes this. Signed-off-by: Matthias Weisser --- dri

[U-Boot] [PATCH] imx: Use MXC_I2C_CLK in imx i2c driver

2012-09-24 Thread Matthias Weisser
i2c didn't work on imx25 due to missing MXC_IPG_PERCLK. Now using MXC_I2C_CLK on all imx systems using i2c. Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm1136/mx31/generic.c|1 + arch/arm/cpu/arm1136/mx35/generic.c|1 + arch/arm/cpu/armv7/mx5/clock.c |1 +

Re: [U-Boot] Sandbox question

2012-04-23 Thread Matthias Weisser
Am 23.04.2012 19:39, schrieb Wolfgang Denk: >> I suggested another solution: >> http://patchwork.ozlabs.org/patch/123074/ >> >> This has the disadvantage, as discussed in the thread, that the address >> passed to mmap is not guaranteed to be returned. > > I don't see why this would be needed. Bec

Re: [U-Boot] Sandbox question

2012-04-23 Thread Matthias Weisser
Am 23.04.2012 17:41, schrieb Mike Frysinger: > On Monday 23 April 2012 02:41:08 Wolfgang Denk wrote: >> =>md 0x100 >> 0100:Segmentation fault > > yes, this is because the code to make this work was reverted because of ppc > oddity. i haven't reviewed that yet to see why, but it see

Re: [U-Boot] Cache function change breaks zmx25

2011-12-10 Thread Matthias Weisser
Am 09.12.2011 16:03, schrieb Ilya Yanok: > Hi Matthias, > > On 09.12.2011 18:24, Matthias Weißer wrote: >> breaks zmx25 booting with the following command: >> >> tftpboot 0x8200 foo.img; dcache on; bootm 0x8200 >> >> It is stuck then in an endless loop after dcache is disabled before >> ju

[U-Boot] [PATCH] sandbox: Add tap based networking

2011-12-04 Thread Matthias Weisser
nds can be used to create an ethernet bridge to local network connection. $ brctl addbr br0 $ ifconfig eth0 0.0.0.0 promisc $ ifconfig tap0 0.0.0.0 $ brctl addif br0 eth0 $ brctl addif br0 tap0 $ ifconfig br0 up $ pump -i br0 Signed-off-by: Matthias Weisser --- This patch also needs these patch

Re: [U-Boot] [PATCH RFC] sandbox: Add tap based networking

2011-12-03 Thread Matthias Weisser
Am 29.11.2011 19:39, schrieb Mike Frysinger: +static int tap_set_hwaddr(struct eth_device *dev) > >> +{ > >> + /* Nothing to be done here */ > >> + return 0; > >> +} >>> > > >>> > > isn't there an ioctl that lets you control this ? >> > >> > Sure. But if I read th

[U-Boot] [PATCH V2] net: Make sure IPaddr_t is 32 bits in size

2011-12-03 Thread Matthias Weisser
are fixed. Signed-off-by: Matthias Weisser Acked-by: Mike Frysinger --- Changes in v2: Added explicit information about 32 bit size of IPv4 addresses in commit message and source comment. include/net.h |3 ++- net/net.c |6 +++--- net/nfs.c |2 +- net/tftp.c|2

[U-Boot] [PATCH] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Matthias Weisser
When building u-boot as 64 bit application (e.g. sandbox) ulong might be 64 bits in size. This breaks network code as IPaddr_t is 64 bytes in size then. This patch makes sure that IPaddr_t is always 32 bits in size. Also some warnings introduced by this patch are fixed. Signed-off-by: Matthias

Re: [U-Boot] [PATCH RFC] sandbox: Add tap based networking

2011-11-29 Thread Matthias Weisser
Am 29.11.2011 16:24, schrieb Mike Frysinger: > On Tuesday 29 November 2011 09:09:03 Matthias Weisser wrote: >> This patch adds support for networking to sandbox architecture using tap. A >> tap device "tap0" has to be created e.g. using openvpn >> > > th

[U-Boot] [PATCH RFC] sandbox: Add tap based networking

2011-11-29 Thread Matthias Weisser
This patch adds a network driver for sandbox using tap. Signed-off-by: Matthias Weisser --- This patch adds support for networking to sandbox architecture using tap. A tap device "tap0" has to be created e.g. using openvpn $ openvpn --mktun --dev tap0 u-boot should then be able to

[U-Boot] [PATCH V2] sandbox: Add timer simulation

2011-11-29 Thread Matthias Weisser
Making sleep command work Signed-off-by: Matthias Weisser --- Changes in v2: - Added check for existence and working of clock_gettime - Added implementation of timer_get_us - Fixed a build error arch/sandbox/config.mk |1 + arch/sandbox/cpu/cpu.c |4 ++-- arch

[U-Boot] [PATCH] sandbox: Add timer simulation

2011-11-28 Thread Matthias Weisser
Making sleep command work Signed-off-by: Matthias Weisser --- arch/sandbox/config.mk |1 + arch/sandbox/cpu/cpu.c |2 +- arch/sandbox/cpu/os.c | 15 +++ board/sandbox/sandbox/sandbox.c |4 +++- include/os.h| 14

[U-Boot] [PATCH v2] arm: jadecpu: Readd MACH_TYPE_JADECPU

2011-11-05 Thread Matthias Weisser
MACH_TYPE_JADECPU was removed from mach-types.h. Add it to board config file. Signed-off-by: Matthias Weisser --- Changes in V2: Removed ifdef around MACH_TYPE board/syteco/jadecpu/jadecpu.c |1 - include/configs/jadecpu.h |6 ++ 2 files changed, 6 insertions(+), 1 deletions

[U-Boot] [PATCH V4] sandbox: Add improved RAM simulation

2011-11-05 Thread Matthias Weisser
Using mmap to allocate memory from the OS for RAM simulation we can use u-boot own malloc implementation. Signed-off-by: Matthias Weisser --- Changes in V4: Rebased to current HEAD Changes in V3: Fixed a build warning Changes in V2: Removed the address hint for mmap Removed the

[U-Boot] [PATCH V3] sandbox: Add improved RAM simulation

2011-11-03 Thread Matthias Weisser
Using mmap to allocate memory from the OS for RAM simulation we can use u-boot own malloc implementation. Signed-off-by: Matthias Weisser --- Changes in V3: Fixed a build warning Changes in V2: Removed the address hint for mmap Removed the special handling of dlmalloc in common Set gd

Re: [U-Boot] [[PATCH V2]] sandbox: Add improved RAM simulation

2011-11-03 Thread Matthias Weisser
Am 02.11.2011 21:56, schrieb Simon Glass: > On Wed, Nov 2, 2011 at 1:12 PM, Matthias Weisser wrote: >> Using mmap to allocate memory from the OS for RAM simulation we can use >> u-boots own malloc implementation. >> >> Signed-off-by: Matthias Weisser >> ---

[U-Boot] [[PATCH V2]] sandbox: Add improved RAM simulation

2011-11-02 Thread Matthias Weisser
Using mmap to allocate memory from the OS for RAM simulation we can use u-boots own malloc implementation. Signed-off-by: Matthias Weisser --- Changes in V2: Removed the address hint for mmap Removed the special handling of dlmalloc in common Set gd->bd->bi_dram[0].start to 0 again

Re: [U-Boot] [PATCH v2] sandbox: Change md command to use map_physmem

2011-11-02 Thread Matthias Weisser
Am 26.10.2011 01:51, schrieb Simon Glass: > Sandbox wants to support commands which use memory. The map_physmen() > call provides this feature, so should be used more consistently in > U-Boot. > > Signed-off-by: Simon Glass After fixing malloc problem: Tested-by: Matthias We

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-02 Thread Matthias Weisser
Am 01.11.2011 21:10, schrieb Mike Frysinger: > On Tuesday 01 November 2011 15:01:55 Matthias Weisser wrote: >> Am 01.11.2011 19:52, schrieb Mike Frysinger: >>> On Tuesday 01 November 2011 14:37:24 Matthias Weisser wrote: >>>> I don't know the memory layout strate

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 19:52, schrieb Mike Frysinger: > On Tuesday 01 November 2011 14:37:24 Matthias Weisser wrote: >> I don't know the memory layout strategies for all the Linux/Unix variant >> out there. But typically text/bss/data is in the lower address range >> (some megs

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 17:45, schrieb Simon Glass: +#define CONFIG_SYS_SDRAM_BASE 0x2000 ... -mem = malloc(size); +mem = os_mmap((void *)CONFIG_SYS_SDRAM_BASE, CONFIG_SYS_SDRAM_SIZE, +0, 0, -1, 0); >>> >>> mmap() makes no guarantee that

Re: [U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 16:28, schrieb Mike Frysinger: > On Tuesday 01 November 2011 10:07:31 Matthias Weisser wrote: >> --- a/arch/sandbox/cpu/os.c >> +++ b/arch/sandbox/cpu/os.c >> >> +void *os_mmap(void *addr, size_t length, int prot, int flags, int fd, >> +o

Re: [U-Boot] sandbox: Crash on startup

2011-11-01 Thread Matthias Weisser
Am 01.11.2011 15:01, schrieb Simon Glass: > Mi Matthias, > > On Tue, Nov 1, 2011 at 2:50 AM, Matthias Weisser wrote: >> Dear Simon >> >> I just wanted to play around with the sandbox "arch" of u-boot maybe >> adding tun/tap support. Current head compi

[U-Boot] [PATCH] sandbox: Add improved RAM simulation

2011-11-01 Thread Matthias Weisser
Using mmap we can simulate RAM at a specific address. This also eliminated the use of system malloc function. Signed-off-by: Matthias Weisser --- arch/sandbox/cpu/os.c |9 + arch/sandbox/lib/board.c | 19 +++ include/configs/sandbox.h |1 + include/os.h

[U-Boot] sandbox: Crash on startup

2011-11-01 Thread Matthias Weisser
Dear Simon I just wanted to play around with the sandbox "arch" of u-boot maybe adding tun/tap support. Current head compiled successfully but crashed immediately after startup in board_init_f: gd = malloc(sizeof(gd_t)); assert(gd); memset((void *)gd, 0, sizeof(gd_t)); T

[U-Boot] [PATCH] arm: jadecpu: Readd MACH_TYPE_JADECPU

2011-10-31 Thread Matthias Weisser
MACH_TYPE_JADECPU was removed from mach-types.h. Add it to board config file. Signed-off-by: Matthias Weisser --- board/syteco/jadecpu/jadecpu.c |1 - include/configs/jadecpu.h |6 ++ 2 files changed, 6 insertions(+), 1 deletions(-) diff --git a/board/syteco/jadecpu/jadecpu.c

Re: [U-Boot] [PATCH v2] arm: auto gen asm-offsets.h for mb86r0x

2011-08-01 Thread Matthias Weisser
Dear Albert Am 01.08.2011 17:11, schrieb Matthias Weisser: > auto gen asm-offsets.h for mb86r0x > > Signed-off-by: Matthias Weisser > --- > Changes in v2: > - Added forgotten register structures > > arch/arm/cpu/arm926ejs/mb86r0x/Makefile |2 + > arc

[U-Boot] [PATCH v2] arm: auto gen asm-offsets.h for mb86r0x

2011-08-01 Thread Matthias Weisser
auto gen asm-offsets.h for mb86r0x Signed-off-by: Matthias Weisser --- Changes in v2: - Added forgotten register structures arch/arm/cpu/arm926ejs/mb86r0x/Makefile |2 + arch/arm/cpu/arm926ejs/mb86r0x/asm-offsets.c| 65 arch/arm/include/asm/arch

[U-Boot] [PATCH v2 4/6] imx: Add auto generation of asm-offsets.h for imx25

2011-07-06 Thread Matthias Weisser
Offsets to registers may be needed in asm code. This patch adds automated generation of these offsets form C structures. Signed-off-by: Matthias Weisser --- Changes in v2: - Added a change in Makefile which was in wrong patch of the patch set arch/arm/cpu/arm926ejs/mx25/Makefile

[U-Boot] [PATCH v2 5/6] imx: Make imx25 compatible to mxc_gpio driver and fix in tx25

2011-07-06 Thread Matthias Weisser
Adding support for mxc_gpio driver for imx25 and fix names of registers in tx25 board. Signed-off-by: Matthias Weisser --- Changes in v2: - New in patch set due to review of v1 arch/arm/include/asm/arch-mx25/imx-regs.h | 10 -- board/karo/tx25/tx25.c| 26

[U-Boot] [PATCH v2 6/6] imx: Add support for zmx25 board

2011-07-06 Thread Matthias Weisser
zmx25 is a board based on imx25 SoC, 64 Megs of LPDDR, 32 Megs of NOR flash, an optional NAND flash. Signed-off-by: Matthias Weisser --- Changes in v2: - Using mxc_gpio now - Factored out asm macros MAINTAINERS|1 + arch/arm/include/asm/arch-mx25/macro.h

[U-Boot] [PATCH v2 3/6] imx: Add support for USB EHCI on imx25

2011-07-06 Thread Matthias Weisser
Adding support for USB host on imx25 using the internal PHY. Changing the name of base address define for imx31 to get some unification. Signed-off-by: Matthias Weisser --- Changes in v2: - Partially unified for imx25 and imx31 arch/arm/include/asm/arch-mx31/imx-regs.h |2 +- drivers

[U-Boot] [PATCH v2 2/6] imx: Use correct imx25 reset.c

2011-07-06 Thread Matthias Weisser
imx25 used the wrong reset.c from imx27 Signed-off-by: Matthias Weisser --- Changes in v2: - Removed unrelated change arch/arm/cpu/arm926ejs/mx25/Makefile |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25/Makefile b/arch/arm/cpu

[U-Boot] [PATCH v2 1/6] imx: Add get_tbclk() function for imx25

2011-07-06 Thread Matthias Weisser
Need this function for autoboot keyd Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mx25/timer.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25/timer.c b/arch/arm/cpu/arm926ejs/mx25/timer.c index 14f0c2d..7c8a71b

[U-Boot] [PATCH v2 0/6] Add support for zmx25 board

2011-07-06 Thread Matthias Weisser
Matthias Weisser (6): imx: Add get_tbclk() function for imx25 imx: Use correct imx25 reset.c imx: Add support for USB EHCI on imx25 imx: Add auto generation of asm-offsets.h for imx25 imx: Make imx25 compatible to mxc_gpio driver and fix in tx25 imx: Add support for zmx25 board

[U-Boot] [PATCH] arm: auto gen asm-offsets.h for mb86r0x

2011-07-04 Thread Matthias Weisser
auto gen asm-offsets.h for mb86r0x Signed-off-by: Matthias Weisser --- This patch needs http://patchwork.ozlabs.org/patch/102773/ to be applied first. arch/arm/cpu/arm926ejs/mb86r0x/Makefile |2 + arch/arm/cpu/arm926ejs/mb86r0x/asm-offsets.c| 65 arch/arm

[U-Boot] [PATCH] build: Add targets for auto gen of asm-offsets.h and use it in imx35

2011-06-30 Thread Matthias Weisser
asm-offsets.h should be auto generated. This patch adds two rules to rules.mk which makes this possible and removes the rules on imx35. Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm1136/mx35/Makefile | 11 --- rules.mk | 10 ++ 2 files

[U-Boot] [PATCH 4/5] imx: Add auto generation of asm-offsets.h for imx25

2011-06-30 Thread Matthias Weisser
Offsets to registers may be needed in asm code. This patch adds automated generation of these offsets form C structures. Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mx25/asm-offsets.c | 60 + arch/arm/include/asm/arch-mx25/imx-regs.h | 39

[U-Boot] [PATCH 2/5] imx: Use correct imx25 reset.c

2011-06-30 Thread Matthias Weisser
imx25 used the wrong reset.c from imx27 Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mx25/Makefile | 19 +++ 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25/Makefile b/arch/arm/cpu/arm926ejs/mx25/Makefile index 38d7f03

[U-Boot] [PATCH 5/5] imx: Add support for zmx25 board

2011-06-30 Thread Matthias Weisser
zmx25 is a board based on imx25 SoC, 64 Megs of LPDDR, 32 Megs of NOR flash, an optional NAND flash. Signed-off-by: Matthias Weisser --- MAINTAINERS|1 + board/syteco/zmx25/Makefile| 51 + board/syteco/zmx25/lowlevel_init.S | 136

[U-Boot] [PATCH 3/5] imx: Add support for USB EHCI on imx25

2011-06-30 Thread Matthias Weisser
Adding support for USB host on imx25 using the internal PHY Signed-off-by: Matthias Weisser --- drivers/usb/host/ehci-mxc.c | 28 ++-- 1 files changed, 26 insertions(+), 2 deletions(-) diff --git a/drivers/usb/host/ehci-mxc.c b/drivers/usb/host/ehci-mxc.c index

[U-Boot] [PATCH 1/5] imx: Add get_tbclk() function for imx25

2011-06-30 Thread Matthias Weisser
Need this function for autoboot keyd Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mx25/timer.c | 12 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25/timer.c b/arch/arm/cpu/arm926ejs/mx25/timer.c index 14f0c2d..7c8a71b

[U-Boot] [PATCH 0/5] Add support for zmx25 board

2011-06-30 Thread Matthias Weisser
zmx25 is a board based on imx25 SoC, 64 Megs of LPDDR, 32 Megs of NOR flash and an optional NAND flash. Some additons to imx25 SoC are made to fully support the hardware on the board. Matthias Weisser (5): imx: Add get_tbclk() function for imx25 imx: Use correct imx25 reset.c imx: Add

Re: [U-Boot] Removal of generated asm-offsets.s/h

2011-06-29 Thread Matthias Weisser
Hi Stefano Am 29.06.2011 17:48, schrieb Stefano Babic: > Hi Matthias, > >>> In message<4e0b3331.9030...@arcor.de> you wrote: If a soc automatically generates asm-offsets.s/h in its makefile it isn't removed by a make clean or make distclean. See mx35 as an example. Even addin

Re: [U-Boot] [PATCH] arm: Update jadecpu board

2011-06-29 Thread Matthias Weisser
Am 29.06.2011 19:56, schrieb Albert ARIBAUD: > Le 29/06/2011 14:08, Matthias Weisser a écrit : >> Enable dcache and arch memset/memcpy for speed reasons >> Remove of config.mk and some environment overwrites >> Some generic cleanup >> >> Signed-off-by: Matthias

[U-Boot] [PATCH] arm: Update jadecpu board

2011-06-29 Thread Matthias Weisser
Enable dcache and arch memset/memcpy for speed reasons Remove of config.mk and some environment overwrites Some generic cleanup Signed-off-by: Matthias Weisser --- board/syteco/jadecpu/config.mk |1 - board/syteco/jadecpu/jadecpu.c |5 + include/configs/jadecpu.h | 24

[U-Boot] [PATCH] video: Use memset instead of loop

2011-06-29 Thread Matthias Weisser
There is a optimized version of memset in u-boot available so use it instead of the hand written loop version. Signed-off-by: Matthias Weisser --- drivers/video/mb86r0xgdc.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/drivers/video/mb86r0xgdc.c b/drivers/video

Re: [U-Boot] [PATCH V2] memcpy/memmove: Do not copy to same address

2011-06-16 Thread Matthias Weisser
Am 14.06.2011 08:18, schrieb Matthias Weißer: > Hello Wolfgang > > Am 23.05.2011 11:03, schrieb Matthias Weisser: >> In some cases (e.g. bootm with a elf payload which is already at the right >> position) there is a in place copy of data to the same address. Catching this &

Re: [U-Boot] newbie questions regarding some config options.

2011-06-13 Thread Matthias Weisser
Am 13.06.2011 15:09, schrieb phil.edwor...@renesas.com: > > Hi Christopher, > >> What is the CONFIG_SYS_TEXT_BASE variable and how can >> I figure out what it should be? > > U-boot is typically stored in flash and one of the first things it does when > executed is relocate to ram. CONFIG_SYS_T

[U-Boot] [PATCH] arm: lib: memcpy: Do not copy to same address

2011-05-23 Thread Matthias Weisser
In some cases (e.g. bootm with a elf payload which is already at the right position) there is a in place copy of data to the same address. Catching this saves some ms while booting. Signed-off-by: Matthias Weisser --- arch/arm/lib/memcpy.S |3 +++ 1 files changed, 3 insertions(+), 0

[U-Boot] [PATCH V2] memcpy/memmove: Do not copy to same address

2011-05-23 Thread Matthias Weisser
In some cases (e.g. bootm with a elf payload which is already at the right position) there is a in place copy of data to the same address. Catching this saves some ms while booting. Signed-off-by: Matthias Weisser --- Changes since V1: - Made subject more informative - Removed the

Re: [U-Boot] Update and Cut down mach types

2011-04-19 Thread Matthias Weisser
Hello Wolfgang Am 19.04.2011 16:21, schrieb Wolfgang Denk: > Dear =?ISO-8859-1?Q?Matthias_Wei=DFer?=, >> solution for ARM but non-Linux u-boot ports then? What should be passed >> to gd->bd->bi_arch_number? > > I think you have two options: > > 1) Complain with RMK about the removal of yoru MAC

Re: [U-Boot] Image copy to ram

2011-04-12 Thread Matthias Weisser
Am 12.04.2011 21:12, schrieb Mike Frysinger: > On Tuesday, April 12, 2011 14:47:46 Matthias Weisser wrote: >> Am 12.04.2011 18:20, schrieb Mike Frysinger: >>> On Tuesday, April 12, 2011 04:01:18 Matthias Weißer wrote: >>>> I looked into the documentation but I can

Re: [U-Boot] Image copy to ram

2011-04-12 Thread Matthias Weisser
Am 12.04.2011 18:20, schrieb Mike Frysinger: > On Tuesday, April 12, 2011 04:01:18 Matthias Weißer wrote: >> I looked into the documentation but I can't find a command which copies >> an image from one address to another. > > you mean 'cp' ? Well, not exactly. cp doesn't know anything about the s

[U-Boot] [PATCH] Do not copy to same address

2011-04-11 Thread Matthias Weisser
In some cases (e.g. bootm with a elf payload) there is a in place copy of data to the same address. Catching this saves some ms while booting. Signed-off-by: Matthias Weisser --- lib/string.c |9 + 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/lib/string.c b/lib

Re: [U-Boot] [PATCH V2] Do not copy elf section to same adress

2011-04-11 Thread Matthias Weisser
Am 11.04.2011 21:59, schrieb Wolfgang Denk: > Dear Matthias Weisser, > > In message <1295435020-14190-1-git-send-email-weiss...@arcor.de> you wrote: >> > When an elf section is already at the right position (e.g. after image >> > decompression by bootm) there

Re: [U-Boot] [PATCH V2] Do not copy elf section to same adress

2011-04-11 Thread Matthias Weisser
Hi Am 19.01.2011 12:03, schrieb Matthias Weisser: > When an elf section is already at the right position (e.g. after image > decompression by bootm) there is no need to copy it. This saves some ms > when bootig an elf image. > > Changes since V1 > - Fixed style issues

[U-Boot] [PATCH V3] arm: Use optimized memcpy and memset from linux

2011-03-10 Thread Matthias Weisser
dcache is on Size impact: C version: textdata bss dec hex filename 202862 18912 266456 488230 77326 u-boot ASM version: textdata bss dec hex filename 203798 18912 266288 488998 77626 u-boot 222712 u-boot.bin Signed-off-by: Matthias Weisser

[U-Boot] [PATCH V2] arm: Use optimized memcpy and memset from linux

2011-01-26 Thread Matthias Weisser
of these functions optional be CONFIG_USE_ARCH_MEM - Usage of PLD instruction on all architectures supporting it - Added a README entry - Minor style fixes Signed-off-by: Matthias Weisser --- README |6 + arch/arm/include/asm/assembler.h | 60 ++ arch

[U-Boot] [PATCH] arm: Use optimized memcpy and memset from linux

2011-01-24 Thread Matthias Weisser
bss dec hex filename 203798 18912 266288 488998 77626 u-boot Signed-off-by: Matthias Weisser --- arch/arm/include/asm/assembler.h | 62 ++ arch/arm/include/asm/string.h|4 +- arch/arm/lib/Makefile|2 + arch/arm/lib/memcpy.S| 241

[U-Boot] [RFC PATCH] Speed up kernel decompression

2011-01-19 Thread Matthias Weisser
decompression. Signed-off-by: Matthias Weisser --- common/cmd_bootm.c |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 18019d6..0684bc0 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -722,6 +722,7 @@ int do_bootm

[U-Boot] [PATCH V2] Do not copy elf section to same adress

2011-01-19 Thread Matthias Weisser
When an elf section is already at the right position (e.g. after image decompression by bootm) there is no need to copy it. This saves some ms when bootig an elf image. Changes since V1 - Fixed style issues Signed-off-by: Matthias Weisser --- common/cmd_elf.c |8 +--- 1 files changed

[U-Boot] [PATCH] Do not copy elf section to same adress

2011-01-18 Thread Matthias Weisser
When an elf section is already at the right position (e.g. after image decompression by bootm) there is no need to copy it. Signed-off-by: Matthias Weisser --- common/cmd_elf.c |7 --- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/common/cmd_elf.c b/common/cmd_elf.c

[U-Boot] [PATCH] [NEXT]arm: Enable dcache in jadecpu

2010-12-03 Thread Matthias Weisser
Enabling d cache leads to greatly improved image decompression times. Signed-off-by: Matthias Weisser --- board/syteco/jadecpu/jadecpu.c |1 + include/configs/jadecpu.h |1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/board/syteco/jadecpu/jadecpu.c b/board

[U-Boot] [PATCH] Makefile: Fix build with USE_PRIVATE_LIBGCC

2010-11-18 Thread Matthias Weisser
If USE_PRIVATE_LIBGCC is set the yes building fails with a missing libgcc.a As we use partial linking now it is libgcc.o now. Signed-off-by: Matthias Weisser --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index af33f08..b4aae89 100644

[U-Boot] [PATCH V3] imx25: Fix reset

2010-10-27 Thread Matthias Weisser
This patch fixes the reset command on imx25. The watchdog registers are 16 bits in size and not 32. This patch also adds the service register codes as constants. Signed-off-by: Matthias Weisser --- Changes since V2 - Using 16 bit constants Changes since V1 - Corrected whitespace

[U-Boot] [PATCH V2] imx25: Fix reset

2010-10-26 Thread Matthias Weisser
This patch fixes the reset command on imx25 Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mx25/reset.c |8 arch/arm/include/asm/arch-mx25/imx-regs.h | 10 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25

[U-Boot] [PATCH] imx25: Fix reset

2010-10-12 Thread Matthias Weisser
This patch fixes the reset command on imx25 Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mx25/reset.c | 10 ++ arch/arm/include/asm/arch-mx25/imx-regs.h | 10 +- 2 files changed, 7 insertions(+), 13 deletions(-) diff --git a/arch/arm/cpu/arm926ejs/mx25

[U-Boot] [PATCH] [NEXT]arm: Make jadecpu use relocation

2010-09-21 Thread Matthias Weisser
This patch modifies jadecpu board so that it is usable with the relocation patches by Heiko Schocher Signed-off-by: Matthias Weisser --- board/syteco/jadecpu/config.mk |2 +- board/syteco/jadecpu/jadecpu.c | 11 +-- include/configs/jadecpu.h |3 +++ 3 files changed, 13

[U-Boot] [PATCH V6 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-08-09 Thread Matthias Weisser
This patch adds support for the jadecpu board using the MB86R01 'Jade' SoC from Fujitsu. Signed-off-by: Matthias Weisser --- MAINTAINERS |4 + MAKEALL |1 + board/syteco/jadecpu/Makefile| 55 +++ board/syte

[U-Boot] [PATCH V6 2/3] video: add support for display controller in MB86R0x SoCs

2010-08-09 Thread Matthias Weisser
This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisser --- drivers/video/Makefile |1 + drivers/video/mb86r0xgdc.c | 186 2 files changed, 187 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH V6 1/3] arm: Add support for MB86R0x SoCs

2010-08-09 Thread Matthias Weisser
Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mb86r0x/Makefile | 47 ++ arch/arm/cpu/arm926ejs/mb86r0x/clock.c | 43 ++ arch/arm/cpu/arm926ejs/mb86r0x/reset.c | 40 ++ arch/arm/cpu/arm926ejs/mb86r0x/timer.c | 142 ++ arch/arm/include/asm

[U-Boot] [PATCH V6 0/3] Add support for MB86R0x SoCs

2010-08-09 Thread Matthias Weisser
of code to functions Matthias Weisser (3): arm: Add support for MB86R0x SoCs video: add support for display controller in MB86R0x SoCs arm: Add support for jadecpu board based on MB86R01 SoC MAINTAINERS |4 + MAKEALL

[U-Boot] [PATCH] LZMA and LZO causes compile error

2010-08-05 Thread Matthias Weisser
If both LZMA and LZO compressions are used there is a compile error in cmd_bootm.c Signed-off-by: Matthias Weisser --- common/cmd_bootm.c |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index adfa6cd..4562957 100644 --- a

[U-Boot] [PATCH V5 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-08-02 Thread Matthias Weisser
This patch adds support for the jadecpu board using the MB86R01 'Jade' SoC from Fujitsu. Signed-off-by: Matthias Weisser --- MAINTAINERS |4 + MAKEALL |1 + board/syteco/jadecpu/Makefile| 55 +++ board/syte

[U-Boot] [PATCH V5 2/3] video: add support for display controller in MB86R0x SoCs

2010-08-02 Thread Matthias Weisser
This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisser --- drivers/video/Makefile |1 + drivers/video/mb86r0xgdc.c | 186 2 files changed, 187 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH V5 1/3] arm: Add support for MB86R0x SoCs

2010-08-02 Thread Matthias Weisser
This patch adds support for MB86R0x SoCs from Fujitsu Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mb86r0x/Makefile | 47 ++ arch/arm/cpu/arm926ejs/mb86r0x/clock.c | 45 ++ arch/arm/cpu/arm926ejs/mb86r0x/reset.c | 40 ++ arch/arm/cpu/arm926ejs

[U-Boot] [PATCH V5 0/3] Add support for MB86R0x SoCs

2010-08-02 Thread Matthias Weisser
current u-boot next branch Changes since V1 - Used C structs for addressing instead of base + offset - Moved offsets for assmebler code to asm-offsets.h - Moved some dublicated sections of code to functions Matthias Weisser (3): arm: Add support for MB86R0x SoCs video: add support for

[U-Boot] [PATCH V2 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-06-28 Thread Matthias Weisser
This patch adds support for the jadecpu board using the MB86R01 'Jade' SoC from Fujitsu. Signed-off-by: Matthias Weisser --- MAINTAINERS |4 + MAKEALL |1 + board/syteco/jadecpu/Makefile| 55 +++ board/syte

[U-Boot] [PATCH V2 2/3] video: add support for display controller in MB86R0x SoCs

2010-06-28 Thread Matthias Weisser
This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisser --- drivers/video/Makefile |1 + drivers/video/mb86r0xgdc.c | 186 2 files changed, 187 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH V2 1/3] arm: Add support for MB86R0x SoCs

2010-06-28 Thread Matthias Weisser
This patch adds support for MB86R0x SoCs from Fujitsu Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mb86r0x/Makefile | 47 ++ arch/arm/cpu/arm926ejs/mb86r0x/reset.c | 40 ++ arch/arm/cpu/arm926ejs/mb86r0x/timer.c | 139 ++ arch/arm/include/asm

[U-Boot] [PATCH V2 0/3] Add support for MB86R0x SoCs

2010-06-28 Thread Matthias Weisser
assmebler code to asm-offsets.h - Moved some dublicated sections of code to functions Matthias Weisser (3): arm: Add support for MB86R0x SoCs video: add support for display controller in MB86R0x SoCs arm: Add support for jadecpu board based on MB86R01 SoC MAINTAINERS

[U-Boot] [PATCH V2 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-05-05 Thread Matthias Weisser
This patch adds support for the jadecpu board using the MB86R01 'Jade' SoC from Fujitsu. Signed-off-by: Matthias Weisser --- MAINTAINERS |4 + MAKEALL |1 + Makefile |4 + board/syteco/jadecp

[U-Boot] [PATCH V2 1/3] arm: Add support for MB86R0x SoCs

2010-05-05 Thread Matthias Weisser
This patch adds support for MB86R0x SoCs from Fujitsu Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mb86r0x/Makefile | 47 ++ arch/arm/cpu/arm926ejs/mb86r0x/reset.c | 40 ++ arch/arm/cpu/arm926ejs/mb86r0x/timer.c | 139 ++ arch/arm/include/asm

[U-Boot] [PATCH V2 2/3] video: add support for display controller in MB86R0x SoCs

2010-05-05 Thread Matthias Weisser
This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisser --- drivers/video/Makefile |1 + drivers/video/mb86r0xgdc.c | 186 2 files changed, 187 insertions(+), 0 deletions(-) create mode 100644

[U-Boot] [PATCH V2 0/3] Add support for MB86R0x SoCs

2010-05-05 Thread Matthias Weisser
code to functions Matthias Weisser (3): arm: Add support for MB86R0x SoCs video: add support for display controller in MB86R0x SoCs arm: Add support for jadecpu board based on MB86R01 SoC MAINTAINERS |4 + MAKEALL

[U-Boot] [PATCH] bootdelay can be an environemt variable

2010-04-26 Thread Matthias Weisser
This patch allows the bootdelay variable contain the name of another variable holding the actual bootdelay value. Signed-off-by: Matthias Weisser --- common/main.c |9 - 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/common/main.c b/common/main.c index f7e7c1c

[U-Boot] [PATCH 3/3] arm: Add support for jadecpu board based on MB86R01 SoC

2010-04-22 Thread Matthias Weisser
This patch adds support for the jadecpu board using the MB86R01 'Jade' SoC from Fujitsu. Signed-off-by: Matthias Weisser --- MAINTAINERS |4 + MAKEALL |1 + Makefile |3 + board/syteco/jadecp

[U-Boot] [PATCH 2/3] video: add support for display controller in MB86R0x SoCs

2010-04-22 Thread Matthias Weisser
This patch adds support for the display controller in the MB86R0x SoCs. Signed-off-by: Matthias Weisser --- drivers/video/Makefile |1 + drivers/video/cfb_console.c |8 ++ drivers/video/mb86r0xgdc.c | 194 +++ 3 files changed, 203

[U-Boot] [PATCH 1/3] arm: Add support for MB86R0x SoCs

2010-04-22 Thread Matthias Weisser
This patch adds support for MB86R0x SoCs from Fujitsu Signed-off-by: Matthias Weisser --- arch/arm/cpu/arm926ejs/mb86r0x/Makefile | 47 +++ arch/arm/cpu/arm926ejs/mb86r0x/reset.c | 37 ++ arch/arm/cpu/arm926ejs/mb86r0x/timer.c | 129 +++ arch/arm

[U-Boot] [PATCH 0/3] Add support for MB86R0x SoCs

2010-04-22 Thread Matthias Weisser
This patchset adds support for MB86R0x SoC familiy from Fujitsu, its built in lcd controller and a first board using the MB86R01. Matthias Weisser (3): arm: Add support for MB86R0x SoCs video: add support for display controller in MB86R0x SoCs arm: Add support for jadecpu board based on

[U-Boot] [PATCH] Removing Atmel from ARM926EJ-S Systems

2010-01-18 Thread Matthias Weisser
Signed-off-by: Matthias Weisser --- Makefile |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/Makefile b/Makefile index ed6156f..ffe07ef 100644 --- a/Makefile +++ b/Makefile @@ -2698,7 +2698,7 @@ mp2usb_config : unconfig @$(MKCONFIG) $(@:_config=) arm

[U-Boot] Antw: Re: [PATCH] Add support for jadecpu board

2010-01-17 Thread Matthias Weisser
Hello Wolfgang >>> Wolfgang Denk schrieb am 16.01.2010 um 21:11: > Dear Matthias Weisser, > > In message <4b5210ea.8000...@windriver.com> Tom Rix wrote: >> >> > index ed6156f..98c147d 100644 >> > --- a/Makefile >> > ++

[U-Boot] [PATCH] video: Fix console display when splashscreen is used

2010-01-12 Thread Matthias Weisser
If a splashscreen is used the console scrolling used the scroll size as needed when a logo was displayd. This patch sets the scroll size to the whole screen if a splashscreen is shown. Signed-off-by: Matthias Weisser --- drivers/video/cfb_console.c | 21 - 1 files changed

[U-Boot] [PATCH] Add support for jadecpu board

2010-01-11 Thread Matthias Weisser
Signed-off-by: Matthias Weisser --- MAINTAINERS |4 + MAKEALL |1 + Makefile |7 + board/syteco/jadecpu/Makefile| 55 +++ board/syteco/jadecpu/config.mk |1 + board/syteco

[U-Boot] [PATCH] Add support for Jade display controller

2010-01-11 Thread Matthias Weisser
Signed-off-by: Matthias Weisser --- drivers/video/Makefile |1 + drivers/video/cfb_console.c |2 +- drivers/video/jadegdc.c | 193 +++ 3 files changed, 195 insertions(+), 1 deletions(-) create mode 100644 drivers/video/jadegdc.c diff

[U-Boot] [PATCH] Add support for MB86R01 from Fujitsu

2010-01-11 Thread Matthias Weisser
Signed-off-by: Matthias Weisser --- common/serial.c |3 +- cpu/arm926ejs/jade/Makefile | 47 + cpu/arm926ejs/jade/reset.c | 37 cpu/arm926ejs/jade/timer.c | 127 + include/asm-arm/arch-jade

[U-Boot] Adding support for MB86R01

2010-01-11 Thread Matthias Weisser
This patchset adds support for the MB86R01 'Jade' SoC from Fujitsu. It is based on a ARM926EJS core. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Adding new vendor logo

2010-01-11 Thread Matthias Weisser
Signed-off-by: Matthias Weisser --- tools/Makefile |3 +++ tools/logos/syteco.bmp | Bin 0 -> 12278 bytes 2 files changed, 3 insertions(+), 0 deletions(-) create mode 100644 tools/logos/syteco.bmp diff --git a/tools/Makefile b/tools/Makefile index 5b8c3c3..702bb83 100644 --

  1   2   >