panel_upgrade

This is an old revision of the document!


Not all files are shown in their entirety, only the relevant information. This is information collected from across the 15G tarball; it's obvious that the contents of the tarball reflect stuff that is a few years old and seems to be simply the archive of someone's home directory.

Any identifying or proprietary information has been removed.

Here's (most of) the top level contents of the tarball – some of these directories have little useful content so we won't need to look at everything.

$ ls -alF
drwxrwxr-x  7 rpjday rpjday 4096 Apr  8  2024 .repo/
drwxrwxr-x  5 rpjday rpjday 4096 Nov 20  2024 build/
-rwxrwxr-x  1 rpjday rpjday  470 Oct  3  2024 devbackup.sh*
-rwxrwxr-x  1 rpjday rpjday  552 Oct 23  2024 device_option.bb*
-rwxrwxr-x  1 rpjday rpjday 2503 Sep  6  2024 go*
lrwxrwxrwx  1 rpjday rpjday   43 Sep 11  2024 imx-setup-release.sh -> sources/meta-imx/tools/imx-setup-release.sh*
lrwxrwxrwx  1 rpjday rpjday   30 Sep 11  2024 setup-environment -> sources/base/setup-environment*
drwxrwxr-x 22 rpjday rpjday 4096 Dec 29 11:54 sources/
drwxrwxr-x  2 rpjday rpjday 4096 Aug 15  2024 stuff/
drwxrwxr-x  2 rpjday rpjday 4096 Apr 19  2024 toolchain_config/
drwxrwxr-x 15 rpjday rpjday 4096 Aug 29  2024 ws/

Summary of space under each directory:

$ du -s *
330208	build
4	devbackup.sh
4	device_option.bb
4	go
0	imx-setup-release.sh
4	make-tc
0	setup-environment
1333052	sources
12	stuff
12	toolchain_config
36996	ws

It appears that this build uses the “repo” tool to check out all of the necessary repositories; all of this represents the build from back in the “zeus” release days.

<manifest>
  <include name="imx-5.4.3-1.0.0.xml" />
</manifest>
imx-5.4.70-2.3.0.xml
imx-5.4.24-2.1.0.xml
imx-5.4.24-2.1.4.xml
imx-5.4.3-1.0.0.xml
imx-5.4.3-1.0.1.xml
imx-5.4.3-2.0.0.xm
imx-5.4.3-2.0.2.xml
imx-5.4.47-1.0.1.xml
imx-5.4.47-2.2.0.xml
... etc etc ...

The manifest file that seems to have been used.

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <default sync-j="2"/>

  <remote fetch="https://git.yoctoproject.org" name="yocto"/>
  <remote fetch="https://github.com/Freescale" name="community"/>
  <remote fetch="https://github.com/openembedded" name="oe"/>
  <remote fetch="https://github.com/OSSystems" name="OSSystems"/>
  <remote fetch="https://github.com/meta-qt5"  name="QT5"/>
  <remote fetch="https://github.com/TimesysGit"  name="Timesys"/>
  <remote fetch="https://github.com/meta-rust"  name="rust"/>
  <remote fetch="https://github.com/nxp-imx" name="nxp-imx"/>

  <project remote="yocto" revision="0275e68b0576cdefc19718e4b1977044f9f43f48" name="poky" path="sources/poky"/>
  <project remote="yocto" revision="0be39721cea6e04c589a419f4bb07fabd0da6704" name="meta-freescale" path="sources/meta-freescale"/>

  <project remote="oe" revision="aad5b3d070cd8c58828b0975cf861d8ebc90f460" name="meta-openembedded" path="sources/meta-openembedded"/>

  <project remote="community" revision="6e0d5d90fa8dd0c7abee04bbe103bc6a5ff8a8f7" name="fsl-community-bsp-base" path="sources/base">
    <linkfile dest="README" src="README"/>
    <linkfile dest="setup-environment" src="setup-environment"/>
  </project>

  <project remote="community" revision="aea3771baa77e74762358ceb673d407e36637e5f" name="meta-freescale-3rdparty" path="sources/meta-freescale-3rdparty"/>
  <project remote="community" revision="ca27d12e4964d1336e662bcc60184bbff526c857" name="meta-freescale-distro" path="sources/meta-freescale-distro"/>

  <project remote="OSSystems" revision="5f365ef0f842ba4651efe88787cf9c63bc8b6cb3" name="meta-browser" path="sources/meta-browser" />
  <project remote="rust" revision="5cda04c7c2158fc982502ca1e7893f71e4ca1729" name="meta-rust" path="sources/meta-rust" />
  <project remote="QT5" revision="432ad2aa6c3a13253fefc909faba368851d21fb1" name="meta-qt5" path="sources/meta-qt5" />

  <project remote="Timesys" revision="ef776166d7a4f7c8677137adbfd6adee6a0e2389" name="meta-timesys" path="sources/meta-timesys" />

  <project remote="nxp-imx" revision="refs/tags/rel_imx_5.4.3_1.0.0_gh" name="meta-imx" path="sources/meta-imx" >
     <linkfile src="tools/imx-setup-release.sh" dest="imx-setup-release.sh"/>
     <linkfile src="README" dest="README-IMXBSP"/>
  </project>
