Part Number: TMDX654GPEVM
Hello forum
I was posted my problem at this forum but anyone didn't give my answer.
So, I am posting again
The problem I'm having and the procedures I've done so far are described below.
1. The Yocto project was built with the following options:
#@TYPE: Machine #@NAME: AM65xx EVM #@DESCRIPTION: Machine configuration for the TI AM65xx EVM require conf/machine/include/am65xx.inc <strong><span style='color:#ff0000;'>MACHINE_FEATURES += 'touchscreen'</span></strong> IMAGE_FSTYPES += 'tar.xz wic.xz' SERIAL_CONSOLES = '115200;ttyS2 115200;ttyS1' SERIAL_CONSOLES_CHECK = '${SERIAL_CONSOLES}' KERNEL_DEVICETREE = ' \ ti/k3-am654-base-board.dtb ti/k3-am654-gp.dtbo \ ti/k3-am654-evm-hdmi.dtbo ti/k3-am654-idk.dtbo \ ti/k3-am654-evm-csi2-ov490.dtbo ti/k3-am654-evm-csi2-ov5640.dtbo \ ti/k3-am654-evm-oldi-lcd1evm.dtbo ti/k3-am654-evm-tc358876.dtbo \ ti/k3-am654-pcie-usb2.dtbo ti/k3-am654-pcie-usb3.dtbo \ ti/k3-am654-base-board-jailhouse.dtbo \ ' UBOOT_MACHINE = 'am65x_evm_a53_defconfig' OPTEEMACHINE = 'k3' OPTEEFLAVOR = 'am65x' OPTEEOUTPUTMACHINE = 'k3' # Please note that booting AM65xx platform also requires # tiboot3.bin and sysfw.itb, which are provided by meta-arago # u-boot-k3-r5 and ti-sci-fw recipes IMAGE_BOOT_FILES = 'tispl.bin u-boot.img' WKS_FILE ?= 'sdimage-bootpart.wks' do_image_wic[depends] += 'u-boot:do_deploy'
When built with this option, touch was not possible.
2. So, based on Ti manager's opinion, I built as below.(https://e2e.ti.com/support/processors/f/791/p/854394/3178571?tisearch=e2e-sitesearch)
Command line images built following the manual have been verified to work correctly.
3. But I needed an image with a touch function like 'Sato' image and built it as below.
So I built the image with the following command but got an error.
Build option : MACHINE=MACHINE=am65xx-evm bitbake arago-core-tisdk-bundle
ERROR: arago-tiny-image-1.0-r0 do_rootfs: The postinstall intercept hook 'update_udev_hwdb' failed, details in /home/chung/yocto/tisdk/build/arago-tmp-external-arm-toolchain/work/am65xx_evm-linux/arago-tiny-image/1.0-r0/temp/log.do_rootfs ERROR: arago-tiny-image-1.0-r0 do_rootfs: Function failed: do_rootfs ERROR: Logfile of failure stored in: /home/chung/yocto/tisdk/build/arago-tmp-external-arm-toolchain/work/am65xx_evm-linux/arago-tiny-image/1.0-r0/temp/log.do_rootfs.342 ERROR: Task (/home/chung/yocto/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-tiny-image.bb:do_rootfs) failed with exit code '1'
4. Still unable to build, I deleted the tiSDK folder and rebuilt it. However, I noticed an error indicating that there is not enough disk space. My hard disk had 350Gb of free space before compilation.
ERROR: arago-core-tisdk-bundle-1.0-r0.tisdk17 do_image_tar: Function failed: do_image_tar (log file is located at /home/chung/yocto/tisdk/build/arago-tmp-external-arm-toolchain/work/am65xx_evm-linux/arago-core-tisdk-bundle/1.0-r0.tisdk17/temp/log.do_image_tar.6002) ERROR: Logfile of failure stored in: /home/chung/yocto/tisdk/build/arago-tmp-external-arm-toolchain/work/am65xx_evm-linux/arago-core-tisdk-bundle/1.0-r0.tisdk17/temp/log.do_image_tar.6002 Log data follows: | DEBUG: Executing python function set_image_size | DEBUG: 4759222.000000 = 3660940 * 1.300000 | DEBUG: 4759222.000000 = max(4759222.000000, 65536)[4759222.000000] + 1 | DEBUG: 4759222.000000 = int(4759222.000000) | DEBUG: 4759222 = aligned(4759222) | DEBUG: returning 4759222 | DEBUG: Python function set_image_size finished | DEBUG: Executing shell function do_image_tar | xz: (stdout): Write error: No space left on device | WARNING: /home/chung/yocto/tisdk/build/arago-tmp-external-arm-toolchain/work/am65xx_evm-linux/arago-core-tisdk-bundle/1.0-r0.tisdk17/temp/run.do_image_tar.6002:1 exit 1 from 'xz -f -k -c -3 -T 0 --check=crc32 processor-sdk-linux-bundle-am65xx-evm-20191123030548.tar > processor-sdk-linux-bundle-am65xx-evm-20191123030548.tar.xz' | ERROR: Function failed: do_image_tar (log file is located at /home/chung/yocto/tisdk/build/arago-tmp-external-arm-toolchain/work/am65xx_evm-linux/arago-core-tisdk-bundle/1.0-r0.tisdk17/temp/log.do_image_tar.6002) ERROR: Task (/home/chung/yocto/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.bb:do_image_tar) failed with exit code '1' NOTE: Tasks Summary: Attempted 11169 tasks of which 26 didn't need to be rerun and 1 failed. Summary: 1 task failed: /home/chung/yocto/tisdk/sources/meta-arago/meta-arago-distro/recipes-core/images/arago-core-tisdk-bundle.bb:do_image_tar Summary: There were 85 WARNING messages shown. Summary: There was 1 ERROR message shown, returning a non-zero exit code. chung@chung:~/yocto/tisdk/build$ MACHINE=am65xx-evm bitbake arago-core-tisdk-bundle Unable to create '/home/chung/yocto/tisdk/sources/bitbake/lib/bb/pysh/pyshtables.py' [Errno 28] No space left on device ERROR: Unable to start bitbake server (None) ERROR: Server log for this session (/home/chung/yocto/tisdk/build/bitbake-cookerdaemon.log): --- Starting bitbake server pid 10496 at 2019-11-24 12:39:28.231565 --- Traceback (most recent call last): File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 289, in parseBaseConfiguration bb.fetch.fetcher_init(self.data) File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 511, in fetcher_init revs.clear() File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/persist_data.py", line 143, in clear self._execute("DELETE FROM %s;" % self.table) File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/persist_data.py", line 62, in _execute return self.cursor.execute(*query) sqlite3.OperationalError: database or disk is full During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/daemonize.py", line 83, in createDaemon function() File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/server/process.py", line 469, in _startServer self.cooker = bb.cooker.BBCooker(self.configuration, self.featureset) File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/cooker.py", line 210, in __init__ self.initConfigurationData() File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/cooker.py", line 375, in initConfigurationData self.databuilder.parseBaseConfiguration() File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 327, in parseBaseConfiguration raise bb.BBHandledException bb.BBHandledException WARNING: Layer meta-processor-sdk should set LAYERSERIES_COMPAT_meta-processor-sdk in its conf/layer.conf file to list the core layer names it is compatible with. WARNING: Layer browser-layer should set LAYERSERIES_COMPAT_browser-layer in its conf/layer.conf file to list the core layer names it is compatible with. ERROR: Error parsing configuration files Traceback (most recent call last): File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/cookerdata.py", line 289, in CookerDataBuilder.parseBaseConfiguration(): if self.data.getVar("BB_WORKERCONTEXT", False) is None: > bb.fetch.fetcher_init(self.data) bb.codeparser.parser_cache_init(self.data) File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/fetch2/__init__.py", line 511, in fetcher_init(d=<bb.data_smart.DataSmart object at 0x7f88f0ea5978>): pass > revs.clear() else: File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/persist_data.py", line 143, in SQLTable.clear(): def clear(self): > self._execute("DELETE FROM %s;" % self.table) File "/home/chung/yocto/tisdk/sources/bitbake/lib/bb/persist_data.py", line 62, in SQLTable._execute(*query=('DELETE FROM BB_URI_HEADREVS;',)): try: > return self.cursor.execute(*query) except sqlite3.OperationalError as exc: sqlite3.OperationalError: database or disk is full
5. The purpose of my question is that a touch system built with Yocto works fine.
After reading the manual, I found that the pre-built image of Ti proceeds with touch screen calibration after the first boot.
I think putting the touchscreen calibration code in conf / bblaters.conf will solve the problem. I want to check the manual and how to do this.
What I've done so far about disabling touchscreens and the questions I left in a previous post. I would like an answer to this. Thank you.
The link to the previous post is: https://e2e.ti.com/support/processors/f/791/p/854394/3178571?tisearch=e2e-sitesearch
I look forward to your reply.