From owner-freebsd-arm@FreeBSD.ORG Wed Mar 6 17:40:38 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 C11BF555 for ; Wed, 6 Mar 2013 17:40:38 +0000 (UTC) (envelope-from jadcooper@yahoo.com) Received: from nm15-vm0.bullet.mail.bf1.yahoo.com (nm15-vm0.bullet.mail.bf1.yahoo.com [98.139.212.254]) by mx1.freebsd.org (Postfix) with SMTP id 6DF6CA4B for ; Wed, 6 Mar 2013 17:40:38 +0000 (UTC) Received: from [98.139.212.146] by nm15.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2013 17:40:37 -0000 Received: from [98.139.173.184] by tm3.bullet.mail.bf1.yahoo.com with NNFMP; 06 Mar 2013 17:40:37 -0000 Received: from [127.0.0.1] by smtp111-mob.biz.mail.bf1.yahoo.com with NNFMP; 06 Mar 2013 17:40:37 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1362591637; bh=Cr8/7S4zV7YqBxl5QBZNkwfyoq/WP4t8sDk4DGxGJq4=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:References:In-Reply-To:Mime-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Cc:X-Mailer:From:Subject:Date:To; b=fccbbJjNX/oZXrPu5hF1TfhawbYevLibdS2HeMD5csHCQeqHbkT8J8/t6VMZqDEvDBTW+qOeekB/y72v2ob0vAuPFOEM8kf55cqVDCoWFMUI72Bguj2tenNFen/0d6iv10n521KJXxMnC4X/gN521bjn1rye1MoJ+C8mD5wOocc= X-Yahoo-Newman-Id: 72860.5962.bm@smtp111-mob.biz.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: FvVb6x8VM1mj0n8sxTIIIq2_oOTz9Iymq3a_Va4dx7WrMAl 1XFsSDdf34kHEElXsOMmDMdfMOwJqD_A3_5hIbqiVMnUoeycUSYieAhSfIgc twTGCReuwZS7LtS3ss9.EbA7BQGUxBpRby26FeqpyAsmxa1PXsU_bOqZKHkZ ODZoTtzIv0YfZJodcJqYSi6IDuTHoDU_iMVcS9fI.IcvmorIY9INKRzAuHRD F9e_kz4MAMLxBLIXYWV_uBB4oqvLO4fUhlGHrlpIK1a43Ua6XrXpPS5bE0jM 5vlfTHbOeme7lt4om8euZZzYD7e3sjW9PyFZ7loRYkb1j4CpHcpjtVrf9fMx 1KDzZiRBBedEztjpt8W.MH2W3Zo61H7RsypT8IPAJ1LIgu4N.cHQ_If3DDTG aUliAaoQoDQJm6MYfNOn0_bboXGNQ9p0So4KKFLfl9rOrZg47pFSLiLrdKhO abds5.REoABM- X-Yahoo-SMTP: 1NwK1FqswBBIXmrGMynm9AQsKvKa_A-- Received: from [192.168.1.103] (jadcooper@68.161.233.84 with xymcookie) by smtp111-mob.biz.mail.bf1.yahoo.com with SMTP; 06 Mar 2013 09:40:36 -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> In-Reply-To: <20130306163135.GA45920@ithaqua.etoilebsd.net> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Message-Id: X-Mailer: iPhone Mail (9B206) From: Jad Cooper Subject: Re: Raspberry Pi image and pkg_add, pkg etc Date: Wed, 6 Mar 2013 12:40:34 -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 17:40:38 -0000 On Mar 6, 2013, at 11:31 AM, Baptiste Daroussin wrote: > 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 that b= e > 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 >> 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 tha= t's not in the public repo. >> 2. Since pkgng is the new manager , trying to get it bootstrapped fails, s= o a manual build is necessary - downloading the txz and extracting it leave= s it missing several libraries. > To manually build pkgng the best is to use the ports tree which does every= thing > needed for you. >=20 > How does it leaves missing libraries and what libraries, I do myself usr p= kgng > on a pandoboard with no problem you mean you have done the whole thing by h= and > (picking the sources and building?). >=20 Yes I downloaded the source from github and built it using make etc >> 3. Once pkgng is setup and working the location of the repo has to be set= manually using the setenv packagesite > It can also be specified via pkg.conf but this is only useful if you have a= ny > repository available somewhere to make binary only installation >=20 I have the repo as above - the problem is that the pkg.conf file isn't in th= e image... >> 4. using pkgng I have to force install the packages. >=20 > I don't get this one? can you give more details? When I do "pkg install curl" for example=20 It resolves the package but when it tries to install it complains that the v= ersion is not correct, saying that the version is incorrect built for 9 but n= ot 10the exact output I don't have - but=20 "pkg install -f curl" works it just forces it to install - and curl then wor= ks=20 >>=20 >> Most of us are technical but to a hobbyist this is a bit complex, these a= re the tools, files/condos I'd like to repair so that the image is immediate= ly useful for RPI.=20 >>=20 >> It's a great image already but I want to make it as simple as possible fo= r 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 us= e some > of the third party package repositories available out there (sorry I have n= o > link for arm, just know that it does exists :) >=20 Isn't that FTP directory the ARM repo?? Maybe I'm missing some very fundamental FreeBSD insight but the FTP folders a= bove contain the compressed binary packages for almost everything - even wit= hout pkgng or pkg_add I could install most using=20 tar - zxvPf package.txz , granted I had a lot of missing dependencies but ye= ah the ARM bins are all there I thought...