Re: [meta-intel] Building image for legacy BIOS

2018-08-01 Thread Anuj Mittal
On 08/02/2018 01:28 PM, Teemu K wrote:
> On Thu, Aug 2, 2018 at 8:07 AM, Anuj Mittal  wrote:
>> On 08/02/2018 12:57 PM, Anuj Mittal wrote:
>>> On 08/02/2018 11:54 AM, Teemu K wrote:
 Hi,

 It's been awhile since I last time compiled Yocto for x86 using
 meta-intel so a lot has changed.

 I have x86 based HW I'm compiling Yocto image (Yocto version 2.4)
 using latest meta-intel for that Yocto.

 Image compiles ok, but it seems that the wic-file is for UEFI and I
 understood that meta-intel defaults to that nowadays.

 I tried to remove 'efi' from MACHINE_FEATURES and have 'pcbios' there,
 but still it seems to create UEFI image.

 How to I force legacy BIOS - image creation?
>>>
>>> You should be able to create a wic image with meta-intel and legacy BIOS
>>> using directdisk.wks from OE-Core [1]
>>>
>>> Assuming that you already have an image built:
>>>
>>> wic -e  
>>
>> Sorry I meant, wic create -e  
>>
> I already have wic-file. Problem is that it's for UEFI and device with
> legacy BIOS won't be able to boot from it. I assume that I need wks -
> file that creates image for legacy BIOS and that I do not have nor
> have I managed to find. Seems that all the examples I'm able to find
> creates UEFI image.
> 

You will have to create the image using the wks file I pointed to.
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] Building image for legacy BIOS

2018-08-01 Thread Teemu K
On Thu, Aug 2, 2018 at 8:07 AM, Anuj Mittal  wrote:
> On 08/02/2018 12:57 PM, Anuj Mittal wrote:
>> On 08/02/2018 11:54 AM, Teemu K wrote:
>>> Hi,
>>>
>>> It's been awhile since I last time compiled Yocto for x86 using
>>> meta-intel so a lot has changed.
>>>
>>> I have x86 based HW I'm compiling Yocto image (Yocto version 2.4)
>>> using latest meta-intel for that Yocto.
>>>
>>> Image compiles ok, but it seems that the wic-file is for UEFI and I
>>> understood that meta-intel defaults to that nowadays.
>>>
>>> I tried to remove 'efi' from MACHINE_FEATURES and have 'pcbios' there,
>>> but still it seems to create UEFI image.
>>>
>>> How to I force legacy BIOS - image creation?
>>
>> You should be able to create a wic image with meta-intel and legacy BIOS
>> using directdisk.wks from OE-Core [1]
>>
>> Assuming that you already have an image built:
>>
>> wic -e  
>
> Sorry I meant, wic create -e  
>
I already have wic-file. Problem is that it's for UEFI and device with
legacy BIOS won't be able to boot from it. I assume that I need wks -
file that creates image for legacy BIOS and that I do not have nor
have I managed to find. Seems that all the examples I'm able to find
creates UEFI image.

-TeemuK
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] Building image for legacy BIOS

2018-08-01 Thread Anuj Mittal
On 08/02/2018 12:57 PM, Anuj Mittal wrote:
> On 08/02/2018 11:54 AM, Teemu K wrote:
>> Hi,
>>
>> It's been awhile since I last time compiled Yocto for x86 using
>> meta-intel so a lot has changed.
>>
>> I have x86 based HW I'm compiling Yocto image (Yocto version 2.4)
>> using latest meta-intel for that Yocto.
>>
>> Image compiles ok, but it seems that the wic-file is for UEFI and I
>> understood that meta-intel defaults to that nowadays.
>>
>> I tried to remove 'efi' from MACHINE_FEATURES and have 'pcbios' there,
>> but still it seems to create UEFI image.
>>
>> How to I force legacy BIOS - image creation?
> 
> You should be able to create a wic image with meta-intel and legacy BIOS
> using directdisk.wks from OE-Core [1]
> 
> Assuming that you already have an image built:
> 
> wic -e  

