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.

AM5708: Kernel boot hangs

Part Number: AM5708
Other Parts Discussed in Thread: DRA722, DRA718, DRA71

Hi,

I'm trying to boot Linux kernel from SD-card. This board  based on AM5708.  But system stop at "Waiting for root device PARTUUID="

I use ti-processor-sdk-linux-am57xx-evm-06.01.00.08. U-Boot is more new.

Boot Log:

U-Boot SPL 2020.01-rc4 (Dec 23 2019 - 15:56:05 +0300)

DRA722-GP ES2.1

Trying to boot from MMC1

no pinctrl state for default mode

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

 

Loading Environment from MMC... MMC Device 1 not found

*** Warning - No MMC card found, using default environment

  

U-Boot 2020.01-rc4 (Dec 23 2019 - 15:56:05 +0300)

 

CPU : DRA722-GP ES2.1

Model: Board AM5708

Board: Board AM5708 rev 4.0

DRAM: 1 GiB

MMC:   OMAP SD/MMC: 0

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

 

Loading Environment from MMC... MMC Device 1 not found

*** Warning - No MMC card found, using default environment

 

Net:   Net Initialization Skipped

No ethernet found.

Hit any key to stop autoboot: 0

=> printenv

addr_fit=0x90000000

arch=arm

args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}

baudrate=115200

board=board_am5708

board_name=board_am5708

boot_fdt=try

boot_fit=0

bootcmd=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting into fastboot ...; fastboot CONFIG_FASTBOOT_USB_DEV; fi;if test ${boot_fit} -eq 1; then run update_to_fit;fi;run findfdt; run envboot; run mmcboot;run emmc_linux_boot; run emmc_android_boot;

bootdelay=2

bootdir=/boot

bootenvfile=uEnv.txt

bootfile=zImage

bootm_size=0x10000000

bootpart=0:2

bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr}

console=ttyS2,115200n8

cpu=armv7

dofastboot=0

emmc_android_boot=if bcb load CONFIG_FASTBOOT_FLASH_MMC_DEV misc; then if bcb test command = bootonce-bootloader; then echo BCB: Bootloader boot...; bcb clear command; bcb store; echo Booting into fastboot ...; fastboot CONFIG_FASTBOOT_USB_DEV; elif bcb test command = boot-recovery; then echo BCB: Recovery boot...; echo Warning: recovery is not implemented; echo Performing normal boot for now...; bcb clear command; bcb store; run emmc_android_normal_boot; else echo BCB: Normal boot requested...; run emmc_android_normal_boot; fi; else echo Warning: BCB is corrupted or does not exist; echo Performing normal boot...; run emmc_android_normal_boot; fi;

emmc_android_normal_boot=echo Trying to boot Android from eMMC ...; run update_to_fit; setenv eval_bootargs setenv bootargs $bootargs; run eval_bootargs; setenv mmcdev 1; setenv machid fe6; mmc dev $mmcdev; mmc rescan; if part start mmc ${mmcdev} boot${slot_suffix} boot_start; then part size mmc ${mmcdev} boot${slot_suffix} boot_size; mmc read ${loadaddr} ${boot_start} ${boot_size}; bootm ${loadaddr}#${fdtfile}; else echo boot${slot_suffix} partition not found; fi;

emmc_linux_boot=echo Trying to boot Linux from eMMC ...; setenv mmcdev 1; setenv bootpart 1:2; setenv mmcroot /dev/mmcblk0p2 rw; run mmcboot;

envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi;

fdt_addr_r=0x88000000

fdtaddr=0x88000000

fdtcontroladdr=bdf3c7d0

fdtfile=board_am5708.dtb

finduuid=part uuid mmc ${bootpart} uuid

get_overlaystring=for overlay in $overlay_files;do;setenv overlaystring ${overlaystring}'#'${overlay};done;

importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize}

kernel_addr_r=0x82000000

loadaddr=0x82000000

loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile}

loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr

loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile}

loadfit=run args_mmc; run run_fit;

loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile}

mmcboot=mmc dev ${mmcdev}; devnum=${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi;

mmcdev=0

mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi;

mmcrootfstype=ext4 rootwait

name_fit=fitImage

netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp

netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr}

netloadfdt=tftp ${fdtaddr} ${fdtfile}

netloadimage=tftp ${loadaddr} ${bootfile}

nfsopts=nolock

partitions=uuid_disk=${uuid_gpt_disk};name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs}

partitions_android=uuid_disk=${uuid_gpt_disk};name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};name=misc,size=128K,uuid=${uuid_gpt_misc};name=recovery,size=40M,uuid=${uuid_gpt_recovery};name=boot,size=20M,uuid=${uuid_gpt_boot};name=system,size=1024M,uuid=${uuid_gpt_system};name=vendor,size=256M,uuid=${uuid_gpt_vendor};name=userdata,size=-,uuid=${uuid_gpt_userdata}

pxefile_addr_r=0x80100000

ramdisk_addr_r=0x88080000

rdaddr=0x88080000

rootpath=/export/rootfs

run_fit=bootm ${addr_fit}#${fdtfile}${overlaystring}

scriptaddr=0x80000000

serial#=0e01001d74160002

soc=omap5

static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off

stderr=serial@48020000

stdin=serial@48020000

stdout=serial@48020000

update_to_fit=setenv loadaddr ${addr_fit}; setenv bootfile ${name_fit}

usbtty=cdc_acm

vendor=alarmtrade

ver=U-Boot 2020.01-rc4 (Dec 23 2019 - 15:56:05 +0300)

vram=16M

 

Environment size: 5069/131067 bytes

=> boot

## Error: "findfdt" not defined

switch to partitions #0, OK

mmc0 is current device

SD/MMC found on device 0

switch to partitions #0, OK

mmc0 is current device

SD/MMC found on device 0

1578456 bytes read in 75 ms (20.1 MiB/s)

79238 bytes read in 10 ms (7.6 MiB/s)

## Flattened Device Tree blob at 88000000

   Booting using the fdt blob at 0x88000000

   Loading Device Tree to 8ffe9000, end 8ffff585 ... OK

 

Starting kernel ...

 

[   0.000000] Booting Linux on physical CPU 0x0

[   0.000000] Linux version 4.19.59+ (akolganov@akolganov-MS-7A69) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 PREEMPT Tue Dec 24 15:10:51 MSK 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: Board AM5708

[   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 (ptrval) for dram barrier

[   0.000000] CPU: All CPU(s) started in HYP mode.

[   0.000000] CPU: Virtualization extensions available.

[   0.000000] DRA722 ES2.1

[   0.000000] random: get_random_bytes called from start_kernel+0xb0/0x3c8 with crng_init=0

[   0.000000] Built 1 zonelists, mobility grouping on. Total pages: 259840

[   0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=05cf9b9e-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: 847020K/1045504K available (4096K kernel code, 195K rwdata, 816K rodata, 2048K init, 212K bss, 18260K 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]       .text : 0x(ptrval) - 0x(ptrval)   (6112 kB)

[   0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)

[   0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 196 kB)

[   0.000000]       .bss : 0x(ptrval) - 0x(ptrval)   ( 213 kB)

[   0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, 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.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns

[   0.000015] Switching to timer-based delay loop, resolution 162ns

[   0.000271] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns

[   0.000278] OMAP clocksource: 32k_counter at 32768 Hz

[   0.000641] Console: colour dummy device 80x30

[   0.000675] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)

[   0.000687] pid_max: default: 32768 minimum: 301

[   0.000771] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)

[   0.000782] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)

[   0.001081] CPU: Testing write buffer coherency: ok

[   0.001112] CPU0: Spectre v2: using ICIALLU workaround

[   0.001482] Setting up static identity map for 0x80200000 - 0x80200060

[   0.001552] rcu: Hierarchical SRCU implementation.

[   0.002031] devtmpfs: initialized

[   0.013908] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0

[   0.014112] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns

[   0.014127] futex hash table entries: 256 (order: -1, 3072 bytes)

[   0.016557] pinctrl core: initialized pinctrl subsystem

[   0.017692] DMA: preallocated 256 KiB pool for atomic coherent allocations

[   0.018227] omap_hwmod: l3_main_2 using broken dt data from ocp

[   0.154869] cpuidle: using governor ladder

[   0.154891] cpuidle: using governor menu

[   0.162185] OMAP GPIO hardware version 0.1

[   0.174744] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.

[   0.174755] hw-breakpoint: maximum watchpoint size is 8 bytes.

[   0.175211] omap4_sram_init:Unable to allocate sram needed to handle errata I688

[   0.175219] omap4_sram_init:Unable to get sram pool needed to handle errata I688

[   0.175626] OMAP DMA hardware revision 0.0

[   0.179919] cryptd: max_cpu_qlen set to 1000

[   0.180511] edma 43300000.edma: memcpy is disabled

[   0.183144] edma 43300000.edma: TI EDMA DMA engine driver

[   0.188661] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)

[   0.190753] omap-iommu 40d01000.mmu: 40d01000.mmu registered

[   0.190871] omap-iommu 40d02000.mmu: 40d02000.mmu registered

[   0.191030] omap-iommu 58882000.mmu: 58882000.mmu registered

[   0.191197] omap-iommu 55082000.mmu: 55082000.mmu registered

[   0.192231] palmas 0-0058: IRQ missing: skipping irq request

[   0.220639] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2

[   0.221731] SMPS1: supplied by V3_3D

[   0.223078] SMPS2: supplied by V3_3D

[   0.224268] SMPS3: supplied by V3_3D

[   0.225591] SMPS4: supplied by V3_3D

[   0.226554] SMPS5: supplied by regulator-dummy

[   0.227361] SMPS12: supplied by V3_3D

[   0.228124] LDO1: supplied by V3_3D

[   0.231339] LDO2: supplied by V3_3D

[   0.240860] LDO3: supplied by regulator-dummy

[   0.240946] random: fast init done

[   0.241405] LDO4: supplied by VMAIN

[   0.250860] LDO5: supplied by V3_3D

[   0.261272] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz

[   0.261944] clocksource: Switched to clocksource arch_sys_counter

[   0.268002] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available

[   0.268709] workingset: timestamp_bits=30 max_order=18 bucket_order=0

[   0.310296] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled

[   0.312515] irq: no irq domain found for pinmux@1400 !

[   0.312870] console [ttyS2] disabled

[   0.312909] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud = 3000000) is a 8250

[   0.923166] console [ttyS2] enabled

[   0.928357] omap_rng 48090000.rng: Random Number Generator ver. 20

[   0.934689] random: crng init done

[   0.938703] i2c /dev entries driver

[   0.944818] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec

[   0.952490] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19

[   0.960006] sdhci: Secure Digital Host Controller Interface driver

[   0.966225] sdhci: Copyright(c) Pierre Ossman

[   0.971164] omap-aes 4b500000.aes: OMAP AES hw accel rev: 3.3

[   0.977030] omap-aes 4b500000.aes: will run requests pump with realtime priority

[   0.984933] omap-aes 4b700000.aes: OMAP AES hw accel rev: 3.3

[   0.990798] omap-aes 4b700000.aes: will run requests pump with realtime priority

[   0.998497] omap-des 480a5000.des: OMAP DES hw accel rev: 2.2

[   1.004385] omap-des 480a5000.des: will run requests pump with realtime priority

[   1.012482] omap-sham 4b101000.sham: hw accel on OMAP rev 4.3

[   1.021495] omap_voltage_late_init: Voltage driver support not added

[   1.028008] Power Management for TI OMAP4+ devices.

[   1.046454] pbias_mmc_omap5: disabling

[   1.050585] Waiting for root device PARTUUID=05cf9b9e-02...

//======================================================================================================================

I use all standard .dtsi files except of own top level board file board_am5708.dts.  Among standard files only dra7.dtsi was modified lightly and partly used from am57xx-idk-common.dtsi.

board_am5708.dts:

 

/dts-v1/;

 

#include "dra72x.dtsi"

#include <dt-bindings/gpio/gpio.h>

#include <dt-bindings/interrupt-controller/irq.h>

#include "dra7-mmc-iodelay.dtsi"

#include "dra72x-mmc-iodelay.dtsi"

 

/ {

                model = "Board AM5708";

                compatible = "ti,dra7", "ti,dra71", "ti,dra718";

 

                aliases {

                               rproc0 = &ipu1;

                               rproc1 = &ipu2;

                               rproc2 = &dsp1;

                };

 

                memory@80000000 {

                               device_type = "memory";

                               reg = <0x0 0x80000000 0x0 0x40000000>;

                };

               

                pmu {

                               compatible = "arm,cortex-a15-pmu";

                               interrupt-parent = <&wakeupgen>;

                               interrupts = <GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>;

                };

               

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

                               };

                };

                               chosen {

                               stdout-path = &uart3;

                };

 

                vmain: fixedregulator-vmain {

                               compatible = "regulator-fixed";

                               regulator-name = "VMAIN";

                               regulator-min-microvolt = <5000000>;

                               regulator-max-microvolt = <5000000>;

                               regulator-always-on;

                               regulator-boot-on;

                };

 

                v3_3d: fixedregulator-v3_3d {

                               compatible = "regulator-fixed";

                               regulator-name = "V3_3D";

                               regulator-min-microvolt = <3300000>;

                               regulator-max-microvolt = <3300000>;

                               regulator-always-on;

                               regulator-boot-on;

                };

               

                src_clk_x1: src_clk_x1 {

                               #clock-cells = <0>;

                               compatible = "fixed-clock";

                               clock-frequency = <20000000>;

                };

};

 

&mailbox5 {

                mbox_ipu1_ipc3x: mbox_ipu1_ipc3x {

                               ti,mbox-tx = <6 2 2>;

                               ti,mbox-rx = <4 2 2>;

                               status = "disabled";

                };

                mbox_dsp1_ipc3x: mbox_dsp1_ipc3x {

                               ti,mbox-tx = <5 2 2>;

                               ti,mbox-rx = <1 2 2>;

                               status = "disabled";

                };

};

 

&mailbox6 {

                mbox_ipu2_ipc3x: mbox_ipu2_ipc3x {

                               ti,mbox-tx = <6 2 2>;

                               ti,mbox-rx = <4 2 2>;

                               status = "disabled";

                };

};

 

&i2c1 {

                status = "okay";

                clock-frequency = <400000>;

 

                tps65917: tps65917@58 {

                               compatible = "ti,tps65917";

                               reg = <0x58>;

                               ti,system-power-controller;

 

                               tps65917_pmic {

                                               compatible = "ti,tps65917-pmic";

 

                                               smps1-in-supply = <&v3_3d>;

                                               smps2-in-supply = <&v3_3d>;

                                               smps3-in-supply = <&v3_3d>;

                                               smps4-in-supply = <&v3_3d>;

                                               ldo1-in-supply = <&v3_3d>;

                                               ldo2-in-supply = <&v3_3d>;

                                               ldo4-in-supply = <&vmain>;

                                               ldo5-in-supply = <&v3_3d>;

 

                                               regulators {

                                                               smps1_reg: smps1 {

                                                                              /* VDD_CORE_AVS */

                                                                              regulator-name = "smps1";

                                                                              regulator-min-microvolt = <850000>;                    /* 0.85 V - 1.15 for OPP_NOM */

                                                                              regulator-max-microvolt = <1250000>; /* 1.02 - 1.25 V for OPP_HIGH */

                                                                              regulator-always-on;

                                                                              regulator-boot-on;

                                                               };

 

                                                               smps2_reg: smps2 {

                                                                              /* VDD_DDR EMIF */

                                                                              regulator-name = "smps2";

                                                                              regulator-min-microvolt = <1350000>;

                                                                              regulator-max-microvolt = <1350000>;

                                                                              regulator-always-on;

                                                                              regulator-boot-on;

                                                               };

                                                              

                                                               smps3_reg: smps3 {

                                                                              /* VDD_DSP_AVS */

                                                                              regulator-name = "smps3";

                                                                              regulator-min-microvolt = <850000>;                    /* 0.85 V - 1.15 for OPP_NOM */

                                                                              regulator-max-microvolt = <1250000>; /* 1.02 - 1.25 V for OPP_HIGH */

                                                                              regulator-always-on;

                                                                              regulator-boot-on;

                                                               };

 

                                                               smps4_reg: smps4 {

                                                                              /* VDD_1V8 */

                                                                              regulator-name = "smps4";

                                                                              regulator-min-microvolt = <1800000>;

                                                                              regulator-max-microvolt = <1800000>;

                                                                              regulator-always-on;

                                                                              regulator-boot-on;

                                                               };

 

                                                               ldo1_reg: ldo1 {

                                                                              /* VDDSHV8 - VSDMMC */

                                                                              regulator-name = "ldo1";

                                                                              regulator-min-microvolt = <1800000>;

                                                                              regulator-max-microvolt = <3300000>;

                                                                              regulator-boot-on;

                                                                              regulator-always-on;

                                                               };

 

                                                               ldo2_reg: ldo2 {

                                                                              /* VDD_PHY_1V8 */

                                                                              regulator-name = "ldo2";

                                                                              regulator-min-microvolt = <1800000>;

                                                                              regulator-max-microvolt = <1800000>;

                                                                              regulator-always-on;

                                                                              regulator-boot-on;

                                                               };

 

                                                               ldo4_reg: ldo4 {

                                                                              /* VDD USB 3V3*/

                                                                              regulator-name = "ldo4";

                                                                              regulator-min-microvolt = <3300000>;

                                                                              regulator-max-microvolt = <3300000>;

                                                                              regulator-always-on;

                                                                              regulator-boot-on;

                                                               };

 

                                                               ldo5_reg: ldo5 {

                                                                              /* VDD_PLL */

                                                                              regulator-name = "ldo5";

                                                                              regulator-min-microvolt = <1800000>;

                                                                              regulator-max-microvolt = <1800000>;

                                                                              regulator-always-on;

                                                                              regulator-boot-on;

                                                               };

                                               };

                               };

 

                               tps65917_gpio: tps65917_gpio {

                                               compatible = "ti,palmas-gpio";

                                               gpio-controller;

                                               #gpio-cells = <2>;

                               };

                };

};

 

&i2c1 {

                status = "okay";

                clock-frequency = <400000>;

};

 

&uart3 {

                status = "okay";

                interrupts-extended = <&crossbar_mpu GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH

                                                      &dra7_pmx_core 0x248>;

};

 

&mmc1 {

                status = "okay";

                vmmc-supply = <&v3_3d>;

                vqmmc-supply = <&ldo1_reg>;

                bus-width = <4>;

                cd-gpios = <&gpio6 27 GPIO_ACTIVE_LOW>; /* gpio 219 */

                no-1-8-v;

               

                pinctrl-names = "default", "hs";

                pinctrl-0 = <&mmc1_pins_default_no_clk_pu>;

                pinctrl-1 = <&mmc1_pins_hs>;

};

 

//----------------------------------------------------------------------------------

I added two strings status = "disabled" in file dra7.dtsi as there is no these modules in AM5708.

 

                               sata: sata@4a141100 {

                                               compatible = "snps,dwc-ahci";

                                               reg = <0x4a140000 0x1100>, <0x4a141100 0x7>;

                                               interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>;

                                               phys = <&sata_phy>;

                                               phy-names = "sata-phy";

                                               clocks = <&l3init_clkctrl DRA7_SATA_CLKCTRL 8>;

                                               ti,hwmods = "sata";

                                               ports-implemented = <0x1>;

                                               status = "disabled";

                               };

 

                               rtc: rtc@48838000 {

                                               compatible = "ti,am3352-rtc";

                                               reg = <0x48838000 0x100>;

                                               interrupts = <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,

                                                                    <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>;

                                               ti,hwmods = "rtcss";

                                               clocks = <&sys_32k_ck>;

                                               status = "disabled";

                               };

In kernel building a lot of settings were tried but it wasn't have any results. When using TI's AM572X-EVM kernel booting was finished but with a lot of errors, though u-boot and dtb are the same. 

If we comments below lines 

/*                pinctrl-0 = <&mmc1_pins_default_no_clk_pu>; 

                pinctrl-1 = <&mmc1_pins_hs>; */

in case of my kernel mmc driver doesn't print this error "no pinctrl state for default mode". In case TI's AM572X-EVM kernel boot this message appears and loading stopped also at  "Waiting for root device PARTUUID=". It seems that mmc driver doesn't load, am I right?

Please help resolve this problem

Regards Andrei

  • Hi,
    You query has been assigned to a TI engineer. Please note that response may be delayed due to Christmas and New Year holidays.
  • Hi Andrei,

    There are several possible issues for your boot flow stuck issue: bad type of SD card, wrong SD card rootfs partition, card detect pin malfunction, wrong MMC/SD pinmux.

    I can suggest you below debug hints:

     - try with PSDK Linux u-boot-2019.01 and u-boot environments. Check if you are able to reproduce this issue with default u-boot and environments.

    - make sure you have created your SD card with {PSDK}/bin/create-sdcard.sh script

    - check voltage settings in your DTS file


    Refer also to below e2e threads:

    https://e2e.ti.com/support/processors/f/791/p/690386/2546389#2546389

    https://e2e.ti.com/support/processors/f/791/t/631317

    https://e2e.ti.com/support/processors/f/791/t/788967

    https://e2e.ti.com/support/processors/f/791/t/650969

    Regards,
    Pavel

  • Hi, Pavel,

    I tried to follow your instructions but it doesn't work. 

    First, I built u-boot-2019.01 from SDK

    Second, I tried a lot of SD-cards created by using the script create-sdcard.sh

    I checked MMC/SD pinmux

    There is no essential changes in work of my own board.

    But as I wrote earlier the system works with early versions of linux kernel. I tried different SDK versions from  02.00.01.07-es2.0 (linux kernel 4.1.13) 

    to Linux SDK 05.03.00.07 (linux kernel 4.14.79) 

    Output log using Linux SDK 05.03.00.07 (linux kernel 4.14.79):

    ...
    [ 0.322430] console [ttyS2] disabled
    [ 0.322468] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud = 3000000) is a 8250
    [ 2.365536] console [ttyS2] enabled
    [ 2.370374] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 2.382991] brd: module loaded
    [ 2.388424] loop: module loaded
    [ 2.391722] i2c /dev entries driver
    [ 2.397846] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [ 2.405895] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 2.462642] ledtrig-cpu: registered to indicate activity on CPUs
    [ 2.473009] omap_voltage_late_init: Voltage driver support not added
    [ 2.479390] Power Management for TI OMAP4+ devices.
    [ 2.495704] dmm 4e000000.dmm: initialized all PAT entries
    [ 2.502244] Waiting for root device PARTUUID=76a81069-02...
    [ 2.522730] mmc0: Skipping voltage switch
    [ 2.559181] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 2.569140] mmc0: new high speed SDHC card at address 59b4
    [ 2.574865] mmcblk0: mmc0:59b4 USD00 14.7 GiB
    [ 2.580222] mmcblk0: p1 p2
    [ 2.667636] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 2.675802] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 2.690599] devtmpfs: mounted
    [ 2.694703] Freeing unused kernel memory: 2048K

    ...

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

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

    Arago 2019.07 am57xx-evm /dev/ttyS2

    am57xx-evm login: root

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

    But using SDK 06.00.00.07 or higher system hangs 

    Output log using Linux SDK 06.00.00.07 (linux kernel 4.19.38)

    [ 0.305934] console [ttyS2] disabled
    [ 0.305977] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 43, base_baud = 3000000) is a 8250
    [ 3.637937] console [ttyS2] enabled
    [ 3.642769] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 3.655195] brd: module loaded
    [ 3.660773] loop: module loaded
    [ 3.664114] i2c /dev entries driver
    [ 3.670206] cpu cpu0: dev_pm_opp_set_regulators: no regulator (vdd) found: -19
    [ 3.678234] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [ 3.687114] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 3.691963] omap_hsmmc 4809c000.mmc: RX DMA channel request failed
    [ 3.698606] ledtrig-cpu: registered to indicate activity on CPUs
    [ 3.706182] omap_voltage_late_init: Voltage driver support not added
    [ 3.712595] Power Management for TI OMAP4+ devices.
    [ 3.726849] dmm 4e000000.dmm: failed to initialize work-around for i878
    [ 3.734990] dmm 4e000000.dmm: initialized all PAT entries
    [ 3.741403] pbias_mmc_omap5: disabling
    [ 3.745734] Waiting for root device PARTUUID=76a81069-02...

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

    What's the reason? 

    Kind regards,

    Andrei

  • Hi,

    The reason was the off item "Device Drivers->MMC/SD/SDIO card support->CONFIG_MMC_SDHCI_PLTFM" which enables common helper support for Secure Digital Host Controller Interface based platform and OF drivers. After it was enabled the device booted successfully.

    U-Boot 2020.01-rc4 (Jan 13 2020 - 09:33:49 +0300)

    CPU : DRA722-GP ES2.1
    Model: Board AM5708
    Board: Board AM5708 rev 4.0
    DRAM: 1 GiB
    MMC: OMAP SD/MMC: 0
    Loading Environment from FAT... *** Warning - bad CRC, using default environment

    Loading Environment from MMC... MMC Device 1 not found
    *** Warning - No MMC card found, using default environment

    Net: Net Initialization Skipped
    No ethernet found.
    Hit any key to stop autoboot: 0
    ## Error: "findfdt" not defined
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3240448 bytes read in 147 ms (21 MiB/s)
    81292 bytes read in 10 ms (7.8 MiB/s)
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe9000, end 8ffffd8b ... OK

    Starting kernel ...

    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 4.19.79-g77dfab56c6 (xxx@xxx-MS-7A69) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Tue Jan 21 13:57:55 MSK 2020
    [ 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: Board AM5708
    [ 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 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 (ptrval) for dram barrier
    [ 0.000000] DRA722 ES2.1
    [ 0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0
    [ 0.000000] percpu: Embedded 15 pages/cpu s30860 r8192 d22388 u61440
    [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 259648
    [ 0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=76a81069-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: 841772K/1045504K available (6144K kernel code, 248K rwdata, 2116K rodata, 2048K init, 238K bss, 23508K 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 : 0x(ptrval) - 0x(ptrval) (8160 kB)
    [ 0.000000] .init : 0x(ptrval) - 0x(ptrval) (2048 kB)
    [ 0.000000] .data : 0x(ptrval) - 0x(ptrval) ( 249 kB)
    [ 0.000000] .bss : 0x(ptrval) - 0x(ptrval) ( 239 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
    [ 0.000000] rcu: Preemptible hierarchical RCU implementation.
    [ 0.000000] rcu: RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
    [ 0.000000] Tasks RCU enabled.
    [ 0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
    [ 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.000293] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [ 0.000303] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000690] Console: colour dummy device 80x30
    [ 0.000736] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [ 0.000753] pid_max: default: 32768 minimum: 301
    [ 0.000881] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.000896] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001457] CPU: Testing write buffer coherency: ok
    [ 0.001496] CPU0: Spectre v2: using ICIALLU workaround
    [ 0.001714] /cpus/cpu@0 missing clock-frequency property
    [ 0.001728] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.059932] Setting up static identity map for 0x80200000 - 0x80200060
    [ 0.079939] rcu: Hierarchical SRCU implementation.
    [ 0.100124] EFI services will not be available.
    [ 0.119999] smp: Bringing up secondary CPUs ...
    [ 0.120010] smp: Brought up 1 node, 1 CPU
    [ 0.120020] SMP: Total of 1 processors activated (12.29 BogoMIPS).
    [ 0.120028] CPU: All CPU(s) started in HYP mode.
    [ 0.120036] CPU: Virtualization extensions available.
    [ 0.120494] devtmpfs: initialized
    [ 0.135357] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [ 0.135674] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [ 0.135693] futex hash table entries: 256 (order: 2, 16384 bytes)
    [ 0.138754] pinctrl core: initialized pinctrl subsystem
    [ 0.139303] DMI not present or invalid.
    [ 0.140282] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.141176] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.330321] cpuidle: using governor ladder
    [ 0.330359] cpuidle: using governor menu
    [ 0.340949] OMAP GPIO hardware version 0.1
    [ 0.364194] No ATAGs?
    [ 0.364240] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [ 0.364256] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.365117] OMAP DMA hardware revision 0.0
    [ 0.402507] edma 43300000.edma: memcpy is disabled
    [ 0.405902] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.413185] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [ 0.414009] evm_5v0: supplied by evm_12v0
    [ 0.414293] vsys_3v3: supplied by evm_12v0
    [ 0.417241] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.417428] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.417674] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.417919] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.418258] iommu: Adding device 58820000.ipu to group 1
    [ 0.418345] iommu: Adding device 55020000.ipu to group 2
    [ 0.418473] iommu: Adding device 40800000.dsp to group 0
    [ 0.419662] SCSI subsystem initialized
    [ 0.420981] palmas 0-0058: IRQ missing: skipping irq request
    [ 0.450855] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
    [ 0.452173] SMPS1: supplied by vsys_3v3
    [ 0.453744] SMPS2: supplied by vsys_3v3
    [ 0.455140] SMPS3: supplied by vsys_3v3
    [ 0.456675] SMPS4: supplied by vsys_3v3
    [ 0.457794] SMPS5: supplied by regulator-dummy
    [ 0.458752] SMPS12: supplied by vsys_3v3
    [ 0.459658] LDO1: supplied by vsys_3v3
    [ 0.461679] LDO2: supplied by vsys_3v3
    [ 0.471145] LDO3: supplied by regulator-dummy
    [ 0.471797] LDO4: supplied by evm_5v0
    [ 0.481133] LDO5: supplied by vsys_3v3
    [ 0.491581] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.491780] media: Linux media interface: v0.10
    [ 0.491820] videodev: Linux video capture interface: v2.00
    [ 0.491897] pps_core: LinuxPPS API ver. 1 registered
    [ 0.491906] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.491940] EDAC MC: Ver: 3.0.0
    [ 0.501263] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.501449] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.510989] clocksource: Switched to clocksource arch_sys_counter
    [ 0.520046] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [ 0.521190] Initialise system trusted keyrings
    [ 0.521344] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [ 0.525589] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.525715] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.527641] Key type asymmetric registered
    [ 0.527654] Asymmetric key parser 'x509' registered
    [ 0.527704] bounce: pool size: 64 pages
    [ 0.527739] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [ 0.527750] io scheduler noop registered
    [ 0.527760] io scheduler deadline registered
    [ 0.527860] io scheduler cfq registered (default)
    [ 0.527872] io scheduler mq-deadline registered
    [ 0.527881] io scheduler kyber registered
    [ 0.533178] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
    [ 0.533344] pinctrl-single 4a002e8c.pinmux: please update dts to use #pinctrl-cells = <1>
    [ 0.533396] pinctrl-single 4a002e8c.pinmux: initialized with no interrupts
    [ 0.533407] pinctrl-single 4a002e8c.pinmux: 1 pins, size 4
    [ 0.583900] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [ 0.587400] console [ttyS2] disabled
    [ 0.587459] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
    [ 1.395031] console [ttyS2] enabled
    [ 1.400608] omap_rng 48090000.rng: Random Number Generator ver. 20
    [ 1.406862] random: fast init done
    [ 1.410418] random: crng init done
    [ 1.414721] omapdss_dss 58000000.dss: Linked as a consumer to regulator.16
    [ 1.422128] DSS: OMAP DSS rev 6.1
    [ 1.427931] OF: graph: no port node found in /ocp/dss@58000000/encoder@58060000
    [ 1.435562] omapdss_hdmi5 58040000.encoder: 58040000.encoder supply vdda not found, using dummy regulator
    [ 1.445260] omapdss_hdmi5 58040000.encoder: Linked as a consumer to regulator.0
    [ 1.452624] OF: graph: no port node found in /ocp/dss@58000000/encoder@58060000
    [ 1.460390] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
    [ 1.468441] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
    [ 1.488300] brd: module loaded
    [ 1.497800] loop: module loaded
    [ 1.504409] i2c /dev entries driver
    [ 1.512908] cpu cpu0: Linked as a consumer to regulator.6
    [ 1.518410] cpu cpu0: Linked as a consumer to regulator.21
    [ 1.525286] sdhci: Secure Digital Host Controller Interface driver
    [ 1.531555] sdhci: Copyright(c) Pierre Ossman
    [ 1.536783] sdhci-pltfm: SDHCI platform and OF driver helper
    [ 1.543142] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [ 1.552018] sdhci-omap 4809c000.mmc: Got CD GPIO
    [ 1.556904] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.20
    [ 1.564008] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12
    [ 1.570904] sdhci-omap 4809c000.mmc: Dropping the link to regulator.12
    [ 1.577612] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.3
    [ 1.584623] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12
    [ 1.591618] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
    [ 1.624016] mmc0: SDHCI controller on 4809c000.mmc [4809c000.mmc] using ADMA
    [ 1.631980] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3
    [ 1.638800] sdhci-omap 480b4000.mmc: Dropping the link to regulator.3
    [ 1.645491] sdhci-omap 480b4000.mmc: Linked as a consumer to regulator.3
    [ 1.678055] mmc1: SDHCI controller on 480b4000.mmc [480b4000.mmc] using ADMA
    [ 1.686155] ledtrig-cpu: registered to indicate activity on CPUs
    [ 1.692264] mmc0: host does not support reading read-only switch, assuming write-enable
    [ 1.702359] mmc0: new high speed SDHC card at address 59b4
    [ 1.709663] Registering SWP/SWPB emulation handler
    [ 1.715175] omap_voltage_late_init: Voltage driver support not added
    [ 1.721703] Power Management for TI OMAP4+ devices.
    [ 1.727191] mmcblk0: mmc0:59b4 USD00 14.7 GiB
    [ 1.732685] Loading compiled-in X.509 certificates
    [ 1.748899] mmcblk0: p1 p2
    [ 1.770334] dmm 4e000000.dmm: workaround for errata i878 in use
    [ 1.778278] dmm 4e000000.dmm: initialized all PAT entries
    [ 1.784782] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.791500] [drm] No driver support for vblank timestamp query.
    [ 1.798547] [drm] Initialized omapdrm 1.0.0 20110917 for omapdrm.0 on minor 0
    [ 1.806257] hctosys: unable to open rtc device (rtc0)
    [ 1.889830] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
    [ 1.898019] VFS: Mounted root (ext4 filesystem) on device 179:2.
    [ 1.913012] devtmpfs: mounted
    [ 1.917292] Freeing unused kernel memory: 2048K
    [ 1.921971] Run /sbin/init as init process
    INIT: version 2.88 booting
    Framebuffer /dev/fb0 not detected
    Boot splashscreen disabled
    [ 2.426861] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Sat Oct 19 22:15:06 UTC 2019
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    INIT: Entering runlevel: 5
    Configuring network interfaces... ifconfig: socket: Function not implemented
    ifconfig: socket: Function not implemented
    done.
    hwclock: can't open '/dev/misc/rtc': No such file or directory
    Starting syslogd/klogd: done
    umount: /mnt/.psplash: not mounted.

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

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

    Arago 2019.07 am57xx-evm /dev/ttyS2

    am57xx-evm login:

    Regards, Andrei