[U-Boot] bootcounter implementation for OMAP3

2010-03-08 Thread Nitin Mahajan
Hello, 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, but the boo

Re: [U-Boot] Help with LCD setup

2010-03-08 Thread Anatolij Gustschin
Hi, On Mon, 8 Mar 2010 13:32:32 -0600 Chao You wrote: > First time user. Sorry if you got multiple emails already. > > I add the following line at the bottom of my omap3_beagle.h file. > > #define CONFIG_LCD 1 > #define CONFIG_CMD_BMP 1 > #define CONFIG_SP

Re: [U-Boot] (patch) segfault when calling fit_check_format() on corrupt FIT images

2010-03-08 Thread Wolfgang Denk
Dear Jon Nalley, In message you wrote: > > My goal is to be able to determine (while in Linux) if one of the two > firmware images in flash is corrupt or not. Although our platform > supports a hardware watchdog, I am unclear how it could solve this > particular problem? Granted, this is a fai

[U-Boot] Help with LCD setup

2010-03-08 Thread Chao You
First time user. Sorry if you got multiple emails already. I add the following line at the bottom of my omap3_beagle.h file. #define CONFIG_LCD 1 #define CONFIG_CMD_BMP 1 #define CONFIG_SPLASH_SCREEN1 #define CONFIG_MPC823 1 #def

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

2010-03-08 Thread Robin Getz
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 fixes that by ensuring

Re: [U-Boot] (patch) segfault when calling fit_check_format() on corrupt FIT images

2010-03-08 Thread Jon Nalley
On Mon, Mar 8, 2010 at 11:07 AM, Detlev Zundel wrote: > We are a bit reluctant to accept changes here as this is shared code > with the 'dtc' device tree compiler[1]. Understandable. > Also when glancing over the code, it seems like there may be more places > where a corrupt fdt may backfire so

Re: [U-Boot] (patch) segfault when calling fit_check_format() on corrupt FIT images

2010-03-08 Thread Detlev Zundel
Hi Jon, > I found that fit_check_format() was causing a segfault when run on a > corrupt FIT image. I tracked the problem down to line 92 in > libfdt/fdt_ro.c in _fdt_string_eq(): > > return (strlen(p) == len) && (memcmp(p, s, len) == 0); > > In the case of a corrupt FIT image one can't depend on

Re: [U-Boot] What is CONFIG_HAS_DATAFLASH?

2010-03-08 Thread Detlev Zundel
Hi Timur, > Wolfgang Denk wrote: > >>> This doesn't tell me anything. >> >> Hm... What exactly don't you understand here? > > Well, I was just wondering what the connection is between DataFlash > (which is some flash technology that I don't know much about) and the > md command. A google hit (se

Re: [U-Boot] [PATCH] POST progress API

2010-03-08 Thread Detlev Zundel
Hi Michael, > Added POST progress API implemented as weak calls before and after > each call to the POST test callback in the post_run_single routine > of the post.c file. > > Signed-off-by: Michael Zaidman Acked-by: Detlev Zundel Cheers Detlev -- It's bad civic hygiene to build technolo

Re: [U-Boot] [PATCH] mpc5xxx: Remove all references to MGT5100

2010-03-08 Thread Detlev Zundel
Detlev Zundel writes: > We do not support a processor that never reached a real customer. > > Signed-off-by: Detlev Zundel > --- > > This is really -next stuff. The patch was tested on lite5200b and > on TQM5200. [...] > diff --git a/MAKEALL b/MAKEALL > index 1e660b6..977a9f3 100755 > --- a/M

[U-Boot] Arm pull request

2010-03-08 Thread Tom
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 available in the git repository at: git://git.denx.de/u-boot-arm master Achim Ehrlich (

[U-Boot] [PATCH] mpc82xx: Remove SL8245 board and the now orpahned sk98lin network driver.

2010-03-08 Thread Detlev Zundel
This code has compile problems and the company does not even exist any more. So we take the liberty to drop support for it. Signed-off-by: Detlev Zundel CC: Wolfgang Denk CC: Ben Warren --- The patch is too large for the ML, so it can be found here: 0001-mpc82xx-Remove-SL8245-board-and-the-no

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

2010-03-08 Thread Jerry Van Baren
Hi Balaji, Please don't top quote. Balaji Ravindran wrote: > Hi Florian and Jerry, > > Thanks for the inputs, i was actually going through the choices, and yea > as suggested Lemote seems to be a nice choice for me, and was wanting to > see distributors in the US / US shipping options., Based