Skip to content

Instantly share code, notes, and snippets.

@schnapper79
Last active May 15, 2023 14:31
Show Gist options
  • Save schnapper79/1402ee236bddd83fbe26186bbac3300d to your computer and use it in GitHub Desktop.
Save schnapper79/1402ee236bddd83fbe26186bbac3300d to your computer and use it in GitHub Desktop.
yocto_stuff
1. install repo
4. copy meta-ame and meta-wiesheu to sources directory
5. change build_imx6q_wtouch2-x11/conf/bblayers.conf to:
```
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
BBFILES ?= ""
BBLAYERS = " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-poky \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
${BSPDIR}/sources/meta-openembedded/meta-python \
${BSPDIR}/sources/meta-openembedded/meta-filesystems \
${BSPDIR}/sources/meta-openembedded/meta-networking \
\
${BSPDIR}/sources/meta-ame \
${BSPDIR}/sources/meta-wiesheu \
\
${BSPDIR}/sources/meta-freescale \
${BSPDIR}/sources/meta-freescale-3rdparty \
${BSPDIR}/sources/meta-freescale-distro \
"
```
6. change `sources/meta-wiesheu/conf/machine/imx6q_wtouch2.conf` from `require conf/machine/include/tune-cortexa9.inc` to `require conf/machine/include/arm/armv7a/tune-cortexa9.inc` and same file `sdcard` to `wic`
7. run python script `sources/poky/scripts/contrib/convert-overrides.py` to fix old style .bb to new style .bb (only on meta-ame and meta-wiesheu)
8. fix the fixes.... (this script sucks....):
1. replace `sysfs_remove_group` with `sysfs_remove_group`
2. replace `(?<!:):(?!:)(remove[,(])` with `_$1`
9. rename recipes for kernel and u-boot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment