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.

Linux/AM5708: support TLV320AIC32

Part Number: AM5708
Other Parts Discussed in Thread: TLV320AIC32, , DRA72

Tool/software: Linux

Hello,

I am trying to set up drivers of TLV320AIC32 to linux(core - 4.14.79-gbde58ab01e).

I've uderstood that I have to use a pack - Linux Driver for TLV320AIC32X4. But I found some strange things here. 

Firstly, in the documentation about dts is written - 

- supply-*: Required supply regulators are:
    "iov" - digital IO power supply
    "ldoin" - LDO power supply
    "dv" - Digital core power supply
    "av" - Analog core power supply

It looks as if I have to use "supply-iov", "supply-ldoin" and so on. But in code I see an ordinary form with *-supply. So, I use "iov-supply", "dv-supply" and "av-supply".
I have a fixed external voltage regulation, so my sound part in dts there
/ {
	model = "AM5708 p38 rev 1.0";
	compatible = "ti,am5718", "ti,dra718-evm", "ti,dra718", "ti,dra722", "ti,dra72", "ti,dra7";

	aliases {
		sound0 = &sound0;
	};

	chosen {
		stdout-path = &uart3;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x40000000>; /* 1024 MB */
	};
	
	sound0: sound0 {
		compatible = "simple-audio-card";
		simple-audio-card,name = "DRA7xx-EVM";
		simple-audio-card,widgets =
			"Headphone", "Headphone Jack",
			"Line", "Line Out",
			"Microphone", "Mic Jack",
			"Line", "Line In";
		simple-audio-card,routing =
			"Headphone Jack",	"HPLOUT",
			"Headphone Jack",	"HPROUT",
			"Line Out",		"LLOUT",
			"Line Out",		"RLOUT",
			"MIC3L",		"Mic Jack",
			"MIC3R",		"Mic Jack",
			"Mic Jack",		"Mic Bias",
			"LINE1L",		"Line In",
			"LINE1R",		"Line In";
		simple-audio-card,format = "dsp_b";
		simple-audio-card,bitclock-master = <&sound0_master>;
		simple-audio-card,frame-master = <&sound0_master>;
		simple-audio-card,bitclock-inversion;

		sound0_master: simple-audio-card,cpu {
			sound-dai = <&mcasp1>;
			system-clock-frequency = <5644800>;
		};

		simple-audio-card,codec {
			sound-dai = <&tlv320aic32>;
			clocks = <&atl_clkin2_ck>;
		};
	};

	reserved-memory {
		#address-cells = <2>;
		#size-cells = <2>;
		ranges;

		ipu2_memory_region: ipu2-memory@95800000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x95800000 0x0 0x3800000>;
			reusable;
			status = "okay";
		};

		dsp1_memory_region: dsp1-memory@99000000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x99000000 0x0 0x4000000>;
			reusable;
			status = "okay";
		};

		ipu1_memory_region: ipu1-memory@9d000000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x9d000000 0x0 0x2000000>;
			reusable;
			status = "okay";
		};
	};
	
	reg3: fixedregulator@0 {
		status = "okay";	
		regulator-name = "3vs";
		regulator-min-microvolt = <3000000>;
		regulator-max-microvolt = <3000000>;
		regulator-always-on;
		regulator-boot-on;
	};
	
	reg18: fixedregulator@1 {
		status = "okay";
		regulator-name = "18vd";
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
		regulator-always-on;
		regulator-boot-on;
	};
	
	mclk: fpgaosc {
        status = "okay";
		compatible = "fixed-clock";
        #clock-cells = <1>;
        clock-frequency  = <12000000>;
        clock-output-names = "mclk";
    };
	
};

&mcasp1 {
	#sound-dai-cells = <0>;
	status = "okay";
	op-mode = <0>;
	tdm-slots = <2>;
	serial-dir = <
			1 2 0 0	/* 0: INACTIVE, 1: TX, 2: RX */
			0 0 0 0
			0 0 0 0
			0 0 0 0 >;
};

&i2c1 {
	status = "okay";
	clock-frequency = <400000>;

	tlv320aic32: tlv320aic32@18 {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic32x4";
		reg = <0x18>;
		adc-settle-ms = <40>;
		ai3x-micbias-vg = <1>;		/* 2.0V */
		status = "okay";
		av-supply = <&reg3>;
		dv-supply = <&reg18>;
		iov-supply = <&reg18>;
		clocks = <&mclk 0>;
		clock-names = "mclk";
	};
};



