[Buildroot] [PATCH 2/2] board/sifive: Update hifive_unleashed_defconfig and genimage.cfg
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Jan 23 21:01:13 UTC 2021
Hello,
On Sun, 17 Jan 2021 18:28:11 +0800
Bin Meng <bmeng.cn at gmail.com> wrote:
> > > + partition rootfs {
> > > + image = "rootfs.ext4"
> > > + partition-type-uuid = 0FC63DAF-8483-4772-8E79-3D69D8477DE4
> > > + bootable = true
> > > + }
> > > +}
> >
> > This looks strange. You really use a GPT partition table on SPI flash,
> > and use an ext4 filesystem on a SPI flash ?
> >
>
> When booting from SPI flash, the GPT partition is required by the ZSBL
> on the board to load U-Boot SPL images. The kernel still uses ext4 on
> the SD card as the rootfs. The SPI flash is just the backup for the
> rootfs.
Then why does your SPI flash image contains a root filesystem partition ?
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list