Changes between Version 6 and Version 7 of FreeBSDOnEmbeddedDevice
- Timestamp:
- Feb 2, 2012, 10:32:38 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FreeBSDOnEmbeddedDevice
v6 v7 20 20 = Disk population = 21 21 22 build# setenv RELEASE 8.2-RELEASE22 build# setenv RELEASE 9.0-RELEASE 23 23 build# mkdir -p /usr/data/$RELEASE 24 24 build# cd /usr/data/$RELEASE 25 25 26 build# mkdir kernels base manpages 27 build# (cd base; echo 'mget *' | ftp -i ftp://ftp.nl.freebsd.org/pub/FreeBSD/releases/i386/$RELEASE/base/) 28 build# (cd kernels; echo 'mget *' | ftp -i ftp://ftp.nl.freebsd.org/pub/FreeBSD/releases/i386/$RELEASE/kernels/) 29 build# (cd manpages; echo 'mget *' | ftp -i ftp://ftp.nl.freebsd.org/pub/FreeBSD/releases/i386/$RELEASE/manpages/) 26 build# fetch ftp://ftp.nl.freebsd.org/pub/FreeBSD/releases/i386/$RELEASE/base.txz 27 build# fetch ftp://ftp.nl.freebsd.org/pub/FreeBSD/releases/i386/$RELEASE/kernel.txz 28 build# fetch ftp://ftp.nl.freebsd.org/pub/FreeBSD/releases/i386/$RELEASE/docs.txz 30 29 31 30 More sophisticated approach (rsync not in base): 32 build# rsync -vaz ftp.nl.freebsd.org::FreeBSD/releases/i386/$RELEASE/kernels . 33 31 build# rsync -vaz ftp.nl.freebsd.org::FreeBSD/releases/i386/$RELEASE/ . 34 32 35 33 build# setenv DESTDIR /mnt 36 34 37 build# (cd base; cat base.?? | tar --unlink -xpzf - -C $DESTDIR)38 build# (cd kernels; sh install.sh generic)39 build# (cd manpages; sh install.sh)35 build# xzcat base.txz | tar --unlink -xpzf - -C $DESTDIR 36 build# xzcat kernel.txz | tar --unlink -xpzf - -C $DESTDIR 37 build# xzcat docs.txz | tar --unlink -xpzf - -C $DESTDIR 40 38 41 39 Tip: Soekris 2521 requires CPU_ELAN which is not included into the kernel by default. For optimal performance compile the kernel yourself 42 43 Activate right kernel:44 build# rm -r /mnt/boot/kernel/ ; mv /mnt/boot/GENERIC/ /mnt/boot/kernel45 46 40 = Disk configuration = 47 41