Re: [U-Boot] Question about fw_printenv settings

2010-03-09 Thread Wolfgang Denk
Dear Joe Culler, In message <67a3f13e1003092150o19ed0f64y3c200378c73b5...@mail.gmail.com> you wrote: > > In my board config: ... > #define CONFIG_ENV_ADDR_REDUND (CONFIG_ENV_ADDR + > CONFIG_ENV_SECT_SIZE) So you have redundant envrionment, i. e. 2 copies of it in 2 different sectors.

Re: [U-Boot] bootcounter implementation for OMAP3

2010-03-09 Thread Wolfgang Denk
Dear Nitin Mahajan, In message <806215.16680...@web50105.mail.re2.yahoo.com> you wrote: > > I was just wondering how to recover from errors such as bad CRC on uImage, = > where boot loader is not able to start booting the kernel for any reason. > > In such case how to fallback to a different ker

[U-Boot] [PATCH] cfi flash: add status polling method for amd flash

2010-03-09 Thread Thomas Chou
This patch adds status polling method to offer an alternative to data toggle method for amd flash chips. This patch is needed for nios2 cfi flash interface, where the bus controller performs 4 bytes read cycles for a single byte read instruction. The data toggle method can not detect chip busy sta

[U-Boot] Question about fw_printenv settings

2010-03-09 Thread Joe Culler
Hi, I have problems with fw_env.config in NOR flash. Would anyone please help me solve it? Thanks. In my board config: ifdef CONFIG_NAND #define CFG_NO_FLASH #define CONFIG_ENV_IS_IN_NAND 1 #define CONFIG_ENV_OFFSET 0x40 /* add for 2008.10 */ #define CONFIG_EN

Re: [U-Boot] bootcounter implementation for OMAP3

2010-03-09 Thread Nitin Mahajan
Hello, --- On Tue, 9/3/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] bootcounter implementation for OMAP3 > To: nitin...@yahoo.com > Cc: u-boot@lists.denx.de > Date: Tuesday, 9 March, 2010, 10:52 PM > Hi Nitin, > > >> You are writing a 32 bit entity to an non 32-bit >

[U-Boot] ALERT

2010-03-09 Thread gr�ficas el diamante inv ruiz velasq uez
   You have won £891,934.00 pounds sterlings.Confirm the receipt of this mail with the details:Name,Address,Tel,country,to Mr Campbell Shearer on processingd...@gala.net for more details ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.d

Re: [U-Boot] Any good __LOW COST__ MIPS SBC suggestion please

2010-03-09 Thread Damien Dusha
> > It will be nice, if its an SBC, and it has atleast 64/128 MB SDRAM, and > 16/32 MB flash, USB support, (i can;t expect a super fast processor, but a > decent one like 166/200 Mhz should be ok) > Pure speculation, mainly because I was thinking about getting one myself, but perhaps the Netgear W

[U-Boot] [PATCH 4/4] ep93xx timer: refactoring

2010-03-09 Thread Matthias Kaehlcke
ep93xx timer: Simplified the timer code by eliminating clk_to_systicks() and performing (almost) all manipulation of the timer structure in read_timer() Signed-off-by: Matthias Kaehlcke --- cpu/arm920t/ep93xx/timer.c | 52 --- 1 files changed, 24 inserti

[U-Boot] [PATCH 3/4] ep93xx timer: Rename struct timer_reg pointers

2010-03-09 Thread Matthias Kaehlcke
ep93xx timer: Renamed pointers to struct timer_regs from name 'timer' to 'timer_regs' in order to avoid confusion with the global variable 'timer' Signed-off-by: Matthias Kaehlcke --- cpu/arm920t/ep93xx/timer.c | 12 ++-- 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/c

[U-Boot] [PATCH 2/4] ep93xx timer: Fix resolution of get_ticks()

2010-03-09 Thread Matthias Kaehlcke
ep93xx timer: Make get_ticks() return a value in CONFIG_SYS_HZ resolution, as announced by get_tbclk() Signed-off-by: Matthias Kaehlcke --- cpu/arm920t/ep93xx/timer.c | 15 +-- 1 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cpu/arm920t/ep93xx/timer.c b/cpu/arm920t/e

[U-Boot] [PATCH 1/4] ep93xx timer: Fix possible overflow in usecs_to_ticks()

2010-03-09 Thread Matthias Kaehlcke
ep93xx timer: Use 64-bit values in usecs_to_ticks() in order to avoid overflows in intermediate values Signed-off-by: Matthias Kaehlcke --- cpu/arm920t/ep93xx/timer.c | 16 1 files changed, 4 insertions(+), 12 deletions(-) diff --git a/cpu/arm920t/ep93xx/timer.c b/cpu/arm920t

[U-Boot] EABI 4.2

2010-03-09 Thread Praveen G K
Hello,  I am using the ARM11 platform, and I notice that when I build the uboot code, the -mabi option is set to aapcs-linux and thumb-network.  With this change, I have problems in getting the ext2ls function to work.  I was able to narrow down the problem, and in the ext2fs_iterate_dir function,

