build meta-zephyr or prebuild image

Patrick Williams patrick at stwcx.xyz
Thu Aug 29 13:16:31 AEST 2024


Hi Vince,

On Wed, Aug 28, 2024 at 08:09:56AM +0000, Vince Chang wrote:
> The next generation ASPEED BMC AST2700 will integrate a RISC-V MCU (BootMCU) as the first stage bootloader, and the firmware will be written with Zephyr RTOS.
> We'd like to seek your guidance on the best approach for this integration.
> I am considering two options:
> 
> 
>   1.  Using a prebuilt image:
> This approach would use a prebuilt image in the build process, which is simple. However, I am concerned about the flexibility and customization options that might be limited with this approach.

We went through similar with Nuvoton's chip and their bootloader.  We do
not prefer the binary prebuilt image, because different companies often
want to be able to customize aspects of it anyhow.  We would like to
have all the code available for them to be able to modify and aware of
what is inside.

>   1.  Adding the meta-zephyr layer:
> This approach would involve adding meta-zephyr. I am considering using "git subtree add meta-zephyr" to integrate it into OpenBMC.
> https://git.yoctoproject.org/meta-zephyr/

If we need to add the meta-zephyr subtree to openbmc, I can help get that
done.  You shouldn't provide instructions like this (using git-subtree).
We have a tool that we use to keep our subtrees in sync with upstream
and I'll have to add it there.

-- 
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/20240828/dc2df72a/attachment.sig>


More information about the openbmc mailing list