打印
[MCU]

启动一半就不动了

[复制链接]
356|18
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
jiajs|  楼主 | 2020-4-11 17:30 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
沙发
午夜粪车| | 2020-4-11 17:33 | 只看该作者
打印信息看看

使用特权

评论回复
板凳
zhanghqi| | 2020-4-11 17:35 | 只看该作者
对啊,信息太少了

使用特权

评论回复
地板
zhenykun| | 2020-4-11 17:38 | 只看该作者
Starting kernel ...
Uncompressing Linux........................................................................................................................................................ done, booting the kernel.
Linux version 2.6.32 (sdk@nemo) (gcc version 4.3.3 (Sourcery G++ Lite 2009q1-203) ) #1 Thu Mar 24 20:15:56 CDT 2011
CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 EVM
Memory policy: ECC disabled, Data cache writeback
OMAP3630/DM3730 ES1.0 (l2cache iva sgx neon isp 192mhz_clk )
SRAM: Mapped pa 0x40200000 to va 0xfe400000 size: 0x100000
Reserving 4194304 bytes SDRAM for VRAM
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 46336
Kernel command line: console=ttyS0,115200n8 root=/dev/mmcblk0p2 rw ip=off mem=55M@0x80000000 mpurate=1000  omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M mem=128M @ 0x88000000rootwait
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 55MB 128MB = 183MB total
Memory: 176384KB available (4216K code, 373K data, 172K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:402
Clocking rate (Crystal/Core/MPU): 26.0/400/600 MHz
Reprogramming SDRC clock to 400000000 Hz
GPMC revision 5.0
IRQ: Found an INTC at 0xfa200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP GPIO hardware version 2.5
OMAP clockevent source: GPTIMER1 at 32768 Hz
Console: colour dummy device 80x30
Calibrating delay loop... 597.64 BogoMIPS (lpj=2334720)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
regulator: core version 0.5
NET: Registered protocol family 16
Target VDD1 OPP = 4, VDD2 OPP = 2
omap3evmdc: Driver registration complete
OMAP DMA hardware revision 5.0
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
i2c_omap i2c_omap.1: bus 1 rev4.0 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
regulator: VMMC1: 1850 <--> 3150 mV normal standby
regulator: VDAC: 1800 mV normal standby
regulator: VAUX2_4030: 2800 mV normal standby
regulator: VPLL2: 1800 mV normal standby
regulator: VSIM: 1800 <--> 3000 mV normal standby
i2c_omap i2c_omap.2: bus 2 rev4.0 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev4.0 at 400 kHz
Switching to clocksource 32k_counter
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at fa0ab000 using DMA, IRQ 92
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
omap-iommu omap-iommu.0: isp registered
AM37x/DM37x  Linux PSP version 03.00.01.06 (OMAP3EVM)
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 345
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
OMAP DSI rev 1.0
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
console [ttyS0] enabled
serial8250.1: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.2: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
brd: module loaded
loop: module loaded
omap2-nand driver initializing
NAND device: Manufacturer ID: 0xad, Chip ID: 0xbc (Hynix NAND 512MiB 1,8V 16-bit)
Creating 5 MTD partitions on "omap2-nand.0":
0x000000000000-0x000000080000 : "xloader-nand"
0x000000080000-0x000000240000 : "uboot-nand"
0x000000240000-0x000000280000 : "params-nand"
0x000000280000-0x000000780000 : "linux-nand"
0x000000780000-0x000020000000 : "jffs2-nand"
OneNAND driver initializing
omap2-onenand omap2-onenand: Cannot request GPMC CS
omap2-onenand: probe of omap2-onenand failed with error -16
smsc911x: Driver version 2008-10-21.
smsc911x-mdio: probed
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
net eth0: MAC Address: 00:50:c2:7e:98:da
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.0: USB 2.0 started, EHCI 1.00
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: OMAP-EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.32 ehci_hcd
usb usb1: SerialNumber: ehci-omap.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver usbtest
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 32:ed:60:fc:98:b5
usb0: HOST MAC 06:01:56:c0:7c:2e
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: MUSB HDRC host driver
usb usb2: Manufacturer: Linux 2.6.32 musb-hcd
usb usb2: SerialNumber: musb_hdrc
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
mice: PS/2 mouse device common for all mice
input: TWL4030 Keypad as /devices/platform/i2c_omap.1/i2c-1/1-004a/twl4030_keypad/input/input0
ads7846 spi1.0: touchscreen, irq 335
input: ADS7846 Touchscreen as /devices/platform/omap2_mcspi.1/spi1.0/input/input1
twl_rtc twl_rtc: rtc core: registered twl_rtc as rtc0
twl_rtc twl_rtc: Power up reset detected.
twl_rtc twl_rtc: Enabling TWL-RTC.
i2c /dev entries driver
Linux video capture interface: v2.00
tvp514x 3-005c: Registered to v4l2 master omap34xxcam!!
omap-iommu omap-iommu.0: isp: version 1.1
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
OMAP Watchdog Timer Rev 0x31: initial timeout 60 sec
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
usbcore: registered new interface driver snd-usb-audio
No device for DAI omap-mcbsp-dai-0
No device for DAI omap-mcbsp-dai-1
No device for DAI omap-mcbsp-dai-2
No device for DAI omap-mcbsp-dai-3
No device for DAI omap-mcbsp-dai-4
OMAP3 EVM SoC init
asoc: twl4030 <-> omap-mcbsp-dai-0 mapping ok
ALSA device list:
  #0: omap3evm (twl4030)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Power Management for TI OMAP3.
Compensating OPP4 for 63mV Orig nvalue:0xaa9f91 New nvalue:0xaa9083
Compensating OPP3 for 63mV Orig nvalue:0xaacbb3 New nvalue:0xaab49e
Compensating OPP2 for 50mV Orig nvalue:0x9a88ed New nvalue:0xaaefd0
Compensating OPP1 for 50mV Orig nvalue:0x8980de New nvalue:0x99ccb1
Switched to new clocking rate (Crystal/Core/MPU): 26.0/400/1000 MHz
IVA2 clocking rate: 800 MHz
SmartReflex driver initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
twl_rtc twl_rtc: setting system clock to 2000-01-01 00:00:00 UTC (946684800)
tvp514x 3-005c: tvp5146m2 found at 0xb8 (OMAP I2C adapter)
omapdss DPI error: display already enabled
omap_vout omap_vout: 'lcd' Display already enabled
omapdss DPI error: display already enabled
omap_vout omap_vout: 'lcd' Display already enabled
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 1
omap_vout omap_vout: Buffer Size = 3686400
omap_vout omap_vout: : registered and initialized video device 2
Waiting for root device /dev/mmcblk0p2...
mmc0: new SDHC card at address e624
mmcblk0: mmc0:e624 SD08G 7.40 GiB
mmcblk0: p1 p2 p3
kjournald starting.  Commit interval 5 seconds
EXT3-fs (mmcblk0p2): warning: maximal mount count reached, running e2fsck is recommended
EXT3-fs (mmcblk0p2): using internal journal
EXT3-fs (mmcblk0p2): recovery complete
EXT3-fs (mmcblk0p2): mounted filesystem with writeback data mode
VFS: Mounted root (ext3 filesystem) on device 179:2.
Freeing init memory: 172K
INIT: version 2.86 booting
Please wait: booting...
Starting udev

使用特权

评论回复
5
wyjie| | 2020-4-11 17:44 | 只看该作者
文件系统有问题,请试一下,TI提供的基本文件系统

使用特权

评论回复
6
dengdc| | 2020-4-11 17:47 | 只看该作者
嗯,然后重点关注一下/dev /etc等目录下

使用特权

评论回复
7
jiahy| | 2020-4-11 17:50 | 只看该作者
你的缺什么或是哪个配置文件不对

使用特权

评论回复
8
jiajs|  楼主 | 2020-4-11 17:54 | 只看该作者

文件系统和内核镜像都是自带的,今天我去掉udev的一下配置后能向下启动,但还是不能完全启动

使用特权

评论回复
9
jiajs|  楼主 | 2020-4-11 17:56 | 只看该作者
Unable to handle kernel paging request at virtual address d19ad4d2。想网卡,液晶之类的都能启动正常。

使用特权

评论回复
10
jiajs|  楼主 | 2020-4-11 18:03 | 只看该作者
wclock: can't open '/dev/misc/rtc': No such file or directory
Fri Mar 25 01:14:00 UTC 2011
hwclock: can't open '/dev/misc/rtc': No such file or directory
CMEMK module: built on Mar 24 2011 at 20:50:56
  Reference Linux version 2.6.32
  File /sdk/build/DVSDK_4_02/4_02_00_06/arago-install/arago-tmp/work/dm37x-evm-none-linux-gnueabi/ti-linuxutils-1_2_26_01_02-r94d/linuxutils_2_26_01_02/packages/ti/sdo/linuxutils/cmem/src/module/cmemk.c
CMEM Range Overlaps Kernel Physical - allowing overlap
CMEM phys_start (0x83700000) overlaps kernel (0x80000000 -> 0x8b700000)
allocated heap buffer 0xd2000000 of size 0x2200000
heap fallback enabled - will try heap if pool buffer is not available
cmemk initialized
Unable to handle kernel paging request at virtual address d19ad4d2
pgd = cfb64000
[d19ad4d2] *pgd=00000000
Internal error: Oops: 5 [#1]
last sysfs file: /sys/kernel/uevent_seqnum
Modules linked in: cmemk
CPU: 0    Not tainted  (2.6.32 #1)
PC is at load_module+0x600/0x14e0
LR is at 0xcc876800
pc : [<c00839c4>]    lr : [<cc876800>]    psr: 60000013
sp : cfb2fee8  ip : d19ad4d2  fp : d088a000
r10: d096ae4c  r9 : d09ad4c4  r8 : d089f404
r7 : d089f33c  r6 : 00000070  r5 : 00000102  r4 : d09a7c34
r3 : 48005040  r2 : 00004000  r1 : 00080000  r0 : 0100000e
Flags: nZCv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment user
Control: 10c5387d  Table: 8fb64019  DAC: 00000015
Process modprobe (pid: 811, stack limit = 0xcfb2e2e8)
Stack: (0xcfb2fee8 to 0xcfb30000)
fee0:                   c043758c c009a064 cfb383e8 d096b234 d096ac3a cfa36480
ff00: d09ad4c4 00000034 00000035 0000001d 00000011 00000000 cfb383e8 cc876800
ff20: d089f408 0000068a d096b66c 00000000 d096b694 00000000 cfb2ff48 d096ae4c
ff40: cfb2e000 c047e0a0 cfb2e000 c0336144 22222222 22222222 22222222 c043758c
ff60: cfb2e000 00000000 0012612e 000160c8 40164000 c0034068 cfb2e000 00000000
ff80: 00000000 c00848f8 40164000 0012612e 000160c8 beb35f38 00000000 00000000
ffa0: 00000080 c0033ec0 beb35f38 00000000 40164000 0012612e 000160c8 000160c8
ffc0: beb35f38 00000000 00000000 00000080 00000000 0001608c 00016080 00000000
ffe0: beb35f38 beb359cc 0000b29c 400fd7d4 60000010 40164000 806ce021 806ce421
[<c00839c4>] (load_module+0x600/0x14e0) from [<c00848f8>] (sys_init_module+0x54/0x1dc)
[<c00848f8>] (sys_init_module+0x54/0x1dc) from [<c0033ec0>] (ret_fast_syscall+0x0/0x2c)
Code: e1130002 e1833002 e78e3101 1a000002 (e4dc3001)

使用特权

评论回复
11
wyjie| | 2020-4-11 18:04 | 只看该作者
配置估计有问题吧,去掉一些配置看看,最好找一个能正常启动的,两者比较下,能判断出那个模块出问题了,然后去掉重新编译再试试。

使用特权

评论回复
12
zhenykun| | 2020-4-11 18:10 | 只看该作者
你去掉udev之后系统就不能正常启动了。

使用特权

评论回复
13
yszong| | 2020-4-11 18:12 | 只看该作者
TI的文件系统是按照udev来做的。而你可能又不想使用udev.

使用特权

评论回复
14
heweibig| | 2020-4-11 18:15 | 只看该作者
这样吧,你可以使用busybox来自己做一个文件系统。

使用特权

评论回复
15
jiahy| | 2020-4-11 18:18 | 只看该作者

/dev/null和/dev/console是需要手工用mknod创建的.
其他的内容用mdev来创建就可以了

使用特权

评论回复
16
shimx| | 2020-4-11 18:22 | 只看该作者
对,在busybox的example里面有/etc/mdev.conf的例子。

使用特权

评论回复
17
liliang9554| | 2020-4-11 18:25 | 只看该作者


doc下面也有mdev.txt可以參考一下,這樣你可以自己做一個最小的文件系統。

使用特权

评论回复
18
heweibig| | 2020-4-11 18:29 | 只看该作者
把启动一半时的显示给大家展示一下

使用特权

评论回复
19
jiajs|  楼主 | 2020-4-12 09:49 | 只看该作者
好的,多谢大家了啊

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

940

主题

11975

帖子

6

粉丝