Results 1 to 10 of 10
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 03-23-2012 #1
What exactly are the bare minimums you need for a computer to boot?
Like lets say. I want to make a small computer that just runs a constant security check. Lets say for a security system I installed for my house. I dont need to keep log files or anything just need to run a constant check (or only when the security pad is accessed).
Just interested on what you need not what you should have without a POST error.
- 03-23-2012 #2
For that sort of system you would be better off using something like a microcontroller example PIC - which you could get with built in program and temporary storage memory.
Ed: it's about 14 years since I setup and used a PIC processor ... I used PIC as an example of a microcontroller - which I think is better suited to the sort of application you mentioned than a general purpose computer with separate processor/RAM etc. It is also likely to be more robust than a system with separate RAM etc.
Something opensource based is the way to go if you can
POST is optional - the code which is executed from the processor start address is up to you - but in order to cut out POST you need to write to that area of memory (which is more involved, possible, but can also result in a system which does nothing )
Last edited by Jonathan183; 03-24-2012 at 01:42 PM.
- 03-24-2012 #3
- Join Date
- Oct 2007
or a raspberry pi
- 03-24-2012 #4
- Join Date
- Jun 2004
- North Hollywood, CA
Speaking of the Raspberry Pi, it will run a version of Ubuntu, as I remember. You can download the image for it and see what a really tiny computer needs to boot. That should answer your questions.
Other than a kernel, you have to deal with each and every hardware device on a system. That includes the motherboard bridges, drives, and I/O. That's what make designing an embedded system a little tough.
- 03-24-2012 #5
- Join Date
- Nov 2008
- Tokyo, Japan
Use the Arduino!!!
A single function computer that sits around waiting for a signal simply needs to have a few instructions written in assembler and installed into the machine's firmware. Copy the instructions to memory address 0x0000 (or wherever the CPU is hard-wired to look first when it is powered on). As soon as power is applied and the clock is running, the CPU will read the first instruction at this address and execute it, and that first instruction is usually an instruction to load a cascade of other instructions, all of which the computer will execute one by one.
On larger systems, this first set of instructions is usually a power-on self-test (POST) program that just checks for hardware attached to the motherboard. Then the POST program reads a boot-loader program from a hard-wired location. When the boot loader program runs, it locates the operating system kernel program from a disk or memory device, and then executes that kernel program.
But that entire process is not necessary, that is just the standard process used in the industry to make servicing and setup easier. If you want, you could replace the POST with your own security alarm program.
Check out the Arduino, it is a simple microcontroller that is 100% open source. The software to program it is all available in Linux. You can write the assmbler and compile it to a binary program, then copy the binary to the device via USB. Just connect it to your computer via USB, and it acts like a standard teletype terminal, which you can access via the file "/dev/ttyUSB0".
The Arduino is well documented, easy to learn, and has thriving online community of helpful fellows to assist you if you get stuck with something.
- 03-24-2012 #6
Alright Cool ideas. When I get my stuff in the mail. I'll do some Frankensteining and see what I can come up with.
- 03-24-2012 #7
- 03-24-2012 #8
Most likely not elija I'm getting 5 broken laptops. And supposedly another box full of random parts (i.e. resistors, Circut boards, capacitors, speakers, etc.).
I might only accomplish electrocution or a fire.
- 03-24-2012 #9
Sometimes, real fast is almost as good as real time.
- Join Date
- Apr 2009
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
Just remember, Semper Gumbi - always be flexible!
- 03-24-2012 #10