Openembedded Core Discussions
 help / color / mirror / Atom feed
* [wic][PATCH] wic: add beaglebone.wks
@ 2016-09-21 15:18 Ed Bartosh
  2016-09-21 16:34 ` Maciej Borzęcki
  2016-09-22  6:43 ` Ed Bartosh
  0 siblings, 2 replies; 4+ messages in thread
From: Ed Bartosh @ 2016-09-21 15:18 UTC (permalink / raw)
  To: openembedded-core

Added wks to make an image for Beaglebone board.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
---
 scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks

diff --git a/scripts/lib/wic/canned-wks/beaglebone.wks b/scripts/lib/wic/canned-wks/beaglebone.wks
new file mode 100644
index 0000000..753418e
--- /dev/null
+++ b/scripts/lib/wic/canned-wks/beaglebone.wks
@@ -0,0 +1,7 @@
+# short-description: Create Beaglebone disk image
+# long-description: Creates a partitioned disk image for Beaglebone board
+# which can be directly copied to SD card.
+
+part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
+part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
+
-- 
2.1.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [wic][PATCH] wic: add beaglebone.wks
  2016-09-21 15:18 [wic][PATCH] wic: add beaglebone.wks Ed Bartosh
@ 2016-09-21 16:34 ` Maciej Borzęcki
  2016-09-22  6:40   ` Ed Bartosh
  2016-09-22  6:43 ` Ed Bartosh
  1 sibling, 1 reply; 4+ messages in thread
From: Maciej Borzęcki @ 2016-09-21 16:34 UTC (permalink / raw)
  To: Ed Bartosh; +Cc: Patches and discussions about the oe-core layer

On Wed, Sep 21, 2016 at 5:18 PM, Ed Bartosh <ed.bartosh@linux.intel.com> wrote:
> Added wks to make an image for Beaglebone board.
>
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> ---
>  scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
>  1 file changed, 7 insertions(+)
>  create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks
>
> diff --git a/scripts/lib/wic/canned-wks/beaglebone.wks b/scripts/lib/wic/canned-wks/beaglebone.wks
> new file mode 100644
> index 0000000..753418e
> --- /dev/null
> +++ b/scripts/lib/wic/canned-wks/beaglebone.wks
> @@ -0,0 +1,7 @@
> +# short-description: Create Beaglebone disk image
> +# long-description: Creates a partitioned disk image for Beaglebone board
> +# which can be directly copied to SD card.
> +
> +part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
> +part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
> +

Should be basically the same as sdimage-bootpart.wks as I used BBB
back when I posted it along with some wic fixes. It also used to be
possible to build a usable RaspberryPI image with the same kickstart
file, though I have not tried that lately.

-- 
Maciej Borzecki
RnDity


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [wic][PATCH] wic: add beaglebone.wks
  2016-09-21 16:34 ` Maciej Borzęcki
@ 2016-09-22  6:40   ` Ed Bartosh
  0 siblings, 0 replies; 4+ messages in thread
From: Ed Bartosh @ 2016-09-22  6:40 UTC (permalink / raw)
  To: Maciej Borzęcki; +Cc: Patches and discussions about the oe-core layer

On Wed, Sep 21, 2016 at 06:34:33PM +0200, Maciej Borzęcki wrote:
> On Wed, Sep 21, 2016 at 5:18 PM, Ed Bartosh <ed.bartosh@linux.intel.com> wrote:
> > Added wks to make an image for Beaglebone board.
> >
> > Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> > ---
> >  scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
> >  1 file changed, 7 insertions(+)
> >  create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks
> >
> > diff --git a/scripts/lib/wic/canned-wks/beaglebone.wks b/scripts/lib/wic/canned-wks/beaglebone.wks
> > new file mode 100644
> > index 0000000..753418e
> > --- /dev/null
> > +++ b/scripts/lib/wic/canned-wks/beaglebone.wks
> > @@ -0,0 +1,7 @@
> > +# short-description: Create Beaglebone disk image
> > +# long-description: Creates a partitioned disk image for Beaglebone board
> > +# which can be directly copied to SD card.
> > +
> > +part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
> > +part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
> > +
> 
> Should be basically the same as sdimage-bootpart.wks as I used BBB
> back when I posted it along with some wic fixes. It also used to be
> possible to build a usable RaspberryPI image with the same kickstart
> file, though I have not tried that lately.

Thank you for pointing this out to me. I've just built wic image using
sdimage-bootpart.wks and it worked just fine on my BBB.

I didn't need any fixes though. Have your fixes been merged? Can you
point me out to them?

--
Regards,
Ed


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [wic][PATCH] wic: add beaglebone.wks
  2016-09-21 15:18 [wic][PATCH] wic: add beaglebone.wks Ed Bartosh
  2016-09-21 16:34 ` Maciej Borzęcki
@ 2016-09-22  6:43 ` Ed Bartosh
  1 sibling, 0 replies; 4+ messages in thread
From: Ed Bartosh @ 2016-09-22  6:43 UTC (permalink / raw)
  To: openembedded-core

Please, ignore this patch. It's not needed as fully functional image
can be built using existing wks file sdimage-bootpart.wks

On Wed, Sep 21, 2016 at 06:18:12PM +0300, Ed Bartosh wrote:
> Added wks to make an image for Beaglebone board.
> 
> Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
> ---
>  scripts/lib/wic/canned-wks/beaglebone.wks | 7 +++++++
>  1 file changed, 7 insertions(+)
>  create mode 100644 scripts/lib/wic/canned-wks/beaglebone.wks
> 
> diff --git a/scripts/lib/wic/canned-wks/beaglebone.wks b/scripts/lib/wic/canned-wks/beaglebone.wks
> new file mode 100644
> index 0000000..753418e
> --- /dev/null
> +++ b/scripts/lib/wic/canned-wks/beaglebone.wks
> @@ -0,0 +1,7 @@
> +# short-description: Create Beaglebone disk image
> +# long-description: Creates a partitioned disk image for Beaglebone board
> +# which can be directly copied to SD card.
> +
> +part /boot --ondisk mmcblk0 --label boot --fstype vfat --source bootimg-partition --align 1024 --active
> +part /     --ondisk mmcblk0 --label root --fstype ext4 --source rootfs --align 1024
> +
> -- 
> 2.1.4
> 

-- 
--
Regards,
Ed


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-09-22  6:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-21 15:18 [wic][PATCH] wic: add beaglebone.wks Ed Bartosh
2016-09-21 16:34 ` Maciej Borzęcki
2016-09-22  6:40   ` Ed Bartosh
2016-09-22  6:43 ` Ed Bartosh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox