This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4379: Qt issues

Part Number: AM4379

Good day,

I have followed all the steps in this guide for QT creator: Here

However, once I complete the step which asks to choose a kit for the project, the manually selected qmake from the SDK (labelled as AM437x in the list) does not allow me to proceed. Furthermore, when selecting the qmake from the installed SDK, there is a red '!' icon beside the Qt Version with the error "Qt version is not properly installed, please run make install". I am running Qt composer on a Linux Ubuntu 18.04.3 LTS operating system. I have installed libraries using "sudo apt-get install build-essential" and "sudo apt-get install libfontconfig1" , "sudo apt-get install mesa-common-dev" and "sudo apt-get install libglu1-mesa-dev -y".

I have downloaded the SDK from TI through this link.  I followed the instructions for SDK installation using the setup.sh file. Another issue I found was that I could not find the qt5 directory in this location:

cd /home/sitara/AM335x/ti-processor-sdk-linux-<machine>-<sdk version>/linux-devkit/sysroots/cortexa8hf-vfp-neon-linux-gnueabi/usr/include/qt5

and instead of cortexa8hf-vfp-neon-linux-gnueabi, it was x86-x64-arago.. for me.

I will update this post with any required information (such as screenshots, linux codes) upon request.

Apologies for not being so technical, I am a beginner and a student therefore my knowledge about the topic is limited. I did this as a last resort after trying multiple solutions.

Kind regards,

