All of lore.kernel.org
 help / color / mirror / Atom feed
* Question about aarch64 target
@ 2014-08-27 10:53 Kang Kai
  2014-08-27 12:58 ` Bruce Ashfield
  2014-08-28  7:33 ` Khem Raj
  0 siblings, 2 replies; 5+ messages in thread
From: Kang Kai @ 2014-08-27 10:53 UTC (permalink / raw)
  To: Saul Wold; +Cc: oe-core


[-- Attachment #1.1: Type: text/plain, Size: 753 bytes --]

Hi Saul,

I am working on Bug 6487 - Add Aarch64 qemu target. I take tune and 
config files from linaro then succeeds to build core-image-minimal and 
core-image-sato.

And I have 2 question about it now:
1 What should the new qemu aarch64 bsp looks like at the end? Do the 
files in the patch attached are enough? And what more test should we do 
except to build images such as core-image-sato, core-image-sato even 
build world?

2 There 2 aarch64 configure files from linaro. First one is little 
endian and it is as default, and the other one is big endian. I take the 
little endian one as qemuarm64.conf as linaro does. Do we need add the 
other one as qemuarm64_be.conf or something like that?

-- 
Regards,
Neil | Kai Kang


[-- Attachment #1.2: Type: text/html, Size: 1173 bytes --]

[-- Attachment #2: 0001-add-qemu-aarch64.patch --]
[-- Type: text/x-patch, Size: 4942 bytes --]

From e20a3e1252d895c2098fc99d7a0b8ff42ec2c439 Mon Sep 17 00:00:00 2001
From: Kai Kang <kai.kang@windriver.com>
Date: Fri, 22 Aug 2014 10:46:10 +0800
Subject: [PATCH] add qemu aarch64

Signed-off-by: Kai Kang <kai.kang@windriver.com>
---
 meta/conf/machine/genericarmv8.conf          | 37 ++++++++++++++++++++++++++
 meta/conf/machine/genericarmv8b.conf         |  8 ++++++
 meta/conf/machine/include/arm/arch-armv8.inc | 20 ++++++++++++++
 meta/conf/machine/qemuarm64.conf             | 39 ++++++++++++++++++++++++++++
 4 files changed, 104 insertions(+)
 create mode 100644 meta/conf/machine/genericarmv8.conf
 create mode 100644 meta/conf/machine/genericarmv8b.conf
 create mode 100644 meta/conf/machine/include/arm/arch-armv8.inc
 create mode 100644 meta/conf/machine/qemuarm64.conf

diff --git a/meta/conf/machine/genericarmv8.conf b/meta/conf/machine/genericarmv8.conf
new file mode 100644
index 0000000..1d05238
--- /dev/null
+++ b/meta/conf/machine/genericarmv8.conf
@@ -0,0 +1,37 @@
+#@TYPE: Machine
+#@NAME: generic armv8 machine
+#@DESCRIPTION: generic machine to be used by linaro-media-create
+
+require conf/machine/include/arm64/arch-armv8.inc
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+
+XSERVER ?= "xserver-xorg \
+            mesa-driver-swrast \
+            xf86-input-evdev \
+            xf86-input-mouse \
+            xf86-video-fbdev \
+            xf86-input-keyboard"
+
+MACHINE_FEATURES = ""
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
+
+KERNEL_IMAGETYPE = "Image"
+
+# We have to disable SERIAL_CONSOLE due to auto-serial-console
+#SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# Force auto-serial-console to be used by all image types
+# Ideally this would be part of core oe or as a bbclassappend,
+# but as we don't have an easy way to append a class, defining
+# it here
+EXTRA_IMAGE_FEATURES += "autoserial"
+FEATURE_PACKAGES_autoserial = "auto-serial-console"
+
+# we do not want to have getty running on tty1 as we run
+# auto-serial-console there
+USE_VT = "0"
diff --git a/meta/conf/machine/genericarmv8b.conf b/meta/conf/machine/genericarmv8b.conf
new file mode 100644
index 0000000..e70de08
--- /dev/null
+++ b/meta/conf/machine/genericarmv8b.conf
@@ -0,0 +1,8 @@
+#@TYPE: Machine
+#@NAME: generic armv8 big endian machine
+#@DESCRIPTION: generic machine to be used by linaro-media-create
+DEFAULTTUNE = "aarch64_be"
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
+
+require conf/machine/genericarmv8.conf
diff --git a/meta/conf/machine/include/arm/arch-armv8.inc b/meta/conf/machine/include/arm/arch-armv8.inc
new file mode 100644
index 0000000..c86142a
--- /dev/null
+++ b/meta/conf/machine/include/arm/arch-armv8.inc
@@ -0,0 +1,20 @@
+DEFAULTTUNE ?= "aarch64"
+
+ARMPKGARCH ?= "aarch64"
+
+TUNEVALID[aarch64] = "Enable instructions for aarch64"
+TUNEVALID[bigendian] = "Enable big-endian mode."
+TUNECONFLICTS[aarch64] = ""
+MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}"
+
+# Little Endian base configs
+AVAILTUNES += "aarch64 aarch64_be"
+TUNE_FEATURES_tune-aarch64 ?= "aarch64"
+TUNE_FEATURES_tune-aarch64_be ?= "${TUNE_FEATURES_tune-aarch64} bigendian"
+
+ARMPKGSFX_ENDIAN = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "_be", "", d)}"
+
+TUNE_ARCH = "aarch64${ARMPKGSFX_ENDIAN}"
+TUNE_PKGARCH = "aarch64${ARMPKGSFX_ENDIAN}"
+
+PACKAGE_EXTRA_ARCHS = "aarch64${ARMPKGSFX_ENDIAN}"
diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
new file mode 100644
index 0000000..eca99f7
--- /dev/null
+++ b/meta/conf/machine/qemuarm64.conf
@@ -0,0 +1,39 @@
+#@TYPE: Machine
+#@NAME: generic armv8 machine
+#@DESCRIPTION: generic machine to be used by linaro-media-create
+
+require conf/machine/include/arm/arch-armv8.inc
+
+PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
+
+XSERVER ?= "xserver-xorg \
+            mesa-driver-swrast \
+            xf86-input-evdev \
+            xf86-input-mouse \
+            xf86-video-fbdev \
+            xf86-input-keyboard"
+
+MACHINE_FEATURES = ""
+
+# Don't include kernels in standard images
+RDEPENDS_kernel-base = ""
+
+PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
+
+KERNEL_IMAGETYPE = "Image"
+
+# We have to disable SERIAL_CONSOLE due to auto-serial-console
+#SERIAL_CONSOLE = "115200 ttyAMA0"
+
+# Force auto-serial-console to be used by all image types
+# Ideally this would be part of core oe or as a bbclassappend,
+# but as we don't have an easy way to append a class, defining
+# it here
+#EXTRA_IMAGE_FEATURES += "autoserial"
+#FEATURE_PACKAGES_autoserial = "auto-serial-console"
+
+# we do not want to have getty running on tty1 as we run
+# auto-serial-console there
+USE_VT = "0"
+
+baselib="lib64"
-- 
1.9.1


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

* Re: Question about aarch64 target
  2014-08-27 10:53 Question about aarch64 target Kang Kai
@ 2014-08-27 12:58 ` Bruce Ashfield
  2014-08-28  7:33 ` Khem Raj
  1 sibling, 0 replies; 5+ messages in thread
From: Bruce Ashfield @ 2014-08-27 12:58 UTC (permalink / raw)
  To: Kang Kai; +Cc: oe-core

On Wed, Aug 27, 2014 at 6:53 AM, Kang Kai <Kai.Kang@windriver.com> wrote:
> Hi Saul,
>
> I am working on Bug 6487 - Add Aarch64 qemu target. I take tune and config
> files from linaro then succeeds to build core-image-minimal and
> core-image-sato.
>
> And I have 2 question about it now:
> 1 What should the new qemu aarch64 bsp looks like at the end? Do the files
> in the patch attached are enough? And what more test should we do except to

I've said this *many* times, but no one has ever responded. We need the kernel
support to match the linux-yocto* home for the other core/emulated BSPs .. that
way I can help support, test and bring everything forward.

We have a 3.14 and 3.16+ version of the recipe available, and I've
looked into this
in the past ... the delta needed in those kernel versions is not significant.

Bruce



> build images such as core-image-sato,  core-image-sato even build world?
>
> 2 There 2 aarch64 configure files from linaro. First one is little endian
> and it is as default, and the other one is big endian. I take the little
> endian one as qemuarm64.conf as linaro does. Do we need add the other one as
> qemuarm64_be.conf or something like that?
>
> --
> Regards,
> Neil | Kai Kang
>
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"


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