Sorry I meant, wic create -e  

Thanks,
Anuj
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


Re: [meta-intel] Building image for legacy BIOS

2018-08-01 Thread Anuj Mittal
On 08/02/2018 11:54 AM, Teemu K wrote:
> Hi,
> 
> It's been awhile since I last time compiled Yocto for x86 using
> meta-intel so a lot has changed.
> 
> I have x86 based HW I'm compiling Yocto image (Yocto version 2.4)
> using latest meta-intel for that Yocto.
> 
> Image compiles ok, but it seems that the wic-file is for UEFI and I
> understood that meta-intel defaults to that nowadays.
> 
> I tried to remove 'efi' from MACHINE_FEATURES and have 'pcbios' there,
> but still it seems to create UEFI image.
> 
> How to I force legacy BIOS - image creation?

You should be able to create a wic image with meta-intel and legacy BIOS
using directdisk.wks from OE-Core [1]

Assuming that you already have an image built:

wic -e  

[1]
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/canned-wks/directdisk.wks
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] Building image for legacy BIOS

2018-08-01 Thread Teemu K
Hi,

It's been awhile since I last time compiled Yocto for x86 using
meta-intel so a lot has changed.

I have x86 based HW I'm compiling Yocto image (Yocto version 2.4)
using latest meta-intel for that Yocto.

Image compiles ok, but it seems that the wic-file is for UEFI and I
understood that meta-intel defaults to that nowadays.

I tried to remove 'efi' from MACHINE_FEATURES and have 'pcbios' there,
but still it seems to create UEFI image.

How to I force legacy BIOS - image creation?

I used intel-core2-32 - machine config in my tests.

-TeemuK
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] [PATCH] lms8: remove

2018-08-01 Thread Anuj Mittal
Obsolete and not being maintained anymore.

Signed-off-by: Anuj Mittal 
---
 conf/include/maintainers.inc  |1 -
 ...0001-Include-sys-select.h-for-fd_set.patch |   28 -
 ...dd-whitespace-for-gcc6-compile-error.patch |   31 -
 .../0002-Use-proper-netinet-in.h-API.patch|   31 -
 ...-referance-to-dev-mei0-remove-select.patch |   91 -
 ...-AMT-ME-real-time-notification-infra.patch | 2647 -
 .../amt/lms/readlink-declaration.patch|   18 -
 recipes-bsp/amt/lms8_8.0.0-7.bb   |   46 -
 8 files changed, 2893 deletions(-)
 delete mode 100644 
recipes-bsp/amt/lms/0001-Include-sys-select.h-for-fd_set.patch
 delete mode 100644 
recipes-bsp/amt/lms/0001-Protocol.cpp-Add-whitespace-for-gcc6-compile-error.patch
 delete mode 100644 recipes-bsp/amt/lms/0002-Use-proper-netinet-in.h-API.patch
 delete mode 100644 
recipes-bsp/amt/lms/0003-Fix-device-file-referance-to-dev-mei0-remove-select.patch
 delete mode 100644 
recipes-bsp/amt/lms/0004-Intel-AMT-ME-real-time-notification-infra.patch
 delete mode 100644 recipes-bsp/amt/lms/readlink-declaration.patch
 delete mode 100644 recipes-bsp/amt/lms8_8.0.0-7.bb

diff --git a/conf/include/maintainers.inc b/conf/include/maintainers.inc
index 5d04b30..3ddd1e7 100644
--- a/conf/include/maintainers.inc
+++ b/conf/include/maintainers.inc
@@ -12,6 +12,5 @@ RECIPE_MAINTAINER_pn-libyami = "Anuj Mittal 
"
 RECIPE_MAINTAINER_pn-libyami-utils = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-linux-intel = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-linux-intel-rt = "Anuj Mittal "
