Skip to content

Commit

Permalink
Merge pull request #867 from YoeDistro/kraj/master
Browse files Browse the repository at this point in the history
Update layers, fixes ODROID C4 bad SD card issue and add tegra project
  • Loading branch information
cbrake authored Nov 13, 2023
2 parents cc6fdfb + b20a690 commit 7c273af
Show file tree
Hide file tree
Showing 13 changed files with 130 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,7 @@
path = sources/meta-qt6
url = https://github.com/YoeDistro/meta-qt6
branch = yoe/6.6
[submodule "sources/meta-tegra"]
path = sources/meta-tegra
url = https://github.com/YoeDistro/meta-tegra
branch = master
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ and this project adheres to
- Update openSBI to 1.3.1
- Update linux-yocto/6.5 to v6.5.9 and linux-yocto/6.1 to v6.1.60
- Fix arm arch mapping issues in libdnf
- Fix ODROID-C4 broken SD cards by dropping use of IMAGE_NAME_SUFFIX
- Upgrade linux-hardkernel-4.9 to latest upstream
- Fix WKS_FILE assignment which lets it use yoe wks template now
- Pin minimum kernel to 4.9 for C4
- Fix librsvg for RISCV32 architecture
- Fix libarchive build inconsistency w.r.t. libb2 presence
- Fix ptest-packagelists for RISCV32

### Added

Expand All @@ -37,6 +44,9 @@ and this project adheres to
- Add recipetool handler to create go recipes
- Add initial support to use RISCV64 build host
- Add websocket support and SQLalchemy hashserv backend in bitbake
- Add new project for orin nano tegra board
- Add initial support for Milk-V Duo board
- Add new project for NVIDIA jetson orin-nano

### Removed

Expand Down
82 changes: 82 additions & 0 deletions conf/projects/jetson-orin-nano-devkit/config.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
MACHINE = "jetson-orin-nano-devkit"
DISTRO = "yoe"
# "yoe-<libc>-<init-system>-<windowing-system>"
YOE_PROFILE = "yoe-glibc-systemd-x11"

# Freeescale stuff EULA yeah :(
ACCEPT_FSL_EULA = "1"

# Acknowledge that Synaptics can revoke their license at any time on the
# Rapsberry pi firmware
LICENSE_FLAGS_ACCEPTED:append = "commercial_ffmpeg"

# Include the tegra_flash components to the image class
IMAGE_CLASSES:append = " image_types_tegra"
IMAGE_FSTYPES:append = " ext4.xz"
IMAGE_FSTYPES:remove = "ext4 tar.gz wic.*"

# Yoe Updater Supported Machines ( RPI, beaglebone, C4, SAMA5D27 for now )
#INITRAMFS_IMAGE_BUNDLE = "1"
# Use yoe-initramfs-image for initramfs
#INITRAMFS_IMAGE = "yoe-initramfs-image"
# Use kernel+initramfs image to boot
#IMAGE_BOOT_FILES:remove = "${KERNEL_IMAGETYPE}"
#IMAGE_BOOT_FILES:append = " ${KERNEL_IMAGETYPE}-initramfs-${MACHINE}.bin;${KERNEL_IMAGETYPE}"
# Use default Device Tree
IMAGE_BOOT_FILES:append = " tegra234-p3767-0003-p3768-0000-a0.dtb"

#WKS_FILE:yoe = "yoe-sdimage.wks"
#WKS_FILE:yoe:pn-yoe-installer-image = "yoe-installer.wks.in"

# Use GNU objcopy for kernel with clang
OBJCOPY:pn-linux-tegra:toolchain-clang = "${HOST_PREFIX}objcopy"

# OE has moved to demand 5.15 minimum kernel but meta-tegra is at 5.10 for jetson-orin-nano
OLDEST_KERNEL = "5.10"

# Use gcc for the following recipes on jetson
TOOLCHAIN:pn-edk2-firmware-tegra = "gcc"
TOOLCHAIN:pn-optee-os-tadevkit = "gcc"
TOOLCHAIN:pn-optee-nvsamples = "gcc"
TOOLCHAIN:pn-optee-os = "gcc"
TOOLCHAIN:pn-libgcc-for-nvcc = "gcc"
TOOLCHAIN:pn-gcc-for-nvcc-runtime = "gcc"
TOOLCHAIN:pn-opencv = "gcc"
TOOLCHAIN:pn-efivar = "gcc"
TOOLCHAIN:pn-qwt = "gcc"

# Use gnu run time to keep cuda happy
RUNTIME = "gnu"
TC_CXX_RUNTIME = "gnu"

# Needed for Running bitbake -ctestimage <image>
#TEST_TARGET_IP = "10.0.0.36"
#TEST_SERVER_IP = "10.0.0.13"
#TEST_TARGET = "simpleremote"

IMG_VERSION = "0.0.1"
#####################################################################
# add project specific configuration below this line
#####################################################################
#require conf/distro/include/lto.inc
#DISTRO_FEATURES:append = " lto"
# set max loadavg equal to nr of cpus, same at 1.0 on 1 cpu machine
#PARALLEL_MAKE:append = " \
#-l ${@int(os.sysconf(os.sysconf_names['SC_NPROCESSORS_ONLN'])) * 150/100} \
#"

# Setting a user/password in system
#INHERIT += "extrausers"
#EXTRA_USERS_PARAMS += "\
# useradd admin; \
# usermod -p '$(openssl passwd -6 myrootpassword)' admin; \
# usermod -a -G adm admin; \
# usermod -a -G video admin; \
# usermod -a -G audio admin; \
# usermod -a -G systemd-journal admin; \
#"
#EXTRA_IMAGE_FEATURES:remove = "debug-tweaks"

