文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Howto replace u-boot (1.1.4) on AT91RM9200 board

Howto replace u-boot (1.1.4) on AT91RM9200 board

时间:2006-07-24  来源:a-ki

http://www.koansoftware.com/it/art.php?art=80

Howto replace u-boot (1.1.4) on AT91RM9200 board

03.October.2005 Marco Cavallini - m.cavallini[at]koansoftware[dot]com [Letto 984 volte]

Howto load u-boot-1.1.4 placing it at the beginning of Parallel Flash.
Original pre-loader aka 'romboot' is no longer necessary.

Step A
* Using u-boot-1.1.4
* DO NOT USE romboot (boot.bin)


  • Rebuild u-boot 1.1.4

    Step A (old)
    * Using u-boot-1.1.2
    * DO NOT USE romboot (boot.bin)


  • Rebuild u-boot
    In u-boot-1.1.2 sources change u-boot-1.1.2/include/configs/at91rm9200dk.h
    replacing this line : #undef CONFIG_BOOTBINFUNC
    with this new one : #define CONFIG_BOOTBINFUNC 1

  • Step B
    Boot the original u-boot and...

  • Step C
    Load and replace u-boot.bin

    protect off 10000000 1001ffff
    erase 10000000 1001ffff
    loadb 20000000
    (send u.boot.bin with kermit)
    cp.b 20000000 10000000 1ffff
    protect on 10000000 1001ffff

    ------------------------------------------

  • If you need to recover original romboot (only if necessary) please use u-boot-0.3.2 provided with AT board.
    If you have deleted u-boot already present on the board
    you have to load it again (using Hyperterminal)
    1. Remove R159
    2. Using xmodem protocol load loader.bin
    3. Using xmodem protocol load u-boot.bin
    (Now is time to insert R159 and reboot if you removed it at point 1.)

    In this case please refer to Atmel documentation.

    ------------------------------------------

    U-Boot 1.1.4 (Mar 29 2006 - 18:01:52)

    U-Boot code: 21F00000 -> 21F16540 BSS: -> 21F33404
    RAM Configuration:
    Bank #0: 20000000 64 MB
    Atmel: AT49BV6416 (64Mbit)
    Flash: 8 MB
    DataFlash:AT45DB642
    Nb pages: 8192
    Page Size: 1056
    Size= 8650752 bytes
    Logical address: 0xC0000000
    Area 0: C0000000 to C0007FFF (RO)
    Area 1: C0008000 to C001FFFF (RO)
    Area 2: C0020000 to C0027FFF
    Area 3: C0028000 to C083FFFF
    *** Warning - bad CRC, using default environment

    Ignore bad CRC error caused by the missing environment variables and to set them with:

    setenv baudrate 115200
    setenv bootdelay 3
    setenv ethaddr 12.34.56.78.90.aa
    setenv netmask 255.255.255.0
    setenv ipaddr 192.168.0.184
    setenv serverip 192.168.0.5
    setenv bootargs root=/dev/ram0 rw initrd=0x21100000,6000000 ramdisk_size=15360 console=ttyS0,115200 mem=32M
    setenv bootcmd 'tftp 21100000 ramdisk; tftp 21000000 uImage; bootm'

    ------------------------------------------

    Booting from serial Data Flash
    If you want to store u-boot in serial Data Flash refer to this Atmel document
    http://www.atmel.com/dyn/resources/prod_documents/doc6067.pdf
相关阅读 更多 +
排行榜 更多 +
里科竞技场最新版

里科竞技场最新版

飞行射击 下载
辣了么卷饼传奇最新版

辣了么卷饼传奇最新版

模拟经营 下载
尸潮塔防最新版

尸潮塔防最新版

策略塔防 下载