* Re: Question about aarch64 target
  2014-08-27 10:53 Question about aarch64 target Kang Kai
  2014-08-27 12:58 ` Bruce Ashfield
@ 2014-08-28  7:33 ` Khem Raj
  2014-08-28  8:03   ` Kang Kai
  1 sibling, 1 reply; 5+ messages in thread
From: Khem Raj @ 2014-08-28  7:33 UTC (permalink / raw)
  To: Kang Kai; +Cc: oe-core

On 14-08-27 18:53:41, Kang Kai wrote:
> Hi Saul,
> 
> I am working on Bug 6487 - Add Aarch64 qemu target. I take tune and config
> files from linaro then succeeds to build core-image-minimal and
> core-image-sato.
> 
> And I have 2 question about it now:
> 1 What should the new qemu aarch64 bsp looks like at the end? Do the files
> in the patch attached are enough? And what more test should we do except to
> build images such as core-image-sato, core-image-sato even build world?
> 

may be eventually support linux-yocto, and linux-linaro both, it should
be tested at same level as other QEMU BSPs

> 2 There 2 aarch64 configure files from linaro. First one is little endian
> and it is as default, and the other one is big endian. I take the little
> endian one as qemuarm64.conf as linaro does. Do we need add the other one as
> qemuarm64_be.conf or something like that?

Name them same as meta-linaro please, so eventually linaro layer can
drop it and take up the maintenance of them in OE-Core

> 
> -- 
> Regards,
> Neil | Kai Kang
> 

> From e20a3e1252d895c2098fc99d7a0b8ff42ec2c439 Mon Sep 17 00:00:00 2001
> From: Kai Kang <kai.kang@windriver.com>
> Date: Fri, 22 Aug 2014 10:46:10 +0800
> Subject: [PATCH] add qemu aarch64
> 
> Signed-off-by: Kai Kang <kai.kang@windriver.com>
> ---
>  meta/conf/machine/genericarmv8.conf          | 37 ++++++++++++++++++++++++++
>  meta/conf/machine/genericarmv8b.conf         |  8 ++++++
>  meta/conf/machine/include/arm/arch-armv8.inc | 20 ++++++++++++++
>  meta/conf/machine/qemuarm64.conf             | 39 ++++++++++++++++++++++++++++
>  4 files changed, 104 insertions(+)
>  create mode 100644 meta/conf/machine/genericarmv8.conf
>  create mode 100644 meta/conf/machine/genericarmv8b.conf
>  create mode 100644 meta/conf/machine/include/arm/arch-armv8.inc
>  create mode 100644 meta/conf/machine/qemuarm64.conf
> 
> diff --git a/meta/conf/machine/genericarmv8.conf b/meta/conf/machine/genericarmv8.conf
> new file mode 100644
> index 0000000..1d05238
> --- /dev/null
> +++ b/meta/conf/machine/genericarmv8.conf
> @@ -0,0 +1,37 @@
> +#@TYPE: Machine
> +#@NAME: generic armv8 machine
> +#@DESCRIPTION: generic machine to be used by linaro-media-create
> +
> +require conf/machine/include/arm64/arch-armv8.inc
> +
> +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
> +
> +XSERVER ?= "xserver-xorg \
> +            mesa-driver-swrast \
> +            xf86-input-evdev \
> +            xf86-input-mouse \
> +            xf86-video-fbdev \
> +            xf86-input-keyboard"
> +
> +MACHINE_FEATURES = ""
> +
> +# Don't include kernels in standard images
> +RDEPENDS_kernel-base = ""
> +
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
> +
> +KERNEL_IMAGETYPE = "Image"
> +
> +# We have to disable SERIAL_CONSOLE due to auto-serial-console
> +#SERIAL_CONSOLE = "115200 ttyAMA0"
> +
> +# Force auto-serial-console to be used by all image types
> +# Ideally this would be part of core oe or as a bbclassappend,
> +# but as we don't have an easy way to append a class, defining
> +# it here
> +EXTRA_IMAGE_FEATURES += "autoserial"
> +FEATURE_PACKAGES_autoserial = "auto-serial-console"
> +
> +# we do not want to have getty running on tty1 as we run
> +# auto-serial-console there
> +USE_VT = "0"
> diff --git a/meta/conf/machine/genericarmv8b.conf b/meta/conf/machine/genericarmv8b.conf
> new file mode 100644
> index 0000000..e70de08
> --- /dev/null
> +++ b/meta/conf/machine/genericarmv8b.conf
> @@ -0,0 +1,8 @@
> +#@TYPE: Machine
> +#@NAME: generic armv8 big endian machine
> +#@DESCRIPTION: generic machine to be used by linaro-media-create
> +DEFAULTTUNE = "aarch64_be"
> +
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
> +
> +require conf/machine/genericarmv8.conf
> diff --git a/meta/conf/machine/include/arm/arch-armv8.inc b/meta/conf/machine/include/arm/arch-armv8.inc
> new file mode 100644
> index 0000000..c86142a
> --- /dev/null
> +++ b/meta/conf/machine/include/arm/arch-armv8.inc
> @@ -0,0 +1,20 @@
> +DEFAULTTUNE ?= "aarch64"
> +
> +ARMPKGARCH ?= "aarch64"
> +
> +TUNEVALID[aarch64] = "Enable instructions for aarch64"
> +TUNEVALID[bigendian] = "Enable big-endian mode."
> +TUNECONFLICTS[aarch64] = ""
> +MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}"
> +
> +# Little Endian base configs
> +AVAILTUNES += "aarch64 aarch64_be"
> +TUNE_FEATURES_tune-aarch64 ?= "aarch64"
> +TUNE_FEATURES_tune-aarch64_be ?= "${TUNE_FEATURES_tune-aarch64} bigendian"
> +
> +ARMPKGSFX_ENDIAN = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "_be", "", d)}"
> +
> +TUNE_ARCH = "aarch64${ARMPKGSFX_ENDIAN}"
> +TUNE_PKGARCH = "aarch64${ARMPKGSFX_ENDIAN}"
> +
> +PACKAGE_EXTRA_ARCHS = "aarch64${ARMPKGSFX_ENDIAN}"
> diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
> new file mode 100644
> index 0000000..eca99f7
> --- /dev/null
> +++ b/meta/conf/machine/qemuarm64.conf
> @@ -0,0 +1,39 @@
> +#@TYPE: Machine
> +#@NAME: generic armv8 machine
> +#@DESCRIPTION: generic machine to be used by linaro-media-create
> +
> +require conf/machine/include/arm/arch-armv8.inc
> +
> +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
> +
> +XSERVER ?= "xserver-xorg \
> +            mesa-driver-swrast \
> +            xf86-input-evdev \
> +            xf86-input-mouse \
> +            xf86-video-fbdev \
> +            xf86-input-keyboard"
> +
> +MACHINE_FEATURES = ""
> +
> +# Don't include kernels in standard images
> +RDEPENDS_kernel-base = ""
> +
> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
> +
> +KERNEL_IMAGETYPE = "Image"
> +
> +# We have to disable SERIAL_CONSOLE due to auto-serial-console
> +#SERIAL_CONSOLE = "115200 ttyAMA0"
> +
> +# Force auto-serial-console to be used by all image types
> +# Ideally this would be part of core oe or as a bbclassappend,
> +# but as we don't have an easy way to append a class, defining
> +# it here
> +#EXTRA_IMAGE_FEATURES += "autoserial"
> +#FEATURE_PACKAGES_autoserial = "auto-serial-console"
> +
> +# we do not want to have getty running on tty1 as we run
> +# auto-serial-console there
> +USE_VT = "0"
> +
> +baselib="lib64"
> -- 
> 1.9.1
> 

> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



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

* Re: Question about aarch64 target
  2014-08-28  7:33 ` Khem Raj
@ 2014-08-28  8:03   ` Kang Kai
  2014-08-28  8:13     ` Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Kang Kai @ 2014-08-28  8:03 UTC (permalink / raw)
  To: Khem Raj; +Cc: oe-core

On 2014年08月28日 15:33, Khem Raj wrote:
> On 14-08-27 18:53:41, Kang Kai wrote:
>> Hi Saul,
>>
>> I am working on Bug 6487 - Add Aarch64 qemu target. I take tune and config
>> files from linaro then succeeds to build core-image-minimal and
>> core-image-sato.
>>
>> And I have 2 question about it now:
>> 1 What should the new qemu aarch64 bsp looks like at the end? Do the files
>> in the patch attached are enough? And what more test should we do except to
>> build images such as core-image-sato, core-image-sato even build world?
>>
> may be eventually support linux-yocto, and linux-linaro both, it should
> be tested at same level as other QEMU BSPs
>
>> 2 There 2 aarch64 configure files from linaro. First one is little endian
>> and it is as default, and the other one is big endian. I take the little
>> endian one as qemuarm64.conf as linaro does. Do we need add the other one as
>> qemuarm64_be.conf or something like that?
> Name them same as meta-linaro please, so eventually linaro layer can
> drop it and take up the maintenance of them in OE-Core

Keep same name with linaro is convenient for merge work. But the name 
'genericarmv8'  is not coordinated with existing qemu bsps. I prefer to 
use qemuarmv8 for coordination.