Shoaib Muhammad

  • Hello Shoaib,

    Please, refer to this, this, this, this, this and this thread. You have to first source <Processor SDK>/linux-devkit/environment-setup script before invoking qtcreator from the same terminal window.

    Best regards,
    Kemal

  • Hi Kemal,

    Thank you for the reply. I have done as instructed and sourced the environment-setup file.

    I have redone all the steps of LAB 2 of the Hands on with Qt exercise although it still says that my Qt version is invalid.

    I have attached 3 screenshots: the terminal window, Qt project creation window, and the Tools>Options window of Qt.

    Please advise if you need any other information.

    Kind regards,

    Shoaib

  • In addition to the previous issues, I have skipped a section of LAB 1 as well due to the error "Project ERROR: Unknown module(s) in QT: SOURCES += helloworld.cpp".

    The screenshot is provided with this post.

    Kind regards,

    Shoaib

  • Can you use sudo -E commands instead of sudo and retry?

    Shoaib Muhammad said:
    "Project ERROR: Unknown module(s) in QT: SOURCES += helloworld.cpp"

    Please, see this thread about this issue.

  • Hi Kemal,

    Thank you very much I truly appreciate it. I was able to proceed on both LAB1 and LAB2, however, i am faced with new errors when running both files. Under the "QT version" tab the red "!" icon was replaced with a yellow icon and the text "No qmlscene installed" appeared. I have followed the instructions on one of the posts you referred to above to remove the version and add the qmake back, this time with the environment-setup sourced. It did not solve the issue. Running LAB1 and LAB2 output files from the serial minicom terminal also yielded the same errors.

    Furthermore, after following LAB2, just after clicking Run "green arrow", an error message "error while loading shared libraries: libGLESv2.so.2 appears. Please refer to the screenshots for a clearer picture and information.

    Kind regards,

    Shoaib

  • You are not running Processor SDK 6 on your board. Just create a new SD card with Processor SDK 6 and run your board with it.

  • Hi Kemal,

    Thank you for the quick reply. I have created an SD card with the create-sdcard.sh file in the SDK. After plugging it into the board's SD card slot and rebooting, The touchscreen has no display but I can confirm a successful boot through minicom. Since this is not an issue with Qt should I make a new thread about it?

    Kind regards,

    Shoaib

  • In addition to the touchscreen not displaying anything, these are the errors in Qt I have received after running:

  • Yes. The touch screen doesn't work in the Processor SKD 6. Please, switch to the previous Processor SDK 5.3.07 where it works, and do not forget to setup the Processor SDK 5.3.07 settings and paths in the Qt creator.

  • Hi Kemal,

    I used the create-sdcard.sh in Processor SDK 'ti-processor-sdk-linux-am437x-evm-05.03.00.07' which I downloaded from the TI website. I still get the same results where the board boots successfully without any errors, but there is no display in the touchscreen. Therefore, I am not able to proceed with the Qt LAB.

    Another issue is that I could not run setup.sh from the SDK. The error shown is:

    [ ok ] Stopping nfs-kernel-server (via systemctl): nfs-kernel-server.service.
    [....] Starting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled.
     failed!
    Failed setup, aborting..
    Failed setup, aborting..

    The boot process from minicom shows:

    [  196.915119] mmc0: host does not support reading read-only switch, assuming write-enable
    [  196.929193] mmc0: new high speed SDHC card at address aaaa
    [  196.942951] mmcblk1: mmc0:aaaa SC16G 14.8 GiB
    [  196.957656]  mmcblk1: p1 p2
    [  197.571394] EXT4-fs (mmcblk1p2): mounting ext3 file system using the ext4 subsystem
    [  197.620970] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [  197.631650] EXT4-fs (mmcblk1p2): recovery complete
    [  197.653674] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)

    U-Boot SPL 2014.07-g372a2e0 (Apr 01 2015 - 17:18:51)
    Could not read the EEPROM
    Could not get board ID.
    SPL: Please implement spl_start_uboot() for your board
    SPL: Direct Linux boot not active!
    reading u-boot.img
    reading u-boot.img


    U-Boot 2014.07-g372a2e0 (Apr 01 2015 - 17:18:51)

    I2C:   ready
    DRAM:  1 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    Hit any key to stop autoboot:  0
    switch to partitions #0, OK
    mmc1(part 0) is current device
    SD/MMC found on device 1
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    3042120 bytes read in 150 ms (19.3 MiB/s)
    54494 bytes read in 15 ms (3.5 MiB/s)
    Booting from mmc1 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x2e6b48 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffef000, end 8ffff4dd ... OK

    Starting kernel ...

    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Initializing cgroup subsys cpu
    [    0.000000] Initializing cgroup subsys cpuacct
    [    0.000000] Linux version 4.4.19 (felix@bobo) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 PREEMPT Sun Dec 25 13:17:00 IST 206
    [    0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [    0.000000] Machine model: Variscite AM437x SOM
    [    0.000000] cma: Reserved 24 MiB at 0xbe800000
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] CPU: All CPU(s) started in SVC mode.
    [    0.000000] AM437x ES1.2 (sgx neon )
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260416
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext4 rootwait
    [    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [    0.000000] Memory: 1005088K/1048576K available (5835K kernel code, 229K rwdata, 2012K rodata, 280K init, 230K bss, 18912K reserved, 24576)
    [    0.000000] Virtual kernel memory layout:
    [    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    [    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    [    0.000000]     vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
    [    0.000000]     lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
    [    0.000000]     pkmap   : 0xbfe00000 - 0xc0000000   (   2 MB)
    [    0.000000]     modules : 0xbf000000 - 0xbfe00000   (  14 MB)
    [    0.000000]       .text : 0xc0008000 - 0xc07b1fd4   (7848 kB)
    [    0.000000]       .init : 0xc07b2000 - 0xc07f8000   ( 280 kB)
    [    0.000000]       .data : 0xc07f8000 - 0xc08315f0   ( 230 kB)
    [    0.000000]        .bss : 0xc0833000 - 0xc086c868   ( 231 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] Preemptible hierarchical RCU implementation.
    [    0.000000]  Build-time adjustment of leaf fanout to 32.
    [    0.000000] NR_IRQS:16 nr_irqs:16 16
    [    0.000000] L2C: platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C: DT/platform modifies aux control register: 0x0e030000 -> 0x3e430000
    [    0.000000] L2C-310 erratum 769419 enabled
    [    0.000000] L2C-310 enabling early BRESP for Cortex-A9
    [    0.000000] OMAP L2C310: ROM does not support power control setting
    [    0.000000] L2C-310 dynamic clock gating disabled, standby mode disabled
    [    0.000000] L2C-310 cache controller enabled, 16 ways, 256 kB
    [    0.000000] L2C-310: CACHE_ID 0x410000c9, AUX_CTRL 0x4e430000
    [    0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [    0.000011] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
    [    0.000027] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
    [    0.000035] OMAP clocksource: timer1 at 24000000 Hz
    [    0.000530] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000539] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000981] Console: colour dummy device 80x30
    [    0.001008] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
    [    0.001013] This ensures that you still see kernel messages. Please
    [    0.001018] update your kernel commandline.
    [    0.001033] Calibrating delay loop... 1993.93 BogoMIPS (lpj=9969664)
    [    0.060140] pid_max: default: 32768 minimum: 301
    [    0.060241] Security Framework initialized
    [    0.060276] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060285] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.060952] Initializing cgroup subsys io
    [    0.060980] Initializing cgroup subsys memory
    [    0.061016] Initializing cgroup subsys devices
    [    0.061031] Initializing cgroup subsys freezer
    [    0.061045] Initializing cgroup subsys perf_event
    [    0.061073] CPU: Testing write buffer coherency: ok
    [    0.061416] Setting up static identity map for 0x80008200 - 0x80008270
    [    0.062744] devtmpfs: initialized
    [    0.074399] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [    0.147308] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.149228] pinctrl core: initialized pinctrl subsystem
    [    0.150421] NET: Registered protocol family 16
    [    0.151704] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.180183] cpuidle: using governor ladder
    [    0.210174] cpuidle: using governor menu
    [    0.212012] omap_l3_noc 44000000.ocp: L3 debug error: target 8 mod:0 (unclearable)
    [    0.212074] omap_l3_noc 44000000.ocp: L3 application error: target 8 mod:0 (unclearable)
    [    0.215908] OMAP GPIO hardware version 0.1
    [    0.222512] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/nand_flash_x8_default, dee
    [    0.226589] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [    0.226606] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [    0.266410] edma 49000000.edma: TI EDMA DMA engine driver
    [    0.270074] SCSI subsystem initialized
    [    0.270571] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c0_pins, deferring probe
    [    0.270621] omap_i2c 4802a000.i2c: could not find pctldev for node /ocp/l4_wkup@44c00000/scm@210000/pinmux@800/i2c1_pins_default, deferrine
    [    0.270809] pps_core: LinuxPPS API ver. 1 registered
    [    0.270818] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.270843] PTP clock support registered
    [    0.271434] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
    [    0.271697] Advanced Linux Sound Architecture Driver Initialized.
    [    0.272386] clocksource: Switched to clocksource timer1
    [    0.280023] NET: Registered protocol family 2
    [    0.280731] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.280798] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.280873] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.281023] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.281045] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.281198] NET: Registered protocol family 1
    [    0.281522] RPC: Registered named UNIX socket transport module.
    [    0.281534] RPC: Registered udp transport module.
    [    0.281539] RPC: Registered tcp transport module.
    [    0.281545] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.283636] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.289321] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.289984] NFS: Registering the id_resolver key type
    [    0.290033] Key type id_resolver registered
    [    0.290040] Key type id_legacy registered
    [    0.290106] jffs2: version 2.2. (NAND) (SUMMARY)  �© 2001-2006 Red Hat, Inc.
    [    0.294968] NET: Registered protocol family 38
    [    0.295071] bounce: pool size: 64 pages
    [    0.295086] io scheduler noop registered
    [    0.295097] io scheduler deadline registered
    [    0.295161] io scheduler cfq registered (default)
    [    0.296831] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [    0.299425] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    0.301744] omap8250 44e09000.serial: No clock speed specified: using default: 48000000
    [    0.302116] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 30, base_baud = 3000000) is a 8250
    [    0.985071] console [ttyS0] enabled
    [    0.989025] omap8250 48024000.serial: No clock speed specified: using default: 48000000
    [    0.997443] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 31, base_baud = 3000000) is a 8250
    [    1.006611] omap8250 481a6000.serial: No clock speed specified: using default: 48000000
    [    1.014991] 481a6000.serial: ttyS3 at MMIO 0x481a6000 (irq = 32, base_baud = 3000000) is a 8250
    [    1.024782] [drm] Initialized drm 1.1.0 20060810
    [    1.030685] 4832a000.dss supply vdda_video not found, using dummy regulator
    [    1.037880] OMAP DSS rev 2.0
    [    1.040917] omapdss_dss 4832a000.dss: bound 4832a400.dispc (ops dispc_component_ops)
    [    1.061340] brd: module loaded
    [    1.070066] loop: module loaded
    [    1.132441] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
    [    1.138576] davinci_mdio 4a101000.mdio: detected phy mask fffffffa
    [    1.146215] libphy: 4a101000.mdio: probed
    [    1.150250] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
    [    1.159595] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver Atheros 8031 ethernet
    [    1.169478] cpsw 4a100000.ethernet: Detected MACID = 9c:1d:58:83:7b:5c
    [    1.177135] i2c /dev entries driver
    [    1.181685] omap_hsmmc 48060000.mmc: Got CD GPIO
    [    1.302696] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.308774] mmc0: host does not support reading read-only switch, assuming write-enable
    [    1.317203] omap-aes 53501000.aes: OMAP AES hw accel rev: 0.1
    [    1.324142] omap-des 53701000.des: OMAP DES hw accel rev: 0.33
    [    1.330129] mmc0: new high speed SDHC card at address aaaa
    [    1.336626] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
    [    1.342741] omap-sham 53100000.sham: hw accel on OMAP rev 0.0
    [    1.348678]  mmcblk0: p1 p2
    [    1.360174] NET: Registered protocol family 17
    [    1.364968] Key type dns_resolver registered
    [    1.370439] omap_voltage_late_init: Voltage driver support not added
    [    1.379369] ThumbEE CPU extension supported.
    [    1.383839] Registering SWP/SWPB emulation handler
    [    1.391300] omapdrm omapdrm.0: DMM not available, disable DMM support
    [    1.399353] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [    1.406141] [drm] No driver support for vblank timestamp query.
    [    1.422826] mmc1: MAN_BKOPS_EN bit is not set
    [    1.424339] mmc1: new high speed MMC card at address 0001
    [    1.424965] mmcblk1: mmc1:0001 8GME4R 7.28 GiB
    [    1.425212] mmcblk1boot0: mmc1:0001 8GME4R partition 1 4.00 MiB
    [    1.425453] mmcblk1boot1: mmc1:0001 8GME4R partition 2 4.00 MiB
    [    1.426712]  mmcblk1: p1 p2
    [    1.457589] Console: switching to colour frame buffer device 100x30
    [    1.552400] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [    1.582411] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [    1.602890] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    1.608064] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
    [    1.623902] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
    [    1.630284] nand: Micron MT29F4G08ABADAWP
    [    1.642398] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
    [    1.650042] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
    [    1.672470] 10 ofpart partitions found on MTD device 8000000.nand
    [    1.678589] Creating 10 MTD partitions on "8000000.nand":
    [    1.692398] 0x000000000000-0x000000040000 : "NAND.SPL"
    [    1.703259] 0x000000040000-0x000000080000 : "NAND.SPL.backup1"
    [    1.723153] 0x000000080000-0x0000000c0000 : "NAND.SPL.backup2"
    [    1.730108] 0x0000000c0000-0x000000100000 : "NAND.SPL.backup3"
    [    1.743438] 0x000000100000-0x000000180000 : "NAND.u-boot-spl-os"
    [    1.763087] 0x000000180000-0x000000280000 : "NAND.u-boot"
    [    1.782964] 0x000000280000-0x0000002c0000 : "NAND.u-boot-env"
    [    1.789882] 0x0000002c0000-0x000000300000 : "NAND.u-boot-env.backup1"
    [    1.803467] 0x000000300000-0x000000a00000 : "NAND.kernel"
    [    1.825493] 0x000000a00000-0x000020000000 : "NAND.file-system"
    [    2.707081] omap_i2c 44e0b000.i2c: bus 0 rev0.12 at 100 kHz
    [    2.723682] ft5x06_ts 1-0038: Reading reset GPIO
    [    2.728349] ft5x06_ts 1-0038: Reading irq GPIO
    [    2.742679] input: ft5x06_ts as /devices/platform/44000000.ocp/4802a000.i2c/i2c-1/1-0038/input/input0
    [    2.922834] ft5x06_ts 1-0038: Device ID = 0x54
    [    2.932958] ft5x06_ts 1-0038: report rate = 0Hz
    [    2.943920] ft5x06_ts 1-0038: Firmware version = 5.0.0
    [    2.971826] rtc-isl12057 1-0068: rtc core: registered rtc-isl12057 as rtc0
    [    2.992414] omap_i2c 4802a000.i2c: bus 1 rev0.12 at 100 kHz
    [    3.000543] asoc-simple-card sound@0: tlv320aic3x-hifi <-> 4803c000.mcasp mapping ok
    [    3.026056] rtc-isl12057 1-0068: setting system clock to 2019-09-18 01:14:37 UTC (1568769277)
    [    3.046639] ALSA device list:
    [    3.049645]   #0: AM437x-GP-EVM
    [    3.088479] EXT4-fs (mmcblk0p2): recovery complete
    [    3.102425] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [    3.110607] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [    3.143207] devtmpfs: mounted
    [    3.146693] Freeing unused kernel memory: 280K (c07b2000 - c07f8000)
    [    3.153132] This architecture does not have kernel memory protection.
    [    3.528799] systemd[1]: Failed to insert module 'autofs4': No such file or directory
    [    3.588378] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GC)
    [    3.609890] systemd[1]: Detected architecture arm.

    Welcome to Arago 2018.10!

    [    3.653592] systemd[1]: Set hostname to <am437x-evm>.
    [    4.197263] random: systemd: uninitialized urandom read (16 bytes read, 33 bits of entropy available)
    [    4.208842] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    4.232794] random: systemd: uninitialized urandom read (16 bytes read, 33 bits of entropy available)
    [    4.243152] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    4.262937] random: systemd: uninitialized urandom read (16 bytes read, 33 bits of entropy available)
    [    4.272547] systemd[1]: Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    4.306901] random: systemd: uninitialized urandom read (16 bytes read, 33 bits of entropy available)
    [    4.316446] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    4.332708] random: systemd: uninitialized urandom read (16 bytes read, 33 bits of entropy available)
    [    4.342338] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    4.372620] random: systemd: uninitialized urandom read (16 bytes read, 33 bits of entropy available)
    [    4.382214] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    4.402627] random: systemd: uninitialized urandom read (16 bytes read, 33 bits of entropy available)
    [    4.412926] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [    4.432657] random: systemd: uninitialized urandom read (16 bytes read, 34 bits of entropy available)
    [    4.453301] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    4.473040] random: systemd: uninitialized urandom read (16 bytes read, 34 bits of entropy available)
    [    4.485608] systemd[1]: Mounting Kernel Debug File System...
             Mounting Kernel Debug File System...
    [    4.512910] random: systemd: uninitialized urandom read (16 bytes read, 34 bits of entropy available)
    [    4.539257] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    4.573125] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [    4.603738] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    4.626150] systemd[1]: Mounting POSIX Message Queue File System...
             Mounting POSIX Message Queue File System...
    [    4.653311] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    4.683325] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    4.702914] systemd[1]: Reached target Paths.
    [  OK  ] Reached target Paths.
    [    4.726249] systemd[1]: Starting Remount Root and Kernel File Systems...
             Starting Remount Root and Kernel File Systems...
    [    4.772925] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    4.798191] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    [    4.829720] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [    4.863139] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    4.893056] systemd[1]: Reached target Slices.
    [  OK  ] Reached target Slices.
    [    4.926946] systemd[1]: Mounting Temporary Directory (/tmp)...
             Mounting Temporary Directory (/tmp)...
    [    4.953241] systemd[1]: Listening on Syslog Socket.
    [  OK  ] Listening on Syslog Socket.
    [    4.976761] systemd[1]: Starting Journal Service...
             Starting Journal Service...
    [    5.025196] systemd[1]: Mounted Kernel Debug File System.
    [  OK  ] Mounted Kernel Debug File System.
    [    5.063025] systemd[1]: Mounted POSIX Message Queue File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [    5.083011] systemd[1]: Mounted Temporary Directory (/tmp).
    [  OK  ] Mounted Temporary Directory (/tmp).
    [    5.104794] systemd[1]: Started Remount Root and Kernel File Systems.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [    5.123366] systemd[1]: systemd-modules-load.service: Main process exited, code=exited, status=1/FAILURE
    [    5.144421] systemd[1]: Failed to start Load Kernel Modules.
    [FAILED] Failed to start Load Kernel Modules.
    See 'systemctl status systemd-modules-load.service' for details.
    [    5.202674] systemd[1]: systemd-modules-load.service: Unit entered failed state.
    [    5.210160] systemd[1]: systemd-modules-load.service: Failed with result 'exit-code'.
    [    5.220048] systemd[1]: Started Journal Service.
    [  OK  ] Started Journal Service.
             Mounting Kernel Configuration File System...
             Starting Apply Kernel Variables...
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [    5.623979] systemd-journald[156]: Received request to flush runtime journal from PID 1
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Load/Save Random Seed...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily rotation of log files.
             Starting Network Service...
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
    [  OK  ] Listening on RPCbind Server Activation Socket.
    [  OK  ] Listening on dropbear.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Kernel Logging Service.
             Starting Print notice about GPLv3 packages...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Reached target Containers.
             Starting uim-sysfs.service...
             Starting RPC Bind Service...
             Starting Avahi mDNS/DNS-SD Stack...
    [  OK  ] Started Job spooling tools.
    [  OK  ] Started System Logging Service.
             Starting Login Service...
             Starting Save/Restore Sound Card State...
    [  OK  ] Started Periodic Command Scheduler.
    [  OK  ] Started Hardware RNG Entropy Gatherer Daemon.
    [  OK  ] Started Network Service.
    [  OK  ] Started RPC Bind Service.
    [    9.505945] random: nonblocking pool is initialized
    [  OK  ] Found device /dev/ttyS0.
    [  OK  ] Started Save/Restore Sound Card State.
    [   10.661562] net eth0: initializing cpsw version 1.15 (0)
    [   10.758611] net eth0: initialized cpsw ale version 1.4
    [   10.858710] net eth0: ALE Table size 1024
    [   11.033060] net eth0: phy found : id is : 0x4dd074
    [  OK  ] Started Avahi mDNS/DNS-SD Stack.
    [  OK  ] Started Login Service.
    [  OK  ] Reached target Network.
             Starting Lightning Fast Webserver With Light System Requirements...
             Starting Enable and configure wl18xx bluetooth stack...
             Starting Permit User Sessions...
    [   11.775910] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
             Starting Simple Network Management Protocol (SNMP) Daemon....
    [  OK  ] Started Redis In-Memory Data Store.
             Starting Network Name Resolution...
             Starting Wait for Network to be Configured...
    [   12.264879] EXT4-fs (mmcblk1p2): mounting ext3 file system using the ext4 subsystem
    [   12.364251] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
    [   12.601375] EXT4-fs (mmcblk1p2): recovery complete
    [   12.672055] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
    [  OK  ] Started Lightning Fast Webserver With Light System Requirements.
    [  OK  ] Started Enable and configure wl18xx bluetooth stack.
    [  OK  ] Started uim-sysfs.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Started Simple Network Management Protocol (SNMP) Daemon..
    [  OK  ] Reached target Sound Card.
    [  OK  ] Reached target Host and Network Name Lookups.
    [  OK  ] Started NFS status monitor for NFSv2/3 locking..
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started Serial Getty on ttyS0.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
             Starting rc.pvr.service...
    [  OK  ] Started Synchronize System and HW clocks.
    [  OK  ] Started rc.pvr.service.
             Starting weston.service...
    ***************************************************************
    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages:
            autoconf
            bash-dev
            bash
            binutils
            cifs-utils
            cpio
            cpp-symlinks
            cpp
            dosfstools
            elfutils
            findutils
            g++-symlinks
            g++
            gawk
            gcc-symlinks
            gcc
            gdb
            gdbserver
            gettext
            glmark2
            gstreamer1.0-libav
            gzip
            hidapi
            libdw1
            libelf1
            libgdbm-compat4
            libgdbm-dev
            libgdbm4
            libgettextlib
            libgettextsrc
            libgmp10
            libidn11
            libmavconn
            libmpc3
            libmpfr4
            libreadline-dev
            libreadline7
            libunistring2
            m4-dev
            m4
            make
            mavlink
            mavros-extras
            mavros-msgs
            mavros
            nettle
            python3-pycairo
            socketcan-interface
            which

    If you do not wish to distribute GPLv3 components please remove
    the above packages prior to distribution.  This can be done using
    the opkg remove command.  i.e.:
        opkg remove <package>
    Where <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
          will be notified of the dependent packages.  You should
          use the --force-removal-of-dependent-packages option to
          also remove the dependent packages as well
    ***************************************************************
    ***************************************************************
    [  OK  ] Started Print notice about GPLv3 packages.
    [  OK  ] Started weston.service.
             Starting Matrix GUI...
             Starting telnetd.service...
    [  OK  ] Started Matrix GUI.
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
    [  OK  ] Started thttpd.service.
             Starting rng-tools.service...
    [  OK  ] Started rng-tools.service.
    [   21.033481] cpsw 4a100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control off

     _____                    _____           _         _   
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|  
                  |___|                    |___|            

    Arago Project http://arago-project.org am437x-evm ttyS0

    Arago 2018.10 am437x-evm ttyS0

    am437x-evm login:

    Kind regards,

    Shoaib

  • Shoaib Muhammad said:
    [ ok ] Stopping nfs-kernel-server (via systemctl): nfs-kernel-server.service.
    [....] Starting nfs-kernel-server (via systemctl): nfs-kernel-server.serviceJob for nfs-server.service canceled.
     failed!
    Failed setup, aborting..
    Failed setup, aborting..


    Please, see this comment to fix this issue.


    Shoaib Muhammad said:
    U-Boot SPL 2014.07-g372a2e0 (Apr 01 2015 - 17:18:51)
    [    0.000000] Linux version 4.4.19 (felix@bobo) (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05) ) #1 PREEMPT Sun Dec 25 13:17:00 IST 206

    You are not running Processor SDK 5.3.07 on your board.

  • Thank you Kemal,

    You are correct. I was actually booting from the eMMC upon checking the switch positions. However, i have re-set the switches to boot from sd card that I made from the create-sdcard.sh selecting one of two pre-built image files from the SDK v5.

    This time the board does not respond at all. There are no text lines in the minicom port.

    One thing I failed to mention was that the board I am using is the VAR-SOM-AM43 Development Kit from Variscite. Would that have any relationship to the problems I am experiencing?

    I will try to gather more data on the sd card creation after running setup.sh successfully. Again, I apologize for my inexperience. I will update as soon as I can.

    Kind regards,

    Shoaib

  • Hello Shoaib,

    Please, follow the "How to compile Qt application" steps on your board's vendor site and turn to them for further support.

    Best regards,
    Kemal