-RECIPE_MAINTAINER_pn-lms8 = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-thermald = "Anuj Mittal "
 RECIPE_MAINTAINER_pn-xf86-video-ast = "Anuj Mittal "
diff --git a/recipes-bsp/amt/lms/0001-Include-sys-select.h-for-fd_set.patch 
b/recipes-bsp/amt/lms/0001-Include-sys-select.h-for-fd_set.patch
deleted file mode 100644
index e28d45a..000
--- a/recipes-bsp/amt/lms/0001-Include-sys-select.h-for-fd_set.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From 518a3a277c89a3d6b0a9d3ee552cfa33a1dbd5c6 Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen 
-Date: Mon, 23 Jan 2017 20:45:08 +0200
-Subject: [PATCH 1/2] Include sys/select.h for fd_set()
-
-This is needed at least on musl.
-
-Upstream-Status: Pending
-Signed-off-by: Jussi Kukkonen 

- src/mei/MEILinux.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/src/mei/MEILinux.cpp b/src/mei/MEILinux.cpp
-index 1e9d28f..631270e 100755
 a/src/mei/MEILinux.cpp
-+++ b/src/mei/MEILinux.cpp
-@@ -37,6 +37,7 @@
- #include 
- #include 
- #include 
-+#include 
- #include 
- #include 
- #include 
--- 
-2.1.4
-
diff --git 
a/recipes-bsp/amt/lms/0001-Protocol.cpp-Add-whitespace-for-gcc6-compile-error.patch
 
b/recipes-bsp/amt/lms/0001-Protocol.cpp-Add-whitespace-for-gcc6-compile-error.patch
deleted file mode 100644
index 17b206e..000
--- 
a/recipes-bsp/amt/lms/0001-Protocol.cpp-Add-whitespace-for-gcc6-compile-error.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 8d737ba9745bef223c3d3b96899f11c26102ea04 Mon Sep 17 00:00:00 2001
-From: Saul Wold 
-Date: Mon, 16 May 2016 09:01:05 -0700
-Subject: [PATCH] Protocol.cpp: Add whitespace for gcc6 compile error
-
-When moving from C++-3 -> C++11 additiona white space is required between
-User-defined literals.
-
-Upstream-Status: Pending
-
-Signed-off-by: Saul Wold 

- src/Protocol.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/Protocol.cpp b/src/Protocol.cpp
-index 1c21a0f..3a4a9bb 100755
 a/src/Protocol.cpp
-+++ b/src/Protocol.cpp
-@@ -1428,7 +1428,7 @@ int Protocol::_handleFQDNChange(const char *fqdn)
-   char host[FQDN_MAX_SIZE + 1];
- #define LMS_MAX_LINE_LEN 1023
-   char line[LMS_MAX_LINE_LEN + 1];
--#define LMS_LINE_SIG_FIRST_WORDS(a) "# LMS GENERATED "a" "
-+#define LMS_LINE_SIG_FIRST_WORDS(a) "# LMS GENERATED " a " "
- #define LMS_LINE_SIG_LAST_WORD "LINE"
- #define LMS_LINE_SIG_LAST_WORD_LEN 4
- #define LMS_LINE_SIG(a) LMS_LINE_SIG_FIRST_WORDS(a) LMS_LINE_SIG_LAST_WORD
--- 
-2.5.0
-
diff --git a/recipes-bsp/amt/lms/0002-Use-proper-netinet-in.h-API.patch 
b/recipes-bsp/amt/lms/0002-Use-proper-netinet-in.h-API.patch
deleted file mode 100644
index fa2e29a..000
--- a/recipes-bsp/amt/lms/0002-Use-proper-netinet-in.h-API.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 0adc925ca9e005f93d77f373ccda2a6c6cc3ff2f Mon Sep 17 00:00:00 2001
-From: Jussi Kukkonen 
-Date: Mon, 23 Jan 2017 20:46:50 +0200
-Subject: [PATCH 2/2] Use proper netinet/in.h API
-
-in6addr is only guaranteed to contain this member:
-uint8_t s6_addr[16]
-Use that instead of the glibc implementation detail __in6_u.
-
-Upstream-Status: Pending
-Signed-off-by: Jussi Kukkonen 

