Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
toki
build-systems
yocto
meta-toki
Commits
da09ab6e
Commit
da09ab6e
authored
Apr 19, 2020
by
Oliver Horst
Browse files
[chg] Got the Yocto process working up to do_image_wic
parent
01db9ed5
Changes
4
Hide whitespace changes
Inline
Side-by-side
conf/distro/toki.conf
View file @
da09ab6e
...
@@ -28,9 +28,12 @@ DISTRO_FEATURES_LIBC_libc_newlib = "ipv4 ipv6 libc-backtrace libc-big-macros lib
...
@@ -28,9 +28,12 @@ DISTRO_FEATURES_LIBC_libc_newlib = "ipv4 ipv6 libc-backtrace libc-big-macros lib
DISTRO_FEATURES
?=
"${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${TOKI_DEFAULT_DISTRO_FEATURES}"
DISTRO_FEATURES
?=
"${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${TOKI_DEFAULT_DISTRO_FEATURES}"
PREFERRED_PROVIDER_virtual
/
kernel
=
"freertos"
PREFERRED_PROVIDER_virtual
/
kernel
=
"freertos"
PREFERRED_PROVIDER_virtual
/
boot
-
bin
=
"xilinx-bootbin"
PREFERRED_PROVIDER_virtual
/
boot
loader
=
"xilinx-bootbin"
EXTRA_IMAGEDEPENDS_remove
=
"u-boot-zynq-uenv arm-trusted-firmware virtual/boot-bin virtual/bootloader"
EXTRA_IMAGEDEPENDS_remove
=
"u-boot-zynq-uenv arm-trusted-firmware"
IMAGE_BOOT_FILES_remove
=
"Image u-boot.bin uEnv.txt atf-uboot.ub"
IMAGE_BOOT_FILES
+=
" boot.bin"
SDK_NAME
=
"${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
SDK_NAME
=
"${DISTRO}-${TCLIBC}-${SDK_ARCH}-${IMAGE_BASENAME}-${TUNE_PKGARCH}"
SDKPATH
=
"/opt/${DISTRO}/${SDK_VERSION}"
SDKPATH
=
"/opt/${DISTRO}/${SDK_VERSION}"
...
...
conf/local.conf.sample
View file @
da09ab6e
...
@@ -109,7 +109,7 @@ DISTRO ?= "poky"
...
@@ -109,7 +109,7 @@ DISTRO ?= "poky"
# - 'package_rpm' for rpm style packages
# - 'package_rpm' for rpm style packages
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
# We default to rpm:
# We default to rpm:
PACKAGE_CLASSES ?= "package_
rpm
"
PACKAGE_CLASSES ?= "package_
ipk
"
#
#
# SDK target architecture
# SDK target architecture
...
@@ -142,7 +142,7 @@ PACKAGE_CLASSES ?= "package_rpm"
...
@@ -142,7 +142,7 @@ PACKAGE_CLASSES ?= "package_rpm"
# There are other application targets that can be used here too, see
# There are other application targets that can be used here too, see
# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
# We default to enabling the debugging tweaks.
# We default to enabling the debugging tweaks.
EXTRA_IMAGE_FEATURES
?
= "
debug-tweaks
"
EXTRA_IMAGE_FEATURES = ""
#
#
# Additional image features
# Additional image features
...
@@ -161,10 +161,13 @@ USER_CLASSES ?= "buildstats image-mklibs image-prelink"
...
@@ -161,10 +161,13 @@ USER_CLASSES ?= "buildstats image-mklibs image-prelink"
# Runtime testing of images
# Runtime testing of images
#
#
# The build system can test booting virtual machine images under qemu (an emulator)
# The build system can test booting virtual machine images under qemu (an emulator)
# after any root filesystems are created and run tests against those images. To
# after any root filesystems are created and run tests against those images. It can also
# enable this uncomment this line. See classes/testimage(-auto).bbclass for
# run tests against any SDK that are built. To enable this uncomment these lines.
# further details.
# See classes/test{image,sdk}.bbclass for further details.
#TEST_IMAGE = "1"
#IMAGE_CLASSES += "testimage testsdk"
#TESTIMAGE_AUTO_qemuall = "1"
IMAGE_CLASSES = "image-types-xilinx-qemu qemuboot-xilinx"
IMAGE_FSTYPES = "wic.qemu-sd"
#
#
# Interactive shell configuration
# Interactive shell configuration
...
...
recipes-core/freertos/freertos_git.bb
View file @
da09ab6e
...
@@ -9,3 +9,7 @@ DEPENDS = "freertos-headers freertos-config freertos-plus freertos-portable"
...
@@ -9,3 +9,7 @@ DEPENDS = "freertos-headers freertos-config freertos-plus freertos-portable"
PROVIDES += "virtual/kernel"
PROVIDES += "virtual/kernel"
EXTRA_OECMAKE_append = " -DWITH_HEADERS:BOOL=FALSE"
EXTRA_OECMAKE_append = " -DWITH_HEADERS:BOOL=FALSE"
python do_deploy () {
}
addtask do_deploy after do_compile
recipes-core/toki/toki-amp-master.bb
View file @
da09ab6e
LICENSE = "CLOSED"
LICENSE = "CLOSED"
inherit package_ipk
python() {
python() {
# generate list of multiconf dependencies representing all required images
# generate list of multiconf dependencies representing all required images
enabled_cores = set(d.getVar("TOKI_SLAVE_CORES", True).split())
enabled_cores = set(d.getVar("TOKI_SLAVE_CORES", True).split())
...
@@ -46,9 +48,8 @@ do_fetch[noexec] = "1"
...
@@ -46,9 +48,8 @@ do_fetch[noexec] = "1"
do_unpack[noexec] = "1"
do_unpack[noexec] = "1"
do_patch[noexec] = "1"
do_patch[noexec] = "1"
do_configure[noexec] = "1"
do_configure[noexec] = "1"
do_install[noexec] = "1"
#do_install[noexec] = "1"
do_populate_sysroot[noexec] = "1"
#do_populate_sysroot[noexec] = "1"
do_package[noexec] = "1"
#do_package[noexec] = "1"
do_package_write_rpm[noexec] = "1"
#do_package_qa[noexec] = "1"
do_package_qa[noexec] = "1"
#do_packagedata[noexec] = "1"
do_packagedata[noexec] = "1"
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment