Towards an ARM system-building script

John-Mark Gurney jmg at funkthat.com
Tue Sep 25 23:13:00 UTC 2012


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."


More information about the freebsd-arm mailing list