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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] >> 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 [-- Attachment #2 --] --- build-pi-image.sh-orig 2012-11-30 15:34:43.317632000 +0900 +++ build-pi-image.sh 2012-11-30 19:09:23.973941862 +0900 @@ -13,6 +13,9 @@ export MAKESYSPATH=$SRCROOT/share/mk export KERNCONF=RPI-B +# Uncomment this if you want serial console +#SERIALCONSOLE=YES + KERNEL=`realpath $MAKEOBJDIRPREFIX`/arm.armv6/`realpath $SRCROOT`/sys/$KERNCONF/kernel UBLDR=`realpath $MAKEOBJDIRPREFIX`/arm.armv6/`realpath $SRCROOT`/sys/boot/arm/uboot/ubldr DTB=`realpath $MAKEOBJDIRPREFIX`/arm.armv6/`realpath $SRCROOT`/sys/$KERNCONF/bcm2835-rpi-b.dtb @@ -109,6 +112,7 @@ install_videocore echo 'fdt addr 0x100' > $MNTDIR/boot/loader.rc +[ "$SERIALCONSOLE" = "YES" ] && echo 'set console=comconsole' >> $MNTDIR/boot/loader.rc echo '/dev/mmcsd0s2a / ufs rw,noatime 1 1' > $MNTDIR/etc/fstab @@ -136,7 +140,7 @@ ttyv5 "/usr/libexec/getty Pc" xterm on secure ttyv6 "/usr/libexec/getty Pc" xterm on secure ttyv7 "/usr/libexec/getty Pc" xterm on secure -ttyu0 "/usr/libexec/getty 3wire.115200" dialup on secure +ttyu0 "/usr/libexec/getty 3wire.115200" vt102 on secure __EOTTYS__ umount $MNTDIRhelp
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?77F52EC474BD4D8EA39FEB644359FCD3>
