Friday, August 22, 2008

ARM RealView PB11MPCore (2) - Installation

Power on evaluation board. Switch to the "Flash" submenu of the Boot Monitor:
K:\> flash

Burn u-boot, Linux kernel and root filesystem
Flash> write image U-BOOT.AXF
Flash> write binary UIMAGE
Flash> write binary BASE.RFS

Display flash layout
Flash> list images
Flash Area Base 0x40000000

Address Name
------- ----
0x40000000 Boot_Monitor
0x40040000 NFU
0x40080000 SYSTEM.DAT
0x400C0000 U-BOOT
0x40100000 UIMAGE
0x402C0000 BASE

Flash Area Base 0x43FC0000
Flash Area Base 0x44000000
Flash Area Base 0x47FC0000

Flash> exit

Run u-boot
> flash run U-BOOT

Set some environment variable for u-boot
RealView_PB # setenv bootargs root=/dev/mtdblock0 mtdparts=armflash.0:7268k@0x2C0000(cramfs) ip=dhcp mem=128M console=ttyAMA0
RealView_PB # setenv bootcmd cp 0x40100000 0x7fc0 0x100000\; bootm
RealView_PB # saveenv

reset, bootup Linux

No comments: