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.

AM5746: TI Processor SDK: arago-base-tisdk-image: no serial input

Part Number: AM5746
Other Parts Discussed in Thread: AM5748, PMP

I am building arago-base-tisdk-image using TI Processor SDK am57xx-evm-06.02.00.81.

Everything boots fine, and I am using the USB on the AM574X IDK board and it outputs serial fine, but I cannot input.

The prebuilt images work OK.

Is there some special magic I need to do to build the image and enable serial input?

Thank you

  • 8473.built.tarHi Richard,

    No such hidden Magic :-)

    I am also on the same SDK release: ti-processor-sdk-linux-am57xx-evm-06.02.00.81
    I am using AM574x-IDK as well. I just did a make u-boot from the top directory
    and i was able give input from serial port at the u-boot prompt. The output of u-boot is pasted below.

    I am also attaching the MLO/u-boot.img that i built for your quick testing.

    I need the following things from your side:

    1) full logs from your built images boot.
    2) Which application are you using? I use minicom to see the console logs.
    3) Are you not able to give input at u-boot or at Linux?

    Below is my u-boot log for your reference.

    Regards,
    Keerthy

    U-Boot SPL 2019.01-g2bd8328999 (Apr 10 2020 - 15:15:57 +0530
                                                                DRA762-GP ES1.0 ABZ package
    no pinctrl state for default mode
    ** Unable to read file dra7-ipu1-fw.xem4 **
    Firmware loading iled
    Trying to boot from MMC1
    no pinctrl state for default me
    Loading Environment from FAT... ** Invalid partition 1 **
    Loading Environment from MMC... *** Warning - bad CRC, using default environment



    U-Boot 2019.01-g2bd8328999 (Apr 10 2020 - 15:15:57 +0530)
    CPU  : DRA762-GP ES1.0 ABZ package
    Model: TI AM5748 IDK
    Boa: AM574x IDK REV 1.0C
    DRAM:  2 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... *** Warning - bad CRC, using default environment

    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    am57x_idk_lcd_detect: Failed to get I2C device 0/56 (ret 1)
    Net:   
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stoautoboot:  0
    =>

  • Hello Keerthy,

    1/ will attach at end of my responses

    2/ Minicom, see command below.  I originally tried screen, but I received garbage.

    3/ Both.  I am sure this was working with the prebuilt images, I will check again.  but I get to the login prompt (well even thru u-boot) and I can't input anything.

    ================================

    xxx@u795025edef875e:~/src/meta-aws-demos$ minicom -b 115200 -D /dev/ttyUSB1


    Welcome to minicom 2.7.1

    OPTIONS: I18n
    Compiled on Aug 13 2017, 15:25:34.
    Port /dev/ttyUSB1, 17:37:04

    Press CTRL-A Z for help on special keys


    U-Boot SPL 2019.01-ga141f7abfd (Feb 05 2020 - 22:46:08 +0000)
    DRA762-GP ES1.0 ABZ package
    no pinctrl state for default mode
    ** Unable to read file dra7-ipu1-fw.xem4 **
    Firmware loading failed
    Trying to boot from MMC1
    no pinctrl state for default mode
    Loading Environment from FAT... *** Warning - bad CRC, using default environment

    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    U-Boot 2019.01-ga141f7abfd (Feb 05 2020 - 22:46:08 +0000)

    CPU : DRA762-GP ES1.0 ABZ package
    Model: TI AM5748 IDK
    Board: AM574x IDK REV 1.0A
    DRAM: 2 GiB
    MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... *** Warning - bad CRC, using default environment

    Loading Environment from MMC... *** Warning - bad CRC, using default environment

    am57x_idk_lcd_detect: Failed to get I2C device 0/56 (ret 1)
    Net:
    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4452864 bytes read in 199 ms (21.3 MiB/s)
    89963 bytes read in 6 ms (14.3 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe7000, end 8fffff6a ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.79-g77dfab56c6 (oe-user@oe-host) (gcc version0
    [ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
    [ 0.000000] CPU: div instructions available: patching division code
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [ 0.000000] OF: fdt: Machine model: TI AM5748 IDK
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] efi: Getting EFI parameters from FDT:
    [ 0.000000] efi: UEFI not found.
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, B
    [ 0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatil
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, B
    [ 0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatil
    [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009d000000, B
    [ 0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatil
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, B
    [ 0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatil
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [ 0.000000] OMAP4: Map 0x00000000ffd00000 to (ptrval) for dram barrier
    [ 0.000000] DRA762 ES1.0
    [ 0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 wit0
    [ 0.000000] percpu: Embedded 15 pages/cpu s32396 r8192 d20852 u61440
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 415616
    [ 0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=f15d84t
    [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
    [ 0.000000] Memory: 1478556K/1667072K available (10240K kernel code, 335K rw)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
    [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0x(ptrval) - 0x(ptrval) (12256 kB)
    [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
    [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 336 kB)
    [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 270 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
    [ 0.000000] GIC: Using split EOI/Deactivate mode
    [ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
    [ 0.000000] arch_timer: cp15 timer(s) running at 6.14MHz (phys).
    [ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycless
    [ 0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398s
    [ 0.000018] Switching to timer-based delay loop, resolution 162ns
    [ 0.000290] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xfffffffs
    [ 0.000300] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000759] Console: colour dummy device 80x30
    [ 0.000803] Calibrating delay loop (skipped), value calculated using timer f)
    [ 0.000821] pid_max: default: 32768 minimum: 301
    [ 0.000947] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.000959] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
    [ 0.001522] CPU: Testing write buffer coherency: ok
    [ 0.001562] CPU0: Spectre v2: using ICIALLU workaround
    [ 0.001784] /cpus/cpu@0 missing clock-frequency property
    [ 0.001805] /cpus/cpu@1 missing clock-frequency property
    [ 0.001817] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.059909] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.079917] rcu: Hierarchical SRCU implementation.
    [ 0.100107] EFI services will not be available.
    [ 0.119975] smp: Bringing up secondary CPUs ...
    [ 0.200296] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.200302] CPU1: Spectre v2: using ICIALLU workaround
    [ 0.200423] smp: Brought up 1 node, 2 CPUs
    [ 0.200435] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.200444] CPU: All CPU(s) started in HYP mode.
    [ 0.200452] CPU: Virtualization extensions available.
    [ 0.200896] devtmpfs: initialized
    [ 0.217988] VFP support v0.3: implementor 41 architecture 4 part 30 variant 0
    [ 0.218247] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
    [ 0.218266] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.220982] pinctrl core: initialized pinctrl subsystem
    [ 0.221515] DMI not present or invalid.
    [ 0.221795] NET: Registered protocol family 16
    [ 0.222915] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.223827] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.416642] cpuidle: using governor ladder
    [ 0.416678] cpuidle: using governor menu
    [ 0.427299] OMAP GPIO hardware version 0.1
    [ 0.452609] No ATAGs?
    [ 0.452684] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint.
    [ 0.452699] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.453539] OMAP DMA hardware revision 0.0
    [ 0.465148] edma 43300000.edma: memcpy is disabled
    [ 0.468506] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.475710] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver )
    [ 0.479232] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.479408] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.479666] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.479910] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.480279] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.480503] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.480782] iommu: Adding device 58820000.ipu to group 1
    [ 0.480860] iommu: Adding device 55020000.ipu to group 2
    [ 0.480983] iommu: Adding device 40800000.dsp to group 0
    [ 0.481215] iommu: Adding device 41000000.dsp to group 3
    [ 0.482452] SCSI subsystem initialized
    [ 0.483497] palmas 0-0058: Irq flag is 0x00000004
    [ 0.512336] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [ 0.514065] SMPS12: supplied by regulator-dummy
    [ 0.515783] SMPS3: supplied by VMAIN
    [ 0.517364] SMPS45: supplied by regulator-dummy
    [ 0.519225] SMPS6: supplied by VMAIN
    [ 0.520929] SMPS7: supplied by VMAIN
    [ 0.522792] SMPS8: supplied by VMAIN
    [ 0.524058] SMPS9: supplied by VMAIN
    [ 0.525019] LDO1: supplied by VMAIN
    [ 0.531158] random: fast init done
    [ 0.531313] LDO2: supplied by VMAIN
    [ 0.541148] LDO3: supplied by VMAIN
    [ 0.551163] LDO4: supplied by VMAIN
    [ 0.561176] LDO5: supplied by regulator-dummy
    [ 0.561888] LDO6: supplied by regulator-dummy
    [ 0.562583] LDO7: supplied by regulator-dummy
    [ 0.563269] LDO8: supplied by regulator-dummy
    [ 0.563962] LDO9: supplied by VMAIN
    [ 0.571513] LDOLN: supplied by VMAIN
    [ 0.581209] LDOUSB: supplied by VMAIN
    [ 0.593786] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.594005] media: Linux media interface: v0.10
    [ 0.594043] videodev: Linux video capture interface: v2.00
    [ 0.594116] pps_core: LinuxPPS API ver. 1 registered
    [ 0.594125] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [ 0.594145] PTP clock support registered
    [ 0.594174] EDAC MC: Ver: 3.0.0
    [ 0.601238] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.601483] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.601996] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.602794] clocksource: Switched to clocksource arch_sys_counter
    [ 0.611178] NET: Registered protocol family 2
    [ 0.611757] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144)
    [ 0.611785] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.611826] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
    [ 0.611894] TCP: Hash tables configured (established 4096 bind 4096)
    [ 0.611968] UDP hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.611991] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
    [ 0.612115] NET: Registered protocol family 1
    [ 0.632548] RPC: Registered named UNIX socket transport module.
    [ 0.632559] RPC: Registered udp transport module.
    [ 0.632567] RPC: Registered tcp transport module.
    [ 0.632575] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.633629] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [ 0.633834] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counte
    [ 0.634813] Initialise system trusted keyrings
    [ 0.634947] workingset: timestamp_bits=14 max_order=19 bucket_order=5
    [ 0.640083] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.650576] NFS: Registering the id_resolver key type
    [ 0.650601] Key type id_resolver registered
    [ 0.650610] Key type id_legacy registered
    [ 0.650649] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.652269] Key type asymmetric registered
    [ 0.652281] Asymmetric key parser 'x509' registered
    [ 0.652334] bounce: pool size: 64 pages
    [ 0.652367] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
    [ 0.652379] io scheduler noop registered
    [ 0.652388] io scheduler deadline registered
    [ 0.652488] io scheduler cfq registered (default)
    [ 0.652499] io scheduler mq-deadline registered
    [ 0.652508] io scheduler kyber registered
    [ 0.658313] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
    [ 0.662237] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pc1
    [ 0.662500] dra7-pcie 51000000.pcie: WA for Errata i870 not applied
    [ 0.662592] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ra:
    [ 0.662634] dra7-pcie 51000000.pcie: IO 0x20003000..0x20012fff -> 0x000000
    [ 0.662662] dra7-pcie 51000000.pcie: MEM 0x20013000..0x2fffffff -> 0x200130
    [ 1.662973] dra7-pcie 51000000.pcie: Phy link never came up
    [ 1.663116] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [ 1.663130] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 1.663142] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
    [ 1.663153] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 1.669051] PCI: bus0: Fast back to back transfers disabled
    [ 1.674578] PCI: bus1: Fast back to back transfers enabled
    [ 1.674623] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64b]
    [ 1.674644] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [ 1.674960] pcieport 0000:00:00.0: Signaling PME with IRQ 173
    [ 1.675093] pcieport 0000:00:00.0: AER enabled with IRQ 173
    [ 1.678787] V3_3D: supplied by smps9
    [ 1.679058] vtt_fixed: supplied by V3_3D
    [ 1.724687] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 1.728273] console [ttyS2] disabled
    [ 1.728330] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud =0
    [ 2.786013] console [ttyS2] enabled
    [ 2.791668] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 2.791882] hwrng: no data available
    [ 2.798763] omapdss_dss 58000000.dss: Linked as a consumer to regulator.20
    [ 2.808559] DSS: OMAP DSS rev 6.1
    [ 2.814863] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulato3
    [ 2.822371] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.13
    [ 2.842640] brd: module loaded
    [ 2.852125] loop: module loaded
    [ 2.860680] m25p80 spi0.0: s25fl256s1 (32768 Kbytes)
    [ 2.865790] 7 fixed-partitions partitions found on MTD device spi0.0
    [ 2.872174] Creating 7 MTD partitions on "spi0.0":
    [ 2.877028] 0x000000000000-0x000000040000 : "QSPI.SPL"
    [ 2.882940] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [ 2.889067] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [ 2.895797] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [ 2.902250] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [ 2.909440] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [ 2.915546] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
    [ 2.922667] libphy: Fixed MDIO Bus: probed
    [ 2.982834] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 0
    [ 2.990531] davinci_mdio 48485000.mdio: detected phy mask fffffffc
    [ 3.001775] libphy: 48485000.mdio: probed
    [ 3.005840] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driY
    [ 3.015581] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driY
    [ 3.026022] cpsw 48484000.ethernet: Detected MACID = b0:7e:11:38:c6:98
    [ 3.032627] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [ 3.039048] cpsw 48484000.ethernet: ALE Table size 1024
    [ 3.044364] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [ 3.052374] cpsw 48484000.ethernet: cpsw: Detected MACID = b0:7e:11:38:c6:99
    [ 3.060742] i2c /dev entries driver
    [ 3.069341] cpu cpu0: Linked as a consumer to regulator.4
    [ 3.074867] cpu cpu0: Linked as a consumer to regulator.27
    [ 3.082036] sdhci: Secure Digital Host Controller Interface driver
    [ 3.088295] sdhci: Copyright(c) Pierre Ossman
    [ 3.093882] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 3.100196] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 20000)
    [ 3.109089] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 3.113924] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.26
    [ 3.120954] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.11
    [ 3.127836] sdhci-omap 4809c000.mmc: Dropping the link to regulator.11
    [ 3.134471] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.2
    [ 3.141394] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.11
    [ 3.148290] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
    [ 3.181608] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [ 3.189778] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [ 3.196612] sdhci-omap 480b4000.mmc: Dropping the link to regulator.2
    [ 3.203244] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.2
    [ 3.232421] mmc0: host does not support reading read-only switch, assuming we
    [ 3.235533] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [ 3.242394] mmc0: new high speed SDHC card at address 0001
    [ 3.254590] ledtrig-cpu: registered to indicate activity on CPUs
    [ 3.263926] mmcblk0: mmc0:0001 00000 29.8 GiB
    [ 3.264651] NET: Registered protocol family 10
    [ 3.279445] mmcblk0: p1 p2
    [ 3.283510] Segment Routing with IPv6
    [ 3.287228] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [ 3.293664] NET: Registered protocol family 17
    [ 3.298317] Key type dns_resolver registered
    [ 3.302716] Registering SWP/SWPB emulation handler
    [ 3.307574] omap_voltage_late_init: Voltage driver support not added
    [ 3.314020] Power Management for TI OMAP4+ devices.
    [ 3.319936] Loading compiled-in X.509 certificates
    [ 3.343030] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 3.349132] mmc1: new DDR MMC card at address 0001
    [ 3.354064] dmm 4e000000.dmm: initialized all PAT entries
    [ 3.360391] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulato3
    [ 3.364653] mmcblk1: mmc1:0001 R1J56L 13.8 GiB
    [ 3.367913] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.13
    [ 3.372758] mmcblk1boot0: mmc1:0001 R1J56L partition 1 16.0 MiB
    [ 3.385955] mmcblk1boot1: mmc1:0001 R1J56L partition 2 16.0 MiB
    [ 3.386583] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulato3
    [ 3.399440] mmcblk1rpmb: mmc1:0001 R1J56L partition 3 128 KiB, chardev (244:)
    [ 3.407297] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_compon)
    [ 3.415383] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_comp)
    [ 3.424354] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 3.431030] [drm] No driver support for vblank timestamp query.
    [ 3.437016] [drm] Cannot find any crtc or sizes
    [ 3.442381] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [ 3.450065] hctosys: unable to open rtc device (rtc0)
    [ 3.455809] ALSA device list:
    [ 3.458789] No soundcards found.
    [ 3.900549] EXT4-fs (mmcblk0p2): recovery complete
    [ 3.916202] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. )
    [ 3.924377] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 3.938167] devtmpfs: mounted
    [ 3.942259] Freeing unused kernel memory: 2048K
    [ 3.946963] Run /sbin/init as init process
    [ 4.255974] systemd[1]: System time before build time, advancing clock.
    [ 4.289499] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SE)
    [ 4.311211] systemd[1]: Detected architecture arm.

    Welcome to Arago 2019.11!

    [ 4.349242] systemd[1]: Set hostname to <am57xx-evm>.
    [ 4.472873] [drm] Cannot find any crtc or sizes
    [ 4.496254] systemd[1]: File /lib/systemd/system/systemd-journald.service:36.
    [ 4.513459] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warn)
    [ 4.708172] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.715226] systemd[1]: Listening on Journal Socket (/dev/log).
    [ OK ] Listening on Journal Socket (/dev/log).
    [ 4.743049] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.749756] systemd[1]: Reached target Swap.
    [ OK ] Reached target Swap.
    [ 4.782894] random: systemd: uninitialized urandom read (16 bytes read)
    [ 4.802518] systemd[1]: Listening on Process Core Dump Socket.
    [ OK ] Listening on Process Core Dump Socket.
    [ 4.834443] systemd[1]: Listening on udev Control Socket.
    [ OK ] Listening on udev Control Socket.
    [ 4.863618] systemd[1]: Listening on udev Kernel Socket.
    [ OK ] Listening on udev Kernel Socket.
    [ OK ] Created slice User and Session Slice.
    [ OK ] Created slice system-serial\x2dgetty.slice.
    [ OK ] Listening on Network Service Netlink Socket.
    [ OK ] Reached target Remote File Systems.
    [ OK ] Started Forward Password Requests to Wall Directory Watch.
    [ OK ] Reached target Slices.
    [ OK ] Created slice system-getty.slice.
    [ OK ] Started Dispatch Password Requests to Console Directory Watch.
    [ OK ] Reached target Paths.
    [ OK ] Listening on Journal Socket.
    Mounting Kernel Debug File System...
    Mounting POSIX Message Queue File System...
    [ OK ] Started Hardware RNG Entropy Gatherer Daemon.
    [ 5.317282] random: crng init done
    [ 5.320723] random: 7 urandom warning(s) missed due to ratelimiting
    Mounting Kernel Configuration File System...
    Starting Apply Kernel Variables...
    Starting Remount Root and Kernel File Systems...
    [ 5.420914] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    Starting Journal Service...
    Mounting Temporary Directory (/tmp)...
    [ OK ] Listening on initctl Compatibility Named Pipe.
    Starting udev Coldplug all Devices...
    [ OK ] Started Journal Service.
    [ OK ] Mounted Kernel Debug File System.
    [ OK ] Mounted POSIX Message Queue File System.
    [ OK ] Mounted Kernel Configuration File System.
    [ OK ] Started Apply Kernel Variables.
    [ OK ] Started Remount Root and Kernel File Systems.
    [ OK ] Mounted Temporary Directory (/tmp).
    Starting Load/Save Random Seed...
    Starting Create Static Device Nodes in /dev...
    Starting Flush Journal to Persistent Storage...
    [ OK ] Started Load/Save Random Seed.
    [ OK ] Started Create Static Device Nodes in /dev.
    [ 5.940469] systemd-journald[105]: Received request to flush runtime journal1
    Starting udev Kernel Device Manager...
    [ OK ] Reached target Local File Systems (Pre).
    [ OK ] Reached target Containers.
    Mounting /media/ram...
    [ OK ] Started udev Kernel Device Manager.
    [ OK ] Started Flush Journal to Persistent Storage.
    [ OK ] Mounted /media/ram.
    [ OK ] Reached target Local File Systems.
    Starting Create Volatile Files and Directories...
    [ OK ] Started Create Volatile Files and Directories.
    Starting Update UTMP about System Boot/Shutdown...
    Starting Network Time Synchronization...
    Starting Network Service...
    [ OK ] Started Update UTMP about System Boot/Shutdow[ 6.389862] omap-rprocr
    n.
    [ OK ] Started udev Coldplug all Devices.
    [ 6.448601] omap-rproc 58820000.ipu: ignoring dependency for device, assuminr
    [ OK ] Started Network Service.
    Starting Network Name Resolution...
    [ 6.515040] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memo0
    Starting Wait for Network to be Configured...
    [ 6.574146] remoteproc remoteproc0: 58820000.ipu is available
    [ 6.594012] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xe2
    [ 6.620448] omap-rproc 55020000.ipu: ignoring dependency for device, assuminr
    [ 6.635437] remoteproc remoteproc0: powering up 58820000.ipu
    [ OK ] Started Network Time Synchronization.
    [ 6.664605] omap-rproc 55020000.ipu: ignoring dependency for device, assuminr
    [ OK ] Reached target System Initialization.
    [ 6.697878] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xe2
    [ 6.702884] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memo0
    [ OK ] Listening on RPCbind Server Activation Socket.
    [ OK ] Started Daily Cleanup of Temporary Directories.
    [ 6.778265] remoteproc remoteproc0: request_firmware failed: -2
    [ 6.778596] remoteproc remoteproc1: 55020000.ipu is available
    [ OK ] Listening on D-Bus System Message Bus Socket.
    [ 6.819939] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xe2
    [ OK ] Listening on Avahi mDNS/DNS-SD Stack Activati[ 6.836075] omap-rprocr
    on Socket.
    [ 6.851884] Driver for 1-wire Dallas network protocol.
    [ OK ] Reached target Sockets.
    [ 6.877271] remoteproc remoteproc1: powering up 55020000.ipu
    [ OK ] Reached target Basic System.
    [ 6.907713] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [ 6.916475] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xe2
    Starting Login Service...
    [ 6.947444] omap-des 480a5000.des: will run requests pump with realtime prioy
    [ OK ] Started D-Bus System Message Bus.
    [ 6.962880] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.:. Driver in Intere
    [ 6.969734] omap-rproc 40800000.dsp: ignoring dependency for device, assuminr
    [ 6.998781] ov2659 0-0030: Sensor detection failed (3030, 0)
    [ 7.026088] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memo0
    [ 7.038195] remoteproc remoteproc1: request_firmware failed: -2
    [ 7.044835] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: re0
    [ 7.065465] omap_gpio 48057000.gpio: Could not set line 16 debounce to 20000)
    Starting telnetd.service...
    [ 7.092275] remoteproc remoteproc2: 40800000.dsp is available
    [ 7.101058] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe2
    [ 7.114981] omap-rproc 41000000.dsp: ignoring dependency for device, assuminr
    [ 7.115138] omap-rproc 41000000.dsp: ignoring dependency for device, assuminr
    [ 7.140887] remoteproc remoteproc2: powering up 40800000.dsp
    Starting Greengrass core daemon...
    [ 7.178011] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memo0
    [ 7.190230] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe2
    [ 7.202568] remoteproc remoteproc3: 41000000.dsp is available
    Starting RPC Bind Service...
    [ 7.217882] remoteproc remoteproc2: request_firmware failed: -2
    [ 7.229451] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe2
    [ 7.243893] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000d
    [ 7.257300] omap_rtc 48838000.rtc: registered as rtc1
    [ OK ] Started Periodic Command Scheduler.
    [ 7.282325] remoteproc remoteproc3: powering up 41000000.dsp
    Starting TI IPC Daemon...
    [ 7.333986] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe2
    [ 7.362123] vip 48990000.vip: loading firmware vpdma-1b8.bin
    [ 7.363173] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
    [ 7.392846] vip 48990000.vip: VPDMA firmware loaded
    [ 7.406061] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d.
    Starting Print notice about GPLv3 packages...
    [ OK ] Started Job spooling tools.
    [ 7.449118] remoteproc remoteproc3: request_firmware failed: -2
    [ OK ] Reached target System Time Synchronized.
    [ OK ] Started Daily rotation of log files.
    [ OK ] Reached target Timers.
    [ OK ] Started Network Name Resolution.
    [ OK ] Started telnetd.service.
    [ OK ] Started RPC Bind Service.
    [ OK ] Started TI IPC Daemon.
    [ 7.505244] net eth0: initializing cpsw version 1.15 (0)
    [ OK ] Found device /dev/ttyS2.
    [ 7.523527] ahci 4a140000.sata: controller can't do 64bit DMA, forcing 32bit
    [ 7.533477] vpe 489d0000.vpe: Device registered as /dev/video0
    [ 7.565208] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1
    [ 7.596753] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 ie
    [ 7.630096] ahci 4a140000.sata: flags: ncq sntf pm led clo only pmp pio slum
    [ 7.665650] Micrel KSZ9031 Gigabit PHY 48485000.mdio:00: attached PHY driver)
    [ 7.683798] scsi host0: ahci
    [ 7.687700] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x1
    Starting thttpd.service...
    [ OK ] Reached target Host and Network Name Lookups.
    [ OK ] Reached target Network.
    Starting Permit User Sessions...
    [ OK ] Started NFS status monitor for NFSv2/3 locking..
    Starting Avahi mDNS/DNS-SD Stack...
    [ 7.767343] phy phy-4a084000.phy.3: Linked as a consumer to regulator.21
    [ OK ] Started Login Service.
    [ OK ] Started Permit User Sessions.
    [ 7.788276] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ OK ] Started Getty on tty1.
    [ 7.800887] phy phy-4a085000.phy.4: Linked as a consumer to regulator.21
    [ OK ] Started Serial Getty on ttyS2.
    [ OK ] Reached target Login Prompts.
    Starting Synchronize System and HW clocks...
    [ 7.840018] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 7.858132] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [ OK ] Started thttpd.service.
    [ 7.877748] CAN device driver interface
    [ 7.915905] c_can_platform 4ae3c000.can: c_can_platform device registered (r)
    [ 7.925053] net eth1: initializing cpsw version 1.15 (0)
    [ OK ] Started Synchronize System and HW clocks.
    [ 7.962222] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [ 8.002887] omap-aes 4b500000.aes: will run requests pump with realtime prioy
    [ 8.046602] ata1: SATA link down (SStatus 0 SControl 300)
    [ 8.068221] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [ 8.087177] omap-aes 4b700000.aes: will run requests pump with realtime prioy
    [ 8.093708] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver)
    [ 8.199024] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
    [ 8.302998] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58k
    [ 8.354086] omap-hdmi-audio omap-hdmi-audio.0.auto: ASoC: no DMI vendor name!
    [ OK ] Started Avahi mDNS/DNS-SD Stack.
    [ 8.594946] davinci_mdio 4b2b2400.mdio: davinci mdio revision 1.6, bus freq 0
    [ 8.605445] libphy: 4b2b2400.mdio: probed
    [ 8.741157] davinci_mdio 4b2b2400.mdio: phy[0]: device 4b2b2400.mdio:00, driY
    [ 8.791419] davinci_mdio 4b2b2400.mdio: phy[1]: device 4b2b2400.mdio:01, driY
    [ 8.898457] remoteproc remoteproc4: 4b234000.pru is available
    [ 8.934691] pru-rproc 4b234000.pru: PRU rproc node pru@4b234000 probed succey
    [ 8.988329] remoteproc remoteproc5: 4b238000.pru is available
    [ 9.043039] pru-rproc 4b238000.pru: PRU rproc node pru@4b238000 probed succey
    [ 9.094211] remoteproc remoteproc6: 4b2b4000.pru is available
    [ 9.100037] pru-rproc 4b2b4000.pru: PRU rproc node pru@4b2b4000 probed succey
    [FAILED] Failed to start Greengrass core daemon.
    See 'systemctl status greengrass.service' for details.
    [ 9.175290] remoteproc remoteproc7: 4b2b8000.pru is available
    [ 9.181144] pru-rproc 4b2b8000.pru: PRU rproc node pru@4b2b8000 probed succey
    [ 9.511705] prueth pruss2_eth: pruss_fw_drop_untagged_vlan 0
    [ 9.518209] prueth pruss2_eth: pruss MC Mask (Port 0) ff:ff:ff:ff:ff:ff
    [ 9.535478] prueth pruss2_eth: pruss MC Mask (Port 1) ff:ff:ff:ff:ff:ff
    [ 9.557269] prueth pruss2_eth: TI PRU ethernet (type 0) driver initialized
    [ 9.929068] dwc3 48890000.usb: Failed to get clk 'ref': -2
    [ 9.951418] dwc3 488d0000.usb: Failed to get clk 'ref': -2
    [ 10.153870] usbcore: registered new interface driver usbfs
    [ 10.178361] usbcore: registered new interface driver hub****

    ***************************************************************
    NOTICE: This file system contains the following GPLv3 packages[ 10.197114] usb
    :
    bash
    bc
    cifs-utils
    cpio
    dosfstools
    elfutils
    gawk
    gzip
    libbfd
    libdw1
    libelf1
    libreadline7
    which

    If you do not wish to distribute GPLv3 components please remove
    t[ 10.220359] pruss_intc_irq_set_affinity: event 21 not configured: ch = -1, 1
    he above packages prior to distribution. This can be done using[ 10.232754] 1

    the opkg remove command. i.e.:
    opkg remove <package>
    Wh[ 10.243868] pruss_intc_irq_set_affinity: event 27 not configured: ch = -1,1
    ere <package> is the name printed in the list above

    NOTE: If the package is a dependency of another package you
    will b[ 10.262188] iep ptp bc clkid -1
    e notified of the dependent packages. You should
    use the[ 10.270947] remoteproc remoteproc7: powering up 4b2b8000.pru
    --force-removal-of-dependent-packages option to
    also rem[ 10.284688] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    ove the dependent packages as well
    ****************************[ 10.294596] xhci-hcd xhci-hcd.1.auto: new USB bu1
    ***********************************
    ***************************[ 10.305977] remoteproc remoteproc7: Booting fw im2
    ************************************
    [ 10.320630] cpsw 48484000.ethernet eth1: Link is Up - 100Mbps/Full - flow cof
    [ 10.324823] pruss 4b280000.pruss: configured system_events[63-0] = 00600000,0
    [ 10.340045] pruss 4b280000.pruss: configured intr_channels = 0x0000032a hosta
    [ 10.349325] remoteproc remoteproc7: remote processor 4b2b8000.pru is now up
    [ 10.357458] net eth3: started
    [ 10.360663] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100
    [ 10.370127] IPv6: ADDRCONF(NETDEV_UP): eth3: link is not ready
    [ 10.370409] IPv6: ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
    [ 10.379189] xhci-hcd xhci-hcd.1.auto: irq 182, io mem 0x48890000
    [ OK ] Started Print notice about GPLv3 packages.
    [ 10.389693] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, b9
    [ 10.403677] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [ 10.410931] usb usb1: Product: xHCI Host Controller
    [ 10.416585] usb usb1: Manufacturer: Linux 4.19.79-g77dfab56c6 xhci-hcd
    [ 10.423915] usb usb1: SerialNumber: xhci-hcd.1.auto
    [ 10.430647] hub 1-0:1.0: USB hub found
    [ 10.436330] hub 1-0:1.0: 1 port detected
    [ 10.438182] pruss_intc_irq_set_affinity: event 20 not configured: ch = -1, h1
    [ 10.441285] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
    [ 10.455167] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus n2
    [ 10.463489] pruss_intc_irq_set_affinity: event 22 not configured: ch = -1, h1
    [ 10.464726] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
    [ 10.479324] usb usb2: We don't know the algorithms for LPM for this host, di.
    [ 10.482022] pruss_intc_irq_set_affinity: event 26 not configured: ch = -1, h1
    [ 10.489558] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, b9
    [ 10.505218] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber1
    [ 10.512483] usb usb2: Product: xHCI Host Controller
    [ 10.515032] remoteproc remoteproc6: powering up 4b2b4000.pru
    [ 10.518488] usb usb2: Manufacturer: Linux 4.19.79-g77dfab56c6 xhci-hcd
    [ 10.530019] usb usb2: SerialNumber: xhci-hcd.1.auto
    [ 10.536355] hub 2-0:1.0: USB hub found
    [ 10.538515] remoteproc remoteproc6: Booting fw image ti-pruss/am57xx-pru0-pr4
    [ 10.540179] hub 2-0:1.0: 1 port detected
    [ 10.560923] pruss 4b280000.pruss: configured system_events[63-0] = 00000600,0
    [ 10.570529] pruss 4b280000.pruss: configured intr_channels = 0x000000d5 host5
    [ 10.580062] remoteproc remoteproc6: remote processor 4b2b4000.pru is now up
    [ 10.591257] net eth2: started
    [ 10.595461] IPv6: ADDRCONF(NETDEV_UP): eth2: link is not ready

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

    Arago Project http://arago-project.org am57xx-evm ttyS2

    Arago 2019.11 am57xx-evm ttyS2

    am57xx-evm login:
    CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7.1 | VT102 | Offline | tyUSB1

  • Hi Richard,

    Thanks so you on Rev 1.0A. That is good to know. Did you have a chance to try with the
    bootloader images that i had attached in my previous response. I am able to give input.

    - Keerthy

  • Hello Keerthy, I apologize for the oversight.

    I replaced u-boot and MLO to the boot partition and I receive the same behavior.

    Do you think this might be a board revision issue?  If you have guidance on any jumpers I should be checking as well, please let me know. I had to change one to boot off the microSD.  Wondering if there are more undiscovered jumpers.

  • Hi Richard,

    I am inconsistently able to see what you are seeing on minicom. By any chance are you using ubuntu Virtual machine?

    I am using a ubuntu virtual machine. I do have an alternate solution for you to solve this issue.

    I installed picocom and it works absolutely fine. I tried the built images at least ten times before writing to you.

    sudo apt-get install picocom

    picocom -b 115200 /dev/ttyUSB1

    Let me know if that works for you.

    Thanks,
    Keerthy

  • I am not running on a VM. This is Ubuntu on bare metal. But - picocom worked!  What is going on here?  What is the difference?

  • Hi Richard,

    Okay so we both are on the same page. I am now matching both the application's settings and seem
    to be same. Also teraterm on windows is working perfectly fine. I will spend sometime next week on the
    differences and why the difference w.r.t to minicom. BTW i saw issues with pre-built images as well with
    minicom once. So something with minicom but picocom works and teraterm works.

    Hope this unblocks you.

    Regards,
    Keerthy

  • Richard,

    The root cause for minicom issue is that flow control was enabled. Just disable the flow control on minicom and that should work for you as well.

    By default some flow control would be set. Disable that and it should work as good as picocom.

    - Keerthy