The backed up content of this page is deprecated and will rank lower in search results!

Clear message

This page is no longer maintained. Please refer to the ARM landing team's Versatile Express Setup page for up-to-date information.

Installing the build on Versatile Express

Installing the images on the Versatile Express platform requires a little more effort. Below you will find the instructions on how to do it.

Create the Boot Images

  • Copy the daily build and hardware pack images to the linaro-image-tools directory.
  • Install the bootloader, kernel and initrd images to the SD card. Note: You must use a standard SD or MMC card, maximum capacity 2GB. SDHC cards do not work.

./linaro-image-tools/linaro-media-create --mmc /dev/sdb --no-rootfs --dev vexpress --console ttyAMA0,38400n8 --binary linaro-natty-*.tar.gz --hwpack hwpack_linaro-vexpress_*_armel_supported.tar.gz
  • Install the rootfs to a USB-HDD:

./linaro-image-tools/linaro-media-create --mmc /dev/sdc --no-bootfs --rootfs ext3 --dev vexpress --console ttyAMA0,38400n8 --binary linaro-natty-*.tar.gz --hwpack hwpack_linaro-vexpress_*_armel_supported.tar.gz

Setup a serial console

  • Connect the serial cable to the serial port on the Vexpress board (top right if you look from the back)

screen /dev/ttyUSB0 38400

Copy the Boot System to Flash

  • Install the bootloader, linaro kernel and initrd to the onboard flash
    • Plug the SD card and the USB-HDD in to the vexpress board and power on
    • You should now see the "ARM Versatile Express Boot Monitor"

M: 
FLASH ERASE RANGE 0x44000000 0x45FFFFFF
FLASH WRITE BINARY u-boot.bin NAME u-boot-linaro FLASH_ADDRESS 0x44000000 LOAD_ADDRESS 0x60800000 ENTRY_POINT 0x60800000
FLASH WRITE BINARY uimage NAME uimage-linaro FLASH_ADDRESS 0x44100000
FLASH WRITE BINARY uinitrd NAME uinitrd-linaro FLASH_ADDRESS 0x44800000
  • Remove the MMC/SD card

Setup u-boot and boot

FLASH run u-boot-linaro
<Press any key and stop the bootloader>
setenv bootcmd 'cp 0x44800000 0x61000000 0x1800000; bootm 0x44100000 0x61000000'
setenv bootargs 'root=/dev/sda2 rw mem=1024M raid=noautodetect console=ttyAMA0,38400n8 rootwait vmalloc=256MB devtmpfs.mount=0 mtdparts=armflash:1M@0x4000000(uboot)ro,7M@0x4100000(kernel),24M@0x4800000(initrd) mmci.fmax=190000'
saveenv
cp 0x44800000 0x61000000 0x1800000; bootm 0x44100000 0x61000000

Setup Vexpress Autoboot

  • Connect the vexpress USB-B plug to your host
  • Do not boot the board but type "usb_on" in the serial console:

Cmd> usb_on
  • Mount the usb device and edit SOFTWARE/bootscr.txt
  • In order to change "fl run u-boot" to "fl run u-boot-linaro" run the following command

sed -i "s/fl run u-boot/fl run u-boot-linaro/" /media/disk/SOFTWARE/bootscr.txt
  • Unmount the usb device and unplug the power cable
  • Set the left boot-option switch on the back of the board to the down position. (The switch you need to change is closest to the black reset button).
  • Plug-in the power cable and press the red button on the back of the board (turns on the ATXPSU)

(Thanks to kenws for this instruction summary)

Didn't work for me - I had to write the bootscript into flash (as BOOTSCRIPT) - Peter Pearse

Cycles/VEInstall (last modified 2011-12-19 17:40:06)