From: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] Adding support for DevKit8000
Date: Thu, 20 Aug 2009 15:22:29 +0200 [thread overview]
Message-ID: <20090820132229.GT8470@game.jcrosoft.org> (raw)
In-Reply-To: <f67028d40908200155k7819eac1x7fe750bddc3e48ad@mail.gmail.com>
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.
next prev parent reply other threads:[~2009-08-20 13:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-17 23:20 [U-Boot] [PATCH] Adding support for DevKit8000 Frederik Kriewitz
2009-08-19 22:19 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-20 3:59 ` Frederik Kriewitz
2009-08-20 5:18 ` Jean-Christophe PLAGNIOL-VILLARD
2009-08-20 8:55 ` Frederik Kriewitz
2009-08-20 13:22 ` Jean-Christophe PLAGNIOL-VILLARD [this message]
2009-08-21 22:15 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2009-08-17 9:18 Frederik Kriewitz
2009-08-17 9:50 ` Wolfgang Denk
2009-08-17 13:45 ` Frederik Kriewitz
2009-08-17 15:16 ` Dirk Behme
2009-08-17 18:23 ` Dirk Behme
2009-08-17 15:21 ` Dirk Behme
2009-08-17 17:03 ` Frederik Kriewitz
2009-08-17 17:38 ` Dirk Behme
2009-08-17 20:42 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090820132229.GT8470@game.jcrosoft.org \
--to=plagnioj@jcrosoft.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox