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.

AM5728: TLV320AIC304 audio codec configuration

Part Number: AM5728
Other Parts Discussed in Thread: BEAGLEBOARD-X15

I have a AM5728 custom board.

I use ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install.bin

I use am57xx-beagle-x15-common.dtsi,  I just  changed "assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 24>"   to "assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 22>;"

/*
 * Copyright (C) 2014-2016 Texas Instruments Incorporated - http://www.ti.com/
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */
/dts-v1/;

#include "dra74x.dtsi"
#include "am57xx-commercial-grade.dtsi"
#include "dra74x-mmc-iodelay.dtsi"
#include "dra74-ipu-dsp-common.dtsi"
#include <dt-bindings/gpio/gpio.h>
#include <dt-bindings/interrupt-controller/irq.h>

/ {
	compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7";

	aliases {
		rtc0 = &mcp_rtc;
		rtc1 = &tps659038_rtc;
		rtc2 = &rtc;
		display0 = &hdmi0;

		sound0 = &sound0;
		sound1 = &hdmi;
	};

	chosen {
		stdout-path = &uart3;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x80000000 0x0 0x80000000>;
	};

	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";
		};

		dsp2_memory_region: dsp2-memory@9f000000 {
			compatible = "shared-dma-pool";
			reg = <0x0 0x9f000000 0x0 0x800000>;
			reusable;
			status = "okay";
		};
	};

	main_12v0: fixedregulator-main_12v0 {
		/* main supply */
		compatible = "regulator-fixed";
		regulator-name = "main_12v0";
		regulator-min-microvolt = <12000000>;
		regulator-max-microvolt = <12000000>;
		regulator-always-on;
		regulator-boot-on;
	};

	evm_5v0: fixedregulator-evm_5v0 {
		/* Output of TPS54531D */
		compatible = "regulator-fixed";
		regulator-name = "evm_5v0";
		regulator-min-microvolt = <5000000>;
		regulator-max-microvolt = <5000000>;
		vin-supply = <&main_12v0>;
		regulator-always-on;
		regulator-boot-on;
	};

	vdd_3v3: fixedregulator-vdd_3v3 {
		compatible = "regulator-fixed";
		regulator-name = "vdd_3v3";
		vin-supply = <&regen1>;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
	};

	aic_dvdd: fixedregulator-aic_dvdd {
		compatible = "regulator-fixed";
		regulator-name = "aic_dvdd_fixed";
		vin-supply = <&vdd_3v3>;
		regulator-min-microvolt = <1800000>;
		regulator-max-microvolt = <1800000>;
	};

	vtt_fixed: fixedregulator-vtt {
		/* TPS51200 */
		compatible = "regulator-fixed";
		regulator-name = "vtt_fixed";
		vin-supply = <&smps3_reg>;
		regulator-min-microvolt = <3300000>;
		regulator-max-microvolt = <3300000>;
		regulator-always-on;
		regulator-boot-on;
		enable-active-high;
		gpio = <&gpio7 11 GPIO_ACTIVE_HIGH>;
	};

	leds {
		compatible = "gpio-leds";

		led0 {
			label = "beagle-x15:usr0";
			gpios = <&gpio7 9 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "heartbeat";
			default-state = "off";
		};

		led1 {
			label = "beagle-x15:usr1";
			gpios = <&gpio7 8 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "cpu0";
			default-state = "off";
		};

		led2 {
			label = "beagle-x15:usr2";
			gpios = <&gpio7 14 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "mmc0";
			default-state = "off";
		};

		led3 {
			label = "beagle-x15:usr3";
			gpios = <&gpio7 15 GPIO_ACTIVE_HIGH>;
			linux,default-trigger = "disk-activity";
			default-state = "off";
		};
	};

	gpio_fan: gpio_fan {
		/* Based on 5v 500mA AFB02505HHB */
		compatible = "gpio-fan";
		gpios =  <&tps659038_gpio 2 GPIO_ACTIVE_HIGH>;
		gpio-fan,speed-map = <0     0>,
				     <13000 1>;
		#cooling-cells = <2>;
	};

	hdmi0: connector {
		compatible = "hdmi-connector";
		label = "hdmi";      

		type = "a";

		port {
			hdmi_connector_in: endpoint {
				remote-endpoint = <&tpd12s015_out>;
			};
		};
	};

	tpd12s015: encoder {
		compatible = "ti,tpd12s015";

		ports {
			#address-cells = <1>;
			#size-cells = <0>;

			port@0 {
				reg = <0>;

				tpd12s015_in: endpoint {
					remote-endpoint = <&hdmi_out>;
				};
			};

			port@1 {
				reg = <1>;

				tpd12s015_out: endpoint {
					remote-endpoint = <&hdmi_connector_in>;
				};
			};
		};
	};

	sound0: sound0 {
		compatible = "simple-audio-card";
		simple-audio-card,name = "BeagleBoard-X15";
		simple-audio-card,widgets =
			"Line", "Line Out",
			"Line", "Line In";
		simple-audio-card,routing =
			"Line Out",	"LLOUT",
			"Line Out",	"RLOUT",
			"MIC2L",	"Line In",
			"MIC2R",	"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;

		simple-audio-card,cpu {
			sound-dai = <&mcasp3>;
		};

		sound0_master: simple-audio-card,codec {
			sound-dai = <&tlv320aic3104>;
			clocks = <&clkout2_clk>;
		};
	};
};

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

	tps659038: tps659038@58 {
		compatible = "ti,tps659038";
		reg = <0x58>;
		interrupt-parent = <&gpio1>;
		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;

		#interrupt-cells = <2>;
		interrupt-controller;

		ti,system-power-controller;
		ti,palmas-override-powerhold;

		tps659038_pmic {
			compatible = "ti,tps659038-pmic";

			regulators {
				smps12_reg: smps12 {
					/* VDD_MPU */
					regulator-name = "smps12";
					regulator-min-microvolt = < 850000>;
					regulator-max-microvolt = <1250000>;
					regulator-always-on;
					regulator-boot-on;
				};

				smps3_reg: smps3 {
					/* VDD_DDR */
					regulator-name = "smps3";
					regulator-min-microvolt = <1350000>;
					regulator-max-microvolt = <1350000>;
					regulator-always-on;
					regulator-boot-on;
				};

				smps45_reg: smps45 {
					/* VDD_DSPEVE, VDD_IVA, VDD_GPU */
					regulator-name = "smps45";
					regulator-min-microvolt = < 850000>;
					regulator-max-microvolt = <1250000>;
					regulator-always-on;
					regulator-boot-on;
				};

				smps6_reg: smps6 {
					/* VDD_CORE */
					regulator-name = "smps6";
					regulator-min-microvolt = <850000>;
					regulator-max-microvolt = <1150000>;
					regulator-always-on;
					regulator-boot-on;
				};

				/* SMPS7 unused */

				smps8_reg: smps8 {
					/* VDD_1V8 */
					regulator-name = "smps8";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
				};

				/* SMPS9 unused */

				ldo1_reg: ldo1 {
					/* VDD_SD / VDDSHV8  */
					regulator-name = "ldo1";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <3300000>;
					regulator-boot-on;
					regulator-always-on;
				};

				ldo2_reg: ldo2 {
					/* VDD_SHV5 */
					regulator-name = "ldo2";
					regulator-min-microvolt = <3300000>;
					regulator-max-microvolt = <3300000>;
					regulator-always-on;
					regulator-boot-on;
				};

				ldo3_reg: ldo3 {
					/* VDDA_1V8_PHYA */
					regulator-name = "ldo3";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
				};

				ldo4_reg: ldo4 {
					/* VDDA_1V8_PHYB */
					regulator-name = "ldo4";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
				};

				ldo9_reg: ldo9 {
					/* VDD_RTC */
					regulator-name = "ldo9";
					regulator-min-microvolt = <1050000>;
					regulator-max-microvolt = <1050000>;
					regulator-always-on;
					regulator-boot-on;
				};

				ldoln_reg: ldoln {
					/* VDDA_1V8_PLL */
					regulator-name = "ldoln";
					regulator-min-microvolt = <1800000>;
					regulator-max-microvolt = <1800000>;
					regulator-always-on;
					regulator-boot-on;
				};

				ldousb_reg: ldousb {
					/* VDDA_3V_USB: VDDA_USBHS33 */
					regulator-name = "ldousb";
					regulator-min-microvolt = <3300000>;
					regulator-max-microvolt = <3300000>;
					regulator-boot-on;
				};

				regen1: regen1 {
					/* VDD_3V3_ON */
					regulator-name = "regen1";
					regulator-boot-on;
					regulator-always-on;
				};
			};
		};

		tps659038_rtc: tps659038_rtc {
			compatible = "ti,palmas-rtc";
			interrupt-parent = <&tps659038>;
			interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
			wakeup-source;
		};

		tps659038_pwr_button: tps659038_pwr_button {
			compatible = "ti,palmas-pwrbutton";
			interrupt-parent = <&tps659038>;
			interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
			wakeup-source;
			ti,palmas-long-press-seconds = <12>;
		};

		tps659038_gpio: tps659038_gpio {
			compatible = "ti,palmas-gpio";
			gpio-controller;
			#gpio-cells = <2>;
		};

		extcon_usb2: tps659038_usb {
			compatible = "ti,palmas-usb-vid";
			ti,enable-vbus-detection;
			vbus-gpio = <&gpio4 21 GPIO_ACTIVE_HIGH>;
		};

	};

	tmp102: tmp102@48 {
		compatible = "ti,tmp102";
		reg = <0x48>;
		interrupt-parent = <&gpio7>;
		interrupts = <16 IRQ_TYPE_LEVEL_LOW>;
		#thermal-sensor-cells = <1>;
	};

	tlv320aic3104: tlv320aic3104@18 {
		#sound-dai-cells = <0>;
		compatible = "ti,tlv320aic3104";
		reg = <0x18>;
		assigned-clocks = <&clkoutmux2_clk_mux>;
		assigned-clock-parents = <&sys_clk2_dclk_div>;

		status = "okay";
		adc-settle-ms = <40>;

		AVDD-supply = <&vdd_3v3>;
		IOVDD-supply = <&vdd_3v3>;
		DRVDD-supply = <&vdd_3v3>;
		DVDD-supply = <&aic_dvdd>;
	};

	eeprom: eeprom@50 {
		compatible = "atmel,24c32";
		reg = <0x50>;
	};
};

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

	mcp_rtc: rtc@6f {
		compatible = "microchip,mcp7941x";
		reg = <0x6f>;
		interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
				      <&dra7_pmx_core 0x424>;
		interrupt-names = "irq", "wakeup";

		vcc-supply = <&vdd_3v3>;
		wakeup-source;
	};
};

&gpio7 {
	ti,no-reset-on-init;
	ti,no-idle-on-init;
};

&cpu0 {
	vdd-supply = <&smps12_reg>;
	voltage-tolerance = <1>;
};

&uart3 {
	status = "okay";
	interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>,
			      <&dra7_pmx_core 0x3f8>;
};

&davinci_mdio {
	phy0: ethernet-phy@1 {
		reg = <1>;
	};

	phy1: ethernet-phy@2 {
		reg = <2>;
	};
};

&mac {
	status = "okay";
	dual_emac;
};

&cpsw_emac0 {
	phy-handle = <&phy0>;
	phy-mode = "rgmii";
	dual_emac_res_vlan = <1>;
};

&cpsw_emac1 {
	phy-handle = <&phy1>;
	phy-mode = "rgmii";
	dual_emac_res_vlan = <2>;
};

&mmc1 {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&mmc1_pins_default>;

	bus-width = <4>;
	cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */
	no-1-8-v;
};

&mmc2 {
	status = "okay";

	pinctrl-names = "default";
	pinctrl-0 = <&mmc2_pins_default>;

	vmmc-supply = <&vdd_3v3>;
	vqmmc-supply = <&vdd_3v3>;
	bus-width = <8>;
	non-removable;
	no-1-8-v;
};

&sata {
	status = "okay";
};

