Part Number:AM5728Other Parts Discussed in Thread: TMDSEVM572X
AM5728开发板,
内核无法正常启动,卡在 Waiting for root device PARTUUID=7a61ff61-02…
从启动log里可看到有一句 Kernel command line: console=ttyS2,115200n8 root=PARTUUID=7a61ff61-02 rw rootfstype=ext4 rootwait
请问如何解决?谢谢
�� U-Boot SPL 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800) DRA752-GP ES2.0 ** Unable to read file dra7-ipu1-fw.xem4 ** Firmware loading failed Trying to boot from MMC1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Loading Environment from MMC... *** Warning - bad CRC, using default environment U-Boot 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800) CPU : DRA752-GP ES2.0 Model: TI AM5728 BeagleBoard-X15 Board: UNKNOWN(BeagleBoard X15?) REV UNKNOWN DRAM: ---xie---arch/arm/mech-omap2/emif-common.c/1520 --- sdram_init() 1 GiB MMC:OMAP SD/MMC: 0, OMAP SD/MMC: 1 Loading Environment from FAT... *** Warning - bad CRC, using default environment Loading Environment from MMC... *** Warning - bad CRC, using default environment Warning: fastboot.board_rev: unknown board revision am57x_idk_lcd_detect: Failed to get I2C device 0/56 (ret 1) Net:<ethaddr> not set. Validating first E-fuse MAC cpsw ---xie---common/main.c/42 --- main_loop() ---xie---common/autoboot.c/329 --- autoboot_command() ------------------------------------------- Hit any key to stop autoboot: 2 1 0 => printenv arch=arm args_mmc=run finduuid;setenv bootargs console=${console} ${optargs} root=PARTUUID=${uuid} rw rootfstype=${mmcrootfstype} baudrate=115200 board=am57xx board_name=beagle_x15 boot_fdt=try boot_fit=0 bootargs=androidboot.serialno=${serial#} console=ttyS2,115200 androidboot.console=ttyS2 androidboot.hardware=beagle_x15board bootcmd=if test ${dofastboot} -eq 1; then echo Boot fastboot requested, resetting dofastboot ...;setenv dofastboot 0; saveenv;echo Booting into fastboot ...; fastboot 1; fi;if test ${boot_fit} -eq 1; then run update_to_fit;fi;run findfdt; run envboot; run mmcboot;run emmc_linux_boot; run emmc_android_boot; run setconsole; bootdelay=2 bootdir=/boot bootenvfile=uEnv.txt bootfile=zImage bootm_size=0x10000000 bootpart=0:2 bootscript=echo Running bootscript from mmc${mmcdev} ...; source ${loadaddr} console=ttyS2,115200n8 cpu=armv7 dfu_alt_info_emmc=rawemmc raw 0 3751936;boot part 1 1;rootfs part 1 2;MLO fat 1 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 1 1;spl-os-image fat 1 1;u-boot.img fat 1 1;uEnv.txt fat 1 1 dfu_alt_info_mmc=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x200;u-boot.img.raw raw 0x300 0x1000;u-env.raw raw 0x1300 0x200;spl-os-args.raw raw 0x1500 0x200;spl-os-image.raw raw 0x1700 0x6900;spl-os-args fat 0 1;spl-os-image fat 0 1;u-boot.img fat 0 1;uEnv.txt fat 0 1 dfu_alt_info_qspi=MLO raw 0x0 0x040000;u-boot.img raw 0x040000 0x0100000;u-boot-spl-os raw 0x140000 0x080000;u-boot-env raw 0x1C0000 0x010000;u-boot-env.backup raw 0x1D0000 0x010000;kernel raw 0x1E0000 0x800000 dfu_alt_info_ram=kernel ram 0x80200000 0x4000000;fdt ram 0x80f80000 0x80000;ramdisk ram 0x81000000 0x4000000 dfu_bufsiz=0x10000 dofastboot=0 emmc_android_boot=echo Trying to boot Android from eMMC ...; run update_to_fit; setenv eval_bootargs setenv bootargs $bootargs; run eval_bootargs; setenv mmcdev 1; setenv machid fe6; mmc dev $mmcdev; mmc rescan; part start mmc ${mmcdev} boot boot_start; part size mmc ${mmcdev} boot boot_size; mmc read ${loadaddr} ${boot_start} ${boot_size}; bootm ${loadaddr}#${fdtfile}; emmc_linux_boot=echo Trying to boot Linux from eMMC ...; setenv mmcdev 1; setenv bootpart 1:2; setenv mmcroot /dev/mmcblk0p2 rw; run mmcboot; envboot=mmc dev ${mmcdev}; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadbootscript; then run bootscript;else if run loadbootenv; then echo Loaded env from ${bootenvfile};run importbootenv;fi;if test -n $uenvcmd; then echo Running uenvcmd ...;run uenvcmd;fi;fi;fi; eth1addr=88:3f:4a:82:44:1b ethact=cpsw ethaddr=88:3f:4a:82:44:1a fastboot.cpu=DRA752 fastboot.secure=GP fdt_addr_r=0x88000000 fdtaddr=0x88000000 fdtcontroladdr=bdf230a8 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 && test $boot_nand = 1; then setenv fdtfile dra71-evm-nand.dtb; fi;if test $board_name = dra71x && test $boot_nand = 0; 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 = am5729_beagleboneai; then setenv fdtfile am5729-beagleboneai.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; finduuid=part uuid mmc ${bootpart} uuid fit_bootfile=fitImage fit_loadaddr=0x90000000 get_overlaystring=for overlay in $overlay_files;do;setenv overlaystring ${overlaystring}'#'${overlay};done; idk_lcd=no importbootenv=echo Importing environment from mmc${mmcdev} ...; env import -t ${loadaddr} ${filesize} kernel_addr_r=0x82000000 loadaddr=0x82000000 loadbootenv=fatload mmc ${mmcdev} ${loadaddr} ${bootenvfile} loadbootscript=load mmc ${mmcdev} ${loadaddr} boot.scr loadfdt=load ${devtype} ${bootpart} ${fdtaddr} ${bootdir}/${fdtfile} loadfit=run args_mmc; run run_fit; loadimage=load ${devtype} ${bootpart} ${loadaddr} ${bootdir}/${bootfile} mmcboot=mmc dev ${mmcdev}; setenv devnum ${mmcdev}; setenv devtype mmc; if mmc rescan; then echo SD/MMC found on device ${mmcdev};if run loadimage; then if test ${boot_fit} -eq 1; then run loadfit; else run mmcloados;fi;fi;fi; mmcdev=0 mmcloados=run args_mmc; if test ${boot_fdt} = yes || test ${boot_fdt} = try; then if run loadfdt; then bootz ${loadaddr} - ${fdtaddr}; else if test ${boot_fdt} = try; then bootz; else echo WARN: Cannot load the DT; fi; fi; else bootz; fi; mmcrootfstype=ext4 rootwait netargs=setenv bootargs console=${console} ${optargs} root=/dev/nfs nfsroot=${serverip}:${rootpath},${nfsopts} rw ip=dhcp netboot=echo Booting from network ...; setenv autoload no; dhcp; run netloadimage; run netloadfdt; run netargs; bootz ${loadaddr} - ${fdtaddr} netloadfdt=tftp ${fdtaddr} ${fdtfile} netloadimage=tftp ${loadaddr} ${bootfile} nfsopts=nolock partitions=uuid_disk=${uuid_gpt_disk};name=bootloader,start=384K,size=1792K,uuid=${uuid_gpt_bootloader};name=rootfs,start=2688K,size=-,uuid=${uuid_gpt_rootfs} partitions_android=uuid_disk=${uuid_gpt_disk};name=xloader,start=128K,size=256K,uuid=${uuid_gpt_xloader};name=bootloader,size=2048K,uuid=${uuid_gpt_bootloader};name=uboot-env,start=2432K,size=256K,uuid=${uuid_gpt_reserved};name=misc,size=128K,uuid=${uuid_gpt_misc};name=recovery,size=40M,uuid=${uuid_gpt_recovery};name=boot,size=10M,uuid=${uuid_gpt_boot};name=system,size=1024M,uuid=${uuid_gpt_system};name=vendor,size=256M,uuid=${uuid_gpt_vendor};name=userdata,size=-,uuid=${uuid_gpt_userdata} pxefile_addr_r=0x80100000 ramdisk_addr_r=0x88080000 rdaddr=0x88080000 rootpath=/export/rootfs run_fit=bootm ${fit_loadaddr}#${fdtfile}${overlaystring} scriptaddr=0x80000000 serial#=0f00d00248200322 setconsole=if $board_name=am5729_beaglebonai;then setenv console ttyS0,115200; fi;fdtfile=undefined soc=omap5 static_ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off stderr=serial@48020000 stdin=serial@48020000 stdout=serial@48020000 update_to_fit=setenv loadaddr ${fit_loadaddr}; setenv bootfile ${fit_bootfile} usbtty=cdc_acm vendor=ti ver=U-Boot 2019.01-g323d51410c-dirty (Jun 23 2021 - 10:23:14 +0800) vram=16M Environment size: 7620/131067 bytes => boot switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 ** Unable to read file boot.scr ** ** Unable to read file uEnv.txt ** switch to partitions #0, OK mmc0 is current device SD/MMC found on device 0 4456960 bytes read in 197 ms (21.6 MiB/s) 91464 bytes read in 5 ms (17.4 MiB/s) ## Flattened Device Tree blob at 88000000Booting using the fdt blob at 0x88000000Loading Device Tree to 8ffe6000, end 8ffff547 ... OK Starting kernel ... [0.000000] Booting Linux on physical CPU 0x0 [0.000000] Linux version 4.19.94-gbe5389fd85 (root@xie-virtual-machine) (gcc version 8.3.0 (GNU Toolchain for the A-profile Architecture 8.3-2019.03 (arm-rel-8.36))) #1 SMP PREEMPT Mon Feb 22 17:22:43 CST 2021 [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 AM5728 BeagleBoard-X15 [0.000000] Memory policy: Data cache writealloc [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-memory@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-memory@99000000, compatible id shared-dma-pool [0.000000] Reserved memory: created DMA memory pool at 0x000000009d000000, size 32 MiB [0.000000] OF: reserved mem: initialized node ipu1-memory@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-memory@9f000000, compatible id shared-dma-pool [0.000000] cma: Reserved 24 MiB at 0x00000000be400000 [0.000000] OMAP4: Map 0x00000000bfd00000 to (ptrval) for dram barrier [0.000000] Hit pending asynchronous external abort (FSR=0x00001211) during first unmask, this is most likely caused by a firmware/bootloader bug. [0.000000] DRA752 ES2.0 [0.000000] random: get_random_bytes called from start_kernel+0xb4/0x470 with crng_init=0 [0.000000] percpu: Embedded 15 pages/cpu s32396 r8192 d20852 u61440 [0.000000] Built 1 zonelists, mobility grouping on. Total pages: 202048 [0.000000] Kernel command line: console=ttyS2,115200n8 root=PARTUUID=7a61ff61-02 rw rootfstype=ext4 rootwait [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: 633692K/815104K available (10240K kernel code, 335K rwdata, 2800K rodata, 2048K init, 268K bss, 25764K reserved, 155648K 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 : 0x(ptrval) - 0x(ptrval)(12256 kB) [0.000000].init : 0x(ptrval) - 0x(ptrval)(2048 kB) [0.000000].data : 0x(ptrval) - 0x(ptrval)( 336 kB) [0.000000].bss : 0x(ptrval) - 0x(ptrval)( 269 kB) [0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1 [0.000000] rcu: Preemptible hierarchical RCU implementation. [0.000000] Tasks RCU enabled. [0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [0.000000] GIC: Using split EOI/Deactivate mode [0.000000] OMAP clockevent source: timer1 at 32786 Hz [0.000000] arch_timer: 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.000019] Switching to timer-based delay loop, resolution 162ns [0.000294] clocksource: 32k_counter: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 58327039986419 ns [0.000303] OMAP clocksource: 32k_counter at 32768 Hz [0.000745] Console: colour dummy device 80x30 [0.000788] Calibrating delay loop (skipped), value calculated using timer frequency.. 12.29 BogoMIPS (lpj=61475) [0.000803] pid_max: default: 32768 minimum: 301 [0.000927] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes) [0.000943] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes) [0.001499] CPU: Testing write buffer coherency: ok [0.001536] CPU0: Spectre v2: using ICIALLU workaround [0.001746] /cpus/cpu@0 missing clock-frequency property [0.001766] /cpus/cpu@1 missing clock-frequency property [0.001779] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000 [0.059923] Setting up static identity map for 0x80200000 - 0x80200060 [0.079934] rcu: Hierarchical SRCU implementation. [0.100128] EFI services will not be available. [0.119991] smp: Bringing up secondary CPUs ... [0.200379] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001 [0.200385] CPU1: Spectre v2: using ICIALLU workaround [0.200510] smp: Brought up 1 node, 2 CPUs [0.200522] SMP: Total of 2 processors activated (24.59 BogoMIPS). [0.200531] CPU: All CPU(s) started in HYP mode. [0.200539] CPU: Virtualization extensions available. [0.201001] devtmpfs: initialized [0.217893] VFP support v0.3: implementor 41 architecture 4 part 30 variant f rev 0 [0.218153] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [0.218172] futex hash table entries: 512 (order: 3, 32768 bytes) [0.220817] pinctrl core: initialized pinctrl subsystem [0.221341] DMI not present or invalid. [0.221609] NET: Registered protocol family 16 [0.222735] DMA: preallocated 256 KiB pool for atomic coherent allocations [0.223670] omap_hwmod: l3_main_2 using broken dt data from ocp [0.417182] cpuidle: using governor ladder [0.417217] cpuidle: using governor menu [0.427657] OMAP GPIO hardware version 0.1 [0.452356] No ATAGs? [0.452425] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers. [0.452441] hw-breakpoint: maximum watchpoint size is 8 bytes. [0.453276] OMAP DMA hardware revision 0.0 [0.464728] edma 43300000.edma: memcpy is disabled [0.468142] edma 43300000.edma: TI EDMA DMA engine driver [0.475481] omap-dma-engine 4a056000.dma-controller: OMAP DMA engine driver (LinkedList1/2/3 supported) [0.476286] evm_5v0: supplied by main_12v0 [0.479611] omap-iommu 40d01000.mmu: 40d01000.mmu registered [0.479789] omap-iommu 40d02000.mmu: 40d02000.mmu registered [0.480036] omap-iommu 58882000.mmu: 58882000.mmu registered [0.480290] omap-iommu 55082000.mmu: 55082000.mmu registered [0.480729] omap-iommu 41501000.mmu: 41501000.mmu registered [0.480909] omap-iommu 41502000.mmu: 41502000.mmu registered [0.481187] iommu: Adding device 58820000.ipu to group 1 [0.481265] iommu: Adding device 55020000.ipu to group 2 [0.481391] iommu: Adding device 40800000.dsp to group 0 [0.481615] iommu: Adding device 41000000.dsp to group 3 [0.482836] SCSI subsystem initialized [0.483871] palmas 0-0058: Irq flag is 0x00000008 [0.513518] palmas 0-0058: Muxing GPIO 2f, PWM 0, LED 0 [0.515125] SMPS12: supplied by regulator-dummy [0.516762] SMPS3: supplied by regulator-dummy [0.518274] SMPS45: supplied by regulator-dummy [0.520039] SMPS6: supplied by regulator-dummy [0.521414] SMPS7: supplied by regulator-dummy [0.522784] SMPS8: supplied by regulator-dummy [0.523129] smps8: Bringing 1060000uV into 1800000-1800000uV [0.523435] smps8: failed to apply 1800000-1800000uV constraint(-22) [0.523451] palmas-pmic 48070000.i2c:tps659038@58:tps659038_pmic: failed to register 48070000.i2c:tps659038@58:tps659038_pmic regulator [0.524354] palmas-pmic: probe of 48070000.i2c:tps659038@58:tps659038_pmic failed with error -22 [0.525762] omap_i2c 48070000.i2c: bus 0 rev0.12 at 400 kHz [0.526358] omap_i2c 48060000.i2c: bus 2 rev0.12 at 400 kHz [0.526557] media: Linux media interface: v0.10 [0.526596] videodev: Linux video capture interface: v2.00 [0.526669] pps_core: LinuxPPS API ver. 1 registered [0.526678] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it> [0.526700] PTP clock support registered [0.526731] EDAC MC: Ver: 3.0.0 [0.527505] omap-mailbox 48840000.mailbox: omap mailbox rev 0x400 [0.527752] omap-mailbox 48842000.mailbox: omap mailbox rev 0x400 [0.530750] Advanced Linux Sound Architecture Driver Initialized. [0.531525] clocksource: Switched to clocksource arch_sys_counter [0.539949] NET: Registered protocol family 2 [0.540532] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes) [0.540562] TCP established hash table entries: 8192 (order: 3, 32768 bytes) [0.540745] TCP bind hash table entries: 8192 (order: 4, 65536 bytes) [0.540872] TCP: Hash tables configured (established 8192 bind 8192) [0.540947] UDP hash table entries: 512 (order: 2, 16384 bytes) [0.540982] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes) [0.541116] NET: Registered protocol family 1 [0.561655] RPC: Registered named UNIX socket transport module. [0.561666] RPC: Registered udp transport module. [0.561675] RPC: Registered tcp transport module. [0.561683] RPC: Registered tcp NFSv4.1 backchannel transport module. [0.562699] hw perfevents: no interrupt-affinity property for /pmu, guessing. [0.562889] hw perfevents: enabled with armv7_cortex_a15 PMU driver, 7 counters available [0.563867] Initialise system trusted keyrings [0.564011] workingset: timestamp_bits=14 max_order=18 bucket_order=4 [0.569010] squashfs: version 4.0 (2009/01/31) Phillip Lougher [0.569494] NFS: Registering the id_resolver key type [0.569524] Key type id_resolver registered [0.569534] Key type id_legacy registered [0.569573] ntfs: driver 2.1.32 [Flags: R/O]. [0.571190] Key type asymmetric registered [0.571201] Asymmetric key parser 'x509' registered [0.571250] bounce: pool size: 64 pages [0.571287] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 245) [0.571299] io scheduler noop registered [0.571308] io scheduler deadline registered [0.571407] io scheduler cfq registered (default) [0.571419] io scheduler mq-deadline registered [0.571428] io scheduler kyber registered [0.577143] pinctrl-single 4a003400.pinmux: 282 pins, size 1128 [0.581035] dra7-pcie 51000000.pcie: Linked as a consumer to phy-4a094000.pciephy.1 [0.581465] dra7-pcie 51000000.pcie: host bridge /ocp/axi@0/pcie@51000000 ranges: [0.581506] dra7-pcie 51000000.pcie:IO 0x20003000..0x20012fff -> 0x00000000 [0.581563] dra7-pcie 51000000.pcie:MEM 0x20013000..0x2fffffff -> 0x20013000 [1.581845] dra7-pcie 51000000.pcie: Phy link never came up [1.581985] dra7-pcie 51000000.pcie: PCI host bridge to bus 0000:00 [1.582000] pci_bus 0000:00: root bus resource [bus 00-ff] [1.582012] pci_bus 0000:00: root bus resource [io 0x0000-0xffff] [1.582023] pci_bus 0000:00: root bus resource [mem 0x20013000-0x2fffffff] [1.587887] PCI: bus0: Fast back to back transfers disabled [1.593366] PCI: bus1: Fast back to back transfers enabled [1.593410] pci 0000:00:00.0: BAR 0: assigned [mem 0x20100000-0x201fffff 64bit] [1.593430] pci 0000:00:00.0: PCI bridge to [bus 01-ff] [1.593746] pcieport 0000:00:00.0: Signaling PME with IRQ 171 [1.593879] pcieport 0000:00:00.0: AER enabled with IRQ 171 [1.648211] Serial: 8250/16550 driver, 10 ports, IRQ sharing enabled [1.651892] console [ttyS2] disabled [1.651946] 48020000.serial: ttyS2 at MMIO 0x48020000 (irq = 45, base_baud = 3000000) is a 8250 [2.708067] console [ttyS2] enabled [2.713700] omap_rng 48090000.rng: Random Number Generator ver. 20 [2.714106] random: fast init done [2.723496] random: crng init done [2.739428] brd: module loaded [2.748731] loop: module loaded [2.756464] m25p80 spi0.0: unrecognized JEDEC id bytes: 00, 00, 00 [2.763293] libphy: Fixed MDIO Bus: probed [2.821554] davinci_mdio 48485000.mdio: davinci mdio revision 1.6, bus freq 1000000 [2.829249] libphy: 48485000.mdio: probed [2.837553] davinci_mdio 48485000.mdio: phy[0]: device 48485000.mdio:00, driver Micrel KSZ9031 Gigabit PHY [2.847276] davinci_mdio 48485000.mdio: phy[1]: device 48485000.mdio:01, driver Micrel KSZ9031 Gigabit PHY [2.857512] cpsw 48484000.ethernet: Detected MACID = 88:3f:4a:82:44:1a [2.864141] cpsw 48484000.ethernet: initialized cpsw ale version 1.4 [2.870525] cpsw 48484000.ethernet: ALE Table size 1024 [2.875837] cpsw 48484000.ethernet: cpts: overflow check period 500 (jiffies) [2.883861] cpsw 48484000.ethernet: cpsw: Detected MACID = 88:3f:4a:82:44:1b [2.892180] i2c /dev entries driver [2.898825] gpio-fan gpio_fan: GPIO fan initialized [2.904421] tmp102 0-0048: error reading config register [2.909859] tmp102: probe of 0-0048 failed with error -121 [2.918830] sdhci: Secure Digital Host Controller Interface driver [2.925065] sdhci: Copyright(c) Pierre Ossman [2.930359] sdhci-pltfm: SDHCI platform and OF driver helper [2.937335] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22) [2.946194] sdhci-omap 4809c000.mmc: Got CD GPIO [2.951039] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12 [2.957922] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator [2.966729] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0 [2.973531] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0 [2.980105] sdhci-omap 4809c000.mmc: Dropping the link to regulator.12 [2.987212] sdhci-omap 480b4000.mmc: failed to set system capabilities [2.995106] ledtrig-cpu: registered to indicate activity on CPUs [3.004683] [3.004683] ---xie--- hello kernel [3.009676] ---xie--- hello kernel [3.013260] ---xie--- hello kernel [3.019224] NET: Registered protocol family 10 [3.024648] Segment Routing with IPv6 [3.028386] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver [3.034828] NET: Registered protocol family 17 [3.039486] Key type dns_resolver registered [3.043953] Registering SWP/SWPB emulation handler [3.048768] omap_voltage_late_init: Voltage driver support not added [3.055169] Power Management for TI OMAP4+ devices. [3.060796] Loading compiled-in X.509 certificates [3.090475] dmm 4e000000.dmm: workaround for errata i878 in use [3.098085] dmm 4e000000.dmm: initialized all PAT entries [3.105715] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22) [3.114569] sdhci-omap 4809c000.mmc: Got CD GPIO [3.119424] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12 [3.126315] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator [3.135125] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0 [3.141938] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0 [3.148520] sdhci-omap 4809c000.mmc: Dropping the link to regulator.12 [3.155848] sdhci-omap 480b4000.mmc: failed to set system capabilities [3.163455] omap_gpio 4805d000.gpio: Could not set line 27 debounce to 200000 microseconds (-22) [3.172304] sdhci-omap 4809c000.mmc: Got CD GPIO [3.177132] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.12 [3.184024] sdhci-omap 4809c000.mmc: 4809c000.mmc supply vqmmc not found, using dummy regulator [3.192830] sdhci-omap 4809c000.mmc: Linked as a consumer to regulator.0 [3.199613] sdhci-omap 4809c000.mmc: Dropping the link to regulator.0 [3.206207] sdhci-omap 4809c000.mmc: Dropping the link to regulator.12 [3.213487] sdhci-omap 480b4000.mmc: failed to set system capabilities [3.220928] hctosys: unable to open rtc device (rtc0) [3.226746] ALSA device list: [3.229729]No soundcards found. [3.233997] Waiting for root device PARTUUID=7a61ff61-02... [33.761597] vdd_3v3: disabling [33.764669] aic_dvdd_fixed: disabling [33.768349] pbias_mmc_omap5: disabling
Nancy Wang:
请问是使用的TMDSEVM572X板吗?是从SD卡启动的吗?是使用的SDK中预编译的image文件吗?请再次详细说明一下,谢谢!
,
qingyulan:
开发板是创龙的TL5728F-EVM,这个和TMDSEVM572X区别是内存只有1G,默认网口是eth1,其它外围连接都一样。
用sdk的bin目录下的create-sdcard.sh脚本创建的sd卡后,uboot无法启动
所以把uboot的内存修改为1G,网口修改为eth0,重新编译生成MLO和u-boot.img,替换sd卡boot分区的同名文件,rootfs分区不做任何改动。之后启动,就卡在Waiting for root device PARTUUID=7a61ff61-02…这里不动了
但奇怪的是在uboot启动阶段,把启动方式按如下命令修改为nfs方式启动内核,则内核却可以正常启动
env default -f -a saveenv reset setenv serverip 192.168.1.105 setenv rootpath '/d/sdk-am57xx-06.03.00.106/targetNFS' setenv bootfile zImage-am57xx-evm.bin setenv ip_method dhcp setenv nfsopts 'nolock,v3,tcp,rsize=4096,wsize=4096' setenv getuenv 'mmc dev ${mmcdev}; if mmc rescan; then if run loadbootenv; then run importbootenv; fi; fi;'setenv bootcmd 'run findfdt; run getuenv; setenv autoload no;dhcp ;tftp ${loadaddr} zImage; tftp ${fdtaddr} ${fdtfile}; run netargs; bootz ${loadaddr} – ${fdtaddr}'
setenv ipaddr 192.168.1.106 setenv gatewayip 192.168.1.1 setenv netmask 255.255.255.0
saveenv boot
再把sd卡rootfs分区的boot目录下的zImage、zImage-am57xx-evm.bin、am57xx-beagle-x15.dtb都更新为和ubuntu 的tftpboot目录里的一样,再执行命令
env default -f -asaveenvreset
启动后,内核还是卡在Waiting for root device PARTUUID=7a61ff61-02..
,
qingyulan:
重新把SD卡的rootfs分区更改为ext4,制作文件系统,把zImage和am57xx-beagle-x15.dtb拷贝到/boot目录下,启动开发板,还是卡在Waiting for root device PARTUUID=46082b90-02…这里。
把SD卡放在ubuntu上,用命令blkid查看
/dev/sdd1: LABEL="BOOT" UUID="39DA-4712" TYPE="vfat" PARTUUID="46082b90-01"/dev/sdd2: LABEL="rootfs" UUID="02f60639-aa2d-4e29-a511-f0006b99c794" TYPE="ext4" PARTUUID="46082b90-02"
看上去PARTUUID也都是PARTUUID="46082b90-02",但是为什么卡在这里呢?