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.

TDA2PXEVM: boot from EMMC flash based on visionSDK 03 05

Part Number: TDA2PXEVM
Other Parts Discussed in Thread: TVP5158

Hello,

We are ready to boot from EMMC flash based on visionSDK 03 05, but it fails. On the other hand, we can boot from SD card normal with the same program. What shoud we have to modify? Below is the uenv.txt include emmc and sd.Also you can find the emmc boot log in the attachment.

Thanks 

Terence

==============================uenv_sd.txt================================

fdtfile=dra76-evm-infoadas.dtb
args_mmc=part uuid mmc 0:2 uuid; setenv bootargs "console=ttyS0,115200n8 vram=16M root=PARTUUID=${uuid} rw rootwait ip=none mem=1024M cma=128M"

===============================uenv_emmc.txt===========================

mmcargs=setenv bootargs 'console=ttyO0,115200n8 elevator=noop root=/dev/mmcblk0p2 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1'

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

[BEGIN] 2019/8/22 17:08:14

U-Boot SPL 2016.05 (Aug 22 2019 - 15:16:11)
DRA762-GP ES1.0
no pinctrl for hs200_1_8v
no pinctrl for ddr_1_8v
*** Warning - bad CRC, using default environment

i2c_write: error waiting for data ACK (status=0x116)
i2c_write: error waiting for data ACK (status=0x116)
Trying to boot from MMC2_2
reading dra7-ipu2-fw.lzop
spl_load_file_fat: error reading file dra7-ipu2-fw.lzop, err - -1
spl: error reading image dra7-ipu2-fw.lzop, err - -1
Error loading remotecore IPU2!,Continuing with boot ...
reading dra7-dsp1-fw.lzop
spl_load_file_fat: error reading file dra7-dsp1-fw.lzop, err - -1
spl: error reading image dra7-dsp1-fw.lzop, err - -1
Error loading remotecore DSP1!,Continuing with boot ...
reading dra7-dsp2-fw.lzop
spl_load_file_fat: error reading file dra7-dsp2-fw.lzop, err - -1
spl: error reading image dra7-dsp2-fw.lzop, err - -1
Error loading remotecore DSP2!,Continuing with boot ...
reading dra7-ipu1-fw.lzop
spl_load_file_fat: error reading file dra7-ipu1-fw.lzop, err - -1
spl: error reading image dra7-ipu1-fw.lzop, err - -1
Error loading remotecore IPU1!,Continuing with boot ...
*** Warning - bad CRC, using default environment

reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
[    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 (xiachunjiang@ecarx-5288-V3) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #2 SMP PREEMPT Thu Aug 22 15:16:51 CST 2019
[    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[    0.000000] Machine model: TI DRA762 EVM
[    0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
[    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 64 MiB
[    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 32 MiB
[    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
[    0.000000] Reserved memory: created CMA memory pool at 0x9f000000, size 8 MiB
[    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
[    0.000000] cma: Reserved 24 MiB at 0xde400000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] OMAP4: Map 0xdfe00000 to fe600000 for dram barrier
[    0.000000] DRA762 ES1.0
[    0.000000] PERCPU: Embedded 11 pages/cpu @ef1b5000 s14912 r8192 d21952 u45056
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 389696
[    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
[    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)
em)
[    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 - 0xc08ee00c   (9113 kB)
[    0.000000]       .init : 0xc08ef000 - 0xc0942000   ( 332 kB)
[    0.000000]       .data : 0xc0942000 - 0xc09933e0   ( 325 kB)
[    0.000000]        .bss : 0xc0995000 - 0xc09dc980   ( 287 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.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398046511023ns
[    0.000015] Switching to timer-based delay loop, resolution 162ns
[    0.000334] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
[    0.000342] OMAP clocksource: 32k_counter at 32768 Hz
[    0.000797] Console: colour dummy device 80x30
[    0.000813] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[    0.000820] This ensures that you still see kernel messages. Please
[    0.000826] update your kernel commandline.
[    0.000839] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
[    0.000851] pid_max: default: 32768 minimum: 301
[    0.000946] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000957] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001499] Initializing cgroup subsys io
[    0.001517] Initializing cgroup subsys memory
[    0.001541] Initializing cgroup subsys devices
[    0.001553] Initializing cgroup subsys freezer
[    0.001564] Initializing cgroup subsys perf_event
[    0.001575] Initializing cgroup subsys pids
[    0.001603] CPU: Testing write buffer coherency: ok
[    0.001799] /cpus/cpu@0 missing clock-frequency property
[    0.001815] /cpus/cpu@1 missing clock-frequency property
[    0.001825] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.001865] Setting up static identity map for 0x80008340 - 0x800083a0
[    0.080150] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.080218] Brought up 2 CPUs
[    0.080231] SMP: Total of 2 processors activated (24.59 BogoMIPS).
[    0.080238] CPU: All CPU(s) started in HYP mode.
[    0.080244] CPU: Virtualization extensions available.
[    0.081276] devtmpfs: initialized
[    0.110041] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
[    0.110993] omap_hwmod: l3_main_2 using broken dt data from ocp
[    0.227394] omap_hwmod: dcan1: _wait_target_disable failed
[    0.327146] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.327168] futex hash table entries: 512 (order: 3, 32768 bytes)
[    0.330634] pinctrl core: initialized pinctrl subsystem
[    0.331473] NET: Registered protocol family 16
[    0.332368] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.360256] cpuidle: using governor ladder
[    0.390282] cpuidle: using governor menu
[    0.399108] OMAP GPIO hardware version 0.1
[    0.403316] GPIO line 161 (radio_rst) hogged as output/low
[    0.405730] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
[    0.433417] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.433428] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.433913] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[    0.433922] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[    0.434396] OMAP DMA hardware revision 0.0
[    0.471588] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
[    0.472782] edma 43300000.edma: memcpy is disabled
[    0.477491] edma 43300000.edma: TI EDMA DMA engine driver
[    0.482455] omap-iommu 40d01000.mmu: 40d01000.mmu registered
[    0.482628] omap-iommu 40d02000.mmu: 40d02000.mmu registered
[    0.482801] omap-iommu 58882000.mmu: 58882000.mmu registered
[    0.482964] omap-iommu 55082000.mmu: 55082000.mmu registered
[    0.483236] omap-iommu 41501000.mmu: 41501000.mmu registered
[    0.483416] omap-iommu 41502000.mmu: 41502000.mmu registered
[    0.486682] palmas 0-0058: IRQ missing: skipping irq request
[    0.500730] palmas 0-0058: Muxing GPIO 51, PWM 0, LED 2
[    0.551266] irq: no irq domain found for /ocp/i2c@48070000/tps65917@58 !
[    0.551820] pcf857x: probe of 0-0020 failed with error -121
[    0.552080] pcf857x: probe of 0-0021 failed with error -121
[    0.552307] pcf857x: probe of 0-0026 failed with error -121
[    0.552467] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
[    0.552871] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
[    0.570593] pcf857x: probe of 3-0021 failed with error -121
[    0.570632] omap_i2c 4807a000.i2c: bus 3 rev0.12 at 400 kHz
[    0.590607] pca953x 4-0020: failed reading register
[    0.590625] pca953x: probe of 4-0020 failed with error -121
[    0.591233] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
[    0.591446] media: Linux media interface: v0.10
[    0.591497] Linux video capture interface: v2.00
[    0.591536] pps_core: LinuxPPS API ver. 1 registered
[    0.591543] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[    0.591566] PTP clock support registered
[    0.591607] EDAC MC: Ver: 3.0.0
[    0.592370] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
[    0.592671] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
[    0.593023] Advanced Linux Sound Architecture Driver Initialized.
[    0.593841] clocksource: Switched to clocksource arch_sys_counter
[    0.604192] NET: Registered protocol family 2
[    0.604690] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.604753] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.604877] TCP: Hash tables configured (established 8192 bind 8192)
[    0.604921] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.604952] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.605159] NET: Registered protocol family 1
[    0.605427] RPC: Registered named UNIX socket transport module.
[    0.605436] RPC: Registered udp transport module.
[    0.605442] RPC: Registered tcp transport module.
[    0.605448] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.606434] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
[    0.615387] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.616025] NFS: Registering the id_resolver key type
[    0.616053] Key type id_resolver registered
[    0.616062] Key type id_legacy registered
[    0.616126] ntfs: driver 2.1.32 [Flags: R/O].
[    0.617398] bounce: pool size: 64 pages
[    0.617551] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[    0.617567] io scheduler noop registered
[    0.617582] io scheduler deadline registered
[    0.617615] io scheduler cfq registered (default)
[    0.620029] vsys_5v0: supplied by vsys_12v0
[    0.620077] ldo3: supplied by vsys_5v0
[    0.623788] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
[    0.627156] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
[    0.627168]   No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff]
[    0.627201]    IO 0x20003000..0x20012fff -> 0x00000000
[    0.627223]   MEM 0x20013000..0x2fffffff -> 0x20013000
[    0.657592] dra7-pcie 51000000.pcie_rc: link is not up
[    0.657757] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
[    0.657770] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.657780] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    0.657790] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
[    0.658203] PCI: bus0: Fast back to back transfers disabled
[    0.658322] PCI: bus1: Fast back to back transfers enabled
[    0.658405] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.658419] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
[    0.658432] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.658654] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
[    0.719373] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[    0.722778] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250
[    1.719854] console [ttyS0] enabled
[    1.724259] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250
[    1.733961] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250
[    1.744062] [drm] Initialized drm 1.1.0 20060810
[    1.750611] vsys_3v3: supplied by vsys_12v0
[    1.754881] ldo5: supplied by vsys_3v3
[    1.759185] OMAP DSS rev 6.1
[    1.762928] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops)
[    1.771364] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_component_ops)
[    1.787315] loop: module loaded
[    1.793237] vmemexp device MAJOR num = 245
[    1.797393] vmemexp class registered
[    1.801106] /dev/vmemexp device registered
[    1.805240] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120
[    1.813541] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00,  0,  0
[    1.821242] libphy: Fixed MDIO Bus: probed
[    1.873871] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
[    1.879996] libphy: 48485000.mdio: probed
[    1.886610] cpsw 48484000.ethernet: Detected MACID = f8:36:9b:97:4f:e8
[    1.893256] cpsw 48484000.ethernet: cpts: overflow check period 800
[    1.900220] cpsw 48484000.ethernet: cpsw: Detected MACID = f8:36:9b:97:4f:e9
[    1.907863] PPP generic driver version 2.4.2
[    1.913366] mousedev: PS/2 mouse device common for all mice
[    1.919783] i2c /dev entries driver
[    1.923968] tvp5158 4-0058: Unable to of_probe
[    1.928740] ov490 4-0024: Failed reading register 0x300a!
[    1.934187] ov490: probe of 4-0024 failed with error -121
[    1.940292] vpe 489d0000.vpe: loading firmware vpdma-1b8.bin
[    1.947382] vip 48970000.vip: loading firmware vpdma-1b8.bin
[    1.957794] omap_hsmmc 4809c000.mmc: Got CD GPIO
[    1.962636] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[    1.969169] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[    1.969188] vpe 489d0000.vpe: Device registered as /dev/video0
[    1.973864] vip 48970000.vip: VPDMA firmware loaded
[    1.986321] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[    1.992704] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[    1.999100] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[    2.005686] vio_3v3: supplied by vsys_3v3
[    2.009759] vio_3v3_sd: supplied by vio_3v3
[    2.014115] ldo4: supplied by vsys_5v0
[    2.054444] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
[    2.060829] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
[    2.067399] smps5: supplied by vsys_3v3
[    2.071450] vio_1v8: supplied by smps5
[    2.114766] ledtrig-cpu: registered to indicate activity on CPUs
[    2.125884] hwspinlock_user gatemp: requested 20 hwspinlocks
[    2.132467] 	[AK4951] ak4951_modinit(1582)
[    2.137111] aic_dvdd: supplied by vio_3v3
[    2.143599] davinci-mcasp 48464000.mcasp: DAI is shared
[    2.149718] davinci-mcasp 48474000.mcasp: DAI is shared
[    2.155852] omap-hdmi-audio omap-hdmi-audio.0.auto: snd-soc-dummy-dai <-> 58040000.encoder mapping ok
[    2.176720] NET: Registered protocol family 10
[    2.192002] sit: IPv6 over IPv4 tunneling driver
[    2.197180] NET: Registered protocol family 17
[    2.201862] Key type dns_resolver registered
[    2.206266] omap_voltage_late_init: Voltage driver support not added
[    2.213156] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.219413] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.225706] buck10: supplied by vsys_3v3
[    2.230253] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[    2.236501] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[    2.244635] Power Management for TI OMAP4+ devices.
[    2.249668] Registering SWP/SWPB emulation handler
[    2.255256] dmm 4e000000.dmm: workaround for errata i878 in use
[    2.262290] dmm 4e000000.dmm: initialized all PAT entries
[    2.268362] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
[    2.274546] tvp5158 4-0058: Unable to of_probe
[    2.280189] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok
[    2.289820] asoc-simple-card jamr3_sound: tlv320aic3x-hifi <-> 48474000.mcasp mapping ok
[    2.299032] tvp5158 4-0058: Unable to of_probe
[    2.304063] hctosys: unable to open rtc device (rtc0)
[    2.315856] vio_3v3_sd: disabling
[    2.317608] mmc1: MAN_BKOPS_EN bit is not set
[    2.323555] aic_dvdd: disabling
[    2.326721] mmc1: new HS200 MMC card at address 0001
[    2.326879] ALSA device list:
[    2.326881]   #0: DRA7xx-EVM
[    2.326883]   #1: HDMI 58040000.encoder
[    2.326884]   #2: DRA7xx-JAMR3
[    2.354823] mmcblk0: mmc1:0001 DG4008 7.28 GiB 
[    2.359494] mmcblk0boot0: mmc1:0001 DG4008 partition 1 4.00 MiB
[    2.365569] mmcblk0boot1: mmc1:0001 DG4008 partition 2 4.00 MiB
[    2.372029]  mmcblk0: p1 p2
[    2.375821] tvp5158 4-0058: Unable to of_probe
[    2.397804] EXT4-fs (mmcblk0p2): recovery complete
[    2.402619] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.410783] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    2.423583] devtmpfs: mounted
[    2.426684] Freeing unused kernel memory: 332K
[    2.431141] This architecture does not have kernel memory protection.
[    2.592425] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.592425] 
[    2.601601] CPU0: stopping
[    2.604319] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.4.84 #2
[    2.610258] Hardware name: Generic DRA74X (Flattened Device Tree)
[    2.616372] Backtrace: 
[    2.618839] [<c0013b1c>] (dump_backtrace) from [<c0013d18>] (show_stack+0x18/0x1c)
[    2.626435]  r7:c0943f00 r6:20000193 r5:00000000 r4:c0961590
[    2.632144] [<c0013d00>] (show_stack) from [<c02b39a8>] (dump_stack+0x8c/0xa0)
[    2.639395] [<c02b391c>] (dump_stack) from [<c0016e64>] (handle_IPI+0x184/0x198)
[    2.646816]  r7:c0943f00 r6:00000000 r5:00000000 r4:c093f40c
[    2.652518] [<c0016ce0>] (handle_IPI) from [<c0009528>] (gic_handle_irq+0x78/0x7c)
[    2.660112]  r7:fa212000 r6:c0943f00 r5:fa21200c r4:c09448e4
[    2.665812] [<c00094b0>] (gic_handle_irq) from [<c0014854>] (__irq_svc+0x54/0x90)
[    2.673321] Exception stack(0xc0943f00 to 0xc0943f48)
[    2.678392] 3f00: 00000001 00000000 fe600000 00000000 c0942000 c09444a4 00000000 00000000
[    2.686600] 3f20: c0943f70 c069127c c0944504 c0943f5c c0943f3c c0943f50 c00284e8 c00107a0
[    2.694805] 3f40: 60000013 ffffffff
[    2.698301]  r9:c069127c r8:c0943f70 r7:c0943f34 r6:ffffffff r5:60000013 r4:c00107a0
[    2.706109] [<c0010778>] (arch_cpu_idle) from [<c0072800>] (default_idle_call+0x28/0x34)
[    2.714231] [<c00727d8>] (default_idle_call) from [<c0072a60>] (cpu_startup_entry+0x200/0x260)
[    2.722881] [<c0072860>] (cpu_startup_entry) from [<c0688090>] (rest_init+0x90/0x94)
[    2.730650]  r7:c0944400
[    2.733197] [<c0688000>] (rest_init) from [<c08efd60>] (start_kernel+0x3d8/0x3e4)
[    2.740704]  r5:c0995000 r4:c0995040
[    2.744302] [<c08ef988>] (start_kernel) from [<8000807c>] (0x8000807c)
[    2.750856] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    2.750856] 

