Re: [U-Boot] [STATUS] v2009.11-rc1 is out

2009-11-03 Thread rhabarber1848
Am Wed, 28 Oct 2009 14:42:10 +0100 schrieb Wolfgang Denk: > just in case you did not notice yet: U-Boot v2009.11-rc1 was released > last night. Hi, I just tested it on my Dbox2 board where U-Boot 2009.08 is working perfectly well with unchanged config. But now U-Boot raises an exception during

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
Thank you, Jocke > Subject: Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > To: leon...@msn.com > CC: u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Date: Tue, 3 Nov 2009 08:41:08 +0100 > > > > > > Hi, All > > > > > > > > Each time JFFS2 initi

[U-Boot] [PATCH] at91: Enable slow master clock on meesc board

2009-11-03 Thread Daniel Gorsulowski
In some cases, we need low speed master clock. So depending on the "mdiv" variable, the processor clock is divided by 2 (default) or 4. Signed-off-by: Daniel Gorsulowski --- PS: Tom, are you still temporary at91 custodian? board/esd/meesc/meesc.c | 24 include/configs

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
HeLei wrote on 03/11/2009 09:21:04: > Thank you, Jocke > > > Subject: Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > > To: leon...@msn.com > > CC: u-boot@lists.denx.de > > From: joakim.tjernl...@transmode.se > > Date: Tue, 3 Nov 2009 08:41:08 +0100 > > > > > > >

[U-Boot] [PATCH ARM] Clean-up of s3c24x0 header files

2009-11-03 Thread kevin.morf...@fearnside-systems.co.uk
Cleans up the s3c24x0 header files: s4c24x0.h: removes the use of 'volatile' from the S3C24X0_REG8, S3C24X0_REG16 and S3C24X0_REG32 register typedef's. Registers are always accessed using the IO accessor functions which cast the register address as 'volatile' anyway so it isn't required here. s

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
Ok, thank you, jocke. Can you tell me how much time can be saved according to your idea, by your experience? > Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > To: leon...@msn.com > CC: u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Da

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
HeLei wrote on 03/11/2009 09:21:04: > > Thank you, Jocke > > > Subject: Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > > To: leon...@msn.com > > CC: u-boot@lists.denx.de > > From: joakim.tjernl...@transmode.se > > Date: Tue, 3 Nov 2009 08:41:08 +0100 > > > > > >

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
Jocke, you are so kind.Thank you very much:) > Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > To: leon...@msn.com > CC: u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Date: Tue, 3 Nov 2009 10:20:19 +0100 > > HeLei wrote on 03/11/20

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
HeLei wrote on 03/11/2009 10:21:13: > > Ok, thank you, jocke. > Can you tell me how much time can be saved according to your idea, by your > experience? Can't remember any figures, but is was lots by not scanning empty space. It all depends on how full your fs is. Jocke _

Re: [U-Boot] [STATUS] v2009.11-rc1 is out

