Re: cross compiling freebsd for target intel platform other than pentium

From: Freddie Cash (fcash-ml_at_sd73.bc.ca)
Date: 01/08/04

  • Next message: Kevin Oberman: "Re: ntpd + netclock/2 8182"
    To: jonathan michaels <jon@caamora.com.au>
    Date: Thu, 8 Jan 2004 13:28:00 -0800
    
    

    On January 8, 2004 01:14 pm, jonathan michaels wrote:
    > i'm not sure if this is the best place to discuss this topic as i
    > would like some information about taking a -stable or most likely a
    > -release edition off of teh cd and installing it on teh host and then
    > to bump it up to -security edition while 'cross compiling' the whole
    > box and dice for the two production hosts (both of which are intel,
    > supermicro sourced motherboards off almost extreme vintage with 16 mb
    > dram and a couple of scsi hard drives hung off of an adaptec
    > aha-1542b. both of these machines have been running reliably for some
    > 12 to 15 years and as routers they do a superb job and i see no
    > currently viable reason to throw them out.

    On the build box, edit /etc/make.conf and set CPUTYPE to the CPU type of
    the old boxes. For instance, set this to 486 if the old boxes are
    486s, and so on. You may need to copy the default file
    from /etc/defaults/make.conf to /etc/make.conf. There are very nice
    comments in this file about the supported CPUTYPES.

    Run the buildworld and buildkernel stages as per normal.

    Next configure the build box as an NFS server and share out /usr/src
    and /usr/obj.

    On the ancient boxes, use NFS to mount /usr/src and /usr/obj from the
    build box. Run the installkernel and installworld stages as per
    normal. You will now have an updated FreeBSD system, compiled
    specifically for whatever CPU is in the ancient boxes.

    The comments in /etc/make.conf and /usr/src/README, /usr/src/UPDATING,
    and /usr/src/Makefile explain quite nicely how the buidlworld process
    works and how it uses the variables in /etc/make.conf to control
    everything.

    Hope that helps.

    -- 
    Freddie Cash		District HelpDesk / Network Admin
    				http://www.sd73.bc.ca				
    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
    

  • Next message: Kevin Oberman: "Re: ntpd + netclock/2 8182"

    Relevant Pages

    • Re: possible rooted systems
      ... IPX/SPX traffic (if that is what you mean by a "novell based packet ... Packet sniffing may show you something, but a software audit on those ... For the xp boxes you could ... probably trust installing and running the windows scripting host. ...
      (Security-Basics)
    • Re: firmware patches enhancement proposal
      ... > Lets say you have 50 Windows boxes on which unbundled ... You also have a few Solaris boxes. ... without some tool directly checking for patches on the windows ... Installing 123456-78 on the Solaris box ...
      (comp.unix.solaris)
    • Re: Cat 5 Install Pricing
      ... Surface mount wiremold with boxes. ... about 50 feet by 30 feet and the conduit and boxes are installed for the ... ceiling and of course add connectors to the ends. ... My question is how much should I charge for pulling and installing cat 5 ...
      (sci.electronics.repair)
    • Re: OSR6 screen lockups since oss706c
      ... boxes since i've started installing oss706C to patch DST issues. ... old programs - ones that i did not compile, ...
      (comp.unix.sco.misc)
    • Re: dell server
      ... I've installed Debian Sarge on two Dell Poweredge 4400 servers at work - ... works like a champ on these boxes - there's even a custom SMP kernel ... so no kernel compilation necessary. ... FWIW, I also tried installing Ubuntu Hoary Hedgehog on the same boxes, ...
      (Debian-User)