beautypg.com

Onboard flash access within cavium embedded linux, Table 5-13 embedded linux mtd partitions – Kontron AM4211 User Manual

Page 63

background image

48

AM4211

www.kontron.com

Power cycle the PCIe Host board.

2 On the PCIe Host board, use and validate that the AM4211 is present in the displayed list

0f:00.0 MIPS: Cavium Networks Unknown device 0092 (rev ff)

3 On the PCIe Host board, go to the remote-utils folder of the Cavium SDK.

cd /host/remote-utils

4 Configure the remote protocol env variable

export OCTEON_REMOTE_PROTOCOL=PCI

5 Start U-boot on AM4211

./oct-remote-boot --board=generic --ddr0spd=0x50 --ddr_clock_hz=5333333333 u-boot-

kontron_t5519.bin

Please refer to the online documentation provided with the Cavium Networks SDK for more details.

5.4.5

Onboard flash access within Cavium Embedded Linux

The Linux environment use MTD support to access the Flash device, here are the MTD partitions:

Table 5-13:Embedded Linux MTD partitions

Note:

To disable the Boot PCIe mode, use the one of the following method:
From the Host Board:

# ipmitool -m 0x20 -t 0x7a -b 7 raw 0x3e 0x20 2 0

From the AM4211 u-boot shell:

# kcs raw 0x3e 0x20 2 0

From the AM4211 linux shell:

# ipmitool raw 0x3e 0x20 2 0

# cfgtool –p 0 –s -c

Flash logical name

Descriptions

Partitions address
Size

uboot

Active bootloader

/dev/mtd0

env

Active bootloader configuration

/dev/mtd1

kernel_rootfs

Active Linux et Root filesystem

/dev/mtd2

user_jffs2

Active User filesystem

/dev/mtd3

uboot_backup

Backup bootloader

/dev/mtd4

env_backup

Backup bootloader configuration

/dev/mtd5

kernel_rootfs_backup

Backup Linux et Root filesystem

/dev/mtd6

user_jffs2_backup

Backup User filesystem

/dev/mtd7