·¢²©ÎÄ
Tekkaman Ninja

tekkamanninja.blog.chinaunix.net

LinuxÎÒµÄÃÎÏ룬ÎÒµÄδÀ´£¡ ±¾²©¿ÍµÄÔ­´´ÎÄÕµÄÄÚÈݻ᲻¶¨ÆÚ¸üлòÐÞÕý´íÎó£¡×ªÔØÎÄÕ¶¼»á×¢Ã÷³ö´¦£¬ÈôÓÐÇÖȨ£¬Ç뼴ʱͬÎÒÁªÏµ£¬ÎÒÒ»¶¨ÂíÉÏɾ³ý£¡£¡ Ô­´´ÎÄÕ°æÈ¨ËùÓУ¡ÈçÐè×ªÔØ£¬Çë×¢Ã÷³ö´¦£º tekkamanninja.blog.chinaunix.net £¬Ð»Ð»ºÏ×÷£¡£¡£¡¾Ü¾øÒ»ÇÐ¹ã¸æÐÔÖÊµÄÆÀÂÛ£¬Ò»¾­·¢ÏÖÁ¢¼´¾Ù±¨²¢É¾³ý£¡   
¸öÈË×ÊÁÏ
  • ²©¿Í·ÃÎÊ£º1897302
  • ²©ÎÄÊýÁ¿£º196
  • ²©¿Í»ý·Ö£º13040
  • ²©¿ÍµÈ¼¶£ºÉϽ«
  • ¹Ø×¢ÈËÆø£º 137
  • ×¢²áʱ¼ä£º2007-03-27 11:22:35
¶©ÔÄÎҵIJ©¿Í
  • ¶©ÔÄ
  • ¶©Ôĵ½Ïʹû
  • ¶©Ôĵ½×¥Ïº
  • ¶©Ôĵ½Google
×ÖÌå´óС£º´ó ÖРС²©ÎÄ
·ÖÀࣺ Bootloader

ÒÆÖ²U£­Boot.1.3.1µ½S3C2410ºÍS3C2440

£¨±¾ÎĽéÉܵÄubootÒѾ­ºÜ¾É£¬Çëµ½uboot-2009.01»ñÈ¡×îа汾´úÂë²¹¶¡£©

   ÔÚ9Ô·ÝÒÆÖ²u-boot1.2.0µ½S3C2410ALÒÔ¼°10Ô·ÝÔÚ½«ÆäÒÆÖ²µ½s3c2440Ö®ºó£¬¾ÍÔÙûÔõôÅöU-BootÁË¡£ÏÖÔÚU£­BootÒѾ­¸üе½ÁË1.3.1°æ±¾£¬ÎÒ¾ö¶¨³Ã¹ýÄêµÄʱ¼ä¿´¿´U-BootµÄ±ä»¯£¬²¢ÒÆÖ²µ½S3C2440ºÍS3C2410¡£Õâ´ÎÒÆÖ²Ö÷ÒªÊÇÒÀ¾ÝÒÔǰµÄÒÆÖ²¼Ç¼£¬½«S3C2440ºÍS3C2410µÄÒÆÖ²Ð޸ĺϲ¢ÁË£¬»¹¼ÓÁËU-Boot¶ÔJFFS2ºÍUSBÖ§³ÖÅäÖá£ÖÁÓÚÍø¿¨µÄÖ§³Ö£¬ÑØÓÃÒÔǰ1.2.0µÄÐ޸ļǼ£¨Ö§³ÖµÄÍø¿¨£ºCS8900¡¢DM9000ºÍAX88796A£©£¬ÕâÀï²»ÔÙ׸Êö£¬Çë¿´ÎÒÒÔǰµÄÒÆÖ²¼Ç¼¡£

¶ÔÓÚYAFFSÎļþϵͳµÄ¾µÏñÉÕд¹¦ÄÜ£¬ÍøÉÏÒÑÓиßÈË×öÁËÏà¹Ø²¹¶¡£¬ÎÒ»¹Ã»Ê±¼äÑо¿£¬´ýÓÐʱ¼äÑо¿ÍêºóÔÙд³öÏà¹ØµÄÒÆÖ²¼Ç¼¡£

