From owner-freebsd-arm@FreeBSD.ORG Thu Oct 25 09:28:06 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 2596EBDD for ; Thu, 25 Oct 2012 09:28:06 +0000 (UTC) (envelope-from se@freebsd.org) Received: from nm6-vm0.bullet.mail.ukl.yahoo.com (nm6-vm0.bullet.mail.ukl.yahoo.com [217.146.183.234]) by mx1.freebsd.org (Postfix) with ESMTP id 7FE538FC0C for ; Thu, 25 Oct 2012 09:28:04 +0000 (UTC) Received: from [217.146.183.216] by nm6.bullet.mail.ukl.yahoo.com with NNFMP; 25 Oct 2012 09:28:03 -0000 Received: from [77.238.184.76] by tm9.bullet.mail.ukl.yahoo.com with NNFMP; 25 Oct 2012 09:28:03 -0000 Received: from [127.0.0.1] by smtp145.mail.ukl.yahoo.com with NNFMP; 25 Oct 2012 09:28:03 -0000 X-Yahoo-Newman-Id: 907695.4400.bm@smtp145.mail.ukl.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: _Pm7rsoVM1lIfiaTaR8JdorW6dp74TM_x0zak3f7DSq5TN. ab6dvA1MxPj2WLI_zvLLLdeRamiXsEVINp6I3FCH_2Sa6l4YqenCjjW8_I9D zHxKVfofFj2ueKUFUYEOIIma66qonrzhKEpsOF6AUQX_DEzO2mIP65LyBjO. wT0bEdrOKt3yiSTOtNEL5Q1IrgYbEUF.ok9RDNVAvBSpIwHTCn_vQdJMG7NB R2XwSYC7kTl_KLBqB6EP7_LaTsNcTujSteQjEqedHll_0NEa_vIl57RyblaW X.VZ8fd7RIUuDh0uJYpkcFBR8VBat.uD9CSu9Mr_T3rS0YUqoKCa9JA67_ZG W4Rsuwg9JcAG6cr6OCMVqWm6fPKVBaQC0L_se98tIefnCPPdd6a1Jd6jZ61v knmVLPKxRWUa455P7lvjPDVUNasA4j1xEMqMmglTsWDth.1NW1mJUwifzeAK M3qxQg6vD85rIFXXEEfisyeGTmX9OcPefzpZWOLLVq6ZrG6LzFb1Cy55XkL6 VCtyuob1itVrjNNMXAO_nMz2v000SvLjZ839kT8vhLhzI1vwMDYxoGe7GssO sPk.Knr3V_By7AA-- X-Yahoo-SMTP: iDf2N9.swBDAhYEh7VHfpgq0lnq. Received: from [192.168.119.18] (se@87.153.63.112 with plain) by smtp145.mail.ukl.yahoo.com with SMTP; 25 Oct 2012 09:28:03 +0000 GMT Message-ID: <50890620.7060206@freebsd.org> Date: Thu, 25 Oct 2012 11:28:00 +0200 From: Stefan Esser User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1 MIME-Version: 1.0 To: Oleksandr Tymoshenko Subject: Re: BSD licensed Broadcom VideoCore driver References: <5087CFB2.5030405@gmail.com> <3660A738-1AB4-41B1-8824-532DF4203D40@kientzle.com> <1BA15896-340D-45D2-A43D-94AE672942C1@bluezbox.com> In-Reply-To: <1BA15896-340D-45D2-A43D-94AE672942C1@bluezbox.com> X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-arm@freebsd.org 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: Thu, 25 Oct 2012 09:28:06 -0000 Am 25.10.2012 09:48, schrieb Oleksandr Tymoshenko: > On 2012-10-24, at 10:10 PM, Tim Kientzle wrote: >> On Oct 24, 2012, at 4:23 AM, Sevan / Venture37 wrote: >> >>> Hello, >>> The rpi foundation just posted this up. >>> http://www.raspberrypi.org/archives/2221 >> >> There are two very basic pieces missing from the FreeBSD/RPI kernel right now: >> >> 1) MMC driver. Oleksandr had one in his github tree but it has not been merged to -CURRENT. I think that's the only obstacle to building bootable SD images today. > I'm working on getting it into -CURRENT. Hope to finish by the end of the week. I've applied the patch and it allows the PI to boot -CURRENT and mostly work: I also see "random" processes seg-fault when trying to build some ports. My PI NFS-mounts /usr/ports (R/O) and /usr/ports/distfiles(R/W), but trying to get some port build this way takes many attempts (because of commands seg-faulting). I managed to build bison, for example, but I do not remember how long it took ... One problem I observed with the patch applied: Building an amd64 kernel from these sources failed because of a reference to sdhci_if.h missing in the amd64 kernel build directory. I did not try to fix the config data but just put a symlink pointing to the generated file into the build directory. An empty file would probably also have worked, but I just wanted to get my new amd64 kernel built and did not have much time to spare. >> 2) Framebuffer. Documentation: http://elinux.org/RPi_Framebuffer >> It looks like it might be a couple days work for someone to tie this into sysconf and get a working text console through the HDMI connector. >> > > Actually framebuffer should be working. You just need to uncomment several line in config file and add USB keyboard support. The framebuffer works when these lines are uncommented. But I did not manage to get a USB keyboard working. Instead I use SSH to connect. A few changes to files under /etc where necessary (e.g. to allow direct root login in SSH, root password hash copied from another account with known password ...). Having the framebuffer show boot messages helps a lot in that situation, since it takes some time to get SSH host keys generated and you can better tell when to connect with SSH. There is some discussion in the PI forum about other missing pieces and it seems, that USB support is considered very weak because of unpublished controller details. The USB connected Ethernet chip seems to work reasonably well with -CURRENT, but I have seen SSH sessions abort for no (observable) reason. Regards, STefan