Why couldnt BSD run on phones/certain embedded systems in the past? reddit / BSD ---------------------------------------------------------------------- iamyounow · 2014-05-08 19:26 I recall some products that used an embedded systems in the past, and people were putting Linux on them and doing nifty stuff. I asked online why couldnt BSD run on these platforms and someone said its due to BSD not being able to run on boards that didnt have an "MMU". 1. Does this sound right? ^ If so, was it just a matter of nobody having the time to support it or was it some other reason? 2. Does BSD now support boards without MMU, where it can run on smartphones for example? The last Sidekick did run NetBSD from my understanding. 3. Why wasnt there a drive for making BSD version of what Android is? ---------------------------------------------------------------------- aport · 2014-05-08 19:46 > Does this sound right? No. Linux, aside from uCLinux, requires an MMU. Android requires an MMU. > Does BSD now support boards without MMU No. > where it can run on smartphones for example? Every smartphone available today has an MMU. > Why wasnt there a drive for making BSD version of what Android is? Because the community is small, and the commercial funders of BSD projects don't care about the mobile market. ---------------------------------------------------------------------- UnaClocker · 2014-05-08 21:12 I think iOS is more BSD than Android is Linux. They only have the kernel. We have the whole userland. You can SSH into an essentially stock iOS and feel right at home. There's nothing to SSH into on Android. ---------------------------------------------------------------------- _______2 · 2014-05-08 21:26 I don't think you've used android, then. Adb shell, terminal emulators, root, and chroots don't compose a userland? ---------------------------------------------------------------------- liveoneggs · 2014-05-08 21:29 Yes, MMU thing is a portability limitation. uclibc could be ported but it doesn't offer certain safety guarantees or something. A soft mmu is, apparently, too slow to really work. sidekick was NetBSD; bionic (android libc) is NetBSD; iPhone obviously uses a bunch of BSD components. because google chose linux for the kernel. :) ---------------------------------------------------------------------- fwaggle · 2014-05-08 22:23 I've never sshed into an iOS device but I'm under the impression a full BSD userland lives there. Android by comparison uses things like busybox to give you a functioning shell. There's a lot of shit I find missing when I'm forced to navigate android via terminal. ---------------------------------------------------------------------- aport · 2014-05-08 23:27 > There's nothing to SSH into on Android. You don't know what you're talking about. I can get shell access on my Android phone and use standard userspace utils like cat, echo, sed, grep... ---------------------------------------------------------------------- UnaClocker · 2014-05-08 23:49 terminal EMULATOR being the keyword here. ADB shell exists on the host machine. ---------------------------------------------------------------------- liveoneggs · 2014-05-09 00:03 they've all been terminal EMULATORs for a few years now. :) ---------------------------------------------------------------------- mrsim0ns · 2014-05-09 01:28 If you're ssh'ing into your iOS device, you're probably jailbroken. Can't vouch for other jailbreaking methods, but [GNU Coreutils](http://modmyi.com/cydia/coreutils) is what is installed with Cydia. OSX does use BSD utils though :) ---------------------------------------------------------------------- myfreeweb · 2014-05-09 09:34 yeah… that's busybox ---------------------------------------------------------------------- myfreeweb · 2014-05-09 09:35 bionic is mostly **Open**BSD ---------------------------------------------------------------------- liveoneggs · 2014-05-09 11:40 Obviously the BSD's take from eachother a lot (and should do more!) so it's kind of moot. find ./ -name "*.c"|grep -v upstream-|xargs grep FreeBSD|wc -l 14 find ./ -name "*.c"|grep -v upstream-|xargs grep OpenBSD|wc -l 10 find ./ -name "*.c"|grep -v upstream-|xargs grep NetBSD|wc -l 55 [google dev on netbsd mailing list](https://mail- index.netbsd.org/tech-userlevel/2012/08/10/msg006604.html) ---------------------------------------------------------------------- phessler · 2014-05-12 17:06 do you have a real terminal at home? (hint: you don't)