&usb2_phy1 {
	phy-supply = <&ldousb_reg>;
};

&usb2_phy2 {
	phy-supply = <&ldousb_reg>;
};

&usb1 {
	dr_mode = "host";
};

&omap_dwc3_2 {
	extcon = <&extcon_usb2>;
};

&usb2 {
	/*
	 * Stand alone usage is peripheral only.
	 * However, with some resistor modifications
	 * this port can be used via expansion connectors
	 * as "host" or "dual-role". If so, provide
	 * the necessary dr_mode override in the expansion
	 * board's DT.
	 */
	dr_mode = "peripheral";
};

&cpu_trips {
	cpu_alert1: cpu_alert1 {
		temperature = <50000>; /* millicelsius */
		hysteresis = <2000>; /* millicelsius */
		type = "active";
	};
};

&cpu_cooling_maps {
	map1 {
		trip = <&cpu_alert1>;
		cooling-device = <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
	};
};

&thermal_zones {
	board_thermal: board_thermal {
		polling-delay-passive = <1250>; /* milliseconds */
		polling-delay = <1500>; /* milliseconds */

				/* sensor       ID */
		thermal-sensors = <&tmp102     0>;

		board_trips: trips {
			board_alert0: board_alert {
				temperature = <40000>; /* millicelsius */
				hysteresis = <2000>; /* millicelsius */
				type = "active";
			};

			board_crit: board_crit {
				temperature = <105000>; /* millicelsius */
				hysteresis = <0>; /* millicelsius */
				type = "critical";
			};
		};

		board_cooling_maps: cooling-maps {
			map0 {
				trip = <&board_alert0>;
				cooling-device =
				  <&gpio_fan THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
			};
		};
       };
};

&gpu {
	status = "ok";
};

&dss {
	status = "ok";

	vdda_video-supply = <&ldoln_reg>;
};

&bb2d {
	status = "okay";
};

&hdmi {
	status = "ok";
	vdda-supply = <&ldo4_reg>;

	port {
		hdmi_out: endpoint {
			remote-endpoint = <&tpd12s015_in>;
		};
	};
};

&pcie1_rc {
	status = "ok";
	gpios = <&gpio2 8 GPIO_ACTIVE_LOW>;
};

&mcasp3 {
	#sound-dai-cells = <0>;
	assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 22>;
	assigned-clock-parents = <&sys_clkin2>;
	status = "okay";

	op-mode = <0>;	/* MCASP_IIS_MODE */
	tdm-slots = <2>;
	/* 4 serializers */
	serial-dir = <	/* 0: INACTIVE, 1: TX, 2: RX */
		1 2 0 0
	>;
	tx-num-evt = <32>;
	rx-num-evt = <32>;
};

&pruss_soc_bus1 {
	status = "okay";

	pruss1: pruss@4b200000 {
		status = "okay";
	};
};

&pruss_soc_bus2 {
	status = "okay";

	pruss2: pruss@4b280000 {
		status = "okay";
	};
};

&ipu2 {
	status = "okay";
	memory-region = <&ipu2_memory_region>;
};

&ipu1 {
	status = "okay";
	memory-region = <&ipu1_memory_region>;
};

&dsp1 {
	status = "okay";
	memory-region = <&dsp1_memory_region>;
};

&dsp2 {
	status = "okay";
	memory-region = <&dsp2_memory_region>;
};

#include "dra7-ipu-common-early-boot.dtsi"

This is my kernel log

the  "assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 24>" 

DRA7_MCASP3_CLKCTRL 24_log.txt

the  "assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 22>"

U-Boot 2019.01-g333c3e72d3 (Apr 20 2020 - 04:15:00 +0000)

CPU  : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
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

Warning: fastboot.board_rev: unknown board revision
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
4571648 bytes read in 473 ms (9.2 MiB/s)
90792 bytes read in 12 ms (7.2 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe6000, end 8ffff2a7 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.94-gbe5389fd85 (liqifang@liqifang-System-Product-Name) (gcc version 8.3.0 (GNU Toolchain for the A-profile 0
[    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 AM5728 BeagleBoard-X15
[    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, 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 DMA memory pool at 0x000000009d000000, size 32 MiB
[    0.000000] OF: reserved mem: initialized node ipu1-memory@9d000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, size 8 MiB
[    0.000000] OF: reserved mem: initialized node dsp2-memory@9f000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
[    0.000000] OMAP4: Map 0x00000000ffd00000 to (ptrval) for dram barrier
[    0.000000] Hit pending asynchronous external abort (FSR=0x00001211) during first unmask, this is most likely caused by a firmware/bootloa.
[    0.000000] DRA752 ES2.0
[    0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
[    0.000000] percpu: Embedded 15 pages/cpu s32396 r8192 d20852 u61440
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 464192
[    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=c61aeb1a-02 rw rootfstype=ext4 rootwait
[    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: 1673044K/1863680K available (10240K kernel code, 347K rwdata, 2876K rodata, 2048K init, 269K bss, 34988K reserved, 155)
[    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 : 0x(ptrval) - 0x(ptrval)   (12256 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 348 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_cycles: 0x16af5adb9, max_idle_ns: 440795202250 ns
[    0.000005] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000019] Switching to timer-based delay loop, resolution 162ns
[    0.000300] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000310] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000780] Console: colour dummy device 80x30
[    0.000822] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000837] pid_max: default: 32768 minimum: 301
[    0.000958] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000973] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001533] CPU: Testing write buffer coherency: ok
[    0.001570] CPU0: Spectre v2: using ICIALLU workaround
[    0.001782] /cpus/cpu@0 missing clock-frequency property
[    0.001802] /cpus/cpu@1 missing clock-frequency property
[    0.001815] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.059915] Setting up static identity map for 0x80200000 - 0x80200060
[    0.079925] rcu: Hierarchical SRCU implementation.
[    0.100118] EFI services will not be available.
[    0.119987] smp: Bringing up secondary CPUs ...
[    0.200373] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.200379] CPU1: Spectre v2: using ICIALLU workaround
[    0.200501] smp: Brought up 1 node, 2 CPUs
[    0.200513] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.200523] CPU: All CPU(s) started in HYP mode.
[    0.200530] CPU: Virtualization extensions available.
[    0.201092] devtmpfs: initialized
[    0.217873] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.218129] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.218148] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.220811] pinctrl core: initialized pinctrl subsystem
[    0.221331] DMI not present or invalid.
[    0.221609] NET: Registered protocol family 16
[    0.222754] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.223690] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.416012] cpuidle: using governor ladder
[    0.416047] cpuidle: using governor menu
[    0.426552] OMAP GPIO hardware version 0.1
[    0.450997] No ATAGs?
[    0.451067] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.451083] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.451917] OMAP DMA hardware revision 0.0
[    0.463583] edma 43300000.edma: memcpy is disabled
[    0.467001] edma 43300000.edma: TI EDMA DMA engine driver
[    0.474230] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.475015] evm_5v0: supplied by main_12v0
[    0.478337] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.478514] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.478755] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.479010] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.479383] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.479556] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.479837] iommu: Adding device 58820000.ipu to group 1
[    0.479916] iommu: Adding device 55020000.ipu to group 2
[    0.480040] iommu: Adding device 40800000.dsp to group 0
[    0.480263] iommu: Adding device 41000000.dsp to group 3
[    0.481545] SCSI subsystem initialized
[    0.482577] palmas 0-0058: Irq flag is 0x00000008
[    0.513960] palmas 0-0058: Muxing GPIO 2b, PWM 0, LED 0
[    0.515523] SMPS12: supplied by regulator-dummy
[    0.517116] SMPS3: supplied by regulator-dummy
[    0.518678] SMPS45: supplied by regulator-dummy
[    0.520399] SMPS6: supplied by regulator-dummy
[    0.521747] SMPS7: supplied by regulator-dummy
[    0.523077] SMPS8: supplied by regulator-dummy
[    0.524272] SMPS9: supplied by regulator-dummy
[    0.524930] LDO1: supplied by regulator-dummy
[    0.540601] random: fast init done
[    0.541324] LDO2: supplied by regulator-dummy
[    0.561191] LDO3: supplied by regulator-dummy
[    0.581207] LDO4: supplied by regulator-dummy
[    0.601229] LDO5: supplied by regulator-dummy
[    0.601892] LDO6: supplied by regulator-dummy
[    0.602545] LDO7: supplied by regulator-dummy
[    0.603214] LDO8: supplied by regulator-dummy
[    0.603880] LDO9: supplied by regulator-dummy
[    0.621267] LDOLN: supplied by regulator-dummy
[    0.641290] LDOUSB: supplied by regulator-dummy
[    0.663675] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.664283] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.664482] media: Linux media interface: v0.10
[    0.664524] videodev: Linux video capture interface: v2.00
[    0.664601] pps_core: LinuxPPS API ver. 1 registered
[    0.664611] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.664632] PTP clock support registered
[    0.664662] EDAC MC: Ver: 3.0.0
[    0.665438] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.665700] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.680889] Advanced Linux Sound Architecture Driver Initialized.
[    0.681668] clocksource: Switched to clocksource arch_sys_counter
[    0.690024] NET: Registered protocol family 2
[    0.690603] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.690632] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.690695] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.691000] TCP: Hash tables configured (established 8192 bind 8192)
[    0.691073] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.691108] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.691243] NET: Registered protocol family 1
[    0.711717] RPC: Registered named UNIX socket transport module.
[    0.711728] RPC: Registered udp transport module.
[    0.711736] RPC: Registered tcp transport module.
[    0.711745] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.723128] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.723325] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.724298] Initialise system trusted keyrings
[    0.724435] workingset: timestamp_bits=14 max_order=19 bucket_order=5
[    0.729399] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.729861] NFS: Registering the id_resolver key type
[    0.729889] Key type id_resolver registered
[    0.729898] Key type id_legacy registered
[    0.729940] ntfs: driver 2.1.32 [Flags: R/O].
[    0.732195] Key type asymmetric registered
[    0.732207] Asymmetric key parser 'x509' registered
[    0.732255] bounce: pool size: 64 pages
[    0.732289] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.732300] io scheduler noop registered
[    0.732310] io scheduler deadline registered
[    0.732412] io scheduler cfq registered (default)
[    0.732423] io scheduler mq-deadline registered
[    0.732433] io scheduler kyber registered
[    0.738121] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
[    0.752085] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
[    0.752468] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
[    0.752511] dra7-pcie 51000000.pcie:    IO 0x20003000..0x20012fff -> 0x00000000
[    0.752537] dra7-pcie 51000000.pcie:   MEM 0x20013000..0x2fffffff -> 0x20013000
[    1.751906] dra7-pcie 51000000.pcie: Phy link never came up
[    1.752055] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    1.752069] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.752082] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.752093] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    1.757864] PCI: bus0: Fast back to back transfers disabled
[    1.763226] PCI: bus1: Fast back to back transfers enabled
[    1.763271] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
[    1.763292] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.763619] pcieport 0000:00:00.0: Signaling PME with IRQ 170
[    1.763750] pcieport 0000:00:00.0: AER enabled with IRQ 170
[    1.767392] vdd_3v3: supplied by regen1
[    1.767636] aic_dvdd_fixed: supplied by vdd_3v3
[    1.767706] vtt_fixed: supplied by smps3
[    1.817772] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    1.821383] console [ttyS2] disabled
[    1.821439] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
[    2.914370] console [ttyS2] enabled
[    2.919989] omap_rng 48090000.rng: Random Number Generator ver. 20
[    2.920527] random: crng init done
[    2.929808] omapdss_dss 58000000.dss: Linked as a consumer to regulator.22
[    2.936859] DSS: OMAP DSS rev 6.1
[    2.943169] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.16
[    2.950678] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.16
[    2.971404] brd: module loaded
[    2.980818] loop: module loaded
[    2.988132] libphy: Fixed MDIO Bus: probed
[    3.051694] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    3.059390] libphy: 48485000.mdio: probed
[    3.068339] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[    3.078063] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver Micrel KSZ9031 Gigabit PHY
[    3.088317] cpsw 48484000.ethernet: Detected MACID = e8:eb:11:6b:0c:6a
[    3.094946] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[    3.101334] cpsw 48484000.ethernet: ALE Table size 1024
[    3.106647] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[    3.114664] cpsw 48484000.ethernet: cpsw: Detected MACID = e8:eb:11:6b:0c:6b
[    3.122773] PPP generic driver version 2.4.2
[    3.127210] PPP BSD Compression module registered
[    3.131957] PPP Deflate Compression module registered
[    3.137041] PPP MPPE Compression module registered
[    3.142090] i2c /dev entries driver
[    3.148715] gpio-fan gpio_fan: GPIO fan initialized
[    3.154761] tmp102 0-0048: initialized
[    3.161596] cpu cpu0: Linked as a consumer to regulator.6
[    3.167307] cpu cpu0: Linked as a consumer to regulator.29
[    3.174478] sdhci: Secure Digital Host Controller Interface driver
[    3.180688] sdhci: Copyright(c) Pierre Ossman
[    3.186290] sdhci-pltfm: SDHCI platform and OF driver helper
[    3.192627] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[    3.201448] sdhci-omap 4809c000.mmc: Got CD GPIO
[    3.206275] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.28
[    3.213144] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator
[    3.221924] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0
[    3.228695] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0
[    3.235395] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.13
[    3.242374] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
[    3.276140] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
[    3.283863] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3
[    3.290655] sdhci-omap 480b4000.mmc: Dropping the link to regulator.3
[    3.297223] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3
[    3.329901] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
[    3.338934] ledtrig-cpu: registered to indicate activity on CPUs
[    3.347983] mmc0: host does not support reading read-only switch, assuming write-enable
[    3.356341] tlv320aic3x-codec 0-0018: Linked as a consumer to regulator.3
[    3.363424] tlv320aic3x-codec 0-0018: Linked as a consumer to regulator.4
[    3.371906] clk: failed to reparent l4per_cm:clk:0168:22 to sys_clkin2: -22
[    3.379090] mmc0: new SDHC card at address 0001
[    3.384561] NET: Registered protocol family 10
[    3.394212] mmcblk0: mmc0:0001 SD16G 14.6 GiB 
[    3.400009] Segment Routing with IPv6
[    3.403790] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.410261] NET: Registered protocol family 17
[    3.414952]  mmcblk0: p1 p2
[    3.415073] Key type dns_resolver registered
[    3.422472] Registering SWP/SWPB emulation handler
[    3.427350] omap_voltage_late_init: Voltage driver support not added
[    3.433807] Power Management for TI OMAP4+ devices.
[    3.439480] ti-iodelay 4844a000.padconf: Set reg 0x18c Delay(a: 0 g: 120), Elements(C=0 F=2)0x29002
[    3.448591] ti-iodelay 4844a000.padconf: Set reg 0x190 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.457547] ti-iodelay 4844a000.padconf: Set reg 0x194 Delay(a: 174 g: 0), Elements(C=0 F=4)0x29004
[    3.466678] ti-iodelay 4844a000.padconf: Set reg 0x1a4 Delay(a: 265 g: 360), Elements(C=0 F=13)0x2900d
[    3.466705] Loading compiled-in X.509 certificates
[    3.476043] ti-iodelay 4844a000.padconf: Set reg 0x1a8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.489783] ti-iodelay 4844a000.padconf: Set reg 0x1ac Delay(a: 168 g: 0), Elements(C=0 F=4)0x29004
[    3.498916] ti-iodelay 4844a000.padconf: Set reg 0x1b0 Delay(a: 0 g: 120), Elements(C=0 F=2)0x29002
[    3.502642] dmm 4e000000.dmm: workaround for errata i878 in use
[    3.508022] ti-iodelay 4844a000.padconf: Set reg 0x1b4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.522909] ti-iodelay 4844a000.padconf: Set reg 0x1b8 Delay(a: 136 g: 0), Elements(C=0 F=3)0x29003
[    3.532034] ti-iodelay 4844a000.padconf: Set reg 0x1bc Delay(a: 0 g: 120), Elements(C=0 F=2)0x29002
[    3.532042] dmm 4e000000.dmm: initialized all PAT entries
[    3.541122] ti-iodelay 4844a000.padconf: Set reg 0x1c0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.555493] ti-iodelay 4844a000.padconf: Set reg 0x1c4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.564434] ti-iodelay 4844a000.padconf: Set reg 0x1c8 Delay(a: 287 g: 420), Elements(C=0 F=14)0x2900e
[    3.573815] ti-iodelay 4844a000.padconf: Set reg 0x1d0 Delay(a: 879 g: 0), Elements(C=1 F=10)0x2902a
[    3.573824] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.16
[    3.583002] ti-iodelay 4844a000.padconf: Set reg 0x1d4 Delay(a: 144 g: 240), Elements(C=0 F=8)0x29008
[    3.590491] omapdss_hdmi5 58040000.encoder: Dropping the link to regulator.16
[    3.599694] ti-iodelay 4844a000.padconf: Set reg 0x1d8 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.615824] ti-iodelay 4844a000.padconf: Set reg 0x1dc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.624754] ti-iodelay 4844a000.padconf: Set reg 0x1e0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.633676] ti-iodelay 4844a000.padconf: Set reg 0x1e4 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.642601] ti-iodelay 4844a000.padconf: Set reg 0x1e8 Delay(a: 34 g: 0), Elements(C=0 F=0)0x29000
[    3.651598] ti-iodelay 4844a000.padconf: Set reg 0x1ec Delay(a: 0 g: 120), Elements(C=0 F=2)0x29002
[    3.660704] ti-iodelay 4844a000.padconf: Set reg 0x1f0 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.669636] ti-iodelay 4844a000.padconf: Set reg 0x1f4 Delay(a: 120 g: 0), Elements(C=0 F=3)0x29003
[    3.678731] ti-iodelay 4844a000.padconf: Set reg 0x1f8 Delay(a: 120 g: 180), Elements(C=0 F=6)0x29006
[    3.678738] ti-iodelay 4844a000.padconf: Set reg 0x1fc Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.696916] ti-iodelay 4844a000.padconf: Set reg 0x200 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.705845] ti-iodelay 4844a000.padconf: Set reg 0x360 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.714768] ti-iodelay 4844a000.padconf: Set reg 0x364 Delay(a: 0 g: 0), Elements(C=0 F=0)0x29000
[    3.715470] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[    3.723695] ti-iodelay 4844a000.padconf: Set reg 0x368 Delay(a: 11 g: 0), Elements(C=0 F=0)0x29000
[    3.731385] asoc-simple-card sound0: ASoC: no DMI vendor name!
[    3.740785] mmc1: new DDR MMC card at address 0001
[    3.752113] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.16
[    3.759864] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    3.761817] mmcblk1: mmc1:0001 AJTD4R 14.6 GiB 
[    3.768189] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
[    3.772573] mmcblk1boot0: mmc1:0001 AJTD4R partition 1 4.00 MiB
[    3.781453] omap-hdmi-audio omap-hdmi-audio.0.auto: ASoC: no DMI vendor name!
[    3.787773] mmcblk1boot1: mmc1:0001 AJTD4R partition 2 4.00 MiB
[    3.800751] mmcblk1rpmb: mmc1:0001 AJTD4R partition 3 4.00 MiB, chardev (244:0)
[    3.808302] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[    3.808806]  mmcblk1: p1 p2
[    3.819930] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[    3.826606] [drm] No driver support for vblank timestamp query.
[    3.832577] [drm] Cannot find any crtc or sizes
[    3.837809] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
[    3.845416] hctosys: unable to open rtc device (rtc0)
[    3.850661] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[    3.859706] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[    3.866376] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[    3.872156] ALSA device list:
[    3.875043] cfg80211: failed to load regulatory.db
[    3.878015]   #0: BeagleBoard-X15
[    3.886138]   #1: HDMI 58040000.encoder
[    3.932569] EXT4-fs (mmcblk0p2): warning: mounting fs with errors, running e2fsck is recommended
[    4.001742] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    4.009898] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    4.061385] devtmpfs: mounted
[    4.065690] Freeing unused kernel memory: 2048K
[    4.070444] Run /sbin/init as init process
[    4.871742] [drm] Cannot find any crtc or sizes
[    4.900184] systemd[1]: System time before build time, advancing clock.
[    4.945064] systemd[1]: systemd 239 running in system mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GC)
[    4.967306] systemd[1]: Detected architecture arm.

Welcome to Arago 2019.11!

[    5.063337] systemd[1]: Set hostname to <am57xx-evm>.
[    5.372829] systemd[1]: File /lib/systemd/system/systemd-journald.service:36 configures an IP firewall (IPAddressDeny=any), but the local .
[    5.390106] systemd[1]: Proceeding WITHOUT firewalling in effect! (This warning is only shown for the first loaded unit using IP firewalli)
[    5.680982] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.712204] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.743008] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.786231] systemd[1]: Created slice system-getty.slice.
[  OK  ] Created slice system-getty.slice.
[    5.912087] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
         Mounting POSIX Message Queue File System...
[  OK  ] Created slice system-serial\x2dgetty.slice.
         Starting Remount Root and Kernel File Systems...
[    6.026666] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
         Starting Apply Kernel Variables...
         Mounting Kernel Configuration File System...
         Mounting Kernel Debug File System...
         Starting udev Coldplug all Devices...
[  OK  ] Created slice User and Session Slice.
[  OK  ] Reached target Slices.
[  OK  ] Reached target Swap.
         Mounting Temporary Directory (/tmp)...
[  OK  ] Listening on initctl Compatibility Named Pipe.
[  OK  ] Listening on Network Service Netlink Socket.
[  OK  ] Listening on Process Core Dump Socket.
[  OK  ] Reached target Remote File Systems.
[  OK  ] Listening on Journal Socket (/dev/log).
         Starting Journal Service...
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Reached target Paths.
[  OK  ] Mounted POSIX Message Queue File System.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Journal Service.
[  OK  ] Started Apply Kernel Variables.
[  OK  ] Mounted Kernel Configuration File System.
[  OK  ] Mounted Kernel Debug File System.
[  OK  ] Mounted Temporary Directory (/tmp).
         Starting Flush Journal to Persistent Storage...
         Starting Create Static Device Nodes in /dev...
[    6.860913] systemd-journald[117]: Received request to flush runtime journal from PID 1
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Reached target Local File Systems (Pre).
[  OK  ] Reached target Containers.
         Mounting /media/ram...
         Mounting /var/volatile...
         Starting udev Kernel Device Manager...
[  OK  ] Mounted /media/ram.
[  OK  ] Mounted /var/volatile.
         Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
         Starting Create Volatile Files and Directories...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Create Volatile Files and Directories.
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
         Starting Network Service...
[    7.471246] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
[    7.486960] omap-rproc 58820000.ipu: ignoring dependency for device, assuming no driver
[  OK  ] Started Update UTMP about System Boot/Shutdow[    7.514239] omap-rproc 58820000.ipu: assigned reserved memory node ipu1-memory@9d0000
n.
[    7.530021] remoteproc remoteproc0: 58820000.ipu is available
[    7.536843] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
[    7.546869] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
[    7.559582] remoteproc remoteproc0: powering up 58820000.ipu
[    7.565421] remoteproc remoteproc0: Direct firmware load for dra7-ipu1-fw.xem4 failed with error -2
[    7.577686] remoteproc remoteproc0: request_firmware failed: -2
[    7.586632] omap-rproc 55020000.ipu: ignoring dependency for device, assuming no driver
[    7.605382] omap-rproc 55020000.ipu: assigned reserved memory node ipu2-memory@95800000
[  OK  ] Started Network Service.
[    7.647435] remoteproc remoteproc1: 55020000.ipu is available
[  OK  ] Found device /dev/ttyS2.
[    7.696821] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
         Starting Network Name Resolution...
[    7.715453] remoteproc remoteproc1: powering up 55020000.ipu
[    7.721208] remoteproc remoteproc1: Direct firmware load for dra7-ipu2-fw.xem4 failed with error -2
[    7.733200] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
[    7.741360] remoteproc remoteproc1: request_firmware failed: -2
         Starting Wait for Network to be Configured...
[    7.758798] omap-rproc 40800000.dsp: ignoring dependency for device, assuming no driver
[    7.767356] omap-rproc 40800000.dsp: assigned reserved memory node dsp1-memory@99000000
[    7.775614] remoteproc remoteproc2: 40800000.dsp is available
[    7.786625] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
[    7.798790] remoteproc remoteproc2: powering up 40800000.dsp
[    7.804925] remoteproc remoteproc2: Direct firmware load for dra7-dsp1-fw.xe66 failed with error -2
[    7.818462] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
[    7.826581] remoteproc remoteproc2: request_firmware failed: -2
[    7.846467] omap-rproc 41000000.dsp: ignoring dependency for device, assuming no driver
[    7.860651] omap-rproc 41000000.dsp: assigned reserved memory node dsp2-memory@9f000000
[    7.871137] remoteproc remoteproc3: 41000000.dsp is available
[    7.888203] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[    7.898900] remoteproc remoteproc3: powering up 41000000.dsp
[    7.904660] remoteproc remoteproc3: Direct firmware load for dra7-dsp2-fw.xe66 failed with error -2
[  OK  ] Started Network Time Synchronization.
[    7.921823] remoteproc remoteproc3: request_firmware failed: -2
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Reached target System Initialization.
[    7.985537] Driver for 1-wire Dallas network protocol.
[    8.048199] palmas-rtc 48070000.i2c:tps659038@58:tps659038_rtc: rtc core: registered 48070000.i2c:tps659038@58:tps659038_rtc as rtc1
[    8.062716] omap_hdq 480b2000.1w: OMAP HDQ Hardware Rev 0.:. Driver in Interrupt mode
[    8.073417] rtc-ds1307 2-006f: SET TIME!
[    8.085253] at24 0-0050: 4096 byte 24c32 EEPROM, writable, 1 bytes/write
[  OK  ] Listening on D-Bus System Message Bus Socket.[    8.097013] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2

[    8.114994] rtc-ds1307 2-006f: registered as rtc0
         Starting Docker Socket for the API.
[    8.142299] omap-des 480a5000.des: will run requests pump with realtime priority
[    8.186763] Error: Driver 'tlv320aic3x-codec' is already registered, aborting...
[  OK  ] Listening on dropbear.socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activati[    8.285561] omap_rtc 48838000.rtc: registered as rtc2
on Socket.
[    8.301408] Error: Driver 'tlv320aic3x-codec' is already registered, aborting...
[  OK  ] Started Network Name Resolution.
[    8.343764] w1_master_driver w1_bus_master1: Attaching one wire slave 01.000000000000 crc 3d
[  OK  ] Listening on Docker Socket for the API.
[    8.365033] w1_master_driver w1_bus_master1: Family 1 for 01.000000000000.3d is not registered.
[  OK  ] Reached target Sockets.
[    8.393986] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[  OK  ] Reached target Basic System.
[    8.421915] vpe 489d0000.vpe: Device registered as /dev/video0
[  OK  ] Started D-Bus System Message Bus.
         Starting Login Service...
         Starting telnetd.service...
[    8.540313] phy phy-4a084000.phy.3: Linked as a consumer to regulator.23
[  OK  ] Reached target Network.
[    8.562397] phy phy-4a085000.phy.4: Linked as a consumer to regulator.23
         Starting Enable and configure wl18xx bluetooth stack...
[    8.597860] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3
         Starting Permit User Sessions...
[    8.611225] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[    8.618872] net eth1: initializing cpsw version 1.15 (0)
         Starting DNS forwarder and DHCP server...
[  OK  ] Reached target Host and Network Name Lookups.
[    8.683360] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3
         Starting Avahi mDNS/DNS-SD Stack...
[    8.713760] omap-aes 4b500000.aes: will run requests pump with realtime priority
[  OK  ] Started telnetd.service.
[    8.752733] Micrel KSZ9031 Gigabit PHY 48485000.mdio:02: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:)
[  OK  ] Started Enable and configure wl18xx bluetooth stack.
[    8.780536] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready
[  OK  ] Started Permit User Sessions.
[    8.811770] Error: Driver 'omap-hdmi-audio' is already registered, aborting...
[    8.823914] ahci 4a140000.sata: controller can't do 64bit DMA, forcing 32bit
[    8.835064] net eth0: initializing cpsw version 1.15 (0)
[    8.854590] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3
[    8.860561] omap-aes 4b700000.aes: will run requests pump with realtime priority
[    8.894797] ahci 4a140000.sata: forcing port_map 0x0 -> 0x1
[  OK  ] Started Serial Getty on ttyS2.
[  OK  ] Started Getty on tty1.
[    8.941975] ahci 4a140000.sata: AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl platform mode
[    8.956506] Error: Driver 'omap-hdmi-audio' is already registered, aborting...
[  OK  ] Reached target Login Prompts.
[    8.967925] ahci 4a140000.sata: flags: ncq sntf pm led clo only pmp pio slum part ccc apst 
[    8.979958] Micrel KSZ9031 Gigabit PHY 48485000.mdio:01: attached PHY driver [Micrel KSZ9031 Gigabit PHY] (mii_bus:phy_addr=48485000.mdio:)
[    8.990172] scsi host0: ahci
[    8.996327] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
         Starting Synchronize System and HW clocks...
[    9.028981] ata1: SATA max UDMA/133 mmio [mem 0x4a140000-0x4a1410ff] port 0x100 irq 80
         Starting thttpd.service...
         Starting LSB: Bring up/down LXC autostart containers...
[  OK  ] Started DNS forwarder and DHCP server.
[  OK  ] Started Synchronize System and HW clocks.
[    9.327050] snd_soc_simple_card_utils: exports duplicate symbol asoc_simple_card_canonicalize_cpu (owned by kernel)
[    9.394600] ata1: SATA link down (SStatus 0 SControl 300)
[    9.479346] snd_soc_simple_card_utils: exports duplicate symbol asoc_simple_card_canonicalize_cpu (owned by kernel)
[  OK  ] Started thttpd.service.
[  OK  ] Started LSB: Bring up/down LXC autostart containers.
         Starting Save/Restore Sound Card State...
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Reached target Sound Card.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Login Service.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[   11.297078] dwc3 48890000.usb: Failed to get clk 'ref': -2
[   11.344612] dwc3 488d0000.usb: Failed to get clk 'ref': -2
[   11.494227] remoteproc remoteproc4: 4b234000.pru is available
[   11.530175] pru-rproc 4b234000.pru: PRU rproc node pru@4b234000 probed successfully
[   11.553133] remoteproc remoteproc5: 4b238000.pru is available
[   11.558956] pru-rproc 4b238000.pru: PRU rproc node pru@4b238000 probed successfully
[   11.573323] remoteproc remoteproc6: 4b2b4000.pru is available
[   11.583107] pru-rproc 4b2b4000.pru: PRU rproc node pru@4b2b4000 probed successfully
[   11.593327] remoteproc remoteproc7: 4b2b8000.pru is available
[   11.599384] pru-rproc 4b2b8000.pru: PRU rproc node pru@4b2b8000 probed successfully
[   11.615892] usbcore: registered new interface driver usbfs
[   11.628165] usbcore: registered new interface driver hub
[   11.659294] usbcore: registered new device driver usb
[   11.719024] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   11.724988] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 1
[   11.734651] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
[   11.744958] xhci-hcd xhci-hcd.1.auto: irq 181, io mem 0x48890000
[   11.751399] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 4.19
[   11.760578] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.769000] usb usb1: Product: xHCI Host Controller
[   11.774174] usb usb1: Manufacturer: Linux 4.19.94-gbe5389fd85 xhci-hcd
[   11.781091] usb usb1: SerialNumber: xhci-hcd.1.auto
[   11.787545] hub 1-0:1.0: USB hub found
[   11.791339] hub 1-0:1.0: 1 port detected
[   11.797662] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[   11.804617] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 2
[   11.813012] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[   11.819750] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[   11.829747] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 4.19
[   11.838465] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[   11.846355] usb usb2: Product: xHCI Host Controller
[   11.851629] usb usb2: Manufacturer: Linux 4.19.94-gbe5389fd85 xhci-hcd
[   11.858780] usb usb2: SerialNumber: xhci-hcd.1.auto
[   11.868516] hub 2-0:1.0: USB hub found
[   11.872372] hub 2-0:1.0: 1 port detected
[   12.171742] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[   12.352564] usb 1-1: New USB device found, idVendor=0451, idProduct=8142, bcdDevice= 1.00
[   12.361732] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=1
[   12.371741] usb 1-1: SerialNumber: F906006168BF
[   12.427904] hub 1-1:1.0: USB hub found
[   12.431900] hub 1-1:1.0: 4 ports detected
[   12.501738] usb 2-1: new SuperSpeed Gen 1 USB device number 2 using xhci-hcd
[   12.531951] usb 2-1: New USB device found, idVendor=0451, idProduct=8140, bcdDevice= 1.00
[   12.543858] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   12.587908] hub 2-1:1.0: USB hub found
[   12.591786] hub 2-1:1.0: 4 ports detected
[   12.821698] usb 1-1.2: new high-speed USB device number 3 using xhci-hcd
[   12.971936] usb 1-1.2: config 1 interface 1 altsetting 0 endpoint 0x3 has wMaxPacketSize 0, skipping
[   12.981223] usb 1-1.2: config 1 interface 1 altsetting 0 endpoint 0x83 has wMaxPacketSize 0, skipping
[   12.991253] usb 1-1.2: New USB device found, idVendor=0bda, idProduct=b720, bcdDevice= 2.00
[   12.999909] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   13.007613] usb 1-1.2: Product: 802.11n WLAN Adapter
[   13.012927] usb 1-1.2: Manufacturer: Realtek
[   13.017213] usb 1-1.2: SerialNumber: 00e04c000001
[   13.211712] usb 1-1.4: new high-speed USB device number 4 using xhci-hcd
[   13.351914] usb 1-1.4: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[   13.360421] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[   13.368437] usb 1-1.4: Product: USB 2.0 Hub
[   13.419882] hub 1-1.4:1.0: USB hub found
[   13.424294] hub 1-1.4:1.0: 4 ports detected
[  OK  ] Found device /dev/mmcblk1p2.
[  OK  ] Found device /dev/mmcblk1p1.
         Starting File System Check on /dev/mmcblk1p1...
         Starting File System Check on /dev/mmcblk1p2...
         Starting File System Check on /dev/mmcblk0p1...
[  OK  ] Started File System Check on /dev/mmcblk1p1.
         Mounting /run/media/mmcblk1p1...
[  OK  ] Mounted /run/media/mmcblk1p1.

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

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

Arago 2019.11 am57xx-evm ttyS2

am57xx-evm login: root (automatic login)

[   14.500810] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
root@am57xx-evm:~# 
root@am57xx-evm:~# 

 

This is my schematic

DJ-AM57X-Audio.pdf

root@am57xx-evm:/# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: BeagleBoardX15 [BeagleBoard-X15], device 0: davinci-mcasp.0-tlv320aic3x-hifi tlv320aic3x-hifi-0 [davinci-mcasp.0-tlv320aic3x-hifi tlv]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: H58040000encode [HDMI 58040000.encoder], device 0: HDMI 58040000.encoder snd-soc-dummy-dai-0 [HDMI 58040000.encoder snd-soc-dummy-dai]
Subdevices: 1/1
Subdevice #0: subdevice #0
root@am57xx-evm:/#

root@am57xx-evm:/# aplay yu.wav
Playing WAVE 'yu.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
aplay: pcm_write:2051: write error: Input/output error
root@am57xx-evm:/#

.......................................................................................

What is the difference between "assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 24>"   and  "assigned-clocks = <&l4per_clkctrl DRA7_MCASP3_CLKCTRL 22>;" ?

When i aplay *.wav has no sound, how can I modify it ?