我换了android 2.3.2的rootfs ,单独只修改了 etc/friendlyarm-ts-input.conf,使用mkuimage生成镜像文件,烧写后,从启动代码看,还是显示的是/dev/touchscreen,信息如下:
UBIFS: mounted UBI device 0, volume 0, name "FriendlyARM-root"
UBIFS: file system size: 253661184 bytes (247716 KiB, 241 MiB, 1966 LEBs)
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
one_wire_status: 2
TouchDevice: /dev/touchscreen
xres = 800, yres = 480
然后,我修改了两个文件,friendlyarm-ts-input.conf,etc/ts.detected内容,注意,原本rootfs里没有ts.detected,是我兴建的。结果发现确实改过来了,但内核启动失败
UBIFS: journal size: 9033728 bytes (8822 KiB, 8 MiB, 71 LEBs)
UBIFS: media format: w4/r0 (latest is w4/r0)
UBIFS: default compressor: lzo
UBIFS: reserved for root: 0 bytes (0 KiB)
one_wire_status: 2
TouchDevice: /dev/ttySAC3
ts_config: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
[<c016a9a4>] (unwind_backtrace+0x0/0xe4) from [<c04c31ec>] (panic+0x68/0x194)
[<c04c31ec>] (panic+0x68/0x194) from [<c01827e4>] (do_exit+0x68/0x664)
[<c01827e4>] (do_exit+0x68/0x664) from [<c018310c>] (do_group_exit+0xb0/0xe4)
[<c018310c>] (do_group_exit+0xb0/0xe4) from [<c0183150>] (sys_exit_group+0x10/0x18)
one_wire_status: 2
[<c0183150>] (sys_exit_group+0x10/0x18) from [<c0165e60>] (ret_fast_syscall+0x0/0x30)
Rebooting in 5 seconds..one_wire_status: 4
s3c2410-ohci s3c2410-ohci: auto-stop root hub
arch_reset: atOK
求助