ÒÔÏÂÌṩËùÓÐÐ޸ĹýµÄÎļþµÄѹËõ°ü£¨.rarÎļþ£©£¬Èç¹ûÏëʡʱ¼äÖ±½Ó½«Æä¸´ÖƵ½ÏàÓ¦Îļþ¼Ð£¬ÐÞ¸Ä\include\configs\tekkaman2440.h£¨SBC2440V4+DM9000£©ÖеÄÅäÖþͺÃÁË£¨tekkaman2440.h_2410 ÊÇ2410 £¨²©´´UP-NETARM2410-S+AX88796A£©µÄÅäÖÃÎļþ£¬ÐÞ¸ÄÎļþÃûΪtekkaman2440.h¼´¿ÉʹÓã©¡£

Çë×ÔÐÐÐÞ¸ÄMakefileÖеıàÒëÆ÷·¾¶£¡£¨Àϰ汾£¬²»Ö§³ÖyaffsÉÕд£¬Ê¹ÓÃnand_legacy£©

Îļþ:u-boot-1.3.1.rar
´óС:121KB
ÏÂÔØ:ÏÂÔØ


ÒÔÏÂÊǽøÒ»²½Ñ§Ï°ºóµÄ¸Ä½ø°æ(ÔÝʱֻ֧³Ö2410)£¬Ê¹ÓÃnandÇý¶¯£¬Ö§³ÖXmodem´«ÊäºÍyaffs¾µÏñÉÕд£¨ÎÒʹÓÃLinux2.6.24.3Äںˣ©£º

Îļþ:u-boot-1.3.1.tar.gz
´óС:118KB
ÏÂÔØ:ÏÂÔØ

ÒÔÏÂÊÇÅäÌ×µÄyaffs¾µÏñÖÆ×÷¹¤¾ß£º

Îļþ:mkyaffsimage.tar.gz
´óС:7KB
ÏÂÔØ:ÏÂÔØ

Xmodem´«ÊäÊDzο¼ÁËhttp://www.100ask.net/showtopic-27.aspxÉϵIJ¹¶¡¡£

yaffsÉÕд³ýÁ˲ο¼ÁËhttp://www.100ask.net/ÖеIJ¹¶¡Í⻹Ö÷Òª²Î¿¼ÁËǶÈëʽÖйúhttp://www.armchina.cn/ÖеÄÎÄÕ¡£ÔÚÕâÀïллhiboyµÄ·ÖÏí¡£


Ð޸ļǼÈçÏ£¨´óÖÂÈçÏ£¬ÈôÓÐÒÅ©ÒÔѹËõ°üÖÐÎļþΪ׼£¨Àϰ汾£¬²»Ö§³ÖyaffsÉÕд£¬Ê¹ÓÃnand_legacy£©£©£º

 

