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: IDK based board fails to boot

Part Number: AM5728
Other Parts Discussed in Thread: PMP, BEAGLEBOARD-X15, , DRA752

Tool/software: Linux

Hi all,our custom board boot from sd card failed ,the log ouput as follow:

U-Boot SPL 2016.05 (Dec 16 2017 - 21:23:37)
DRA752-GP ES2.0
Trying to boot from MMC1
i2c_write: error waiting for addr ACK (status=0x116)
tps65903x: could not set LDO1 voltage.
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2016.05 (Dec 16 2017 - 21:23:37 +0800)

CPU : DRA752-GP ES2.0
Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
I2C: ready
DRAM: 2 GiB
MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1
i2c_write: error waiting for addr ACK (status=0x116)
tps65903x: could not set LDO1 voltage.
reading uboot.env

** Unable to read "uboot.env" from mmc0:1 **
Using default environment

i2c_write: error waiting for addr ACK (status=0x116)
i2c_read: error waiting for addr ACK (status=0x116)
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: <ethaddr> not set. Validating first E-fuse MAC
Could not get PHY for cpsw: addr 1
cpsw
Hit any key to stop autoboot: 2

and it will repet to output these information,we have no ID eeprom on our board,we don't know how to solve the iic write error.we see the the schematic about the idk on page 5,

the resistor R572 and R588 should be remove? or because of other problem?

