Question on build initial release and getting a root file system for initial testing

Patrick Williams patrick at stwcx.xyz
Wed Aug 10 03:10:53 AEST 2022


On Tue, Aug 09, 2022 at 04:37:04PM +0000, Patton, Schuyler wrote:
> Hi,
> 
> I am looking for any recommendations someone might have on how to just build an initial root file system of openbmc on a platform new to openbmc. We have added machine name and our build is failing at trying to build fit images but believe everything has been built
> 
> Is there a recipe that will assemble just a tar file or ext4 image that has all the bmc applications installed? I can add the kernel and modules independently if necessary.

Usually the pieces will end up in tmp/deploy/image/<machine>.
`obmc-phosphor-image-<machine>.*` are likely the rootfs pieces you're
looking for.  If everything has been built right you'll probably also
see initramfs, kernel, DTS, and u-boot blobs.

For the rootfs you'll likely see a squashfs-xz file, which is derived
from this:

```
classes/image_types_phosphor.bbclass:IMAGE_BASETYPE ?= "squashfs-xz"
```

-- 
Patrick Williams
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20220809/5907fa13/attachment.sig>


More information about the openbmc mailing list