Secondly, a directory "Menuconfig location" has not, hmmm, location. There are three config flags(two of them repeated, I don't undestand why) without location.
I haven't found a decision better then change a "KConfig" file. So, I changed next -

config SND_SOC_TLV320AIC32X4
tristate 

config SND_SOC_TLV320AIC32X4_I2C
tristate
depends on I2C
select SND_SOC_TLV320AIC32X4

to -

config SND_SOC_TLV320AIC32X4
tristate "Texas Instruments TLV320AIC32X4 audio CODEC"

config SND_SOC_TLV320AIC32X4_I2C
tristate "Texas Instruments TLV320AIC32X4 audio CODEC - I2C"
depends on I2C
select SND_SOC_TLV320AIC32X4

After that I got this flags in menuconfig.

I compiled my project and got next error during the kernel loading -

[   59.682391] tlv320aic32x4 0-0018: Missing supply 'iov'
[   59.688691] tlv320aic32x4 0-0018: Failed to setup regulators

I checked what the error number was returned. It is 517. I guess it was set in core.c on next lines -

if (!try_module_get(rdev->owner)) {
		regulator = ERR_PTR(-EPROBE_DEFER);
		put_device(&rdev->dev);
		return regulator;
	}

But I am not sure. Anyway, there I've decided to stop and ask some help about that. Becouse I think if I made a mistake early, when was preparing the driver.

Thank for your help

  • Hi Vladimir,

    From what I understand, you have AM5708 custom board with TLV320AIC32 codec.

    Do you use AM57x PSDK Linux v5.02?

    Please attach the below files for review:

    1. your .config file
    2. your DTS file
    3. your console output boot up flow

    You can put these in txt files and attach the txt files here in the forum.

    Regards,
    Pavel
  • Hello,

    I use arago-project.

    5148.project.7z

    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.79-gbde58ab01e (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #28 PREEMPT Wed Apr 17 08:11:51 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c53c7d
    [    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: AM5708 p38 rev 1.0
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000be400000
    [    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
    [    0.000000] CPU: All CPU(s) started in HYP mode.
    [    0.000000] CPU: Virtualization extensions available.
    [    0.000000] DRA722 ES2.0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259648
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mtdblock9 rw rootwait rootfstype=jffs2
    [    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: 843724K/1045504K available (6144K kernel code, 249K rwdata, 1856K rodata, 2048K init, 281K bss, 21556K reserved, 180224K cma-reserved, 234496K highmem)
    [    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 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0a00000 - 0xc0c00000   (2048 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c3e788   ( 250 kB)
    [    0.000000]        .bss : 0xc0c40000 - 0xc0c864bc   ( 282 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] 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 31475 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 5.90MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x15c70fb29, max_idle_ns: 440795202138 ns
    [    0.000004] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 4398046511093ns
    [    0.000015] Switching to timer-based delay loop, resolution 169ns
    [    0.000326] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000333] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000715] Console: colour dummy device 80x30
    [    0.000733] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000738] This ensures that you still see kernel messages. Please
    [    0.000743] update your kernel commandline.
    [    0.000760] Calibrating delay loop (skipped), value calculated using timer frequency.. 11.80 BogoMIPS (lpj=59016)
    [    0.000772] pid_max: default: 32768 minimum: 301
    [    0.000881] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000895] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001341] CPU: Testing write buffer coherency: ok
    [    0.001376] CPU0: Spectre v2: using ICIALLU workaround
    [    0.001724] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.001804] Hierarchical SRCU implementation.
    [    0.002336] devtmpfs: initialized
    [    0.015683] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.015903] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.016040] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.016054] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.020057] pinctrl core: initialized pinctrl subsystem
    [    0.020663] NET: Registered protocol family 16
    [    0.021497] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.022029] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.157609] cpuidle: using governor ladder
    [    0.157632] cpuidle: using governor menu
    [    0.164019] OMAP GPIO hardware version 0.1
    [    0.178203] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.182482] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.182491] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.182820] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.182829] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.183034] OMAP DMA hardware revision 0.0
    [    0.189594] edma 43300000.edma: memcpy is disabled
    [    0.192245] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.197721] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.199055] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.199197] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.199372] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.199548] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.199757] iommu: Adding device 58820000.ipu to group 1
    [    0.199815] iommu: Adding device 55020000.ipu to group 2
    [    0.199915] iommu: Adding device 40800000.dsp to group 0
    [    0.200735] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.201064] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.201188] pps_core: LinuxPPS API ver. 1 registered
    [    0.201196] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.201212] PTP clock support registered
    [    0.201218] EDAC MC: Ver: 3.0.0
    [    0.201674] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.201827] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.202072] Advanced Linux Sound Architecture Driver Initialized.
    [    0.202529] clocksource: Switched to clocksource arch_sys_counter
    [    0.208138] NET: Registered protocol family 2
    [    0.208551] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.208611] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.208712] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.208792] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.208816] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.208915] NET: Registered protocol family 1
    [    0.209139] RPC: Registered named UNIX socket transport module.
    [    0.209147] RPC: Registered udp transport module.
    [    0.209153] RPC: Registered tcp transport module.
    [    0.209158] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.209740] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.209801] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.210607] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.213963] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.214417] NFS: Registering the id_resolver key type
    [    0.214437] Key type id_resolver registered
    [    0.214444] Key type id_legacy registered
    [    0.214474] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.214596] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.215846] bounce: pool size: 64 pages
    [    0.215892] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.215901] io scheduler noop registered
    [    0.215907] io scheduler deadline registered
    [    0.216036] io scheduler cfq registered (default)
    [    0.216044] io scheduler mq-deadline registered
    [    0.216051] io scheduler kyber registered
    [    0.219136] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.219253] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.219311] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.219321] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.251614] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.253513] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud = 3000000) is a 8250
    [    1.052739] console [ttyS2] enabled
    [    1.057683] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.069487] brd: module loaded
    [    1.076869] loop: module loaded
    [    1.081901] m25p80 spi0.0: mx66u51235f (65536 Kbytes)
    [    1.087075] 10 ofpart partitions found on MTD device spi0.0
    [    1.092710] Creating 10 MTD partitions on "spi0.0":
    [    1.097609] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.103311] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.109618] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.115951] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.122258] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.128169] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.134667] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.140892] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.147815] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.153699] 0x0000009e0000-0x000004000000 : "QSPI.file-system"
    [    1.160302] libphy: Fixed MDIO Bus: probed
    [    1.222548] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.230240] libphy: 48485000.mdio: probed
    [    1.236624] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ8081 or KSZ8091
    [    1.246659] cpsw 48484000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    1.255009] cpsw 48484000.ethernet: Detected MACID = e8:eb:11:de:aa:3a
    [    1.261609] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    1.268032] cpsw 48484000.ethernet: ALE Table size 1024
    [    1.273310] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    1.280330] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.288253] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
    [    1.297184] i2c /dev entries driver
    [    1.303718] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [    1.311492] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.320583] NET: Registered protocol family 10
    [    1.325717] Segment Routing with IPv6
    [    1.329438] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.336252] NET: Registered protocol family 17
    [    1.340759] Key type dns_resolver registered
    [    1.345185] omap_voltage_late_init: Voltage driver support not added
    [    1.351565] Power Management for TI OMAP4+ devices.
    [    1.363600] hctosys: unable to open rtc device (rtc0)
    [    1.369141] ALSA device list:
    [    1.372119]   No soundcards found.
    [    1.440661] random: fast init done
    [    4.407587] VFS: Mounted root (jffs2 filesystem) on device 31:9.
    [    4.413844] devtmpfs: mounted
    [    4.418286] Freeing unused kernel memory: 2048K
    [    4.487096] random: crng init done
    [    5.409633] systemd[1]: System time before build time, advancing clock.
    [    5.485567] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    5.506720] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.10!
    
    [    5.543607] systemd[1]: Set hostname to <am5708-p38>.
    [    5.552224] systemd[1]: Initializing machine ID from random generator.
    [    6.014057] systemd[1]: Listening on udev Kernel Socket.
    [  OK  ] Listening on udev Kernel Socket.
    [    6.100321] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.132807] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    6.172811] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    6.217912] systemd[1]: Listening on Process Core Dump Socket.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.259089] systemd[1]: Created slice User and Session Slice.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Listening on Journal Socket.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on udev Control Socket.
    [  OK  ] Reached target Swap.
    [  OK  ] Created slice System Slice.
             Starting Create list of required st…ce nodes for the current kernel...
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-getty.slice.
             Mounting Temporary Directory (/tmp)...
             Starting Journal Service...
             Starting Load Kernel Modules...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Reached target Paths.
    [    6.749000] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.778408] cryptodev: driver 1.9 loaded.
             Mounting POSIX Message Queue File System...
             Mounting Kernel Debug File System...
    [  OK  ] Reached target Remote File Systems.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Create System Users...
             Starting Rebuild Hardware Database...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [  OK  ] Started Create System Users.
    [  OK  ] Started Apply Kernel Variables.
             Starting Create Static Device Nodes in /dev...
    [    8.602029] systemd-journald[59]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Create Static Device Nodes in /dev.
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /var/volatile...
             Mounting /media/ram...
             Starting udev Kernel Device Manager...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Opkg first boot configure...
             Starting Update UTMP about System Boot/Shutdown...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Opkg first boot configure.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Rebuild Hardware Database.
             Starting Update is Completed...
             Starting udev Coldplug all Devices...
    [  OK  ] Started Update is Completed.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
             Starting sshd.socket.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
             Starting Network Service...
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
    [  OK  ] Listening on sshd.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Started Kernel Logging Service.
             Starting telnetd.service...
    [  OK  ] Started System Logging Service.
             Starting Login Service...
    [  OK  ] Reached target Containers.
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Login Service.
             Starting thttpd.service...
    [  OK  ] Started Network Service.
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Network Name Resolution...
    [  OK  ] Started thttpd.service.
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Getty on tty1.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [   57.792294] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   57.892831] remoteproc remoteproc0: 58820000.ipu is available
    [   57.899009] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   57.911295] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   57.911303] remoteproc remoteproc0: powering up 58820000.ipu
    [   57.911325] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   57.911331] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Found device /dev/ttyS2.
    [   58.294112] remoteproc remoteproc1: 55020000.ipu is available
    [   58.363387] tlv320aic32x4 0-0018: Missing supply 'iov' errno - -517
    [   58.363391] tlv320aic32x4 0-0018: Failed to setup regulators
    [  OK  ] Started Serial Getty on ttyS2.
    [   58.452474] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    [   58.473689] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   58.476238] omap-des 480a5000.des: will run requests pump with realtime priority
    [   58.521515] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   58.521588] remoteproc remoteproc2: 40800000.dsp is available
    [  OK  ] Reached target Login Prompts.
    [   58.707123] remoteproc remoteproc1: powering up 55020000.ipu
             Starting Synchronize System and HW clocks...
    [   58.850033] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    [  OK  ] Reached target Multi-User System.
    [   58.923120] remoteproc remoteproc1: request_firmware failed: -2
    [   58.949927] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   58.960903] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   58.982675] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   58.994816] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   58.997040] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   58.998130] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
             [   59.468430] tlv320aic32x4 0-0018: Missing supply 'iov' errno - -517
    Starting Update UTMP about System Runlevel Changes...
    [[   59.562255] tlv320aic32x4 0-0018: Failed to setup regulators
    FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.[   59.618509] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    
    [   59.778418] remoteproc remoteproc2: powering up 40800000.dsp
    [   59.854375] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    [   59.992113] remoteproc remoteproc2: request_firmware failed: -2
    [  OK  ] Started Update UTMP about System Runlevel Cha[   60.106390] net eth0: initializing cpsw version 1.15 (0)
    nges.
    [   60.302519] Micrel KSZ8081 or KSZ8091 48485000.mdio:00: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [   60.477070] libphy: PHY  not found
    [   60.480518] net eth0: phy "" not found on slave 1, err -19
    [   60.597923] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am5708-p38 ttyS2
    
    Arago 2018.10 am5708-p38 ttyS2
    
    am5708-p38 login: [   61.612966] dwc3 48890000.usb: changing max_speed on rev 5533202a
    [   61.630814] using random self ethernet address
    [   61.641602] using random host ethernet address
    [   61.656282] usb0: HOST MAC ea:f6:11:f6:b8:7a
    [   61.666080] usb0: MAC 62:7f:a2:0c:6d:1b
    [   61.669955] using random self ethernet address
    [   61.686918] using random host ethernet address
    [   61.691439] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [   61.711401] g_ether gadget: g_ether ready
    [   61.724404] tlv320aic32x4 0-0018: Missing supply 'iov' errno - -517
    [   61.730701] tlv320aic32x4 0-0018: Failed to setup regulators
    [   61.834666] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   62.568064] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   62.576156] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    root
    Password:
    

  • Vladimir,

    Your .config file looks to be correct.

    But I have some notes regarding your DTS file

    1. How do you supply MCLK to the AIC32 codec? Is it through ATL module?

    simple-audio-card,codec {
    sound-dai = <&tlv320aic32>;
    clocks = <&atl_clkin2_ck>;
    };

    On DRA72x EVM, this MCLK is supplied through the DRA72 B26 XREF_CLK2.ATL_CLK2 pin output. But we do not have ATL module and atl_clk2 pin on AM5708 device. AM5708 H24 XREF_CLK2 pin does not have ATL_CLK2 mode. I would suggest you to probe with scope the pin that supplies AIC32 MCLK input and verify it has the correct and expected value.

    2. ai3x-micbias-vg = <1>; - this entry seems to be valid for AIC3x codecs only, but not for AIC32x

    linux-kernel/sound/soc/codecs/tlv320aic3x.c
    linux-kernel/Documentation/devicetree/bindings/sound/tlv320aic3x.txt

    3. av-supply, dv-supply, iov-supply - these 3 should be replaced with supply-av, supply-dv, supply-iov

    Regards,
    Pavel
  • 1. I am using an external clock from an fpga. 12 MHz and 1.8V.

    2. I can't see any same string for tlv320aic32x4. So, I've just deleted that.

    3. Are you sure? I have found a function of_get_regulator in /drivers/regulator/core.c. It is described as "%s-supply" inside of this function. I can find no one form like "supply-%s" or something same.

    I added strings "compatible = "regulator-fixed";" to regulator nodes and it works now. Not, completly, but I got some progress. I hope.

    That result I got with a "%s-supply" form -

    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.79-gbde58ab01e (oe-user@oe-host) (gcc version                              7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #39 PREEMPT Wed Apr 17 13:51:10 UTC 201                             9
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c53c7d
    [    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: AM5708 p38 rev 1.0
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, s                             ize 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatib                             le id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, s                             ize 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatib                             le id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, s                             ize 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatib                             le id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000be400000
    [    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
    [    0.000000] CPU: All CPU(s) started in HYP mode.
    [    0.000000] CPU: Virtualization extensions available.
    [    0.000000] DRA722 ES2.0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259648
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mtdblock9 r                             w rootwait rootfstype=jffs2
    [    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: 843720K/1045504K available (6144K kernel code, 252K rwdat                             a, 1876K rodata, 2048K init, 281K bss, 21560K reserved, 180224K cma-reserved, 23                             4496K highmem)
    [    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 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0a00000 - 0xc0c00000   (2048 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c3f148   ( 253 kB)
    [    0.000000]        .bss : 0xc0c41000 - 0xc0c874bc   ( 282 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] 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 31475 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 5.90MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles:                              0x15c70fb29, max_idle_ns: 440795202138 ns
    [    0.000004] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 43980                             46511093ns
    [    0.000015] Switching to timer-based delay loop, resolution 169ns
    [    0.000327] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff                             , max_idle_ns: 58327039986419 ns
    [    0.000333] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000725] Console: colour dummy device 80x30
    [    0.000742] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000747] This ensures that you still see kernel messages. Please
    [    0.000752] update your kernel commandline.
    [    0.000769] Calibrating delay loop (skipped), value calculated using timer fr                             equency.. 11.80 BogoMIPS (lpj=59016)
    [    0.000781] pid_max: default: 32768 minimum: 301
    [    0.000890] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000904] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001355] CPU: Testing write buffer coherency: ok
    [    0.001391] CPU0: Spectre v2: using ICIALLU workaround
    [    0.001736] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.001816] Hierarchical SRCU implementation.
    [    0.002342] devtmpfs: initialized
    [    0.015709] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac                              with crng_init=0
    [    0.015929] VFP support v0.3: implementor 41 architecture 4 part 30 variant f                              rev 0
    [    0.016066] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ma                             x_idle_ns: 19112604462750000 ns
    [    0.016081] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.020095] pinctrl core: initialized pinctrl subsystem
    [    0.020701] NET: Registered protocol family 16
    [    0.021527] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.022081] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.156213] cpuidle: using governor ladder
    [    0.156236] cpuidle: using governor menu
    [    0.162577] OMAP GPIO hardware version 0.1
    [    0.176605] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.181031] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint                              registers.
    [    0.181040] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.181371] omap4_sram_init:Unable to allocate sram needed to handle errata I                             688
    [    0.181379] omap4_sram_init:Unable to get sram pool needed to handle errata I                             688
    [    0.181587] OMAP DMA hardware revision 0.0
    [    0.188133] edma 43300000.edma: memcpy is disabled
    [    0.190788] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.196261] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (                             LinkedList1/2/3 supported)
    [    0.197917] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.198061] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.198243] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.198422] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.198633] iommu: Adding device 58820000.ipu to group 1
    [    0.198689] iommu: Adding device 55020000.ipu to group 2
    [    0.198787] iommu: Adding device 40800000.dsp to group 0
    [    0.199518] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.199855] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.199983] pps_core: LinuxPPS API ver. 1 registered
    [    0.199990] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giome                             tti <giometti@linux.it>
    [    0.200006] PTP clock support registered
    [    0.200012] EDAC MC: Ver: 3.0.0
    [    0.200510] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.200665] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.200901] Advanced Linux Sound Architecture Driver Initialized.
    [    0.201373] clocksource: Switched to clocksource arch_sys_counter
    [    0.206876] NET: Registered protocol family 2
    [    0.207290] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.207351] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.207451] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.207530] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.207554] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.207652] NET: Registered protocol family 1
    [    0.207862] RPC: Registered named UNIX socket transport module.
    [    0.207870] RPC: Registered udp transport module.
    [    0.207875] RPC: Registered tcp transport module.
    [    0.207881] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.208467] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.208527] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counte                             rs available
    [    0.209241] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.212726] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.213170] NFS: Registering the id_resolver key type
    [    0.213192] Key type id_resolver registered
    [    0.213199] Key type id_legacy registered
    [    0.213229] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.213350] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.214583] bounce: pool size: 64 pages
    [    0.214625] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 2                             47)
    [    0.214633] io scheduler noop registered
    [    0.214640] io scheduler deadline registered
    [    0.214769] io scheduler cfq registered (default)
    [    0.214776] io scheduler mq-deadline registered
    [    0.214783] io scheduler kyber registered
    [    0.217871] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.217992] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl                             -cells = <1>
    [    0.218054] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.218063] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.249993] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.251876] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud =                              3000000) is a 8250
    [    1.051040] console [ttyS2] enabled
    [    1.056040] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.067817] brd: module loaded
    [    1.075243] loop: module loaded
    [    1.080303] m25p80 spi0.0: mx66u51235f (65536 Kbytes)
    [    1.085479] 10 ofpart partitions found on MTD device spi0.0
    [    1.091074] Creating 10 MTD partitions on "spi0.0":
    [    1.096014] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.101705] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.108010] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.114318] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.120621] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.126524] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.133023] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.139228] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.146156] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.152027] 0x0000009e0000-0x000004000000 : "QSPI.file-system"
    [    1.158643] libphy: Fixed MDIO Bus: probed
    [    1.221392] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1                             000000
    [    1.229083] libphy: 48485000.mdio: probed
    [    1.235250] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driv                             er Micrel KSZ8081 or KSZ8091
    [    1.245281] cpsw 48484000.ethernet: No slave[1] phy_id, phy-handle, or fixed-                             link property
    [    1.253634] cpsw 48484000.ethernet: Detected MACID = e8:eb:11:de:aa:3a
    [    1.260238] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    1.266660] cpsw 48484000.ethernet: ALE Table size 1024
    [    1.271938] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    1.278959] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.286884] udc-core: couldn't find an available UDC - added [g_ether] to lis                             t of pending drivers
    [    1.295813] i2c /dev entries driver
    [    1.302360] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -1                             9
    [    1.310135] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.319912] NET: Registered protocol family 10
    [    1.325045] Segment Routing with IPv6
    [    1.328765] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.335482] NET: Registered protocol family 17
    [    1.339992] Key type dns_resolver registered
    [    1.344418] omap_voltage_late_init: Voltage driver support not added
    [    1.350797] Power Management for TI OMAP4+ devices.
    [    1.392841] tlv320aic32x4 0-0018: ASoC: no source widget found for CM_R
    [    1.399492] tlv320aic32x4 0-0018: ASoC: Failed to add route CM_R -> 10 kOhm -                             > CM_R to Right Mixer Negative Resistor
    [    1.410073] tlv320aic32x4 0-0018: ASoC: no source widget found for CM_R
    [    1.416724] tlv320aic32x4 0-0018: ASoC: Failed to add route CM_R -> 20 kOhm -                             > CM_R to Right Mixer Negative Resistor
    [    1.427298] tlv320aic32x4 0-0018: ASoC: no source widget found for CM_R
    [    1.433948] tlv320aic32x4 0-0018: ASoC: Failed to add route CM_R -> 40 kOhm -                             > CM_R to Right Mixer Negative Resistor
    [    1.445483] tlv320aic32x4 0-0018: ASoC: no source widget found for CM_L
    [    1.452138] tlv320aic32x4 0-0018: ASoC: Failed to add route CM_L -> 10 kOhm -                             > CM_L to Left Mixer Negative Resistor
    [    1.462626] tlv320aic32x4 0-0018: ASoC: no source widget found for CM_L
    [    1.469268] tlv320aic32x4 0-0018: ASoC: Failed to add route CM_L -> 20 kOhm -                             > CM_L to Left Mixer Negative Resistor
    [    1.479756] tlv320aic32x4 0-0018: ASoC: no source widget found for CM_L
    [    1.486405] tlv320aic32x4 0-0018: ASoC: Failed to add route CM_L -> 40 kOhm -                             > CM_L to Left Mixer Negative Resistor
    [    1.497228] aic32x4: invalid frequency to set DAI system clock
    [    1.503097] tlv320aic32x4 0-0018: simple-card: set_sysclk error
    [    1.509043] asoc-simple-card sound0: ASoC: failed to init davinci-mcasp.0-tlv                             320aic32x4-hifi: -22
    [    1.517961] asoc-simple-card sound0: ASoC: failed to instantiate card -22
    [    1.525143] asoc-simple-card: probe of sound0 failed with error -22
    [    1.531646] hctosys: unable to open rtc device (rtc0)
    [    1.537171] ALSA device list:
    [    1.540148]   No soundcards found.
    [    1.582531] random: fast init done
    [    4.685111] VFS: Mounted root (jffs2 filesystem) on device 31:9.
    [    4.691352] devtmpfs: mounted
    [    4.695819] Freeing unused kernel memory: 2048K
    [    4.747328] random: crng init done
    [    5.695985] systemd[1]: System time before build time, advancing clock.
    [    5.771709] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SEL                             INUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +                             XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    5.792858] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.10!
    
    [    5.832457] systemd[1]: Set hostname to <am5708-p38>.
    [    6.289265] systemd[1]: Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on Journal Socket (/dev/log).
    [    6.322344] systemd[1]: Listening on udev Control Socket.
    [  OK  ] Listening on udev Control Socket.
    [    6.351581] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
    [    6.392281] systemd[1]: Reached target Remote File Systems.
    [  OK  ] Reached target Remote File Systems.
    [    6.421611] systemd[1]: Started Forward Password Requests to Wall Directory W                             atch.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [    6.461465] systemd[1]: Reached target Swap.
    [  OK  ] Reached target Swap.
    [    6.491610] systemd[1]: Started Dispatch Password Requests to Console Directo                             ry Watch.
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Created slice System Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Created slice system-getty.slice.
             Mounting POSIX Message Queue File System...
             Mounting Kernel Debug File System...
    [  OK  ] Created slice system-serial\x2dgetty.slice.
             Mounting Temporary Directory (/tmp)...
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Listening on Network Service Netlink Socket.
    [  OK  ] Listening on Journal Socket.
             Starting Journal Service...
             Starting Load Kernel Modules...
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Process Core Dump Socket.
             Starting Create list of required st…ce nodes for the current kernel...
    [    7.125970] cryptodev: loading out-of-tree module taints kernel.
    [    7.140089] cryptodev: driver 1.9 loaded.
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Journal Service.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
             Starting udev Coldplug all Devices...
             Starting Create Static Device Nodes in /dev...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             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.
    [    8.194795] systemd-journald[61]: Received request to flush runtime journal f                             rom PID 1
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
    [  OK  ] Started Flush Journal to Persistent Storage.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Network Time Synchronization...
             Starting Update UTMP about System Boot/Shutdown...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting sshd.socket.
             Starting Network Service...
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [    9.574935] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memor                             y@9d000000
    [    9.705448] remoteproc remoteproc0: 58820000.ipu is available
    [    9.716916] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem                             4 failed with error -2
    [    9.751905] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memor                             y@95800000
    [    9.751980] remoteproc remoteproc1: 55020000.ipu is available
    [    9.752220] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memor                             y@99000000
    [    9.752276] remoteproc remoteproc2: 40800000.dsp is available
    [  OK  ] Found device /dev/ttyS2.
    [   10.167502] remoteproc remoteproc0: powering up 58820000.ipu
    [   10.194607] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   10.208073] omap-des 480a5000.des: will run requests pump with realtime prior                             ity
    [  OK  ] Listening on sshd.socket.
    [   10.363403] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem                             4 failed with error -2
    [  OK  ] Reached target Sockets.
    [   10.430534] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Reached target Basic System.
    [   10.471342] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem                             4 failed with error -2
    [  OK  ] Reached target Containers.
    [   10.539159] remoteproc remoteproc1: powering up 55020000.ipu
    [  OK  ] Started System Logging Service.
    [   10.664371] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem                             4 failed with error -2
    [   10.747291] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   10.828546] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   10.830895] omap-aes 4b500000.aes: will run requests pump with realtime prior                             ity
    [   10.872698] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   10.879225] omap-aes 4b700000.aes: will run requests pump with realtime prior                             ity
    [   10.880372] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
    [  OK  ] Started Kernel Logging Service.
    [   11.115787] remoteproc remoteproc1: request_firmware failed: -2
             [   11.203765] remoteproc remoteproc2: Direct firmware load for dra7-ds                             p1-fw.xe66 failed with error -2
    Starting telnetd.service...
    [  OK  ] Started D-Bus System Message Bus.
    [   11.276807] remoteproc remoteproc2: powering up 40800000.dsp
    [   11.342282] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe6                             6 failed with error -2
    [   11.404577] remoteproc remoteproc2: request_firmware failed: -2
             Starting Login Service...
    [  OK  ] Started telnetd.service.
    [  OK  ] Started Network Service.
    [   13.511057] net eth0: initializing cpsw version 1.15 (0)
    [   13.661249] Micrel KSZ8081 or KSZ8091 48485000.mdio:00: attached PHY driver [                             Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [   13.726313] libphy: PHY  not found
    [   13.752959] net eth0: phy "" not found on slave 1, err -19
    [   13.813813] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    [   14.102728] dwc3 48890000.usb: changing max_speed on rev 5533202a
    [   14.123063] using random self ethernet address
    [   14.127534] using random host ethernet address
    [   14.143200] usb0: HOST MAC 8e:5b:3b:a9:5f:7c
    [   14.153070] usb0: MAC 96:f6:b6:9d:7d:16
    [   14.156946] using random self ethernet address
    [   14.171767] using random host ethernet address
    [   14.176283] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [   14.201866] g_ether gadget: g_ether ready
    [   14.303925] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [  OK  ] Started Login Service.
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Network Name Resolution...
             Starting thttpd.service...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started Serial Getty on ttyS2.
    [  OK  ] Started Getty on tty1.
    [  OK  ] Reached target Login Prompts.
             Starting Synchronize System and HW clocks...
    [  OK  ] Started thttpd.service.
    [FAILED] Failed to start Synchronize System and HW clocks.
    See 'systemctl status sync-clocks.service' for details.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
             Starting thermal-zone-init.service...
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Reached target Multi-User System.
             Starting Update UTMP about System Runlevel Changes...
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    [   15.847056] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow con                             trol rx/tx
    [   15.855169] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am5708-p38 ttyS2
    
    Arago 2018.10 am5708-p38 ttyS2
    
    am5708-p38 login: root
    Password:
    

    And that with "supply-%s" -

    Starting kernel ...
    
    Uncompressing Linux... done, booting the kernel.
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.14.79-gbde58ab01e (oe-user@oe-host) (gcc version 7.2.1 20171011 (Linaro GCC 7.2-2017.11)) #40 PREEMPT Thu Apr 18 09:31:45 UTC 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c53c7d
    [    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: AM5708 p38 rev 1.0
    [    0.000000] Memory policy: Data cache writeback
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, size 56 MiB
    [    0.000000] OF: reserved mem: initialized node ipu2-memory@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 64 MiB
    [    0.000000] OF: reserved mem: initialized node dsp1-memory@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, size 32 MiB
    [    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000be400000
    [    0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
    [    0.000000] CPU: All CPU(s) started in HYP mode.
    [    0.000000] CPU: Virtualization extensions available.
    [    0.000000] DRA722 ES2.0
    [    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 259648
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=/dev/mtdblock9 rw rootwait rootfstype=jffs2
    [    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: 843720K/1045504K available (6144K kernel code, 252K rwdata, 1876K rodata, 2048K init, 281K bss, 21560K reserved, 180224K cma-reserved, 234496K highmem)
    [    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 - 0xc0800000   (8160 kB)
    [    0.000000]       .init : 0xc0a00000 - 0xc0c00000   (2048 kB)
    [    0.000000]       .data : 0xc0c00000 - 0xc0c3f148   ( 253 kB)
    [    0.000000]        .bss : 0xc0c41000 - 0xc0c874bc   ( 282 kB)
    [    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [    0.000000] 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 31475 Hz
    [    0.000000] arch_timer: cp15 timer(s) running at 5.90MHz (phys).
    [    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x15c70fb29, max_idle_ns: 440795202138 ns
    [    0.000004] sched_clock: 56 bits at 5MHz, resolution 169ns, wraps every 4398046511093ns
    [    0.000015] Switching to timer-based delay loop, resolution 169ns
    [    0.000325] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000332] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000723] Console: colour dummy device 80x30
    [    0.000742] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000747] This ensures that you still see kernel messages. Please
    [    0.000752] update your kernel commandline.
    [    0.000769] Calibrating delay loop (skipped), value calculated using timer frequency.. 11.80 BogoMIPS (lpj=59016)
    [    0.000781] pid_max: default: 32768 minimum: 301
    [    0.000892] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000905] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001356] CPU: Testing write buffer coherency: ok
    [    0.001392] CPU0: Spectre v2: using ICIALLU workaround
    [    0.001737] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.001815] Hierarchical SRCU implementation.
    [    0.002340] devtmpfs: initialized
    [    0.015600] random: get_random_u32 called from bucket_table_alloc+0x8c/0x1ac with crng_init=0
    [    0.015817] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.015953] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.015966] futex hash table entries: 256 (order: -1, 3072 bytes)
    [    0.020007] pinctrl core: initialized pinctrl subsystem
    [    0.020606] NET: Registered protocol family 16
    [    0.021431] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.021957] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.156107] cpuidle: using governor ladder
    [    0.156130] cpuidle: using governor menu
    [    0.162505] OMAP GPIO hardware version 0.1
    [    0.176579] omap-gpmc 50000000.gpmc: GPMC revision 6.0
    [    0.181021] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.181031] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.181376] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.181385] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.181594] OMAP DMA hardware revision 0.0
    [    0.188154] edma 43300000.edma: memcpy is disabled
    [    0.190798] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.196208] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.197857] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.198005] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.198188] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.198365] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.198575] iommu: Adding device 58820000.ipu to group 1
    [    0.198631] iommu: Adding device 55020000.ipu to group 2
    [    0.198730] iommu: Adding device 40800000.dsp to group 0
    [    0.199473] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.199809] omap_i2c 48072000.i2c: bus 1 rev0.12 at 400 kHz
    [    0.199937] pps_core: LinuxPPS API ver. 1 registered
    [    0.199943] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.199960] PTP clock support registered
    [    0.199965] EDAC MC: Ver: 3.0.0
    [    0.200466] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.200622] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.200860] Advanced Linux Sound Architecture Driver Initialized.
    [    0.201338] clocksource: Switched to clocksource arch_sys_counter
    [    0.206832] NET: Registered protocol family 2
    [    0.207246] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.207306] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.207407] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.207486] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [    0.207509] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [    0.207608] NET: Registered protocol family 1
    [    0.207816] RPC: Registered named UNIX socket transport module.
    [    0.207824] RPC: Registered udp transport module.
    [    0.207830] RPC: Registered tcp transport module.
    [    0.207836] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.208427] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.208488] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.209204] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.212682] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.213126] NFS: Registering the id_resolver key type
    [    0.213146] Key type id_resolver registered
    [    0.213153] Key type id_legacy registered
    [    0.213184] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.213309] jffs2: version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
    [    0.214538] bounce: pool size: 64 pages
    [    0.214581] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
    [    0.214590] io scheduler noop registered
    [    0.214596] io scheduler deadline registered
    [    0.214721] io scheduler cfq registered (default)
    [    0.214728] io scheduler mq-deadline registered
    [    0.214735] io scheduler kyber registered
    [    0.217818] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.217937] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [    0.217998] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [    0.218008] pinctrl-single 4a002e8c.pinmux: 1 pins at pa fc002e8c size 4
    [    0.249703] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    0.251573] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud = 3000000) is a 8250
    [    1.050747] console [ttyS2] enabled
    [    1.055730] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    1.067484] brd: module loaded
    [    1.074901] loop: module loaded
    [    1.079953] m25p80 spi0.0: mx66u51235f (65536 Kbytes)
    [    1.085131] 10 ofpart partitions found on MTD device spi0.0
    [    1.090726] Creating 10 MTD partitions on "spi0.0":
    [    1.095668] 0x000000000000-0x000000010000 : "QSPI.SPL"
    [    1.101361] 0x000000010000-0x000000020000 : "QSPI.SPL.backup1"
    [    1.107674] 0x000000020000-0x000000030000 : "QSPI.SPL.backup2"
    [    1.113989] 0x000000030000-0x000000040000 : "QSPI.SPL.backup3"
    [    1.120295] 0x000000040000-0x000000140000 : "QSPI.u-boot"
    [    1.126205] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
    [    1.132709] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
    [    1.138915] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
    [    1.145843] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
    [    1.151718] 0x0000009e0000-0x000004000000 : "QSPI.file-system"
    [    1.158349] libphy: Fixed MDIO Bus: probed
    [    1.221356] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    1.229046] libphy: 48485000.mdio: probed
    [    1.235421] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ8081 or KSZ8091
    [    1.245446] cpsw 48484000.ethernet: No slave[1] phy_id, phy-handle, or fixed-link property
    [    1.253797] cpsw 48484000.ethernet: Detected MACID = e8:eb:11:de:aa:3a
    [    1.260402] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    1.266826] cpsw 48484000.ethernet: ALE Table size 1024
    [    1.272104] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    1.279123] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    1.287052] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
    [    1.295983] i2c /dev entries driver
    [    1.302526] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [    1.310307] ledtrig-cpu: registered to indicate activity on CPUs
    [    1.318510] tlv320aic32x4 0-0018: 0-0018 supply iov not found, using dummy regulator
    [    1.326369] tlv320aic32x4 0-0018: Missing supply 'dv' or 'ldoin'
    [    1.332663] tlv320aic32x4 0-0018: Failed to setup regulators
    [    1.339891] NET: Registered protocol family 10
    [    1.345015] Segment Routing with IPv6
    [    1.348736] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    1.355093] NET: Registered protocol family 17
    [    1.359602] Key type dns_resolver registered
    [    1.364040] omap_voltage_late_init: Voltage driver support not added
    [    1.370420] Power Management for TI OMAP4+ devices.
    [    1.383236] hctosys: unable to open rtc device (rtc0)
    [    1.388770] ALSA device list:
    [    1.391801]   No soundcards found.
    [    1.460385] random: fast init done
    [    4.430080] VFS: Mounted root (jffs2 filesystem) on device 31:9.
    [    4.436344] devtmpfs: mounted
    [    4.440781] Freeing unused kernel memory: 2048K
    [    4.511905] random: crng init done
    [    5.444183] systemd[1]: System time before build time, advancing clock.
    [    5.520102] systemd[1]: systemd 234 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN2 -IDN default-hierarchy=hybrid)
    [    5.541227] systemd[1]: Detected architecture arm.
    
    Welcome to Arago 2018.10!
    
    [    5.582422] systemd[1]: Set hostname to <am5708-p38>.
    [    5.591050] systemd[1]: Initializing machine ID from random generator.
    [    6.050667] systemd[1]: Listening on Journal Socket.
    [  OK  ] Listening on Journal Socket.
    [    6.087963] systemd[1]: Created slice System Slice.
    [  OK  ] Created slice System Slice.
    [    6.122176] systemd[1]: Created slice system-serial\x2dgetty.slice.
    [  OK  ] Created slice system-serial\x2dgetty.slice.
    [    6.159823] systemd[1]: Starting Create list of required static device nodes for the current kernel...
             Starting Create list of required st…ce nodes for the current kernel...
    [    6.202264] systemd[1]: Created slice system-getty.slice.
    [  OK  ] Created slice system-getty.slice.
    [    6.236027] systemd[1]: Starting Load Kernel Modules...
             Starting Load Kernel Modules...
    [  OK  ] Listening on Network Service Netlink Socket.
    [    6.301030] cryptodev: loading out-of-tree module taints kernel.
    [  OK  ] Listening on Process Core Dump Socket.
    [    6.313897] cryptodev: driver 1.9 loaded.
    [  OK  ] Reached target Remote File Systems.
             Mounting Kernel Debug File System...
    [  OK  ] Listening on udev Kernel Socket.
    [  OK  ] Listening on Syslog Socket.
    [  OK  ] Started Forward Password Requests to Wall Directory Watch.
    [  OK  ] Reached target Swap.
             Mounting Temporary Directory (/tmp)...
             Mounting POSIX Message Queue File System...
    [  OK  ] Listening on Journal Socket (/dev/log).
    [  OK  ] Listening on udev Control Socket.
             Starting Journal Service...
    [  OK  ] Started Dispatch Password Requests to Console Directory Watch.
    [  OK  ] Reached target Paths.
    [  OK  ] Created slice User and Session Slice.
    [  OK  ] Reached target Slices.
    [  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
             Starting Remount Root and Kernel File Systems...
    [  OK  ] Mounted Kernel Debug File System.
    [  OK  ] Mounted POSIX Message Queue File System.
    [  OK  ] Mounted Temporary Directory (/tmp).
    [  OK  ] Started Journal Service.
    [  OK  ] Started Create list of required sta…vice nodes for the current kernel.
    [  OK  ] Started Load Kernel Modules.
    [  OK  ] Started Remount Root and Kernel File Systems.
             Starting Rebuild Hardware Database...
             Starting Create System Users...
             Starting Apply Kernel Variables...
             Mounting Kernel Configuration File System...
             Starting Flush Journal to Persistent Storage...
    [  OK  ] Mounted Kernel Configuration File System.
    [    8.315742] systemd-journald[63]: Received request to flush runtime journal from PID 1
    [  OK  ] Started Flush Journal to Persistent Storage.
    [  OK  ] Started Apply Kernel Variables.
    [  OK  ] Started Create System Users.
             Starting Create Static Device Nodes in /dev...
    [  OK  ] Started Create Static Device Nodes in /dev.
             Starting udev Kernel Device Manager...
    [  OK  ] Reached target Local File Systems (Pre).
             Mounting /media/ram...
             Mounting /var/volatile...
    [  OK  ] Mounted /var/volatile.
    [  OK  ] Mounted /media/ram.
             Starting Load/Save Random Seed...
    [  OK  ] Reached target Local File Systems.
             Starting Create Volatile Files and Directories...
             Starting Rebuild Dynamic Linker Cache...
             Starting Rebuild Journal Catalog...
    [  OK  ] Started Load/Save Random Seed.
    [  OK  ] Started Create Volatile Files and Directories.
             Starting Update UTMP about System Boot/Shutdown...
             Starting Opkg first boot configure...
             Starting Network Time Synchronization...
    [  OK  ] Started Update UTMP about System Boot/Shutdown.
    [  OK  ] Started udev Kernel Device Manager.
    [  OK  ] Started Rebuild Journal Catalog.
    [  OK  ] Started Network Time Synchronization.
    [  OK  ] Reached target System Time Synchronized.
    [  OK  ] Started Opkg first boot configure.
    [  OK  ] Started Rebuild Dynamic Linker Cache.
    [  OK  ] Started Rebuild Hardware Database.
             Starting udev Coldplug all Devices...
             Starting Update is Completed...
    [  OK  ] Started Update is Completed.
    [  OK  ] Started udev Coldplug all Devices.
    [  OK  ] Reached target System Initialization.
    [  OK  ] Listening on D-Bus System Message Bus Socket.
    [  OK  ] Started Daily Cleanup of Temporary Directories.
    [  OK  ] Reached target Timers.
             Starting Network Service...
             Starting sshd.socket.
    [  OK  ] Listening on sshd.socket.
    [  OK  ] Reached target Sockets.
    [  OK  ] Reached target Basic System.
    [  OK  ] Reached target Containers.
             Starting Login Service...
    [  OK  ] Started D-Bus System Message Bus.
    [  OK  ] Started Kernel Logging Service.
    [  OK  ] Started System Logging Service.
             Starting telnetd.service...
    [  OK  ] Started Login Service.
    [  OK  ] Started Network Service.
    [  OK  ] Started telnetd.service.
             Starting thttpd.service...
    [  OK  ] Reached target Network.
             Starting Permit User Sessions...
             Starting Network Name Resolution...
    [  OK  ] Started Permit User Sessions.
    [  OK  ] Started thttpd.service.
             Starting thermal-zone-init.service...
    [  OK  ] Started Getty on tty1.
    [  OK  ] Started thermal-zone-init.service.
    [  OK  ] Started Network Name Resolution.
    [  OK  ] Reached target Host and Network Name Lookups.
    [   56.698985] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d000000
    [   56.813702] remoteproc remoteproc0: 58820000.ipu is available
    [   56.819813] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   56.842698] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
    [   56.842767] remoteproc remoteproc1: 55020000.ipu is available
    [   56.843023] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
    [   56.843088] remoteproc remoteproc2: 40800000.dsp is available
    [  OK  ] Found device /dev/ttyS2.
    [   57.142402] remoteproc remoteproc0: powering up 58820000.ipu
    [  OK  ] Started Serial Getty on ttyS2.
    [   57.278293] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
    [   57.325774] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2
    [   57.341653] omap-des 480a5000.des: will run requests pump with realtime priority
    [  OK  ] Reached target Login Prompts.
    [   57.418488] remoteproc remoteproc0: request_firmware failed: -2
    [  OK  ] Reached target Multi-User System.
    [   57.480574] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
             [   57.645606] remoteproc remoteproc1: powering up 55020000.ipu
    Starting Update UTMP about System Runlevel Changes...
    [   57.662865] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
    [   57.735132] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [   57.739474] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
    [   57.747854] omap-aes 4b500000.aes: will run requests pump with realtime priority
    [   57.811812] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
    [   57.812150] omap-aes 4b700000.aes: will run requests pump with realtime priority
    [   57.813152] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
             [   58.252154] remoteproc remoteproc1: request_firmware failed: -2
    Starting Synchronize System and HW clocks...
    [FAILED] Failed to start Synchronize System and HW c[   58.352051] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    locks.
    See 'systemctl status sync-clocks.service' for details.[   58.485648] remoteproc remoteproc2: powering up 40800000.dsp
    
    [   58.567372] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
    [   58.717128] remoteproc remoteproc2: request_firmware failed: -2
    [   58.799608] net eth0: initializing cpsw version 1.15 (0)
    [  OK  ] Started Update UTMP about System Runlevel Changes.
    [   58.912127] Micrel KSZ8081 or KSZ8091 48485000.mdio:00: attached PHY driver [Micrel KSZ8081 or KSZ8091] (mii_bus:phy_addr=48485000.mdio:00, irq=POLL)
    [   59.112711] libphy: PHY  not found
    [   59.169315] net eth0: phy "" not found on slave 1, err -19
    [   59.306031] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
    
     _____                    _____           _         _
    |  _  |___ ___ ___ ___   |  _  |___ ___  |_|___ ___| |_
    |     |  _| .'| . | . |  |   __|  _| . | | | -_|  _|  _|
    |__|__|_| |__,|_  |___|  |__|  |_| |___|_| |___|___|_|
                  |___|                    |___|
    
    Arago Project http://arago-project.org am5708-p38 ttyS2
    
    Arago 2018.10 am5708-p38 ttyS2
    
    am5708-p38 login: [   60.428790] dwc3 48890000.usb: changing max_speed on rev 5533202a
    [   60.444807] using random self ethernet address
    [   60.449274] using random host ethernet address
    [   60.469825] usb0: HOST MAC 9a:12:37:67:82:df
    [   60.481275] usb0: MAC b2:d2:43:8a:df:2f
    [   60.489099] using random self ethernet address
    [   60.500154] using random host ethernet address
    [   60.511106] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
    [   60.527267] g_ether gadget: g_ether ready
    [   60.631798] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
    [   61.206860] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
    [   61.214949] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
    

    What is a right direction?

  • Vladimir Rosiaev said:
    3. Are you sure? I have found a function of_get_regulator in /drivers/regulator/core.c. It is described as "%s-supply" inside of this function. I can find no one form like "supply-%s" or something same.

    I was looking into below txt file:

    linux-kernel/Documentation/devicetree/bindings/sound/tlv320aic32x4.txt

    supply-*: Required supply regulators are:
        "iov" - digital IO power supply

    But based on below e2e threads, seems that the correct form is *-supply:

    Note that questions specific for AIC32 codec should be posted in Audio forum, while this forum (processors) can help for questions related to AM57x McASP module.

    Regards,
    Pavel