Re: [U-Boot] core ticks/timer code

2009-03-28 Thread Dirk Behme
Mike Frysinger wrote: > the Blackfin core tick/timer code has been around since the start of the > original port, but i'm not sure it's entirely correct. some common code that > uses timers seems to be misbehaving in that the timeout is pretty much > immediate. makes me think that we've spent

Re: [U-Boot] [PATCH] cmd_mmc: add support device command for selecting mmc device

2009-03-28 Thread Dirk Behme
Minkyu Kang wrote: > This patch improves device command for selecting mmc device We should add Andy to CC, as it seems that he is the new MMC maintainer :) Andy: Would be quite nice if you could comment on Minkyu's changes. See [1], [2] and [3] for the history, too. Dirk [1] http://lists.denx.

Re: [U-Boot] [PATCH 13/13] ompa3: remove duplicate interrupts code

2009-03-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 07:24 Sat 28 Mar , Dirk Behme wrote: > Dear Jean-Christophe, > > Jean-Christophe PLAGNIOL-VILLARD wrote: >> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD > > As this patch has no patch description in body (except subject) it seems > that you think that the code you like to remove here is

Re: [U-Boot] [PATCH 13/13] ompa3: remove duplicate interrupts code

2009-03-28 Thread Dirk Behme
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 07:24 Sat 28 Mar , Dirk Behme wrote: >> Dear Jean-Christophe, >> >> Jean-Christophe PLAGNIOL-VILLARD wrote: >>> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD >> As this patch has no patch description in body (except subject) it seems >> that you

Re: [U-Boot] [PATCH] cs8900 compile fix

2009-03-28 Thread Jean-Christophe PLAGNIOL-VILLARD
On 18:16 Mon 23 Mar , Ladislav Michl wrote: > cs8900.c: In function 'eth_init': > cs8900.c:164: warning: passing argument 2 of 'eth_getenv_enetaddr' from > incompatible pointer type > cs8900.c:165: error: invalid operands to binary << > cs8900.c:166: error: invalid operands to binary << > cs89

Re: [U-Boot] [PATCH] cmd_mmc: add support device command for selecting mmc device

