Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/TDA2EVM5777: How can i boot my board only using sd card without emmc?

$
0
0

Part Number: TDA2EVM5777

Tool/software: TI C/C++ Compiler

Hi,

My custom board doesn't have emmc. So, i want to boot my board only using sd card.

When i execute 'mmc list', the result shows mmc dev 0 is sd card.

I used the sd card that was used to boot TDA2EVM official board.

However, the kernel infinitely waited the root device.

The log is below.

CPU : DRA752-GP ES1.1
Model: TI DRA742
Board: DRA74x EVM REV
DRAM: 1.5 GiB
MMC: i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
mmc@4809c000: fail to find hs-rev11 mode FDT_ERR_NOTFOUND
mmc@4809c000: fail to find sdr25-rev11 mode FDT_ERR_NOTFOUND
mmc@4809c000: fail to find sdr12-rev11 mode FDT_ERR_NOTFOUND
mmc@480b4000: fail to find hs-rev11 mode FDT_ERR_NOTFOUND
OMAP SD/MMC: 0, OMAP SD/MMC: 1
Card did not respond to voltage select!
*** Warning - MMC init failed, using default environment

Warning: fastboot.board_rev: unknown board revision
Card did not respond to voltage select!
ERROR: invalid mmc device

at arch/arm/cpu/armv7/omap-common/utils.c:193/mmc_get_part_size()
Warning: fastboot.userdata_size: unable to calc
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
## Error: "board_findfdt" not defined
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
switch to partitions #0, OK
mmc0 is current device
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
173 bytes read in 2 ms (84 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
switch to partitions #0, OK
mmc0 is current device
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
i2c_write: error waiting for data ACK (status=0x116)
pcf8575_i2c_write_le16 i2c write failed to addr 21
SD/MMC found on device 0
3576800 bytes read in 188 ms (18.1 MiB/s)
106951 bytes read in 21 ms (4.9 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x3693e0 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe2000, end 8ffff1c6 ... OK

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.84-00038-g0af2ab5-dirty (yoo@yoo-VirtualBox) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #133 SMP PREEMPT Wed Sep 25 11:29:56 KST 2019
[ 0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=30c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine model: TI DRA742
[ 0.000000] Reserved memory: created DMA memory pool at 0x0000000040300000, size 3 MiB
[ 0.000000] Reserved memory: initialized node cmem@40300000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, size 80 MiB
[ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x000000009e000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000a1000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: created CMA memory pool at 0x00000000a3000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[ 0.000000] Reserved memory: regions without no-map are not yet supported
[ 0.000000] Reserved memory: created DMA memory pool at 0x00000000a9000000, size 32 MiB
[ 0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool
[ 0.000000] cma: Reserved 64 MiB at 0x00000000bbc00000
[ 0.000000] Forcing write-allocate cache policy for SMP
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] OMAP4: Map 0x00000000bfd00000 to fe600000 for dram barrier
[ 0.000000] DRA752 ES1.1
[ 0.000000] PERCPU: Embedded 11 pages/cpu @ef62a000 s14912 r8192 d21952 u45056
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 251456
[ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=54b1d8d3-02 rw rootwait ip=none mem=1024M cma=64M
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 353148K/1012736K available (6671K kernel code, 320K rwdata, 2396K rodata, 336K init, 290K bss, 413828K reserved, 245760K cma-reserved, 193536K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xf0800000 - 0xff800000 ( 240 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xf0000000 ( 768 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc08e302c (9069 kB)
[ 0.000000] .init : 0xc08e4000 - 0xc0938000 ( 336 kB)
[ 0.000000] .data : 0xc0938000 - 0xc0988220 ( 321 kB)
[ 0.000000] .bss : 0xc098a000 - 0xc09d2880 ( 291 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_ref_clk_div
[ 0.000000] OMAP clockevent source: timer1 at 32786 Hz
[ 0.000000] Architected 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.000016] Switching to timer-based delay loop, resolution 162ns
[ 0.000328] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[ 0.000335] OMAP clocksource: 32k_counter at 32768 Hz
[ 0.000774] Console: colour dummy device 80x30
[ 0.000789] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000796] This ensures that you still see kernel messages. Please
[ 0.000801] update your kernel commandline.
[ 0.000815] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[ 0.000827] pid_max: default: 32768 minimum: 301
[ 0.000925] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000935] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001475] Initializing cgroup subsys io
[ 0.001491] Initializing cgroup subsys memory
[ 0.001516] Initializing cgroup subsys devices
[ 0.001529] Initializing cgroup subsys freezer
[ 0.001540] Initializing cgroup subsys perf_event
[ 0.001551] Initializing cgroup subsys pids
[ 0.001577] CPU: Testing write buffer coherency: ok
[ 0.001775] /cpus/cpu@0 missing clock-frequency property
[ 0.001791] /cpus/cpu@1 missing clock-frequency property
[ 0.001801] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.001834] Setting up static identity map for 0x80008380 - 0x800083e0
[ 0.080063] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.080133] Brought up 2 CPUs
[ 0.080146] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[ 0.080152] CPU: All CPU(s) started in HYP mode.
[ 0.080158] CPU: Virtualization extensions available.
[ 0.080534] devtmpfs: initialized
[ 0.109165] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[ 0.110129] omap_hwmod: l3_main_2 using broken dt data from ocp
[ 0.313014] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.313035] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.318037] pinctrl core: initialized pinctrl subsystem
[ 0.318905] NET: Registered protocol family 16
[ 0.319848] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.350228] cpuidle: using governor ladder
[ 0.380250] cpuidle: using governor menu
[ 0.388790] OMAP GPIO hardware version 0.1
[ 0.395260] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[ 0.411800] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 0.411812] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 0.419791] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.419801] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.420289] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.420299] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.420879] OMAP DMA hardware revision 0.0
[ 0.461516] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[ 0.462671] edma 43300000.edma: memcpy is disabled
[ 0.467441] edma 43300000.edma: TI EDMA DMA engine driver
[ 0.471851] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[ 0.472030] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[ 0.472192] omap-iommu 58882000.mmu: 58882000.mmu registered
[ 0.472346] omap-iommu 55082000.mmu: 55082000.mmu registered
[ 0.472636] omap-iommu 41501000.mmu: 41501000.mmu registered
[ 0.472819] omap-iommu 41502000.mmu: 41502000.mmu registered
[ 0.475845] palmas 0-0058: IRQ missing: skipping irq request
[ 0.491205] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0
[ 0.553096] pcf857x: probe of 0-0020 failed with error -121
[ 0.553353] pcf857x: probe of 0-0021 failed with error -121
[ 0.553510] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[ 0.553913] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[ 0.554113] media: Linux media interface: v0.10
[ 0.554166] Linux video capture interface: v2.00
[ 0.554209] pps_core: LinuxPPS API ver. 1 registered
[ 0.554216] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.554242] PTP clock support registered
[ 0.554292] EDAC MC: Ver: 3.0.0
[ 0.555047] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[ 0.555341] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[ 0.555675] Advanced Linux Sound Architecture Driver Initialized.
[ 0.556542] clocksource: Switched to clocksource arch_sys_counter
[ 0.567079] NET: Registered protocol family 2
[ 0.567564] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.567627] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.567752] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.567803] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.567834] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.568046] NET: Registered protocol family 1
[ 0.568312] RPC: Registered named UNIX socket transport module.
[ 0.568320] RPC: Registered udp transport module.
[ 0.568327] RPC: Registered tcp transport module.
[ 0.568333] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.569337] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[ 0.579367] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.580016] NFS: Registering the id_resolver key type
[ 0.580045] Key type id_resolver registered
[ 0.580052] Key type id_legacy registered
[ 0.580111] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.581391] bounce: pool size: 64 pages
[ 0.581548] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.581563] io scheduler noop registered
[ 0.581575] io scheduler deadline registered
[ 0.581608] io scheduler cfq registered (default)
[ 0.586479] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[ 0.589699] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[ 0.589711] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[ 0.589745] IO 0x20003000..0x20012fff -> 0x00000000
[ 0.589766] MEM 0x20013000..0x2fffffff -> 0x20013000
[ 0.619737] dra7-pcie 51000000.pcie_rc: link is not up
[ 0.619909] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[ 0.619922] pci_bus 0000:00: root bus resource [bus 00-ff]
[ 0.619932] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
[ 0.619941] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[ 0.620349] PCI: bus0: Fast back to back transfers disabled
[ 0.620468] PCI: bus1: Fast back to back transfers enabled
[ 0.620551] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[ 0.620566] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[ 0.620578] pci 0000:00:00.0: PCI bridge to [bus 01]
[ 0.620802] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[ 0.681739] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.685138] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[ 1.699996] console [ttyS0] enabled
[ 1.704393] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[ 1.714098] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[ 1.724134] [drm] Initialized drm 1.1.0 20060810
[ 1.729687] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.736331] [drm] No driver support for vblank timestamp query.
[ 1.742500] [drm] Initialized vdrm 1.0.0 20110917 on minor 0
[ 1.755394] loop: module loaded
[ 1.758966] vmemexp device MAJOR num = 245
[ 1.763095] vmemexp class registered
[ 1.766829] /dev/vmemexp device registered
[ 1.770942] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[ 1.776847] nand: No NAND device found
[ 1.780619] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch
[ 1.790526] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes)
[ 1.795921] 7 ofpart partitions found on MTD device spi32766.0
[ 1.801806] Creating 7 MTD partitions on "spi32766.0":
[ 1.806984] 0x000000000000-0x000000040000 : "QSPI.SPL"
[ 1.813109] 0x000000040000-0x000000140000 : "QSPI.u-boot"
[ 1.819447] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os"
[ 1.826377] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env"
[ 1.833070] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1"
[ 1.840475] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel"
[ 1.846830] 0x0000009e0000-0x000002000000 : "QSPI.file-system"
[ 1.854611] libphy: Fixed MDIO Bus: probed
[ 1.861365] mousedev: PS/2 mouse device common for all mice
[ 1.867644] i2c /dev entries driver
[ 1.876380] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 1.882077] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[ 1.888506] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[ 1.895044] evm_3v3_sw: supplied by sysen1
[ 2.060546] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.069421] aic_dvdd: supplied by evm_3v3_sw
[ 2.076247] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
[ 2.083508] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0
[ 2.090944] NET: Registered protocol family 10
[ 2.106050] sit: IPv6 over IPv4 tunneling driver
[ 2.111270] NET: Registered protocol family 17
[ 2.115943] Key type dns_resolver registered
[ 2.120398] omap_voltage_late_init: Voltage driver support not added
[ 2.127297] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.133507] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.140218] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 2.146427] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 2.154653] Power Management for TI OMAP4+ devices.
[ 2.159756] Registering SWP/SWPB emulation handler
[ 2.165505] dmm 4e000000.dmm: workaround for errata i878 in use
[ 2.172840] dmm 4e000000.dmm: initialized all PAT entries
[ 2.178987] [drm] Initialized omapdrm 1.0.0 20110917 on minor 1
[ 2.185665] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 2.191990] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[ 2.211551] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 2.217072] hctosys: unable to open rtc device (rtc0)
[ 2.230430] evm_1v8: disabling
[ 2.233500] aic_dvdd: disabling
[ 2.236700] vmmcwl_fixed: disabling
[ 2.240384] ldousb: disabling
[ 2.243614] pbias_mmc_omap5: disabling
[ 2.247540] ALSA device list:
[ 2.250517] #0: DRA7xx-EVM
[ 2.254048] Waiting for root device PARTUUID=54b1d8d3-02...

Could you suggest any solution about this problem?

Thanks and Regards,

Yoo


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>