Skip to contentSkip to conversation

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

DISCUSSION Patton, Schuyler 2 participants 2 messages Aug 9, 2022

lore
Share & tools
lore
#0 lore raw

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.

Regards,
Schuyler Patton
Sitara MPU System Applications
Texas Instruments

#1 lore raw
Quoted 5 lines · Schuyler

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"
```
Signature · 1 line
Patrick Williams