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

Jean-Christophe PLAGNIOL-VILLARD
2009-08-20T13:22:29Z

On 10:55 Thu 20 Aug , Frederik Kriewitz wrote:
> 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?
board/devkit8000/devkit8000.h
or board/embedinfo/devkit8000/devkit8000.h
>
> 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.
pivot root is your friend
and generate the mac address at the openof the device in the kernel
>
> There are several boards doing the same because of nfsroot:
>
I known but it's not allow anyway
>
> Is there any command to call eth_init() in a script?
if you download the uImage from the net it work
but the best will be to handle this in a initramfs

Best Regards,
J.