From owner-freebsd-arm@FreeBSD.ORG Wed Mar 6 20:16:20 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BA820AD5 for ; Wed, 6 Mar 2013 20:16:20 +0000 (UTC) (envelope-from jadcooper@yahoo.com) Received: from nm37-vm5.bullet.mail.bf1.yahoo.com (nm37-vm5.bullet.mail.bf1.yahoo.com [72.30.238.205]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5F939C for ; Wed, 6 Mar 2013 20:16:20 +0000 (UTC) Received: from [98.139.212.145] by nm37.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2013 20:09:47 -0000 Received: from [98.139.173.172] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2013 20:09:47 -0000 Received: from [127.0.0.1] by smtp101-mob.biz.mail.bf1.yahoo.com with NNFMP; 06 Mar 2013 20:09:47 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1362600587; bh=nYQX+F395R4XItOQlMmjwT7eequVuY8ceojWbW9X3aw=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:In-Reply-To:Mime-Version:Content-Transfer-Encoding:Content-Type:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=bLoC+H370C5q+Mbtk5Dqs8ZVkGYsHENhRtW80J7ertxnarTYkrfy4RR06hjEMHH4DrdRFrAks+H+bPXcPLd518uKOUtUUS4YBZFn7H5G984ZVc6Z2LzLgEcfW8+eJJYUEouhaAKwjytS/y/k8SeJ3Zuz3sx1tf1Oht6FRd+YMjg= X-Yahoo-Newman-Id: 780331.48397.bm@smtp101-mob.biz.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: xuqZ1FsVM1kPW1k5D1vrFN_JySKcRbpoXH7JS8.6jfYSiP. iwTQcYXb0J3a74W95yMgAE9lOWMqRNuvHVDMRRAVpkQmlqR7k5_ngytxANgH 7XJxVcBkmqVCIl9nv48uW7yppGlVdMy.ZzLqeb1hM8JoxkiQGdUOmbkygQ8Z o8I5VOVEcr6.FpADeCpUnCgcAY7.GH6lLUK5QfUznrglIN3rxzeAwwZ0Am2x c22w6isiqO9soq3gDVVndFI1T.IUf2NGJhjDAqg.v1ws09XWn7y5ywjqmCwc pXXZEJTNz_bSb27oZiWW2j5n1Xg9IbHDtnqnydykgKvQEVap95PYes9lsIY_ OaKiMIqB.GERvo.Cq1Y6IQiKAV2ZbjTci8ZFZ7iK2QfzyyXB_Dfkn3otMxDj NAu4i.vLhto9cD4ri6HEDMmbYuRU86G_v7YZCL8F4SX8HhWNk5eBzHt2dfC. pHH93i.K_gGZoACodhbE.w6Ue4BukcPJCvxamflaumxJq3ryISgT8m6Ok3gN 3nQAugXidYjzeEMx_zE04CNYoTtW_exsn X-Yahoo-SMTP: 1NwK1FqswBBIXmrGMynm9AQsKvKa_A-- Received: from [192.168.1.103] (jadcooper@68.161.233.84 with xymcookie) by smtp101-mob.biz.mail.bf1.yahoo.com with SMTP; 06 Mar 2013 12:09:47 -0800 PST References: <642BFD16-A5E3-447F-9C52-6855AB1E5CC4@yahoo.com> <1362524363.1291.51.camel@revolution.hippie.lan> <5136B2A3.4010701@ceetonetechnology.com> <20130306123945.60aff30773fdd0fb2707a635@ddteam.net> <7198D3D7-AEFA-4054-8769-4B5E64C015D3@yahoo.com> <20130306163135.GA45920@ithaqua.etoilebsd.net> <20130306180555.GI18971@ithaqua.etoilebsd.net> In-Reply-To: <20130306180555.GI18971@ithaqua.etoilebsd.net> Mime-Version: 1.0 (1.0) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Message-Id: <9479EAE2-E2E8-4528-A13B-ADD256B86212@yahoo.com> X-Mailer: iPhone Mail (9B206) From: Jad Cooper Subject: Re: Raspberry Pi image and pkg_add, pkg etc Date: Wed, 6 Mar 2013 15:09:44 -0500 To: Baptiste Daroussin Cc: "george@ceetonetechnology.com" , Aleksandr Rybalko , "freebsd-arm@freebsd.org" , Ian Lepore 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: Wed, 06 Mar 2013 20:16:20 -0000 Excellent - thanks for your responses -=20 how then should one proceed after downloading and installing the RPI=20 Image - freebsd-pi-r245446.img.gz? This is sort of my original point, how do I get involved in creating the rep= o/building packaged for FreeBSD10-Current and/or tweaking the image- the goa= l being that a hobbyist or high school student can download the image, copy t= o the disk, boot and start downloading packages? Perhaps I'm behind in versions ? Did I download a very early version of the b= uild for RPI ? I'm just looking for direction or to join an effort to make i= t more streamlined right from the outset. Cheers, J On Mar 6, 2013, at 1:05 PM, Baptiste Daroussin wrote: > On Wed, Mar 06, 2013 at 12:40:34PM -0500, Jad Cooper wrote: >>=20 >> On Mar 6, 2013, at 11:31 AM, Baptiste Daroussin wrote:= >>=20 >>> On Wed, Mar 06, 2013 at 10:56:47AM -0500, Jad Cooper wrote: >>>> Hi all thanks for taking the time to reply. >>>>=20 >>>> Indeed the packages are all available for ARM. >>>=20 >>> Not on the FreeBSD side, we do not provide any packages for arm, may tha= t be >>> pkgng or the old pkg_install, where did you find any packages? >> I found the .txz files >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/arm/packages=20 >> The file I use with pkgng is the repo.txz file in that directory -=20 >=20 > Oh I forgot about those one, but they are very old and build on a 9.x box.= >>>=20 >>>> When I delved into installing packages initially there were issues. >>>> These are specific to the rpi image. >>>>=20 >>>> 1. The pkg_add works but wants to download packages from an armv6 dir t= hat's not in the public repo. >>>> 2. Since pkgng is the new manager , trying to get it bootstrapped fails= , so a manual build is necessary - downloading the txz and extracting it le= aves it missing several libraries. >>> To manually build pkgng the best is to use the ports tree which does eve= rything >>> needed for you. >>>=20 >>> How does it leaves missing libraries and what libraries, I do myself usr= pkgng >>> on a pandoboard with no problem you mean you have done the whole thing b= y hand >>> (picking the sources and building?). >>>=20 >>=20 >> Yes I downloaded the source from github and built it using make etc >=20 > Meaning you are now running on the master code which can easily be broken > (branch release-1.0 for stable things) >>=20 >>=20 >>>> 3. Once pkgng is setup and working the location of the repo has to be s= et manually using the setenv packagesite >>> It can also be specified via pkg.conf but this is only useful if you hav= e any >>> repository available somewhere to make binary only installation >>>=20 >>=20 >> I have the repo as above - the problem is that the pkg.conf file isn't in= the image... >=20 > Nope because 1.0b16 is really old and buggy for pkgng >>=20 >>=20 >>>> 4. using pkgng I have to force install the packages. >>>=20 >>> I don't get this one? can you give more details? >>=20 >> When I do "pkg install curl" for example=20 >>=20 >> It resolves the package but when it tries to install it complains that th= e version is not correct, saying that the version is incorrect built for 9 b= ut not 10the exact output I don't have - but=20 >>=20 >> "pkg install -f curl" works it just forces it to install - and curl then w= orks=20 >=20 > Sure you are trying to install package build on a FreeBSD 9 into a FreeBSD= 10. > curl works just because you got some compatibility bit able to use FreeBSD= 9 > binaries but if one of the base library ABI has changed since 9 it would h= ave > been broken >=20 >>=20 >>>>=20 >>>> Most of us are technical but to a hobbyist this is a bit complex, these= are the tools, files/condos I'd like to repair so that the image is immedia= tely useful for RPI.=20 >>>>=20 >>>> It's a great image already but I want to make it as simple as possible f= or students to get started with it.=20 >>>>=20 >>>> Do I need to download the image source as tweak the c and header files?= ? >>>=20 >>> Use the ports tree until we are able to create an arm build cluster, or u= se some >>> of the third party package repositories available out there (sorry I hav= e no >>> link for arm, just know that it does exists :) >>>=20 >> Isn't that FTP directory the ARM repo?? >=20 > Somehow :), but I do not recommand to use it :) >=20 >>=20 >> Maybe I'm missing some very fundamental FreeBSD insight but the FTP folde= rs above contain the compressed binary packages for almost everything - even= without pkgng or pkg_add I could install most using=20 >> tar - zxvPf package.txz , granted I had a lot of missing dependencies but= yeah the ARM bins are all there I thought... >=20 > Yes the pkgng format has been made that way, so if pkgng itself break a si= mple > tar xvpf can save you :) >=20 > regards, > Bapt >=20