diff options
author | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-06 16:06:35 -0800 |
---|---|---|
committer | Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com> | 2017-12-13 16:11:14 -0800 |
commit | a18947c20dba2c0c38db8bde1ad4684995df4bbd (patch) | |
tree | 917bf2abbe439a6f99ede8cfafb25812dca54a9a /meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch | |
parent | 6ddc5873b0ede30e6542f0ab151a6236acc37944 (diff) | |
download | meta-xilinx-a18947c20dba2c0c38db8bde1ad4684995df4bbd.tar.gz |
meta-xilinx: Restructuring meta-xilinx to support multiple layers
As discussed previously on mailing list, we are proceeding with layer
restructuring. For rocko release we will have the following layers
meta-xilinx
->meta-xilinx-bsp (current meta-xilinx)
->meta-xilinx-contrib
In the subsequent releases we will add other layers from Xilinx
meta-xilinx
->meta-xilinx-bsp (current meta-xilinx)
->meta-petalinux
->meta-xilinx-tools
->meta-xilinx-contrib
This will provide one clone to get all the required meta layers from
Xilinx for a complete solution, and the users can blacklist any layer
which they don't want to use using bblayer.conf.
This will enables us to help our vendors/partners to add their reference
designs, board definitions etc.
Recipe changes :
* Move reference design zybo-linux-bd.bb to meta-xilinx-contrib
* Move kernel patches realted to zybo-linux-bd-zynq7 board to
meta-xilinx-contrib
* Update README
Signed-off-by: Manjukumar Matha <manjukumar.harthikote-matha@xilinx.com>
Diffstat (limited to 'meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch')
-rw-r--r-- | meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch b/meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch new file mode 100644 index 00000000..15124c1b --- /dev/null +++ b/meta-xilinx-bsp/recipes-devtools/qemu/files/qemu-system-aarch64-multiarch | |||
@@ -0,0 +1,32 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | BINPATH=$(dirname $0) | ||
4 | MACHINE_PATH=$(mktemp -d) | ||
5 | |||
6 | APU_ARGS= | ||
7 | PMU_ARGS= | ||
8 | |||
9 | while [ ! -z "$1" ]; do | ||
10 | if [ "$1" = "-pmu-args" ]; then | ||
11 | PMU_ARGS+=" $2" | ||
12 | shift | ||
13 | else | ||
14 | APU_ARGS+=" $1" | ||
15 | fi | ||
16 | shift | ||
17 | done | ||
18 | |||
19 | PMU_ROM=$(last=; for i in $PMU_ARGS; do if [ "$last" = "-kernel" ]; then echo "$i"; break; fi; last=$i; done) | ||
20 | if [ ! -e $PMU_ROM ]; then | ||
21 | echo "------" | ||
22 | echo "Error: Missing PMU ROM - $PMU_ROM" | ||
23 | echo " See 'meta-xilinx/README.qemu.md' for more information on accquiring the PMU ROM." | ||
24 | echo "------" | ||
25 | exit 255 | ||
26 | fi | ||
27 | |||
28 | # start the PMU instance | ||
29 | $BINPATH/qemu-system-microblazeel $PMU_ARGS -machine-path $MACHINE_PATH & | ||
30 | # start the APU instance | ||
31 | $BINPATH/qemu-system-aarch64 $APU_ARGS -machine-path $MACHINE_PATH | ||
32 | |||