Re: [U-Boot] USB custodianship

2008-11-17 Thread Markus Klotzbücher
On Mon, Nov 17, 2008 at 10:47:21AM +0100, Stefan Roese wrote: > On Monday 17 November 2008, Markus Klotzbücher wrote: > > I've been maintaining the USB Layer in "bugfix mode" for some time now, > > but this piece of code really needs much more attention. There are > > definitely some brownie points

Re: [U-Boot] [PATCH] MIPS: Add CONFIG_SKIP_LOWLEVEL_INIT and flush dcache upon relocation

2008-11-17 Thread Shinya Kuribayashi
Stefan Roese wrote: >>> @@ -243,9 +243,11 @@ reset: >>> mtc0zero, CP0_COUNT >>> mtc0zero, CP0_COMPARE >>> >>> +#if !defined(CONFIG_SKIP_LOWLEVEL_INIT) >>> /* CONFIG0 register */ >>> li t0, CONF_CM_UNCACHED >>> mtc0t0, CP0_CONFIG >>> +#endif /* !CONFIG_SKIP_LOWLE

Re: [U-Boot] [PATCH] MIPS: Add board_early_init_f() to init_sequence

2008-11-17 Thread Shinya Kuribayashi
Stefan Roese wrote: >> This is ok. I don't know why people prefers alias, though :-) > > Just because we don't need the ugly #ifdef's by using weak aliases. It has > some drawbacks of course but in general the resulting source code > looks "cleaner". I was being vague. I prefers something lik

Re: [U-Boot] [PATCH] sh: Update sh timer function

2008-11-17 Thread Nobuhiro Iwamatsu
Hi, Jean-Christophe PLAGNIOL-VILLARD wrote: > On 16:51 Mon 17 Nov , Nobuhiro Iwamatsu wrote: >> Change to write/readX fcuntion and fix timer bug. >> >> Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> >> --- >> cpu/sh3/Makefile |2 +- >> cpu/sh3/time.c | 103 >> ---

[U-Boot] [PATCH 1/2] bootm: fix BOOTM_STATE_FDT subcommand usage

2008-11-17 Thread Jean-Christophe PLAGNIOL-VILLARD
boot_relocate_fdt can only be used on PPC, M68K and SPARC Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> --- common/cmd_bootm.c |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index a8f85e9..22e8b30 100644 ---

[U-Boot] [PATCH 2/2] fit: Fix little endian target support

2008-11-17 Thread Jean-Christophe PLAGNIOL-VILLARD
bswap_32 and bswap_64 is for host on target we use cpu_to_be32 and cpu_to_be64 Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <[EMAIL PROTECTED]> --- include/libfdt_env.h |7 +++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/include/libfdt_env.h b/include/libfdt_env.h in

[U-Boot] Fix uImage.FIT support for little endian target and non PPC, M68K and SPARC target

2008-11-17 Thread Jean-Christophe PLAGNIOL-VILLARD
Hi, The following path will fix the uImage.FIT support for little endian target and non PPC, M68K and SPARC target Tested on different ARM board Best Regards, J. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/m

Re: [U-Boot] USB custodianship

2008-11-17 Thread Wolfgang Denk
Dear Markus, In message <[EMAIL PROTECTED]> you wrote: > > I would therefore like to propse Remy Bohmer as a new USB > custodian. Remy has done an excellent job in fixing bugs, doing > cleanup and working with others to achieve this. I believe he is the > right person for this job and will be abl

Re: [U-Boot] Installing ELDK from arm-2006-09-06-uclibc.iso stuck at "1:glib2-devel-arm_trg" on ubuntu 8.1

2008-11-17 Thread Wolfgang Denk
Dear "Ajit Mittal", In message <[EMAIL PROTECTED]> you wrote: > I ma trying to instal ELDK for embedded arm xscale using the command POLease note that this posting is off topic here. You should post such requests on the ELDK mailing list instead. > install arm > > It hangs at: > "1:glib2-d

Re: [U-Boot] weak functions versus conditional compile