# For running oe-selftest uncomment below lines
#USER_CLASSES:remove = "buildhistory"
#PRSERV_HOST = ""
25 changes: 25 additions & 0 deletions conf/projects/jetson-orin-nano-devkit/layers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS = "\
${TOPDIR}/sources/meta-yoe \
\
${TOPDIR}/sources/meta-tegra \
\
${TOPDIR}/sources/meta-clang \
${TOPDIR}/sources/meta-elm-binary \
${TOPDIR}/sources/meta-qt6 \
\
${TOPDIR}/sources/meta-openembedded/meta-filesystems \
${TOPDIR}/sources/meta-openembedded/meta-gnome \
${TOPDIR}/sources/meta-openembedded/meta-initramfs \
${TOPDIR}/sources/meta-openembedded/meta-multimedia \
${TOPDIR}/sources/meta-openembedded/meta-networking \
${TOPDIR}/sources/meta-openembedded/meta-oe \
${TOPDIR}/sources/meta-openembedded/meta-perl \
${TOPDIR}/sources/meta-openembedded/meta-python \
${TOPDIR}/sources/meta-openembedded/meta-webserver \
${TOPDIR}/sources/meta-openembedded/meta-xfce \
\
${TOPDIR}/sources/poky/meta \
"
2 changes: 1 addition & 1 deletion sources/meta-clang
2 changes: 1 addition & 1 deletion sources/meta-freescale
2 changes: 1 addition & 1 deletion sources/meta-qcom
Submodule meta-qcom updated 1 files
+1 −1 conf/layer.conf
1 change: 1 addition & 0 deletions sources/meta-tegra
Submodule meta-tegra added at cd1989
2 changes: 1 addition & 1 deletion sources/meta-ti
Submodule meta-ti updated 36 files
+0 −1 meta-ti-bsp/conf/machine/am335x-evm.conf
+1 −2 meta-ti-bsp/conf/machine/am62axx-evm.conf
+1 −2 meta-ti-bsp/conf/machine/am62xx-evm.conf
+1 −0 meta-ti-bsp/conf/machine/am62xx-lp-evm.conf
+1 −2 meta-ti-bsp/conf/machine/am62xxsip-evm.conf
+0 −1 meta-ti-bsp/conf/machine/beagleplay.conf
+9 −0 meta-ti-bsp/conf/machine/include/j7200.inc
+6 −0 meta-ti-bsp/conf/machine/include/j721s2.inc
+6 −0 meta-ti-bsp/conf/machine/include/j784s4.inc
+0 −1 meta-ti-bsp/conf/machine/include/k3.inc
+0 −6 meta-ti-bsp/conf/machine/j721s2-evm.conf
+0 −6 meta-ti-bsp/conf/machine/j784s4-evm.conf
+0 −5 meta-ti-bsp/recipes-bsp/cadence-mhdp-fw/cadence-mhdp-fw_git.bb
+0 −11 meta-ti-bsp/recipes-bsp/cnm-wave-fw/cnm-wave-fw_git.bb
+0 −1 meta-ti-bsp/recipes-bsp/cpsw9g-eth-fw/cpsw9g-eth-fw_git.bb
+0 −5 meta-ti-bsp/recipes-bsp/goodix-fw/goodix-fw_git.bb
+0 −8 meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x-sr2_git.bb
+0 −8 meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw-am65x_git.bb
+0 −9 meta-ti-bsp/recipes-bsp/prueth-fw/prueth-fw_5.6.15.bb
+0 −8 meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw-am65x-sr2_git.bb
+0 −8 meta-ti-bsp/recipes-bsp/pruhsr-fw/pruhsr-fw_2.17.25.bb
+0 −8 meta-ti-bsp/recipes-bsp/pruprp-fw/pruprp-fw_2.17.25.bb
+0 −8 meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw-am65x-sr2_git.bb
+0 −9 meta-ti-bsp/recipes-bsp/prusw-fw/prusw-fw_3.2.9.bb
+1 −18 meta-ti-bsp/recipes-bsp/ti-dm-fw/ti-dm-fw.bb
+1 −19 meta-ti-bsp/recipes-bsp/ti-eth-fw/ti-eth-fw.bb
+0 −5 meta-ti-bsp/recipes-bsp/ti-img-encode-decode/vxd-dec-fw_git.bb
+19 −0 meta-ti-bsp/recipes-bsp/ti-linux-fw/ti-linux-fw.inc
+0 −9 meta-ti-bsp/recipes-bsp/ti-sci-fw/ti-sci-fw_git.bb
+1 −1 meta-ti-bsp/recipes-bsp/u-boot/u-boot-ti-staging_2023.04.bb
+0 −2 meta-ti-bsp/recipes-bsp/vpdma-fw/vpdma-fw_03-2012.bb
+2 −3 meta-ti-bsp/recipes-devtools/k3conf/k3conf_git.bb
+4 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging-rt_6.1.bb
+1 −1 meta-ti-bsp/recipes-kernel/linux/linux-ti-staging_6.1.bb
+11 −0 meta-ti-bsp/recipes-kernel/linux/ti-extras-rt.inc
+1 −19 meta-ti-bsp/recipes-ti/ti-rtos-bin/ti-rtos-firmware.bb

0 comments on commit 7c273af

Please sign in to comment.