* [PATCH openbmc] Build a tftpboot friendly image.
@ 2016-04-21 21:20 OpenBMC Patches
2016-04-21 21:20 ` OpenBMC Patches
2016-04-21 22:24 ` Milton Miller II
0 siblings, 2 replies; 9+ messages in thread
From: OpenBMC Patches @ 2016-04-21 21:20 UTC (permalink / raw)
To: openbmc
Build a rootfs cpio uimage with everything along with the other
images.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/openbmc/openbmc/237)
<!-- Reviewable:end -->
https://github.com/openbmc/openbmc/pull/237
Brad Bishop (1):
Build a tftpboot friendly image.
meta-phosphor/conf/machine/include/obmc-bsp-common.inc | 1 +
1 file changed, 1 insertion(+)
--
2.8.1
^ permalink raw reply [flat|nested] 9+ messages in thread
* [PATCH openbmc] Build a tftpboot friendly image.
2016-04-21 21:20 [PATCH openbmc] Build a tftpboot friendly image OpenBMC Patches
@ 2016-04-21 21:20 ` OpenBMC Patches
2016-04-26 0:35 ` Cyril Bur
2016-04-21 22:24 ` Milton Miller II
1 sibling, 1 reply; 9+ messages in thread
From: OpenBMC Patches @ 2016-04-21 21:20 UTC (permalink / raw)
To: openbmc; +Cc: Brad Bishop
From: Brad Bishop <bradleyb@fuzziesquirrel.com>
Build a rootfs cpio uimage with everything along with the other
images.
---
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"
--
2.8.1
^ permalink raw reply related [flat|nested] 9+ messages in thread
* Re: [PATCH openbmc] Build a tftpboot friendly image.
2016-04-21 21:20 [PATCH openbmc] Build a tftpboot friendly image OpenBMC Patches
2016-04-21 21:20 ` OpenBMC Patches
@ 2016-04-21 22:24 ` Milton Miller II
1 sibling, 0 replies; 9+ messages in thread
From: Milton Miller II @ 2016-04-21 22:24 UTC (permalink / raw)
To: bradleyb; +Cc: openbmc
[-- Attachment #1: Type: text/html, Size: 2987 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH openbmc] Build a tftpboot friendly image.
2016-04-21 21:20 ` OpenBMC Patches
@ 2016-04-26 0:35 ` Cyril Bur
2016-04-26 1:04 ` Brad Bishop
0 siblings, 1 reply; 9+ messages in thread
From: Cyril Bur @ 2016-04-26 0:35 UTC (permalink / raw)
To: Brad Bishop; +Cc: OpenBMC Patches, openbmc
On Thu, 21 Apr 2016 16:20:29 -0500
OpenBMC Patches <openbmc-patches@stwcx.xyz> wrote:
> From: Brad Bishop <bradleyb@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"
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH openbmc] Build a tftpboot friendly image.
2016-04-26 0:35 ` Cyril Bur
@ 2016-04-26 1:04 ` Brad Bishop
2016-04-26 1:10 ` Cyril Bur
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: Brad Bishop @ 2016-04-26 1:04 UTC (permalink / raw)
To: Cyril Bur; +Cc: OpenBMC Patches
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@gmail.com> wrote:
>
> On Thu, 21 Apr 2016 16:20:29 -0500
> OpenBMC Patches <openbmc-patches@stwcx.xyz> wrote:
>
>> From: Brad Bishop <bradleyb@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@lists.ozlabs.org
> https://lists.ozlabs.org/listinfo/openbmc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH openbmc] Build a tftpboot friendly image.
2016-04-26 1:04 ` Brad Bishop
@ 2016-04-26 1:10 ` Cyril Bur
2016-04-26 1:50 ` Cyril Bur
2016-04-27 1:38 ` Cyril Bur
2 siblings, 0 replies; 9+ messages in thread
From: Cyril Bur @ 2016-04-26 1:10 UTC (permalink / raw)
To: Brad Bishop; +Cc: OpenBMC Patches
On Mon, 25 Apr 2016 21:04:28 -0400
Brad Bishop <bradleyb@fuzziesquirrel.com> wrote:
> Yep, thats what it does. Did you use obmc-phosphor-image-<machine>.cpio.lzma.u-boot?
>
Ah, nope that file doesn't appear to exist in my images directory. This must be
my fault, I don't really have any idea how to use bitbake more than what is on
the openbmc wiki, I hoped simply rerunning `bitbake openbmc-phosphor-image`
would have worked... doesn't appear to have created the file.
Thanks for the quick response.
Cyril
> -brad
>
> > On Apr 25, 2016, at 8:35 PM, Cyril Bur <cyrilbur@gmail.com> wrote:
> >
> > On Thu, 21 Apr 2016 16:20:29 -0500
> > OpenBMC Patches <openbmc-patches@stwcx.xyz> wrote:
> >
> >> From: Brad Bishop <bradleyb@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@lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/openbmc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH openbmc] Build a tftpboot friendly image.
2016-04-26 1:04 ` Brad Bishop
2016-04-26 1:10 ` Cyril Bur
@ 2016-04-26 1:50 ` Cyril Bur
2016-04-27 1:38 ` Cyril Bur
2 siblings, 0 replies; 9+ messages in thread
From: Cyril Bur @ 2016-04-26 1:50 UTC (permalink / raw)
To: Brad Bishop; +Cc: OpenBMC Patches
On Mon, 25 Apr 2016 21:04:28 -0400
Brad Bishop <bradleyb@fuzziesquirrel.com> wrote:
> Yep, thats what it does. Did you use obmc-phosphor-image-<machine>.cpio.lzma.u-boot?
>
So just did a clean build, I removed the entire build directory and started
again. Still no file of that name...
Just to confirm, I'm definitely looking for
`obmc-phosphor-image-<machine>.cpio.lzma.u-boot`? Based off your patch that is
what I would expect and I don't see any files that appear to be what I want
anyway...
Thanks,
Cyril
> -brad
>
> > On Apr 25, 2016, at 8:35 PM, Cyril Bur <cyrilbur@gmail.com> wrote:
> >
> > On Thu, 21 Apr 2016 16:20:29 -0500
> > OpenBMC Patches <openbmc-patches@stwcx.xyz> wrote:
> >
> >> From: Brad Bishop <bradleyb@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@lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/openbmc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH openbmc] Build a tftpboot friendly image.
2016-04-26 1:04 ` Brad Bishop
2016-04-26 1:10 ` Cyril Bur
2016-04-26 1:50 ` Cyril Bur
@ 2016-04-27 1:38 ` Cyril Bur
2016-04-27 6:16 ` Joel Stanley
2 siblings, 1 reply; 9+ messages in thread
From: Cyril Bur @ 2016-04-27 1:38 UTC (permalink / raw)
To: Brad Bishop; +Cc: OpenBMC Patches
On Mon, 25 Apr 2016 21:04:28 -0400
Brad Bishop <bradleyb@fuzziesquirrel.com> wrote:
> Yep, thats what it does. Did you use obmc-phosphor-image-<machine>.cpio.lzma.u-boot?
>
It appears I had my machine configuration missing a file.
The file spawns now, works great!
I'll add my tested by here
Tested-by: Cyril Bur <cyrilbur@gmail.com>
> -brad
>
> > On Apr 25, 2016, at 8:35 PM, Cyril Bur <cyrilbur@gmail.com> wrote:
> >
> > On Thu, 21 Apr 2016 16:20:29 -0500
> > OpenBMC Patches <openbmc-patches@stwcx.xyz> wrote:
> >
> >> From: Brad Bishop <bradleyb@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@lists.ozlabs.org
> > https://lists.ozlabs.org/listinfo/openbmc
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [PATCH openbmc] Build a tftpboot friendly image.
2016-04-27 1:38 ` Cyril Bur
@ 2016-04-27 6:16 ` Joel Stanley
0 siblings, 0 replies; 9+ messages in thread
From: Joel Stanley @ 2016-04-27 6:16 UTC (permalink / raw)
To: Cyril Bur; +Cc: Brad Bishop, OpenBMC Patches
On Wed, Apr 27, 2016 at 11:08 AM, Cyril Bur <cyrilbur@gmail.com> wrote:
> On Mon, 25 Apr 2016 21:04:28 -0400
> Brad Bishop <bradleyb@fuzziesquirrel.com> wrote:
>
>> Yep, thats what it does. Did you use obmc-phosphor-image-<machine>.cpio.lzma.u-boot?
>>
>
> It appears I had my machine configuration missing a file.
>
> The file spawns now, works great!
>
> I'll add my tested by here
>
> Tested-by: Cyril Bur <cyrilbur@gmail.com>
I really like this idea. It removes some of the barriers for testing
using the openbmc userspace when doing kernel work.
Reviewed-by: Joel Stanley <joel@jms.id.au>
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2016-04-27 6:17 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-21 21:20 [PATCH openbmc] Build a tftpboot friendly image OpenBMC Patches
2016-04-21 21:20 ` OpenBMC Patches
2016-04-26 0:35 ` Cyril Bur
2016-04-26 1:04 ` Brad Bishop
2016-04-26 1:10 ` Cyril Bur
2016-04-26 1:50 ` Cyril Bur
2016-04-27 1:38 ` Cyril Bur
2016-04-27 6:16 ` Joel Stanley
2016-04-21 22:24 ` Milton Miller II
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.