[·¢ÆÀÂÛ] ÆÀÂÛ ÖØÒªÌáʾ£º¾¯ÌèÐé¼ÙÖн±ÐÅÏ¢!
  • chinaunixÍøÓÑ 2010-12-19 11:42
    ÇëÎÊnijia warning: target CPU does not support interworkingÕâ¸ö¾¯¸æ¸ÃÈçºÎÐÞ¸ÄÄØ ±àÒëʱ³É¹¦ÁË µ«È«Æª¶¼ÊÇÕâ¸ö¾¯¸æ ²»ÖªµÀÓÐʲôDZÔÚµÄÍþвô£¿
  • chinaunixÍøÓÑ 2010-08-04 21:45
    TekkamanÄãºÃ ÎÒÔÚµÚÒ»½×¶Î±àÒëʱºò³öÏÖÈçÏ´íÎó £½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½ arm-linux-ld: ERROR: /usr/local/arm/3.4.1/lib/gcc/arm-linux/3.4.1/libgcc.a(_dvmd_lnx.oS) uses hardware FP, whereas u-boot uses software FP £½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½£½ ÇëÎÊÔõô²ÅÄܽâ¾ö£¿ÓõÄÊÇu-boot-2010.06-rc3
  • chinaunixÍøÓÑ 2010-05-18 21:33
    ÄãºÃ£¬ËùÓеÄuboot¶¼²»Ö§³Ö´ÓnandflashÆô¶¯Ã´£¿ÎÒ¿´Á˺ܶàÒÆÖ²·½ÃæµÄÎÄÕ£¬ÒÆÖ²µÄÖØµã¶¼ÔÚÌí¼ÓnandflashµÄÆô¶¯ÉÏÁË¡£ ÎÒ×î½ü¸Õ¿ªÊ¼Ñо¿2010.03Õâ¸ö°æ±¾£¬ÏëÒÆÖ²µ½freescaleµÄÒ»¿îоƬÉÏ£¬start.sÖÐûÓÐnandflashµÄ°áÒÆ´úÂ룬µ«ÊǺÍnandflashÏà¹ØµÄÆäËû´úÂë¶¼ÊÇÓе쬲»ÖªµÀÕâÑùʽ²»ÊÇÊÂÖ§³ÖnandflashÆô¶¯ÁË£¬²»ÖªµÀÄúÓÐûÓÐÑо¿¹ý×îеÄuboot£¬Ï£ÍûÄܲ»ÁßÖ¸µ¼£¬Ð»Ð»£¡£¡
  • chinaunixÍøÓÑ 2010-04-01 08:21
    ÎÒ¸Õ¿ªÊ¼ÓÃmini2440£¬ÕâÁ½Ìì¾ÍÀú¾¡¼èÐÁ¡£ ÏëÏÂÔØÐ嵀 kernel£¬È´½øÈë nor flash °Ñ nand flash éßµôÁË¡£ÊÔͼÏÂÔØ supervivi £¬·¢ÏÖ·ÖÇø vivi ²»¹»´ó£¬ÀûÓà supervivi ¡°p¡±ÃüÁîÖØÐ·ÖÇø£¬²¢³É¹¦ÏÂÔØÁË supervivi, kernel£¬root£¬È´Æô¶¯²»ÆðÀ´£¨wrong linux kernel£©¡£ ×ßͶÎÞ·Ïë³¢ÊÔ u-boot, °´¡°http://wiki.linuxmce.org/index.php/Mini2440¡±£¬ÓÐÁ½ÖÖÇé¿ö£º 1. Í£ÔÚÏÂÃæ£¬Ï²»È¥ÁË£º Supervivi> go 0x31000000 go to 0x31000000 argument 0 = 0x00000000 argument 1 = 0x00000000 argument 2 = 0x00000000 argument 3 = 0x00000000 2. »òÕßÊÇÏÂÃæµÄ´íÎó£º go to 0x31000000 argument 0 = 0x00000000 argument 1 = 0x00000000 argument 2 = 0x00000000 argument 3 = 0x00000000 U-Boot 1.3.2-mini2440 (Mar 31 2010 - 16:46:18) I2C: ready DRAM: 64 MB Flash: 2 MB NAND: nand_scan(): mtd->oobsize 16, len 512. Bad block table not found for chip 0 Bad block table not found for chip 0 64 MiB *** Warning - bad CRC or NAND, using default environment USB: S3C2410 USB Deviced In: serial Out: serial Err: serial U-Boot 1.3.2-mini2440 (Mar 31 2010 - 16:46:18) I2C: ready DRAM: 64 MB Flash: 2 MB NAND: nand_scan(): mtd->oobsize 16, len 512. nand_scan(): Cannot allocate oob_buf 0 MiB ÊÇnand_base.cÀïµÄÒ»¸ö kmalloc ³ö´íÁË¡£ ÎÒÒ²ÊÔÁËÄãÔÚgitÀïµÄ°æ±¾£¬Åöµ½ÁËÉÏÃæËµµÄµÚÒ»ÖÖÇé¿ö¡£ Äú¿´µ½¹ýÕâÑùµÄÎÊÌâÂ𣿶àл£¡£¡
  • chinaunixÍøÓÑ 2010-01-15 16:31
    ²©Ö÷£¬ÄúºÃ£¡ ÎÒÔÚÒÆÖ²u-bootµ½Ò»¸öbf533°åÉÏ¡£ÏÖÔÚÓöµ½Íø¿Ú·½ÃæµÄÎÊÌ⣺ Íø¿ÚÇý¶¯Ð¾Æ¬ÊÇDM9000E£¬ÏÖÔÚu-bootÄܹ»Æô¶¯£¬Ò²Äܹ»pingͨÖ÷»ú¡£µ«ÊÇ£¬ÔÚͨ¹ýTFTPÏÂÔØÎļþʱ£¬×ÜÊdzöÏÖtimeoutµÄ´íÎó¡£È磺 Loading£ºT ##TT####TTT#TTTT Retry Count exceeded£»starting again Ï£Íû²©Ö÷´Í½Ì£¡Ð»Ð»£¡
  • chinaunixÍøÓÑ 2010-01-11 22:34
    ²©Ö÷£¬ºÜ¸ÐлÄãµÄÎÞ˽·ÖºÁ£¡^-^ÈÃÎÒÉÙ×ßÁ˺ܶàÍä·¡£ µ«ÏÖÔÚ³öÏÖÁËÒ»¸öÎÊÌ⣬°´ÕÕÄãµÄÎÄÕÂÎÒÒÆÖ²ÁËÒ»±é£¬makeºóû´í£¬³É¹¦Éú³ÉÁËuboot.binÎļþ£¬¾ÍÊÇϵ½°å×ÓÉÏûÏÔʾ£¬Ö¸Ê¾µÆ¶¼ÁÁÁË£¬ÕÒÁËÒ»ÌìҲû·¢ÏÖ´íÔÚÄÄ£¬Ç벩Ö÷Ö¸µãÏ£¬´ó¸ÅÄÄЩµØ·½¿ÉÄܳöÁËÎÊÌ⣬ллÀ²^-^ (ÎÒÓÃÊÇÓÑÉÆÖ®±ÛµÄmini2440, ±àÒëÆ÷ÊÇ3.4.1) (°å×ÓÓ¦¸ÃûÎÊÌ⣬ÓÃËü×Ô´ø×ÊÁϵÄbootloader¿ÉÐÐ)
  • config2010 2009-12-28 14:58
    ²©Ö÷£¬ÄãºÃ£¡ ÓÖÓÐÎÊÌâÒªÇë½ÌÁË£¬ÕÕ×Å¿ª·¢°å×öÁËDM9000µç·£¨¿ª·¢°åÈí¼þÓ²¼þ¶¼Ã»ÎÊÌ⣩¡£ÏÖÔÚÎҵİå×Ópingºúʱºò£¬Ê±²»ÊǵĻᶪЩ°ü£¬Èç1114 packets transmitted, 1111 received£¬¶øÇÒÑÓʱÓ뿪°åÏà±È£¬±ä»¯½Ï´ó¡£ÇëÎÊÎÊÌâ³öÔÚÄÄ£¿Èí¼þÉÏ¿ª·¢°åÊÇÒ»ÑùµÄ¡£
  • zhibeiby 2009-11-26 20:51
    ÄúºÃ£¬ÎÒÏëÎÊÎÊÄú£¬ÊÇÓÃʲô¹¤¾ß¶ÔU-BOOT½øÐÐÔ´Âë¼¶µ÷ÊÔ£¿¾ÍÊÇ¿ÉÒÔÔÙCÓïÑÔÔ´ÂëÖе¥²½µ÷ÊÔµÄÄÇÖÖ¡£ÍøÉÏ˵¿ÉÒÔÓÃAXDϼÓÔØu-boot.binºÍu-boot.axfµ÷ÊÔ£¬ http://blog.csdn.net/bobocheng1231/archive/2008/05/28/2490381.aspxµ«ÊÇÎÒÕÕ×Å×öÁË£¬È´Ê¼ÖÕûÓÐÌáʾ´ò¿ªStart.SÎļþ
  • Alan0521 2009-10-12 16:27
    дµÃºÜºÃ£¬ºÜϸÖÂ
  • chinaunixÍøÓÑ 2009-09-23 15:30
    Â¥Ö÷£¬ÄãºÃ£¬ÎÒ×î½ü´òËãÒÆÖ²u-boot,·¢ÏÖÄãµÄÎÄÕ£¬ºÜ¸ÐлÄãµÄÎÞ˽·ÖÏí£¡ °´ÕÕÄãµÄ²½Öè½øÐе½µÚ7²½Ê±£¬ÔÙ´ÎÐÞ¸Ä/include/configs/tekkaman2440.hºó£¬³öÏÖÁËÈçÏÂÎÊÌ⣨ÓÉÓڲſªÊ¼Ñ§u-boot£¬Å³öÏֺܶàÎÊÌâ½â¾ö²»ÁË£¬²½ÖèÍêÈ«°´ÕÕÄãдµÄÀ´µÄ£¬¾ÍÊÇÓõıàÒëÆ÷ÊÇ3.4.1µÄ£¬Ã»ÓÐÓõ½s3c2410µÄ²¿·Ö£©£º [root@friendlyarm u-boot-1.3.1]# make for dir in tools examples ; do make -C $dir _depend ; done make[1]: Entering directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/tools' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/tools' make[1]: Entering directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/examples' make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/examples' make -C tools all make[1]: Entering directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/tools' make[1]: Leaving directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/tools' make -C examples all make[1]: Entering directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/examples' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/examples' make -C lib_generic/ make[1]: Entering directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/lib_generic' make[1]: `libgeneric.a' is up to date. make[1]: Leaving directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/lib_generic' make -C board/tekkaman/tekkaman2440/ make[1]: Entering directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/board/tekkaman/tekkaman2440' make[1]: Leaving directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/board/tekkaman/tekkaman2440' make[1]: Entering directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/board/tekkaman/tekkaman2440' /usr/local/arm/3.4.1/bin/arm-linux-gcc -g -Os -fno-strict-aliasing -fno-common -ffixed-r8 -msoft-float -malignment-traps -D__KERNEL__ -DTEXT_BASE=0x33F80000 -I/opt/FriendlyARM/mini2440/u-boot-1.3.1/include -fno-builtin -ffreestanding -nostdinc -isystem /usr/local/arm/3.4.1/bin/../lib/gcc/arm-linux/3.4.1/include -pipe -DCONFIG_ARM -D__ARM__ -march=armv4 -mapcs-32 -Wall -Wstrict-prototypes -c -o tekkaman2440.o tekkaman2440.c In file included from tekkaman2440.c:35: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/linux/mtd/nand.h:82:1: warning: "NAND_CTL_SETCLE" redefined In file included from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/config.h:2, from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/common.h:35, from tekkaman2440.c:31: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/configs/tekkaman2440.h:248:1: warning: this is the location of the previous definition In file included from tekkaman2440.c:35: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/linux/mtd/nand.h:84:1: warning: "NAND_CTL_CLRCLE" redefined In file included from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/config.h:2, from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/common.h:35, from tekkaman2440.c:31: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/configs/tekkaman2440.h:247:1: warning: this is the location of the previous definition In file included from tekkaman2440.c:35: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/linux/mtd/nand.h:86:1: warning: "NAND_CTL_SETALE" redefined In file included from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/config.h:2, from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/common.h:35, from tekkaman2440.c:31: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/configs/tekkaman2440.h:246:1: warning: this is the location of the previous definition In file included from tekkaman2440.c:35: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/linux/mtd/nand.h:88:1: warning: "NAND_CTL_CLRALE" redefined In file included from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/config.h:2, from /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/common.h:35, from tekkaman2440.c:31: /opt/FriendlyARM/mini2440/u-boot-1.3.1/include/configs/tekkaman2440.h:245:1: warning: this is the location of the previous definition tekkaman2440.c: In function `board_init': tekkaman2440.c:133: error: `MACH_TYPE_SMDK2440' undeclared (first use in this function) tekkaman2440.c:133: error: (Each undeclared identifier is reported only once tekkaman2440.c:133: error: for each function it appears in.) tekkaman2440.c:85: warning: unused variable `gpio' tekkaman2440.c: In function `NF_Reset': tekkaman2440.c:170: warning: implicit declaration of function `NF_SetCE' tekkaman2440.c:170: error: `NFCE_LOW' undeclared (first use in this function) tekkaman2440.c:171: warning: implicit declaration of function `NF_Cmd' tekkaman2440.c:173: warning: implicit declaration of function `NF_WaitRB' tekkaman2440.c:174: error: `NFCE_HIGH' undeclared (first use in this function) tekkaman2440.c: In function `NF_Init': tekkaman2440.c:189: warning: implicit declaration of function `NF_Conf' make[1]: *** [tekkaman2440.o] Error 1 make[1]: Leaving directory `/opt/FriendlyARM/mini2440/u-boot-1.3.1/board/tekkaman/tekkaman2440' make: *** [board/tekkaman/tekkaman2440/libtekkaman2440.a] Error 2 »¹ÏëÇëÎÊÏ£¬»úÆ÷ÀàÐÍIDÊÇÔÚÄ͍ÒåµÄ£¬ÊDz»ÊÇûÓÐ2440µÄ£¿ ´íÎóÖÐÌáµ½µÄÄǼ¸¸öº¯ÊýÎÒ·¢ÏÖÄãÔÚ×îºóÒ»²½¿ªÍ·¶¨ÒåÁËÒ»¸öö¾ÙÀàÐÍ£¬ÊDz»ÊÇÒ²¾ÍÏ൱ÓÚ¶¨ÒåÁËÕâЩº¯ÊýÄØ£¿ ²Å¿ªÊ¼Ñ§Õâ¸ö£¬»¹²»ÖªµÀÔõôÃèÊöÎÒµÄÎÊÌ⣬Ҳ²»ÖªµÀÌáÎÊÇå³þû£¬ºÇºÇ£¬Ï£ÍûÂ¥Ö÷ÄܸøµãÌáʾ£¬Ð»Ð»À²^_^
¹² 6 Ò³
123456
Ç×£¬Äú»¹Ã»ÓеǼ,Çë[µÇ¼]»ò[×¢²á]ºóÔÙ½øÐÐÆÀÂÛ