mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
4f1d1b7d1e
P2041RDB Specification: ----------------------- Memory subsystem: * 4Gbyte unbuffered DDR3 SDRAM SO-DIMM(64bit bus) * 128 Mbyte NOR flash single-chip memory * 256 Kbit M24256 I2C EEPROM * 16 Mbyte SPI memory * SD connector to interface with the SD memory card Ethernet: * dTSEC1: connected to the Vitesse SGMII PHY (VSC8221) * dTSEC2: connected to the Vitesse SGMII PHY (VSC8221) * dTSEC3: connected to the Vitesse SGMII PHY (VSC8221) * dTSEC4: connected to the Vitesse RGMII PHY (VSC8641) * dTSEC5: connected to the Vitesse RGMII PHY (VSC8641) PCIe: * Lanes E, F, G and H of Bank1 are connected to one x4 PCIe SLOT1 * Lanes C and Land D of Bank2 are connected to one x4 PCIe SLOT2 SATA: Lanes C and Land D of Bank2 are connected to two SATA connectors USB 2.0: connected via a internal UTMI PHY to two TYPE-A interfaces I2C: * I2C1: Real time clock, Temperature sensor, Memory module * I2C2: Vcore Regulator, 256Kbit I2C Bus EEPROM, PCIe slot1/2 UART: supports two UARTs up to 115200 bps for console Signed-off-by: Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
123 lines
3 KiB
Text
123 lines
3 KiB
Text
Overview
|
|
=========
|
|
The P2041 Processor combines four Power Architecture processor cores
|
|
with high-performance datapath acceleration architecture(DPAA), CoreNet
|
|
fabric infrastructure, as well as network and peripheral bus interfaces
|
|
required for networking, telecom/datacom, wireless infrastructure, and
|
|
military/aerospace applications.
|
|
|
|
P2041RDB board is a quad core platform supporting the P2041 processor
|
|
of QorIQ DPAA series.
|
|
|
|
Boot from NOR flash
|
|
===================
|
|
1. Build image
|
|
make P2041RDB_config
|
|
make all
|
|
|
|
2. Program image
|
|
=> tftp 1000000 u-boot.bin
|
|
=> protect off all
|
|
=> erase eff80000 efffffff
|
|
=> cp.b 1000000 eff80000 80000
|
|
|
|
3. Program RCW
|
|
=> tftp 1000000 rcw.bin
|
|
=> protect off all
|
|
=> erase e8000000 e801ffff
|
|
=> cp.b 1000000 e8000000 50
|
|
|
|
4. Program FMAN Firmware ucode
|
|
=> tftp 1000000 ucode.bin
|
|
=> protect off all
|
|
=> erase ef000000 ef0fffff
|
|
=> cp.b 1000000 ef000000 2000
|
|
|
|
5. Change DIP-switch
|
|
SW1[1-5] = 10110
|
|
Note: 1 stands for 'on', 0 stands for 'off'
|
|
|
|
Boot from SDCard
|
|
===================
|
|
1. Build image
|
|
make P2041RDB_SDCARD_config
|
|
make all
|
|
|
|
2. Generate PBL imge
|
|
Use PE tool to produce a image used to be programed to
|
|
SDCard which contains RCW and U-Boot image.
|
|
|
|
3. Program the PBL image to SDCard
|
|
=> tftp 1000000 pbl_sd.bin
|
|
=> mmcinfo
|
|
=> mmc write 1000000 8 441
|
|
|
|
4. Program FMAN Firmware ucode
|
|
=> tftp 1000000 ucode.bin
|
|
=> mmc write 1000000 46a 10
|
|
|
|
5. Change DIP-switch
|
|
SW1[1-5] = 01100
|
|
Note: 1 stands for 'on', 0 stands for 'off'
|
|
|
|
Boot from SPI flash
|
|
===================
|
|
1. Build image
|
|
make P2041RDB_SPIFLASH_config
|
|
make all
|
|
|
|
2. Generate PBL imge
|
|
Use PE tool to produce a image used to be programed to
|
|
SPI flash which contains RCW and U-Boot image.
|
|
|
|
3. Program the PBL image to SPI flash
|
|
=> tftp 1000000 pbl_spi.bin
|
|
=> spi probe 0
|
|
=> sf erase 0 100000
|
|
=> sf write 1000000 0 $filesize
|
|
|
|
4. Program FMAN Firmware ucode
|
|
=> tftp 1000000 ucode.bin
|
|
=> sf erase 110000 10000
|
|
=> sf write 1000000 110000 $filesize
|
|
|
|
5. Change DIP-switch
|
|
SW1[1-5] = 10100
|
|
Note: 1 stands for 'on', 0 stands for 'off'
|
|
|
|
CPLD command
|
|
============
|
|
The CPLD is used to control the power sequence and some serdes lane
|
|
mux function.
|
|
|
|
cpld reset - hard reset to default bank
|
|
cpld reset altbank - reset to alternate bank
|
|
cpld lane_mux <lane> <mux_value> - set multiplexed lane pin
|
|
lane 6: 0 -> slot1 (Default)
|
|
1 -> SGMII
|
|
lane a: 0 -> slot2 (Default)
|
|
1 -> AURORA
|
|
lane c: 0 -> slot2 (Default)
|
|
1 -> SATA0
|
|
lane d: 0 -> slot2 (Default)
|
|
1 -> SATA1
|
|
|
|
Using the Device Tree Source File
|
|
=================================
|
|
To create the DTB (Device Tree Binary) image file, use a command
|
|
similar to this:
|
|
dtc -O dtb -b 0 -p 1024 p2041rdb.dts > p2041rdb.dtb
|
|
|
|
Or use the following command:
|
|
{linux-2.6}/make p2041rdb.dtb ARCH=powerpc
|
|
|
|
then the dtb file will be generated under the following directory:
|
|
{linux-2.6}/arch/powerpc/boot/p2041rdb.dtb
|
|
|
|
Booting Linux
|
|
=============
|
|
Place a linux uImage in the TFTP disk area.
|
|
tftp 1000000 uImage
|
|
tftp 2000000 rootfs.ext2.gz.uboot
|
|
tftp 3000000 p2041rdb.dtb
|
|
bootm 1000000 2000000 3000000
|