2009-11-03 Thread Detlev Zundel
Hi rhabarber1848, > I just tested it on my Dbox2 board where U-Boot 2009.08 is working > perfectly well with unchanged config. > But now U-Boot raises an exception during machine check: > > = > U-Boot 2009.11 (Tuxbox) (No

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
HeLei wrote on 03/11/2009 10:26:44: > Jocke, you are so kind. > Thank you very much:) NP, it was easy considering I did the first impl. for linux :) It is probably easier to paste the missing bits into the current crc32 impl. though. Jocke ___ U-B

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
> Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > To: leon...@msn.com > CC: u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Date: Tue, 3 Nov 2009 10:29:47 +0100 > > HeLei wrote on 03/11/2009 10:21:13: > > > > Ok, thank you, jocke. >

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
HeLei wrote on 03/11/2009 09:21:04: > > - Don't scan more than you have to, that is, ls/read /some/file > > should only scan and keep records to do the ls/read of that > > particular file. >So we have to have an index, or something like that, to tell which file in > which EBs. This index is al

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
HeLei wrote on 03/11/2009 10:39:48: > > > > Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > > To: leon...@msn.com > > CC: u-boot@lists.denx.de > > From: joakim.tjernl...@transmode.se > > Date: Tue, 3 Nov 2009 10:29:47 +0100 > > > > HeLei wrote on 03/11/

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
> Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > To: leon...@msn.com > CC: u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Date: Tue, 3 Nov 2009 10:43:46 +0100 > > HeLei wrote on 03/11/2009 09:21:04: > > > - Don't scan more than yo

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
> Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > To: leon...@msn.com > CC: u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Date: Tue, 3 Nov 2009 10:52:06 +0100 > > HeLei wrote on 03/11/2009 10:39:48: > > > > > > > Subject: RE: [U-B

Re: [U-Boot] [STATUS] v2009.11-rc1 is out

2009-11-03 Thread rhabarber1848
Hi, Am Tue, 03 Nov 2009 10:37:41 +0100 schrieb Detlev Zundel: > Grepping through my source, I cannot find such a configuration - do you > plan to submit this support here sometime? the code was written by other people and is maintained out-of-uboot-tree in our public CVS. After unpacking U-Boo

Re: [U-Boot] [PATCH 04/10] ARM Add New Board GEC2410

2009-11-03 Thread Minkyu Kang
Dear Hui Tang 2009/11/3 Hui Tang : > Dear Wolfgang, > > 2009/11/1 Wolfgang Denk : >> Dear "Hui.Tang", >> >> In message >> <6c7a9a5dcafb1f535ed33cb29d579db993846325.1256898456.git.zetal...@gmail.com> >> you wrote: >>> Add gec2410_config option for GEC2410 >>> >>> Signed-off-by: Hui.Tang >>> ---

[U-Boot] [PATCH] usb: write command for RAW partition.

2009-11-03 Thread Mahavir Jain
This patch implements write support to usb device with raw partition. It will be useful for filesystem write support to usb device from u-boot in future. Tested with writing kernel image to raw usb disk & booting with usb read command into ram. [Note: run usb part to get info about start sector

Re: [U-Boot] [STATUS] v2009.11-rc1 is out

2009-11-03 Thread rhabarber1848
Am Tue, 03 Nov 2009 10:37:41 +0100 schrieb Detlev Zundel: > Apart from that, I'd strongly start looking for implications of the > recent rewrite of the relocation strategy to code not in mainline. Hi, with great relieve I can say the removing "*(.fixup)" from the *.lds files solved the problem:

Re: [U-Boot] [STATUS] v2009.11-rc1 is out

2009-11-03 Thread Detlev Zundel
Hi rhabarber1848, >> Grepping through my source, I cannot find such a configuration - do you >> plan to submit this support here sometime? > > the code was written by other people and is maintained out-of-uboot-tree > in our public CVS. So why not move mainline? Usually it's pretty fun to get o

Re: [U-Boot] [PATCH ARM] Clean-up of s3c24x0 header files

2009-11-03 Thread Minkyu Kang
Dear Kevin Morfitt 2009/11/3 kevin.morf...@fearnside-systems.co.uk : > Cleans up the s3c24x0 header files: Thank you for patch > > s4c24x0.h: removes the use of 'volatile' from the S3C24X0_REG8, > S3C24X0_REG16 and S3C24X0_REG32 register typedef's. Registers are always > accessed using the IO ac

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
> > HeLei wrote on 03/11/2009 09:21:04: > > > > Thank you, Jocke > > > - impl. a better crc32(use the one from linux) > > Attaching a very crude port of linux crc32. This boots a linux img > for me and handles the environment crc as well. Feel free > to clean it up and submit to u-boot. > >

[U-Boot] Support dbox in mainline, was: Re: [STATUS] v2009.11-rc1 is out

2009-11-03 Thread rhabarber1848
Am Tue, 03 Nov 2009 11:47:08 +0100 schrieb Detlev Zundel: >> After unpacking U-Boot 2009.08 these files are copied into the source >> tree: http://cvs.tuxbox.org/tuxbox/boot/u-boot-tuxbox/ > > Ah uh, I would even offer some help in the process (like adding a branch > in the u-boot-testing reposit

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
> Subject: Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > CC: leon...@msn.com; u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Date: Tue, 3 Nov 2009 11:55:18 +0100 > > > > > HeLei wrote on 03/11/2009 09:21:04: > > > > > > Thank you, Jocke >

Re: [U-Boot] [PATCH ARM] Clean-up of s3c24x0 header files

2009-11-03 Thread kevin.morf...@fearnside-systems.co.uk
Minkyu Kang wrote: > Dear Kevin Morfitt > > 2009/11/3 kevin.morf...@fearnside-systems.co.uk > : >> Cleans up the s3c24x0 header files: > > Thank you for patch > >> s4c24x0.h: removes the use of 'volatile' from the S3C24X0_REG8, >> S3C24X0_REG16 and S3C24X0_REG32 register typedef's. Registers a

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
HeLei wrote on 03/11/2009 12:08:39: > > > Subject: Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > > CC: leon...@msn.com; u-boot@lists.denx.de > > From: joakim.tjernl...@transmode.se > > Date: Tue, 3 Nov 2009 11:55:18 +0100 > > > > > > > > HeLei wrote on 03/11/2

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread HeLei
> Subject: RE: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 > scaning time? > To: leon...@msn.com > CC: u-boot@lists.denx.de > From: joakim.tjernl...@transmode.se > Date: Tue, 3 Nov 2009 12:13:11 +0100 > > HeLei wrote on 03/11/2009 12:08:39: > > > > > Subject: Re: [U-Boot]

Re: [U-Boot] [PATCH] fsl_pci_init_port end-point initialization isbroken

2009-11-03 Thread Mahajan Vivek-B08308
> From: u-boot-boun...@lists.denx.de > [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Swarthout > Edward L-SWARTHOU > Sent: Monday, November 02, 2009 8:36 PM > To: u-boot@lists.denx.de > Cc: Swarthout Edward L-SWARTHOU > Subject: [U-Boot] [PATCH] fsl_pci_init_port end-point > initialization

Re: [U-Boot] [PATCH 04/10] ARM Add New Board GEC2410

2009-11-03 Thread Hui Tang
Dear Minkyu, > I think, It is better to put bottom of s3c24x0 board series. (next to VCMA9) OK, I will fix it and re-send the patch. Thanks. BR. Hui. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] Don't inline weak symbols

2009-11-03 Thread Roman Zeyde
Hi Wolfgang , I have noticed that the same error as described here (http://lists.denx.de/pipermail/u-boot/2009-October/061913.html) happens when compiling the latest version of U-boot (v2009-11-rc1) using arm-cortex_a8-linux-gnueabi gcc version 4.4.0 (crosstool-ng-hg_defa...@1620_187e06178dcb). C

[U-Boot] [PATCH (repost)] Nomadik: fix reset_timer()

2009-11-03 Thread Alessandro Rubini
From: Alessandro Rubini The timer decrements and READ_TIMER() negates the value read. Writing 0 in reset_timer() is this wrong, as a readback before 400us will read back 0 and will report 1780 seconds, so nand operations did timeout. This patch writes ~0 in reset_timer to prevent this. Signed-o

Re: [U-Boot] [PATCH 08/10] ARM Add New Board GEC2410

2009-11-03 Thread Hui Tang
Dear Wolfgang, >> -     printf("s3c2410_nand_correct_data: not implemented\n"); >> +     debugX(1, "s3c2410_nand_correct_data: not implemented\n"); > > I think this should remain a printf(). Since when booting from nand flash, the printf() is not available in the early stage, here I replace print

Re: [U-Boot] [PATCH 04/10] ARM Add New Board GEC2410

2009-11-03 Thread Wolfgang Denk
Dear Hui Tang, > > In message you > wrote: > > > An ARM920 board does not belong into the arm926ejs block. ... > Would you please give me some advice where should I put the gec2410 > board config? Sorry, I was wrong here. Please ignore this comment. Best regards, Wolfgang Denk -- DENX Softw

Re: [U-Boot] [STATUS] v2009.11-rc1 is out

2009-11-03 Thread Wolfgang Denk
Dear rhabarber1848, In message you wrote: > > I just tested it on my Dbox2 board where U-Boot 2009.08 is working > perfectly well with unchanged config. > But now U-Boot raises an exception during machine check: > > = >

Re: [U-Boot] [PATCH 04/10] ARM Add New Board GEC2410

2009-11-03 Thread Wolfgang Denk
Dear Minkyu Kang, In message <1f3430fb0911030227t2c204fd6s52a0685628748...@mail.gmail.com> you wrote: > > > Would you please give me some advice where should I put the gec2410 > > board config? > > I think, It is better to put bottom of s3c24x0 board series. (next to VCMA9) This is definitely w

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message you wrote: > > > > HeLei wrote on 03/11/2009 09:21:04: > > > > > > Thank you, Jocke > > > > > - impl. a better crc32(use the one from linux) > > > > Attaching a very crude port of linux crc32. This boots a linux img > > for me and handles the environment crc

Re: [U-Boot] [PATCH] Don't inline weak symbols

2009-11-03 Thread Wolfgang Denk
Dear Roman Zeyde, In message <6d23e4ef0911030355j47a653a0iea7b6cae2f3cb...@mail.gmail.com> you wrote: > > I have noticed that the same error as described here > (http://lists.denx.de/pipermail/u-boot/2009-October/061913.html) > happens when compiling the latest version of U-boot (v2009-11-rc1) >

Re: [U-Boot] [PATCH (repost)] Nomadik: fix reset_timer()

2009-11-03 Thread Wolfgang Denk
Dear Alessandro Rubini, In message <20091103121250.ga8...@mail.gnudd.com> you wrote: > From: Alessandro Rubini > > The timer decrements and READ_TIMER() negates the value read. > Writing 0 in reset_timer() is this wrong, as a readback before 400us > will read back 0 and will report 1780 seconds,

Re: [U-Boot] [PATCH 08/10] ARM Add New Board GEC2410

2009-11-03 Thread Wolfgang Denk
Dear Hui Tang, In message you wrote: > Dear Wolfgang, > > >> - printf("s3c2410_nand_correct_data: not implemented\n"); > >> + debugX(1, "s3c2410_nand_correct_data: not implemented\n"); > > > > I think this should remain a printf(). > > Since when booting from nand flash, the printf() is not av

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
Wolfgang Denk wrote on 03/11/2009 14:21:08: > > Dear Joakim Tjernlund, > > In message 003bf...@transmode.se> you wrote: > > > > > > HeLei wrote on 03/11/2009 09:21:04: > > > > > > > > Thank you, Jocke > > > > > > > - impl. a better crc32(use the one from linux) > > > > > > Attaching a very crude

[U-Boot] [PATCH] ppc4xx: 44x_spd_ddr2.c: Fix register macro ECCCR -> ECCES (SDRAM_ECCES)

2009-11-03 Thread Stefan Roese
This error only appears when DEBUG is enabled in this driver. That's why it went unnoticed till now. Signed-off-by: Stefan Roese --- cpu/ppc4xx/44x_spd_ddr2.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/cpu/ppc4xx/44x_spd_ddr2.c b/cpu/ppc4xx/44x_spd_ddr2.c index 397

Re: [U-Boot] [PATCH] Don't inline weak symbols

2009-11-03 Thread Tom
Wolfgang Denk wrote: > Dear Roman Zeyde, > > In message <6d23e4ef0911030355j47a653a0iea7b6cae2f3cb...@mail.gmail.com> you > wrote: >> I have noticed that the same error as described here >> (http://lists.denx.de/pipermail/u-boot/2009-October/061913.html) >> happens when compiling the latest versi

Re: [U-Boot] jffs2 FS flash occupation

2009-11-03 Thread Xiangfu Liu
HeLei wrote: > Hi, all > > > > If I wish to support uImage in jffs2 FS in NAND flash, how many size will > be used for JFFS2 FS itself, such as wearing level, GC, JFFS2 INODE header? what you mean about uImage? is that kernel? > > > > For example, NAND fash size is 32M and uImage is

Re: [U-Boot] [PATCH (repost)] Nomadik: fix reset_timer()

2009-11-03 Thread Alessandro Rubini
> Um... why is READ_TIMER doing such a stupid thing as negating values? Because the counter counts down. I could have returns "0 - value" or "~value". Since I chose the latter initially, this fix keeps the same approach. I can't return the value I read, since it goes backwards. /alessandro

[U-Boot] [PATCH] crc32: Impl. linux optimized crc32()

2009-11-03 Thread Joakim Tjernlund
Ported over the more efficient linux crc32() function. A quick comparsion on ppc: After changing the old crc32 to do 4 bytes in the inner loop to be able to compare with new version one can note: - old inner loop has 61 insn, new has 19 insn. - new crc32 does one 32 bit load of data to crc while

Re: [U-Boot] [PATCH (repost)] Nomadik: fix reset_timer()

2009-11-03 Thread Wolfgang Denk
Dear Alessandro Rubini, In message <20091103152354.ga12...@mail.gnudd.com> you wrote: > > Um... why is READ_TIMER doing such a stupid thing as negating values? > > Because the counter counts down. I could have returns "0 - value" or > "~value". Since I chose the latter initially, this fix keeps

Re: [U-Boot] Does uboot EBS(erase block summary) to reduce JFFS2 scaning time?

2009-11-03 Thread Joakim Tjernlund
Wolfgang Denk wrote on 03/11/2009 14:21:08: > > Dear Joakim Tjernlund, > > In message 003bf...@transmode.se> you wrote: > > > > > > HeLei wrote on 03/11/2009 09:21:04: > > > > > > > > Thank you, Jocke > > > > > > > - impl. a better crc32(use the one from linux) > > > > > > Attaching a very crude

Re: [U-Boot] [PATCH] crc32: Impl. linux optimized crc32()

2009-11-03 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1257263550-21504-1-git-send-email-joakim.tjernl...@transmode.se> you wrote: > Ported over the more efficient linux crc32() function. > A quick comparsion on ppc: > After changing the old crc32 to do 4 bytes in the > inner loop to be able to compare with new vers

Re: [U-Boot] [PATCH (repost)] Nomadik: fix reset_timer()

2009-11-03 Thread Alessandro Rubini
> Well, to me READ_TIMER() sounds like a function/macro to read some > value from some timer; if that timer counts doen, then successive > calls to that macro/function would return decreasing values. Counting > up or down is a property of the specific timer and should be handled > elsewhere; such p

[U-Boot] at91SAM7S9263B-EK + u-boot using sd card: linux uncompress ... crc error

2009-11-03 Thread Thomas . Schulte
u-boot 2009.08 Hello, we urgently need some help. WE NEED TO RUN THE WHOLE THING FROM SD! We made the u-boot working with the SD (mci1) on the at91SAM7S9263B-EK board. Status: boot.bin (At91Bootstrap 3.0) starts from SD boot.bin (2009.08) loads u-boot form SD and starts it u-boot loads the u

[U-Boot] [PATCH 1/1] net: pull CONFIG checks out of source and into makefile

2009-11-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- net/Makefile | 12 ++-- net/bootp.c |4 net/eth.c|7 +++ net/net.c|4 net/nfs.c|4 net/rarp.c |4 net/tftp.c |4 7 files changed, 9 insertions(+), 30 deletions(-) diff --git a/net/Ma

[U-Boot] [PATCH 1/1] lmb: only force on arches that use it

2009-11-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- common/cmd_bootm.c | 34 -- include/asm-m68k/config.h |2 ++ include/asm-ppc/config.h |2 ++ include/asm-sparc/config.h |2 ++ include/image.h|2 +- include/lmb.h |4 l

[U-Boot] [PATCH 1/1] cmd_nand: push CONFIG check to Makefile

2009-11-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- common/Makefile |2 +- common/cmd_nand.c |4 2 files changed, 1 insertions(+), 5 deletions(-) diff --git a/common/Makefile b/common/Makefile index 3781738..b8c596c 100644 --- a/common/Makefile +++ b/common/Makefile @@ -116,7 +116,7 @@ COBJS-$(CONF

[U-Boot] [PATCH 1/1] bootm: mark local boot_os[] table static

2009-11-03 Thread Mike Frysinger
Signed-off-by: Mike Frysinger --- common/cmd_bootm.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index 22aa7f8..a4b2e26 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -129,7 +129,7 @@ int do_bootelf (cmd_tbl_t *cmd

[U-Boot] [PATCH] spi_flash.h: pull in linux/types.h for u## types

2009-11-03 Thread Mike Frysinger
--- include/spi_flash.h |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/include/spi_flash.h b/include/spi_flash.h index de4f174..1f8ba29 100644 --- a/include/spi_flash.h +++ b/include/spi_flash.h @@ -24,6 +24,7 @@ #define _SPI_FLASH_H_ #include +#include struct sp

Re: [U-Boot] [PATCH 1/1] lmb: only force on arches that use it

2009-11-03 Thread Mike Frysinger
sorry Scott, didnt mean to direct this to you. meant to send the nand one only to you. -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

Re: [U-Boot] [PATCH 1/1] cmd_nand: push CONFIG check to Makefile

2009-11-03 Thread Scott Wood
Mike Frysinger wrote: > Signed-off-by: Mike Frysinger > --- > common/Makefile |2 +- > common/cmd_nand.c |4 > 2 files changed, 1 insertions(+), 5 deletions(-) > > diff --git a/common/Makefile b/common/Makefile > index 3781738..b8c596c 100644 > --- a/common/Makefile > +++ b/common

Re: [U-Boot] [PATCH] crc32: Impl. linux optimized crc32()

2009-11-03 Thread Joakim Tjernlund
Wolfgang Denk wrote on 03/11/2009 17:02:27: > > Dear Joakim Tjernlund, > > In message <1257263550-21504-1-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > Ported over the more efficient linux crc32() function. > > A quick comparsion on ppc: > > After changing the old crc32 to do 4 b

Re: [U-Boot] [PATCH] Adding support for Linuxstamp II 9260

2009-11-03 Thread Paul Thomas
>> +#ifdef CONFIG_RESET_PHY_R >> +void reset_phy(void) >> +{ >> +#ifdef CONFIG_MACB >> +     /* >> +      * Initialize ethernet HW addr prior to starting Linux, >> +      * needed for nfsroot >> +      */ >> +     eth_init(gd->bd); >> +#endif >> +} > > NAK. Please fix your Linux drivers instead. Se

Re: [U-Boot] [PATCH] Adding support for Linuxstamp II 9260

2009-11-03 Thread Mike Frysinger
On Tuesday 03 November 2009 16:12:40 Paul Thomas wrote: > From: Paul Thomas looks like you need to fix your git environment & re-submit this patch -mike signature.asc Description: This is a digitally signed message part. ___ U-Boot mailing list U-Boot

[U-Boot] [PATCH] tsec: Force TBI PHY to 1000Mbps full duplex in SGMII mode

2009-11-03 Thread Peter Tyser
In SGMII mode the link between a processor's internal TBI PHY and an external PHY should always be 1000Mbps, full duplex. Also, the SGMII interface between an internal TBI PHY and external PHY does not support in-band auto-negotation. Previously, when configured for SGMII mode a TBI PHY would att

[U-Boot] U-boot with BDI

2009-11-03 Thread stephanie keeling
Hi all, I wish to configure my BDI3000 to boot from NAND flash on the mx31 platform. I do not want the BDI to do the low level init including processor/clock/SDRAM setup etc. Instead, i want my U-boot do it when "reset halt/run" is executed. What do i need to put in the BDI config in order to do

Re: [U-Boot] [PATCH 0/3] No GOT in IRQ and use r12 as GOT ptr

2009-11-03 Thread Joakim Tjernlund
Wolfgang Denk wrote on 03/11/2009 20:40:50: > > Dear Joakim Tjernlund, > > In message <1257180242-1299-1-git-send-email-joakim.tjernl...@transmode.se> > you wrote: > > This series removes the needs to access the GOT in > > IRQ handlers, then switches GOT PTR in start.S asm to > > use r12 instead

[U-Boot] [PATCH] Improve read performance of gerenic mmc.

2009-11-03 Thread Terry Lv
Signed-off-by: Terry Lv --- drivers/mmc/mmc.c | 57 - 1 files changed, 43 insertions(+), 14 deletions(-) diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c index b69ce15..dcc9548 100644 --- a/drivers/mmc/mmc.c +++ b/drivers/mmc/mmc.c @@ -88,7

[U-Boot] ARM LED weak symbols

2009-11-03 Thread Tom Rix
As discussed earlier today http://lists.denx.de/pipermail/u-boot/2009-November/063711.html This is the patch to conditionally compile the ARM board LED functions. It was regression tested with MAKEALL arm using the Code Sourcery 2009 compiler and my roll-your-own gcc-4.4.2 Both patches were r

[U-Boot] [PATCH 2/2] ARM: fix build error with gcc-4.4.2 about inline function declared weak

2009-11-03 Thread Tom Rix
From: Abdoulaye Walsimou Gaye This patch fix build error with gcc-4.4.2 about inline function declared weak, see below: board.c:96: error: inline function 'coloured_LED_init' cannot be declared weak board.c:98: error: inline function 'red_LED_on' cannot be declared weak board.c:100: error: inline

Re: [U-Boot] [PATCH] Adding support for Linuxstamp II 9260

2009-11-03 Thread Mike Frysinger
On Tuesday 03 November 2009 16:26:17 Paul Thomas wrote: > On Tue, Nov 3, 2009 at 2:21 PM, Mike Frysinger wrote: > > On Tuesday 03 November 2009 16:12:40 Paul Thomas wrote: > >> From: Paul Thomas > > > > looks like you need to fix your git environment & re-submit this patch > > Yeah, I saw it doe

[U-Boot] [PATCH 1/2] ARM Conditionally compile board LED functions

2009-11-03 Thread Tom Rix
The ARM board LED functions are defined as weak. They add a size overhead if they are not used. Now they are only defined if CONFIG_STATUS_LED is also defined. The arm920t and arm926ejs _start function calls these LED functions bl coloured_LED_init bl red_LED_on In gen

Re: [U-Boot] [PATCH] Improve read performance of gerenic mmc.

2009-11-03 Thread Mike Frysinger
On Tuesday 03 November 2009 21:36:58 Terry Lv wrote: > Signed-off-by: Terry Lv your subject has a spelling typo, and generally you should avoid using complete sentences in it (i.e. drop the period). > --- a/drivers/mmc/mmc.c > +++ b/drivers/mmc/mmc.c > @@ -88,7 +88,7 @@ mmc_bwrite(int dev_num,

[U-Boot] [PATCH] Adding support for Linuxstamp II 9260

2009-11-03 Thread Paul Thomas
From: Paul Thomas --- Makefile |3 + board/linuxstamp/at91sam9260ls/Makefile| 56 ++ board/linuxstamp/at91sam9260ls/at91sam9260ls.c | 203 + board/linuxstamp/at91sam9260ls/config.mk |1 + board/linuxstamp/at91

Re: [U-Boot] [PATCH] Improve read performance of gerenic mmc.

2009-11-03 Thread Lv Terry-R65388
Hi Mike, Thanks~~ I will send another patch. Yours Terry -Original Message- From: Mike Frysinger [mailto:vap...@gentoo.org] Sent: 2009年11月4日 10:56 To: u-boot@lists.denx.de Cc: Lv Terry-R65388 Subject: Re: [U-Boot] [PATCH] Improve read performance of ger

[U-Boot] multiple partitions in mtdparts

2009-11-03 Thread myuboot
Hi, I am trying to define multiple partitions using mtdparts variable. But I can't get it set automatically right. I defined the set_bootargs as the following: set_bootargs=setenv bootargs root=/dev/mtdblock2 rootfs=cramfs,jffs2 mtdparts=ph ysmap-flash.0:256k(u-boot),256k(u-boot-env),7936k(root1

Re: [U-Boot] MD Lists

2009-11-03 Thread Rachel Shepard
Our AMERICAN Medical Doctor list has full contact data for all states. Coverage for These specialties and more: allergy/immunology anesthesiology cardiology dermatology emergency_medicine endocrinology_diabetes metabolism family_practice gastroenterology general_practice geriatrics infectious_

Re: [U-Boot] MPC8349E-MDS questions

2009-11-03 Thread David Hawkins
David Hawkins wrote: > Hi Mit Matelske, > >> I believe I made the changes to our FPGA that the eval's CPLD did when >> the FCFG gets switched to 1 (bringing up flash enable at reset). >> Since we have a smaller flash, I am putting the u-boot.bin at >> 0xFFE0 (0xFFF0 for the original Freesc

[U-Boot] MPC8349E-MDS questions

2009-11-03 Thread Mit Matelske
I am working on a board based on the MPC8349E-MDS eval board from Freescale. One of the few differences is that it has an Atmel flash part on it (AT49BV642DT 4Mx16) and a Xilinx FPGA. I have the old u-boot-1.1.3 that came with the eval board running both on the eval board and our "new" board, how

[U-Boot] [PATCH] Improve read performance of generic mmc.

2009-11-03 Thread Terry Lv
In drivers/mmc/mmc.c, mmc_bread will do aligned read. So we don't need to use single block read. We can use multiblock read to improve the performance. Signed-off-by: Terry Lv --- drivers/mmc/mmc.c | 51 --- 1 files changed, 40 insertions(+), 11

Re: [U-Boot] [PATCH 0/3] No GOT in IRQ and use r12 as GOT ptr

2009-11-03 Thread Wolfgang Denk
Dear Joakim Tjernlund, In message <1257180242-1299-1-git-send-email-joakim.tjernl...@transmode.se> you wrote: > This series removes the needs to access the GOT in > IRQ handlers, then switches GOT PTR in start.S asm to > use r12 instead of r14. This leads up to the removal of > -ffixed-r14 gcc op

Re: [U-Boot] MPC8349E-MDS questions

2009-11-03 Thread David Hawkins
Hi Mit Matelske, > I believe I made the changes to our FPGA that the eval's CPLD did when > the FCFG gets switched to 1 (bringing up flash enable at reset). > Since we have a smaller flash, I am putting the u-boot.bin at > 0xFFE0 (0xFFF0 for the original Freescale u-boot), the base > addre

Re: [U-Boot] at91SAM7S9263B-EK + u-boot using sd card: linux uncompress ... crc error

2009-11-03 Thread Wolfgang Denk
Dear thomas.schu...@saf-kassel.de, In message you wrote: > > we urgently need some help. Read http://www.catb.org/~esr/faqs/smart-questions.html and/or hire an expert. > WE NEED TO RUN THE WHOLE THING FROM SD! No need to shout. > u-boot loads the uImage (linux-2.6.27)from SD to 0x2200 >

Re: [U-Boot] [PATCH] Adding support for Linuxstamp II 9260

2009-11-03 Thread Paul Thomas
On Tue, Nov 3, 2009 at 2:21 PM, Mike Frysinger wrote: > On Tuesday 03 November 2009 16:12:40 Paul Thomas wrote: >> From: Paul Thomas > > looks like you need to fix your git environment & re-submit this patch > -mike > Mike, Yeah, I saw it does that in git send-email, but the first prompt "Who s

Re: [U-Boot] [PATCH] Adding support for Linuxstamp II 9260

2009-11-03 Thread Wolfgang Denk
Dear Paul Thomas, please check/fix your mail addresses. In message <1257282760-18005-1-git-send-email-pthomas8...@gmail.com> you wrote: > From: Paul Thomas Signed-off-by: line is missing. > --- > Makefile |3 + > board/linuxstamp/at91sam9260ls/Makefil

Re: [U-Boot] jffs2 FS flash occupation

2009-11-03 Thread HeLei
> Date: Tue, 3 Nov 2009 23:18:22 +0800 > From: xiangf...@gmail.com > To: leon...@msn.com > CC: u-boot@lists.denx.de > Subject: Re: [U-Boot] jffs2 FS flash occupation > > HeLei wrote: > > Hi, all > > > > > > > > If I wish to support uImage in jffs2 FS in NAND flash, how many size will > >

[U-Boot] Joe Johnson has invited you as a colleauge to Work Kingdom

2009-11-03 Thread Joe.Johnson
You have been invited to the most advanced business trade portal WorkKingdom Is A New Revolutionary System For Business Professionals World Wide. Benefit From Increased Revenues, Profits From Having Customers, Suppliers Contact You For Networking/trade Possibilities. Its A Totally 100 Percent

Re: [U-Boot] [PATCH 1/3] [OneNAND] Flex-OneNAND driver support

2009-11-03 Thread Amul Kumar Saha
This patch adds support for Flex-OneNAND devices. Signed-off-by: Rohit Hagargundgi Signed-off-by: Amul Kumar Saha --- drivers/mtd/onenand/onenand_base.c | 740 +++- drivers/mtd/onenand/onenand_bbt.c | 14 drivers/mtd/onenand/onenand_uboot.c |4 include/

Re: [U-Boot] [PATCH 2/3] [OneNAND] ENV Variable support for Flex-OneNAND

2009-11-03 Thread Amul Kumar Saha
Define and use CONFIG_ENV_ADDR_FLEX and CONFIG_ENV_SIZE_FLEX for storing environment variables. Signed-off-by: Rohit Hagargundgi Signed-off-by: Amul Kumar Saha --- common/env_onenand.c | 10 ++ include/configs/apollon.h |2 ++ 2 files changed, 12 insertions(+) diff --git a/c

Re: [U-Boot] [PATCH 3/3] [OneNAND] Flex-OneNAND boundary settings

2009-11-03 Thread Amul Kumar Saha
Add command for changing Flex-OneNAND SLC / MLC boundary. Also onenand commands work for Flex-OneNAND. Signed-off-by: Rohit Hagargundgi Signed-off-by: Amul Kumar Saha --- common/cmd_onenand.c | 90 +- include/configs/apollon.h |2 - 2 files

Re: [U-Boot] [PATCH 0/3] [OneNAND] Flex-OneNAND driver support

2009-11-03 Thread Amul Kumar Saha
Hi Scott, > > You seem to have stripped a copyright notice that was added in the Linux > version of patch 1/3. > Updated in the current patch. Regards, Amul Kumar Saha ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinf

Re: [U-Boot] [PATCH 1/3] [OneNAND] Flex-OneNAND driver support

2009-11-03 Thread Amul Kumar Saha
Hi Scott, >> +static loff_t flexonenand_addr(struct onenand_chip *this, int block) >> +{ >> + loff_t ofs = 0; >> + int die = 0, boundary; >> + >> + if (ONENAND_IS_DDP(this) && block >= this->density_mask) { >> + block -= this->density_mask; >> + die = 1; >> + ofs = this->diesize[0]; >> + } >> + >>

[U-Boot] [PATCH] ppc: Move conditional compilation of kgdb.c to Makefile

2009-11-03 Thread Peter Tyser
Signed-off-by: Peter Tyser --- lib_ppc/Makefile |2 +- lib_ppc/kgdb.c |5 - 2 files changed, 1 insertions(+), 6 deletions(-) diff --git a/lib_ppc/Makefile b/lib_ppc/Makefile index 452107c..68b70b0 100644 --- a/lib_ppc/Makefile +++ b/lib_ppc/Makefile @@ -35,7 +35,7 @@ COBJS-y

[U-Boot] u-boot for iMX27 board

2009-11-03 Thread Intur Venkatesulu
Hi, Please clarify the following regarding u-boot. Will u-boot imx27 Target board, if yes pl send me this link for down loading u-boot Regards, Venkatesulu ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [PATCH] v2 Linuxstamp II 9260 support

2009-11-03 Thread Paul Thomas
This adds CONFIG_AT91_ALT_EPINS to avoid using board configs in at91sam9260_devices.c. In adding this config at91sam9260ek.h afeb9260.h were changed, this should probabbly be tested for those 2 boards. --- MAINTAINERS |4 + MAKEALL

Re: [U-Boot] u-boot for iMX27 board

2009-11-03 Thread Paul Thomas
On Tue, Nov 3, 2009 at 10:26 PM, Intur Venkatesulu wrote: > Hi, > > > > Please clarify the following regarding u-boot. > > > > Will u-boot imx27 Target board, if yes pl send me this link for down loading > u-boot > > > > Regards, > > Venkatesulu Venkatesulu, There is support for the imx27 in u-b

Re: [U-Boot] [PATCH ARM] Move s3c24x0 header files to asm-arm/arch-s3c24x0/

2009-11-03 Thread Minkyu Kang
Dear Kevin Morfitt, 2009/11/3 kevin.morf...@fearnside-systems.co.uk : > This patch moves the s3c24x0 header files from include/ to > include/asm-arm/arch-s3c24x0/. > > checkpatch.pl showed 2 errors and 3 warnings. The 2 errors were both due > to a non-UTF8 character in David M?ller's name: > > ERR

Re: [U-Boot] multiple partitions in mtdparts

2009-11-03 Thread Dieter Kiermaier
Am Mittwoch 04 November 2009 01:34:53 schrieb myub...@fastmail.fm: > Hi, > > I am trying to define multiple partitions using mtdparts variable. But I > can't get it set automatically right. > > I defined the set_bootargs as the following: > set_bootargs=setenv bootargs root=/dev/mtdblock2 rootfs

[U-Boot] [PATCH] ppc: Update README about the new GOT ptr.

2009-11-03 Thread Joakim Tjernlund
r14 is no longer used as non volatile GOT ptr. Instead the volatile r12 is used so be sure to do GET_GOT in asm code when you need to access global data. Signed-off-by: Joakim Tjernlund --- README |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/README b/README index 7

[U-Boot] [PATCH v2] fsl_pci_init_port end-point initialization is broken

2009-11-03 Thread Kumar Gala
commit 70ed869e broke fsl pcie end-point initialization. Returning 0 is not correct. The function must return the first free bus number for the next controller. fsl_pci_init() must still be called and a bus allocated even if the controller is an end-point. Signed-off-by: Ed Swarthout Acked-by: