Mustang

Differences between revisions 53 and 54
Revision 53 as of 2012-08-28 16:44:06
Size: 6407
Editor: cpe-174-109-107-185
Comment:
Revision 54 as of 2012-08-28 16:50:05
Size: 6399
Editor: cpe-174-109-107-185
Comment:
Deletions are marked like this. Additions are marked like this.
Line 50: Line 50:
= Installing Precise (12.04 & 12.04.1) using netboot onto a Marvell ArmadaXP Development Board = = Installing Precise (12.04.1) using netboot onto a Marvell ArmadaXP Development Board =

Installing Precise (12.04.1) using netboot for Calxeda ECX-1000 (Highbank)

Before You Begin

You will need the following:

  1. A management device for console access
  2. DHCP available which will provide Internet access (to access the Ubuntu package archive)
  3. A TFTP Server accessible from the system

Downloading the Installer

Download the Calxeda Highbank kernel and initrd and place them on an available TFTP Server.

Booting the Installer

Power on the chassis and access the console via IPMI (e.g. "ipmitool -H 10.0.0.101 -U admin -P admin -I lanplus sol activate").

Power on the system processor (e.g. "ipmitool -U admin -P admin -H 10.0.0.101 chassis power on").

Interrupt U-Boot by pressing Enter when prompted to stop autoboot.

Type the following at the U-Boot prompt, replacing the IP address with the IP address of your TFTP Server:

dhcp
tftpboot ${kernel_addr_r} 10.0.0.10:/vmlinuz
tftpboot ${ramdisk_addr_r} 10.0.0.10:/initrd.gz
setenv bootargs "console=ttyAMA0"
bootz ${kernel_addr_r} ${ramdisk_addr_r}:${filesize} ${fdt_addr}

Note: insert "setenv initrd_high 0xffffffff" after "dhcp" for early u-boot releases.

This will boot into the installer, follow the default partitioning scheme suggested.

Booting into the Installed System

Your system should now boot into the installed system.

Installing Precise (12.04.1) using netboot onto a Marvell ArmadaXP Development Board

Before You Begin

You will need the following:

  1. A management device for serial access to the board.
  2. DHCP available for the board which will provide Internet access (to access the Ubuntu package archive).
  3. A TFTP Server accessible from the board.

Downloading the Installer

Download the Marvell ArmadaXP uImage and uInitrd and place them on an available TFTP Server.

Booting the Installer

Access the Marvell ArmadaXP serial console, for example with screen /dev/ttyUSB0 115200 on a management machine with a USB serial adaptor attached to it.

Power on the board.

Interrupt U-Boot by pressing Enter when prompted.

Type the following at the U-Boot prompt, replacing the IP address with the IP address of your TFTP Server:

dhcp
tftpboot 0x2000000 10.0.0.10:/uImage
tftpboot 0x1100000 10.0.0.10:/uInitrd
setenv bootargs "console=ttyS0,115200 earlyprintk=ttyS0 pm_disable"
bootm 0x2000000 0x1100000

This will boot into the installer. Follow the default partitioning scheme suggested.

Booting into the Installed System

When the installer finishes and reboots, interrupt U-Boot again and type the following. If you used a different partitioning scheme, adjust the ext2load and root parameters accordingly.

setenv bootcmd "ide reset; ext2load ide 0:1 0x2000000 uImage; ext2load ide 0:1 0x1100000 uInitrd; setenv bootargs console=ttyS0,115200 earlyprintk=ttyS0 root=/dev/sda2 ro pm_disable; bootm 0x2000000 0x1100000"
save
reset

Note: a kernel load address of 0x8000 may be needed post-install to avoid a kernel hang (LP#1026835)

Your system should now boot into the installed system, with U-Boot configured and verified to continue doing so on future reboots.

Installing pre-installed OMAP4 Precise (12.04) Server Images

Follow these steps;

Download

Download the compressed image from the cdimage server.

Warning /!\ Check the md5sum to verify the image Warning /!\

Copy the image to SD card

You should write the raw image to a blank SD card. Make sure you're using at least a 2 Gig SD card so that you have enough room for the image.

Steps:

  1. Insert the SD card in your host computer's SD card reader.
  2. Make sure the SD card is not mounted (just umount it if needed).
  3. Identify the correct device name (like /dev/mmcblk0 or /dev/sdb).

  4. Run the following command to write it:

gunzip -c ubuntu-12.04-preinstalled-server-armhf+<omap or omap4>.img.gz | sudo dd bs=1M of=/dev/<device name>
sync

or

sudo sh -c 'zcat ubuntu-12.04-preinstalled-server-armhf+<omap or omap4>.img.gz > /dev/<device name>'
sync

(note: replace <omap image> with omap4 for panda/blaze/other omap4 based system and the raw block device for <device name> - not a partition. i.e. /dev/mmcblk0 )

Booting the image

  1. Attach a serial cable to the serial port on the board. (note: The board is already wired for a straight serial cable - no null modem needed)

  2. Open a terminal on your host system and launch a serial console monitor with the port set for 115200,n,8,1
    • Screen: screen /dev/ttyUSB0 115200

      • * you can end the screen session by pressing Ctrl-A and then K

    • Minicom: TERM=vt100 minicom

      • * the TERM=vt100 setting is needed for proper output formatting

        * you can end the minicom session by pressing Ctrl-A and then X or Q

  3. Insert the SD card in the system and switch on the board.

The system should start booting with output shown on your serial terminal. After the board resizes the image to fill the SD card, it will reboot and start oem-config to prompt for localization and user info.

ARM/Server/Install/Mustang (last edited 2016-02-17 16:57:00 by rkota)