Re: [U-Boot] How to random my mac in u-boot

2010-02-08 Thread Wolfgang Denk
Dear Peter Pan, please read http://www.netmeister.org/news/learn2quote.html Do not top post / full quote. In message <48abf2c21002081620j32c09d82qf61e55bc5426e...@mail.gmail.com> you wrote: > Thank you very much for your advice. That's a very nice approach. > We will try this in our next versio

Re: [U-Boot] How to random my mac in u-boot

2010-02-08 Thread Peter Pan
Thank you very much for your advice. That's a very nice approach. We will try this in our next version. 2010/2/9 Aras Vaichas : >>> There are many ways to install a MAC into your hardware -without >>> hard-conding one into your image code. >>> Because of the quantity of the boards comparing w

Re: [U-Boot] How to random my mac in u-boot

2010-02-08 Thread Aras Vaichas
>> There are many ways to install a MAC into your hardware -without >> hard-conding one into your image code. >> >>> Because of the quantity of the boards comparing with the number of workers, >>> we can not set the MAC address by hand. So what I means is to make the Our Linux devices all have an

Re: [U-Boot] Pull request - net

2010-02-08 Thread Wolfgang Denk
Dear Ben Warren, In message <4b6e66e9.7020...@gmail.com> you wrote: > Wolfgang, > > The following changes since commit a1b322a98319de568b3bc38029ef7e123643c1e8: >Ladislav Michl (1): > ns16550: kick watchdog while waiting for a character > > are available in the git repository at: >

Re: [U-Boot] [PATCH] kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed

2010-02-08 Thread Wolfgang Denk
Dear Mike Frysinger, In message <1265661016-9444-1-git-send-email-vap...@gentoo.org> you wrote: > Commit cbb0cab1d929839d broke some platforms which used kgdb code but > didn't actually include kgdb.h. So include kgdb.h in all the relevant > traps code. > > Signed-off-by: Mike Frysinger Thanks

Re: [U-Boot] SMSC LAN8720 support

2010-02-08 Thread Ben Warren
Hi Maxim, On 2/7/2010 1:32 PM, Maxim Podbereznyi wrote: > Hi all! > > I need enable the support of the new SMSC Ethernet PHY LAN8720 in > AT91SAM based system. Can anybody give me a piece of advice how I can > do it? > > I don't have any direct experience with either this PHY or AT91SAM, but

Re: [U-Boot] [PATCH 0/5] NetStar updates

2010-02-08 Thread Paulraj, Sandeep
> On Mon, Feb 08, 2010 at 01:21:42PM -0600, Paulraj, Sandeep wrote: > > I fixed all the checkpatch errors myself and pushed the entire series. > > Thank you for your effort, I really appreciate it. However, the dark side > is that now it is pretty unobvious, what actually changed and that's > why

Re: [U-Boot] [PATCH 0/5] NetStar updates

2010-02-08 Thread Ladislav Michl
On Mon, Feb 08, 2010 at 01:21:42PM -0600, Paulraj, Sandeep wrote: > I fixed all the checkpatch errors myself and pushed the entire series. Thank you for your effort, I really appreciate it. However, the dark side is that now it is pretty unobvious, what actually changed and that's why incremental

[U-Boot] [PATCH] kgdb: cpu/mpc* cpu/74xx: include kgdb.h when needed

2010-02-08 Thread Mike Frysinger
Commit cbb0cab1d929839d broke some platforms which used kgdb code but didn't actually include kgdb.h. So include kgdb.h in all the relevant traps code. Signed-off-by: Mike Frysinger --- cpu/74xx_7xx/traps.c |1 + cpu/mpc512x/traps.c |1 + cpu/mpc5xx/traps.c |1 + cpu/mpc5xxx/trap

Re: [U-Boot] [beagleboard] Re: TI:OMAP: [PATCH 2/7] Enable I2C bus switching

2010-02-08 Thread Dirk Behme
On 08.02.2010 08:01, Syed Mohammed, Khasim wrote: > On Sun, Feb 7, 2010 at 12:02 PM, Ben Warren wrote: >> Dirk, >> >> On 2/5/2010 11:30 PM, Dirk Behme wrote: >>> >>> On 24.01.2010 01:05, Tom wrote: >>> Khasim Syed Mohammed wrote: > >From 9bb1c3501c8f098dac6e224c99e409ebf

[U-Boot] u-boot-usb for avr32 ap7000

