Date: Tue, 16 Aug 2022 11:01:42 -0700 From: Doug Hardie <bc979@lafn.org> To: =?utf-8?Q?Andreas_Kusalananda_K=C3=A4h=C3=A4ri?= <andreas.kahari@abc.se> Cc: Alejandro Imass <aimass@yabarana.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How fast can I get FBSD to boot? Message-ID: <CBCC3F18-47A2-4AAF-8B82-EC28CD5F49D6@sermon-archive.info> In-Reply-To: <YvvaemtTdrCamss7@harpo.local> References: <CAHieY7RtGo6j=2bcXT1Xu7iEuz64X0_H%2BL8o=LxH3vz6B2Q4Ww@mail.gmail.com> <DF360E09-BF4B-4B09-B522-05C3C42440AD@sermon-archive.info> <YvvaemtTdrCamss7@harpo.local>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Tue, Aug 16, 2022 at 10:47:12AM -0700, Doug Hardie wrote: >>> On 16 August 2022, at 08:05, Alejandro Imass <aimass@yabarana.com> = wrote: >>>=20 >>> Hi there ! >>>=20 >>> I=E2=80=99ve developed a nice framework for embedded touch screen = app development based on Perl Tk.=20 >>>=20 >>> I would like to create a single purpose OS that you can boot on a = Raspberry Pi or similar device and debating between sticking with Linux = or using FBSD (I would prefer FBSD). It needs to boot in just a few = seconds and only load X and then run a dedicated Perl app (no desktop = env or anything else). >>>=20 >>> Is there a group or list for embedded FBSD ? Can anyone provide some = pointers on how to make FBSD boot as fast or faster than some of the = embedded Linux out there ? >>=20 >> RSX-11D solved that problem by having a console command that wrote = all of memory to a specific disk file. You got the system setup the way = you wanted and then entered that command. You could add additional = commands to start your application to that command. >>=20 >> On boot, I believe the hardware was initialized first, and them = memory was completely overlaid from the file and then the CLI executed = any additional commands. It was faster than greased lightening. On the = PDP-11/45 it was way less than one second. >>=20 >> That would take some serious modifications to FreeBSD to implement = that, but I don't think you would find anything faster. >>=20 >> -- Doug >>=20 >>=20 >=20 > That almost sounds like suspending to disk ("hibernation") on > halt/poweroff and then resuming instead of booting. They are probably very similar concepts. I don't see much difference. -- Doug=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CBCC3F18-47A2-4AAF-8B82-EC28CD5F49D6>