Date: Tue, 16 Aug 2022 19:57:14 +0200 From: Andreas Kusalananda =?utf-8?B?S8OkaMOkcmk=?= <andreas.kahari@abc.se> To: Doug Hardie <bc979@lafn.org> Cc: Alejandro Imass <aimass@yabarana.com>, FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: How fast can I get FBSD to boot? Message-ID: <YvvaemtTdrCamss7@harpo.local> In-Reply-To: <DF360E09-BF4B-4B09-B522-05C3C42440AD@sermon-archive.info> References: <CAHieY7RtGo6j=2bcXT1Xu7iEuz64X0_H%2BL8o=LxH3vz6B2Q4Ww@mail.gmail.com> <DF360E09-BF4B-4B09-B522-05C3C42440AD@sermon-archive.info>
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: > > > > Hi there ! > > > > I’ve developed a nice framework for embedded touch screen app development based on Perl Tk. > > > > 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). > > > > 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 ? > > 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. > > 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. > > That would take some serious modifications to FreeBSD to implement that, but I don't think you would find anything faster. > > -- Doug > > That almost sounds like suspending to disk ("hibernation") on halt/poweroff and then resuming instead of booting. -- Andreas (Kusalananda) Kähäri SciLifeLab, NBIS, ICM Uppsala University, Sweden .
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YvvaemtTdrCamss7>