Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2012 19:40:23 +0900
From:      "Daisuke Aoyama" <aoyama@peach.ne.jp>
To:        "Oleksandr Tymoshenko" <gonzo@bluezbox.com>, <freebsd-arm@freebsd.org>
Subject:   Re: FreeBSD on Raspberry Pi 512MB (with U-Boot + ubldr)
Message-ID:  <77F52EC474BD4D8EA39FEB644359FCD3@ad.peach.ne.jp>
In-Reply-To: <50B8058C.9030909@bluezbox.com>
References:  <3988C1622A974F19A9D3888F0334FF10@ad.peach.ne.jp> <50B8058C.9030909@bluezbox.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77F52EC474BD4D8EA39FEB644359FCD3>