From: Sergei Ianovich Date: Sat, 14 Dec 2013 19:39:00 +0400 Subject: [U-Boot] [PATCH 2/4] arm: pxa: always init ethaddr for LP-8x4x In-Reply-To: <201312141330.30990.marex@denx.de> References: <1386999720-23460-1-git-send-email-ynvich@gmail.com> <1386999720-23460-3-git-send-email-ynvich@gmail.com> <201312141330.30990.marex@denx.de> Message-ID: <1387035540.7152.304.camel@host5.omatika.ru> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, 2013-12-14 at 13:30 +0100, Marek Vasut wrote: > On Saturday, December 14, 2013 at 06:41:58 AM, Sergei Ianovich wrote: > > I always used tftp in my test, so the first dm9000 on LP-8x4x was > > always properly initialized. However, if the boot doesn't include > > network related commands, linux will not find a valid MAC and will > > complain. > > > Please pass the ethernet address via DT, will that not work for you ? This will require a custom dtb object for every device recompiled every time kernel is upgraded. The current way is to set once per device in U-Boot environment variable, which doesn't need to change if kernel changes. I strongly believe the current way is easier.