[PATCH openbmc] Build a tftpboot friendly image.

Brad Bishop bradleyb at fuzziesquirrel.com
Tue Apr 26 11:04:28 AEST 2016


Yep, thats what it does.  Did you use obmc-phosphor-image-<machine>.cpio.lzma.u-boot?

-brad

> On Apr 25, 2016, at 8:35 PM, Cyril Bur <cyrilbur at gmail.com> wrote:
> 
> On Thu, 21 Apr 2016 16:20:29 -0500
> OpenBMC Patches <openbmc-patches at stwcx.xyz> wrote:
> 
>> From: Brad Bishop <bradleyb at fuzziesquirrel.com>
>> 
>> Build a rootfs cpio uimage with everything along with the other
>> images.
> 
> There isn't much to go with, are you saying you're building a initramfs image
> that contains the full openbmc userspace so that a booting system doesn't need
> access to the flash at all. This is exactly what I need right now, thankyou!!
> 
> I've applied this patch, and I THINK I booted with the right file... doesn't
> appear to have worked, it still tried to mount the flash and because I can't
> flash openbmc on my machine I got dropped into recovery shell.
> 
> Thoughts?
> 
> Thanks anyway...
> 
> Cyril
> 
>> ---
>> meta-phosphor/conf/machine/include/obmc-bsp-common.inc | 1 +
>> 1 file changed, 1 insertion(+)
>> 
>> diff --git a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
>> index 60ed088..260cc90 100644
>> --- a/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
>> +++ b/meta-phosphor/conf/machine/include/obmc-bsp-common.inc
>> @@ -14,6 +14,7 @@ UBOOT_SUFFIX ?= "bin"
>> MACHINEOVERRIDES =. "openbmc:"
>> 
>> IMAGE_FSTYPES += "overlay"
>> +IMAGE_FSTYPES += "cpio.${INITRAMFS_CTYPE}.u-boot"
>> IMAGE_INSTALL += "u-boot-fw-utils"
>> 
>> IMAGE_CLASSES += "obmc-phosphor-image_types_uboot"
> 
> _______________________________________________
> openbmc mailing list
> openbmc at lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc


More information about the openbmc mailing list