我在kernel里面保留了一段内存(0x85a00000, 这段内存是ipu1写入,然后,a15读取的),但是一旦这么做,kernel就会遇到各种问题,最终挂掉了。
请问这是为什么呢
Shine:
请问用的是哪款器件?
Zhonghua Ke:
回复 Shine:
jacinto6.
我在dts中保留内存:
ipu1video_rev: ipu1video_rev@85a00000 { reg = <0x85a00000 0xAE0000>; status = "okay"; };
因为这一块是IPU1要用的,如果不保留起来会被malloc分配到,数据就被IPU1踩掉了。
然而,内存保留成功会,系统就起不来了:
udevd[1131]: worker [1136] terminated by signal 11 (Segmentation fault)
udevd[1131]: worker [1136] failed while handling '/devices/44000000.ocp/48880000.omap_dwc3_1/48890000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.0/host1/target1:0:0/1:0:0:0'
[ 7.354244] EXT4-fs (sda2): re-mounted. Opts: (null)
[ 7.372253] EXT4-fs error (device sda2): ext4_iget:4095: inode #104: comm S07bootlogd: bad extra_isize (8217 != 256)[ 7.408641] random: dd urandom read with 61 bits of entropy available[ 7.476714] EXT4-fs error (device sda2): ext4_lookup:1429: inode #131: comm sh: deleted inode referenced: 146[ 7.487204] EXT4-fs error (device sda2): ext4_lookup:1429: inode #131: comm sh: deleted inode referenced: 146[ 7.499945] EXT4-fs error (device sda2): ext4_lookup:1429: inode #131: comm ln: deleted inode referenced: 146[ 7.510513] EXT4-fs error (device sda2): ext4_lookup:1429: inode #131: comm ln: deleted inode referenced: 146[ 7.520874] EXT4-fs error (device sda2): ext4_lookup:1429: inode #131: comm ln: deleted inode referenced: 146ln: /var/lock: Input/output error[ 7.547551] EXT4-fs error (device sda2): ext4_iget:4095: inode #143: comm sh: bad extra_isize (325 != 256)[ 7.557740] EXT4-fs error (device sda2): ext4_iget:4095: inode #143: comm sh: bad extra_isize (325 != 256)[ 7.570168] EXT4-fs error (device sda2): ext4_iget:4095: inode #143: comm ln: bad extra_isize (325 != 256)[ 7.580290] EXT4-fs error (device sda2): ext4_iget:4095: inode #143: comm ln: bad extra_isize (325 != 256)ln: /var/tmp: Input/output errormkdir: can't create directory '/var/lock/': Input/output errorchmod: /var/lock/subsys: Input/output error/etc/init.d/rc: line 45: 1387 Segmentation fault ( trap – INT QUIT TSTP; scriptname=$1; shift; . $scriptname )
Shine:
回复 Zhonghua Ke:
jacinto6器件论坛不支持,既然你已经在用了,可以找你的TI销售获取技术支持。
Zhonghua Ke:
回复 Shine:
感觉这好像跟器件没有关系。
好吧,还是谢谢你