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: SD card boot failure

Part Number: AM5728
Other Parts Discussed in Thread: TMDSEVM572X

Hi,

SDK:  ti-processor-sdk-linux-am57xx-evm-06.03.00.106-Linux-x86-Install 

The customer uses a customized board. The difference between the customized  board and TMDSEVM572X is that customized  board has only 1G memory, the default network port is eth1, and other peripheral connections are the same.

So customer modified the memory of uboot to 1G and the network port to eth0, recompiled to generate MLO and u-boot.img, replaced the file of the same name in the sd card boot, and didn't make any changes to the rootfs partition. After booting up, kernel stuck in waiting for root device PARTUUID=7a61ff61-02...

Below is the boot log:

��
U-Boot SPL 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800)
DRA752-GP ES2.0
** Unable to read file dra7-ipu1-fw.xem4 **
Firmware loading failed
Trying to boot from MMC1
Loading Environment from FAT... *** Warning - bad CRC, using default environment

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



U-Boot 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800)

CPU  : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
DRAM:  
---xie---arch/arm/mech-omap2/emif-common.c/1520 --- sdram_init()
1 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:   <ethaddr> not set. Validating first E-fuse MAC
cpsw

---xie---common/main.c/42 --- main_loop()

---xie---common/autoboot.c/329 --- autoboot_command() -------------------------------------------
Hit any key to stop autoboot:  2  1  0 
=> printenv
arch=arm
args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
baudrate=115200
board=am57xx
board_name=beagle_x15
boot_fdt=try
boot_fit=0
bootargs=androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board
bootcmd=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting into fastboot ...; fastboot 1; 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; run setconsole;
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
dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
dfu_alt_info_qspi=MLO raw 0x0 0x040000;u-boot.img raw 0x040000 0x0100000;u-boot-spl-os raw 0x140000 0x080000;u-boot-env raw 0x1C0000 0x010000;u-boot-env.backup raw 0x1D0000 0x010000;kernel raw 0x1E0000 0x800000
dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
dfu_bufsiz=0x10000
dofastboot=0
emmc_android_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; part start mmc ${mmcdev} boot boot_start; part size mmc ${mmcdev} boot boot_size; mmc read ${loadaddr} ${boot_start} ${boot_size}; bootm ${loadaddr}#${fdtfile};
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;
eth1addr=88:3f:4a:82:44:1b
ethact=cpsw
ethaddr=88:3f:4a:82:44:1a
fastboot.cpu=DRA752
fastboot.secure=GP
fdt_addr_r=0x88000000
fdtaddr=0x88000000
fdtcontroladdr=bdf230a8
findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.dtb; fi;if test $board_name = dra72x-revc; then setenv fdtfile dra72-evm-revc.dtb; fi;if test $board_name = dra72x; then setenv fdtfile dra72-evm.dtb; fi;if test $board_name = dra71x && test $boot_nand = 1; then setenv fdtfile dra71-evm-nand.dtb; fi;if test $board_name = dra71x && test $boot_nand = 0; then setenv fdtfile dra71-evm.dtb; fi;if test $board_name = dra76x_acd; then setenv fdtfile dra76-evm.dtb; fi;if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;if test $board_name = beagle_x15_revb1; then setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;if test $board_name = beagle_x15_revc; then setenv fdtfile am57xx-beagle-x15-revc.dtb; fi;if test $board_name = am5729_beagleboneai; then setenv fdtfile am5729-beagleboneai.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = no; then setenv fdtfile am572x-idk.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am572x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am572x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am574x_idk && test $idk_lcd = no; then setenv fdtfile am574x-idk.dtb; fi;if test $board_name = am574x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am574x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am57xx_evm; then setenv fdtfile am57xx-evm.dtb; fi;if test $board_name = am57xx_evm_reva3; then setenv fdtfile am57xx-evm-reva3.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = no; then setenv fdtfile am571x-idk.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am571x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am571x-idk-lcd-osd101t2587.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi; 
finduuid=part uuid mmc ${bootpart} uuid
fit_bootfile=fitImage
fit_loadaddr=0x90000000
get_overlaystring=for overlay in $overlay_files;do;setenv overlaystring ${overlaystring}'#'${overlay};done;
idk_lcd=no
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}; setenv 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
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=10M,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 ${fit_loadaddr}#${fdtfile}${overlaystring}
scriptaddr=0x80000000
serial#=0f00d00248200322
setconsole=if $board_name=am5729_beaglebonai;then setenv console ttyS0,115200; fi;fdtfile=undefined
soc=omap5
static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
stderr=serial@48020000
stdin=serial@48020000
stdout=serial@48020000
update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}
usbtty=cdc_acm
vendor=ti
ver=U-Boot 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800)
vram=16M

Environment size: 7620/131067 bytes
=> boot
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
4456960 bytes read in 197 ms (21.6 MiB/s)
91464 bytes read in 5 ms (17.4 MiB/s)
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe6000, end 8ffff547 ... OK

Starting kernel ...

