[yocto] Building core-image-base for PPC64

2016-11-19 Thread George Migdos
Hello,

I would like to build and run the core-image-base recipe for PPC64 using
Toaster on Linux Mint 18 64-bit (4.4.0-21-generic).

When using the Morty release I do not seem to be able to find a compatible
machine, whereas when using the current master HEAD (commit id:
7c3a47ed8965c3a3eb90a9a4678d5caedbba6337
)
there seems to be a QEmu ppc64 compatible machine (and the related qemu
layers) but the build fails during the parsing stage.

Is it at all possible to build and run core-image-base for an emulated
PPC64 system?

Thank you for your time.
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] ***SPAM*** [raspberrypi] raspi3 vs raspi2

2016-11-19 Thread Herve Jourdain
Hi,

I'm in the process of pushing something that should hopefully do that - and 
more.
I hope I can finish pushing it in the next few days.

Cheers,

Herve

> On 19 nov. 2016, at 05:20, Trevor Woerner  wrote:
> 
> Hi,
> 
> I was wondering if there were any plans to create a MACHINE=raspberrypi3 that
> treats the raspi3 like the CortexA53 that it is instead of generating images
> that are backwards compatible with the CortexA7 that is the raspi2?
> 
> Best regards,
>Trevor
> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 0/1] Modify raspberrypi3.conf and add raspberrypi3-64.conf

2016-11-19 Thread Herve Jourdain
Modify raspberrypi3.conf to use cortexa53 instead of being treated like a 
raspberrypi2
Add raspberrypi3-64.conf, to support armv8 / 64 bits on raspberrypi3

Herve Jourdain (2):
  Modify raspberrypi3.conf to use cortexa53 instead of being treated
like a raspberrypi2 Add raspberrypi3-64.conf, to support armv8 /
64 bits on raspberrypi3

 conf/machine/raspberrypi3-64.conf | 19 +++
 conf/machine/raspberrypi3.conf|  8 ++--
 2 files changed, 25 insertions(+), 2 deletions(-)
 create mode 100644 conf/machine/raspberrypi3-64.conf

-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [meta-raspberrypi][PATCH 1/1] Modify raspberrypi3.conf and add raspberrypi3-64.conf

2016-11-19 Thread Herve Jourdain
Signed-off-by: Herve Jourdain 
---
 conf/machine/raspberrypi3-64.conf | 19 +++
 conf/machine/raspberrypi3.conf|  8 ++--
 2 files changed, 25 insertions(+), 2 deletions(-)
 create mode 100644 conf/machine/raspberrypi3-64.conf

diff --git a/conf/machine/raspberrypi3-64.conf 
b/conf/machine/raspberrypi3-64.conf
new file mode 100644
index 000..a5ceddb
--- /dev/null
+++ b/conf/machine/raspberrypi3-64.conf
@@ -0,0 +1,19 @@
+#@TYPE: Machine
+#@NAME: RaspberryPi 3 Development Board
+#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode
+
+DEFAULTTUNE ?= "cortexa53-64"
+
+MACHINEOVERRIDES = "raspberrypi3:raspberrypi:${MACHINE}"
+
+MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
+
+PREFERRED_VERSION_linux-raspberrypi_raspberrypi3-64 ?= "4.7.%"
+
+require conf/machine/include/tune-cortexa53.inc
+include conf/machine/include/rpi-base.inc
+
+SERIAL_CONSOLE = "115200 ttyS0"
+VC4_CMA_SIZE ?= "cma-256"
+
+UBOOT_MACHINE = "rpi_3_config"
diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
index 9820209..f142323 100644
--- a/conf/machine/raspberrypi3.conf
+++ b/conf/machine/raspberrypi3.conf
@@ -2,12 +2,16 @@
 #@NAME: RaspberryPi 3 Development Board
 #@DESCRIPTION: Machine configuration for the RaspberryPi 3
 
-MACHINEOVERRIDES = "raspberrypi2:${MACHINE}"
+DEFAULTTUNE ?= "cortexa53-32"
+
+MACHINEOVERRIDES = "raspberrypi2:raspberrypi:${MACHINE}"
 
 MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
 
-include conf/machine/raspberrypi2.conf
+require conf/machine/include/tune-cortexa53.inc
+include conf/machine/include/rpi-base.inc
 
 SERIAL_CONSOLE = "115200 ttyS0"
 VC4_CMA_SIZE ?= "cma-256"
 
+UBOOT_MACHINE = "rpi_3_config"
-- 
2.7.4

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] any yocto-supported ARM boards out there with BLE/BT?

2016-11-19 Thread Robert P. J. Day

  hoping someone can give me pointers ... i'm teaching an OE/yocto
