README.p1023rds 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. Overview
  2. --------
  3. The P1023 process includes a performance optimized implementation of the
  4. QorIQ data Path Acceleration Architecture (DPAA). This architecture
  5. provides the infrastructure to support simplified sharing of networking
  6. interfaces and accelerators by multiple CPU cores. P1023 is an e500 based
  7. dual core SOC.
  8. P1023RDS board is a Low End Dual core platform supporting the P1023
  9. processor of QorIQ series.
  10. Building U-boot
  11. ---------------
  12. To build the u-boot for P1023RDS:
  13. Configure to NOR boot:
  14. make P1023RDS_config
  15. Configure to NAND boot:
  16. make P1023RDS_NAND_config
  17. Build:
  18. make
  19. Board Switches
  20. --------------
  21. Most switches on the board should not be changed. The most frequent
  22. user-settable switches on the board are used to configure
  23. the flash banks.
  24. J4: all open
  25. Default NOR flash boot switch setting:
  26. Sw3[1:8]: off on on off on on off off
  27. Sw4[1:8]: off off off on off off off off
  28. Sw6[1:8]: off on off on off on on off
  29. Sw7[1:8]: off on off off on off off off
  30. Sw8[1:8]: on off off off off off off off
  31. For NAND flash boot,set
  32. Sw4[1:4]: off on on on
  33. The default native ethernet setting is for RGMII mode.
  34. To use SGMII mode, set
  35. SW8[1:2]: OFF OFF
  36. SW7[6:7]: ON ON
  37. Memory Map
  38. ----------
  39. 0x0000_0000 0x7fff_ffff DDR 2G Cacheable
  40. 0x8000_0000 0xbfff_ffff PCI Express Mem 1G non-cacheable
  41. 0xc000_0000 0xdfff_ffff PCI 512M non-cacheable
  42. 0xe100_0000 0xe3ff_ffff PCI IO range 4M non-cacheable
  43. 0xe000_0000 0xe003_ffff BCSR 256K BCSR
  44. 0xee00_0000 0xefff_ffff NOR flash 32M NOR flash
  45. 0xff00_0000 0xff3f_ffff DPAA_QBMAN 4M
  46. 0xff60_0000 0xff7f_ffff CCSR 2M non-cacheable
  47. 0xffa0_0000 0xffaf_ffff NAND FLASH 1M non-cacheable
  48. 0xffd0_0000 0xffd0_3fff L1 for stack 16K Cacheable TLB0
  49. Flashing u-boot Images
  50. ---------------
  51. To program the image in the boot flash bank:
  52. NOR flash boot:
  53. => tftp 1000000 u-boot.bin
  54. => protect off all
  55. => erase eff80000 efffffff
  56. => cp.b 1000000 eff80000 80000
  57. NAND flash boot:
  58. => tftp 1000000 u-boot-nand.bin
  59. => nand erase 0 80000
  60. => nand write 1000000 0 80000
  61. Firmware ucode location
  62. ---------------------------------
  63. Microcode(ucode) to FMAN's IRAM is needed to make FMAN Ethernet work.
  64. u-boot loads ucode FLASH. The location for ucode:
  65. NOR Flash: 0xfe000000
  66. NAND Flash: 0x1f00000
  67. Using the Device Tree Source File
  68. ---------------------------------
  69. To create the DTB (Device Tree Binary) image file,
  70. use a command similar to this:
  71. dtc -b 0 -f -I dts -O dtb p1023rds.dts > p1023rds.dtb
  72. Likely, that .dts file will come from here;
  73. linux-2.6/arch/powerpc/boot/dts/p1023rds.dts
  74. or
  75. make p1023rds.dtb ARCH=powerpc
  76. in linux-2.6 directory.
  77. Booting Linux
  78. -------------
  79. Place a linux uImage in the TFTP disk area.
  80. tftp 1000000 uImage
  81. tftp 2000000 rootfs.ext2.gz.uboot
  82. tftp c00000 p1023rds.dtb
  83. bootm 1000000 2000000 c00000