15
www.buenoptic.net
4.5
Adjust the System Time
The user can do the follwing:
Date MMDDhhmmYYYY MM=month(01-12) DD=day(01-31)
Hh=hour
Mm=minute
YYYY=year
Hwclock -w
Write the command to RTC
4.6
Install Cross Compilation Tool Chain
Find a Linux OS PC and OS can be Debian,Fedora,ubuntu and so on. Use root
as user to log in
,
copy the gcc-4.1.78-eglibc-2.5.78-1.tar.gz into the machine
And use tar
xvf
gcc-4.1.78-eglibc-2.5.78-1.tar.gz
to unzip it ,
find the folder
of gcc by”find -name powerpc-e300c3-linux-gnu-gcc ”and add the folder toPATH
,
Normally revise
/etc/profile of PATH,then restart the computer,and verify if PATH
is effective by powerpc-e300c3-linux-gnu-gcc -v.If the gcc indicates success,you
can start to develop the software.