Regards,
Kai

>
>> -- 
>> Regards,
>> Neil | Kai Kang
>>
>>  From e20a3e1252d895c2098fc99d7a0b8ff42ec2c439 Mon Sep 17 00:00:00 2001
>> From: Kai Kang <kai.kang@windriver.com>
>> Date: Fri, 22 Aug 2014 10:46:10 +0800
>> Subject: [PATCH] add qemu aarch64
>>
>> Signed-off-by: Kai Kang <kai.kang@windriver.com>
>> ---
>>   meta/conf/machine/genericarmv8.conf          | 37 ++++++++++++++++++++++++++
>>   meta/conf/machine/genericarmv8b.conf         |  8 ++++++
>>   meta/conf/machine/include/arm/arch-armv8.inc | 20 ++++++++++++++
>>   meta/conf/machine/qemuarm64.conf             | 39 ++++++++++++++++++++++++++++
>>   4 files changed, 104 insertions(+)
>>   create mode 100644 meta/conf/machine/genericarmv8.conf
>>   create mode 100644 meta/conf/machine/genericarmv8b.conf
>>   create mode 100644 meta/conf/machine/include/arm/arch-armv8.inc
>>   create mode 100644 meta/conf/machine/qemuarm64.conf
>>
>> diff --git a/meta/conf/machine/genericarmv8.conf b/meta/conf/machine/genericarmv8.conf
>> new file mode 100644
>> index 0000000..1d05238
>> --- /dev/null
>> +++ b/meta/conf/machine/genericarmv8.conf
>> @@ -0,0 +1,37 @@
>> +#@TYPE: Machine
>> +#@NAME: generic armv8 machine
>> +#@DESCRIPTION: generic machine to be used by linaro-media-create
>> +
>> +require conf/machine/include/arm64/arch-armv8.inc
>> +
>> +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
>> +
>> +XSERVER ?= "xserver-xorg \
>> +            mesa-driver-swrast \
>> +            xf86-input-evdev \
>> +            xf86-input-mouse \
>> +            xf86-video-fbdev \
>> +            xf86-input-keyboard"
>> +
>> +MACHINE_FEATURES = ""
>> +
>> +# Don't include kernels in standard images
>> +RDEPENDS_kernel-base = ""
>> +
>> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
>> +
>> +KERNEL_IMAGETYPE = "Image"
>> +
>> +# We have to disable SERIAL_CONSOLE due to auto-serial-console
>> +#SERIAL_CONSOLE = "115200 ttyAMA0"
>> +
>> +# Force auto-serial-console to be used by all image types
>> +# Ideally this would be part of core oe or as a bbclassappend,
>> +# but as we don't have an easy way to append a class, defining
>> +# it here
>> +EXTRA_IMAGE_FEATURES += "autoserial"
>> +FEATURE_PACKAGES_autoserial = "auto-serial-console"
>> +
>> +# we do not want to have getty running on tty1 as we run
>> +# auto-serial-console there
>> +USE_VT = "0"
>> diff --git a/meta/conf/machine/genericarmv8b.conf b/meta/conf/machine/genericarmv8b.conf
>> new file mode 100644
>> index 0000000..e70de08
>> --- /dev/null
>> +++ b/meta/conf/machine/genericarmv8b.conf
>> @@ -0,0 +1,8 @@
>> +#@TYPE: Machine
>> +#@NAME: generic armv8 big endian machine
>> +#@DESCRIPTION: generic machine to be used by linaro-media-create
>> +DEFAULTTUNE = "aarch64_be"
>> +
>> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-dummy"
>> +
>> +require conf/machine/genericarmv8.conf
>> diff --git a/meta/conf/machine/include/arm/arch-armv8.inc b/meta/conf/machine/include/arm/arch-armv8.inc
>> new file mode 100644
>> index 0000000..c86142a
>> --- /dev/null
>> +++ b/meta/conf/machine/include/arm/arch-armv8.inc
>> @@ -0,0 +1,20 @@
>> +DEFAULTTUNE ?= "aarch64"
>> +
>> +ARMPKGARCH ?= "aarch64"
>> +
>> +TUNEVALID[aarch64] = "Enable instructions for aarch64"
>> +TUNEVALID[bigendian] = "Enable big-endian mode."
>> +TUNECONFLICTS[aarch64] = ""
>> +MACHINEOVERRIDES .= "${@bb.utils.contains("TUNE_FEATURES", "aarch64", ":aarch64", "" ,d)}"
>> +
>> +# Little Endian base configs
>> +AVAILTUNES += "aarch64 aarch64_be"
>> +TUNE_FEATURES_tune-aarch64 ?= "aarch64"
>> +TUNE_FEATURES_tune-aarch64_be ?= "${TUNE_FEATURES_tune-aarch64} bigendian"
>> +
>> +ARMPKGSFX_ENDIAN = "${@bb.utils.contains("TUNE_FEATURES", "bigendian", "_be", "", d)}"
>> +
>> +TUNE_ARCH = "aarch64${ARMPKGSFX_ENDIAN}"
>> +TUNE_PKGARCH = "aarch64${ARMPKGSFX_ENDIAN}"
>> +
>> +PACKAGE_EXTRA_ARCHS = "aarch64${ARMPKGSFX_ENDIAN}"
>> diff --git a/meta/conf/machine/qemuarm64.conf b/meta/conf/machine/qemuarm64.conf
>> new file mode 100644
>> index 0000000..eca99f7
>> --- /dev/null
>> +++ b/meta/conf/machine/qemuarm64.conf
>> @@ -0,0 +1,39 @@
>> +#@TYPE: Machine
>> +#@NAME: generic armv8 machine
>> +#@DESCRIPTION: generic machine to be used by linaro-media-create
>> +
>> +require conf/machine/include/arm/arch-armv8.inc
>> +
>> +PREFERRED_PROVIDER_virtual/xserver ?= "xserver-xorg"
>> +
>> +XSERVER ?= "xserver-xorg \
>> +            mesa-driver-swrast \
>> +            xf86-input-evdev \
>> +            xf86-input-mouse \
>> +            xf86-video-fbdev \
>> +            xf86-input-keyboard"
>> +
>> +MACHINE_FEATURES = ""
>> +
>> +# Don't include kernels in standard images
>> +RDEPENDS_kernel-base = ""
>> +
>> +PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro"
>> +
>> +KERNEL_IMAGETYPE = "Image"
>> +
>> +# We have to disable SERIAL_CONSOLE due to auto-serial-console
>> +#SERIAL_CONSOLE = "115200 ttyAMA0"
>> +
>> +# Force auto-serial-console to be used by all image types
>> +# Ideally this would be part of core oe or as a bbclassappend,
>> +# but as we don't have an easy way to append a class, defining
>> +# it here
>> +#EXTRA_IMAGE_FEATURES += "autoserial"
>> +#FEATURE_PACKAGES_autoserial = "auto-serial-console"
>> +
>> +# we do not want to have getty running on tty1 as we run
>> +# auto-serial-console there
>> +USE_VT = "0"
>> +
>> +baselib="lib64"
>> -- 
>> 1.9.1
>>
>> -- 
>> _______________________________________________
>> Openembedded-core mailing list
>> Openembedded-core@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>
>


