Search This Blog

Showing posts with label BareMetal. Show all posts
Showing posts with label BareMetal. Show all posts

Tuesday, January 08, 2019

Push-button ON/OFF

In order to start the Peltier-based car freezer and to make sure that it turn off and stays OFF after the car stopped (a big Peltier is a huge battery drain!), I've made this 4-relay based circuit. No or "as little as possible" electronics in the car is the best approach - only the aerospace is harder for electronics than automotive - the best solution might involve some relays and, maybe, a couple of diodes, but stay away from amateurish electronics in the car! This is the diagram I draw on the back of a napkin (as usual) :)


Tuesday, November 01, 2016

DR/Migrate Sco SysV

1)      Reinstall SCO Base system
2)      Copy /etc/conf to a backup directory (ie: copy –ormv /etc/conf /usr/rcvr/conf)
3)      Remove all contents of /etc/conf (cd /etc/conf && rm –r /etc/conf/*)
4)      Change file creation mask on root filesystem (cd / && umask 0)
5)      Restore tape excluding /dev & /stand (cpio –icvdmufB< /dev/rStp0 “dev/*” “stand/*” )
6)      Copy ttytype & inittab to backup directory (ex: cp /etc/inittab /usr/rcvr/ )
7)      Use SCOadmin to relink the kernel
8)      If asked to rebuild environment answer (y)YES
9)      Put back inittab & ttytype form the backup (ex: cp /usr/rcvr/inittab  /etc/inittab)
     10)     Reboot & have a Beer