[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.19.94-gbe5389fd85 (root@xie-virtual-machine) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Mon Feb 22 17:22:43 CST 2021
[    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 0x00000000be400000
[    0.000000] OMAP4: Map 0x00000000bfd00000 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/bootloader bug.
[    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: 202048
[    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=7a61ff61-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: 633692K/815104K available (10240K kernel code, 335K rwdata, 2800K rodata, 2048K init, 268K bss, 25764K reserved, 155648K 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)   (12256 kB)
[    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
[    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 336 kB)
[    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 269 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.000294] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000303] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000745] Console: colour dummy device 80x30
[    0.000788] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000803] pid_max: default: 32768 minimum: 301
[    0.000927] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000943] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001499] CPU: Testing write buffer coherency: ok
[    0.001536] CPU0: Spectre v2: using ICIALLU workaround
[    0.001746] /cpus/cpu@0 missing clock-frequency property
[    0.001766] /cpus/cpu@1 missing clock-frequency property
[    0.001779] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.059923] Setting up static identity map for 0x80200000 - 0x80200060
[    0.079934] rcu: Hierarchical SRCU implementation.
[    0.100128] EFI services will not be available.
[    0.119991] smp: Bringing up secondary CPUs ...
[    0.200379] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.200385] CPU1: Spectre v2: using ICIALLU workaround
[    0.200510] smp: Brought up 1 node, 2 CPUs
[    0.200522] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.200531] CPU: All CPU(s) started in HYP mode.
[    0.200539] CPU: Virtualization extensions available.
[    0.201001] devtmpfs: initialized
[    0.217893] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.218153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.218172] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.220817] pinctrl core: initialized pinctrl subsystem
[    0.221341] DMI not present or invalid.
[    0.221609] NET: Registered protocol family 16
[    0.222735] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.223670] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.417182] cpuidle: using governor ladder
[    0.417217] cpuidle: using governor menu
[    0.427657] OMAP GPIO hardware version 0.1
[    0.452356] No ATAGs?
[    0.452425] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.452441] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.453276] OMAP DMA hardware revision 0.0
[    0.464728] edma 43300000.edma: memcpy is disabled
[    0.468142] edma 43300000.edma: TI EDMA DMA engine driver
[    0.475481] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.476286] evm_5v0: supplied by main_12v0
[    0.479611] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.479789] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.480036] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.480290] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.480729] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.480909] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.481187] iommu: Adding device 58820000.ipu to group 1
[    0.481265] iommu: Adding device 55020000.ipu to group 2
[    0.481391] iommu: Adding device 40800000.dsp to group 0
[    0.481615] iommu: Adding device 41000000.dsp to group 3
[    0.482836] SCSI subsystem initialized
[    0.483871] palmas 0-0058: Irq flag is 0x00000008
[    0.513518] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
[    0.515125] SMPS12: supplied by regulator-dummy
[    0.516762] SMPS3: supplied by regulator-dummy
[    0.518274] SMPS45: supplied by regulator-dummy
[    0.520039] SMPS6: supplied by regulator-dummy
[    0.521414] SMPS7: supplied by regulator-dummy
[    0.522784] SMPS8: supplied by regulator-dummy
[    0.523129] smps8: Bringing 1060000uV into 1800000-1800000uV
[    0.523435] smps8: failed to apply 1800000-1800000uV constraint(-22)
[    0.523451] palmas-pmic 48070000.i2c:tps659038@58:tps659038_pmic: failed to register 48070000.i2c:tps659038@58:tps659038_pmic regulator
[    0.524354] palmas-pmic: probe of 48070000.i2c:tps659038@58:tps659038_pmic failed with error -22
[    0.525762] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.526358] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.526557] media: Linux media interface: v0.10
[    0.526596] videodev: Linux video capture interface: v2.00
[    0.526669] pps_core: LinuxPPS API ver. 1 registered
[    0.526678] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.526700] PTP clock support registered
[    0.526731] EDAC MC: Ver: 3.0.0
[    0.527505] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.527752] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.530750] Advanced Linux Sound Architecture Driver Initialized.
[    0.531525] clocksource: Switched to clocksource arch_sys_counter
[    0.539949] NET: Registered protocol family 2
[    0.540532] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
[    0.540562] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.540745] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.540872] TCP: Hash tables configured (established 8192 bind 8192)
[    0.540947] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.540982] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.541116] NET: Registered protocol family 1
[    0.561655] RPC: Registered named UNIX socket transport module.
[    0.561666] RPC: Registered udp transport module.
[    0.561675] RPC: Registered tcp transport module.
[    0.561683] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.562699] hw perfevents: no interrupt-affinity property for /pmu, guessing.
[    0.562889] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.563867] Initialise system trusted keyrings
[    0.564011] workingset: timestamp_bits=14 max_order=18 bucket_order=4
[    0.569010] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.569494] NFS: Registering the id_resolver key type
[    0.569524] Key type id_resolver registered
[    0.569534] Key type id_legacy registered
[    0.569573] ntfs: driver 2.1.32 [Flags: R/O].
[    0.571190] Key type asymmetric registered
[    0.571201] Asymmetric key parser 'x509' registered
[    0.571250] bounce: pool size: 64 pages
[    0.571287] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
[    0.571299] io scheduler noop registered
[    0.571308] io scheduler deadline registered
[    0.571407] io scheduler cfq registered (default)
[    0.571419] io scheduler mq-deadline registered
[    0.571428] io scheduler kyber registered
[    0.577143] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
[    0.581035] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
[    0.581465] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
[    0.581506] dra7-pcie 51000000.pcie:    IO 0x20003000..0x20012fff -> 0x00000000
[    0.581563] dra7-pcie 51000000.pcie:   MEM 0x20013000..0x2fffffff -> 0x20013000
[    1.581845] dra7-pcie 51000000.pcie: Phy link never came up
[    1.581985] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
[    1.582000] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.582012] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.582023] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    1.587887] PCI: bus0: Fast back to back transfers disabled
[    1.593366] PCI: bus1: Fast back to back transfers enabled
[    1.593410] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
[    1.593430] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.593746] pcieport 0000:00:00.0: Signaling PME with IRQ 171
[    1.593879] pcieport 0000:00:00.0: AER enabled with IRQ 171
[    1.648211] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
[    1.651892] console [ttyS2] disabled
[    1.651946] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
[    2.708067] console [ttyS2] enabled
[    2.713700] omap_rng 48090000.rng: Random Number Generator ver. 20
[    2.714106] random: fast init done
[    2.723496] random: crng init done
[    2.739428] brd: module loaded
[    2.748731] loop: module loaded
[    2.756464] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00
[    2.763293] libphy: Fixed MDIO Bus: probed
[    2.821554] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
[    2.829249] libphy: 48485000.mdio: probed
[    2.837553] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
[    2.847276] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
[    2.857512] cpsw 48484000.ethernet: Detected MACID = 88:3f:4a:82:44:1a
[    2.864141] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
[    2.870525] cpsw 48484000.ethernet: ALE Table size 1024
[    2.875837] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
[    2.883861] cpsw 48484000.ethernet: cpsw: Detected MACID = 88:3f:4a:82:44:1b
[    2.892180] i2c /dev entries driver
[    2.898825] gpio-fan gpio_fan: GPIO fan initialized
[    2.904421] tmp102 0-0048: error reading config register
[    2.909859] tmp102: probe of 0-0048 failed with error -121
[    2.918830] sdhci: Secure Digital Host Controller Interface driver
[    2.925065] sdhci: Copyright(c) Pierre Ossman
[    2.930359] sdhci-pltfm: SDHCI platform and OF driver helper
[    2.937335] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[    2.946194] sdhci-omap 4809c000.mmc: Got CD GPIO
[    2.951039] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12
[    2.957922] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator
[    2.966729] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0
[    2.973531] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0
[    2.980105] sdhci-omap 4809c000.mmc: Dropping the link to regulator.12
[    2.987212] sdhci-omap 480b4000.mmc: failed to set system capabilities
[    2.995106] ledtrig-cpu: registered to indicate activity on CPUs
[    3.004683] 
[    3.004683] ---xie---  hello kernel
[    3.009676] ---xie---  hello kernel
[    3.013260] ---xie---  hello kernel
[    3.019224] NET: Registered protocol family 10
[    3.024648] Segment Routing with IPv6
[    3.028386] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    3.034828] NET: Registered protocol family 17
[    3.039486] Key type dns_resolver registered
[    3.043953] Registering SWP/SWPB emulation handler
[    3.048768] omap_voltage_late_init: Voltage driver support not added
[    3.055169] Power Management for TI OMAP4+ devices.
[    3.060796] Loading compiled-in X.509 certificates
[    3.090475] dmm 4e000000.dmm: workaround for errata i878 in use
[    3.098085] dmm 4e000000.dmm: initialized all PAT entries
[    3.105715] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[    3.114569] sdhci-omap 4809c000.mmc: Got CD GPIO
[    3.119424] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12
[    3.126315] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator
[    3.135125] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0
[    3.141938] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0
[    3.148520] sdhci-omap 4809c000.mmc: Dropping the link to regulator.12
[    3.155848] sdhci-omap 480b4000.mmc: failed to set system capabilities
[    3.163455] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
[    3.172304] sdhci-omap 4809c000.mmc: Got CD GPIO
[    3.177132] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12
[    3.184024] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator
[    3.192830] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0
[    3.199613] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0
[    3.206207] sdhci-omap 4809c000.mmc: Dropping the link to regulator.12
[    3.213487] sdhci-omap 480b4000.mmc: failed to set system capabilities
[    3.220928] hctosys: unable to open rtc device (rtc0)
[    3.226746] ALSA device list:
[    3.229729]   No soundcards found.
[    3.233997] Waiting for root device PARTUUID=7a61ff61-02...
[   33.761597] vdd_3v3: disabling
[   33.764669] aic_dvdd_fixed: disabling
[   33.768349] pbias_mmc_omap5: disabling

But if changing the boot up mode to nfs according to the following command, the kernel can start normally.

env default -f -a
saveenv
reset
setenv serverip 192.168.1.105
setenv rootpath '/d/sdk-am57xx-06.03.00.106/targetNFS'
setenv bootfile zImage-am57xx-evm.bin
setenv ip_method dhcp
setenv nfsopts 'nolock,v3,tcp,rsize=4096,wsize=4096'
setenv getuenv 'mmc dev ${mmcdev}; if mmc rescan; then if run loadbootenv; then run importbootenv; fi; fi;'
setenv bootcmd 'run findfdt; run getuenv; setenv autoload no;dhcp ;tftp ${loadaddr} zImage; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} - ${fdtaddr}'

setenv ipaddr 192.168.1.106 
setenv gatewayip 192.168.1.1
setenv netmask 255.255.255.0

saveenv
boot

Then update the zImage, zImage-am57xx-evm.bin, am57xx-beagle-x15.dtb in the boot directory of the rootfs partition of the SD card to be the same as in the tftpboot directory , and then execute the command

env default -f -a
saveenv
reset

Still stuck in Waiting for root device PARTUUID=7a61ff61-02..

  • Hi Nancy,

    How is the SD card created? Did you use the create-sdcard.sh script under the bin folder of the SDK?
    Could you please try that script and see if that helps with the issue you are facing?

    - Keerthy

  • Hi,

    Customer has created with create-sdcard.sh before, but the system stuck at uboot stage.

  • Hi Nancy,

    Create the card using create-sdcard.sh - That will have default 2GB supporting MLO/u-boot.img. Replace them
    with your custom MLO/u-boot.img that boots. That should help solve this.

    - Keerthy

  • So customer modified the memory of uboot to 1G and the network port to eth0, recompiled to generate MLO and u-boot.img, replaced the file of the same name in the sd card boot, and didn't make any changes to the rootfs partition. After booting up, kernel stuck in waiting for root device PARTUUID=7a61ff61-02...

    Customer has changed configuration according to the board.

  • Hi Nancy,

    vmmc-supply = <&vdd_3v3>;
    vqmmc-supply = <&ldo1_reg>;

    Can they remove the above properties from the mmc1 node? This should disable UHS in case that is causing
    the sdhci failures seen above in the boot logs shared,

    Best Regards,
    Keerthy

  • Hi,

    Customer removed out vqmmc-supply in the am57xx-beagle-x15.dts file (the vmmc-supply of mmc1 was not found in other related device trees), regenerated the device tree, and copied it to the boot directory of the SD card rootfs partition. The kernel reports an error, please see below log:

    `��
    U-Boot SPL 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    Loading Environment from FAT... OK
    
    
    U-Boot 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800)
    
    CPU  : DRA752-GP ES2.0
    Model: TI AM5728 BeagleBoard-X15
    Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
    DRAM:  
    ---xie---arch/arm/mech-omap2/emif-common.c/1520 --- sdram_init()
    1 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1
    Loading Environment from FAT... OK
    Warning: fastboot.board_rev: unknown board revision
    am57x_idk_lcd_detect: Failed to get I2C device 0/56 (ret 1)
    Net:   <ethaddr> not set. Validating first E-fuse MAC
    cpsw
    
    ---xie---common/main.c/42 --- main_loop()
    
    ---xie---common/autoboot.c/329 --- autoboot_command() -------------------------------------------
    Hit any key to stop autoboot:  2  1  0 
    => printenv
    arch=arm
    args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype}
    baudrate=115200
    board=am57xx
    board_name=beagle_x15
    boot_fdt=try
    boot_fit=0
    bootargs=androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board
    bootcmd=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting into fastboot ...; fastboot 1; 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; run setconsole;
    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
    dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1
    dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1
    dfu_alt_info_qspi=MLO raw 0x0 0x040000;u-boot.img raw 0x040000 0x0100000;u-boot-spl-os raw 0x140000 0x080000;u-boot-env raw 0x1C0000 0x010000;u-boot-env.backup raw 0x1D0000 0x010000;kernel raw 0x1E0000 0x800000
    dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000
    dfu_bufsiz=0x10000
    dofastboot=0
    emmc_android_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; part start mmc ${mmcdev} boot boot_start; part size mmc ${mmcdev} boot boot_size; mmc read ${loadaddr} ${boot_start} ${boot_size}; bootm ${loadaddr}#${fdtfile};
    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;
    eth1addr=88:3f:4a:82:44:1b
    ethact=cpsw
    ethaddr=88:3f:4a:82:44:1a
    fastboot.cpu=DRA752
    fastboot.secure=GP
    fdt_addr_r=0x88000000
    fdtaddr=0x88000000
    fdtcontroladdr=bdf230a8
    findfdt=if test $board_name = omap5_uevm; then setenv fdtfile omap5-uevm.dtb; fi; if test $board_name = dra7xx; then setenv fdtfile dra7-evm.dtb; fi;if test $board_name = dra72x-revc; then setenv fdtfile dra72-evm-revc.dtb; fi;if test $board_name = dra72x; then setenv fdtfile dra72-evm.dtb; fi;if test $board_name = dra71x && test $boot_nand = 1; then setenv fdtfile dra71-evm-nand.dtb; fi;if test $board_name = dra71x && test $boot_nand = 0; then setenv fdtfile dra71-evm.dtb; fi;if test $board_name = dra76x_acd; then setenv fdtfile dra76-evm.dtb; fi;if test $board_name = beagle_x15; then setenv fdtfile am57xx-beagle-x15.dtb; fi;if test $board_name = beagle_x15_revb1; then setenv fdtfile am57xx-beagle-x15-revb1.dtb; fi;if test $board_name = beagle_x15_revc; then setenv fdtfile am57xx-beagle-x15-revc.dtb; fi;if test $board_name = am5729_beagleboneai; then setenv fdtfile am5729-beagleboneai.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = no; then setenv fdtfile am572x-idk.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am572x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am572x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am572x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am574x_idk && test $idk_lcd = no; then setenv fdtfile am574x-idk.dtb; fi;if test $board_name = am574x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am574x-idk-lcd-osd101t2587.dtb; fi;if test $board_name = am57xx_evm; then setenv fdtfile am57xx-evm.dtb; fi;if test $board_name = am57xx_evm_reva3; then setenv fdtfile am57xx-evm-reva3.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = no; then setenv fdtfile am571x-idk.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2045; then setenv fdtfile am571x-idk-lcd-osd101t2045.dtb; fi;if test $board_name = am571x_idk && test $idk_lcd = osd101t2587; then setenv fdtfile am571x-idk-lcd-osd101t2587.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi; 
    finduuid=part uuid mmc ${bootpart} uuid
    fit_bootfile=fitImage
    fit_loadaddr=0x90000000
    get_overlaystring=for overlay in $overlay_files;do;setenv overlaystring ${overlaystring}'#'${overlay};done;
    idk_lcd=no
    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}; setenv 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
    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=10M,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 ${fit_loadaddr}#${fdtfile}${overlaystring}
    scriptaddr=0x80000000
    serial#=0f00d00248200322
    setconsole=if $board_name=am5729_beaglebonai;then setenv console ttyS0,115200; fi;fdtfile=undefined
    soc=omap5
    static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off
    stderr=serial@48020000
    stdin=serial@48020000
    stdout=serial@48020000
    update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile}
    usbtty=cdc_acm
    vendor=ti
    ver=U-Boot 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800)
    vram=16M
    
    Environment size: 7620/131067 bytes
    => boot
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    ** Unable to read file boot.scr **
    1490 bytes read in 1 ms (1.4 MiB/s)
    Loaded env from uEnv.txt
    Importing environment from mmc0 ...
    Running uenvcmd ...
    1 bytes read in 3 ms (0 Bytes/s)
    Already setup.
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    4456960 bytes read in 198 ms (21.5 MiB/s)
    90760 bytes read in 6 ms (14.4 MiB/s)
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe6000, end 8ffff287 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.19.94-gbe5389fd85 (root@xie-virtual-machine) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Mon Feb 22 17:22:43 CST 2021
    [    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 0x00000000be400000
    [    0.000000] OMAP4: Map 0x00000000bfd00000 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/bootloader bug.
    [    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: 202048
    [    0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=114c8985-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: 633696K/815104K available (10240K kernel code, 335K rwdata, 2800K rodata, 2048K init, 268K bss, 25760K reserved, 155648K 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)   (12256 kB)
    [    0.000000]       .init : 0x(ptrval) - 0x(ptrval)   (2048 kB)
    [    0.000000]       .data : 0x(ptrval) - 0x(ptrval)   ( 336 kB)
    [    0.000000]        .bss : 0x(ptrval) - 0x(ptrval)   ( 269 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.000006] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
    [    0.000019] Switching to timer-based delay loop, resolution 162ns
    [    0.000291] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000301] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000738] Console: colour dummy device 80x30
    [    0.000782] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000797] pid_max: default: 32768 minimum: 301
    [    0.000920] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000936] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001501] CPU: Testing write buffer coherency: ok
    [    0.001539] CPU0: Spectre v2: using ICIALLU workaround
    [    0.001756] /cpus/cpu@0 missing clock-frequency property
    [    0.001777] /cpus/cpu@1 missing clock-frequency property
    [    0.001790] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.059906] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.079910] rcu: Hierarchical SRCU implementation.
    [    0.100100] EFI services will not be available.
    [    0.119962] smp: Bringing up secondary CPUs ...
    [    0.200339] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.200344] CPU1: Spectre v2: using ICIALLU workaround
    [    0.200469] smp: Brought up 1 node, 2 CPUs
    [    0.200482] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.200490] CPU: All CPU(s) started in HYP mode.
    [    0.200498] CPU: Virtualization extensions available.
    [    0.200970] devtmpfs: initialized
    [    0.217318] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.217575] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.217593] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.220283] pinctrl core: initialized pinctrl subsystem
    [    0.220827] DMI not present or invalid.
    [    0.221105] NET: Registered protocol family 16
    [    0.222231] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.223181] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.416611] cpuidle: using governor ladder
    [    0.416647] cpuidle: using governor menu
    [    0.427105] OMAP GPIO hardware version 0.1
    [    0.451496] No ATAGs?
    [    0.451571] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.451587] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.452430] OMAP DMA hardware revision 0.0
    [    0.463896] edma 43300000.edma: memcpy is disabled
    [    0.467297] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.474592] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.475393] evm_5v0: supplied by main_12v0
    [    0.478703] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.478881] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.479121] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.479377] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.479749] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.479923] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.480203] iommu: Adding device 58820000.ipu to group 1
    [    0.480283] iommu: Adding device 55020000.ipu to group 2
    [    0.480408] iommu: Adding device 40800000.dsp to group 0
    [    0.480703] iommu: Adding device 41000000.dsp to group 3
    [    0.481933] SCSI subsystem initialized
    [    0.482980] palmas 0-0058: Irq flag is 0x00000008
    [    0.513475] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [    0.515079] SMPS12: supplied by regulator-dummy
    [    0.516724] SMPS3: supplied by regulator-dummy
    [    0.518261] SMPS45: supplied by regulator-dummy
    [    0.520042] SMPS6: supplied by regulator-dummy
    [    0.521422] SMPS7: supplied by regulator-dummy
    [    0.522792] SMPS8: supplied by regulator-dummy
    [    0.523139] smps8: Bringing 1060000uV into 1800000-1800000uV
    [    0.523445] smps8: failed to apply 1800000-1800000uV constraint(-22)
    [    0.523462] palmas-pmic 48070000.i2c:tps659038@58:tps659038_pmic: failed to register 48070000.i2c:tps659038@58:tps659038_pmic regulator
    [    0.524365] palmas-pmic: probe of 48070000.i2c:tps659038@58:tps659038_pmic failed with error -22
    [    0.525784] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.526388] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.526579] media: Linux media interface: v0.10
    [    0.526616] videodev: Linux video capture interface: v2.00
    [    0.526687] pps_core: LinuxPPS API ver. 1 registered
    [    0.526697] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.526718] PTP clock support registered
    [    0.526748] EDAC MC: Ver: 3.0.0
    [    0.527530] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.527777] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.530713] Advanced Linux Sound Architecture Driver Initialized.
    [    0.531495] clocksource: Switched to clocksource arch_sys_counter
    [    0.539938] NET: Registered protocol family 2
    [    0.540526] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes)
    [    0.540652] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.540744] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.540871] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.540949] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.540985] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.541113] NET: Registered protocol family 1
    [    0.561647] RPC: Registered named UNIX socket transport module.
    [    0.561658] RPC: Registered udp transport module.
    [    0.561667] RPC: Registered tcp transport module.
    [    0.561676] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.562690] hw perfevents: no interrupt-affinity property for /pmu, guessing.
    [    0.562880] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.563857] Initialise system trusted keyrings
    [    0.564000] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.569112] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.569601] NFS: Registering the id_resolver key type
    [    0.569622] Key type id_resolver registered
    [    0.569632] Key type id_legacy registered
    [    0.569672] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.571340] Key type asymmetric registered
    [    0.571353] Asymmetric key parser 'x509' registered
    [    0.571400] bounce: pool size: 64 pages
    [    0.571437] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245)
    [    0.571448] io scheduler noop registered
    [    0.571458] io scheduler deadline registered
    [    0.571624] io scheduler cfq registered (default)
    [    0.571635] io scheduler mq-deadline registered
    [    0.571645] io scheduler kyber registered
    [    0.577276] pinctrl-single 4a003400.pinmux: 282 pins, size 1128
    [    0.581142] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [    0.581605] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.581646] dra7-pcie 51000000.pcie:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.581674] dra7-pcie 51000000.pcie:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.581939] dra7-pcie 51000000.pcie: Phy link never came up
    [    1.582076] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.582091] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.582104] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.582116] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.587884] PCI: bus0: Fast back to back transfers disabled
    [    1.593235] PCI: bus1: Fast back to back transfers enabled
    [    1.593280] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit]
    [    1.593299] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
    [    1.593619] pcieport 0000:00:00.0: Signaling PME with IRQ 170
    [    1.593753] pcieport 0000:00:00.0: AER enabled with IRQ 170
    [    1.648284] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled
    [    1.651986] console [ttyS2] disabled
    [    1.652045] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250
    [    2.708031] console [ttyS2] enabled
    [    2.713663] omap_rng 48090000.rng: Random Number Generator ver. 20
    [    2.714068] random: fast init done
    [    2.723460] random: crng init done
    [    2.739498] brd: module loaded
    [    2.748917] loop: module loaded
    [    2.756269] libphy: Fixed MDIO Bus: probed
    [    2.821527] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000
    [    2.829223] libphy: 48485000.mdio: probed
    [    2.837965] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY
    [    2.847687] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY
    [    2.857922] cpsw 48484000.ethernet: Detected MACID = 88:3f:4a:82:44:1a
    [    2.864560] cpsw 48484000.ethernet: initialized cpsw ale version 1.4
    [    2.870943] cpsw 48484000.ethernet: ALE Table size 1024
    [    2.876256] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.884287] cpsw 48484000.ethernet: cpsw: Detected MACID = 88:3f:4a:82:44:1b
    [    2.892614] i2c /dev entries driver
    [    2.899265] gpio-fan gpio_fan: GPIO fan initialized
    [    2.904858] tmp102 0-0048: error reading config register
    [    2.910294] tmp102: probe of 0-0048 failed with error -121
    [    2.919248] sdhci: Secure Digital Host Controller Interface driver
    [    2.925479] sdhci: Copyright(c) Pierre Ossman
    [    2.930756] sdhci-pltfm: SDHCI platform and OF driver helper
    [    2.937759] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22)
    [    2.946618] sdhci-omap 4809c000.mmc: Got CD GPIO
    [    2.951466] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12
    [    2.958346] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator
    [    2.967153] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0
    [    2.973953] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0
    [    2.980613] sdhci-omap 4809c000.mmc: no pinctrl state for ddr_3_3v mode
    [    2.987598] Unable to handle kernel NULL pointer dereference at virtual address 0000003d
    [    2.995778] pgd = 26869b02
    [    2.998497] [0000003d] *pgd=80000080004003, *pmd=00000000
    [    3.003946] Internal error: Oops: 206 [#1] PREEMPT SMP ARM
    [    3.009455] Modules linked in:
    [    3.012527] CPU: 1 PID: 1 Comm: swapper/0 Not tainted 4.19.94-gbe5389fd85 #1
    [    3.019605] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    3.025735] PC is at regulator_set_voltage+0x18/0x48
    [    3.030726] LR is at mmc_regulator_set_ocr+0x4c/0xe8
    [    3.035712] pc : [<c05f5aa0>]    lr : [<c081b05c>]    psr: 20000013
    [    3.042006] sp : ef08fc30  ip : ef08fc50  fp : ef08fc4c
    [    3.047253] r10: ee493140  r9 : ef39f9f0  r8 : ef39fbc8
    [    3.052501] r7 : 00100600  r6 : 0033e140  r5 : 00325aa0  r4 : ffffffed
    [    3.059056] r3 : 00155cc0  r2 : 0033e140  r1 : 00325aa0  r0 : ffffffed
    [    3.065612] Flags: nzCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
    [    3.072777] Control: 30c5387d  Table: 80003000  DAC: 55555555
    [    3.078549] Process swapper/0 (pid: 1, stack limit = 0x64604fb0)
    [    3.084581] Stack: (0xef08fc30 to 0xef090000)
    [    3.088958] fc20:                                     ef39f800 ef39f800 ffffffed 00100600
    [    3.097174] fc40: ef08fc6c ef08fc50 c081b05c c05f5a94 ef39f800 ef39fa1c ef39fb40 00100600
    [    3.105390] fc60: ef08fc7c ef08fc70 c083f068 c081b01c ef08fca4 ef08fc80 c0833600 c083f05c
    [    3.113606] fc80: ef39f800 ef39fa1c 00000000 00100600 ef39fbc8 ef39f9f0 ef08fccc ef08fca8
    [    3.121821] fca0: c083ee3c c0833518 ef39f800 ef39fa1c ef39f800 ef39fd34 ef39fbc8 ef39f9f0
    [    3.130037] fcc0: ef08fce4 ef08fcd0 c081c6d8 c083ed70 ef39f800 00000015 ef08fcfc ef08fce8
    [    3.138253] fce0: c081c908 c081c64c ef39f800 00000000 ef08fd14 ef08fd00 c081d614 c081c8d0
    [    3.146469] fd00: ef39f800 00000000 ef08fd2c ef08fd18 c081ea18 c081d58c ef39fb40 00000000
    [    3.154683] fd20: ef08fd5c ef08fd30 c0832f24 c081e9c4 ee48b4c0 ef39fb40 ef26fc00 ef39fb40
    [    3.162897] fd40: ef26fc00 ef39f800 ef26fc10 ef39fe40 ef08fd8c ef08fd60 c083f668 c0832df0
    [    3.171113] fd60: c083f14c ef26fc10 00000000 c1245e68 00000000 00000000 c1245e68 00000000
    [    3.179328] fd80: ef08fdac ef08fd90 c06c8368 c083f158 c128d984 ef26fc10 c128d988 00000000
    [    3.187543] fda0: ef08fddc ef08fdb0 c06c63b8 c06c8324 00000000 ef26fc10 c1245e68 ef26fc44
    [    3.195758] fdc0: c06c6730 00000000 c104b834 c1060df8 ef08fe14 ef08fde0 c06c6618 c06c61c0
    [    3.203973] fde0: c0859618 c08574c8 ef08fe14 ef08fdf8 ef26fc10 c1245e68 ef26fc44 c06c6730
    [    3.212188] fe00: 00000000 c104b834 ef08fe34 ef08fe18 c06c6824 c06c65bc ef268234 c1204c48
    [    3.220404] fe20: c1245e68 c06c6730 ef08fe64 ef08fe38 c06c4484 c06c673c ef08fe70 ef079158
    [    3.228618] fe40: ef268234 5a6afb90 c1245e68 c12370f0 ee489600 00000000 ef08fe74 ef08fe68
    [    3.236833] fe60: c06c5cf0 c06c4414 ef08fe9c ef08fe78 c06c5768 c06c5cd8 c0e4e538 ef08fe88
    [    3.245049] fe80: c1245e68 c1204c48 ffffe000 c102e9bc ef08feb4 ef08fea0 c06c71f4 c06c55b0
    [    3.253263] fea0: c1253e00 c1204c48 ef08fec4 ef08feb8 c06c82cc c06c7184 ef08fed4 ef08fec8
    [    3.261478] fec0: c102e9d8 c06c8290 ef08ff4c ef08fed8 c02025b8 c102e9c8 00000000 c0dd2168
    [    3.269693] fee0: c0dd2148 c0dd2100 c0dde0e4 c1204c48 00000000 c0dd2120 00000006 00000006
    [    3.277908] ff00: 00000000 c0e38af8 c10004f0 c0eb9d70 ef08ff34 ef6740c4 00000000 5a6afb90
    [    3.286123] ff20: 00000000 5a6afb90 c1253e00 00000007 c1253e00 c1253e00 c10004f0 c104b854
    [    3.294338] ff40: ef08ff94 ef08ff50 c1000fe8 c0202540 00000006 00000006 00000000 c10004f0
    [    3.302553] ff60: c0eb9d70 000000ec ffffe000 00000000 c0a29428 00000000 00000000 00000000
    [    3.310767] ff80: 00000000 00000000 ef08ffac ef08ff98 c0a29438 c1000e30 00000000 c0a29428
    [    3.318982] ffa0: 00000000 ef08ffb0 c02010d8 c0a29434 00000000 00000000 00000000 00000000
    [    3.327196] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    3.335411] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000 00000000 00000000
    [    3.343621] Backtrace: 
    [    3.346086] [<c05f5a88>] (regulator_set_voltage) from [<c081b05c>] (mmc_regulator_set_ocr+0x4c/0xe8)
    [    3.355261]  r7:00100600 r6:ffffffed r5:ef39f800 r4:ef39f800
    [    3.360953] [<c081b010>] (mmc_regulator_set_ocr) from [<c083f068>] (sdhci_omap_set_power+0x18/0x1c)
    [    3.370040]  r7:00100600 r6:ef39fb40 r5:ef39fa1c r4:ef39f800
    [    3.375728] [<c083f050>] (sdhci_omap_set_power) from [<c0833600>] (sdhci_set_ios+0xf4/0x56c)
    [    3.384206] [<c083350c>] (sdhci_set_ios) from [<c083ee3c>] (sdhci_omap_set_ios+0xd8/0x114)
    [    3.392510]  r9:ef39f9f0 r8:ef39fbc8 r7:00100600 r6:00000000 r5:ef39fa1c r4:ef39f800
    [    3.400294] [<c083ed64>] (sdhci_omap_set_ios) from [<c081c6d8>] (mmc_set_initial_state+0x98/0x9c)
    [    3.409206]  r9:ef39f9f0 r8:ef39fbc8 r7:ef39fd34 r6:ef39f800 r5:ef39fa1c r4:ef39f800
    [    3.416988] [<c081c640>] (mmc_set_initial_state) from [<c081c908>] (mmc_power_up.part.8+0x44/0xcc)
    [    3.425987]  r5:00000015 r4:ef39f800
    [    3.429582] [<c081c8c4>] (mmc_power_up.part.8) from [<c081d614>] (mmc_start_host+0x94/0xa0)
    [    3.437970]  r5:00000000 r4:ef39f800
    [    3.441566] [<c081d580>] (mmc_start_host) from [<c081ea18>] (mmc_add_host+0x60/0x84)
    [    3.449342]  r5:00000000 r4:ef39f800
    [    3.452937] [<c081e9b8>] (mmc_add_host) from [<c0832f24>] (__sdhci_add_host+0x140/0x2ac)
    [    3.461062]  r5:00000000 r4:ef39fb40
    [    3.464659] [<c0832de4>] (__sdhci_add_host) from [<c083f668>] (sdhci_omap_probe+0x51c/0x5bc)
    [    3.473135]  r8:ef39fe40 r7:ef26fc10 r6:ef39f800 r5:ef26fc00 r4:ef39fb40
    [    3.479873] [<c083f14c>] (sdhci_omap_probe) from [<c06c8368>] (platform_drv_probe+0x50/0xa0)
    [    3.488349]  r10:00000000 r9:c1245e68 r8:00000000 r7:00000000 r6:c1245e68 r5:00000000
    [    3.496212]  r4:ef26fc10 r3:c083f14c
    [    3.499807] [<c06c8318>] (platform_drv_probe) from [<c06c63b8>] (really_probe+0x204/0x2c0)
    [    3.508107]  r7:00000000 r6:c128d988 r5:ef26fc10 r4:c128d984
    [    3.513795] [<c06c61b4>] (really_probe) from [<c06c6618>] (driver_probe_device+0x68/0x180)
    [    3.522098]  r10:c1060df8 r9:c104b834 r8:00000000 r7:c06c6730 r6:ef26fc44 r5:c1245e68
    [    3.529961]  r4:ef26fc10 r3:00000000
    [    3.533555] [<c06c65b0>] (driver_probe_device) from [<c06c6824>] (__driver_attach+0xf4/0xf8)
    [    3.542032]  r9:c104b834 r8:00000000 r7:c06c6730 r6:ef26fc44 r5:c1245e68 r4:ef26fc10
    [    3.549812] [<c06c6730>] (__driver_attach) from [<c06c4484>] (bus_for_each_dev+0x7c/0xbc)
    [    3.558026]  r7:c06c6730 r6:c1245e68 r5:c1204c48 r4:ef268234
    [    3.563713] [<c06c4408>] (bus_for_each_dev) from [<c06c5cf0>] (driver_attach+0x24/0x28)
    [    3.571752]  r7:00000000 r6:ee489600 r5:c12370f0 r4:c1245e68
    [    3.577440] [<c06c5ccc>] (driver_attach) from [<c06c5768>] (bus_add_driver+0x1c4/0x208)
    [    3.585482] [<c06c55a4>] (bus_add_driver) from [<c06c71f4>] (driver_register+0x7c/0x110)
    [    3.593608]  r7:c102e9bc r6:ffffe000 r5:c1204c48 r4:c1245e68
    [    3.599296] [<c06c7178>] (driver_register) from [<c06c82cc>] (__platform_driver_register+0x48/0x50)
    [    3.608380]  r5:c1204c48 r4:c1253e00
    [    3.611980] [<c06c8284>] (__platform_driver_register) from [<c102e9d8>] (sdhci_omap_driver_init+0x1c/0x20)
    [    3.621682] [<c102e9bc>] (sdhci_omap_driver_init) from [<c02025b8>] (do_one_initcall+0x84/0x1b0)
    [    3.630511] [<c0202534>] (do_one_initcall) from [<c1000fe8>] (kernel_init_freeable+0x1c4/0x258)
    [    3.639248]  r8:c104b854 r7:c10004f0 r6:c1253e00 r5:c1253e00 r4:00000007
    [    3.645983] [<c1000e24>] (kernel_init_freeable) from [<c0a29438>] (kernel_init+0x10/0x11c)
    [    3.654284]  r10:00000000 r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:c0a29428
    [    3.662146]  r4:00000000
    [    3.664692] [<c0a29428>] (kernel_init) from [<c02010d8>] (ret_from_fork+0x14/0x3c)
    [    3.672293] Exception stack(0xef08ffb0 to 0xef08fff8)
    [    3.677367] ffa0:                                     00000000 00000000 00000000 00000000
    [    3.685583] ffc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [    3.693796] ffe0: 00000000 00000000 00000000 00000000 00000013 00000000
    [    3.700438]  r5:c0a29428 r4:00000000
    [    3.704031] Code: e24cb004 e1a04000 e1a05001 e1a06002 (e5900050) 
    [    3.711356] ---[ end trace 90138878250b04ba ]---
    [    3.716022] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [    3.716022] 
    [    3.725205] CPU0: stopping
    [    3.727930] CPU: 0 PID: 0 Comm: swapper/0 Tainted: G      D           4.19.94-gbe5389fd85 #1
    [    3.736404] Hardware name: Generic DRA74X (Flattened Device Tree)
    [    3.742521] Backtrace: 
    [    3.744987] [<c020ca34>] (dump_backtrace) from [<c020cd6c>] (show_stack+0x18/0x1c)
    [    3.752592]  r7:c1201eb0 r6:60000193 r5:00000000 r4:c12506dc
    [    3.758282] [<c020cd54>] (show_stack) from [<c0a15124>] (dump_stack+0x9c/0xb0)
    [    3.765542] [<c0a15088>] (dump_stack) from [<c020f6b8>] (handle_IPI+0x1b0/0x1dc)
    [    3.772971]  r7:c1201eb0 r6:00000000 r5:00000000 r4:c1068cfc
    [    3.778661] [<c020f508>] (handle_IPI) from [<c0565490>] (gic_handle_irq+0x7c/0x80)
    [    3.786264]  r6:fa212000 r5:fa21200c r4:c1205104
    [    3.790904] [<c0565414>] (gic_handle_irq) from [<c02019f8>] (__irq_svc+0x58/0x8c)
    [    3.798419] Exception stack(0xc1201eb0 to 0xc1201ef8)
    [    3.803493] 1ea0:                                     00000000 0000204c ef65850c c021ab60
    [    3.811708] 1ec0: ffffe000 c1204c7c c1204cc4 00000001 00000000 00000000 c10684f0 c1201f0c
    [    3.819922] 1ee0: c1201f10 c1201f00 c0208ea8 c0208eac 60000013 ffffffff
    [    3.826567]  r9:c1200000 r8:00000000 r7:c1201ee4 r6:ffffffff r5:60000013 r4:c0208eac
    [    3.834352] [<c0208e6c>] (arch_cpu_idle) from [<c0a2f17c>] (default_idle_call+0x30/0x34)
    [    3.842484] [<c0a2f14c>] (default_idle_call) from [<c025a9a8>] (do_idle+0x204/0x2ac)
    [    3.850263] [<c025a7a4>] (do_idle) from [<c025ad3c>] (cpu_startup_entry+0x20/0x24)
    [    3.857868]  r10:c104ba38 r9:c1253e00 r8:ffffffff r7:c1253e00 r6:00000000 r5:00000002
    [    3.865729]  r4:000000c7
    [    3.868276] [<c025ad1c>] (cpu_startup_entry) from [<c0a29424>] (rest_init+0xd0/0xd4)
    [    3.876057] [<c0a29354>] (rest_init) from [<c1000dfc>] (start_kernel+0x448/0x470)
    [    3.883571]  r5:00000000 r4:c1253e58
    [    3.887163] [<c10009b4>] (start_kernel) from [<00000000>] (  (null))
    [    3.893546]  r10:30c5387d r9:412fc0f2 r8:8ffe6000 r7:00000000 r6:30c0387d r5:00000000
    [    3.901409]  r4:c1000330
    [    3.903962] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
    [    3.903962]  ]---
    

  • Hi Nancy,

    That was basically to avoid UHS modes. regulator_set_voltage is failing. I will check internally & get back to you.

    Best Regards,
    Keerthy

  • Is it certain that the problem must be related to SD card?

    I have checked the SD card circuit, the schematic is the same as Ti's(BEAGLEBOARD_X15_REV_B1.pdf).