-- 
Regards,
Neil | Kai Kang



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

* Re: Question about aarch64 target
  2014-08-28  8:03   ` Kang Kai
@ 2014-08-28  8:13     ` Khem Raj
  0 siblings, 0 replies; 5+ messages in thread
From: Khem Raj @ 2014-08-28  8:13 UTC (permalink / raw)
  To: Kang Kai; +Cc: oe-core

On 14-08-28 16:03:51, Kang Kai wrote:
> On 2014年08月28日 15:33, Khem Raj wrote:
> >On 14-08-27 18:53:41, Kang Kai wrote:
> >>Hi Saul,
> >>
> >>I am working on Bug 6487 - Add Aarch64 qemu target. I take tune and config
> >>files from linaro then succeeds to build core-image-minimal and
> >>core-image-sato.
> >>
> >>And I have 2 question about it now:
> >>1 What should the new qemu aarch64 bsp looks like at the end? Do the files
> >>in the patch attached are enough? And what more test should we do except to
> >>build images such as core-image-sato, core-image-sato even build world?
> >>
> >may be eventually support linux-yocto, and linux-linaro both, it should
> >be tested at same level as other QEMU BSPs
> >
> >>2 There 2 aarch64 configure files from linaro. First one is little endian
> >>and it is as default, and the other one is big endian. I take the little
> >>endian one as qemuarm64.conf as linaro does. Do we need add the other one as
> >>qemuarm64_be.conf or something like that?
> >Name them same as meta-linaro please, so eventually linaro layer can
> >drop it and take up the maintenance of them in OE-Core
> 
> Keep same name with linaro is convenient for merge work. But the name
> 'genericarmv8'  is not coordinated with existing qemu bsps. I prefer to use
> qemuarmv8 for coordination.

Thats a valid point, I would give in.


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

end of thread, other threads:[~2014-08-28  8:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-27 10:53 Question about aarch64 target Kang Kai
2014-08-27 12:58 ` Bruce Ashfield
2014-08-28  7:33 ` Khem Raj
2014-08-28  8:03   ` Kang Kai
2014-08-28  8:13     ` Khem Raj

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.