From patchwork Fri Feb 18 15:19:06 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jeremy Chang X-Patchwork-Id: 172 Return-Path: Delivered-To: unknown Received: from imap.gmail.com (74.125.159.109) by localhost6.localdomain6 with IMAP4-SSL; 08 Jun 2011 14:40:32 -0000 Delivered-To: patches@linaro.org Received: by 10.146.25.23 with SMTP id 23cs99337yay; Fri, 18 Feb 2011 07:19:28 -0800 (PST) Received: by 10.227.166.13 with SMTP id k13mr776543wby.178.1298042367274; Fri, 18 Feb 2011 07:19:27 -0800 (PST) Received: from mail-wy0-f178.google.com (mail-wy0-f178.google.com [74.125.82.178]) by mx.google.com with ESMTPS id b47si3317463wer.75.2011.02.18.07.19.26 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Feb 2011 07:19:27 -0800 (PST) Received-SPF: pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.178 as permitted sender) client-ip=74.125.82.178; Authentication-Results: mx.google.com; spf=pass (google.com: domain of shunyu.chang@gmail.com designates 74.125.82.178 as permitted sender) smtp.mail=shunyu.chang@gmail.com; dkim=pass (test mode) header.i=@gmail.com Received: by wyb42 with SMTP id 42so3666224wyb.37 for ; Fri, 18 Feb 2011 07:19:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=AMT3iKODAol3loLI3tidsUVrrYVqBZujWhxE+vt0OTw=; b=bwKgjPd31dDLTxXoa1Fr44a4deZ8qPwvyVZYkVdkrPF28n1YF/kgjMxFb4Xq9Cv6tP TqWzwR2nIvffP4Jv+8k5CsyGY9zZ3hwaGMeUcGciY2owddxskokblfHnRxerpCW0Wzkp s4ZMbS0KC1dWoRfNYW+CiznpVRvWa0bA2JMws= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; b=v87gkry/KeCGCiTbBO14p3vWuC8BSjEksKOqvmP81RfuQWfr891z3cQJoVQ569PuQK RdlqPSDAep38FNyFMoYR+6IkDOo/ta+yZvFqiH4fqPKHAN463rt5kXRF87naoOVyoilo o9nvWC0E4IaMfQw0Sc2a9bVKLgCvswwwci2Dw= Received: by 10.216.246.6 with SMTP id p6mr676660wer.74.1298042366171; Fri, 18 Feb 2011 07:19:26 -0800 (PST) MIME-Version: 1.0 Sender: shunyu.chang@gmail.com Received: by 10.216.35.3 with HTTP; Fri, 18 Feb 2011 07:19:06 -0800 (PST) From: Jeremy Chang Date: Fri, 18 Feb 2011 23:19:06 +0800 X-Google-Sender-Auth: a7YKibsHOCp2oD44XEUZE475ZeI Message-ID: Subject: [PATCH v2] device/linaro/beagleboard: Setup network environment during booting To: linaro-dev@lists.linaro.org Cc: patches , Patrik Ryd Try to enable network interface and fetch IP via DHCP in boot script. This will give the network interface a shot to fetch IP via DHCP. Signed-off-by: Jeremy Chang --- init.omap3.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/init.omap3.sh b/init.omap3.sh index 997ee03..a740236 100755 --- a/init.omap3.sh +++ b/init.omap3.sh @@ -15,3 +15,5 @@ do ;; esac done < /proc/cpuinfo + +netcfg usb0 dhcp