Hi,
I port VSDK 3.07 to my custom board.
My hardware is TDA2SA, 512MB memory and VSDK set the board is tda2xx_rvp_linux_all.
It is boot from SD card and the last log show:
[ 5.415811] omap_hsmmc 4809c000.mmc: Got CD GPIO
[ 5.420614] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode
[ 5.427103] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode
[ 5.433485] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode
[ 5.439879] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode
[ 5.446272] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode
[ 5.453467] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm
[ 5.459694] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm
[ 5.465949] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517
[ 5.472863] hctosys: unable to open rtc device (rtc0)
[ 5.490195] pbias_mmc_omap5: disabling
[ 5.494177] ALSA device list:
[ 5.497181] No soundcards found.
[ 5.501520] Waiting for root device PARTUUID=85698e31-02...
My board is similar to the thread
Our PMICs are not connected to SOC also. Is it necessary?
Can I skip that problem if the hardware can't fix it now?
attaches the whole log.
U-Boot SPL 2016.05 (Oct 14 2019 - 21:55:06) DRA752-GP ES2.0 Trying to boot from MMC1 i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. reading single-stage-boot.dtb spl_load_image_fat_os: error reading image single-stage-boot.dtb, err - -1 reading u-boot.img reading u-boot.img U-Boot 2016.05 (Oct 14 2019 - 21:55:06 +0800) CPU : DRA752-GP ES2.0 Board: D3 TDA2x I2C: ready DRAM: i2c_read (addr phase): pads on bus probably not configured (status=0x10) 2 GiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. reading uboot.env ** Unable to read "uboot.env" from mmc0:1 ** Using default environment i2c_write: pads on bus probably not configured (status=0x10) i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not turn CLK32KGAUDIO on: err = 2 i2c_read (addr phase): pads on bus probably not configured (status=0x10) Unable to read Board-ID i2c_read (addr phase): pads on bus probably not configured (status=0x10) i2c_read (addr phase): pads on bus probably not configured (status=0x10) Unable to read Baseboard-ID i2c_probe: pads on bus probably not configured (status=0x10) Unable to read Expansion-ID SCSI: 0 device not found ERROR: scsi device not found at drivers/block/disk-uclass.c:43/scsi_init() Net: <ethaddr> not set. Validating first E-fuse MAC i2c_read (addr phase): pads on bus probably not configured (status=0x10) i2c_read (addr phase): pads on bus probably not configured (status=0x10) Could not get PHY for cpsw: addr 2 cpsw Hit any key to stop autoboot: 0 i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. switch to partitions #0, OK mmc0 is current device i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. SD/MMC found on device 0 reading boot.scr ** Unable to read file boot.scr ** reading uEnv.txt 170 bytes read in 2 ms (83 KiB/s) Loaded env from uEnv.txt Importing environment from mmc0 ... i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. switch to partitions #0, OK mmc0 is current device i2c_write: pads on bus probably not configured (status=0x10) tps65903x: could not set LDO1 voltage. SD/MMC found on device 0 3803112 bytes read in 185 ms (19.6 MiB/s) 100080 bytes read in 16 ms (6 MiB/s) Booting from mmc0 ... Kernel image @ 0x82000000 [ 0x000000 - 0x3a07e8 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe4000, end 8ffff6ef ... 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 (terry@ap-server) (gcc version 5.3.1 20160113 (Linaro GCC 5.3-2016.02) ) #3 SMP PREEMPT Mon Oct 14 21:55:19 CST 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: D3 TDA2X FPD8CH [ 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 32 MiB [ 0.000000] Reserved memory: initialized node ipu2_cma@99000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009b000000, size 16 MiB [ 0.000000] Reserved memory: initialized node dsp1_cma@a1000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: created CMA memory pool at 0x000000009c000000, size 16 MiB [ 0.000000] Reserved memory: initialized node dsp2_cma@a3000000, compatible id shared-dma-pool [ 0.000000] Reserved memory: incorrect alignment of CMA region [ 0.000000] Reserved memory: regions without no-map are not yet supported [ 0.000000] Reserved memory: created DMA memory pool at 0x000000009d200000, size 32 MiB [ 0.000000] Reserved memory: initialized node cmem@9D200000, compatible id shared-dma-pool [ 0.000000] Reserved memory: regions without no-map are not yet supported [ 0.000000] cma: Reserved 64 MiB at 0x0000000095000000 [ 0.000000] Forcing write-allocate cache policy for SMP [ 0.000000] Memory policy: Data cache writealloc [ 0.000000] OMAP4: Map 0x000000009fd00000 to fe600000 for dram barrier [ 0.000000] DRA752 ES2.0 [ 0.000000] PERCPU: Embedded 11 pages/cpu @df5bb000 s14912 r8192 d21952 u45056 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 120960 [ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=PARTUUID=85698e31-02 rw rootwait ip=none mem=512M cma=64M [ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes) [ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes) [ 0.000000] Memory: 124168K/488448K available (6955K kernel code, 378K rwdata, 2596K rodata, 340K init, 291K bss, 233208K reserved, 131072K cma-reserved, 0K highmem) [ 0.000000] Virtual kernel memory layout: [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB) [ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB) [ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB) [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB) [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB) [ 0.000000] .text : 0xc0008000 - 0xc095c02c (9553 kB) [ 0.000000] .init : 0xc095d000 - 0xc09b2000 ( 340 kB) [ 0.000000] .data : 0xc09b2000 - 0xc0a10b20 ( 379 kB) [ 0.000000] .bss : 0xc0a12000 - 0xc0a5ad00 ( 292 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.000015] Switching to timer-based delay loop, resolution 162ns [ 0.000337] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000345] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000772] Console: colour dummy device 80x30 [ 0.000789] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000795] This ensures that you still see kernel messages. Please [ 0.000800] update your kernel commandline. [ 0.000813] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [ 0.000825] pid_max: default: 32768 minimum: 301 [ 0.000924] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.000933] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) [ 0.001480] Initializing cgroup subsys io [ 0.001497] Initializing cgroup subsys memory [ 0.001523] Initializing cgroup subsys devices [ 0.001535] Initializing cgroup subsys freezer [ 0.001546] Initializing cgroup subsys perf_event [ 0.001558] Initializing cgroup subsys pids [ 0.001584] CPU: Testing write buffer coherency: ok [ 0.001802] /cpus/cpu@0 missing clock-frequency property [ 0.001817] /cpus/cpu@1 missing clock-frequency property [ 0.001827] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001870] Setting up static identity map for 0x80008380 - 0x800083e0 [ 0.080060] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080130] Brought up 2 CPUs [ 0.080144] SMP: Total of 2 processors activated (24.59 BogoMIPS). [ 0.080150] CPU: All CPU(s) started in HYP mode. [ 0.080156] CPU: Virtualization extensions available. [ 0.080546] devtmpfs: initialized [ 0.108416] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.109361] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.313487] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.313511] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.316437] pinctrl core: initialized pinctrl subsystem [ 0.317306] NET: Registered protocol family 16 [ 0.318296] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.340221] cpuidle: using governor ladder [ 0.370244] cpuidle: using governor menu [ 0.378301] OMAP GPIO hardware version 0.1 [ 0.384824] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 ! [ 0.385243] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 ! [ 0.406856] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.406867] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.407308] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.407317] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.407887] OMAP DMA hardware revision 0.0 [ 0.451325] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.452410] edma 43300000.edma: memcpy is disabled [ 0.457153] edma 43300000.edma: TI EDMA DMA engine driver [ 0.460789] omap-iommu 40d01000.mmu: 40d01000.mmu registered [ 0.460977] omap-iommu 40d02000.mmu: 40d02000.mmu registered [ 0.461138] omap-iommu 58882000.mmu: 58882000.mmu registered [ 0.461293] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.461561] omap-iommu 41501000.mmu: 41501000.mmu registered [ 0.461747] omap-iommu 41502000.mmu: 41502000.mmu registered [ 0.463671] usbcore: registered new interface driver usbfs [ 0.463732] usbcore: registered new interface driver hub [ 0.463815] usbcore: registered new device driver usb [ 0.464769] pca953x 0-0074: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio_exp_som_default, deferring probe [ 0.465471] palmas 0-0058: IRQ missing: skipping irq request [ 1.481350] omap_i2c 48070000.i2c: timeout waiting for bus ready [ 1.481658] palmas: probe of 0-0058 failed with error -110 [ 1.481787] pca953x 0-0075: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/gpio_exp_bb_default, deferring probe [ 1.481835] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 1.481893] omap_i2c 48060000.i2c: could not find pctldev for node /ocp/l4@4a000000/scm@2000/pinmux@1400/i2c3_pins_default, deferring probe [ 1.482034] media: Linux media interface: v0.10 [ 1.482082] Linux video capture interface: v2.00 [ 1.482119] pps_core: LinuxPPS API ver. 1 registered [ 1.482126] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [ 1.482149] PTP clock support registered [ 1.482197] EDAC MC: Ver: 3.0.0 [ 1.482965] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 [ 1.483263] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [ 1.483572] Advanced Linux Sound Architecture Driver Initialized. [ 1.484434] clocksource: Switched to clocksource arch_sys_counter [ 1.494704] NET: Registered protocol family 2 [ 1.495190] TCP established hash table entries: 4096 (order: 2, 16384 bytes) [ 1.495228] TCP bind hash table entries: 4096 (order: 3, 32768 bytes) [ 1.495294] TCP: Hash tables configured (established 4096 bind 4096) [ 1.495334] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 1.495354] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 1.495560] NET: Registered protocol family 1 [ 1.495818] RPC: Registered named UNIX socket transport module. [ 1.495827] RPC: Registered udp transport module. [ 1.495834] RPC: Registered tcp transport module. [ 1.495840] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 1.496809] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 1.506698] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.507350] NFS: Registering the id_resolver key type [ 1.507379] Key type id_resolver registered [ 1.507387] Key type id_legacy registered [ 1.507454] ntfs: driver 2.1.32 [Flags: R/O]. [ 1.509584] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 1.509600] io scheduler noop registered [ 1.509611] io scheduler deadline registered [ 1.509645] io scheduler cfq registered (default) [ 1.514249] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128 [ 1.574510] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 1.577871] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 299, base_baud = 3000000) is a 8250 [ 2.522802] console [ttyS0] enabled [ 2.527220] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 300, base_baud = 3000000) is a 8250 [ 2.536906] 48422000.serial: ttyS7 at MMIO 0x48422000 (irq = 301, base_baud = 3000000) is a 8250 [ 2.546837] [drm] Initialized drm 1.1.0 20060810 [ 2.552398] omapdss_dss 58000000.dss: master bind failed: -517 [ 2.565778] loop: module loaded [ 2.569142] at24 0-0054: 65536 byte 24c512 EEPROM, writable, 128 bytes/write [ 2.576418] vmemexp device MAJOR num = 246 [ 2.580544] vmemexp class registered [ 2.584252] /dev/vmemexp device registered [ 2.588384] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120 [ 2.594915] pinctrl-single 4a003400.pinmux: pin 4a0037a4.0 already requested by 4a003400.pinmux; cannot claim for 48098000.spi [ 2.606375] pinctrl-single 4a003400.pinmux: pin-233 (48098000.spi) status -22 [ 2.613544] pinctrl-single 4a003400.pinmux: could not request pin 233 (4a0037a4.0) from group mcspi1_pins_default on device pinctrl-single [ 2.626133] omap2_mcspi 48098000.spi: Error applying setting, reverse things back [ 2.635648] m25p80 spi32766.0: unrecognized JEDEC id bytes: c8, 40, 19 [ 2.643166] libphy: Fixed MDIO Bus: probed [ 2.694465] davinci_mdio 48485000.mdio: davinci mdio revision 1.6 [ 2.700588] libphy: 48485000.mdio: probed [ 2.706248] cpsw 48484000.ethernet: Detected MACID = 90:9a:77:8d:af:a4 [ 2.712892] cpsw 48484000.ethernet: cpts: overflow check period 800 [ 2.720781] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver [ 2.727362] ehci-pci: EHCI PCI platform driver [ 2.731873] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver [ 2.738111] ohci-platform: OHCI generic platform driver [ 2.744237] mousedev: PS/2 mouse device common for all mice [ 2.750469] i2c /dev entries driver [ 2.758606] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 2.763439] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode [ 2.769926] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode [ 2.776325] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode [ 2.782706] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode [ 2.789103] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode [ 2.796077] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode [ 2.802460] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode [ 2.809163] omap_hsmmc 480b4000.mmc: no pinctrl state for ddr_1_8v mode [ 2.815826] omap_hsmmc 480b4000.mmc: no pinctrl state for hs200_1_8v mode [ 2.822790] VDD_3V3: supplied by VDD_3V3_IN [ 2.868598] ledtrig-cpu: registered to indicate activity on CPUs [ 2.881751] NET: Registered protocol family 10 [ 2.886950] sit: IPv6 over IPv4 tunneling driver [ 2.892126] NET: Registered protocol family 17 [ 2.896838] Key type dns_resolver registered [ 2.901279] omap_voltage_late_init: Voltage driver support not added [ 2.908196] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 2.914403] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 2.920680] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517 [ 2.927323] Power Management for TI OMAP4+ devices. [ 2.932462] Registering SWP/SWPB emulation handler [ 2.938689] dmm 4e000000.dmm: workaround for errata i878 in use [ 2.946233] dmm 4e000000.dmm: initialized all PAT entries [ 2.951679] mmc0: MAN_BKOPS_EN bit is not set [ 2.957121] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 [ 2.961782] mmc0: new high speed MMC card at address 0001 [ 2.972302] mmcblk0: mmc0:0001 MMC04G 3.60 GiB [ 2.977097] mmcblk0boot0: mmc0:0001 MMC04G partition 1 2.00 MiB [ 2.983280] mmcblk0boot1: mmc0:0001 MMC04G partition 2 2.00 MiB [ 4.004456] omap_i2c 48070000.i2c: timeout waiting for bus ready [ 4.010496] pca953x 0-0074: failed reading register [ 4.015448] pca953x: probe of 0-0074 failed with error -110 [ 5.034452] omap_i2c 48070000.i2c: timeout waiting for bus ready [ 5.040492] pca953x 0-0075: failed reading register [ 5.045423] pca953x: probe of 0-0075 failed with error -110 [ 5.378404] fpd3_serdes 2-000c: Not a fpd3_24b_ser chip [ 5.383663] fpd3_serdes: probe of 19-002c failed with error -5 [ 5.389585] i2c i2c-19: of_i2c: invalid reg on /ocp/i2c@48060000/serializer@0c/display@0 [ 5.397749] fpd3_serdes 2-000c: Serializer fpd3_24b_ser ready [ 5.403548] omap_i2c 48060000.i2c: bus 2 rev0.12 at 100 kHz [ 5.409448] omapdss_dss 58000000.dss: master bind failed: -517 [ 5.415811] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 5.420614] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr104 mode [ 5.427103] omap_hsmmc 4809c000.mmc: no pinctrl state for ddr50 mode [ 5.433485] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr50 mode [ 5.439879] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr25 mode [ 5.446272] omap_hsmmc 4809c000.mmc: no pinctrl state for sdr12 mode [ 5.453467] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 5.459694] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 5.465949] ti_oppdm 4a003b20.oppdm: Unable to get vdd regulator:-517 [ 5.472863] hctosys: unable to open rtc device (rtc0) [ 5.490195] pbias_mmc_omap5: disabling [ 5.494177] ALSA device list: [ 5.497181] No soundcards found. [ 5.501520] Waiting for root device PARTUUID=85698e31-02...
Regards,
Terry