2010-02-08 Thread Marcel
Hi, I'm trying to port the USB device controller stuff for the AP7000 to u-boot. Last week I found some items being checked into u-boot-usb so I gave it a go to port things. Some code is used from the at91_udc driver and some parts I used from the atmel_usba_udc linux driver. I've come to a poin

Re: [U-Boot] [PATCH v2] SPI: Fix 32 bit transfers in mxc_spi.c

2010-02-08 Thread Magnus Lilja
Tom skrev: > Magnus Lilja wrote: >> Commit f9b6a1575d9f1ca192e4cb60e547aa66f08baa3f, "i.MX31: fix SPI >> driver for shorter than 32 bit" broke 32 bit transfers. This patch >> makes single 32 bit transfer work again. >> >> Transfer lengths that are known not to work will abort and print >> an error

Re: [U-Boot] kgdb: drop duplicate debugger_exception_handler

2010-02-08 Thread Wolfgang Denk
Dear Mike, it seems your commit cbb0cab1d929839d1cf170b54b1fef05896433ea: Author: Mike Frysinger Date: Mon Dec 21 18:40:43 2009 -0500 kgdb: drop duplicate debugger_exception_handler The debugger_exception_handler definition is the same for everyone, so use the common one now.

Re: [U-Boot] [PATCH 2/2 v3] arm: suen3, suen3_v1, mgcoge2_arm_p1a support

2010-02-08 Thread Scott Wood
Heiko Schocher wrote: > Scott Wood wrote: >> That's not how nand_init() is meant to be used. It is meant to be called >> once on system init. There is probably at least a memory leak here, e.g. >> chip->buffers. > > Oh, Ok. How could/should this then be solved? Well, for a hackish solution that

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

2010-02-08 Thread s-paulraj
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: git://git.denx.de/u-boot-ti.git master

Re: [U-Boot] [PATCH 0/5] NetStar updates

2010-02-08 Thread Paulraj, Sandeep
> > I used scripts/checkpatch.pl from linux-2.6.33-rc5 and for patch 5 it > reports > patch "has no obvious style problems and is ready for submission". For > others > two it reports lines over 80 characters. > > > Please fix them and resend the entire series to the list again. > > Sorry, I'm

Re: [U-Boot] [PATCH 0/5] NetStar updates

2010-02-08 Thread Ladislav Michl
On Mon, Feb 08, 2010 at 10:55:04AM -0600, Paulraj, Sandeep wrote: > Patches 1, 4 and 5 returned checkpatch errors. I used scripts/checkpatch.pl from linux-2.6.33-rc5 and for patch 5 it reports patch "has no obvious style problems and is ready for submission". For others two it reports lines over 8

Re: [U-Boot] [beagleboard] Re: TI:OMAP: [PATCH 2/7] Enable I2C bus switching

2010-02-08 Thread Ben Warren
Syed, On 2/7/2010 11:01 PM, Syed Mohammed, Khasim wrote: > On Sun, Feb 7, 2010 at 12:02 PM, Ben Warren wrote: > >> Dirk, >> >> On 2/5/2010 11:30 PM, Dirk Behme wrote: >> >>> On 24.01.2010 01:05, Tom wrote: >>> >>> Khasim Syed Mohammed wrote: >Fro

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

2010-02-08 Thread s-paulraj
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: git://git.denx.de/u-boot-ti.git master Nick Thompson (2): Davinci: Add EMIF-A macros fo

Re: [U-Boot] [PATCH 0/5] NetStar updates

2010-02-08 Thread Paulraj, Sandeep
> > Dear Sandeep, > > following patches are intended to bring NetStar board to useable state. > Similar fixes for linker errors will be needed for VoiceBlue board - I'll > send them later, of course if you do not have any objections against this > solution. > > Best regards, > ladis Pat

Re: [U-Boot] [PATCH 2/2] DA830 EVM: Enable NAND support on Spectrum Digital EVM

2010-02-08 Thread Paulraj, Sandeep
> > The EVM UI extender card has a NAND device. This change will enable > saveenv to work with NAND and Linux to be booted using: > > mtdparts default > nboot kernel > bootm > > Signed-off-by: Nick Thompson > --- > board/davinci/da830evm/da830evm.c | 37 >

Re: [U-Boot] [PATCH 1/2] Davinci: Add EMIF-A macros for setting chip select parameters