class in january, client would prefer buying a bunch of
yocto-supported ARM boards that have BLE (bluetooth low energy) for
the students in the class.

  any suggestions? the boards need to be available, well, pretty much
now, and buyable from a major distributor. BLE is not a deal-breaker,
just would be nice.

  suggestions?

rday

-- 


Robert P. J. Day Ottawa, Ontario, CANADA
http://crashcourse.ca

Twitter:   http://twitter.com/rpjday
LinkedIn:   http://ca.linkedin.com/in/rpjday


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] any yocto-supported ARM boards out there with BLE/BT?

2016-11-19 Thread Martin Bergek
How about Raspberry Pi 3? It has both Bluetooth 4.1 and LE support in hardware 
at least and the board is cheap and should be widely available. I just added 
the bluez5 package to my build but haven’t had time to test it out yet.

Good luck!

BR,
Martin Bergek


> On 19 Nov 2016, at 15:28, Robert P. J. Day  wrote:
> 
> 
>  hoping someone can give me pointers ... i'm teaching an OE/yocto
> class in january, client would prefer buying a bunch of
> yocto-supported ARM boards that have BLE (bluetooth low energy) for
> the students in the class.
> 
>  any suggestions? the boards need to be available, well, pretty much
> now, and buyable from a major distributor. BLE is not a deal-breaker,
> just would be nice.
> 
>  suggestions?
> 
> rday
> 
> -- 
> 
> 
> Robert P. J. Day Ottawa, Ontario, CANADA
>http://crashcourse.ca
> 
> Twitter:   http://twitter.com/rpjday
> LinkedIn:   http://ca.linkedin.com/in/rpjday
> 
> 
> -- 
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [raspberrypi] raspi3 vs raspi2

2016-11-19 Thread Khem Raj
On Fri, Nov 18, 2016 at 1:20 PM, Trevor Woerner  wrote:
> Hi,
>
> I was wondering if there were any plans to create a MACHINE=raspberrypi3 that
> treats the raspi3 like the CortexA53 that it is instead of generating images
> that are backwards compatible with the CortexA7 that is the raspi2?

Thats a good question. I know few folks who have done 64bit port of OE on rpi3
so I would be interested in such patches where we add rpi3-64 machine type.
do you have patches to submit ? Please do

>
> Best regards,
> Trevor
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] ***SPAM*** [raspberrypi] raspi3 vs raspi2

2016-11-19 Thread Khem Raj
Thanks Herve,

Btw. can you fix your filters so it does not show SPAM in your replies ?
it breaks the thread chains.

On Sat, Nov 19, 2016 at 2:54 AM, Herve Jourdain  wrote:
> Hi,
>
> I'm in the process of pushing something that should hopefully do that - and 
> more.
> I hope I can finish pushing it in the next few days.
>
> Cheers,
>
> Herve
>
>> On 19 nov. 2016, at 05:20, Trevor Woerner  wrote:
>>
>> Hi,
>>
>> I was wondering if there were any plans to create a MACHINE=raspberrypi3 that
>> treats the raspi3 like the CortexA53 that it is instead of generating images
>> that are backwards compatible with the CortexA7 that is the raspi2?
>>
>> Best regards,
>>Trevor
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Building core-image-base for PPC64

2016-11-19 Thread Khem Raj
On Sat, Nov 19, 2016 at 1:41 AM, George Migdos  wrote:
> Hello,
>
> I would like to build and run the core-image-base recipe for PPC64 using
> Toaster on Linux Mint 18 64-bit (4.4.0-21-generic).
>
> When using the Morty release I do not seem to be able to find a compatible
> machine, whereas when using the current master HEAD (commit id:
> 7c3a47ed8965c3a3eb90a9a4678d5caedbba6337) there seems to be a QEmu ppc64
> compatible machine (and the related qemu layers) but the build fails during
> the parsing stage.
>
> Is it at all possible to build and run core-image-base for an emulated PPC64
> system?

Usually, you would go to layerindex and look for machine/layer/recipe
you are looking for

e.g.

https://layers.openembedded.org/layerindex/branch/master/machines/?q=ppc64


>
> Thank you for your time.
>
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/1] Modify raspberrypi3.conf and add raspberrypi3-64.conf

2016-11-19 Thread Khem Raj
Thanks for this patch. It depends upon a OE-Core patch, so dont apply
it yet. but I will stage it into my master and test it out.

