Gentoo Archives: gentoo-embedded

From: Wolfgang Denk <wd@××××.de>
To: gentoo-embedded@l.g.o, Joe Sapp <nixphoeni@g.o>
Subject: Re: [gentoo-embedded] Getting network time early in boot
Date: Wed, 30 Mar 2011 09:03:51
Message-Id: 20110330085958.11A65EDFFD0@gemini.denx.de
In Reply to: [gentoo-embedded] Getting network time early in boot by Joe Sapp
1 Dear Joe Sapp,
2
3 In message <4D92902B.5000300@g.o> you wrote:
4 >
5 > I've got a board with no RTC so there are some problems during boot.
6 > Currently there's a hack in the udev init script to get the time from the
7 > network (via ntp or rdate), but I'm wondering if somebody else has solved
8 > this in a better way. Any ideas?
9
10 If your board uses U-Boot as boot loader, you can enable SNTP support
11 in U-Boot and get and set the time already there, before you even boot
12 into Linux.
13
14 Best regards,
15
16 Wolfgang Denk
17
18 --
19 DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
20 HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
21 Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@××××.de
22 "Faith: not *wanting* to know what is true." - Friedrich Nietzsche

Replies

Subject Author
Re: [gentoo-embedded] Getting network time early in boot Joe Sapp <nixphoeni@g.o>