our sdk version is ti-processor-sdk-linux-rt-am57xx-evm-03.03.00.04.

  • The software team have been notified. They will respond here.
  • thanks Biser,after we modify the am57xx_evm_defconfig in the u-boot-<version>/configs/ ,the uboot seem to start,and enter the

    kernel,but after enter part of kernel ,it stopped. the log output as follow:


    U-Boot SPL 2016.05-00319-ge811b89-dirty (Jan 15 2018 - 00:33:58)
    DRA752-GP ES2.0
    Trying to boot from MMC1
    reading args
    spl_load_image_fat_os: error reading image args, err - -1
    reading u-boot.img
    reading u-boot.img


    U-Boot 2016.05-00319-ge811b89-dirty (Jan 15 2018 - 00:33:58 -0800)

    CPU : DRA752-GP ES2.0
    Model: TI AM5728 BeagleBoard-X15
    Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN
    DRAM: 2 GiB
    MMC: no pinctrl for sdr104
    no pinctrl for ddr50
    no pinctrl for sdr50
    no pinctrl for sdr25
    no pinctrl for sdr12
    OMAP SD/MMC: 0, OMAP SD/MMC: 1
    reading uboot.env

    ** Unable to read "uboot.env" from mmc0:1 **
    Using default environment

    I2C chip 50: requested alen 2 does not match chip offset_len 1
    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: Could not get PHY for ethernet@48484000: addr 1

    Warning: ethernet@48484000 using MAC address from ROM
    eth0: ethernet@48484000
    Hit any key to stop autoboot: 0
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    reading boot.scr
    ** Unable to read file boot.scr **
    reading uEnv.txt
    ** Unable to read file uEnv.txt **
    switch to partitions #0, OK
    mmc0 is current device
    SD/MMC found on device 0
    3572856 bytes read in 859 ms (4 MiB/s)
    101499 bytes read in 41 ms (2.4 MiB/s)
    Kernel image @ 0x82000000 [ 0x000000 - 0x368478 ]
    ## Flattened Device Tree blob at 88000000
    Booting using the fdt blob at 0x88000000
    Loading Device Tree to 8ffe4000, end 8ffffc7a ... 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.41-rt50-g968d071ce9 (wyj@ubuntu) (gcc version 8
    [ 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 JN-mini5728
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000095800000, B
    [ 0.000000] Reserved memory: initialized node ipu2_cma@95800000, compatible l
    [ 0.000000] Reserved memory: created CMA memory pool at 0x0000000099000000, B
    [ 0.000000] Reserved memory: initialized node dsp1_cma@99000000, compatible l
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009d000000, B
    [ 0.000000] Reserved memory: initialized node ipu1_cma@9d000000, compatible l
    [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009f000000, B
    [ 0.000000] Reserved memory: initialized node dsp2_cma@9f000000, compatible l
    [ 0.000000] cma: Reserved 24 MiB at 0x00000000fe400000
    [ 0.000000] Forcing write-allocate cache policy for SMP
    [ 0.000000] Memory policy: Data cache writealloc
    [ 0.000000] OMAP4: Map 0x00000000ffd00000 to fe600000 for dram barrier
    [ 0.000000] DRA752 ES2.0
    [ 0.000000] PERCPU: Embedded 11 pages/cpu @eed21000 s15360 r8192 d21504 u4506
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pa0
    [ 0.000000] Kernel command line: console=ttyO2,115200n8 root=PARTUUID=000886t
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 1680068K/1897472K available (6543K kernel code, 368K rwd)
    [ 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 - 0xc08c1034 (8933 kB)
    [ 0.000000] .init : 0xc08c2000 - 0xc0916000 ( 336 kB)
    [ 0.000000] .data : 0xc0916000 - 0xc09723a0 ( 369 kB)
    [ 0.000000] .bss : 0xc0975000 - 0xc09c7eec ( 332 kB)
    [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
    [ 0.000000] Preemptible hierarchical RCU implementation.
    [ 0.000000] RCU kthread priority: 1.
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] ti_dt_clocks_register: failed to lookup clock node gmac_gmii_refv
    [ 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_cycless
    [ 0.000004] sched_clock: 56 bits at 6MHz, resolution 162ns, wraps every 4398s
    [ 0.000010] Switching to timer-based delay loop, resolution 162ns
    [ 0.000330] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xfffffffs
    [ 0.000333] OMAP clocksource: 32k_counter at 32768 Hz
    [ 0.000767] Console: colour dummy device 80x30
    [ 0.000887] WARNING: Your 'console=ttyO2' has been replaced by 'ttyS2'
    [ 0.000889] This ensures that you still see kernel messages. Please
    [ 0.000891] update your kernel commandline.
    [ 0.000904] Calibrating delay loop (skipped), value calculated using timer f)
    [ 0.000907] pid_max: default: 32768 minimum: 301
    [ 0.000999] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001005] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
    [ 0.001552] Initializing cgroup subsys io
    [ 0.001563] Initializing cgroup subsys memory
    [ 0.001584] Initializing cgroup subsys devices
    [ 0.001593] Initializing cgroup subsys freezer
    [ 0.001600] Initializing cgroup subsys perf_event
    [ 0.001608] Initializing cgroup subsys pids
    [ 0.001652] CPU: Testing write buffer coherency: ok
    [ 0.001832] /cpus/cpu@0 missing clock-frequency property
    [ 0.001876] /cpus/cpu@1 missing clock-frequency property
    [ 0.001886] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
    [ 0.001919] Setting up static identity map for 0x800082c0 - 0x80008320
    [ 0.120145] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
    [ 0.120234] Brought up 2 CPUs
    [ 0.120248] SMP: Total of 2 processors activated (24.59 BogoMIPS).
    [ 0.120256] CPU: All CPU(s) started in HYP mode.
    [ 0.120261] CPU: Virtualization extensions available.
    [ 0.120669] devtmpfs: initialized
    [ 0.150002] VFP support v0.3: implementor 41 architecture 4 part 30 variant 0
    [ 0.150960] omap_hwmod: l3_main_2 using broken dt data from ocp
    [ 0.353818] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, ms
    [ 0.357813] pinctrl core: initialized pinctrl subsystem
    [ 0.358677] NET: Registered protocol family 16
    [ 0.359868] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.369601] OMAP GPIO hardware version 0.1
    [ 0.376975] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@14!
    [ 0.401810] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint.
    [ 0.401822] hw-breakpoint: maximum watchpoint size is 8 bytes.
    [ 0.402287] omap4_sram_init:Unable to allocate sram needed to handle errata 8
    [ 0.402297] omap4_sram_init:Unable to get sram pool needed to handle errata 8
    [ 0.402966] OMAP DMA hardware revision 0.0
    [ 0.451954] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver )
    [ 0.453278] edma 43300000.edma: memcpy is disabled
    [ 0.458166] edma 43300000.edma: TI EDMA DMA engine driver
    [ 0.462302] omap-iommu 40d01000.mmu: 40d01000.mmu registered
    [ 0.462567] omap-iommu 40d02000.mmu: 40d02000.mmu registered
    [ 0.462804] omap-iommu 58882000.mmu: 58882000.mmu registered
    [ 0.463056] omap-iommu 55082000.mmu: 55082000.mmu registered
    [ 0.463414] omap-iommu 41501000.mmu: 41501000.mmu registered
    [ 0.463668] omap-iommu 41502000.mmu: 41502000.mmu registered
    [ 0.466616] palmas 0-0058: Irq flag is 0x00000004
    [ 0.482175] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0
    [ 0.564702] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz
    [ 0.564924] media: Linux media interface: v0.10
    [ 0.564975] Linux video capture interface: v2.00
    [ 0.565015] pps_core: LinuxPPS API ver. 1 registered
    [ 0.565022] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giom>
    [ 0.565046] PTP clock support registered
    [ 0.565093] EDAC MC: Ver: 3.0.0
    [ 0.565888] omap-mailbox 4883c000.mailbox: omap mailbox rev 0x400
    [ 0.566180] omap-mailbox 4883e000.mailbox: omap mailbox rev 0x400
    [ 0.566483] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400
    [ 0.566774] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400
    [ 0.567131] Advanced Linux Sound Architecture Driver Initialized.
    [ 0.568004] clocksource: Switched to clocksource arch_sys_counter
    [ 0.578585] NET: Registered protocol family 2
    [ 0.579119] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.579193] TCP bind hash table entries: 8192 (order: 5, 229376 bytes)
    [ 0.579490] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.579546] UDP hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.579601] UDP-Lite hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.579870] NET: Registered protocol family 1
    [ 0.580133] RPC: Registered named UNIX socket transport module.
    [ 0.580142] RPC: Registered udp transport module.
    [ 0.580149] RPC: Registered tcp transport module.
    [ 0.580155] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.581168] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counte
    [ 0.583651] futex hash table entries: 512 (order: 3, 32768 bytes)
    [ 0.591644] squashfs: version 4.0 (2009/01/31) Phillip Lougher
    [ 0.592312] NFS: Registering the id_resolver key type
    [ 0.592343] Key type id_resolver registered
    [ 0.592351] Key type id_legacy registered
    [ 0.592407] ntfs: driver 2.1.32 [Flags: R/O].
    [ 0.594479] bounce: pool size: 64 pages
    [ 0.594634] Block layer SCSI generic (bsg) driver version 0.4 loaded (major )
    [ 0.594651] io scheduler noop registered
    [ 0.594663] io scheduler deadline registered
    [ 0.594907] io scheduler cfq registered (default)
    [ 0.597148] ldousb: supplied by VMAIN
    [ 0.600605] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128
    [ 0.603994] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges:
    [ 0.604005] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus]
    [ 0.604038] IO 0x20003000..0x20012fff -> 0x00000000
    [ 0.604059] MEM 0x20013000..0x2fffffff -> 0x20013000
    [ 0.634553] dra7-pcie 51000000.pcie_rc: link is not up
    [ 0.634734] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00
    [ 0.634748] pci_bus 0000:00: root bus resource [bus 00-ff]
    [ 0.634759] pci_bus 0000:00: root bus resource [io 0x0000-0xffff]
    [ 0.634769] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff]
    [ 0.635211] PCI: bus0: Fast back to back transfers disabled
    [ 0.635334] PCI: bus1: Fast back to back transfers enabled
    [ 0.635420] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff]
    [ 0.635435] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff]
    [ 0.635448] pci 0000:00:00.0: PCI bridge to [bus 01]
    [ 0.635760] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt
    [ 0.694795] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
    [ 0.697842] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 301, base_baud 0
    [ 1.633857] console [ttyS2] enabled
    [ 1.638583] [drm] Initialized drm 1.1.0 20060810
    [ 1.644884] ldoln: supplied by VMAIN
    [ 1.649053] OMAP DSS rev 6.1
    [ 1.652840] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_compon)
    [ 1.661276] omapdss_dss 58000000.dss: bound 58040000.encoder (ops hdmi5_comp)
    [ 1.677338] loop: module loaded
    [ 1.683934] m25p80 spi32766.0: unrecognized JEDEC id bytes: 00, 0, 0
    [ 1.691521] libphy: Fixed MDIO Bus: probed
    [ 1.738033] davinci_mdio 48485000.mdio: davinci mdio revision 1.6
    [ 1.744158] davinci_mdio 48485000.mdio: no live phy, scanning all
    [ 1.751705] davinci_mdio: probe of 48485000.mdio failed with error -5
    [ 1.758912] cpsw 48484000.ethernet: Detected MACID = c8:fd:19:bd:ed:60
    [ 1.765561] cpsw 48484000.ethernet: cpts: overflow check period 800
    [ 1.772550] cpsw 48484000.ethernet: cpsw: Detected MACID = c8:fd:19:bd:ed:61
    [ 1.781077] mousedev: PS/2 mouse device common for all mice
    [ 1.797106] i2c /dev entries driver
    [ 1.803440] omap_hsmmc 4809c000.mmc: Got CD GPIO
    [ 1.808517] smps9: supplied by VMAIN
    [ 1.812324] V3_3D: supplied by smps9
    [ 1.816214] ldo1: supplied by VMAIN
    [ 1.858626] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode
    [ 1.865009] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode
    [ 1.909161] leds-gpio: probe of leds@1 failed with error -2
    [ 1.917848] NET: Registered protocol family 10
    [ 1.933362] sit: IPv6 over IPv4 tunneling driver
    [ 1.938619] NET: Registered protocol family 17
    [ 1.943314] Key type dns_resolver registered
    [ 1.947753] omap_voltage_late_init: Voltage driver support not added
    [ 1.954394] Power Management for TI OMAP4+ devices.
    [ 1.959547] Registering SWP/SWPB emulation handler
    [ 1.967377] dmm 4e000000.dmm: initialized all PAT entries
    [ 1.973258] ldo3: supplied by VMAIN
    [ 1.981060] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
    [ 1.987705] [drm] No driver support for vblank timestamp query.
    [ 1.994895] omapdss error: HDMI I2C Master Error
    [ 2.004761] [drm] Enabling DMM ywrap scrolling
    [ 2.010152] omap_hsmmc 4809c000.mmc: card busy
    [ 2.015885] Console: switching to colour frame buffer device 128x48
    [ 2.032291] omapdrm omapdrm.0: fb0: omapdrm frame buffer device
    [ 2.051523] mmc0: error -110 whilst initialising SD card
    [ 2.078445] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0
    [ 2.084398] omapdss error: HDMI I2C Master Error
    [ 2.098844] hctosys: unable to open rtc device (rtc0)
    [ 2.119793] ALSA device list:
    [ 2.122777] No soundcards found.
    [ 2.127323] Waiting for root device PARTUUID=00088697-02...
    [ 2.301412] mmc1: MAN_BKOPS_EN bit is not set
    [ 2.307951] mmc1: new DDR MMC card at address 0001
    [ 2.313222] mmcblk0: mmc1:0001 MMC08G 7.27 GiB
    [ 2.318019] mmcblk0boot0: mmc1:0001 MMC08G partition 1 16.0 MiB
    [ 2.324169] mmcblk0boot1: mmc1:0001 MMC08G partition 2 16.0 MiB


    it stopped here,is there somewhere we config error?
  • Hello yongjun,

    You got the same error log as in this thread.
    Can you try to replace the SD card with different class/vendor SD card?

    Best regards,
    Kemal

  • Hello Kemal.thanks for your reply.we will try to replace the other SD card to test it.
  • Hi Kemal.we test two class 10 SD cards which both are 32G,the vendor is TOSHIBA and SAMSUNG,both are failed,and last we test SANDISK class 4 and 4G capacity,it succceded.Thanks very much to your help.