[U-Boot] Fwd: EABI 4.2

2010-03-09 Thread Praveen G K
Hello,  I am using the ARM11 platform, and I notice that when I build the uboot code, the -mabi option is set to aapcs-linux and thumb-network.  With this change, I have problems in getting the ext2ls function to work.  I was able to narrow down the problem, and in the ext2fs_iterate_dir function,

Re: [U-Boot] u-boot-imx51 NAND flash Uncorrectable ECC Error

2010-03-09 Thread Stefano Babic
Navaneethan P wrote: > * > *Hi Stefano Babic, > Hi Navaneethan, I will kindly ask you to send your questions directly to the u-boot mailing list, too. This information can be helpful for other users of this board. And you get a large number of developers who could help you. > We are using the i

Re: [U-Boot] [Patch] ./drivers/pci/pci.c

2010-03-09 Thread Stefan Roese
On Tuesday 09 March 2010 15:28:41 FUJITA Kazutoshi wrote: > From: Wolfgang Denk > Subject: Re: [U-Boot] [Patch] ./drivers/pci/pci.c > Date: Tue, 09 Mar 2010 14:27:25 +0100 > > > Please provide a useful commit message, and add your Signed-off-by: > > line. > > sorry, how about this? > > regards,

Re: [U-Boot] bootcounter implementation for OMAP3

2010-03-09 Thread Detlev Zundel
Hi Nitin, >> You are writing a 32 bit entity to an non 32-bit aligned address. >> Although I do not know the omap too well, this can be a problem on >> any architecture. >> >> Can you write 32-bot to that exact address from within the U-Boot >> commandline with e.g. "mm"? > > That was the basic m

Re: [U-Boot] [Patch] ./drivers/pci/pci.c

2010-03-09 Thread FUJITA Kazutoshi
From: Wolfgang Denk Subject: Re: [U-Boot] [Patch] ./drivers/pci/pci.c Date: Tue, 09 Mar 2010 14:27:25 +0100 > Please provide a useful commit message, and add your Signed-off-by: > line. sorry, how about this? regards, this patch fixes to deal with PCI_BASE_ADDRESS_5 which was forgotten in pci

Re: [U-Boot] Arm pull request

2010-03-09 Thread Wolfgang Denk
Dear Tom, In message <4b9501cd.7000...@windriver.com> you wrote: > > Wolfgang, > Please pull arm. > Tom > > > The following changes since commit ef8d008730fb62fc81a792274eea40480593a7d3: >Wolfgang Denk (1): > Merge branch 'master' of git://git.denx.de/u-boot-cfi-flash > > are avai

Re: [U-Boot] [Patch] ./drivers/pci/pci.c

2010-03-09 Thread Wolfgang Denk
Dear FUJITA Kazutoshi, In message <20100309.212207.190166056.fuj...@soum.co.jp> you wrote: > hi, > > it might be a small bug. > > > regards, Please provide a useful commit message, and add your Signed-off-by: line. Thanks. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH,

[U-Boot] LPC3250 loading kernel from mmc/"Secure Digital"

2010-03-09 Thread Bjørnar Syverstad
Hello, Is there any plans to implement the possibly to load the kernel from MMC/"Secure Digital" on the LPC3250? Bjørnar ___ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot

[U-Boot] [Patch] ./drivers/pci/pci.c

2010-03-09 Thread FUJITA Kazutoshi
hi, it might be a small bug. regards, diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index d6d2d6e..cd64a87 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c @@ -388,7 +388,7 @@ int pci_hose_config_device(struct pci_controller *hose, pci_hose_write_config_dword (hose, dev, P

Re: [U-Boot] bootcounter implementation for OMAP3

2010-03-09 Thread Nitin Mahajan
Hello, --- On Tue, 9/3/10, Detlev Zundel wrote: > From: Detlev Zundel > Subject: Re: [U-Boot] bootcounter implementation for OMAP3 > To: nitin...@yahoo.com > Cc: u-boot@lists.denx.de > Date: Tuesday, 9 March, 2010, 2:03 PM > Hi Nitin, > > > I am trying to implement the bootcount_store and > bo

Re: [U-Boot] [Patch] ./net/net.c - make Microsoft dns servers happy with random_port() numbers

2010-03-09 Thread Detlev Zundel
Hi Robin, > For some reason, (which I can't find any documentation on), if U-Boot > gives a port number higher than 17500 to a Microsoft DNS server, the > server will reply to port 17500, and U-Boot will ignore things (since > that isn't the port it asked the DNS server to reply to). > > This fi

Re: [U-Boot] bootcounter implementation for OMAP3

2010-03-09 Thread Detlev Zundel
Hi Nitin, > I am trying to implement the bootcount_store and bootcount_load > methods for the OMAP3503 processor based board which I am using. > > For this I decided to use the location at the end of scratchpad RAM, > that is I am trying to write at location 0x480029BF. The code looks like > this