From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATH v7 2/2] Add support for Network Space v2
Date: Thu, 12 May 2011 18:15:21 +0200 [thread overview]
Message-ID: <20110512161521.F3B3BD60EBA@gemini.denx.de> (raw)
In-Reply-To: <20110512114727.GC6693@kw.sim.vm.gnt>
Dear Simon Guinot,
In message <20110512114727.GC6693@kw.sim.vm.gnt> you wrote:
>
> > > +#define CONFIG_IDENT_STRING " LaCie Network Space v2"
> > > +#elif defined(CONFIG_NETSPACE_MAX_V2)
> > > +#define CONFIG_MACH_TYPE MACH_TYPE_NETSPACE_MAX_V2
> > > +#define CONFIG_IDENT_STRING " LaCie Network Space Max v2"
> > > +#endif
> >
> > There should be #elif for third board and #error for #else part
>
> I have noticed this #error in the other board include files. Is it
> really needed ? This file is only included if one machine is selected.
Defensive programming is a Good Thing. Today you remember that there
are only three boards. Next year somebody adds another one and fails
to update all relevant places.
> > > +#define CONFIG_CMD_EXT2
> > > +#define CONFIG_CMD_FAT
> >
> > Get rid of this, use CONFIG_SYS_MVFS
>
> Outch. Please no :)
Agreed. Leave as is.
> > > + "ipaddr=192.168.1.111\0" \
> >
> > NAK for ipaddr, no ip address should be defined by default.
>
> I understand, but I need a known IP address.
>
> I want people to be able to update the stock U-Boot using netconsole
> (without a serial link which require to open the case). At restart,
> right after the update, a user must be able to figure out the board IP.
>
> An alternative could be using a DHCP configuration.
Yes, that would be much better.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
It is easier to change the specification to fit the program than vice
versa.
prev parent reply other threads:[~2011-05-12 16:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-12 9:48 [U-Boot] [PATH v7 0/2] Add support for LaCie NAS Network Space v2 Simon Guinot
2011-05-12 9:48 ` [U-Boot] [PATH v7 1/2] netconsole: remove `serverip' check Simon Guinot
2011-05-12 10:17 ` Prafulla Wadaskar
2011-05-12 11:55 ` Simon Guinot
2011-05-12 12:14 ` Prafulla Wadaskar
2011-05-12 16:16 ` Wolfgang Denk
2011-05-12 15:14 ` Mike Frysinger
2011-05-12 17:12 ` Wolfgang Denk
2011-05-13 11:52 ` Prafulla Wadaskar
2011-05-12 9:48 ` [U-Boot] [PATH v7 2/2] Add support for Network Space v2 Simon Guinot
2011-05-12 10:36 ` Prafulla Wadaskar
2011-05-12 11:47 ` Simon Guinot
2011-05-12 12:04 ` Prafulla Wadaskar
2011-05-12 16:15 ` Wolfgang Denk [this message]
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=20110512161521.F3B3BD60EBA@gemini.denx.de \
--to=wd@denx.de \
--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