</manifest>

Not sure of the origin of this file, but it seems to suggest that the manifest file used is imx-5.4.3-1.0.0.xml.

PID: 13754 START: 1712605720089297408 :+++++++++++++++NEW COMMAND+++++++++++++++++++ starting new command: init, -u, https://github.com/nxp-imx/imx-manifest, -b, imx-linux-zeus, -m, imx-5.4.3-1.0.0.xml [sid=repo-20240408T194837Z-P000035ba/repo-20240408T194840Z-P000035ba]

Unclear if this is the actual build script, but it seems to match. It shows that “linux-imx” is the preferred provider for the kernel. Useless comments and blank lines deleted.

echo "This script should build the image then create the install project."

MYDIR=$PWD

function pause(){
   read -p "$*"
}

echo "root password:"
cat $MYDIR/rpw.conf

echo "Install type:"
cat $MYDIR/device_option.bb

cp -v $MYDIR/sources/image_config/local.conf $MYDIR/build/conf
cp -v $MYDIR/sources/image_config/bblayers.conf $MYDIR/build/conf

source setup-environment build
pause "Press [Enter] to continue."

bitbake linux-imx
bitbake core-image-minimal

pause "Image built! Press [Enter] to continue."

SRC=$MYDIR/build/tmp/deploy/images/lec-imx6-1

DST=$MYDIR/sources/meta-add-files/recipes-add-files/add-files-1.0/files

ls -al $DST

