Форум проекта uCrouter


dch,2008\09\16 11:56:32,2746 байт

Ответить

Форум

http://ucrouter.ru/download/EVM9200-linux-2.4.19-rmk.bin.tgz:

1. Files

/45MHz - master clock set to 45MHz

/45MHz/16MB/ - master clock 45MHz, SDRAM size 16MB
boot.bin - u-boot loader
u-boot.bin.gz - u-boot compressed binary image

/45MHz/32MB/ - master clock 45MHz, SDRAM size 32MB
boot.bin - u-boot loader
u-boot.bin.gz - u-boot compressed binary image

linux.bin - linux kernel
uImage - u-boot linux compressed kernel,
linux.bin compressed by gzip utility
and processed by u-boot mkimage utility

initrd.ext2 - small initrd image, based on AT91RM9200DK
initrd image - ramdisk-rmk7
uInitrd.ext2 - u-boot compressed initrd image image,
initrd.ext2 compressed by gzip utility
and processed by u-boot mkimage utility

2. AT29LV160 Flash memory map.

200000 ----
1F0000 ---- u-boot environment area -- 1FFFFF
0C0000 ---- uInitrd.ext2 ------------- 1EFFFF
020000 ---- uImage ------------------- 0BFFFF
010000 ---- u-boot.bin.gz ------------ 01FFFF
000000 ---- boot.bin ----------------- 00FFFF

3. Write boot.bin from flash offset 0, and u-boot.bin.gz
from offset 0x010000.

4. Update linux kernel via u-boot tftp.

u-boot>tftpboot 20800000 uImage
u-boot>protect off 10020000 100BFFFF
u-boot>erase 10020000 100BFFFF
u-boot>cp.b 20800000 10020000 9FFFF

where:
u-boot> - u-boot prompt

tftpboot - u-boot load file via tftp protocol command
20800000 - SDRAM load address
uImage - linux kernel image

uImage must be located at the
host tftp server download directory
(Linux host) /tftpboot

protect - u-boot flash protect on/off command
off - disable protection
10020000 - start flash address
100BFFFF - end flash address

erase - u-boot flash erase command
10020000 - start flash erase address
100BFFFF - end flash erase address

cp.b - u-boot byte copy command
20800000 - SDRAM source address
10020000 - flash destination address
9FFFF - bytes copy

5. Update linux initrd via u-boot tftp.

u-boot>tftpboot 20800000 uInitrd.ext2
u-boot>erase 100C0000 101EFFFF
u-boot>cp.b 20800000 100C0000 12FFFF

6. Set u-boot environment variables.
for 32Mb SDRAM:
u-boot>setenv bootargs root=/dev/ram rw initrd=0x20A00000,0x500000 ramdisk_size=5000 console=ttyS0,115200 mem=32M
or for 16Mb SDRAM:
u-boot>setenv bootargs root=/dev/ram rw initrd=0x20A00000,0x500000 ramdisk_size=5000 console=ttyS0,115200 mem=16M

u-boot>setenv bootcmd=bootm 10020000 100C0000
u-boot>saveenv

7. Reboot target.


Best Regards,
Dmitriy Cherkashin.

modified 2008\09\16 by Dmitriy I. Cherkashin.

Зарегистрироваться Забыли пароль ? Наверх

Ответить

Имя:
Пароль:
Тема:
Собщение:
Введите число : 9269


ARM®и Thumb® зарегистрированные торговые марки ARM Limited.
Linux® зарегистрированная торговая марка Linus Torvalds.
µClinux и uClinux торговые марки Arcturus Networks Inc.