Hello
http://afterthoughtsoftware.com/products/rasclock
RasClock looked like a quick way to add a real time clock to the raspberry pi so I picked one up. It doesn't look like it's natively supported by 3.6.11-12-ARCH+ and I haven't been able to find a package in the repositories for it. I've seen a couple of sites with instructions for compiling the module on raspbian but none on arch. Can someone take a look at this and make the necessary corrections? Even a general step-by-step on compiling a RTC module on arch would be helpful.
(this was for raspbian)
$this->bbcode_second_pass_code('', 'sudo apt-get update
sudo apt-get –y dist-upgrade
sudo apt-get -y install build-essential gcc make cmake i2c-tools
mkdir devel
cd devel
wget https://github.com/raspberrypi/linux/archive/rpi-3.6.y.tar.gz
wget https://github.com/afterthoughtsoftware/linux/commit/fd5ff2d88f470ed70ff58393eee61110b181816a.patch
tar xzf rpi-3.6.y.tar.gz
cd linux-rpi-3.6.y/
SUW=`pwd`
patch -p1 < ../fd5ff2d88f470ed70ff58393eee61110b181816a.patch
zcat /proc/config.gz > .config
echo m | make oldconfig
wget https://github.com/raspberrypi/firmware/raw/master/extra/Module.symvers
make modules_prepare
cd drivers/rtc
make -C $SUW M=`pwd`
sudo cp rtc-pcf2127a.ko /lib/modules/3.6.11+/kernel/drivers/rtc/
sudo depmod')