2008-11-17 Thread Mike Frysinger
On Monday 17 November 2008 16:17:54 Graeme Russ wrote: > I have a quick question I would like the groups opinion on: > > What is the rule-of-thumb for defining a function as weak versus using > conditional compilation (or #defines)? > > For example, I am doing some work on cleaning up the structure

Re: [U-Boot] Building tools without building firmware

2008-11-17 Thread Mike Frysinger
On Monday 17 November 2008 17:39:31 Matt Sealey wrote: > Mike Frysinger wrote: > > On Monday 17 November 2008 16:05:44 Matt Sealey wrote: > >> Mike Frysinger wrote: > >>> On Tuesday 11 November 2008 15:15:09 Matt Sealey wrote: > We have a need to build and package at the very least 'mkimage' f

Re: [U-Boot] Building tools without building firmware

2008-11-17 Thread Matt Sealey
Mike Frysinger wrote: > On Monday 17 November 2008 16:05:44 Matt Sealey wrote: >> Mike Frysinger wrote: >>> On Tuesday 11 November 2008 15:15:09 Matt Sealey wrote: We have a need to build and package at the very least 'mkimage' for SuSE 11.1 and since we have multiple board targets in m

[U-Boot] Installing ELDK from arm-2006-09-06-uclibc.iso stuck at "1:glib2-devel-arm_trg" on ubuntu 8.1

2008-11-17 Thread Ajit Mittal
I ma trying to instal ELDK for embedded arm xscale using the command install arm It hangs at: "1:glib2-devel-arm_trg" on ubuntu 8.1 Thanks ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] Building tools without building firmware

