From owner-freebsd-hackers@FreeBSD.ORG Fri Nov 9 22:33:00 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3D8CDB91; Fri, 9 Nov 2012 22:33:00 +0000 (UTC) (envelope-from sodynet1@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id CE6708FC08; Fri, 9 Nov 2012 22:32:59 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so5685327oag.13 for ; Fri, 09 Nov 2012 14:32:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=+ov+6zUAOqvpVQ9XUPsO/wIJ8nB2NFOKKFfu/qNYFnA=; b=YUE6hMOxS3K9WXHsHb1A3BtQP6B6HqZsXvGjsQJV6XMLX2miGvvpxHri1sqUAVRGiR S4xC9S6CCSUV1T3gQM3EIGnDQWZlTy88DWCb2dPvxdMnN4olqGsOTnuQC9C0YrwSebva 8/ALPjaKdw5JrVmk1VcbWOIMcpbbmwTdAHgFeRUBU5Lt6BlCxn17Ue+2R78TEU8g3tfc jeo0LhfHXAwW5jm7JqjIApIBkc/HN0jJV2WfsBLy+QYQHRFMTWiuil1zdpeYy1/57bqW WY6I5ElHp9FPCaaDQ1Ev9uHFWDYUbIGiPe79QYXvvKVGZ1+rB0dW8MlYAixcJ0GjrQdy K1uA== MIME-Version: 1.0 Received: by 10.60.32.171 with SMTP id k11mr9003765oei.113.1352500373205; Fri, 09 Nov 2012 14:32:53 -0800 (PST) Received: by 10.182.133.40 with HTTP; Fri, 9 Nov 2012 14:32:53 -0800 (PST) In-Reply-To: <509CC1F6.1010308@freebsd.org> References: <31C904E6-F230-4187-AE32-F9A7B1A7C38E@freebsd.org> <509CC1F6.1010308@freebsd.org> Date: Sat, 10 Nov 2012 00:32:53 +0200 Message-ID: Subject: Re: FreeBSD on RaspberryPi From: Sami Halabi To: Stefan Esser Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-hackers@freebsd.org, Tim Kientzle X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Nov 2012 22:33:00 -0000 Hi, are there any plans to do images that support the hdmi output ? what about analog sound vs the hdmi? can the images be taken to the gui stage , ie xbmc or any other multimedia screen ? Sami On Fri, Nov 9, 2012 at 10:42 AM, Stefan Esser wrote: > Am 09.11.2012 05:44, schrieb Tim Kientzle: > >> On Wed, Nov 7, 2012 at 6:01 PM, Tim Kientzle > wrote: > >> WARNING: This is still highly experimental and by no > >> means ready for "production use", ... > >> > >> To boot FreeBSD on your RaspberryPi, you'll need: > >> 1) A RaspberryPi. > >> 2) A serial cable similar to this one: www.adafruit.com/products/954 > > > > > > On Nov 8, 2012, at 9:13 AM, Sami Halabi wrote: > >> > >> why the console cable is needed ? > >> > > As far as I can tell, the code in FreeBSD-CURRENT > > does not yet support the video out. So you need > > a serial console cable to interact with it. > > All it takes to get the framebuffer working is that the hash chars are > removed. I.e. the following works: > > device sc > device kbdmux > options SC_DFLT_FONT # compile font in > makeoptions SC_DFLT_FONT=cp437 > > > You might be able to interact via SSH but > > that requires a little bit more setup (a root > > password needs to be set and you need to > > edit /etc/ssh/sshd_config to allow root logins). > > I used SSH, and the framebuffer helps to see how far the boot process > has come. It takes about 60 seconds to generate the SSH host keys, for > example. > > [The following points are not specific to the R-PI, and I'm sure you > know them, but I list them for others that may want to use their R-PI > without serial console.] > > In order to use SSH I modified sshd_config to accept direct root logins. > The root password must be set (best method: "vipw -d /mnt/etc", else > you must remember to invoke "pwd_mkdb -d /mnt/etc" when you are done). > > The host name and IP address should be set in rc.conf (or assigned via > DHCP). > > If you do not want to enable direct root login, then a non-privileged > account in group wheel is required to be able to "su" to root. > > That's all I remember ... > > I used the build script from "http://kernelnomicon.org/?p=164" with > one slight modification (tar -x ... --no-same-owner ...). > > My R-PI kernel contains MSDOSFS and NFS client support to allow it > to mount its boot partition and NFS exported /usr/src, /usr/obj, > /usr/ports and /usr/work (where I build ports). Most of them are > R/O mounts. I have not tried to build world on the R-PI (cross > building is so much faster ...). But ports can be build, if a swap > partition is available (e.g. on SD card or via NFS - I did not try > to mount a USB stick, but that might be another option). > > Regards, STefan > _______________________________________________ > freebsd-hackers@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-hackers > To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org" > -- Sami Halabi Information Systems Engineer NMS Projects Expert FreeBSD SysAdmin Expert