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.

Linux/AM5728: Kernel boot issue

Part Number: AM5728


Tool/software: Linux

Hello,

I am using am5728 custom board. on that board while booting linux kernal through sd card it gets stuck after starting kernal msg. as follows

SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
** Unable to read file uEnv.txt **
i2c_write: error waiting for addr ACK (status=0x116)
tps65903x: could not set LDO1 voltage.
switch to partitions #0, OK
mmc0 is current device
i2c_write: error waiting for addr ACK (status=0x116)
tps65903x: could not set LDO1 voltage.
SD/MMC found on device 0
3716560 MARS bytes read in 358 ms (9.9 MiB/s)
97002 MARS bytes read in 39 ms (2.4 MiB/s)
Booting from mmc0 ...
Kernel image @ 0x82000000 [ 0x000000 - 0x38b5d0 ]
## Flattened Device Tree blob at 88000000
   Booting using the fdt blob at 0x88000000
   Loading Device Tree to 8ffe5000, end 8ffffae9 ... OK

Starting kernel ...

Thanks...

  • Hi Hardik,

    Do you use AM57x TI PSDK v4.03?

    Check also the below links:

    processors.wiki.ti.com/.../Kernel_-_Common_Problems_Booting_Linux

    e2e.ti.com/.../2231166

    Regards,
    Pavel
  • Hello Pavel sir,

    thanks for replying
    Yes, I am using TI sdk 04.03.00.05 version...
  • Hardik,

    Check the links provided in my previous post, these are applicable for this SDK version.

    Regards,
    Pavel
  • hello pavel sir,

    yeah I 'av tried the changes mentioned in the link which you 'av suggested...

    but kernal is still not booting up.

    i 'av also tried with older version of sdk i.e. 02.00.01.07 in this sdk version after some changes it is booting up.

    but we want to build kernal of sdk version 04.03.00.05

    I 'av observed one more thing i.e. the rootfs size of 4.3 sdk (new version)<5.0gb approx>   is much higher then 2.0 sdk( old version)<2.5gb approx>. Is it can be one of the affecting factor???

    in one of the article i found in this type of case we need to modify something in dtb file

    kindly suggest if any other manual changes is required to b done..

    Thanks & regards

    Hardik Sodha.

  • Hardik,

    HARDIK SODHA said:
    I 'av observed one more thing i.e. the rootfs size of 4.3 sdk (new version)<5.0gb approx>   is much higher then 2.0 sdk( old version)<2.5gb approx>. Is it can be one of the affecting factor???

    No, this can not be affecting factor. You have a problem with kernel image loading, while rootfs loading/mounting will happen at later stage.

    You should create bootable SD card with the {PSDK4.03}/bin/create-sdcard.sh script, and you should replace the pre-built images (MLO, u-boot.img, zImage, dtb) with your own custom images. See the below wiki page for more details:

    software-dl.ti.com/.../Overview.html

  • HARDIK SODHA said:

    in one of the article i found in this type of case we need to modify something in dtb file

    kindly suggest if any other manual changes is required to b done..

    You need to make sure that you are using the correct DTB file for your custom board.

    For example, on AM572x TI EVM, we use am57xx-evm.dtb file. This can be checked from the u-boot prompt:

    => echo $board_name
    am57xx_evm
    => print fdtfile
    fdtfile=undefined
    => print findfdt
    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; 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 = 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;

    See also below wiki page:

    Regards,
    Pavel

  • ot SPL 2015.07-00002-g7a1ec79-dirty (Jan 03 2017 - 17:30:43)
    DRA752 ES1.1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img
    ti_i2c_eeprom_init failed 1
    
    
    U-Boot 2015.07-00002-g7a1ec79-dirty (Jan 03 2017 - 17:30:43 +0530)
    
    CPU  : DRA752 ES1.1
    Board: UNKNOWN(BeagleBoard X15?)
    I2C:   ready
    DRAM:  1 GiB
    MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1, OMAP SD/MMC: 2
    i2c_write: error waiting for addr ACK (status=0x116)
    tps65903x: could not set LDO1 voltage.
    reading uboot.env
    Invalid EEPROM data(@0x4031e028). Default to X15
    i2c_write: error waiting for addr ACK (status=0x116)
    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:   Phy 1 not found
    cpsw
     spi wordlen 8 
    Status register : 0xff 
    Serial SRAM Data 
    255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
    255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	255 	
     Tamper Serial Number : 0x53 0x26 0x59 0x42 0x4 0x14 0xa1 0x87 
    @@@@@@@@@@@@@@@@@@@@@@@ Radio is Not Tampered @@@@@@@@@@@@@@@@@@@@@@@@@@@@ 
     Hit any key to stop autoboot:  0 
    U-Boot# 
    U-Boot# 
    U-Boot# 
    U-Boot# 
    U-Boot# 
    U-Boot# 
    U-Boot# setenv fdtfile "am57xx-evm.dtb"
    U-Boot# setenv finduuid "part uuid mmc 0:2 uuid"
    U-Boot# setenv mmcdev "0"
    U-Boot# setenv bootpart "0:2"
    U-Boot# <INTERRUPT>
    U-Boot# setenv fdtfile "am57xx-evm-try1
    U-Boot# setenv finduuid "part uuid mmc 0:2 uuid"
    U-Boot# setenv mmcdev "0"
    U-Boot# setenv bootpart "0:2"
    U-Boot# saveenv
    Saving Environment to FAT...
    writing uboot.env
    done
    U-Boot# run 
    i2c_write: error waiting for addr ACK (status=0x116)
    tps65903x: could not set LDO1 voltage.
    switch to partitions #0, OK
    mmc0 is current device
    i2c_write: error waiting for addr ACK (status=0x116)
    tps65903x: could not set LDO1 voltage.
    SD/MMC found on device 0
    3758376 MARS bytes read in 359 ms (10 MiB/s)
    106550 MARS bytes read in 38 ms (2.7 MiB/s)
    Booting from mmc0 ...
    Kernel image @ 0x82000000 [ 0x000000 - 0x395928 ]
    ## Flattened Device Tree blob at 88000000
       Booting using the fdt blob at 0x88000000
       Loading Device Tree to 8ffe2000, end 8ffff035 ... OK
    
    Starting kernel ...
    
    [    0.000000] Booting Linux on physical CPU 0x0
    [    0.000000] Linux version 4.9.69-g9ce43c71ae (root@icsltd) (gcc version 6.2.1 20161016 (Linaro GCC 6.2-2016.11) ) #1 SMP PREEMPT Thu May 10 12:30:37 IST 2018
    [    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 AM572x EVM Rev A3
    [    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_cma@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_cma@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_cma@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_cma@9f000000, compatible id shared-dma-pool
    [    0.000000] cma: Reserved 24 MiB at 0x00000000be400000
    [    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 13 pages/cpu @ef63c000 s22028 r8192 d23028 u53248
    [    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 210240
    [    0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=58408bf4-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)
    [    0.000000] Memory: 635312K/847872K available (8192K kernel code, 317K rwdata, 2436K rodata, 2048K init, 304K bss, 24144K reserved, 188416K cma-reserved, 233472K 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 - 0xc0a00000   (10208 kB)
    [    0.000000]       .init : 0xc0e00000 - 0xc1000000   (2048 kB)
    [    0.000000]       .data : 0xc1000000 - 0xc104f408   ( 318 kB)
    [    0.000000]        .bss : 0xc1051000 - 0xc109d170   ( 305 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] OMAP clockevent source: timer1 at 32786 Hz
    [    0.000000] arm_arch_timer: Architected cp15 timer(s) running at 6.14MHz (virt).
    [    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.000320] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns
    [    0.000329] OMAP clocksource: 32k_counter at 32768 Hz
    [    0.000746] Console: colour dummy device 80x30
    [    0.000764] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [    0.000771] This ensures that you still see kernel messages. Please
    [    0.000777] update your kernel commandline.
    [    0.000794] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475)
    [    0.000806] pid_max: default: 32768 minimum: 301
    [    0.000908] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.000919] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [    0.001568] CPU: Testing write buffer coherency: ok
    [    0.001787] /cpus/cpu@0 missing clock-frequency property
    [    0.001802] /cpus/cpu@1 missing clock-frequency property
    [    0.001814] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [    0.001831] Setting up static identity map for 0x80200000 - 0x80200060
    [    0.080065] EFI services will not be available.
    [    0.170219] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [    0.170307] Brought up 2 CPUs
    [    0.170320] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [    0.170327] CPU: All CPU(s) started in SVC mode.
    [    0.170786] devtmpfs: initialized
    [    0.199096] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0
    [    0.199341] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
    [    0.199358] futex hash table entries: 512 (order: 3, 32768 bytes)
    [    0.202907] pinctrl core: initialized pinctrl subsystem
    [    0.203749] NET: Registered protocol family 16
    [    0.204634] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [    0.205697] omap_hwmod: l3_main_2 using broken dt data from ocp
    [    0.430364] cpuidle: using governor ladder
    [    0.470400] cpuidle: using governor menu
    [    0.480277] OMAP GPIO hardware version 0.1
    [    0.494919] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 !
    [    0.521460] No ATAGs?
    [    0.521486] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
    [    0.521495] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [    0.521857] omap4_sram_init:Unable to allocate sram needed to handle errata I688
    [    0.521867] omap4_sram_init:Unable to get sram pool needed to handle errata I688
    [    0.522416] OMAP DMA hardware revision 0.0
    [    0.581697] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported)
    [    0.582999] edma 43300000.edma: memcpy is disabled
    [    0.587844] edma 43300000.edma: TI EDMA DMA engine driver
    [    0.592346] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [    0.592520] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [    0.592675] omap-iommu 58882000.mmu: 58882000.mmu registered
    [    0.592828] omap-iommu 55082000.mmu: 55082000.mmu registered
    [    0.593093] omap-iommu 41501000.mmu: 41501000.mmu registered
    [    0.593278] omap-iommu 41502000.mmu: 41502000.mmu registered
    [    0.595980] palmas 0-0058: Irq flag is 0x00000008
    [    0.620652] palmas 0-0058: POLARITY_CTRL updat failed: -121
    [    0.620974] palmas: probe of 0-0058 failed with error -121
    [    0.621326] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [    0.621835] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz
    [    0.622313] omap_i2c 4807c000.i2c: bus 4 rev0.12 at 400 kHz
    [    0.622485] media: Linux media interface: v0.10
    [    0.622531] Linux video capture interface: v2.00
    [    0.622572] pps_core: LinuxPPS API ver. 1 registered
    [    0.622579] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [    0.622601] PTP clock support registered
    [    0.622633] EDAC MC: Ver: 3.0.0
    [    0.623546] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [    0.623831] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [    0.624112] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [    0.624392] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [    0.624717] Advanced Linux Sound Architecture Driver Initialized.
    [    0.625521] clocksource: Switched to clocksource arch_sys_counter
    [    0.635767] NET: Registered protocol family 2
    [    0.636259] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [    0.636324] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
    [    0.636449] TCP: Hash tables configured (established 8192 bind 8192)
    [    0.636500] UDP hash table entries: 512 (order: 2, 16384 bytes)
    [    0.636532] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
    [    0.636721] NET: Registered protocol family 1
    [    0.637008] RPC: Registered named UNIX socket transport module.
    [    0.637017] RPC: Registered udp transport module.
    [    0.637024] RPC: Registered tcp transport module.
    [    0.637030] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [    0.637949] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available
    [    0.640832] workingset: timestamp_bits=14 max_order=18 bucket_order=4
    [    0.648170] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [    0.648879] NFS: Registering the id_resolver key type
    [    0.648912] Key type id_resolver registered
    [    0.648920] Key type id_legacy registered
    [    0.648959] ntfs: driver 2.1.32 [Flags: R/O].
    [    0.650127] bounce: pool size: 64 pages
    [    0.650268] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)
    [    0.650278] io scheduler noop registered
    [    0.650287] io scheduler deadline registered
    [    0.650425] io scheduler cfq registered (default)
    [    0.654913] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [    0.658125] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1
    [    0.658439] OF: PCI: host bridge /ocp/axi@0/pcie@51000000 ranges:
    [    0.658451] OF: PCI:   No bus range found for /ocp/axi@0/pcie@51000000, using [bus 00-ff]
    [    0.658484] OF: PCI:    IO 0x20003000..0x20012fff -> 0x00000000
    [    0.658505] OF: PCI:   MEM 0x20013000..0x2fffffff -> 0x20013000
    [    1.659934] dra7-pcie 51000000.pcie: phy link never came up
    [    1.660105] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00
    [    1.660118] pci_bus 0000:00: root bus resource [bus 00-ff]
    [    1.660129] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
    [    1.660140] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [    1.660509] PCI: bus0: Fast back to back transfers disabled
    [    1.660622] PCI: bus1: Fast back to back transfers enabled
    [    1.660739] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [    1.660755] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [    1.660768] pci 0000:00:00.0: PCI bridge to [bus 01]
    [    1.660989] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [    1.662097] backlight supply power not found, using dummy regulator
    [    1.722700] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [    1.726171] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud = 3000000) is a 8250
    [    2.675052] console [ttyS2] enabled
    [    2.679428] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 302, base_baud = 3000000) is a 8250
    [    2.690122] omap_rng 48090000.rng: OMAP Random Number Generator ver. 20
    [    2.696897] [drm] Initialized
    [    2.701261] omapdss_dss 58000000.dss: master bind failed: -517
    [    2.707906] tpd12s015 encoder: failed to find video source
    [    2.714121] connector-hdmi connector: failed to find video source
    [    2.720583] display supply vcc not found, using dummy regulator
    [    2.726679] panel-dpi display: failed to find video source
    [    2.743003] brd: module loaded
    [    2.791464] loop: module loaded
    [    2.819784] libphy: Fixed MDIO Bus: probed
    [    2.885556] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [    2.891681] libphy: 48485000.mdio: probed
    [    2.898199] cpsw 48484000.ethernet: Detected MACID = 7c:ec:79:8d:b5:62
    [    2.904813] cpsw 48484000.ethernet: device node lookup for pps timer failed
    [    2.911860] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies)
    [    2.920019] cpsw 48484000.ethernet: cpsw: Detected MACID = 7c:ec:79:8d:b5:63
    [    2.928574] mousedev: PS/2 mouse device common for all mice
    [    2.934504] i2c /dev entries driver
    [    2.940128] tmp102 0-0048: error reading config register
    [    2.945578] tmp102: probe of 0-0048 failed with error -121
    [    2.954763] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    2.960499] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    2.966903] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.030061] ledtrig-cpu: registered to indicate activity on CPUs
    [    3.038087] davinci-mcasp 48468000.mcasp: ERRATA i868 workaround is enabled
    [    3.047222] NET: Registered protocol family 10
    [    3.062623] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
    [    3.069125] NET: Registered protocol family 17
    [    3.073776] Key type dns_resolver registered
    [    3.078206] omap_voltage_late_init: Voltage driver support not added
    [    3.084688] Power Management for TI OMAP4+ devices.
    [    3.089848] Registering SWP/SWPB emulation handler
    [    3.106827] dmm 4e000000.dmm: workaround for errata i878 in use
    [    3.114407] dmm 4e000000.dmm: initialized all PAT entries
    [    3.121281] omapdss_dss 58000000.dss: master bind failed: -517
    [    3.127440] tpd12s015 encoder: failed to find video source
    [    3.133220] connector-hdmi connector: failed to find video source
    [    3.139695] display supply vcc not found, using dummy regulator
    [    3.145804] panel-dpi display: failed to find video source
    [    3.152544] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.158422] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.164806] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.172764] input: gpio_keys as /devices/platform/gpio_keys/input/input0
    [    3.180734] omapdss_dss 58000000.dss: master bind failed: -517
    [    3.186673] hctosys: unable to open rtc device (rtc0)
    [    3.187414] vdd_3v3: disabling
    [    3.187418] aic_dvdd_fixed: disabling
    [    3.187422] vmmcwl_fixed: disabling
    [    3.187427] pbias_mmc_omap5: disabling
    [    3.187438] ALSA device list:
    [    3.187440]   No soundcards found.
    [    3.213871] tpd12s015 encoder: failed to find video source
    [    3.219693] connector-hdmi connector: failed to find video source
    [    3.226162] display supply vcc not found, using dummy regulator
    [    3.232249] panel-dpi display: failed to find video source
    [    3.239013] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.244816] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.251232] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [    3.258113] Waiting for root device PARTUUID=58408bf4-02...
    

    hello sir,

    Thank you so much for your constant support...

    Now, I have tried a bit changes in .dtb file. as I am not having deep knowledge of .dtb so changes i av made are very minute.

    then too kernel booting getting stuck at one point as followed statement on terminal..

    (Waiting for root device PARTUUID=58408bf4-02...

    I 'av attached the log of booting terminal for your better clearity.

    Thanks & Regards,

    Hardik Sodha

  • Hardik,

    Running PSDK v4.03 pre-built images on AM572x TI EVM, I have the below messages:

    [    3.232524] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [    3.310591] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [    3.316973] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode

    .............

    [    3.567223] mmc0: host does not support reading read-only switch, assuming write-enable

    [    3.577187] mmc0: new high speed SDHC card at address b368
    [    3.582964] mmcblk0: mmc0:b368 SD    7.70 GiB
    [    3.589479]  mmcblk0: p1 p2
    [    3.595711] [drm] No driver support for vblank timestamp query.
    [    3.599036] mmc1: new DDR MMC card at address 0001
    [    3.608265] [drm] Enabling DMM ywrap scrolling
    [    3.609419] mmcblk1: mmc1:0001 S10004 3.56 GiB
    [    3.619616] mmcblk1boot0: mmc1:0001 S10004 partition 1 4.00 MiB
    [    3.619771] mmcblk1boot1: mmc1:0001 S10004 partition 2 4.00 MiB
    [    3.620378]  mmcblk1: p1 p2 p3

    [    3.797905] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)

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

    I notice that you are using u-boot 2015.07 with kernel 4.9.69, while PSDK v4.03 comes with u-boot 2017.01 and kernel 4.9.69. I would suggest you to switch to PSDK v4.03 u-boot also, not only to kernel. And you should create your SD card with create-sdcard.sh script, see my previous post for details.

    See also the below e2e threads:

    Regards,
    Pavel