rm $DST/*.bz2
rm $DST/*.tgz
rm $DST/*.bin

cp $SRC/core-image-minimal-lec-imx6-1.tar.bz2 $DST/core-image-minimal-lec-imx6-1.rootfs.tar.bz2
cp $SRC/modules-lec-imx6-1.tgz $DST/modules--5.4-r0-lec-imx6-1.tgz

cp $SRC/uImage-lec-imx6-1.bin $DST/uImage.bin

ls -al $DST

cp -v $MYDIR/sources/install_config/local.conf $MYDIR/build/conf
cp -v $MYDIR/sources/install_config/bblayers.conf $MYDIR/build/conf

cd $MYDIR
pwd
source setup-environment build
sleep 1s
bitbake core-image-minimal

lsblk
echo ""
echo ""
echo "sudo ./2usb sdd1"
echo ""

cd $MYDIR

Not a full OE/bitbake build directory; you can see there is (sadly) no tmp/ directory that would let us examine everything that was built, but the other files and directories are still informative.

-rw-rw-r-- 1 rpjday rpjday 12178460 Nov 20  2024 bitbake-cookerdaemon.log
drwxrwxr-x 2 rpjday rpjday     4096 Nov 20  2024 cache
drwxrwxr-x 2 rpjday rpjday     4096 Apr  8  2024 conf
-rw-rw-r-- 1 rpjday rpjday  1656774 Apr 18  2024 dc.txt
-rw-rw-r-- 1 rpjday rpjday  1574259 Apr 16  2024 hello.txt
drwxrwxr-x 5 rpjday rpjday     4096 Jul 22  2024 workspace

It's long, but this file seems to contain the log output from numerous builds, so here's what looks like the log output from just the first build – it establishes that it's building a “core-image-minimal” target:

--- Starting bitbake server pid 2275 at 2024-04-08 12:13:32.349641 ---
Started bitbake server pid 2275
NOTE: Your conf/bblayers.conf has been automatically updated.
Entering server connection loop
Accepting [<socket.socket fd=6, family=AddressFamily.AF_UNIX, type=SocketKind.SOCK_STREAM, proto=0, laddr=bitbake.sock>] ([])
Processing Client
Connecting Client
Running command ['setFeatures', [2]]
Running command ['updateConfig', {'abort': True, 'force': False, 'invalidate_stamp': None, 'verbose': False, 'debug': 0, 'dry_run': False, 'dump_signatures': [], 'debug_domains': [], 'extra_assume_provided': [], 'profile': False, 'prefile': [], 'postfile': [], 'server_timeout': None}, {'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'USER': 'matrix', 'PWD': '/media/matrix/kirkstone/aperta-3/build', 'HOME': '/home/matrix', 'SSH_AGENT_PID': '1445', 'BBPATH': '/media/matrix/kirkstone/aperta-3/build', 'BB_ENV_EXTRAWHITE': 'ALL_PROXY BBPATH_EXTRA BB_NO_NETWORK BB_NUMBER_THREADS BB_SETSCENE_ENFORCE BB_SRCREV_POLICY DISTRO FTPS_PROXY FTP_PROXY GIT_PROXY_COMMAND HTTPS_PROXY HTTP_PROXY MACHINE NO_PROXY PARALLEL_MAKE SCREENDIR SDKMACHINE SOCKS5_PASSWD SOCKS5_USER SSH_AGENT_PID SSH_AUTH_SOCK STAMPS_DIR TCLIBC TCMODE all_proxy ftp_proxy ftps_proxy http_proxy https_proxy no_proxy ', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'LOGNAME': 'matrix', 'PATH': '/media/matrix/kirkstone/aperta-3/sources/poky/scripts:/media/matrix/kirkstone/aperta-3/sources/poky/bitbake/bin:/home/matrix/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'LC_ALL': 'en_US.UTF-8', 'CLUTTER_IM_MODULE': 'xim', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_MENU_PREFIX': 'gnome-', 'LANG': 'en_US.UTF-8', 'MANAGERPID': '1186', 'DISPLAY': ':0', 'OLDPWD': '/media/matrix/kirkstone/aperta-3', 'INVOCATION_ID': '79e14507ec294767b19cd136502dc584', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'COLORTERM': 'truecolor', 'USERNAME': 'matrix', 'XDG_VTNR': '1', 'XDG_SESSION_ID': '1', 'DESKTOP_SESSION': 'ubuntu', 'QT4_IM_MODULE': 'xim', 'TEXTDOMAINDIR': '/usr/share/locale/', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/ed5a4655_f4a4_46e9_824c_ca838ce510d9', 'JOURNAL_STREAM': '9:22330', 'TEXTDOMAIN': 'im-config', 'QT_ACCESSIBILITY': '1', 'XDG_SESSION_TYPE': 'x11', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'XDG_SESSION_DESKTOP': 'ubuntu', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/1000/bus,guid=97a2bc823067e149dcaa574366141646', 'BUILDDIR': '/media/matrix/kirkstone/aperta-3/build', 'GTK_MODULES': 'gail:atk-bridge', 'WINDOWPATH': '1', 'VTE_VERSION': '5202', 'QT_IM_MODULE': 'xim', 'XMODIFIERS': '@im=ibus', 'IM_CONFIG_PHASE': '2', 'DBUS_STARTER_BUS_TYPE': 'session', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'GNOME_TERMINAL_SERVICE': ':1.80', 'XDG_SEAT': 'seat0', 'SHLVL': '1', 'GDMSESSION': 'ubuntu', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus,guid=97a2bc823067e149dcaa574366141646', 'XDG_RUNTIME_DIR': '/run/user/1000', 'XAUTHORITY': '/run/user/1000/gdm/Xauthority', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'SESSION_MANAGER': 'local/matrix-VirtualBox:@/tmp/.ICE-unix/1302,unix/matrix-VirtualBox:/tmp/.ICE-unix/1302', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'GTK_IM_MODULE': 'ibus', '_': '/media/matrix/kirkstone/aperta-3/sources/poky/bitbake/bin/bitbake'}, ['/media/matrix/kirkstone/aperta-3/sources/poky/bitbake/bin/bitbake', 'core-image-minimal']]
Running command ['getVariable', 'BBINCLUDELOGS']
Running command ['getVariable', 'BBINCLUDELOGS_LINES']
Running command ['getSetVariable', 'BB_CONSOLELOG']
Running command ['getUIHandlerNum']
Running command ['setEventMask', 1, 20, {}, ['bb.runqueue.runQueueExitWait', 'bb.event.LogExecTTY', 'logging.LogRecord', 'bb.build.TaskFailed', 'bb.build.TaskBase', 'bb.event.ParseStarted', 'bb.event.ParseProgress', 'bb.event.ParseCompleted', 'bb.event.CacheLoadStarted', 'bb.event.CacheLoadProgress', 'bb.event.CacheLoadCompleted', 'bb.command.CommandFailed', 'bb.command.CommandExit', 'bb.command.CommandCompleted', 'bb.cooker.CookerExit', 'bb.event.MultipleProviders', 'bb.event.NoProvider', 'bb.runqueue.sceneQueueTaskStarted', 'bb.runqueue.runQueueTaskStarted', 'bb.runqueue.runQueueTaskFailed', 'bb.runqueue.sceneQueueTaskFailed', 'bb.event.BuildBase', 'bb.build.TaskStarted', 'bb.build.TaskSucceeded', 'bb.build.TaskFailedSilent', 'bb.build.TaskProgress', 'bb.event.ProcessStarted', 'bb.event.ProcessProgress', 'bb.event.ProcessFinished']]
Running command ['getVariable', 'BB_DEFAULT_TASK']
Running command ['setConfig', 'cmd', 'build']
Running command ['buildTargets', ['core-image-minimal'], 'build']
Processing Client
Disconnecting Client
No timeout, exiting.
Exiting

This file was clearly the saved output of a “bitbake -e” command for the build, so we can display both the preferred providers and preferred versions that would have been used for the build:

$ grep ^PREFERRED_PROVIDER hello.txt
PREFERRED_PROVIDER_console-tools="kbd"
PREFERRED_PROVIDER_dbus-glib="dbus-glib"
PREFERRED_PROVIDER_dbus-glib-native="dbus-glib-native"
PREFERRED_PROVIDER_gdb="gdb"
PREFERRED_PROVIDER_gdk-pixbuf="gdk-pixbuf"
PREFERRED_PROVIDER_getopt="util-linux-getopt"
PREFERRED_PROVIDER_gzip-native="pigz-native"
PREFERRED_PROVIDER_libgcc="libgcc"
PREFERRED_PROVIDER_linux-libc-headers="linux-libc-headers"
PREFERRED_PROVIDER_ltp="ltp"
PREFERRED_PROVIDER_matchbox-panel="matchbox-panel-2"
PREFERRED_PROVIDER_nativesdk-libgcc="nativesdk-libgcc"
PREFERRED_PROVIDER_nativesdk-linux-libc-headers="nativesdk-linux-libc-headers"
PREFERRED_PROVIDER_nativesdk-mesa="nativesdk-mesa"
PREFERRED_PROVIDER_nativesdk-openssl="nativesdk-openssl"
PREFERRED_PROVIDER_nativesdk-opkg="nativesdk-opkg"
PREFERRED_PROVIDER_nativesdk-pkgconfig="nativesdk-pkgconfig"
PREFERRED_PROVIDER_opencl-headers="imx-gpu-viv"
PREFERRED_PROVIDER_opencl-headers_imx="imx-gpu-viv"
PREFERRED_PROVIDER_openssl="openssl"
PREFERRED_PROVIDER_openssl-native="openssl-native"
PREFERRED_PROVIDER_opkg="opkg"
PREFERRED_PROVIDER_opkg-native="opkg-native"
PREFERRED_PROVIDER_pkgconfig="pkgconfig"
PREFERRED_PROVIDER_pkgconfig-native="pkgconfig-native"
PREFERRED_PROVIDER_u-boot="u-boot-fslc"
PREFERRED_PROVIDER_u-boot-mxsboot-native="u-boot-fslc-mxsboot-native"
PREFERRED_PROVIDER_udev="systemd"
PREFERRED_PROVIDER_udev-utils="systemd"
PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-binutils="binutils-cross-arm"
PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-compilerlibs="gcc-runtime"
PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-g++="gcc-cross-arm"
PREFERRED_PROVIDER_virtual/arm-poky-linux-gnueabi-gcc="gcc-cross-arm"
PREFERRED_PROVIDER_virtual/base-utils="busybox"
PREFERRED_PROVIDER_virtual/bootloader="u-boot-imx"
PREFERRED_PROVIDER_virtual/bootloader_imx="u-boot-imx"
PREFERRED_PROVIDER_virtual/egl="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/egl_imxgpu="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/fakeroot-native="pseudo-native"
PREFERRED_PROVIDER_virtual/gettext="gettext"
PREFERRED_PROVIDER_virtual/kernel="linux-imx"
PREFERRED_PROVIDER_virtual/kernel_imx="linux-imx"
PREFERRED_PROVIDER_virtual/libc="glibc"
PREFERRED_PROVIDER_virtual/libc-locale="glibc-locale"
PREFERRED_PROVIDER_virtual/libg2d="imx-gpu-g2d"
PREFERRED_PROVIDER_virtual/libg2d_imxdpu="imx-dpu-g2d"
PREFERRED_PROVIDER_virtual/libgl="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgl-native="mesa-native"
PREFERRED_PROVIDER_virtual/libgl_imxgpu3d="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgles1="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgles1_imxgpu3d="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgles2="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libgles2_imxgpu3d="imx-gpu-viv"
PREFERRED_PROVIDER_virtual/libiconv="glibc"
PREFERRED_PROVIDER_virtual/libintl="glibc"
PREFERRED_PROVIDER_virtual/libx11="libx11"
PREFERRED_PROVIDER_virtual/make="make"
PREFERRED_PROVIDER_virtual/make-native="make-native"
PREFERRED_PROVIDER_virtual/mesa="mesa"
PREFERRED_PROVIDER_virtual/nativesdk-libc="nativesdk-glibc"
PREFERRED_PROVIDER_virtual/nativesdk-libgl="nativesdk-mesa"
PREFERRED_PROVIDER_virtual/nativesdk-libiconv="nativesdk-glibc"
PREFERRED_PROVIDER_virtual/nativesdk-libintl="nativesdk-glibc"
PREFERRED_PROVIDER_virtual/update-alternatives="opkg-utils"
PREFERRED_PROVIDER_virtual/update-alternatives-native="opkg-utils-native"
PREFERRED_PROVIDER_virtual/x86_64-pokysdk-linux-binutils-crosssdk="binutils-crosssdk-x86_64-pokysdk-linux"
PREFERRED_PROVIDER_virtual/x86_64-pokysdk-linux-compilerlibs="nativesdk-gcc-runtime"
PREFERRED_PROVIDER_virtual/x86_64-pokysdk-linux-g++="gcc-crosssdk-x86_64-pokysdk-linux"
PREFERRED_PROVIDER_virtual/x86_64-pokysdk-linux-gcc="gcc-crosssdk-x86_64-pokysdk-linux"
PREFERRED_PROVIDER_virtual/xserver="xserver-xorg"
PREFERRED_PROVIDER_virtual/xserver-xf86="xserver-xorg"
PREFERRED_PROVIDER_xf86-video-intel="xf86-video-intel"
$
$ grep ^PREFERRED_VERSION hello.txt
PREFERRED_VERSION_binutils="2.32%"
PREFERRED_VERSION_binutils-cross-arm="2.32%"
PREFERRED_VERSION_binutils-cross-canadian-arm="2.32%"
PREFERRED_VERSION_binutils-crosssdk-x86_64-pokysdk-linux="2.32%"
PREFERRED_VERSION_binutils-native="2.32%"
PREFERRED_VERSION_cross-localedef-native="2.30%"
PREFERRED_VERSION_gcc="9.%"
PREFERRED_VERSION_gcc-cross-arm="9.%"
PREFERRED_VERSION_gcc-cross-canadian-arm="9.%"
PREFERRED_VERSION_gcc-cross-initial-arm="9.%"
PREFERRED_VERSION_gcc-crosssdk-initial-x86_64-pokysdk-linux="9.%"
PREFERRED_VERSION_gcc-crosssdk-x86_64-pokysdk-linux="9.%"
PREFERRED_VERSION_gcc-runtime="9.%"
PREFERRED_VERSION_gcc-sanitizers="9.%"
PREFERRED_VERSION_gdb="8.3%"
PREFERRED_VERSION_gdb-cross-arm="8.3%"
PREFERRED_VERSION_gdb-cross-canadian-arm="8.3%"
PREFERRED_VERSION_glibc="2.30%"
PREFERRED_VERSION_glibc-locale="2.30%"
PREFERRED_VERSION_glibc-mtrace="2.30%"
PREFERRED_VERSION_glibc-scripts="2.30%"
PREFERRED_VERSION_go="1.12%"
PREFERRED_VERSION_go-cross-canadian-arm="1.12%"
PREFERRED_VERSION_go-cross-cortexa9t2hf-neon="1.12%"
PREFERRED_VERSION_go-crosssdk-x86_64="1.12%"
PREFERRED_VERSION_go-native="1.12%"
PREFERRED_VERSION_go-runtime="1.12%"
PREFERRED_VERSION_gstreamer1.0="1.16.0.imx"
PREFERRED_VERSION_gstreamer1.0-libav="1.16.0"
PREFERRED_VERSION_gstreamer1.0-plugins-bad="1.16.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-base="1.16.0.imx"
PREFERRED_VERSION_gstreamer1.0-plugins-good="1.16.0.imx"
PREFERRED_VERSION_imx-gpu-g2d="6.4.0.p2.0"
PREFERRED_VERSION_imx-gpu-viv="6.4.0.p2.0-aarch32"
PREFERRED_VERSION_kernel-module-imx-gpu-viv="6.4.0.p2.0"
PREFERRED_VERSION_libdrm="2.4.99.imx"
PREFERRED_VERSION_libdrm_mx6="2.4.99.imx"
PREFERRED_VERSION_libdrm_mx7="2.4.99.imx"
PREFERRED_VERSION_libdrm_mx8="2.4.99.imx"
PREFERRED_VERSION_libgcc="9.%"
PREFERRED_VERSION_libgcc-initial="9.%"
PREFERRED_VERSION_libgfortran="9.%"
PREFERRED_VERSION_linux-libc-headers="5.4"
PREFERRED_VERSION_linux-libc-headers_imx="5.4"
PREFERRED_VERSION_llvm="8.0.1"
PREFERRED_VERSION_llvm-native="8.0.1"
PREFERRED_VERSION_nativesdk-gcc="9.%"
PREFERRED_VERSION_nativesdk-gcc-runtime="9.%"
PREFERRED_VERSION_nativesdk-gcc-sanitizers="9.%"
PREFERRED_VERSION_nativesdk-glibc="2.30%"
PREFERRED_VERSION_nativesdk-go="1.12%"
PREFERRED_VERSION_nativesdk-go-runtime="1.12%"
PREFERRED_VERSION_nativesdk-libgcc="9.%"
PREFERRED_VERSION_nativesdk-libgcc-initial="9.%"
PREFERRED_VERSION_nativesdk-linux-libc-headers="5.2%"
PREFERRED_VERSION_nativesdk-llvm="8.0.1"
PREFERRED_VERSION_nativesdk-qemu="4.1%"
PREFERRED_VERSION_optee-client_mx8="3.2.0.imx"
PREFERRED_VERSION_optee-os_mx8="3.2.0.imx"
PREFERRED_VERSION_optee-test_mx8="3.2.0.imx"
PREFERRED_VERSION_qemu="4.1%"
PREFERRED_VERSION_qemu-native="4.1%"
PREFERRED_VERSION_virtual/arm-poky-linux-gnueabi-go="1.12%"
PREFERRED_VERSION_wayland-protocols="1.18.imx"
PREFERRED_VERSION_wayland-protocols_mx6="1.18.imx"
PREFERRED_VERSION_wayland-protocols_mx7="1.18.imx"
PREFERRED_VERSION_wayland-protocols_mx8="1.18.imx"
PREFERRED_VERSION_weston="7.0.0.imx"
PREFERRED_VERSION_weston_mx6="7.0.0.imx"
PREFERRED_VERSION_weston_mx7="7.0.0.imx"
PREFERRED_VERSION_weston_mx8="7.0.0.imx"
$

We can examine the relevant .conf files that were apparently used for the build.

bblayers.conf

Removing the panel-specific layers since we don't care about them – you can see that, in addition to the standard OE/YP and Arm layers, there are a couple layers supplied by ADLINK. Again, all of these layers at the time were “zeus”-compatible layers.

LCONF_VERSION = "7"

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-freescale \
  ${BSPDIR}/sources/meta-freescale-3rdparty \
  ${BSPDIR}/sources/meta-freescale-distro \
"

# i.MX Yocto Project Release layers
BBLAYERS += " ${BSPDIR}/sources/meta-imx/meta-bsp "
BBLAYERS += " ${BSPDIR}/sources/meta-imx/meta-sdk "
BBLAYERS += " ${BSPDIR}/sources/meta-imx/meta-ml "

BBLAYERS += "${BSPDIR}/sources/meta-browser"
BBLAYERS += "${BSPDIR}/sources/meta-rust"
BBLAYERS += "${BSPDIR}/sources/meta-openembedded/meta-gnome"
BBLAYERS += "${BSPDIR}/sources/meta-openembedded/meta-networking"
BBLAYERS += "${BSPDIR}/sources/meta-openembedded/meta-filesystems"
BBLAYERS += "${BSPDIR}/sources/meta-qt5"

# ADLINK Layers
BBLAYERS += " ${BSPDIR}/sources/meta-adlink-nxp "
BBLAYERS += " ${BSPDIR}/sources/meta-adlink-sema "

Here is the relevant ADLINK NXP layer, which contains the machine definition of the “lec-imx6-1” shown in the next file that was used for this build back then.

local.conf

The local.conf file is interesting in that it shows that what is being built is not just the basic core-image-minimal, but has quite a few more packages:

MACHINE ??= 'lec-imx6-1'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= 'package_rpm'
# EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-testapps"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"

USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-system-native = " sdl"
CONF_VERSION = "1"

DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"

PACKAGE_EXCLUDE = "cfg80211"

include ../rpw.conf

DEFAULT_TIMEZONE = "US/Eastern" 

PACKAGECONFIG_pn-php = "mysql sqlite3 imap opcache openssl ${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 pam', d)} apache2" 

IMAGE_INSTALL_remove += " \
    ofono \
    connman \
    connman-gnome \
    connman-conf \
"
#     cylon-admin 

## For additional tools/packages
IMAGE_INSTALL_append = " \
    cmake make \
    libstdc++ \
    ethtool \
    iproute2 \
    gdb gdbserver \
    pulseaudio \
    apache2 \
    php \
    openssh \
    openssh-sftp-server \
    nano \
    hello \
    sqlite3 \
    aperta-update \
    php-modphp \
    sudo \
    ntp \
    tzdata \
    tzdata-africa \
    tzdata-americas \
    tzdata-antarctica \
    tzdata-arctic \
    tzdata-asia \
    tzdata-atlantic \
    tzdata-australia \
    tzdata-europe \
    tzdata-pacific \
    openldap \
    time \
    inetutils \
    cronie \
    logrotate \
    htop \
    add-misc-files \
    database \
"

CORE_IMAGE_EXTRA_INSTALL += "kernel-devicetree ssh firmware-imx-sdma"

## For sdcard image type creation
IMAGE_BOOT_FILES ?= " \
        ${KERNEL_IMAGETYPE} \
        ${@make_dtb_boot_files(d)} \
  • panel_upgrade.1767184323.txt.gz
  • Last modified: 2025/12/31 12:32
  • by rpjday