From owner-freebsd-arm@FreeBSD.ORG Fri Nov 30 10:40:32 2012 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 2CE94857 for ; Fri, 30 Nov 2012 10:40:32 +0000 (UTC) (envelope-from aoyama@peach.ne.jp) Received: from moon.peach.ne.jp (moon.peach.ne.jp [203.141.148.98]) by mx1.freebsd.org (Postfix) with ESMTP id A403E8FC13 for ; Fri, 30 Nov 2012 10:40:30 +0000 (UTC) Received: from moon.peach.ne.jp (localhost [127.0.0.1]) by moon.peach.ne.jp (Postfix) with ESMTP id 3381B39D5B; Fri, 30 Nov 2012 19:40:29 +0900 (JST) Received: from artemis (unknown [172.18.0.20]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by moon.peach.ne.jp (Postfix) with ESMTPSA id 3018539D46; Fri, 30 Nov 2012 19:40:29 +0900 (JST) Message-ID: <77F52EC474BD4D8EA39FEB644359FCD3@ad.peach.ne.jp> From: "Daisuke Aoyama" To: "Oleksandr Tymoshenko" , References: <3988C1622A974F19A9D3888F0334FF10@ad.peach.ne.jp> <50B8058C.9030909@bluezbox.com> In-Reply-To: <50B8058C.9030909@bluezbox.com> Subject: Re: FreeBSD on Raspberry Pi 512MB (with U-Boot + ubldr) Date: Fri, 30 Nov 2012 19:40:23 +0900 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0081_01CDCF32.89ED09E0" X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 14.0.8117.416 X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8117.416 X-Virus-Scanned: ClamAV using ClamSMTP X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Nov 2012 10:40:32 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_0081_01CDCF32.89ED09E0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit >> BTW, SDHCI is not yet stable? > > There is one issue with setting SDHCI clock. I'll commit fix later today. I will test new version. I noticed your blog is updated. So, I made small improvement for serial console. Please check the attached patch. If ubldr can get from u-boot environment(uenv.txt), I think it's perfect. Thanks, Daisuke Aoyama ------=_NextPart_000_0081_01CDCF32.89ED09E0 Content-Type: application/octet-stream; name="build.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="build.patch" --- build-pi-image.sh-orig 2012-11-30 15:34:43.317632000 +0900=0A= +++ build-pi-image.sh 2012-11-30 19:09:23.973941862 +0900=0A= @@ -13,6 +13,9 @@=0A= export MAKESYSPATH=3D$SRCROOT/share/mk=0A= export KERNCONF=3DRPI-B=0A= =0A= +# Uncomment this if you want serial console=0A= +#SERIALCONSOLE=3DYES=0A= +=0A= KERNEL=3D`realpath $MAKEOBJDIRPREFIX`/arm.armv6/`realpath = $SRCROOT`/sys/$KERNCONF/kernel=0A= UBLDR=3D`realpath $MAKEOBJDIRPREFIX`/arm.armv6/`realpath = $SRCROOT`/sys/boot/arm/uboot/ubldr=0A= DTB=3D`realpath $MAKEOBJDIRPREFIX`/arm.armv6/`realpath = $SRCROOT`/sys/$KERNCONF/bcm2835-rpi-b.dtb=0A= @@ -109,6 +112,7 @@=0A= install_videocore=0A= =0A= echo 'fdt addr 0x100' > $MNTDIR/boot/loader.rc=0A= +[ "$SERIALCONSOLE" =3D "YES" ] && echo 'set console=3Dcomconsole' >> = $MNTDIR/boot/loader.rc=0A= =0A= echo '/dev/mmcsd0s2a / ufs rw,noatime 1 1' > $MNTDIR/etc/fstab=0A= =0A= @@ -136,7 +140,7 @@=0A= ttyv5 "/usr/libexec/getty Pc" xterm on secure=0A= ttyv6 "/usr/libexec/getty Pc" xterm on secure=0A= ttyv7 "/usr/libexec/getty Pc" xterm on secure=0A= -ttyu0 "/usr/libexec/getty 3wire.115200" dialup on secure=0A= +ttyu0 "/usr/libexec/getty 3wire.115200" vt102 on secure=0A= __EOTTYS__=0A= =0A= umount $MNTDIR=0A= ------=_NextPart_000_0081_01CDCF32.89ED09E0--