Table 2-2. Standalone host mode DIP switch settings
SW4[1..8]
0101 1000
ON OFF ON OFF OFF ON ON ON
SW5[1..8]
1111 0000
OFF OFF OFF OFF ON ON ON ON
SW6[1..8]
0000 1111
ON ON ON ON OFF OFF OFF OFF
SW7[1..8]
1001 1000
OFF ON ON OFF ON OFF OFF OFF
SW8[1..8]
0000 1011
ON ON ON ON OFF ON OFF OFF
2.3 PKCAL/SKMM Mode
PKCAL means Public Key Calculator, which is one use case of PCIe endpoint mode.
SKMM means Secure Key Management Module. In this document, SKMM only means
the core does NOT boot from internal SDRAM. In PKCAL mode, the board holds and
wait for the host to load the image into its internal SDRAM, then the host, which is
released, lets the board to run.
In SKMM mode, the board runs the u-boot and loads the Linux by itself while working in
PCIe end point mode. The host can communicate with PCIe interface. The PKCAL/
SKMM mode can be enabled by setting the SW8[8] switch. To enable the PKCAL mode,
set SW8[8] to 0. To enable the SKMM mode, set SW8[8] to 1.
The PKCAL mode can be started from the PCIe endpoint mode. In PKCAL mode, a
C29x processor only uses internal SDRAM, instead of DDR3/NOR flash/NAND flash.
Therefore, DDR/NOR flash/NAND flash should not be initialized in the source code. In
addition, the PKCAL mode requires the board to be booted from the PCIe slot.
For the PKCAL use case, the device boots from either the internal SRAM or the L2
SRAM. The device is in PCI Express agent mode and e500 is in boot hold off. Following
are the device configurations required for this use case by setting DIP switch:
•
SW7[1] ON, cfg_cpu_boot=0
•
SW7[5] ON, cfg_host_agt=0
•
SW8[8] ON, test_sel_b=0
By default, the C29x PCIe card works in the SKMM mode.
PKCAL/SKMM Mode
C29x PCIe Card User Guide, Rev. 0, 10/2013
16
Freescale Semiconductor, Inc.
Summary of Contents for C29x
Page 1: ...C29x PCIe Card User Guide Document Number C29xPCIeUG Rev 0 10 2013 ...
Page 2: ...C29x PCIe Card User Guide Rev 0 10 2013 2 Freescale Semiconductor Inc ...
Page 6: ...C29x PCIe Card User Guide Rev 0 10 2013 6 Freescale Semiconductor Inc ...
Page 18: ...Secure Boot Mode C29x PCIe Card User Guide Rev 0 10 2013 18 Freescale Semiconductor Inc ...
Page 62: ...C29x PCIe Card User Guide Rev 0 10 2013 62 Freescale Semiconductor Inc ...
Page 64: ...C29x PCIe Card User Guide Rev 0 10 2013 64 Freescale Semiconductor Inc ...