How far can we reduce the FreeBSD kernel, to the point of only using busybox, the boot system to start the system, to make it very small? (Sorry for possible spelling mistakes, I'm from Brazil and I have a huge appreciation for FreeBSD)
Maybe have a look at mfsBSD. It may give you what you are looking for...How far can we reduce the FreeBSD kernel, to the point of only using busybox, the boot system to start the system, to make it very small? (Sorry for possible spelling mistakes, I'm from Brazil and I have a huge appreciation for FreeBSD)
yes, an embedded system! I'm inspired by the "Floppinux" build and wanted a FreeBSD based version. Would it be possible to do something similar?Disclaimer: I am not knowledgeable on embedded development.
You need to explain what you're trying to accomplish. Are you trying to run FreeBSD on a very small system (for example an i386 with 4 MiB of memory, which used to be possible 30 years ago)? Are you trying to build an embedded system (for example to operate a dishwasher)? What functionality do you need: networking stack, graphics driver, storage, file systems, ... ?
mfsBSD is FreeBSD based, whereas mfslinux is based on OpenWrt.Yes, I believe that the concept of what I mentioned "Floppinux" would be "mfslinux" and "mfsBSD" would follow this same logic?
in general, you should start with kernelconfig. Depending on your needs and without going too deep into hacking, you can get a 2MB working kernel.How far can we reduce the FreeBSD kernel, to the point of only using busybox, the boot system to start the system, to make it very small? (Sorry for possible spelling mistakes, I'm from Brazil and I have a huge appreciation for FreeBSD)
freebsd/sbin/reboot
freebsd/sbin/init
freebsd/sbin/halt
freebsd/sbin/sysctl
freebsd/boot.config
freebsd/libexec/ld-elf.so.1
freebsd/lib/libc.so.7
freebsd/lib/libncursesw.so.9
freebsd/lib/libedit.so.8
freebsd/etc/rc
freebsd/bin/sh
freebsd/boot/loader.conf
freebsd/boot/kernel/zfs.ko
freebsd/boot/kernel/acl_nfs4.ko
freebsd/boot/kernel/cryptodev.ko
freebsd/boot/kernel/kernel
freebsd/boot/kernel/geom_eli.ko
freebsd/boot/device.hints
I would love to see FreeBSD running on Ox64. After all it is $6 ($8 with more on board flash) device. There are some problems, I think - it's RiscV, according to some mailing list debate it uses C906 core, which requires some 'errata' handling because some specs violations (I have no details).