2009-03-28 Thread Mike Frysinger
On Saturday 28 March 2009 01:04:10 Minkyu Kang wrote: > + case 2: > + if (strncmp(argv[1], "init", 4) == 0) { > + } else if (strncmp(argv[1], "dev", 3) == 0) { why strncmp ? i dont think it makes sense to support "init", "init.moo" "initaksldfjaksldfjasdf" ... > +

[U-Boot] [PATCH] SF: always read 5 bytes for the idcode

2009-03-28 Thread Mike Frysinger
Some SPI flash drivers like to have extended id information available (like the spansion flash), so rather than making it re-issue the ID cmd to get at the last 2 bytes, have the common code read 5 bytes rather than just 3. This also matches the Linux behavior where it always reads 5 id bytes from

Re: [U-Boot] Problems with ext2ls & SD

2009-03-28 Thread DVM
Further debugging reveals UBoot uses a fixed length for inodes (128 bye). The inodes on my 2GB SD card are 256 bytes There was a patch that fizzled out back in January looking at this http://www.nabble.com/-U-BootPATCH--Fix-ext2-non-working-td21742132.html#a21742132 The superblock contains t

[U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?

2009-03-28 Thread Markus Rathgeb
Hi! I own a phytec's pcm-030 with the shipped baseboard pcm-973. I would like to use a radeon 9200 pci card in the slot on the baseboard. I have done a git checkout of the u-boot and I am using the 'board support patch for phyCORE-MPC5200B-tiny‎' from the mailing list. To provide the necessary i

[U-Boot] [PATCH] Add imls utility command

2009-03-28 Thread Marco
This patch adds, under tools folder, a new command called imls. It's goal is the same of UBoot's imls but it has to be used as Linux shell command. It reads from raw mtd partition and prints the list of the stored images. Signed-off-by: Marco Stornelli --- diff -uprN u-boot-2009.03-orig/tools/im

Re: [U-Boot] Problems with ext2ls & SD

2009-03-28 Thread Wolfgang Denk
Dear DVM, In message <22756563.p...@talk.nabble.com> you wrote: > > Further debugging reveals UBoot uses a fixed length for inodes (128 bye). The > inodes on my 2GB SD card are 256 bytes There was a patch that fizzled out > back in January looking at this Do you have a file system image that sho

[U-Boot] [PATCH] Add "source" command; prepare removal of "autoscr" command

2009-03-28 Thread Wolfgang Denk
According to the doc/feature-removal-schedule.txt, the "autoscr" command will be replaced by the "source" command in approximately 6 months from now. This patch prepares this change and starts a 6 month transition period as follows: - The new "source" command has been added, which implements exac

[U-Boot] [PATCH] Small fix to m5282evb

2009-03-28 Thread Alan Carvalho de Assis
This is just a small fix to get u-boot on m5282evb. Signed-off-by: Alan Carvalho de Assis --- board/freescale/m5282evb/u-boot.lds |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/board/freescale/m5282evb/u-boot.lds b/board/freescale/m5282evb/u-boot.lds index dc18b7d..f46

[U-Boot] Out-of-tree build of API code fails

2009-03-28 Thread Wolfgang Denk
Dear Rafal, it seems the api_examples/ code fails when building out of tree: -> make O=/work/wd/tmp-ppc PMC440_config Configuring for PMC440 board... -> make O=/work/wd/tmp-ppc all Generating /work/wd/tmp-ppc/include/autoconf.mk.dep Generating /work/wd/tmp-ppc/include/autoconf.mk for di

Re: [U-Boot] [PATCH] cs8900 compile fix

2009-03-28 Thread Wolfgang Denk
Dear Ladislav Michl, In message <20090323171634.gb20...@localhost.localdomain> you wrote: > cs8900.c: In function 'eth_init': > cs8900.c:164: warning: passing argument 2 of 'eth_getenv_enetaddr' from > incompatible pointer type > cs8900.c:165: error: invalid operands to binary << > cs8900.c:166:

Re: [U-Boot] [PATCH] cs8900 compile fix

2009-03-28 Thread Wolfgang Denk
Dear Jean-Christophe PLAGNIOL-VILLARD, In message <20090328082525.gb18...@game.jcrosoft.org> you wrote: > On 18:16 Mon 23 Mar , Ladislav Michl wrote: > > cs8900.c: In function 'eth_init': > > cs8900.c:164: warning: passing argument 2 of 'eth_getenv_enetaddr' from > > incompatible pointer type

Re: [U-Boot] [PATCH] ppc: cleanup compilererrors/warnings

2009-03-28 Thread Wolfgang Denk
Dear Heiko, In message <49c8bb76.4050...@denx.de> you wrote: > > actual u-boot top of tree builds with warnings/errors for the following > boards: > > ads5121 cpci5200 mecp5200 v38b IAD210 MBX MBX860T NX823 RPXClassic debris PN62 > > following patch solves it for: > > ads5121, cpci5200, mecp52

Re: [U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?

2009-03-28 Thread Anatolij Gustschin
Hi Markus, Markus Rathgeb wrote: > Then I added the following lines to u-boot configuration file for > phyCORE-MPC5200B-tiny‎: > > #define CONFIG_VIDEO > #ifdef CONFIG_VIDEO > #define CONFIG_BIOSEMU /* x86 bios emulator for vga > bios */ > #define CONFIG_ATI_

Re: [U-Boot] What to do for a working BIOSEMU and ATI_RADEON_FB environment?

2009-03-28 Thread Anatolij Gustschin
Anatolij Gustschin wrote: > >> I prepare to find the line that is responsible and believe it is >> in the file './video/ati_radeon_fb.c' >> in the function 'void *video_hw_init(void)' >> When the video memory will be accessed. >> >> /* Clear video memory (only visible screen area) */ >>

[U-Boot] Out-of-tree build for imx31_phycore_eet fails

2009-03-28 Thread Wolfgang Denk
Dear Guennadi, out-of-tree building for the imx31_phycore_eet target fails: -> make O=/work/wd/tmp-arm imx31_phycore_eet_config /bin/sh: line 1: /work/wd/tmp-arm/include/config.h: No such file or directory make: *** [imx31_phycore_eet_config] Error 1 Please fix. BTW: you also forgot to add you

[U-Boot] [PATCH] Fix implicit declaration of function 'eth_[gs]etenv_enetaddr'

2009-03-28 Thread Wolfgang Denk
...and some other compile warnings. Signed-off-by: Wolfgang Denk --- board/pcs440ep/pcs440ep.c | 10 +- board/sandburst/karef/karef.c |4 board/sandburst/metrobox/metrobox.c |4 board/xpedite1k/xpedite1k.c |1 + common/lynxkdi.c

[U-Boot] [PATCH] ARM: fix warning: 'print_eth' defined but not used

2009-03-28 Thread Wolfgang Denk
This warning got issued for all ARM systems that don't have CONFIG_CMD_NET enabled. Signed-off-by: Wolfgang Denk --- common/cmd_bdinfo.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c index 700314b..b230924 100644 --- a/commo

[U-Boot] [PATCH] VCMA9: fix compile errors

2009-03-28 Thread Wolfgang Denk
Fix these: cmd_vcma9.c:82: warning: implicit declaration of function 'eth_getenv_enetaddr' cmd_vcma9.c:89: error: 'enetaddr' undeclared (first use in this function) Signed-off-by: Wolfgang Denk --- board/mpl/vcma9/cmd_vcma9.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff -

Re: [U-Boot] [PATCH] ppc: cleanup compilererrors/warnings

2009-03-28 Thread Wolfgang Denk
Dear Heiko, In message <20090328231614.d6fde8322...@gemini.denx.de> I wrote: > > Hm... I did not observe build isses with these boards: H. no big surprise *after* applying yoru patch. Sorry for the confusion. Seems I'm not completely of sound mind and disposing memory any more. Or have I ever b