On Sat, Nov 19, 2016 at 5:03 AM, Herve Jourdain  wrote:
> Signed-off-by: Herve Jourdain 
> ---
>  conf/machine/raspberrypi3-64.conf | 19 +++
>  conf/machine/raspberrypi3.conf|  8 ++--
>  2 files changed, 25 insertions(+), 2 deletions(-)
>  create mode 100644 conf/machine/raspberrypi3-64.conf
>
> diff --git a/conf/machine/raspberrypi3-64.conf 
> b/conf/machine/raspberrypi3-64.conf
> new file mode 100644
> index 000..a5ceddb
> --- /dev/null
> +++ b/conf/machine/raspberrypi3-64.conf
> @@ -0,0 +1,19 @@
> +#@TYPE: Machine
> +#@NAME: RaspberryPi 3 Development Board
> +#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode
> +
> +DEFAULTTUNE ?= "cortexa53-64"
> +
> +MACHINEOVERRIDES = "raspberrypi3:raspberrypi:${MACHINE}"
> +
> +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
> +
> +PREFERRED_VERSION_linux-raspberrypi_raspberrypi3-64 ?= "4.7.%"
> +
> +require conf/machine/include/tune-cortexa53.inc
> +include conf/machine/include/rpi-base.inc
> +
> +SERIAL_CONSOLE = "115200 ttyS0"
> +VC4_CMA_SIZE ?= "cma-256"
> +
> +UBOOT_MACHINE = "rpi_3_config"
> diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
> index 9820209..f142323 100644
> --- a/conf/machine/raspberrypi3.conf
> +++ b/conf/machine/raspberrypi3.conf
> @@ -2,12 +2,16 @@
>  #@NAME: RaspberryPi 3 Development Board
>  #@DESCRIPTION: Machine configuration for the RaspberryPi 3
>
> -MACHINEOVERRIDES = "raspberrypi2:${MACHINE}"
> +DEFAULTTUNE ?= "cortexa53-32"
> +
> +MACHINEOVERRIDES = "raspberrypi2:raspberrypi:${MACHINE}"
>
>  MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
>
> -include conf/machine/raspberrypi2.conf
> +require conf/machine/include/tune-cortexa53.inc
> +include conf/machine/include/rpi-base.inc
>
>  SERIAL_CONSOLE = "115200 ttyS0"
>  VC4_CMA_SIZE ?= "cma-256"
>
> +UBOOT_MACHINE = "rpi_3_config"
> --
> 2.7.4
>
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/1] Modify raspberrypi3.conf and add raspberrypi3-64.conf

2016-11-19 Thread Khem Raj
This patch is not applying cleanly. Can you resend git format-patch
with git send-email ?

On 11/19/16 5:03 AM, Herve Jourdain wrote:
> Signed-off-by: Herve Jourdain 
> ---
>  conf/machine/raspberrypi3-64.conf | 19 +++
>  conf/machine/raspberrypi3.conf|  8 ++--
>  2 files changed, 25 insertions(+), 2 deletions(-)
>  create mode 100644 conf/machine/raspberrypi3-64.conf
> 
> diff --git a/conf/machine/raspberrypi3-64.conf 
> b/conf/machine/raspberrypi3-64.conf
> new file mode 100644
> index 000..a5ceddb
> --- /dev/null
> +++ b/conf/machine/raspberrypi3-64.conf
> @@ -0,0 +1,19 @@
> +#@TYPE: Machine
> +#@NAME: RaspberryPi 3 Development Board
> +#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode
> +
> +DEFAULTTUNE ?= "cortexa53-64"
> +
> +MACHINEOVERRIDES = "raspberrypi3:raspberrypi:${MACHINE}"
> +
> +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
> +
> +PREFERRED_VERSION_linux-raspberrypi_raspberrypi3-64 ?= "4.7.%"
> +
> +require conf/machine/include/tune-cortexa53.inc
> +include conf/machine/include/rpi-base.inc
> +
> +SERIAL_CONSOLE = "115200 ttyS0"
> +VC4_CMA_SIZE ?= "cma-256"
> +
> +UBOOT_MACHINE = "rpi_3_config"
> diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
> index 9820209..f142323 100644
> --- a/conf/machine/raspberrypi3.conf
> +++ b/conf/machine/raspberrypi3.conf
> @@ -2,12 +2,16 @@
>  #@NAME: RaspberryPi 3 Development Board
>  #@DESCRIPTION: Machine configuration for the RaspberryPi 3
>  
> -MACHINEOVERRIDES = "raspberrypi2:${MACHINE}"
> +DEFAULTTUNE ?= "cortexa53-32"
> +
> +MACHINEOVERRIDES = "raspberrypi2:raspberrypi:${MACHINE}"
>  
>  MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
>  
> -include conf/machine/raspberrypi2.conf
> +require conf/machine/include/tune-cortexa53.inc
> +include conf/machine/include/rpi-base.inc
>  
>  SERIAL_CONSOLE = "115200 ttyS0"
>  VC4_CMA_SIZE ?= "cma-256"
>  
> +UBOOT_MACHINE = "rpi_3_config"
> 



