Amlogic open linux ±àÒë»·¾³°²×° ѧϰ±Ê¼Ç
ÓÉÓÚ¹¤×÷ÐèÒªÏÖÔÚ¿ªÊ¼´Óͷѧϰlinux£¬ÏÂÃæÏȼǼamlogic openlinux°²×°²½Öè¡££¨Ç°ÌáÊÇ°²×°ÁËÐéÄâ»ú£©
Amlogic open linux ±àÒë»·¾³°²×°
Ò»¡¢gcc¹¤¾ßµÄ°²×°
1¡¢´ÓAmlogicÍøÕ¾ÉÏÏÂÔØgcc¹¤¾ß
ÔÚÏÂÃæÏÂÔØIndex of /download/linux/gnutools
gnutools-arc2.2-p4-ubuntu-9.04-2010-2-1.tar.bz2£¨»òÕß×îа汾£©
2¡¢ÔÚlinux²Ù×÷ϵͳÖнâѹËõ¹¤¾ßµ½ÏµÍ³¸ùĿ¼Ï¡££¨½âѹËõºó opt£©
ÃüÁsu ----½øÈ볬¼¶Óû§
cd ±£´æÏÂÔØÎļþµÄĿ¼
tar jxvf gnutools-arc2.2-p4-ubuntu-9.04-2010-2-1.tar.bz2 –C / ----½âѹËõµ½¸ùĿ¼
3¡¢ÉèÖû·¾³±äÁ¿
´´½¨/etc/profile.d/arc_gnutools.shÎļþ£¬ÔÚÎļþÖÐдÈëÏÂÁÐÄÚÈÝ
ÃüÁ
a¡¢gedit /etc/profile.d/arc_gnutools.sh
b¡¢ÔÚµ¯³öµÄÎļþ±à¼Æ÷ÀïдÈë
#!/bin/sh
SET_PATH=$( echo "$PATH" | grep elf32)
if [ "$SET_PATH" = "" ]; then
ARC_PREFIX=/opt/gnutools/arc2.2-p1 ----·¾¶
PATH=$PATH:${ARC_PREFIX}/elf32-4.2.1/bin:${ARC_PREFIX}/uclibc-4.2.1/bin: ---ºÍÉÏÃæµÄ·¾¶´®Áª
fi
¶þ¡¢Boot Loader
1¡¢´ÓAmlogicÍøÕ¾ÉÏÏÂÔØBoot Loader µÄcode
OpenLinux/Boot Loader ÏÂÃæµÄ uboot-public-src-v372_2009_10_12.tar.bz2£¨»òÕß×îа汾£©
2¡¢½âѹËõµ½/amlogic_sourceĿ¼
ÃüÁ cd / ---½øÈë¸ùĿ¼
mkdir amlogic_source -----н¨amlogic_sourceÎļþ¼Ð
cd ÏÂÔØÎļþ±£´æµÄ·¾¶
tar jxvf uboot-public-src-v372_2009_10_12.tar.bz2 –C /amlogic_source ----½âѹËõµ½amlogic_sourceĿ¼
Èý¡¢File Systems
1¡¢´ÓAmlogicÍøÕ¾ÉÏÏÂÔØFile SystemsµÄcode
OpenLinux/File Systems ÏÂÃæµÄ rootfs-p321-d2009-11-12_23.tar.bz2£¨»òÕß×îа汾£©
2¡¢½âѹËõµ½/amlogic_sourceĿ¼
ÃüÁ cd ÏÂÔØÎļþ±£´æµÄ·¾¶
tar jxvf rootfs-p321-d2009-11-12_23.tar.bz2 –C /amlogic_source ----½âѹËõµ½amlogic_sourceĿ¼
ËÄ¡¢Kern
Ïà¹ØÎĵµ£º
LinuxÌṩÁË´óÁ¿µÄÃüÁÀûÓÃËü¿ÉÒÔÓÐЧµØÍê³É´óÁ¿µÄ¹¤×÷£¬Èç´ÅÅ̲Ù×÷¡¢Îļþ´æÈ¡¡¢Ä¿Â¼²Ù×÷¡¢½ø³Ì¹ÜÀí¡¢ÎļþȨÏÞÉ趨µÈ¡£ËùÒÔ£¬ÔÚLinuxϵͳÉϹ¤×÷Àë²»¿ªÊ¹ÓÃϵͳÌṩµÄÃüÁî¡£ÒªÏëÕæÕýÀí½âLinuxϵͳ£¬¾Í±ØÐë´ÓLinuxÃüÁîѧÆð£¬Í¨¹ý»ù´¡µÄÃüÁîѧϰ¿ÉÒÔ½øÒ»²½Àí½âLinuxϵͳ¡£
²»Í¬Linux·¢ÐаæµÄÃüÁîÊýÁ¿²»Ò»Ñù£¬µ«Linux·¢ÐÐ°æ± ......
ʲôÊÇÔËÐ춱ð
ÔËÐм¶¾ÍÊDzÙ×÷ϵͳµ±Ç°ÕýÔÚÔËÐеŦÄܼ¶±ð¡£
Õâ¸ö¼¶±ð´Ó1µ½6 £¬
¾ßÓв»Í¬µÄ¹¦ÄÜ¡£
ÕâЩ¼¶±ðÔÚ/etc/inittabÎļþÀïÖ¸¶¨¡£
Õâ¸öÎļþÊÇinit³ÌÐòÑ°ÕÒµÄÖ÷ÒªÎļþ£¬×îÏÈÔËÐеķþÎñÊÇÄÇЩ·ÅÔÚ/etc/rc.d Ŀ¼ÏµÄÎļþ¡£
²»Í¬µÄÔËÐ춶¨ÒåÈçÏ£º(¿ÉÒԲο¼LinuxÀïÃæµÄ/etc/inittab) ¡¡¡¡
# ȱʡµÄÔËÐм¶£¬RHSÓ ......
±¾ÎĵµÊÇOracle
Database 11.2.0.1 for RHEL5 Server(°üÀ¨x86ºÍx86_64ƽ̨)µÄ¾²Ä¬°²×°Ö¸ÄÏ. ËùÓвÙ×÷ÎÞÐèʹÓÃͼÐνçÃæ. ¾²Ä¬°²×°ÄܼõÉÙ°²×°³ö´íµÄ¿ÉÄÜÐÔ, Ò²ÄÜ´ó´ó¼Ó¿ì°²×°ËÙ¶È.
# ºó¸úÃüÁî±íʾÒÔ²Ù×÷ϵͳÏÂrootÓû§²Ù×÷; ºó¸úÃüÁî±íʾÒÔ²Ù×÷ϵͳÏÂoracleÓû§²Ù×÷;
1.1 ÉÏ´«Èí¼þ
¼ÙÈç·ÅÔÚ/wangnc/oracle/11g/Ä ......
1. ¹Ì¶¨Ò»¸öMACµØÖ·£¬ÌرðÊÇÔÚʹÓöà¸öÐéÄâ»úµÄʱºò
linux»·¾³ÏÂ:
ÓÃrootÉí·ÝµÇ¼£¬ÔÚ/etc/rc.d/rc.localÀï¼ÓÉÏÕâÈý¾ä
ifconfig eth0 down
ifconfig eth0 hw ether 00:0C:18:EF:FF:ED
ifconfig eth0 up
ÕâÑùÖØÐÂrebootºó¾Í²»ÅÂMAC¸´ÔÁË¡£
2. ifconfigÃüÁתÔØhttp://www.cnblogs.com/taobataoma/archive/2007/1 ......
6.7.1 LinuxʹÓõĻº´æ
²»¹ÜÔÚÓ²¼þÉè¼Æ»¹ÊÇÈí¼þÉè¼ÆÖУ¬¸ßËÙ»º´æÊÇ»ñµÃ¸ßÐÔÄܵij£ÓÃÊֶΡ£Linux ʹÓÃÁ˶àÖÖºÍÄÚ´æ¹ÜÀíÏà¹ØµÄ¸ßËÙ»º´æ¡£
1£® »º³åÇø¸ßËÙ»º´æ£º
»º³åÇø¸ßËÙ»º´æÖаüº¬ÁËÓÉ¿éÉ豸ʹÓõÄÊý¾Ý»º³åÇø¡£ÕâЩ»º³åÇøÖаüº¬ÁË´ÓÉ豸ÖжÁÈ¡µÄÊý¾Ý¿é»òдÈëÉ豸µÄÊý¾Ý¿é¡£»º³åÇø¸ßËÙ»º´æÓÉÉ豸±êʶºÅºÍ¿é±êºÅË÷Òý£¬Ò ......