Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Aug 2022 11:00:22 -0700
From:      Doug Hardie <bc979@lafn.org>
To:        =?utf-8?Q?Andreas_Kusalananda_K=C3=A4h=C3=A4ri?= <andreas.kahari@abc.se>
Cc:        Doug Hardie <bc979@lafn.org>, Alejandro Imass <aimass@yabarana.com>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: How fast can I get FBSD to boot?
Message-ID:  <B3B029E0-CAD7-40DE-8AB4-905C8979A888@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

-- Doug

> On 16 August 2022, at 10:57, Andreas Kusalananda K=C3=A4h=C3=A4ri =
<andreas.kahari@abc.se> wrote:
>=20
> 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.
>=20
> --=20
> Andreas (Kusalananda) K=C3=A4h=C3=A4ri
> SciLifeLab, NBIS, ICM
> Uppsala University, Sweden
>=20
> .




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B3B029E0-CAD7-40DE-8AB4-905C8979A888>