Date : Sat, 27 Nov 2010 16:35:52
From : ats@... (Adam Sampson)
Subject: [BeebSoc] Killing Linux - but how?
Rick Murray <heyrick.beebsoc@...> writes:
> On an ARM based embedded machine running a version of Debian, I want
> to load a 4Mb file into a contiguous lump of memory, shut down the
> currently-running Linux, and start executing this new code.
When working on a smallish IA32 operating system a few years ago, I
experimented with launching it from a Linux kernel module:
http://projects.cs.kent.ac.uk/projects/rmox/trac/browser/rmox/trunk/linux26?rev=2271
This appears to work quite well, provided your OS's initialisation
routines do an adequate job of clobbering everything Linux had set
up. I'd imagine the same trick would work on ARM...
--
Adam Sampson <ats@... > <http://offog.org/>