* [PATCH 0/3] [jethro] Consolidated pull
@ 2016-04-26 6:47 Robert Yang
2016-04-26 6:47 ` [PATCH 1/3] conf/distro/poky.conf: use example.com for connectivity check Robert Yang
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Robert Yang @ 2016-04-26 6:47 UTC (permalink / raw)
To: poky
The following changes since commit 6dba9abd43f7584178de52b623c603a5d4fcec5c:
tzcode: update to 2016c (2016-04-11 22:03:08 +0100)
are available in the git repository at:
git://git.pokylinux.org/poky-contrib rbt/jethro
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/jethro
Humberto Ibarra (2):
yocto-bsp: fix default kernel for x86_64 arch
yocto-bsp: Set correct default branches and branches base for i386,
qemu and x86_64 archs
Ross Burton (1):
conf/distro/poky.conf: use example.com for connectivity check
meta-yocto/conf/distro/poky.conf | 5 +----
.../arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend | 4 ++--
.../arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend | 8 ++++----
.../arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend | 8 ++++----
.../target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall | 2 +-
.../arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend | 4 ++--
6 files changed, 14 insertions(+), 17 deletions(-)
--
2.8.0
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/3] conf/distro/poky.conf: use example.com for connectivity check
2016-04-26 6:47 [PATCH 0/3] [jethro] Consolidated pull Robert Yang
@ 2016-04-26 6:47 ` Robert Yang
2016-04-26 6:47 ` [PATCH 2/3] yocto-bsp: fix default kernel for x86_64 arch Robert Yang
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2016-04-26 6:47 UTC (permalink / raw)
To: poky
From: Ross Burton <ross.burton@intel.com>
Instead of pinging both the Yocto Project download and bugzilla sites, use
https://www.example.com/. This is a reserved domain name and hosted by IANA, so
is a key part of the Internet and should be available everywhere (whereas for
example google.com is generally blocked by the Great Firewall of China). Also
using a https: site verifies that any local proxies are configured for HTTPS as
well as HTTP.
In my testing this reduces the time taken for connectivity checks from 3 seconds
to 1 second.
(From meta-yocto rev: b253c6073be44090a19d1743deb58ef566853056)
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
meta-yocto/conf/distro/poky.conf | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index f654f9e..2f01348 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -64,10 +64,7 @@ https://.*/.* http://downloads.yoctoproject.org/mirror/sources/ \n"
# fetch from the network (and warn you if not). To disable the test set
# the variable to be empty.
# Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master
-
-CONNECTIVITY_CHECK_URIS ?= " \
- https://eula-downloads.yoctoproject.org/index.php \
- http://bugzilla.yoctoproject.org/report.cgi"
+CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
SANITY_TESTED_DISTROS ?= " \
poky-1.7 \n \
--
2.8.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/3] yocto-bsp: fix default kernel for x86_64 arch
2016-04-26 6:47 [PATCH 0/3] [jethro] Consolidated pull Robert Yang
2016-04-26 6:47 ` [PATCH 1/3] conf/distro/poky.conf: use example.com for connectivity check Robert Yang
@ 2016-04-26 6:47 ` Robert Yang
2016-04-26 6:48 ` [PATCH 3/3] yocto-bsp: Set correct default branches and branches base for i386, qemu and x86_64 archs Robert Yang
2016-05-11 3:27 ` [PATCH 0/3] [jethro] Consolidated pull Robert Yang
3 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2016-04-26 6:47 UTC (permalink / raw)
To: poky
From: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
When using x86_64 arch in yocto-bsp the script suggests
4.1 as the default kernel version; however, as soon as the
default is picked the script continues processing with
3.19 kernel.
This changes the default kernel version to 4.1, which is the
right value and matches the script's message.
[Yocto #9353]
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
---
.../target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall
index dbbe934..7676ca8 100644
--- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall
@@ -2,4 +2,4 @@
{{ input type:"boolean" name:"use_default_kernel" prio:"10" msg:"Would you like to use the default (4.1) kernel? (y/n)" default:"y"}}
{{ if kernel_choice != "custom" and use_default_kernel == "n": }}
-{{ input type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use in this BSP:" default:"linux-yocto_3.19"}}
+{{ input type:"choicelist" name:"kernel_choice" gen:"bsp.kernel.kernels" prio:"10" msg:"Please choose the kernel to use in this BSP:" default:"linux-yocto_4.1"}}
--
2.8.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/3] yocto-bsp: Set correct default branches and branches base for i386, qemu and x86_64 archs
2016-04-26 6:47 [PATCH 0/3] [jethro] Consolidated pull Robert Yang
2016-04-26 6:47 ` [PATCH 1/3] conf/distro/poky.conf: use example.com for connectivity check Robert Yang
2016-04-26 6:47 ` [PATCH 2/3] yocto-bsp: fix default kernel for x86_64 arch Robert Yang
@ 2016-04-26 6:48 ` Robert Yang
2016-05-11 3:27 ` [PATCH 0/3] [jethro] Consolidated pull Robert Yang
3 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2016-04-26 6:48 UTC (permalink / raw)
To: poky
From: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
Kernel recipes for linux-yocto_4.1 have outdated branches as default, making it
impossible to find the right branch if the user picks the default value.
The branches_base property uses these outdated branches also.
This updates standard/common-pc and standard/common-pc-64 branches to standard/base
The fix was tested using 'yocto-bsp create' with each one of the following archs:
-i386
-x86_64
-qemu (i386 and x86_64)
After the layer was created, it was added to local.conf and the MACHINE was set
accordingly.
'bitbake linux-yocto' ran successfully with each configuration tested.
[YOCTO #9160]
Signed-off-by: Humberto Ibarra <humberto.ibarra.lopez@intel.com>
---
.../arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend | 4 ++--
.../arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend | 8 ++++----
.../arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend | 8 ++++----
.../arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend | 4 ++--
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 761b9c6..aecdff0 100644
--- a/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -8,10 +8,10 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
{{ if need_new_kbranch == "y": }}
-{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
+{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n": }}
-{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
+{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n": }}
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend
index 3555285..7e3ce5b 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend
@@ -19,16 +19,16 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/qemuppc" }}
{{ if need_new_kbranch == "y" and qemuarch == "i386": }}
-{{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc" }}
+{{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n" and qemuarch == "i386": }}
-{{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc" }}
+{{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "y" and qemuarch == "x86_64": }}
-{{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc-64" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc-64/base" }}
+{{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n" and qemuarch == "x86_64": }}
-{{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc-64" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc-64/base" }}
+{{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "y" and qemuarch == "mips": }}
{{ input type:"choicelist" name:"new_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
diff --git a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 82bb970..fce67b4 100644
--- a/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -19,16 +19,16 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"powerpc" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/qemuppc" }}
{{ if need_new_kbranch == "y" and qemuarch == "i386": }}
-{{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc" }}
+{{ input type:"choicelist" name:"new_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n" and qemuarch == "i386": }}
-{{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc" }}
+{{ input type:"choicelist" name:"existing_kbranch" nameappend:"i386" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "y" and qemuarch == "x86_64": }}
-{{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc-64" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc-64/base" }}
+{{ input type:"choicelist" name:"new_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n" and qemuarch == "x86_64": }}
-{{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc-64" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc-64/base" }}
+{{ input type:"choicelist" name:"existing_kbranch" nameappend:"x86_64" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n" and qemuarch == "mips": }}
{{ input type:"choicelist" name:"existing_kbranch" nameappend:"mips" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/mti-malta32" }}
diff --git a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend
index 8d0bc97..1e99a04 100644
--- a/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend
+++ b/scripts/lib/bsp/substrate/target/arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend
@@ -8,10 +8,10 @@ COMPATIBLE_MACHINE_{{=machine}} = "{{=machine}}"
{{ input type:"boolean" name:"need_new_kbranch" prio:"20" msg:"Do you need a new machine branch for this BSP (the alternative is to re-use an existing branch)? [y/n]" default:"y" }}
{{ if need_new_kbranch == "y": }}
-{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc-64" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc-64/base" }}
+{{ input type:"choicelist" name:"new_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n": }}
-{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard:standard/common-pc-64" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/common-pc-64/base" }}
+{{ input type:"choicelist" name:"existing_kbranch" gen:"bsp.kernel.all_branches" branches_base:"standard" prio:"20" msg:"Please choose a machine branch to base this BSP on:" default:"standard/base" }}
{{ if need_new_kbranch == "n": }}
KBRANCH_{{=machine}} = "{{=existing_kbranch}}"
--
2.8.0
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH 0/3] [jethro] Consolidated pull
2016-04-26 6:47 [PATCH 0/3] [jethro] Consolidated pull Robert Yang
` (2 preceding siblings ...)
2016-04-26 6:48 ` [PATCH 3/3] yocto-bsp: Set correct default branches and branches base for i386, qemu and x86_64 archs Robert Yang
@ 2016-05-11 3:27 ` Robert Yang
3 siblings, 0 replies; 5+ messages in thread
From: Robert Yang @ 2016-05-11 3:27 UTC (permalink / raw)
To: Richard Purdie, Burton, Ross; +Cc: poky
Ping.
// Robert
On 04/26/2016 02:47 PM, Robert Yang wrote:
> The following changes since commit 6dba9abd43f7584178de52b623c603a5d4fcec5c:
>
> tzcode: update to 2016c (2016-04-11 22:03:08 +0100)
>
> are available in the git repository at:
>
> git://git.pokylinux.org/poky-contrib rbt/jethro
> http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=rbt/jethro
>
> Humberto Ibarra (2):
> yocto-bsp: fix default kernel for x86_64 arch
> yocto-bsp: Set correct default branches and branches base for i386,
> qemu and x86_64 archs
>
> Ross Burton (1):
> conf/distro/poky.conf: use example.com for connectivity check
>
> meta-yocto/conf/distro/poky.conf | 5 +----
> .../arch/i386/recipes-kernel/linux/linux-yocto_4.1.bbappend | 4 ++--
> .../arch/qemu/recipes-kernel/linux/linux-yocto-dev.bbappend | 8 ++++----
> .../arch/qemu/recipes-kernel/linux/linux-yocto_4.1.bbappend | 8 ++++----
> .../target/arch/x86_64/recipes-kernel/linux/kernel-list.noinstall | 2 +-
> .../arch/x86_64/recipes-kernel/linux/linux-yocto_4.1.bbappend | 4 ++--
> 6 files changed, 14 insertions(+), 17 deletions(-)
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2016-05-11 3:27 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 6:47 [PATCH 0/3] [jethro] Consolidated pull Robert Yang
2016-04-26 6:47 ` [PATCH 1/3] conf/distro/poky.conf: use example.com for connectivity check Robert Yang
2016-04-26 6:47 ` [PATCH 2/3] yocto-bsp: fix default kernel for x86_64 arch Robert Yang
2016-04-26 6:48 ` [PATCH 3/3] yocto-bsp: Set correct default branches and branches base for i386, qemu and x86_64 archs Robert Yang
2016-05-11 3:27 ` [PATCH 0/3] [jethro] Consolidated pull Robert Yang
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.