[END] 2019/8/22 17:09:23

  • Hi,

    Few questions,

    Are you trying this on TI EVM and with default vision_sdk binaries?


    Regards,
    Vishal

  • Hello,

    We try it on customer's board.We suspect that the uenv_emmc.txt is not match with the board. Are you have the uenv_emmc.txt for 1GB DDR configuration?If yes, can you give us a uenv_emmc.txt to try it on customer's board.

    Thanks 

    Terence

  • Hi Terence,

    Only thing that should change between SD and eMMC is the mmc device number.
    But your reference for eMMC uenv.txt looks completely from the SD card uenv.txt.

    Also, in the log I see that eMMC is enumerated and the partition is mounted successfully.
    Have you flashed the images to eMMC?

    [ 2.326721] mmc1: new HS200 MMC card at address 0001
    [ 2.326879] ALSA device list:
    [ 2.326881] #0: DRA7xx-EVM
    [ 2.326883] #1: HDMI 58040000.encoder
    [ 2.326884] #2: DRA7xx-JAMR3
    [ 2.354823] mmcblk0: mmc1:0001 DG4008 7.28 GiB
    [ 2.359494] mmcblk0boot0: mmc1:0001 DG4008 partition 1 4.00 MiB
    [ 2.365569] mmcblk0boot1: mmc1:0001 DG4008 partition 2 4.00 MiB
    [ 2.372029] mmcblk0: p1 p2
    [ 2.375821] tvp5158 4-0058: Unable to of_probe
    [ 2.397804] EXT4-fs (mmcblk0p2): recovery complete
    [ 2.402619] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)




    Regards,
    Vishal

  • Hi Vishal,

    Yes, We have flashed the images to eMMC. Do you have the uenv_emmc.txt?

    Thanks 

    Terence

  • Hi,

    The emmc uenv is not taking effect.
    According to kernel boot log you shared the bootargs are still the SD card one

    [    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 (xiachunjiang@ecarx-5288-V3) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #2 SMP PREEMPT Thu Aug 22 15:16:51 CST 2019
    [    0.000000] CPU: ARMv7 Processor [412fc0f2] revision 2 (ARMv7), cr=10c5387d
    [    0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
    [    0.000000] Machine model: TI DRA762 EVM
    [    0.000000] Reserved memory: created CMA memory pool at 0x95800000, size 56 MiB
    [    0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x99000000, size 64 MiB
    [    0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x9d000000, size 32 MiB
    [    0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible id shared-dma-pool
    [    0.000000] Reserved memory: created CMA memory pool at 0x9f000000, size 8 MiB
    [    0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0xde400000
    [    0.000000] Memory policy: Data cache writealloc
    [    0.000000] OMAP4: Map 0xdfe00000 to fe600000 for dram barrier
    [    0.000000] DRA762 ES1.0
    [    0.000000] PERCPU: Embedded 11 pages/cpu @ef1b5000 s14912 r8192 d21952 u45056
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 389696
    [    0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=00000000-02 rw rootfstype=ext4 rootwait
    [    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)
    em)
    [    0.000000] Virtual kernel memory layout:



    Regards,
    Vishal

  • Hi  Vishal,

    This uenv-emmc.txt file come from TI.  What should we have to modify it? Could you help us?

    PS:  we use TDA2PX based on visionSDK 03_05

    Thanks

    Terence

    ===============================uenv-emmc.txt==============================

    mmcargs=setenv bootargs 'console=ttyO0,115200n8 elevator=noop root=/dev/mmcblk0p2 rw rootwait earlyprintk fixrtc omapdrm.num_crtc=2 consoleblank=0 cma=64M rootfstype=ext4 snd.slots_reserved=1,1'

  • Hi,

    The only difference between SD card and eMMC bootargs should be the MMC device number.
    Could you just change the UUID command in SD card uenv.txt to use mmc 1:2 for switching to eMMC?

    fdtfile=dra76-evm-infoadas.dtb
    args_mmc=part uuid mmc 1:2 uuid; setenv bootargs "console=ttyS0,115200n8 vram=16M root=PARTUUID=${uuid} rw rootwait ip=none mem=1024M cma=128M"

    Regards,
    Vishal

  • Hi Vishal,

    Thank you very much.

    It is normal now.

    Terence