Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 15:47:26 -0700
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Tim Kientzle <tim@kientzle.com>
Cc:        arm@freebsd.org
Subject:   Re: Towards an ARM system-building script
Message-ID:  <20120925224726.GK19036@funkthat.com>
In-Reply-To: <5679C679-A434-4714-BE61-4DC093DA7F34@kientzle.com>
References:  <DD05E72B9F474BFE96B6A4B050D2A18A@gmail.com> <0DCAC001-FF06-431A-A486-2B50BE913B0D@bsdimp.com> <FAA208C1-2872-4BB6-A7EC-04C757533CA4@kientzle.com> <7E18623F-3945-4EA0-B332-5A5C717B20F0@kientzle.com> <9896AA3E-D8A0-4CE8-8160-4672AA07388F@cheney.net> <6B74ADD7-3266-4919-BEB4-B10E0C1BAB58@kientzle.com> <5679C679-A434-4714-BE61-4DC093DA7F34@kientzle.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Tim Kientzle wrote this message on Sun, Sep 23, 2012 at 11:55 -0700:
> On Sep 4, 2012, at 9:52 PM, Tim Kientzle wrote:
> > On Sep 4, 2012, at 9:33 PM, Dave Cheney wrote:
> > 
> >> Sorry to butt in on this discussion, but how feasible would it be to adapt this build script to the pandaboard. I understand there may be a config in svn similar to the beaglebone which may be applicable. 
> > 
> > I've started tinkering with ideas for generalizing my
> > BeagleBone script so it can build system images for
> > other boards.
> 
> I've made significant progress and would
> appreciate any feedback:
> 
>    github.com/kientzle/freebsd-beaglebone
> 
> This has been massively refactored so it can
> build system images for a variety of
> ARM-based boards.  Right now:

Your config.sh.sample is incorrect, patch:
diff --git a/config.sh.sample b/config.sh.sample
index a912885..de06a6e 100644
--- a/config.sh.sample
+++ b/config.sh.sample
@@ -3,7 +3,7 @@
 #
 
 # Set up the default configuration for your board
-board_config BeagleBone
+board_setup BeagleBone
 
 #
 # Read board/<board-name>/README for more details

Otherwise board_config is not found...

Also, you moved KERNCONF into board/*/setup.sh, but it isn't clear
that you can/should override it from config.sh...  It looks like you
can, as you get the correct kernel, but then the image name is incorrect
and has BEAGLEBONE in it...

I need to use a custom kernel config since BEAGLEBONE doesn't have a
log of useful featuers in it, i.e. SCTP, pass, vlan, pf, etc... and
most of the modules aren't built either...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120925224726.GK19036>