[Buildroot] [PATCH 2/2] board/sifive: Update hifive_unleashed_defconfig and genimage.cfg

Bin Meng bmeng.cn at gmail.com
Tue Jan 26 06:35:27 UTC 2021


On Sun, Jan 24, 2021 at 5:01 AM Thomas Petazzoni
<thomas.petazzoni at bootlin.com> wrote:
>
> 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 ?

As I mentioned I meant to have a backup in SPI flash for recovery.
Since this is causing confusion, I can remove this configuration
completely in v2.

Regards,
Bin



More information about the buildroot mailing list