- src/tools/ATNetworkTool.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/tools/ATNetworkTool.cpp b/src/tools/ATNetworkTool.cpp
-index 66e27df..0789c79 100755
 a/src/tools/ATNetworkTool.cpp
-+++ b/src/tools/ATNetworkTool.cpp
-@@ -207,7 +207,7 @@ int ATNetworkTool::GetSockPeerIP(int sock, 

Re: [meta-intel] Unable to build yocto for Intel Mohon Peak CRB

2018-08-01 Thread Burton, Ross
On 1 August 2018 at 15:13, Dhanasekar Jaganathan
 wrote:
> OSError: [Errno 13] Permission denied:
> '/home/server/Dhanasekar/Server-BIOS/yocto/poky/build/cache'

For whatever reason you don't have permission to write to this folder,
but the build can't even start without that.  Check your permissions.

Ross
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel


[meta-intel] Unable to build yocto for Intel Mohon Peak CRB

2018-08-01 Thread Dhanasekar Jaganathan
Hi All,

I am new to yocto project. I am trying to build yocto for intel mohon peak
CRB.
After executing build instruction (bitbake core-image-sato-sdk), I am
getting below error.


FYI: I am following steps in "

*Intel ® AtomTM Processor C2000Product Family for
CommunicationsInfrastructure Software for Linux**"

Can you please help me to solve this error?. If I am wrong,Please correct
me.


*Unable to create 'pyshtables.py'*






*[Errno 13] Permission denied: 'pyshtables.py'Pseudo is not present but is
required, building this first before the main buildUnable to create
'pyshtables.py'[Errno 13] Permission denied: 'pyshtables.py'ERROR: Error
parsing configuration filesTraceback (most recent call last):  File
"/home/server/Dhanasekar/**Server-BIOS/yocto/poky/**bitbake/lib/bb/cooker.py",
line 201, in BBCooker.*
*loadConfigurationData(): self.parseConfigurationFiles(*
*self.configuration.prefile,> *

*self.configuration.postfile) except SyntaxError:
File 
"/home/server/Dhanasekar/**Server-BIOS/yocto/poky/**bitbake/lib/bb/cooker.py",
line 988, in BBCooker.**parseConfigurationFiles(*
*prefiles=[], postfiles=[]): if data.getVar("BB_WORKERCONTEXT"*

*, False) is None:>bb.fetch.fetcher_init(data)
bb.codeparser.parser_cache_*
*init(data)  File "/home/server/Dhanasekar/**Server-BIOS/yocto/poky/*
*bitbake/lib/bb/fetch2/__init__**.py", line 463, in
fetcher_init(d=): logger.debug(1,
"Clearing SRCREV cache due to cache policy of: %s", srcrev_policy)
>revs = bb.persist_data.persist('BB_*

*URI_HEADREVS', d) try:  File "/home/server/Dhanasekar/*
*Server-BIOS/yocto/poky/**bitbake/lib/bb/persist_data.**py", line 213, in
persist(domain='BB_URI_*



*HEADREVS', d=):
>bb.utils.mkdirhier(cachedir) cachefile =
os.path.join(cachedir, "bb_persist_data.sqlite3")  File
"/home/server/Dhanasekar/**Server-BIOS/yocto/poky/**bitbake/lib/bb/utils.py",
line 588, in mkdirhier(directory='/home/**server/Dhanasekar/Server-BIOS/*



*yocto/poky/build/cache'): if e.errno != errno.EEXIST:
>raise e OSError: [Errno 13] Permission denied:
'/home/server/Dhanasekar/**Server-BIOS/yocto/poky/build/*
*cache'*

Thanks,
Dhanasekar
-- 
___
meta-intel mailing list
meta-intel@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-intel