Does anyone tftpboot the userspace image?

Xo Wang xow at google.com
Sat Jan 21 12:59:48 AEDT 2017


Hi folks,

I noticed from this discussion
https://lists.ozlabs.org/pipermail/openbmc/2016-April/thread.html#2738
that kernel developers were tftpbooting the userspace image from a
obmc-phosphor-image-<machine>.cpio.lzma.u-boot file.

1. How does/did that work? I guess you needed a custom init in the
initrd to load the u-boot container (?) instead of from mtd?

2. Are you still using this? Building the extra .cpio.lzma.u-boot is
kind of slow, with an extra ~45 seconds to do 'find | cpio | lzma;
mkimage' every build, and it can't be parallelized.

I ask because I mailed a change to remove those image products from
the build, then followed the 'blame' to this use case:
https://gerrit.openbmc-project.xyz/#/c/1957/

cheers
xo


More information about the openbmc mailing list