README 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Description:
  2. ------------
  3. Tool 'create_pbl' is a standalone tool to create the PBL images.
  4. where,
  5. On the basis of Chassis,
  6. RCW image is placed first followed by the,
  7. PBI commands to copy the,
  8. Input BL2 image stored on the,
  9. Specified boot source (QSPI or SD or NOR) to the,
  10. Specified destination address.
  11. Usage in standalone way:
  12. -----------------------
  13. ./create_pbl [options] (mentioned below):
  14. -r <RCW file-name> - name of RCW binary file.
  15. -i <BL2 Bin file-name> - file to be added to rcw file.
  16. -c <SoC Number> - SoC numeric identifier, may be one of
  17. 1012,1023,1026.1028,
  18. 1043,1046,1088,2080,
  19. 2088,2160
  20. -b <boot source id> - Boot source id string, may be one of
  21. "qspi", "nor", "nand", "sd", "emmc"
  22. -d <Address> - Destination address where BL2
  23. image is to be copied
  24. -o <output filename> - Name of PBL image generated
  25. as an output of the tool.
  26. -e <Address> - [Optional] Entry Point Address
  27. of the BL2.bin
  28. -f <Address> - BL2 image offset
  29. on Boot Source for block copy.
  30. command for chassis >=3.)
  31. (Must for Ch3, Ignored for Ch2)
  32. -h Help.
  33. -s Secure boot.
  34. -s secure boot
  35. -c SoC Number (see description above)
  36. -b Boot source.
  37. -r RCW binary file.
  38. -i Input file that is to be added to rcw file.
  39. -o Name of output file
  40. -f Source Offset (Block Copy)
  41. -d Destination address to which file has to be copied
  42. -h Help.
  43. Example:
  44. ./create_pbl -r <RCW file> -i <bl2.bin> -c <chassis_no> -b <boot_source = sd/qspi/nor> -d <Destination_Addr> -o <pbl_image_name>
  45. Usage at compilation time:
  46. --------------------------------
  47. make <compilation command......> pbl RCW=<Path_to_RCW_File>/<rcw_file_name.bin>
  48. Example: QSPI Boot For LS1046ARDB-
  49. make PLAT=ls1046rdb all fip BOOT_MODE=qspi SPD=opteed BL32=tee.bin BL33=u-boot-ls1046.bin pbl RCW=/home/pankaj/flexbuild/packages/firmware/dash-rcw/ls1046ardb/RR_FFSSPPPN_1133_5506/rcw_1600_qspiboot.bin
  50. Example: QSPI Boot For LX2160ARDB-
  51. make PLAT=lx2160ardb all fip BOOT_MODE=flexspi_nor SPD=opteed BL32=tee_lx2.bin BL33=u-boot_lx2160.bin pbl RCW=plat/nxp/soc-lx2160/lx2160ardb/rcw_1900_600_1600_19_5_2.bin