signature.asc
Description: OpenPGP digital signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 1/1] Modify raspberrypi3.conf and add raspberrypi3-64.conf

2016-11-19 Thread Khem Raj
Nevermind, I managed to apply it, there are some CR changes I guess which was
freaking git

On 11/19/16 5:03 AM, Herve Jourdain wrote:
> Signed-off-by: Herve Jourdain 
> ---
>  conf/machine/raspberrypi3-64.conf | 19 +++
>  conf/machine/raspberrypi3.conf|  8 ++--
>  2 files changed, 25 insertions(+), 2 deletions(-)
>  create mode 100644 conf/machine/raspberrypi3-64.conf
> 
> diff --git a/conf/machine/raspberrypi3-64.conf 
> b/conf/machine/raspberrypi3-64.conf
> new file mode 100644
> index 000..a5ceddb
> --- /dev/null
> +++ b/conf/machine/raspberrypi3-64.conf
> @@ -0,0 +1,19 @@
> +#@TYPE: Machine
> +#@NAME: RaspberryPi 3 Development Board
> +#@DESCRIPTION: Machine configuration for the RaspberryPi 3 in 64 bits mode
> +
> +DEFAULTTUNE ?= "cortexa53-64"
> +
> +MACHINEOVERRIDES = "raspberrypi3:raspberrypi:${MACHINE}"
> +
> +MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
> +
> +PREFERRED_VERSION_linux-raspberrypi_raspberrypi3-64 ?= "4.7.%"
> +
> +require conf/machine/include/tune-cortexa53.inc
> +include conf/machine/include/rpi-base.inc
> +
> +SERIAL_CONSOLE = "115200 ttyS0"
> +VC4_CMA_SIZE ?= "cma-256"
> +
> +UBOOT_MACHINE = "rpi_3_config"
> diff --git a/conf/machine/raspberrypi3.conf b/conf/machine/raspberrypi3.conf
> index 9820209..f142323 100644
> --- a/conf/machine/raspberrypi3.conf
> +++ b/conf/machine/raspberrypi3.conf
> @@ -2,12 +2,16 @@
>  #@NAME: RaspberryPi 3 Development Board
>  #@DESCRIPTION: Machine configuration for the RaspberryPi 3
>  
> -MACHINEOVERRIDES = "raspberrypi2:${MACHINE}"
> +DEFAULTTUNE ?= "cortexa53-32"
> +
> +MACHINEOVERRIDES = "raspberrypi2:raspberrypi:${MACHINE}"
>  
>  MACHINE_EXTRA_RRECOMMENDS += "linux-firmware-bcm43430"
>  
> -include conf/machine/raspberrypi2.conf
> +require conf/machine/include/tune-cortexa53.inc
> +include conf/machine/include/rpi-base.inc
>  
>  SERIAL_CONSOLE = "115200 ttyS0"
>  VC4_CMA_SIZE ?= "cma-256"
>  
> +UBOOT_MACHINE = "rpi_3_config"
> 



signature.asc
Description: OpenPGP digital signature
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [raspberrypi] raspi3 vs raspi2

2016-11-19 Thread Herve Jourdain
Hi Khem,

Sorry for that, hopefully it's fixed now.

Herve

-Original Message-
From: Khem Raj [mailto:raj.k...@gmail.com] 
Sent: samedi 19 novembre 2016 18:31
To: Herve Jourdain 
Cc: Trevor Woerner ; yocto@yoctoproject.org
Subject: Re: [yocto] ***SPAM*** [raspberrypi] raspi3 vs raspi2

Thanks Herve,

Btw. can you fix your filters so it does not show SPAM in your replies ?
it breaks the thread chains.

On Sat, Nov 19, 2016 at 2:54 AM, Herve Jourdain  wrote:
> Hi,
>
> I'm in the process of pushing something that should hopefully do that - and 
> more.
> I hope I can finish pushing it in the next few days.
>
> Cheers,
>
> Herve
>
>> On 19 nov. 2016, at 05:20, Trevor Woerner  wrote:
>>
>> Hi,
>>
>> I was wondering if there were any plans to create a 
>> MACHINE=raspberrypi3 that treats the raspi3 like the CortexA53 that 
>> it is instead of generating images that are backwards compatible with the 
>> CortexA7 that is the raspi2?
>>
>> Best regards,
>>Trevor
>> --
>> ___
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto