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