rss
    0

    更新自动适应16M32M64M128M内存U-boot

    2012.06.02 | 潇湘河畔 | 4243次围观

    U-boot For HG255D HG256更新,自动适应16M 32M 64M 128M内存。
    必须两个颗粒。

    要求:
    16MiB:1Mx16bitx4bank 133Mhz 2颗。
    32MiB:2Mx16bitx4bank 133Mhz 2颗。
    64MiB:4Mx16bitx4bank 133Mhz 2颗。
    128MiB:8Mx16bitx4bank 133Mhz 2颗。

    任意大小可用,如果内存颗粒坏,则从坏的bank开始的高端内存部分都不能用。

    32M内存效果:
    U-Boot 1.1.3 (May 31 2012 - 20:54:08)

    SoC:Ralink APSoC(RT305x)
    Memory Testing.......32768K OK.
    DRAM:  32 MB
    relocate_code Pointer at: 81168000
    config usb..

    The Flash ID =0000227E 

    FLASH:S29GL128N, SIZE:16 MBytes SECTOR:128 
    S29GL128N:Set sect_size = 0x00020000
    flash_protect ON: from 0xBF000000 to 0xBF023873
    flash_protect ON: from 0xBF040000 to 0xBF040FFF
    *** Warning - bad CRC, using default environment

    ______________________________________________________
    |   ____                           ____              |
    |  |  _ \ _ __ ___  __ _ _ __ ___ | __ )  _____  __  |
    |  | | | | '__/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /  |
    |  | |_| | | |  __/ (_| | | | | | | |_) | (_) >  <   |
    |  |____/|_|  \___|\__,_|_| |_| |_|____/ \___/_/\_\  |
    |                                                    |
    |           http://www.openwrt.org.cn                |
    |              Board:HuaWei HG255D                   |
    |                                                    |
    |         lintel<linte@openwrt.org.cn>               |
    |____________________________________________________|

    ASIC 3052_MP2 (Port5<->Phy)
    Flash component: NOR Flash
    Build Date:May 31 2012  Time:20:54:08
    icache: sets:256, ways:4, linesz:32 ,total:32768
    dcache: sets:128, ways:4, linesz:32 ,total:16384 

    ##### The CPU freq = 384 MHZ #### 
    estimate memory size =32 Mbytes

    GPIO Init:
            UARTF_SHARE_MODE:GPIO
            SPI_GPIO_MODE:GPIO

    GPIO_MODE_REG status:0x1e

    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       2: Load system code then write to Flash via TFTP. 
       3: Boot system code via Flash (default).
       4: Entr boot command line interface.
       7: Load Boot Loader code then write to Flash via Serial. 
       9: Load Boot Loader code then write to Flash via TFTP. 


    3: System Boot system code via Flash.



    64M内存效果:
    U-Boot 1.1.3 (May 31 2012 - 20:54:08)

    SoC:Ralink APSoC(RT305x)
    Memory Testing.....65536K OK.
    DRAM:  64 MB
    relocate_code Pointer at: 83168000
    config usb..

    The Flash ID =0000227E 

    FLASH:S29GL128N, SIZE:16 MBytes SECTOR:128 
    S29GL128N:Set sect_size = 0x00020000
    flash_protect ON: from 0xBF000000 to 0xBF023873
    flash_protect ON: from 0xBF040000 to 0xBF040FFF
    ______________________________________________________
    |   ____                           ____              |
    |  |  _ \ _ __ ___  __ _ _ __ ___ | __ )  _____  __  |
    |  | | | | '__/ _ \/ _` | '_ ` _ \|  _ \ / _ \ \/ /  |
    |  | |_| | | |  __/ (_| | | | | | | |_) | (_) >  <   |
    |  |____/|_|  \___|\__,_|_| |_| |_|____/ \___/_/\_\  |
    |                                                    |
    |           http://www.openwrt.org.cn                |
    |              Board:HuaWei HG255D                   |
    |                                                    |
    |         lintel<linte@openwrt.org.cn>               |
    |____________________________________________________|

    ASIC 3052_MP2 (Port5<->Phy)
    Flash component: NOR Flash
    Build Date:May 31 2012  Time:20:54:08
    icache: sets:256, ways:4, linesz:32 ,total:32768
    dcache: sets:128, ways:4, linesz:32 ,total:16384 

    ##### The CPU freq = 384 MHZ #### 
    estimate memory size =64 Mbytes

    GPIO Init:
            UARTF_SHARE_MODE:GPIO
            SPI_GPIO_MODE:GPIO

    GPIO_MODE_REG status:0x1e

    Please choose the operation: 
       1: Load system code to SDRAM via TFTP. 
       2: Load system code then write to Flash via TFTP. 
       3: Boot system code via Flash (default).
       4: Entr boot command line interface.
       7: Load Boot Loader code then write to Flash via Serial. 
       9: Load Boot Loader code then write to Flash via TFTP. 

    下载地址:
    http://downloads.openwrt.org.cn/OpenWrt-DreamBox/HG255D/u-boot-rom-hg255d_hg256.bin
    如果已经刷了我原先的U-BOOT,只需要直接通过TFTP更新就可以,电信原版U-BOOT,请参考:
    http://downloads.openwrt.org.cn/OpenWrt-DreamBox/HG255D/HG255D-UM.doc

    更多下载,请关注:http://downloads.openwrt.org.cn/OpenWrt-DreamBox/HG255D/ 

    发表评论