README.txt 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. Microchip PolarFire SoC Icicle Kit
  2. ==================================
  3. This file describes how to use the pre-defined Buildroot
  4. configuration for Microchip's PolarFire SoC Icicle Kit.
  5. Further information about the PolarFire SoC Icicle Kit can be found
  6. at https://github.com/polarfire-soc/polarfire-soc-documentation
  7. Building
  8. ========
  9. Configure Buildroot using the default board configuration:
  10. '$ make microchip_mpfs_icicle_defconfig'
  11. Customise the build as necessary:
  12. '$ make menuconfig'
  13. Start the build:
  14. '$ make'
  15. Result of the build
  16. ===================
  17. Once the build has finished you will have the following files:
  18. output/images/
  19. +-- boot.scr
  20. +-- boot.vfat
  21. +-- Image
  22. +-- mpfs_icicle.itb
  23. +-- mpfs_icicle.its
  24. +-- mpfs-icicle-kit.dtb
  25. +-- payload.bin
  26. +-- rootfs.ext2
  27. +-- rootfs.ext4
  28. +-- rootfs.tar
  29. +-- sdcard.img
  30. +-- u-boot.bin
  31. Creating a bootable SD card with genimage
  32. =========================================
  33. By default Buildroot builds a SD card image for you. The first partition
  34. of this image contains a U-Boot binary, embedded in a Hart Software
  35. Services (HSS) payload. The second partition contains a FAT filesystem
  36. with a U-Boot env and an ITB file containing the kernel and the device
  37. tree. The third partition contains the file system. This image can be
  38. written directly to the eMMC or an SD card. All you need to do is dd the
  39. image to the eMMC or your SD card, which can be done with the following
  40. command on your development host:
  41. '$ sudo dd if=output/images/sdcard.img of=/dev/sdb bs=1M'
  42. For instructions on how to transfer the image to the eMMC/SD, please refer to
  43. the "Programming the Linux image" section of our guide on updating
  44. PolarFire SoC dev kits:
  45. https://github.com/polarfire-soc/polarfire-soc-documentation/blob/master/reference-designs-fpga-and-development-kits/updating-mpfs-kit.md.