Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-20 Thread Philippe De Muyter
Hi Maxim, On Sat, Feb 20, 2010 at 10:30:32AM +0300, Maxim Podbereznyi wrote: > Hi Philippe! > > May be it is a little bit tricky but you can just read the u-boot > environment from you Linux driver and use the "ethaddr" variable. I did the > same for osk5912 Thanks, but I need something more str

Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-20 Thread Philippe De Muyter
Hi Maxim, On Sat, Feb 20, 2010 at 10:30:32AM +0300, Maxim Podbereznyi wrote: > Hi Philippe! > > May be it is a little bit tricky but you can just read the u-boot > environment from you Linux driver and use the "ethaddr" variable. I did the > same for osk5912 Sorry, I replied too fast, It seems t

[U-Boot] [PATCH] README.mpc8536ds corrected address

2010-02-20 Thread Frans Meulenbroeks
This patch corrects small mistake in the register list. These registers are 32 bits and this one starts at c not e When using the ...c address I can boot from sd, when using the ...e address I cannot. Signed-off-by: Frans Meulenbroeks --- doc/README.mpc8536ds |2 +- 1 files changed,

[U-Boot] [PATCH] cmd_i2c.c: added command to read to memory

2010-02-20 Thread Frans Meulenbroeks
From: Frans Added a new function i2c read to read to memory. That way it becomes possible to test against a value and use that to influence the boot process. Design decision was to stay close to the i2c md command with respect to command syntax. Signed-off-by: Frans Meulenbroeks --- common/cm

[U-Boot] [PATCH 2/2] cmd_itest.c: fix pointer dereferencing

2010-02-20 Thread Frans Meulenbroeks
fix pointer dereferencing if the size is .b and .w an 8 or 16 bit access is done. Signed-off-by: Frans Meulenbroeks --- common/cmd_itest.c |9 ++--- 1 files changed, 6 insertions(+), 3 deletions(-) diff --git a/common/cmd_itest.c b/common/cmd_itest.c index 5b301bf..6e1079c 100644 --- a/

Re: [U-Boot] AT91RM9200 boots from NOR Flash or not

2010-02-20 Thread Eric Bénard
Hi, Le 20/02/2010 08:25, Maxim Podbereznyi a écrit : > OK, then can you explain what software do you flash? Does rm9200 u-boot > setup PLL? Because if it is not then you will never see anything at DBGU > pins. Another problem can be with your RC filters for PLL. Did you use the > same quartz as in

Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-20 Thread Maxim Podbereznyi
Hi! Well, I know nothing about coldfire but for osk5912 it is well known where all partitions reside on the flash. You can find it the u-boot config file for coldfire. The code for MontaVista with kernel 2.4: static int nicGetMacAddress(u8* macaddr) { int ret = 0; if (check_mem_region(F

Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-20 Thread Wolfgang Denk
Dear Philippe De Muyter, In message <20100220093717.ga9...@frolo.macqel> you wrote: > > Previously, the mac addresses were stored in the bd_info struct, but that > has been removed, but alas not replaced by a common mechanism for all > architectures. Complain about this to the Linux architecture

Re: [U-Boot] Please pull u-boot-ti/master

2010-02-20 Thread Tom
s-paul...@ti.com wrote: > Tom, > > Please accept this version of my pull request. > > The following changes since commit 2f8f29f5f6f86b7c467a98508d02a28df735d1ee: > Sandeep Paulraj (1): > Merge branch 'master' of git://git.denx.de/u-boot-ti > > are available in the git repository at: >

Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-20 Thread Philippe De Muyter
Hello Wolfgang, On Sat, Feb 20, 2010 at 04:08:45PM +0100, Wolfgang Denk wrote: > Dear Philippe De Muyter, > > In message <20100220093717.ga9...@frolo.macqel> you wrote: > > > > Previously, the mac addresses were stored in the bd_info struct, but that > > has been removed, but alas not replaced by

Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-20 Thread Philippe De Muyter
Hi Maxim, On Sat, Feb 20, 2010 at 05:49:53PM +0300, Maxim Podbereznyi wrote: > > The code for MontaVista with kernel 2.4: > > static int nicGetMacAddress(u8* macaddr) > { [...] > endptr = fw_getenv(sf, "ethaddr"); [...] > } > > Hope you can easily adapt it to your kernel! So the library

[U-Boot] building and updating u-boot on redboot based board

2010-02-20 Thread Vipul Jain
Hello U-Boot Alias, I am a newbie in using embedded boards and have few questions please kindly help me. 1. How to know if u-boot image I have build is build correctly? 2. I have redboot on my EP9302 SOC (Cirrus logic), can I load u-boot in memory and test if it works? What will be the memory a

Re: [U-Boot] [PATCH] README.mpc8536ds corrected address

2010-02-20 Thread Hu Mingkai-B21284
ACK. Thanks, Mingkai > -Original Message- > From: Frans Meulenbroeks [mailto:fransmeulenbro...@gmail.com] > Sent: Saturday, February 20, 2010 7:06 PM > To: Fleming Andy-AFLEMING; u-boot@lists.denx.de; > ga...@kernel.crashing.org; Hu Mingkai-B21284 > Cc: Frans Meulenbroeks > Subject: [P

Re: [U-Boot] what's the uboot way to pass eth*addr to linux ?

2010-02-20 Thread Ben Warren
Hi Philippe, On Sat, Feb 20, 2010 at 4:47 PM, Philippe De Muyter wrote: > Hi Maxim, > > On Sat, Feb 20, 2010 at 05:49:53PM +0300, Maxim Podbereznyi wrote: > > > > The code for MontaVista with kernel 2.4: > > > > static int nicGetMacAddress(u8* macaddr) > > { > [...] > > endptr = fw_getenv(