Spaces:

arjun.a
range data
5aefcf4
raw
history blame
18.6 kB
Ticket Name: Linux/TDA2: how to boot from virtual machine targetfs
Query Text:
Part Number: TDA2 Other Parts Discussed in Thread: PMP, DRA742, DRA752 Tool/software: Linux this is my uenv.txt! fdtfile=dra7-evm-infoadas.dtb args_mmc=setenv bootargs 'console=ttyO0,115200n8 vram=16M root=/dev/nfs rw nfsroot=172.17.218.40:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/targetfs rootwait ip=dhcp mem=1024M' follow is booting log ** First descriptor is NOT a primary desc on 1:1 ** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid GPT *** GUID Partition Table Header signature is wrong: 0x0 != 0x5452415020494645 part_get_info_efi: *** ERROR: Invalid Backup GPT *** ERROR: cannot find partition: 'userdata' at arch/arm/cpu/armv7/omap-common/utils.c:195/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 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 239 bytes read in 2 ms (116.2 KiB/s) Loaded env from uEnv.txt Importing environment from mmc0 ... switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 3552176 bytes read in 113 ms (30 MiB/s) 106665 bytes read in 16 ms (6.4 MiB/s) Booting from mmc0 ... Kernel image @ 0x82000000 [ 0x000000 - 0x3633b0 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Device Tree to 8ffe2000, end 8ffff0a8 ... 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-00018-gd326d64-dirty (hancan@hancan-virtual-machine) (gcc version 5.4.1 20170404 (Linaro GCC 5.4-2017.05) ) #15 SMP PREEMPT Fri Jul 20 11:12:46 CST 2018 [ 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 64 MiB [ 0.000000] Reserved memory: initialized node cmem@A9000000, compatible id shared-dma-pool [ 0.000000] cma: Reserved 24 MiB at 0x00000000be400000 [ 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 ES2.0 [ 0.000000] PERCPU: Embedded 11 pages/cpu @ef62b000 s14912 r8192 d21952 u45056 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 243264 [ 0.000000] Kernel command line: console=ttyO0,115200n8 vram=16M root=/dev/nfs rw nfsroot=172.17.218.40:/home/hancan/PROCESSOR_SDK_VISION_03_02_00_00/ti_components/os_tools/linux/targetfs rootwait ip=dhcp mem=1024M [ 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: 410844K/979968K available (6619K kernel code, 319K rwdata, 2388K rodata, 340K init, 290K bss, 364324K reserved, 204800K cma-reserved, 234496K 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 - 0xc08d402c (9009 kB) [ 0.000000] .init : 0xc08d5000 - 0xc092a000 ( 340 kB) [ 0.000000] .data : 0xc092a000 - 0xc0979d60 ( 320 kB) [ 0.000000] .bss : 0xc097b000 - 0xc09c3800 ( 290 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.000341] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [ 0.000350] OMAP clocksource: 32k_counter at 32768 Hz [ 0.000793] Console: colour dummy device 80x30 [ 0.000810] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0' [ 0.000816] This ensures that you still see kernel messages. Please [ 0.000821] update your kernel commandline. [ 0.000836] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [ 0.000849] pid_max: default: 32768 minimum: 301 [ 0.000947] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.000957] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [ 0.001500] 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.001602] CPU: Testing write buffer coherency: ok [ 0.001799] /cpus/cpu@0 missing clock-frequency property [ 0.001816] /cpus/cpu@1 missing clock-frequency property [ 0.001827] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [ 0.001859] Setting up static identity map for 0x80008380 - 0x800083e0 [ 0.080089] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [ 0.080158] Brought up 2 CPUs [ 0.080171] SMP: Total of 2 processors activated (24.59 BogoMIPS). [ 0.080177] CPU: All CPU(s) started in HYP mode. [ 0.080183] CPU: Virtualization extensions available. [ 0.080563] devtmpfs: initialized [ 0.109216] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [ 0.110211] omap_hwmod: l3_main_2 using broken dt data from ocp [ 0.313075] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.313095] futex hash table entries: 512 (order: 3, 32768 bytes) [ 0.317329] pinctrl core: initialized pinctrl subsystem [ 0.318175] NET: Registered protocol family 16 [ 0.319102] DMA: preallocated 256 KiB pool for atomic coherent allocations [ 0.340228] cpuidle: using governor ladder [ 0.370255] cpuidle: using governor menu [ 0.378691] OMAP GPIO hardware version 0.1 [ 0.385080] irq: no irq domain found for /ocp/l4@4a000000/scm@2000/pinmux@1400 ! [ 0.401126] omap-gpmc 50000000.gpmc: GPMC revision 6.0 [ 0.401140] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000 [ 0.410440] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [ 0.410450] hw-breakpoint: maximum watchpoint size is 8 bytes. [ 0.410912] omap4_sram_init:Unable to allocate sram needed to handle errata I688 [ 0.410922] omap4_sram_init:Unable to get sram pool needed to handle errata I688 [ 0.411501] OMAP DMA hardware revision 0.0 [ 0.451285] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [ 0.452441] edma 43300000.edma: memcpy is disabled [ 0.457006] edma 43300000.edma: TI EDMA DMA engine driver [ 0.461338] omap-iommu 40d01000.mmu: 40d01000.mmu registered [ 0.461521] omap-iommu 40d02000.mmu: 40d02000.mmu registered [ 0.461684] omap-iommu 58882000.mmu: 58882000.mmu registered [ 0.461841] omap-iommu 55082000.mmu: 55082000.mmu registered [ 0.462129] omap-iommu 41501000.mmu: 41501000.mmu registered [ 0.462314] omap-iommu 41502000.mmu: 41502000.mmu registered [ 0.465298] palmas 0-0058: IRQ missing: skipping irq request [ 0.480763] palmas 0-0058: Muxing GPIO 2e, PWM 0, LED 0 [ 0.553058] pcf857x 0-0020: probed [ 0.553616] pcf857x 0-0021: probed [ 0.553766] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [ 0.554151] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [ 0.554358] media: Linux media interface: v0.10 [ 0.554410] Linux video capture interface: v2.00 [ 0.554453] pps_core: LinuxPPS API ver. 1 registered [ 0.554460] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]> [ 0.554483] PTP clock support registered [ 0.554527] EDAC MC: Ver: 3.0.0 [ 0.555272] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 [ 0.555571] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [ 0.555900] Advanced Linux Sound Architecture Driver Initialized. [ 0.556734] clocksource: Switched to clocksource arch_sys_counter [ 0.567166] NET: Registered protocol family 2 [ 0.567670] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [ 0.567733] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [ 0.567858] TCP: Hash tables configured (established 8192 bind 8192) [ 0.567905] UDP hash table entries: 512 (order: 2, 16384 bytes) [ 0.567936] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [ 0.568147] NET: Registered protocol family 1 [ 0.568416] RPC: Registered named UNIX socket transport module. [ 0.568426] RPC: Registered udp transport module. [ 0.568433] RPC: Registered tcp transport module. [ 0.568439] RPC: Registered tcp NFSv4.1 backchannel transport module. [ 0.569450] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [ 0.579255] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.579900] NFS: Registering the id_resolver key type [ 0.579925] Key type id_resolver registered [ 0.579934] Key type id_legacy registered [ 0.579987] ntfs: driver 2.1.32 [Flags: R/O]. [ 0.581240] bounce: pool size: 64 pages [ 0.581387] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247) [ 0.581403] io scheduler noop registered [ 0.581415] io scheduler deadline registered [ 0.581447] io scheduler cfq registered (default) [ 0.586314] pinctrl-single 4a003400.pinmux: 282 pins at pa fc003400 size 1128 [ 0.589469] PCI host bridge /ocp/axi@0/pcie_rc@51000000 ranges: [ 0.589482] No bus range found for /ocp/axi@0/pcie_rc@51000000, using [bus 00-ff] [ 0.589515] IO 0x20003000..0x20012fff -> 0x00000000 [ 0.589537] MEM 0x20013000..0x2fffffff -> 0x20013000 [ 0.619541] dra7-pcie 51000000.pcie_rc: link is not up [ 0.619713] dra7-pcie 51000000.pcie_rc: PCI host bridge to bus 0000:00 [ 0.619726] pci_bus 0000:00: root bus resource [bus 00-ff] [ 0.619736] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [ 0.619746] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff] [ 0.620139] PCI: bus0: Fast back to back transfers disabled [ 0.620259] PCI: bus1: Fast back to back transfers enabled [ 0.620342] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff] [ 0.620357] pci 0000:00:00.0: BAR 1: assigned [mem 0x20020000-0x2002ffff] [ 0.620369] pci 0000:00:00.0: PCI bridge to [bus 01] [ 0.620585] pcieport 0000:00:00.0: Signaling PME through PCIe PME interrupt [ 0.679838] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled [ 0.683189] 4806a000.serial: ttyS0 at MMIO 0x4806a000 (irq = 301, base_baud = 3000000) is a 8250 [ 1.702019] console [ttyS0] enabled [ 1.706400] 4806c000.serial: ttyS1 at MMIO 0x4806c000 (irq = 302, base_baud = 3000000) is a 8250 [ 1.716095] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 303, base_baud = 3000000) is a 8250 [ 1.726142] [drm] Initialized drm 1.1.0 20060810 [ 1.732193] OMAP DSS rev 6.1 [ 1.735941] omapdss_dss 58000000.dss: bound 58001000.dispc (ops dispc_component_ops) [ 1.751618] loop: module loaded [ 1.755132] vmemexp device MAJOR num = 246 [ 1.759286] vmemexp class registered [ 1.762998] /dev/vmemexp device registered [ 1.767130] ioctl DBUFIOC_EXPORT_VIRTMEM = -1072899120 [ 1.772798] nand: No NAND device found [ 1.776569] omap2-nand 8000000.nand: scan failed, may be bus-width mismatch [ 1.786496] m25p80 spi32766.0: s25fl256s1 (32768 Kbytes) [ 1.791916] 7 ofpart partitions found on MTD device spi32766.0 [ 1.797795] Creating 7 MTD partitions on "spi32766.0": [ 1.802956] 0x000000000000-0x000000040000 : "QSPI.SPL" [ 1.809063] 0x000000040000-0x000000140000 : "QSPI.u-boot" [ 1.815380] 0x000000140000-0x0000001c0000 : "QSPI.u-boot-spl-os" [ 1.822324] 0x0000001c0000-0x0000001d0000 : "QSPI.u-boot-env" [ 1.829017] 0x0000001d0000-0x0000001e0000 : "QSPI.u-boot-env.backup1" [ 1.836386] 0x0000001e0000-0x0000009e0000 : "QSPI.kernel" [ 1.842742] 0x0000009e0000-0x000002000000 : "QSPI.file-system" [ 1.850513] libphy: Fixed MDIO Bus: probed [ 1.906763] davinci_mdio 48485000.mdio: davinci mdio revision 1.6 [ 1.912886] davinci_mdio 48485000.mdio: detected phy mask fffffff3 [ 1.923418] libphy: 48485000.mdio: probed [ 1.927491] davinci_mdio 48485000.mdio: phy[2]: device 48485000.mdio:02, driver unknown [ 1.935532] davinci_mdio 48485000.mdio: phy[3]: device 48485000.mdio:03, driver unknown [ 1.944242] cpsw 48484000.ethernet: Detected MACID = 7c:38:66:a1:e2:a6 [ 1.950941] cpsw 48484000.ethernet: cpts: overflow check period 800 [ 1.957945] cpsw 48484000.ethernet: cpsw: Detected MACID = 7c:38:66:a1:e2:a7 [ 1.966539] mousedev: PS/2 mouse device common for all mice [ 1.972756] i2c /dev entries driver [ 1.981533] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 1.987155] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr25 mode [ 1.993540] omap_hsmmc 480b4000.mmc: no pinctrl state for sdr12 mode [ 2.000096] evm_3v3_sw: supplied by sysen1 [ 2.080509] mmc0: MAN_BKOPS_EN bit is not set [ 2.116767] mmc0: new HS200 MMC card at address 0001 [ 2.132203] mmcblk0: mmc0:0001 MMC08G 7.25 GiB [ 2.147258] mmcblk0boot0: mmc0:0001 MMC08G partition 1 8.00 MiB [ 2.158518] ledtrig-cpu: registered to indicate activity on CPUs [ 2.164703] mmcblk0boot1: mmc0:0001 MMC08G partition 2 8.00 MiB [ 2.173413] aic_dvdd: supplied by evm_3v3_sw [ 2.179371] davinci-mcasp 4847c000.mcasp: invalid tdm slots: 0 [ 2.186798] NET: Registered protocol family 10 [ 2.202069] sit: IPv6 over IPv4 tunneling driver [ 2.207278] NET: Registered protocol family 17 [ 2.211956] Key type dns_resolver registered [ 2.216365] omap_voltage_late_init: Voltage driver support not added [ 2.223258] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 2.229489] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 2.236184] Adding alias for supply vdd,cpu0 -> vdd,4a003b20.oppdm [ 2.242420] Adding alias for supply vbb,cpu0 -> vbb,4a003b20.oppdm [ 2.250619] Power Management for TI OMAP4+ devices. [ 2.255688] Registering SWP/SWPB emulation handler [ 2.262561] dmm 4e000000.dmm: initialized all PAT entries [ 2.269906] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013). [ 2.276549] [drm] No driver support for vblank timestamp query. [ 2.282855] [drm] Initialized omapdrm 1.0.0 20110917 on minor 0 [ 2.299706] omap_hsmmc 4809c000.mmc: Got CD GPIO [ 2.338073] asoc-simple-card sound0: tlv320aic3x-hifi <-> 48468000.mcasp mapping ok [ 2.357735] input: gpio_keys as /devices/platform/gpio_keys/input/input0 [ 2.365616] hctosys: unable to open rtc device (rtc0) [ 2.379019] net eth0: initializing cpsw version 1.15 (0) [ 2.384368] net eth0: initialized cpsw ale version 1.4 [ 2.389551] net eth0: ALE Table size 1024 [ 2.400775] net eth0: phy found : id is : 0x20005c7a [ 2.411786] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready [ 2.417687] net eth1: initializing cpsw version 1.15 (0) [ 2.429896] net eth1: phy found : id is : 0x20005c7a [ 2.439504] IPv6: ADDRCONF(NETDEV_UP): eth1: link is not ready [ 2.616598] mmc2: host does not support reading read-only switch, assuming write-enable [ 2.631709] mmc2: new ultra high speed DDR50 SDHC card at address aaaa [ 2.638675] mmcblk1: mmc2:aaaa SS08G 7.40 GiB [ 2.648355] mmcblk1: p1 p2 [ 4.404334] cpsw 48484000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx [ 4.416776] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [ 4.436759] Sending DHCP requests ., OK [ 4.596765] IP-Config: Got DHCP answer from 172.17.192.1, my address is 172.17.218.87 [ 4.610392] IP-Config: Complete: [ 4.613640] device=eth0, hwaddr=7c:38:66:a1:e2:a6, ipaddr=172.17.218.87, mask=255.255.224.0, gw=172.17.192.1 [ 4.623987] host=172.17.218.87, domain=apac.arcsoft.corp, nis-domain=(none) [ 4.631455] bootserver=172.17.11.203, rootserver=172.17.218.40, rootpath= [ 4.638604] nameserver0=172.17.10.20, nameserver1=172.17.10.31 [ 4.645240] evm_1v8: disabling [ 4.648325] aic_dvdd: disabling [ 4.651481] vmmcwl_fixed: disabling [ 4.655202] ldousb: disabling [ 4.658718] ALSA device list: [ 4.661700] #0: DRA7xx-EVM i donot know what is the problem and how to Solve this problem! BESTWISHES!
Responses:
Hi, It looks to me there seems to be an issue in identifying the root-fs. Are you able to ping to the IP address provided? Please revert the uenv.txt configuration to that of SD based rootfs, and try to run the ping command from the EVM to the the Linux virtual machine IP address. Once this ping is successful , you will be able to use it for NFS boot. Regards Shravan