VAR-SOM-AM33 Linux Unit Testing
From Variscite Wiki
Unit Testing
CPU info
root@am335x-evm:~# cat /proc/cpuinfo Processor : ARMv7 Processor rev 2 (v7l) BogoMIPS : 598.35 Features : swp half thumb fastmult vfp edsp thumbee neon vfpv3 tls CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x3 CPU part : 0xc08 CPU revision : 2 Hardware : VAR-SOM-AM33 Revision : 0000 Serial : 0000000000000000 root@am335x-evm:~# cat /proc/version Linux version 3.2.0-AM335XPSP_04.06.00.11.VAR_R13 (uri@pluto) (gcc version 4.7.3 20130226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC 2013.03) ) #1 T ue Oct 15 10:06:14 IST 2013
RTC
To set the RTC first set the date from Linux shell, type:
$ date 2013.08.27-15:43
Then set the real time clock from Linux shell, type:
$ hwclock --systohc
Power down your board wait 5 minutes and power up. Check your system with date and the time should be up to date.