2008-11-17 Thread Mike Frysinger
On Monday 17 November 2008 16:05:44 Matt Sealey wrote: > Mike Frysinger wrote: > > On Tuesday 11 November 2008 15:15:09 Matt Sealey wrote: > >> We have a need to build and package at the very least 'mkimage' for SuSE > >> 11.1 and since we have multiple board targets in mind (MPC8641D, > >> MPC8610

[U-Boot] weak functions versus conditional compile

2008-11-17 Thread Graeme Russ
I have a quick question I would like the groups opinion on: What is the rule-of-thumb for defining a function as weak versus using conditional compilation (or #defines)? For example, I am doing some work on cleaning up the structure and design of the i386 / sc520 code. Specifically, some function

Re: [U-Boot] Building tools without building firmware

2008-11-17 Thread Matt Sealey
Mike Frysinger wrote: > On Tuesday 11 November 2008 15:15:09 Matt Sealey wrote: >> We have a need to build and package at the very least 'mkimage' for SuSE >> 11.1 and since we have multiple board targets in mind (MPC8641D, MPC8610, >> MPC5121e) it does not make any sense to pick any in particula

Re: [U-Boot] [PATCH] [ONENAND] Add markbad function

2008-11-17 Thread Scott Wood
On Thu, Nov 13, 2008 at 03:14:33PM +0900, Kyungmin Park wrote: > Add missing markbad function > If not, it's hang when it entered the mtd->mard_bad(). Applied to u-boot-nand-flash/next. > It's not against the u-boot-nand. Hmm? It appears to apply to the NAND next branch, and not mainline... -S

Re: [U-Boot] [PATCH] FAT on non standard sector size devices

2008-11-17 Thread Remy Bohmer
Hello Igor, 2008/11/17 Igor Luri <[EMAIL PROTECTED]>: > OK, thanks for your help. > > I have followed the hints found on the document suggested and I think this > time is going to work the patch, I have sended myself and it works. For the next time, if you stuck on using Evolution (for example d

[U-Boot] [PATCH] flash: Add interface for flash verbosity control

2008-11-17 Thread Piotr Ziecik
Add interface for flash verbosity control. It allows to disable output from low-level flash API. It is useful when calling these low-level functions from context other than flash commands (for example the MTD/CFI interface implmentation). Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- driver

[U-Boot] [PATCH] flash: Export flash_sector_size() function.

2008-11-17 Thread Piotr Ziecik
Export flash_sector_size() function from drivers/mtd/cfi_flash.c. Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- drivers/mtd/cfi_flash.c |2 -- include/flash.h |3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/cfi_flash.c b/drivers/mtd/cfi_fla

[U-Boot] [PATCH 1/3] cfi-mtd: Add cfi-mtd driver.

2008-11-17 Thread Piotr Ziecik
Add cfi-mtd driver, which exports CFI flash to MTD layer. This allows CFI flash devices to be used from MTD layer. Building of the new driver is controlled by CONFIG_FLASH_CFI_MTD option. Initialization is done by calling cfi_mtd_init() from flash_init(). Signed-off-by: Piotr Ziecik <[EMAIL PROTE

[U-Boot] [PATCH 3/3] ubi: Add proof-of-concept CFI flash support

2008-11-17 Thread Piotr Ziecik
With this patch UBI can be used on CFI flash chips. Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- For example to create UBI volume on empty flash partition (partition 0 on NOR device 0) use following commands: => setenv mtdids nor0=nor => mtdparts add nor0 [EMAIL PROTECTED] nor-part => save

[U-Boot] [PATCH 2/3] mtd: Remove a printf() from add_mtd_device().

2008-11-17 Thread Piotr Ziecik
Remove a printf() from add_mtd_device(), which produces spurious output. Signed-off-by: Piotr Ziecik <[EMAIL PROTECTED]> --- drivers/mtd/mtdcore.c |2 -- 1 files changed, 0 insertions(+), 2 deletions(-) diff --git a/drivers/mtd/mtdcore.c b/drivers/mtd/mtdcore.c index 64bd7d4..6eb52ed 100644

[U-Boot] Export CFI Flash to the MTD and support it in UBI

2008-11-17 Thread Piotr Ziecik
Following patches allow for CFI Flash support in UBI and other MTD based parts of U-Boot. This is done by adding cfi_mtd driver which exports CFI Flash to the MTD layer. First patch adds cfi_mtd driver to the U-Boot. Second cleans printf() in MTD layer. The last one adds proof-of-concept CFI Flash

Re: [U-Boot] [PATCH] MIPS: Add board_early_init_f() to init_sequence

2008-11-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 13:18 Wed 12 Nov , Stefan Roese wrote: > This patch adds the board_early_init_f() call to the MIPS init > sequence. A weak dummy implementation is also added which can be > overridden by a board specific version. > > This will be used by the upcoming VCTH board support. > > Signed-off-by:

Re: [U-Boot] [PATCH] MIPS: Add board_early_init_f() to init_sequence

2008-11-17 Thread Stefan Roese
On Sunday 16 November 2008, Shinya Kuribayashi wrote: > > +int __board_early_init_f(void) > > +{ > > + /* > > +* Nothing to do in this dummy implementation > > +*/ > > + return 0; > > +} > > +int board_early_init_f(void) __attribute__((weak, > > alias("__board_early_init_f"))); + > > /

Re: [U-Boot] [PATCH] MIPS: Add CONFIG_SKIP_LOWLEVEL_INIT and flush dcache upon relocation

2008-11-17 Thread Stefan Roese
On Sunday 16 November 2008, Shinya Kuribayashi wrote: > > diff --git a/cpu/mips/start.S b/cpu/mips/start.S > > index 6a22302..5b71b00 100644 > > --- a/cpu/mips/start.S > > +++ b/cpu/mips/start.S > > @@ -243,9 +243,11 @@ reset: > > mtc0zero, CP0_COUNT > > mtc0zero, CP0_COMPARE > > >

Re: [U-Boot] add usb_system_autoupdate command.

2008-11-17 Thread Matteo Facchinetti
Hi Marco, I looked updater.c and and I take that code as example. Well, I removed all function as same as do_... (do_fat_fsload, do_protect, do_flerase, do_mem_cp). In this way, I could remove also strcpy() and sprintf() needed to made their parameters and the result is that I cleaned and empr

[U-Boot] [PATCH v2] cfi_flash: Make all flash access functions weak

2008-11-17 Thread Stefan Roese
This patch defines all flash access functions as weak so that they can be overridden by board specific versions. This will be used by the upcoming VCTH board support where the NOR FLASH unfortunately can't be accessed memory-mapped. Special accessor functions are needed here. To enable this weak

Re: [U-Boot] [PATCH] FAT on non standard sector size devices

2008-11-17 Thread Igor Luri
OK, thanks for your help. I have followed the hints found on the document suggested and I think this time is going to work the patch, I have sended myself and it works. Signed-off-by: Igor Luri <[EMAIL PROTECTED]> --- ./Escritorio/Descargas/fat.h2008-11-10 15:50:57.0 +0100 +++

Re: [U-Boot] [PATCH] FAT on non standard sector size devices

2008-11-17 Thread Jerry Van Baren
Igor Luri wrote: > Dear Remy Bohme, > > Sorry, but I don't have experience in email encoding. I have changed > Evolution's preferences to use ISO-8859-15 intead of UTF-8 caracter > encoding. If this change does not correct the problem, any help would be > apretiated. > > Thanks. Hi Igor, Your p

[U-Boot] U-Boot to load VxWorks

2008-11-17 Thread raul . moreno
Hello people, I am used to using U-boot in order to boot Linux, but now I also need to boot VxWorks. Till now I copied the Linux kernel in Flash and when I wanted to update it, I had two options: doing it from U-Boot (tftp the image and using the cp command) or from Linux (using the dd command o

Re: [U-Boot] [PATCH] sh: Update sh timer function

2008-11-17 Thread Jean-Christophe PLAGNIOL-VILLARD
On 16:51 Mon 17 Nov , Nobuhiro Iwamatsu wrote: > Change to write/readX fcuntion and fix timer bug. > > Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> > --- > cpu/sh3/Makefile |2 +- > cpu/sh3/time.c | 103 > -- > cpu/sh4/time.c

[U-Boot] MMU initialization

2008-11-17 Thread A. Geisreiter
Hello, I use U-Boot with a Marvell PXA270 CPU. And I have built a new Windows Embedded CE 6.0 Image with a given BSP for the board. In the end I get a binary Image with a virtual start address. This means to me, that the MMU must be initialized of the bootloader. But I think this should be the

Re: [U-Boot] [PATCH] cfi_flash: Make all flash access functions weak

2008-11-17 Thread Stefan Roese
On Monday 17 November 2008, Haavard Skinnemoen wrote: > Stefan Roese <[EMAIL PROTECTED]> wrote: > > I could do it this way, sure. But how about this version: > > > > static void __flash_write8(u8 value, void *addr) > > { > > __raw_writeb(value, addr); > > } > > ... > > > > #ifdef CONFIG_CFI_FLA

Re: [U-Boot] USB custodianship

2008-11-17 Thread Stefan Roese
On Monday 17 November 2008, Markus Klotzbücher wrote: > I've been maintaining the USB Layer in "bugfix mode" for some time now, > but this piece of code really needs much more attention. There are > definitely some brownie points to earn here: cleanup, increase of > robustness, EHCI,... Unfortunate

Re: [U-Boot] [PATCH] cfi_flash: Make all flash access functions weak

2008-11-17 Thread Haavard Skinnemoen
Stefan Roese <[EMAIL PROTECTED]> wrote: > I could do it this way, sure. But how about this version: > > static void __flash_write8(u8 value, void *addr) > { > __raw_writeb(value, addr); > } > ... > > #ifdef CONFIG_CFI_FLASH_USE_WEAK_ACCESSORS > void flash_write8(u8 value, void *addr)__attri

Re: [U-Boot] [PATCH] cfi_flash: Make all flash access functions weak

2008-11-17 Thread Stefan Roese
On Monday 17 November 2008, Haavard Skinnemoen wrote: > Stefan Roese <[EMAIL PROTECTED]> wrote: > > Old version without weak aliases: > >textdata bss dec hex filename > > 280964 20232 50788 351984 55ef0 ./u-boot > > > > New version with weak aliases: > >textdata

[U-Boot] USB custodianship

2008-11-17 Thread Markus Klotzbücher
Dear List, I've been maintaining the USB Layer in "bugfix mode" for some time now, but this piece of code really needs much more attention. There are definitely some brownie points to earn here: cleanup, increase of robustness, EHCI,... Unfortunately attention takes time, and I don't have much of

Re: [U-Boot] [PATCH] cfi_flash: Make all flash access functions weak

2008-11-17 Thread Haavard Skinnemoen
Stefan Roese <[EMAIL PROTECTED]> wrote: > Old version without weak aliases: >textdata bss dec hex filename > 280964 20232 50788 351984 55ef0 ./u-boot > > New version with weak aliases: >textdata bss dec hex filename > 280520 20232 50788 351540

Re: [U-Boot] [PATCH] cfi_flash: Make all flash access functions weak

2008-11-17 Thread Stefan Roese
On Monday 17 November 2008, Stefan Roese wrote: > Old version without weak aliases: >textdata bss dec hex filename > 280964 20232 50788 351984 55ef0 ./u-boot > > New version with weak aliases: >textdata bss dec hex filename > 280520 20232 50788

Re: [U-Boot] [PATCH] cfi_flash: Make all flash access functions weak

2008-11-17 Thread Stefan Roese
On Thursday 13 November 2008, Haavard Skinnemoen wrote: > Stefan Roese <[EMAIL PROTECTED]> wrote: > > This patch defines all flash access functions as weak so that > > they can be overridden by board specific versions. > > > > This will be used by the upcoming VCTH board support where the NOR > > F

Re: [U-Boot] [PATCH] FAT on non standard sector size devices

2008-11-17 Thread Igor Luri
Dear Remy Bohme, Sorry, but I don't have experience in email encoding. I have changed Evolution's preferences to use ISO-8859-15 intead of UTF-8 caracter encoding. If this change does not correct the problem, any help would be apretiated. Thanks. Signed-off-by: Igor Luri <[EMAIL PROTECTED]> dif

[U-Boot] [PATCH] sh: Update sh timer function

2008-11-17 Thread Nobuhiro Iwamatsu
Change to write/readX fcuntion and fix timer bug. Signed-off-by: Nobuhiro Iwamatsu <[EMAIL PROTECTED]> --- cpu/sh3/Makefile |2 +- cpu/sh3/time.c | 103 -- cpu/sh4/time.c | 76 ++- 3 files changed,

Re: [U-Boot] [PATCH 4/5] powerpc: keymile: Add a check for the PIGGY debug board

2008-11-17 Thread Heiko Schocher
Hello Ben, Ben Warren wrote: > Heiko Schocher wrote: > >> Hello Ben >> >> Ben Warren wrote: >> >> >>> Heiko Schocher wrote: >>> >>> >>> Check the presence of the PIGGY on the keymile boards mgcoge, mgsuvd and kmeter1. If the PIGGY is not present, dont register >