]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
There's no way a fbsd install + kernel will fit into 4MB of flash.
authorsbruno <sbruno@FreeBSD.org>
Sat, 10 Oct 2015 19:08:34 +0000 (19:08 +0000)
committersbruno <sbruno@FreeBSD.org>
Sat, 10 Oct 2015 19:08:34 +0000 (19:08 +0000)
Assume and enforce the fact that this will always boot a rootfs from
usb.

sys/mips/conf/TP-MR3020

index f0ecb4be017a817518ba0551370ced9c6320f7df..a19f41bcb0708b8273763742943a589a194777ca 100644 (file)
@@ -50,16 +50,6 @@ device       geom_uncompress
 # Used for the static uboot partition map
 device geom_map
 
-# Boot off of the rootfs, as defined in the geom_map setup.
-# Probably, this should be a USB device as the memory available
-# compressed rootfs is simply too small for FreeBSD
-#options       ROOTDEVNAME=\"ufs:map/rootfs.uncompress\"
-
-# Boot off of a uboot tftp ramdisk kernel image.  Because the flash
-# on this unit is so small, this is the only way to do dev work.
-# For full deployment, you will *have* to use a usb storage device
-# as a rootfs and use the flash to hold the kernel only.
-options                MD_ROOT         # md device usable as a potential root device
-options                MD_ROOT_SIZE=10240
-#makeoptions   MFS_IMAGE=/tftpboot/mfsroot-tl-mr3020.img.ulzma
-options                ROOTDEVNAME=\"ufs:md0.uncompress\"
+# With only 4MB of flash, we are stuck using USB
+# for the rootfs.
+options                ROOTDEVNAME=\"ufs:da0\"