* [PATCH 1/7] image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz)
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
@ 2019-06-11 5:38 ` Cedric Hombourger
2019-06-11 5:38 ` [PATCH 2/7] start_vm: append kernel arguments specified in QEMU_KARGS Cedric Hombourger
` (6 subsequent siblings)
7 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 5:38 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Some Debian ports use a non-standard name for the symbolic link
to the Linux kernel: e.g. "vmlinux" for the mips port instead of
the usual "vmlinuz". The name of the symbolic link is needed for
Isar to copy the kernel image to tmp/deploy/images/<machine> (an
incorrect name causes the copy_boot_file task to fail).
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta/classes/image.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 1950263..ec6bd39 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -13,7 +13,8 @@ IMAGE_INSTALL += "${@ ("linux-image-" + d.getVar("KERNEL_NAME", True)) if d.getV
IMAGE_FULLNAME = "${PF}"
# These variables are used by wic and start_vm
-KERNEL_IMAGE ?= "${PF}-vmlinuz"
+KERNEL_FILE ?= "vmlinuz"
+KERNEL_IMAGE ?= "${PF}-${KERNEL_FILE}"
INITRD_IMAGE ?= "${PF}-initrd.img"
# Useful variables for imager implementations:
@@ -123,7 +124,7 @@ EOF
do_copy_boot_files[dirs] = "${DEPLOY_DIR_IMAGE}"
do_copy_boot_files() {
- kernel="$(realpath -q '${IMAGE_ROOTFS}/vmlinuz')"
+ kernel="$(realpath -q '${IMAGE_ROOTFS}/${KERNEL_FILE}')"
if [ -n "$kernel" ]; then
cp -f "$kernel" '${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE}'
fi
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH 2/7] start_vm: append kernel arguments specified in QEMU_KARGS
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
2019-06-11 5:38 ` [PATCH 1/7] image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz) Cedric Hombourger
@ 2019-06-11 5:38 ` Cedric Hombourger
2019-06-11 5:38 ` [PATCH 3/7] recipes-devtools/*-apt: add support for the mipsel architecture Cedric Hombourger
` (5 subsequent siblings)
7 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 5:38 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Some machines may require extra kernel arguments to be booted
in QEMU. Let the machine.conf file specify extra kernel arguments
via the QEMU_KARGS variable (optional setting). Extra arguments
are added verbatim to the kernel command line constructed by
start_vm
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
scripts/start_vm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/start_vm b/scripts/start_vm
index bf8163a..b18cd8e 100755
--- a/scripts/start_vm
+++ b/scripts/start_vm
@@ -28,7 +28,7 @@ start_qemu() {
$QCPU \
-nographic \
$EXTRA_ARGS \
- -append "$KARGS" \
+ -append "$KARGS$EXTRA_KARGS" \
$root
[ $had_x -eq 0 ] && set +x
}
@@ -125,7 +125,7 @@ case "$IMAGE_TYPE" in
EXTRA_ARGS="$EXTRA_ARGS \
-kernel $QKERNEL \
-initrd $QINITRD"
- KARGS="console=$MACHINE_SERIAL root=/dev/$QEMU_ROOTFS_DEV rw"
+ KARGS="console=$MACHINE_SERIAL root=/dev/$QEMU_ROOTFS_DEV rw $QEMU_KARGS"
;;
wic-img)
readonly ROOTFS_IMAGE=isar-image-base-debian-$DISTRO-qemu$ARCH.wic.img
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH 3/7] recipes-devtools/*-apt: add support for the mipsel architecture
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
2019-06-11 5:38 ` [PATCH 1/7] image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz) Cedric Hombourger
2019-06-11 5:38 ` [PATCH 2/7] start_vm: append kernel arguments specified in QEMU_KARGS Cedric Hombourger
@ 2019-06-11 5:38 ` Cedric Hombourger
2019-06-11 5:38 ` [PATCH 4/7] recipes-kernel/linux: " Cedric Hombourger
` (4 subsequent siblings)
7 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 5:38 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta/recipes-devtools/base-apt/files/distributions.in | 2 +-
meta/recipes-devtools/isar-apt/files/distributions.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/base-apt/files/distributions.in b/meta/recipes-devtools/base-apt/files/distributions.in
index 6dcc5a6..fd7de0b 100644
--- a/meta/recipes-devtools/base-apt/files/distributions.in
+++ b/meta/recipes-devtools/base-apt/files/distributions.in
@@ -1,3 +1,3 @@
Codename: {CODENAME}
-Architectures: i386 armhf arm64 amd64 source
+Architectures: i386 armhf arm64 amd64 mipsel source
Components: main
diff --git a/meta/recipes-devtools/isar-apt/files/distributions.in b/meta/recipes-devtools/isar-apt/files/distributions.in
index cc82c57..a24a700 100644
--- a/meta/recipes-devtools/isar-apt/files/distributions.in
+++ b/meta/recipes-devtools/isar-apt/files/distributions.in
@@ -1,3 +1,3 @@
Codename: {DISTRO_NAME}
-Architectures: i386 armhf arm64 amd64 source
+Architectures: i386 armhf arm64 amd64 mipsel source
Components: main
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH 4/7] recipes-kernel/linux: add support for the mipsel architecture
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
` (2 preceding siblings ...)
2019-06-11 5:38 ` [PATCH 3/7] recipes-devtools/*-apt: add support for the mipsel architecture Cedric Hombourger
@ 2019-06-11 5:38 ` Cedric Hombourger
2019-06-11 5:38 ` [PATCH 5/7] start_vm: add mipsel to the list of supported architectures Cedric Hombourger
` (3 subsequent siblings)
7 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 5:38 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta/recipes-kernel/linux/files/build-kernel.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-kernel/linux/files/build-kernel.sh b/meta/recipes-kernel/linux/files/build-kernel.sh
index 4fdf3ed..8b7b23b 100644
--- a/meta/recipes-kernel/linux/files/build-kernel.sh
+++ b/meta/recipes-kernel/linux/files/build-kernel.sh
@@ -21,6 +21,10 @@ if [ "$host_arch" != "$target_arch" ]; then
export ARCH=arm64
export CROSS_COMPILE="aarch64-linux-gnu-"
;;
+ mipsel)
+ export ARCH=mips
+ export CROSS_COMPILE="mipsel-linux-gnu-"
+ ;;
*)
echo "error: unsupported architecture ($target_arch)"
exit 1
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH 5/7] start_vm: add mipsel to the list of supported architectures
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
` (3 preceding siblings ...)
2019-06-11 5:38 ` [PATCH 4/7] recipes-kernel/linux: " Cedric Hombourger
@ 2019-06-11 5:38 ` Cedric Hombourger
2019-06-11 5:38 ` [PATCH 6/7] meta-isar: add the qemumipsel machine Cedric Hombourger
` (2 subsequent siblings)
7 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 5:38 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
scripts/start_vm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/start_vm b/scripts/start_vm
index b18cd8e..9f07a03 100755
--- a/scripts/start_vm
+++ b/scripts/start_vm
@@ -43,7 +43,7 @@ show_help() {
echo
echo "Parameters:"
echo " -a, --arch ARCH set isar machine architecture."
- echo " Supported: arm, i386, amd64, arm64."
+ echo " Supported: arm, i386, amd64, arm64, mipsel."
echo " -b, --build BUILD set path to build directory."
echo " -d, --distro DISTRO set isar Debian distribution."
echo " Supported: stretch, buster"
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH 6/7] meta-isar: add the qemumipsel machine
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
` (4 preceding siblings ...)
2019-06-11 5:38 ` [PATCH 5/7] start_vm: add mipsel to the list of supported architectures Cedric Hombourger
@ 2019-06-11 5:38 ` Cedric Hombourger
2019-06-11 5:38 ` [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets Cedric Hombourger
2019-06-11 7:36 ` [PATCH 0/7] " Claudius Heine
7 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 5:38 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta-isar/conf/local.conf.sample | 1 +
meta-isar/conf/machine/qemumipsel.conf | 9 +++++++++
meta-isar/conf/multiconfig/qemumipsel-stretch.conf | 17 +++++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 meta-isar/conf/machine/qemumipsel.conf
create mode 100644 meta-isar/conf/multiconfig/qemumipsel-stretch.conf
diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample
index b025a7f..871feac 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -45,6 +45,7 @@ BBMULTICONFIG = " \
qemui386-stretch \
qemui386-buster \
qemuamd64-stretch \
+ qemumipsel-stretch \
bananapi-stretch \
de0-nano-soc-stretch \
hikey-stretch \
diff --git a/meta-isar/conf/machine/qemumipsel.conf b/meta-isar/conf/machine/qemumipsel.conf
new file mode 100644
index 0000000..6ca0777
--- /dev/null
+++ b/meta-isar/conf/machine/qemumipsel.conf
@@ -0,0 +1,9 @@
+# This software is a part of ISAR.
+# Copyright (C) 2019 Mentor Graphics, a Siemens business
+
+KERNEL_FILE ?= "vmlinux"
+
+MACHINE_SERIAL ?= "ttyS0"
+BAUDRATE_TTY ?= "115200"
+
+IMAGE_TYPE ?= "ext4-img"
diff --git a/meta-isar/conf/multiconfig/qemumipsel-stretch.conf b/meta-isar/conf/multiconfig/qemumipsel-stretch.conf
new file mode 100644
index 0000000..1fe2004
--- /dev/null
+++ b/meta-isar/conf/multiconfig/qemumipsel-stretch.conf
@@ -0,0 +1,17 @@
+# This software is a part of ISAR.
+# Copyright (C) 2019 Mentor Graphics, a Siemens busines
+
+MACHINE ?= "qemumipsel"
+
+DISTRO ?= "debian-stretch"
+DISTRO_ARCH ?= "mipsel"
+
+KERNEL_NAME ?= "4kc-malta"
+
+QEMU_ROOTFS_DEV ?= "sda"
+
+QEMU_ARCH ?= "mipsel"
+QEMU_MACHINE ?= "malta"
+QEMU_CPU ?= "24Kc"
+QEMU_DISK_ARGS ?= "-drive file=##ROOTFS_IMAGE##,format=raw"
+QEMU_KARGS ?= "nokaslr"
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
` (5 preceding siblings ...)
2019-06-11 5:38 ` [PATCH 6/7] meta-isar: add the qemumipsel machine Cedric Hombourger
@ 2019-06-11 5:38 ` Cedric Hombourger
2019-06-11 8:42 ` Henning Schild
2019-06-11 7:36 ` [PATCH 0/7] " Claudius Heine
7 siblings, 1 reply; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 5:38 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
scripts/ci_build.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index dd736bf..8c99df4 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -29,6 +29,7 @@ TARGETS_SET="\
multiconfig:qemuamd64-stretch:isar-image-base \
multiconfig:qemuamd64-buster:isar-image-base \
multiconfig:qemuamd64-buster-tgz:isar-image-base \
+ multiconfig:qemumipsel-stretch:isar-image-base \
multiconfig:nand-ubi-demo-buster:isar-image-ubi \
multiconfig:rpi-stretch:isar-image-base"
# qemu-user-static of <= buster too old to build that
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets
2019-06-11 5:38 ` [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets Cedric Hombourger
@ 2019-06-11 8:42 ` Henning Schild
2019-06-11 8:44 ` Hombourger, Cedric
0 siblings, 1 reply; 29+ messages in thread
From: Henning Schild @ 2019-06-11 8:42 UTC (permalink / raw)
To: Cedric Hombourger; +Cc: isar-users
Hi,
the whole series looks good to me. I do not see this one optional but
mandatory. However buster might actually be the better choice since it
is coming soon anyways.
What seems to be missing is adjusting the documentation. But maybe
Maxim will include mipsel in the support matrix on the next release.
Henning
Am Tue, 11 Jun 2019 07:38:17 +0200
schrieb Cedric Hombourger <Cedric_Hombourger@mentor.com>:
> Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
> ---
> scripts/ci_build.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index dd736bf..8c99df4 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -29,6 +29,7 @@ TARGETS_SET="\
> multiconfig:qemuamd64-stretch:isar-image-base \
> multiconfig:qemuamd64-buster:isar-image-base \
> multiconfig:qemuamd64-buster-tgz:isar-image-base \
> + multiconfig:qemumipsel-stretch:isar-image-base \
> multiconfig:nand-ubi-demo-buster:isar-image-ubi \
> multiconfig:rpi-stretch:isar-image-base"
> # qemu-user-static of <= buster too old to build that
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets
2019-06-11 8:42 ` Henning Schild
@ 2019-06-11 8:44 ` Hombourger, Cedric
2019-06-11 11:07 ` Henning Schild
0 siblings, 1 reply; 29+ messages in thread
From: Hombourger, Cedric @ 2019-06-11 8:44 UTC (permalink / raw)
To: Henning Schild; +Cc: isar-users
Hi Henning,
I was going to work on buster this week (and submit a patch for it)
I can get it added to the patch series if you prefer
Cedric
________________________________________
From: Henning Schild <henning.schild@siemens.com>
Sent: Tuesday, June 11, 2019 10:42 AM
To: Hombourger, Cedric
Cc: isar-users@googlegroups.com
Subject: Re: [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets
Hi,
the whole series looks good to me. I do not see this one optional but
mandatory. However buster might actually be the better choice since it
is coming soon anyways.
What seems to be missing is adjusting the documentation. But maybe
Maxim will include mipsel in the support matrix on the next release.
Henning
Am Tue, 11 Jun 2019 07:38:17 +0200
schrieb Cedric Hombourger <Cedric_Hombourger@mentor.com>:
> Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
> ---
> scripts/ci_build.sh | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> index dd736bf..8c99df4 100755
> --- a/scripts/ci_build.sh
> +++ b/scripts/ci_build.sh
> @@ -29,6 +29,7 @@ TARGETS_SET="\
> multiconfig:qemuamd64-stretch:isar-image-base \
> multiconfig:qemuamd64-buster:isar-image-base \
> multiconfig:qemuamd64-buster-tgz:isar-image-base \
> + multiconfig:qemumipsel-stretch:isar-image-base \
> multiconfig:nand-ubi-demo-buster:isar-image-ubi \
> multiconfig:rpi-stretch:isar-image-base"
> # qemu-user-static of <= buster too old to build that
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets
2019-06-11 8:44 ` Hombourger, Cedric
@ 2019-06-11 11:07 ` Henning Schild
2019-06-11 12:50 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine Cedric Hombourger
0 siblings, 1 reply; 29+ messages in thread
From: Henning Schild @ 2019-06-11 11:07 UTC (permalink / raw)
To: Hombourger, Cedric; +Cc: isar-users
Am Tue, 11 Jun 2019 08:44:12 +0000
schrieb "Hombourger, Cedric" <Cedric_Hombourger@mentor.com>:
> Hi Henning,
>
> I was going to work on buster this week (and submit a patch for it)
> I can get it added to the patch series if you prefer
If buster will work with the current patchset i would prefer that. If
buster is known to not work with the current patchset, that would imho
be a blocker for the patchset.
Henning
> Cedric
> ________________________________________
> From: Henning Schild <henning.schild@siemens.com>
> Sent: Tuesday, June 11, 2019 10:42 AM
> To: Hombourger, Cedric
> Cc: isar-users@googlegroups.com
> Subject: Re: [PATCH 7/7] ci_build: add qemumipsel-stretch to build
> targets
>
> Hi,
>
> the whole series looks good to me. I do not see this one optional but
> mandatory. However buster might actually be the better choice since it
> is coming soon anyways.
>
> What seems to be missing is adjusting the documentation. But maybe
> Maxim will include mipsel in the support matrix on the next release.
>
> Henning
>
> Am Tue, 11 Jun 2019 07:38:17 +0200
> schrieb Cedric Hombourger <Cedric_Hombourger@mentor.com>:
>
> > Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
> > ---
> > scripts/ci_build.sh | 1 +
> > 1 file changed, 1 insertion(+)
> >
> > diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
> > index dd736bf..8c99df4 100755
> > --- a/scripts/ci_build.sh
> > +++ b/scripts/ci_build.sh
> > @@ -29,6 +29,7 @@ TARGETS_SET="\
> > multiconfig:qemuamd64-stretch:isar-image-base \
> > multiconfig:qemuamd64-buster:isar-image-base \
> > multiconfig:qemuamd64-buster-tgz:isar-image-base \
> > + multiconfig:qemumipsel-stretch:isar-image-base \
> > multiconfig:nand-ubi-demo-buster:isar-image-ubi \
> > multiconfig:rpi-stretch:isar-image-base"
> > # qemu-user-static of <= buster too old to build that
>
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-11 11:07 ` Henning Schild
@ 2019-06-11 12:50 ` Cedric Hombourger
2019-06-11 12:50 ` [PATCH v2 1/9] image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz) Cedric Hombourger
` (5 more replies)
0 siblings, 6 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:50 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
This patch series adds the mipsel architecture and a QEMU machine to Isar to
support legacy projects wanting to migrate to Debian (the mipsel architecture
and Malta reference board are supported with both stretch and buster). The
last patch is optional but desirable: it would add the qemumipsel-stretch
configuration to the ci_build chain.
ChangeLog:
* v2: add qemumipsel-buster configuration
* v1: initial submission (targeting qemumipsel-stretch)
Cedric Hombourger (9):
image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz)
start_vm: append kernel arguments specified in QEMU_KARGS
recipes-devtools/*-apt: add support for the mipsel architecture
recipes-kernel/linux: add support for the mipsel architecture
start_vm: add mipsel to the list of supported architectures
meta-isar: add the qemumipsel machine
ci_build: add qemumipsel-stretch to build targets
meta-isar: add qemumipsel-buster configuration
ci_build: add qemumipsel-buster configuration to build targets
meta-isar/conf/local.conf.sample | 2 ++
meta-isar/conf/machine/qemumipsel.conf | 9 +++++++++
meta-isar/conf/multiconfig/qemumipsel-buster.conf | 17 +++++++++++++++++
meta-isar/conf/multiconfig/qemumipsel-stretch.conf | 17 +++++++++++++++++
meta/classes/image.bbclass | 5 +++--
meta/recipes-devtools/base-apt/files/distributions.in | 2 +-
meta/recipes-devtools/isar-apt/files/distributions.in | 2 +-
meta/recipes-kernel/linux/files/build-kernel.sh | 4 ++++
scripts/ci_build.sh | 2 ++
scripts/start_vm | 6 +++---
10 files changed, 59 insertions(+), 7 deletions(-)
create mode 100644 meta-isar/conf/machine/qemumipsel.conf
create mode 100644 meta-isar/conf/multiconfig/qemumipsel-buster.conf
create mode 100644 meta-isar/conf/multiconfig/qemumipsel-stretch.conf
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 1/9] image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz)
2019-06-11 12:50 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine Cedric Hombourger
@ 2019-06-11 12:50 ` Cedric Hombourger
2019-06-11 12:50 ` [PATCH v2 2/9] start_vm: append kernel arguments specified in QEMU_KARGS Cedric Hombourger
` (4 subsequent siblings)
5 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:50 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Some Debian ports use a non-standard name for the symbolic link
to the Linux kernel: e.g. "vmlinux" for the mips port instead of
the usual "vmlinuz". The name of the symbolic link is needed for
Isar to copy the kernel image to tmp/deploy/images/<machine> (an
incorrect name causes the copy_boot_file task to fail).
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta/classes/image.bbclass | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 1950263..ec6bd39 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -13,7 +13,8 @@ IMAGE_INSTALL += "${@ ("linux-image-" + d.getVar("KERNEL_NAME", True)) if d.getV
IMAGE_FULLNAME = "${PF}"
# These variables are used by wic and start_vm
-KERNEL_IMAGE ?= "${PF}-vmlinuz"
+KERNEL_FILE ?= "vmlinuz"
+KERNEL_IMAGE ?= "${PF}-${KERNEL_FILE}"
INITRD_IMAGE ?= "${PF}-initrd.img"
# Useful variables for imager implementations:
@@ -123,7 +124,7 @@ EOF
do_copy_boot_files[dirs] = "${DEPLOY_DIR_IMAGE}"
do_copy_boot_files() {
- kernel="$(realpath -q '${IMAGE_ROOTFS}/vmlinuz')"
+ kernel="$(realpath -q '${IMAGE_ROOTFS}/${KERNEL_FILE}')"
if [ -n "$kernel" ]; then
cp -f "$kernel" '${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGE}'
fi
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 2/9] start_vm: append kernel arguments specified in QEMU_KARGS
2019-06-11 12:50 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine Cedric Hombourger
2019-06-11 12:50 ` [PATCH v2 1/9] image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz) Cedric Hombourger
@ 2019-06-11 12:50 ` Cedric Hombourger
2019-06-11 12:50 ` [PATCH v2 3/9] recipes-devtools/*-apt: add support for the mipsel architecture Cedric Hombourger
` (3 subsequent siblings)
5 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:50 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Some machines may require extra kernel arguments to be booted
in QEMU. Let the machine.conf file specify extra kernel arguments
via the QEMU_KARGS variable (optional setting). Extra arguments
are added verbatim to the kernel command line constructed by
start_vm
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
scripts/start_vm | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/start_vm b/scripts/start_vm
index bf8163a..b18cd8e 100755
--- a/scripts/start_vm
+++ b/scripts/start_vm
@@ -28,7 +28,7 @@ start_qemu() {
$QCPU \
-nographic \
$EXTRA_ARGS \
- -append "$KARGS" \
+ -append "$KARGS$EXTRA_KARGS" \
$root
[ $had_x -eq 0 ] && set +x
}
@@ -125,7 +125,7 @@ case "$IMAGE_TYPE" in
EXTRA_ARGS="$EXTRA_ARGS \
-kernel $QKERNEL \
-initrd $QINITRD"
- KARGS="console=$MACHINE_SERIAL root=/dev/$QEMU_ROOTFS_DEV rw"
+ KARGS="console=$MACHINE_SERIAL root=/dev/$QEMU_ROOTFS_DEV rw $QEMU_KARGS"
;;
wic-img)
readonly ROOTFS_IMAGE=isar-image-base-debian-$DISTRO-qemu$ARCH.wic.img
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 3/9] recipes-devtools/*-apt: add support for the mipsel architecture
2019-06-11 12:50 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine Cedric Hombourger
2019-06-11 12:50 ` [PATCH v2 1/9] image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz) Cedric Hombourger
2019-06-11 12:50 ` [PATCH v2 2/9] start_vm: append kernel arguments specified in QEMU_KARGS Cedric Hombourger
@ 2019-06-11 12:50 ` Cedric Hombourger
2019-06-11 12:50 ` [PATCH v2 4/9] recipes-kernel/linux: " Cedric Hombourger
` (2 subsequent siblings)
5 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:50 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta/recipes-devtools/base-apt/files/distributions.in | 2 +-
meta/recipes-devtools/isar-apt/files/distributions.in | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/meta/recipes-devtools/base-apt/files/distributions.in b/meta/recipes-devtools/base-apt/files/distributions.in
index 6dcc5a6..fd7de0b 100644
--- a/meta/recipes-devtools/base-apt/files/distributions.in
+++ b/meta/recipes-devtools/base-apt/files/distributions.in
@@ -1,3 +1,3 @@
Codename: {CODENAME}
-Architectures: i386 armhf arm64 amd64 source
+Architectures: i386 armhf arm64 amd64 mipsel source
Components: main
diff --git a/meta/recipes-devtools/isar-apt/files/distributions.in b/meta/recipes-devtools/isar-apt/files/distributions.in
index cc82c57..a24a700 100644
--- a/meta/recipes-devtools/isar-apt/files/distributions.in
+++ b/meta/recipes-devtools/isar-apt/files/distributions.in
@@ -1,3 +1,3 @@
Codename: {DISTRO_NAME}
-Architectures: i386 armhf arm64 amd64 source
+Architectures: i386 armhf arm64 amd64 mipsel source
Components: main
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 4/9] recipes-kernel/linux: add support for the mipsel architecture
2019-06-11 12:50 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine Cedric Hombourger
` (2 preceding siblings ...)
2019-06-11 12:50 ` [PATCH v2 3/9] recipes-devtools/*-apt: add support for the mipsel architecture Cedric Hombourger
@ 2019-06-11 12:50 ` Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 5/9] start_vm: add mipsel to the list of supported architectures Cedric Hombourger
2019-06-11 12:59 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine chombourger
2019-06-12 17:23 ` Baurzhan Ismagulov
5 siblings, 1 reply; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:50 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta/recipes-kernel/linux/files/build-kernel.sh | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta/recipes-kernel/linux/files/build-kernel.sh b/meta/recipes-kernel/linux/files/build-kernel.sh
index 4fdf3ed..8b7b23b 100644
--- a/meta/recipes-kernel/linux/files/build-kernel.sh
+++ b/meta/recipes-kernel/linux/files/build-kernel.sh
@@ -21,6 +21,10 @@ if [ "$host_arch" != "$target_arch" ]; then
export ARCH=arm64
export CROSS_COMPILE="aarch64-linux-gnu-"
;;
+ mipsel)
+ export ARCH=mips
+ export CROSS_COMPILE="mipsel-linux-gnu-"
+ ;;
*)
echo "error: unsupported architecture ($target_arch)"
exit 1
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 5/9] start_vm: add mipsel to the list of supported architectures
2019-06-11 12:50 ` [PATCH v2 4/9] recipes-kernel/linux: " Cedric Hombourger
@ 2019-06-11 12:56 ` Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 6/9] meta-isar: add the qemumipsel machine Cedric Hombourger
` (3 more replies)
0 siblings, 4 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:56 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
scripts/start_vm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/start_vm b/scripts/start_vm
index b18cd8e..9f07a03 100755
--- a/scripts/start_vm
+++ b/scripts/start_vm
@@ -43,7 +43,7 @@ show_help() {
echo
echo "Parameters:"
echo " -a, --arch ARCH set isar machine architecture."
- echo " Supported: arm, i386, amd64, arm64."
+ echo " Supported: arm, i386, amd64, arm64, mipsel."
echo " -b, --build BUILD set path to build directory."
echo " -d, --distro DISTRO set isar Debian distribution."
echo " Supported: stretch, buster"
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 6/9] meta-isar: add the qemumipsel machine
2019-06-11 12:56 ` [PATCH v2 5/9] start_vm: add mipsel to the list of supported architectures Cedric Hombourger
@ 2019-06-11 12:56 ` Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 7/9] ci_build: add qemumipsel-stretch to build targets Cedric Hombourger
` (2 subsequent siblings)
3 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:56 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta-isar/conf/local.conf.sample | 1 +
meta-isar/conf/machine/qemumipsel.conf | 9 +++++++++
meta-isar/conf/multiconfig/qemumipsel-stretch.conf | 17 +++++++++++++++++
3 files changed, 27 insertions(+)
create mode 100644 meta-isar/conf/machine/qemumipsel.conf
create mode 100644 meta-isar/conf/multiconfig/qemumipsel-stretch.conf
diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample
index b025a7f..871feac 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -45,6 +45,7 @@ BBMULTICONFIG = " \
qemui386-stretch \
qemui386-buster \
qemuamd64-stretch \
+ qemumipsel-stretch \
bananapi-stretch \
de0-nano-soc-stretch \
hikey-stretch \
diff --git a/meta-isar/conf/machine/qemumipsel.conf b/meta-isar/conf/machine/qemumipsel.conf
new file mode 100644
index 0000000..6ca0777
--- /dev/null
+++ b/meta-isar/conf/machine/qemumipsel.conf
@@ -0,0 +1,9 @@
+# This software is a part of ISAR.
+# Copyright (C) 2019 Mentor Graphics, a Siemens business
+
+KERNEL_FILE ?= "vmlinux"
+
+MACHINE_SERIAL ?= "ttyS0"
+BAUDRATE_TTY ?= "115200"
+
+IMAGE_TYPE ?= "ext4-img"
diff --git a/meta-isar/conf/multiconfig/qemumipsel-stretch.conf b/meta-isar/conf/multiconfig/qemumipsel-stretch.conf
new file mode 100644
index 0000000..1fe2004
--- /dev/null
+++ b/meta-isar/conf/multiconfig/qemumipsel-stretch.conf
@@ -0,0 +1,17 @@
+# This software is a part of ISAR.
+# Copyright (C) 2019 Mentor Graphics, a Siemens busines
+
+MACHINE ?= "qemumipsel"
+
+DISTRO ?= "debian-stretch"
+DISTRO_ARCH ?= "mipsel"
+
+KERNEL_NAME ?= "4kc-malta"
+
+QEMU_ROOTFS_DEV ?= "sda"
+
+QEMU_ARCH ?= "mipsel"
+QEMU_MACHINE ?= "malta"
+QEMU_CPU ?= "24Kc"
+QEMU_DISK_ARGS ?= "-drive file=##ROOTFS_IMAGE##,format=raw"
+QEMU_KARGS ?= "nokaslr"
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 7/9] ci_build: add qemumipsel-stretch to build targets
2019-06-11 12:56 ` [PATCH v2 5/9] start_vm: add mipsel to the list of supported architectures Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 6/9] meta-isar: add the qemumipsel machine Cedric Hombourger
@ 2019-06-11 12:56 ` Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 8/9] meta-isar: add qemumipsel-buster configuration Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 9/9] ci_build: add qemumipsel-buster configuration to build targets Cedric Hombourger
3 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:56 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
scripts/ci_build.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index dd736bf..8c99df4 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -29,6 +29,7 @@ TARGETS_SET="\
multiconfig:qemuamd64-stretch:isar-image-base \
multiconfig:qemuamd64-buster:isar-image-base \
multiconfig:qemuamd64-buster-tgz:isar-image-base \
+ multiconfig:qemumipsel-stretch:isar-image-base \
multiconfig:nand-ubi-demo-buster:isar-image-ubi \
multiconfig:rpi-stretch:isar-image-base"
# qemu-user-static of <= buster too old to build that
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 8/9] meta-isar: add qemumipsel-buster configuration
2019-06-11 12:56 ` [PATCH v2 5/9] start_vm: add mipsel to the list of supported architectures Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 6/9] meta-isar: add the qemumipsel machine Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 7/9] ci_build: add qemumipsel-stretch to build targets Cedric Hombourger
@ 2019-06-11 12:56 ` Cedric Hombourger
2019-06-11 12:56 ` [PATCH v2 9/9] ci_build: add qemumipsel-buster configuration to build targets Cedric Hombourger
3 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:56 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
meta-isar/conf/local.conf.sample | 1 +
meta-isar/conf/multiconfig/qemumipsel-buster.conf | 17 +++++++++++++++++
2 files changed, 18 insertions(+)
create mode 100644 meta-isar/conf/multiconfig/qemumipsel-buster.conf
diff --git a/meta-isar/conf/local.conf.sample b/meta-isar/conf/local.conf.sample
index 871feac..6f1405f 100644
--- a/meta-isar/conf/local.conf.sample
+++ b/meta-isar/conf/local.conf.sample
@@ -46,6 +46,7 @@ BBMULTICONFIG = " \
qemui386-buster \
qemuamd64-stretch \
qemumipsel-stretch \
+ qemumipsel-buster \
bananapi-stretch \
de0-nano-soc-stretch \
hikey-stretch \
diff --git a/meta-isar/conf/multiconfig/qemumipsel-buster.conf b/meta-isar/conf/multiconfig/qemumipsel-buster.conf
new file mode 100644
index 0000000..ac9058c
--- /dev/null
+++ b/meta-isar/conf/multiconfig/qemumipsel-buster.conf
@@ -0,0 +1,17 @@
+# This software is a part of ISAR.
+# Copyright (C) 2019 Mentor Graphics, a Siemens busines
+
+MACHINE ?= "qemumipsel"
+
+DISTRO ?= "debian-buster"
+DISTRO_ARCH ?= "mipsel"
+
+KERNEL_NAME ?= "4kc-malta"
+
+QEMU_ROOTFS_DEV ?= "sda"
+
+QEMU_ARCH ?= "mipsel"
+QEMU_MACHINE ?= "malta"
+QEMU_CPU ?= "24Kc"
+QEMU_DISK_ARGS ?= "-drive file=##ROOTFS_IMAGE##,format=raw"
+QEMU_KARGS ?= "nokaslr"
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* [PATCH v2 9/9] ci_build: add qemumipsel-buster configuration to build targets
2019-06-11 12:56 ` [PATCH v2 5/9] start_vm: add mipsel to the list of supported architectures Cedric Hombourger
` (2 preceding siblings ...)
2019-06-11 12:56 ` [PATCH v2 8/9] meta-isar: add qemumipsel-buster configuration Cedric Hombourger
@ 2019-06-11 12:56 ` Cedric Hombourger
3 siblings, 0 replies; 29+ messages in thread
From: Cedric Hombourger @ 2019-06-11 12:56 UTC (permalink / raw)
To: isar-users; +Cc: Cedric Hombourger
Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
scripts/ci_build.sh | 1 +
1 file changed, 1 insertion(+)
diff --git a/scripts/ci_build.sh b/scripts/ci_build.sh
index 8c99df4..01f09b6 100755
--- a/scripts/ci_build.sh
+++ b/scripts/ci_build.sh
@@ -30,6 +30,7 @@ TARGETS_SET="\
multiconfig:qemuamd64-buster:isar-image-base \
multiconfig:qemuamd64-buster-tgz:isar-image-base \
multiconfig:qemumipsel-stretch:isar-image-base \
+ multiconfig:qemumipsel-buster:isar-image-base \
multiconfig:nand-ubi-demo-buster:isar-image-ubi \
multiconfig:rpi-stretch:isar-image-base"
# qemu-user-static of <= buster too old to build that
--
2.11.0
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-11 12:50 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine Cedric Hombourger
` (3 preceding siblings ...)
2019-06-11 12:50 ` [PATCH v2 4/9] recipes-kernel/linux: " Cedric Hombourger
@ 2019-06-11 12:59 ` chombourger
2019-06-12 9:30 ` Claudius Heine
2019-06-12 17:23 ` Baurzhan Ismagulov
5 siblings, 1 reply; 29+ messages in thread
From: chombourger @ 2019-06-11 12:59 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 2491 bytes --]
I hope the patch series reached the mailing list OK (especially for git am
user) as my company e-mail server decided that 9 patches was too much :)
it stopped after patch #4 with: 4.4.2 Message submission rate for this
client has exceeded the configured limit
I did another git send-email for patches 5-9 and use the ID of patch #4 as
reference
Cedric
On Tuesday, June 11, 2019 at 2:50:43 PM UTC+2, Cedric Hombourger wrote:
>
> This patch series adds the mipsel architecture and a QEMU machine to Isar
> to
> support legacy projects wanting to migrate to Debian (the mipsel
> architecture
> and Malta reference board are supported with both stretch and buster). The
> last patch is optional but desirable: it would add the qemumipsel-stretch
> configuration to the ci_build chain.
>
> ChangeLog:
> * v2: add qemumipsel-buster configuration
> * v1: initial submission (targeting qemumipsel-stretch)
>
> Cedric Hombourger (9):
> image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz)
> start_vm: append kernel arguments specified in QEMU_KARGS
> recipes-devtools/*-apt: add support for the mipsel architecture
> recipes-kernel/linux: add support for the mipsel architecture
> start_vm: add mipsel to the list of supported architectures
> meta-isar: add the qemumipsel machine
> ci_build: add qemumipsel-stretch to build targets
> meta-isar: add qemumipsel-buster configuration
> ci_build: add qemumipsel-buster configuration to build targets
>
> meta-isar/conf/local.conf.sample | 2 ++
> meta-isar/conf/machine/qemumipsel.conf | 9 +++++++++
> meta-isar/conf/multiconfig/qemumipsel-buster.conf | 17
> +++++++++++++++++
> meta-isar/conf/multiconfig/qemumipsel-stretch.conf | 17
> +++++++++++++++++
> meta/classes/image.bbclass | 5 +++--
> meta/recipes-devtools/base-apt/files/distributions.in | 2 +-
> meta/recipes-devtools/isar-apt/files/distributions.in | 2 +-
> meta/recipes-kernel/linux/files/build-kernel.sh | 4 ++++
> scripts/ci_build.sh | 2 ++
> scripts/start_vm | 6 +++---
> 10 files changed, 59 insertions(+), 7 deletions(-)
> create mode 100644 meta-isar/conf/machine/qemumipsel.conf
> create mode 100644 meta-isar/conf/multiconfig/qemumipsel-buster.conf
> create mode 100644 meta-isar/conf/multiconfig/qemumipsel-stretch.conf
>
> --
> 2.11.0
>
>
[-- Attachment #1.2: Type: text/html, Size: 3773 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-11 12:59 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine chombourger
@ 2019-06-12 9:30 ` Claudius Heine
2019-06-12 9:44 ` chombourger
0 siblings, 1 reply; 29+ messages in thread
From: Claudius Heine @ 2019-06-12 9:30 UTC (permalink / raw)
To: chombourger, isar-users
Hi Cedric,
On 11/06/2019 14.59, chombourger@gmail.com wrote:
> I hope the patch series reached the mailing list OK (especially for git am
> user) as my company e-mail server decided that 9 patches was too much :)
> it stopped after patch #4 with: 4.4.2 Message submission rate for this
> client has exceeded the configured limit
>
> I did another git send-email for patches 5-9 and use the ID of patch #4 as
> reference
I think #8 is still missing.
Claudius
>
> Cedric
>
> On Tuesday, June 11, 2019 at 2:50:43 PM UTC+2, Cedric Hombourger wrote:
>>
>> This patch series adds the mipsel architecture and a QEMU machine to Isar
>> to
>> support legacy projects wanting to migrate to Debian (the mipsel
>> architecture
>> and Malta reference board are supported with both stretch and buster). The
>> last patch is optional but desirable: it would add the qemumipsel-stretch
>> configuration to the ci_build chain.
>>
>> ChangeLog:
>> * v2: add qemumipsel-buster configuration
>> * v1: initial submission (targeting qemumipsel-stretch)
>>
>> Cedric Hombourger (9):
>> image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz)
>> start_vm: append kernel arguments specified in QEMU_KARGS
>> recipes-devtools/*-apt: add support for the mipsel architecture
>> recipes-kernel/linux: add support for the mipsel architecture
>> start_vm: add mipsel to the list of supported architectures
>> meta-isar: add the qemumipsel machine
>> ci_build: add qemumipsel-stretch to build targets
>> meta-isar: add qemumipsel-buster configuration
>> ci_build: add qemumipsel-buster configuration to build targets
>>
>> meta-isar/conf/local.conf.sample | 2 ++
>> meta-isar/conf/machine/qemumipsel.conf | 9 +++++++++
>> meta-isar/conf/multiconfig/qemumipsel-buster.conf | 17
>> +++++++++++++++++
>> meta-isar/conf/multiconfig/qemumipsel-stretch.conf | 17
>> +++++++++++++++++
>> meta/classes/image.bbclass | 5 +++--
>> meta/recipes-devtools/base-apt/files/distributions.in | 2 +-
>> meta/recipes-devtools/isar-apt/files/distributions.in | 2 +-
>> meta/recipes-kernel/linux/files/build-kernel.sh | 4 ++++
>> scripts/ci_build.sh | 2 ++
>> scripts/start_vm | 6 +++---
>> 10 files changed, 59 insertions(+), 7 deletions(-)
>> create mode 100644 meta-isar/conf/machine/qemumipsel.conf
>> create mode 100644 meta-isar/conf/multiconfig/qemumipsel-buster.conf
>> create mode 100644 meta-isar/conf/multiconfig/qemumipsel-stretch.conf
>>
>> --
>> 2.11.0
>>
>>
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-12 9:30 ` Claudius Heine
@ 2019-06-12 9:44 ` chombourger
2019-06-12 11:21 ` Baurzhan Ismagulov
2019-06-12 11:27 ` Claudius Heine
0 siblings, 2 replies; 29+ messages in thread
From: chombourger @ 2019-06-12 9:44 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 317 bytes --]
Hi Claudius,
On Wednesday, June 12, 2019 at 11:30:18 AM UTC+2, Claudius Heine wrote:
>
> I think #8 is still missing.
>
I can see "[PATCH v2 8/9] meta-isar: add qemumipsel-buster
configuration" when using the web interface
and as far as I can tell all patches are there
@Maxim did you get the series OK?
Cedric
[-- Attachment #1.2: Type: text/html, Size: 580 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-12 9:44 ` chombourger
@ 2019-06-12 11:21 ` Baurzhan Ismagulov
2019-06-12 11:27 ` Claudius Heine
1 sibling, 0 replies; 29+ messages in thread
From: Baurzhan Ismagulov @ 2019-06-12 11:21 UTC (permalink / raw)
To: isar-users
On Wed, Jun 12, 2019 at 02:44:03AM -0700, chombourger@gmail.com wrote:
> I can see "[PATCH v2 8/9] meta-isar: add qemumipsel-buster
> configuration" when using the web interface
> and as far as I can tell all patches are there
>
> @Maxim did you get the series OK?
Yes, the series arrived ok.
With kind regards,
Baurzhan.
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-12 9:44 ` chombourger
2019-06-12 11:21 ` Baurzhan Ismagulov
@ 2019-06-12 11:27 ` Claudius Heine
1 sibling, 0 replies; 29+ messages in thread
From: Claudius Heine @ 2019-06-12 11:27 UTC (permalink / raw)
To: chombourger, isar-users
On 12/06/2019 11.44, chombourger@gmail.com wrote:
> Hi Claudius,
>
> On Wednesday, June 12, 2019 at 11:30:18 AM UTC+2, Claudius Heine wrote:
>>
>> I think #8 is still missing.
>>
>
> I can see "[PATCH v2 8/9] meta-isar: add qemumipsel-buster
> configuration" when using the web interface
> and as far as I can tell all patches are there
Ahh, ok. The threaded view made a bit of a mess with this patchset. #8
was in a completely different thread.
Sorry.
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-11 12:50 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine Cedric Hombourger
` (4 preceding siblings ...)
2019-06-11 12:59 ` [PATCH v2 0/9] Add mipsel architecture and QEMU machine chombourger
@ 2019-06-12 17:23 ` Baurzhan Ismagulov
2019-06-12 17:43 ` chombourger
5 siblings, 1 reply; 29+ messages in thread
From: Baurzhan Ismagulov @ 2019-06-12 17:23 UTC (permalink / raw)
To: isar-users
On Tue, Jun 11, 2019 at 02:50:17PM +0200, Cedric Hombourger wrote:
> This patch series adds the mipsel architecture and a QEMU machine to Isar to
> support legacy projects wanting to migrate to Debian (the mipsel architecture
> and Malta reference board are supported with both stretch and buster). The
> last patch is optional but desirable: it would add the qemumipsel-stretch
> configuration to the ci_build chain.
Looks good to me. ci_build is always welcome. vm_smoke_test and
testsuite/start_vm.py would be great, too.
Applied to next, thanks.
With kind regards,
Baurzhan.
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH v2 0/9] Add mipsel architecture and QEMU machine
2019-06-12 17:23 ` Baurzhan Ismagulov
@ 2019-06-12 17:43 ` chombourger
0 siblings, 0 replies; 29+ messages in thread
From: chombourger @ 2019-06-12 17:43 UTC (permalink / raw)
To: isar-users
[-- Attachment #1.1: Type: text/plain, Size: 865 bytes --]
Thank you! I will definitely look into adding this platform to the vm smoke
runs
but will most likely submit a change to the build-kernel.sh script first
On Wednesday, June 12, 2019 at 7:23:29 PM UTC+2, Baurzhan Ismagulov wrote:
>
> On Tue, Jun 11, 2019 at 02:50:17PM +0200, Cedric Hombourger wrote:
> > This patch series adds the mipsel architecture and a QEMU machine to
> Isar to
> > support legacy projects wanting to migrate to Debian (the mipsel
> architecture
> > and Malta reference board are supported with both stretch and buster).
> The
> > last patch is optional but desirable: it would add the
> qemumipsel-stretch
> > configuration to the ci_build chain.
>
> Looks good to me. ci_build is always welcome. vm_smoke_test and
> testsuite/start_vm.py would be great, too.
>
> Applied to next, thanks.
>
> With kind regards,
> Baurzhan.
>
[-- Attachment #1.2: Type: text/html, Size: 1048 bytes --]
^ permalink raw reply [flat|nested] 29+ messages in thread
* Re: [PATCH 0/7] Add mipsel architecture and QEMU machine
2019-06-11 5:38 [PATCH 0/7] Add mipsel architecture and QEMU machine Cedric Hombourger
` (6 preceding siblings ...)
2019-06-11 5:38 ` [PATCH 7/7] ci_build: add qemumipsel-stretch to build targets Cedric Hombourger
@ 2019-06-11 7:36 ` Claudius Heine
7 siblings, 0 replies; 29+ messages in thread
From: Claudius Heine @ 2019-06-11 7:36 UTC (permalink / raw)
To: Cedric Hombourger, isar-users
On 11/06/2019 07.38, Cedric Hombourger wrote:
> This patch series adds the mipsel architecture and a QEMU machine to Isar to
> support legacy projects wanting to migrate to Debian (the mipsel architecture
> and Malta reference board are supported with both stretch and buster). The
> last patch is optional but desirable: it would add the qemumipsel-stretch
> configuration to the ci_build chain.
LGTM
Acked-by: Claudius Heine <ch@denx.de>
>
> Cedric Hombourger (7):
> image.bbclass: introduce KERNEL_FILE (defaults to vmlinuz)
> start_vm: append kernel arguments specified in QEMU_KARGS
> recipes-devtools/*-apt: add support for the mipsel architecture
> recipes-kernel/linux: add support for the mipsel architecture
> start_vm: add mipsel to the list of supported architectures
> meta-isar: add the qemumipsel machine
> ci_build: add qemumipsel-stretch to build targets
>
> meta-isar/conf/local.conf.sample | 1 +
> meta-isar/conf/machine/qemumipsel.conf | 9 +++++++++
> meta-isar/conf/multiconfig/qemumipsel-stretch.conf | 17 +++++++++++++++++
> meta/classes/image.bbclass | 5 +++--
> meta/recipes-devtools/base-apt/files/distributions.in | 2 +-
> meta/recipes-devtools/isar-apt/files/distributions.in | 2 +-
> meta/recipes-kernel/linux/files/build-kernel.sh | 4 ++++
> scripts/ci_build.sh | 1 +
> scripts/start_vm | 6 +++---
> 9 files changed, 40 insertions(+), 7 deletions(-)
> create mode 100644 meta-isar/conf/machine/qemumipsel.conf
> create mode 100644 meta-isar/conf/multiconfig/qemumipsel-stretch.conf
>
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de
^ permalink raw reply [flat|nested] 29+ messages in thread