[U-Boot] [PATCH] Adding support for DevKit8000

Frederik Kriewitz
2009-08-20T08:55:38Z

On Thu, Aug 20, 2009 at 12:19 AM, Jean-Christophe
PLAGNIOL-VILLARD<plagnioj@jcrosoft.com> wrote:
>> board/omap3/devkit8000/Makefile | 52 +++++
>> board/omap3/devkit8000/config.mk | 35 ++++
>> board/omap3/devkit8000/devkit8000.c | 124 ++++++++++++
>> board/omap3/devkit8000/devkit8000.h | 373 +++++++++++++++++++++++++++++++++++
> no need board are allow in board/omap3
> please create your own vendor dirent or just put it in board/
What do you mean with that?

On Thu, Aug 20, 2009 at 7:18 AM, Jean-Christophe
PLAGNIOL-VILLARD<plagnioj@jcrosoft.com> wrote:
>> >> +void reset_phy(void)
>> >> +{
>> >> + ? ? eth_init(gd->bd);
>> >> +}
>> > NACK
>> > the net need to be init only when you use it
>>
>> The kernel will try to use the already (temporally) programmed MAC address.
>> I always init it because that way no kernel hack for the MAC address
>> is required.
>> Is it ok if I add a comment?
> no sorry
> this will be also nack by Wolfgang
> to program the mac you need to create a initramfs in your kernel wich generate
> the same thing or read the content of the U-Boot env via fw_printenv
> and use ifconfig hw ether

ok, I think this will break nfsroot.
I don't think it's possible to init ethernet with a initramfs before
mounting the rootfs.

There are several boards doing the same because of nfsroot:

board/ronetix/pm9261/pm9261.c
board/ronetix/pm9263/pm9263.c
board/afeb9260/afeb9260.c
board/atmel/at91cap9adk/at91cap9adk.c
board/atmel/at91sam9260ek/at91sam9260ek.c
board/atmel/at91sam9261ek/at91sam9261ek.c
board/atmel/at91sam9263ek/at91sam9263ek.c
board/atmel/at91sam9m10g45ek/at91sam9m10g45ek.c

Is there any command to call eth_init() in a script?