2010-02-08 Thread Paulraj, Sandeep
> Davinci: Add EMIF-A macros for setting chip select > parameters > > > Signed-off-by: Nick Thompson > --- > include/asm-arm/arch-davinci/emif_defs.h | 18 +- > 1 files changed, 17 insertions(+), 1 deletions(-) > > diff --git a/include/asm-arm/arch-davinci/emif_defs.h b/inc

Re: [U-Boot] [PATCH] OMAP3: Avoid re-write to PRM_CLKSRC_CTRL

2010-02-08 Thread Paulraj, Sandeep
> In function get_osc_clk_speed(), do not change/ update > the divider for SYS_CLK as it can has cascading effect > on the other derived clocks. > > Sudden change in divider value can lead to inconsistent > behavior in the system - often leading to crashes. > > The problem was found when workin

Re: [U-Boot] Standalone application compilation

2010-02-08 Thread Detlev Zundel
Hi Salvatore, > Hi everyone. I'm writing because I have a problem. I'm running u-boot on an > mpc8641 ad I'd like to compile a custom application to make it running on > top of u-boot and I'm unable to compile it. Suppose I want to compile a > simple hello_world application just like this: > > int

[U-Boot] Standalone application compilation

2010-02-08 Thread Salvatore Campagna
Hi everyone. I'm writing because I have a problem. I'm running u-boot on an mpc8641 ad I'd like to compile a custom application to make it running on top of u-boot and I'm unable to compile it. Suppose I want to compile a simple hello_world application just like this: int main(int argc, char *argh

Re: [U-Boot] [PATCH] OMAP3: workaround for ARM Cortex-A8 erratum 725233

2010-02-08 Thread Siarhei Siamashka
On Monday 08 February 2010, Måns Rullgård wrote: > Siarhei Siamashka writes: > > On Sunday 07 February 2010, Tom wrote: > >> Siarhei Siamashka wrote: > >> > 725233: PLD instructions executed with PLD data forwarding > >> > enabled can result in a processor deadlock > >> > > >> > Signed-off-by: Sia

[U-Boot] [PATCH] Support for the Calao USB-A9260/USB-A9G20 boards

2010-02-08 Thread Gregory Hermant
The Calao USB-A9260 and USB-9G20 boards are manufactured and sold by Calao Systems . They are built around an AT91SAM9260 ARM SoC running at 180MHz and an AT91SAM9G20 ARM SoC running at 400MHz respectively. They feature an Ethernet port, 64Mo of SDRAM, 256Mo of NAND f

Re: [U-Boot] [PATCH] Add bootcount to AT91

2010-02-08 Thread Tom
Anders Darander wrote: > Hi Tom, > > On Sun, Feb 7, 2010 at 15:35, Tom wrote: >>> From: Anders Darander Use AT91_GPBR 3 as a bootcount register. > >> Please send me a link to the original patch. >> I will take a look >> Tom > > Here is the link from Werners patch-status mail: > http://art

Re: [U-Boot] [beagleboard] Re: TI:OMAP: [PATCH 2/7] Enable I2C bus switching

2010-02-08 Thread Tom
Syed Mohammed, Khasim wrote: > On Sun, Feb 7, 2010 at 12:02 PM, Ben Warren wrote: >> Dirk, >> >> On 2/5/2010 11:30 PM, Dirk Behme wrote: >>> On 24.01.2010 01:05, Tom wrote: >>> Khasim Syed Mohammed wrote: > From 9bb1c3501c8f098dac6e224c99e409ebf92b0ab9 Mon Sep 17 00:00:00 2001

Re: [U-Boot] [PATCH] OMAP3: workaround for ARM Cortex-A8 erratum 725233

2010-02-08 Thread Måns Rullgård
Siarhei Siamashka writes: > On Sunday 07 February 2010, Tom wrote: >> Siarhei Siamashka wrote: >> > 725233: PLD instructions executed with PLD data forwarding >> > enabled can result in a processor deadlock >> > >> > Signed-off-by: Siarhei Siamashka >> >> Please add a detailed comment on the err

[U-Boot] [PATCH v2] s3c64xx: Add ifdef at the S3C64XX only codes

2010-02-08 Thread Joonyoung Shim
The s3c6400.h file is only for S3C64XX cpu and the pheripheral port address(0x7000 - 0x7fff) exists at only S3C64XX cpu, so they should be included by only S3C64XX cpu. Signed-off-by: Joonyoung Shim --- cpu/arm1176/cpu.c |2 ++ cpu/arm1176/start.S |4 2 files changed, 6 in

Re: [U-Boot] [PATCH] s3c64xx: Add ifdef at the S3C64XX only codes

2010-02-08 Thread Minkyu Kang
Dear Joonyoung Shim, On 8 February 2010 20:23, Joonyoung Shim wrote: > On 2/8/2010 7:55 PM, Joonyoung Shim wrote: >> The pheripheral port address(0x7000 - 0x7fff) exists at only >> S3C64XX cpu. The pheripheral port setup codes should be executed by only >> S3C64XX cpu. >> >> Signed-off-by

Re: [U-Boot] How to random my mac in u-boot

2010-02-08 Thread Peter Pan
Thank you very much. I will check their approach. 2010/2/8 Wolfgang Denk : > Dear Peter Pan, > > In message <48abf2c21002080330k285f07b2y8b55f978a28cd...@mail.gmail.com> you > wrote: >> I understand what your mean. But we need to setup the boards' information >> including the MAC address through

Re: [U-Boot] How to random my mac in u-boot

2010-02-08 Thread Wolfgang Denk
Dear Peter Pan, In message <48abf2c21002080330k285f07b2y8b55f978a28cd...@mail.gmail.com> you wrote: > I understand what your mean. But we need to setup the boards' information > including the MAC address through ethernet. With the same MAC address, > only one board can be configured at a time, wh

Re: [U-Boot] How to random my mac in u-boot

2010-02-08 Thread Peter Pan
I understand what your mean. But we need to setup the boards' information including the MAC address through ethernet. With the same MAC address, only one board can be configured at a time, which is not efficient enough. Because of the quantity of the boards comparing with the number of workers, we

Re: [U-Boot] [PATCH] s3c64xx: Add ifdef at the S3C64XX only codes

2010-02-08 Thread Joonyoung Shim
On 2/8/2010 7:55 PM, Joonyoung Shim wrote: > The pheripheral port address(0x7000 - 0x7fff) exists at only > S3C64XX cpu. The pheripheral port setup codes should be executed by only > S3C64XX cpu. > > Signed-off-by: Joonyoung Shim > --- > cpu/arm1176/start.S |2 ++ > 1 files changed,

[U-Boot] [PATCH] s3c64xx: Add ifdef at the S3C64XX only codes

2010-02-08 Thread Joonyoung Shim
The pheripheral port address(0x7000 - 0x7fff) exists at only S3C64XX cpu. The pheripheral port setup codes should be executed by only S3C64XX cpu. Signed-off-by: Joonyoung Shim --- cpu/arm1176/start.S |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/cpu/arm1176/s

Re: [U-Boot] Problem to link u-boot for sh2a 7203

2010-02-08 Thread Fabio Giovagnini
Thank a lot. Do I have to use --change-start or --change-section-address Thanks Alle 09:10, lunedì 8 febbraio 2010, Nobuhiro Iwamatsu ha scritto: > Hi, > > 2010/2/6 Fabio Giovagnini : > > Hi All, > > I can compile u-boot for rsk7203_config. > > But into the file board/renesas/rsk7203/config.mk

[U-Boot] [PATCH] sh: Add asm/unaligned.h and asm/unaligned-sh4a.h from Linux kernel

2010-02-08 Thread Nobuhiro Iwamatsu
zlib.c demands asm/unaligned.h. But, SH does not have these. This commit add asm/unaligned.h and asm/unaligned-sh4a.h from Linux kernel and modifyf for u-boot. Signed-off-by: Nobuhiro Iwamatsu --- include/asm-sh/unaligned-sh4a.h | 258 +++ include/asm-sh/unal

Re: [U-Boot] Problem to link u-boot for sh2a 7203

2010-02-08 Thread Fabio Giovagnini
Thanks very much. Alle 09:10, lunedì 8 febbraio 2010, Nobuhiro Iwamatsu ha scritto: > Hi, > > 2010/2/6 Fabio Giovagnini : > > Hi All, > > I can compile u-boot for rsk7203_config. > > But into the file board/renesas/rsk7203/config.mk > > > > TEXT_BASE = 0x0C7C > > > > and if I read u-boot.sre

Re: [U-Boot] Problem to link u-boot for sh2a 7203

2010-02-08 Thread Nobuhiro Iwamatsu
Hi, 2010/2/6 Fabio Giovagnini : > Hi All, > I can compile u-boot for rsk7203_config. > But into the file board/renesas/rsk7203/config.mk > > TEXT_BASE = 0x0C7C > > and if I read u-boot.srec that is the result of building process I see that > the address spce of the code is starting from 0x0C7C