buildroot/board/microchip/mpfs_icicle
Peter Korsgaard 0d1f8ebe92 board/microchip/mpfs_icicle/genimage.cfg: drop legacy gpt = true
Genimage complains about the config using the deprecated gpt option:

INFO: hdimage(sdcard.img): The option 'gpt' is deprecated.  Use
'partition-table-type' instead

So change to partition-table-type for consistency with the other configs.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Tested-by: Jamie Gibbons <jamie.gibbons@microchip.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-01-26 17:02:12 +01:00
..
README.txt configs/microchip_mpfs_icicle: new defconfig 2023-08-08 23:50:17 +02:00
config.yaml configs/microchip_mpfs_icicle: new defconfig 2023-08-08 23:50:17 +02:00
genimage.cfg board/microchip/mpfs_icicle/genimage.cfg: drop legacy gpt = true 2024-01-26 17:02:12 +01:00
linux.fragment configs/microchip_mpfs_icicle: new defconfig 2023-08-08 23:50:17 +02:00
mpfs_icicle.its configs/microchip_mpfs_icicle: new defconfig 2023-08-08 23:50:17 +02:00
post-image.sh board/microchip/mpfs_icicle: update post-image script 2023-08-21 15:04:31 +02:00
uboot-env.txt configs/microchip_mpfs_icicle: new defconfig 2023-08-08 23:50:17 +02:00
uboot-fragment-rootfs.config configs/microchip_mpfs_icicle: new defconfig 2023-08-08 23:50:17 +02:00

README.txt

Microchip PolarFire SoC Icicle Kit
==================================

This file describes how to use the pre-defined Buildroot
configuration for Microchip's PolarFire SoC Icicle Kit.

Further information about the PolarFire SoC Icicle Kit can be found
at https://github.com/polarfire-soc/polarfire-soc-documentation

Building
========

Configure Buildroot using the default board configuration:

  '$ make microchip_mpfs_icicle_defconfig'

Customise the build as necessary:

  '$ make menuconfig'

Start the build:

  '$ make'

Result of the build
===================

Once the build has finished you will have the following files:

    output/images/
    +-- boot.scr
    +-- boot.vfat
    +-- Image
    +-- mpfs_icicle.itb
    +-- mpfs_icicle.its
    +-- mpfs-icicle-kit.dtb
    +-- payload.bin
    +-- rootfs.ext2
    +-- rootfs.ext4
    +-- rootfs.tar
    +-- sdcard.img
    +-- u-boot.bin


Creating a bootable SD card with genimage
=========================================

By default Buildroot builds a SD card image for you. The first partition
of this image contains a U-Boot binary, embedded in a Hart Software
Services (HSS) payload. The second partition contains a FAT filesystem
with a U-Boot env and an ITB file containing the kernel and the device
tree. The third partition contains the file system. This image can be
written directly to the eMMC or an SD card. All you need to do is dd the
image to the eMMC or your SD card, which can be done with the following
command on your development host:

  '$ sudo dd if=output/images/sdcard.img of=/dev/sdb bs=1M'

For instructions on how to transfer the image to the eMMC/SD, please refer to
the "Programming the Linux image" section of our guide on updating
PolarFire SoC dev kits:
https://github.com/polarfire-soc/polarfire-soc-documentation/blob/master/reference-designs-fpga-and-development-kits/updating-mpfs-kit.md.