内核烧写成功后,接下来烧写文件系统,烧写过程中内核core掉,日志如下
lib/libBrokenLocale-2.11.1.so
lib/libcrypt.so.1
lib/librt.so.1
lib/libdl-2.11.1.so
lib/libresolv.so.2
lib/libgomp.so
lib/libssp.so.0
lib/libnss_files.so.2
lib/libstdc++.so.6.0.13
lib/libBrokenLocale.so.1
lib/libm-2.11.1.so
UTP: received command 'frf'
UTP: waiting for pipe to close
lib/libnss_hesiod.so.2
lib/libcrypt-2.11.1.so
lib/libnss_dns.so.2
lib/libnss_compat-2.11.1.so
lib/libanl.so.1
lib/librt-2.11.1.so
lib/libpthread-2.11.1.so
lib/libc.so.6
lib/libgomp.so.1.0.0
Unable to handle kernel NULL pointer dereference at virtual address 00000008
pgd = c0004000
[00000008] *pgd=00000000
Internal error: Oops: 17 [#1] PREEMPT
last sysfs file: /sys/devices/platform/mxs-spi.0/spi1.0/mtd/mtd1/mtdblock1/dev
Modules linked in:
CPU: 0 Not tainted (2.6.35.3-670-g914558e #9)
PC is at do_scsi_command+0x8e8/0x21b4
LR is at do_scsi_command+0x8e8/0x21b4
pc : [<c02a506c>] lr : [<c02a506c>] psr: 60000013
sp : c3399ef0 ip : c03c9fe0 fp : c3399f6c
r10: c0584bb4 r9 : c3399f24 r8 : c0584bc8
r7 : c3398000 r6 : 00000000 r5 : c0584bb8 r4 : c335ca00
r3 : 00000000 r2 : 00000001 r1 : c3399f24 r0 : c0584bc8
Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
Control: 0005317f Table: 42aac000 DAC: 00000017
Process file-storage-ga (pid: 980, stack limit = 0xc3398270)
Stack: (0xc3399ef0 to 0xc339a000)
9ee0: c004e3fc c00b6550 c3ce6f00 c3398000
9f00: c0584bdc c3c20f00 000000c1 0000c1c1 00c1c100 c004e3c0 c2bade40 c02a30f4
9f20: c33ba000 00000000 c3ce6f00 c00738ec c3399f30 c3399f30 c0570060 00000200
9f40: c3399f6c c335ca00 c3394000 c3398000 c050c2d4 c335ca78 c0570060 c33ba000
9f60: c3399fc4 c3399f70 c02a6dc4 c02a4794 c335ca7c c3398000 c04f4d98 c3c20000
9f80: c3399fc4 c3399f90 c03c9138 c004e3c0 c335cab0 c335ca40 c3399fc4 c3c23ec0
9fa0: c3399fcc c02a6938 c335ca00 00000000 00000000 00000000 c3399ff4 c3399fc8
9fc0: c007342c c02a6948 00000000 00000000 c3399fd0 c3399fd0 c3c23ec0 c00733a0
9fe0: c00590dc 00000013 00000000 c3399ff8 c00590dc c00733b0 1d381823 2c8c0286
Backtrace:
[<c02a4784>] (do_scsi_command+0x0/0x21b4) from [<c02a6dc4>] (fsg_main_thread+0x48c/0x930)
[<c02a6938>] (fsg_main_thread+0x0/0x930) from [<c007342c>] (kthread+0x8c/0x94)
[<c00733a0>] (kthread+0x0/0x94) from [<c00590dc>] (do_exit+0x0/0x760)
r7:00000013 r6:c00590dc r5:c00733a0 r4:c3c23ec0
Code: e1530006 03a06000 e1a00008 eb0493d7 (e5d63008)
---[ end trace a9c5f97f8a197439 ]---
lib/libnss_files-2.11.1.so
lib/libstdc++.so.6
lib/ld-2.11.1.so
lib/libnss_compat.so.2
lib/libutil.so.1
lib/libanl-2.11.1.so
lib/libresolv-2.11.1.so
lib/libnsl.so.1
lib/libdl.so.2
lib/ld-linux.so.3
lib/libpthread.so.0
lib/libgcc_s.so
linuxrc
mnt/
mnt/src/
mnt/rwfs/
mnt/nfs/
mnt/floppy/
mnt/cdrom/
Friday, December 11, 2015 11:34:39
1 - Panel A Start processing SPI-NOR (kernel and rootfs) <LIST/>.
Panel A Start <CMD/> type="boot" body="Recovery" file="updater.sb" timeout="10" onError="" text="Booting update firmware.".
1 - Panel A Finished <CMD/> type="boot" body="Recovery" file="updater.sb" timeout="10" onError="" text="Booting update firmware." SUCCESS code=0x0.
Panel A Start <CMD/> type="boot" body="Recovery" file="updater_ivt.sb" timeout="10" onError="" text="Booting update firmware.".
1 - Panel A Finished <CMD/> type="boot" body="Recovery" file="updater_ivt.sb" timeout="10" onError="" text="Booting update firmware." SUCCESS code=0x0.
Panel A Start <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="".
Panel A UtpUpdate Event: DeviceRemoval Msg: (null) DevState: Disconnected OpState: WAITING_FOR_DEVICE
Panel A UtpUpdate Event: VolumeArrival Msg: (null) DevState: Updater OpState: WAITING_FOR_DEVICE
1 - Panel A Finished <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="mknod class/mtd,mtd0,/dev/mtd0" file="" timeout="10" onError="" text="".
1 - Panel A Finished <CMD/> type="push" body="mknod class/mtd,mtd0,/dev/mtd0" file="" timeout="10" onError="" text="" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="mknod class/mtd,mtd1,/dev/mtd1" file="" timeout="10" onError="" text="".
1 - Panel A Finished <CMD/> type="push" body="mknod class/mtd,mtd1,/dev/mtd1" file="" timeout="10" onError="" text="" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="mknod block,mtdblock1,/dev/mtdblock1,block" file="" timeout="10" onError="" text="".
1 - Panel A Finished <CMD/> type="push" body="mknod block,mtdblock1,/dev/mtdblock1,block" file="" timeout="10" onError="" text="" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="$ flash_eraseall /dev/mtd0" file="" timeout="10" onError="" text="Erasing kernel partition".
1 - Panel A Finished <CMD/> type="push" body="$ flash_eraseall /dev/mtd0" file="" timeout="10" onError="" text="Erasing kernel partition" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="send" file="files/imx28_ivt_linux.sb" timeout="10" onError="" text="Sending kernel".
1 - Panel A Finished <CMD/> type="push" body="send" file="files/imx28_ivt_linux.sb" timeout="10" onError="" text="Sending kernel" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="$ dd if=$FILE of=/dev/mtd0" file="" timeout="10" onError="" text="Programming kernel".
1 - Panel A Finished <CMD/> type="push" body="$ dd if=$FILE of=/dev/mtd0" file="" timeout="10" onError="" text="Programming kernel" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="$ flash_eraseall /dev/mtd1" file="" timeout="10" onError="" text="Erasing rootfs partition".
1 - Panel A Finished <CMD/> type="push" body="$ flash_eraseall /dev/mtd1" file="" timeout="10" onError="" text="Erasing rootfs partition" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="$ mkdir -p /mnt/mtdblock1" file="" timeout="10" onError="" text="".
1 - Panel A Finished <CMD/> type="push" body="$ mkdir -p /mnt/mtdblock1" file="" timeout="10" onError="" text="" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="$ mount -t jffs2 /dev/mtdblock1 /mnt/mtdblock1" file="" timeout="10" onError="" text="".
1 - Panel A Finished <CMD/> type="push" body="$ mount -t jffs2 /dev/mtdblock1 /mnt/mtdblock1" file="" timeout="10" onError="" text="" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="pipe tar -jxv -C /mnt/mtdblock1" file="files/rootfs.tar.bz2" timeout="10" onError="" text="Sending and writting rootfs".
1 - Panel A Finished <CMD/> type="push" body="pipe tar -jxv -C /mnt/mtdblock1" file="files/rootfs.tar.bz2" timeout="10" onError="" text="Sending and writting rootfs" SUCCESS code=0x0.
Panel A Start <CMD/> type="push" body="frf" file="" timeout="10" onError="" text="Finishing rootfs write".
1 - Panel A Finished <CMD/> type="push" body="frf" file="" timeout="10" onError="" text="Finishing rootfs write" FAIL code=0xffffffff.
Panel A: Operation is not completed.,failed to run command: type="push" body="frf" file="" timeout="10" onError="" text="Finishing rootfs write"
2 - Panel A Finished processing SPI-NOR (kernel and rootfs) <LIST/> : FAIL code=-1.
Panel A: Reason is unknown,
<LIST name="SPI-NOR (kernel and rootfs)" desc="zyx test">
<CMD type="boot" body="Recovery" file="updater.sb" if="HabDisable">Booting update firmware.</CMD>
<CMD type="boot" body="Recovery" file="updater_ivt.sb" if="HabEnable">Booting update firmware.</CMD>
<CMD type="find" body="Updater" timeout="180"/>
<CMD type="push" body="mknod class/mtd,mtd0,/dev/mtd0"/>
<CMD type="push" body="mknod class/mtd,mtd1,/dev/mtd1"/>
<CMD type="push" body="mknod block,mtdblock1,/dev/mtdblock1,block"/>
<CMD type="push" body="$ flash_eraseall /dev/mtd0">Erasing kernel partition</CMD>
<CMD type="push" body="send" file="files/imx28_ivt_linux.sb">Sending kernel</CMD>
<CMD type="push" body="$ dd if=$FILE of=/dev/mtd0">Programming kernel</CMD>
<CMD type="push" body="$ flash_eraseall /dev/mtd1">Erasing rootfs partition</CMD>
<CMD type="push" body="$ mkdir -p /mnt/mtdblock1"/>
<CMD type="push" body="$ mount -t jffs2 /dev/mtdblock1 /mnt/mtdblock1"/>
<CMD type="push" body="pipe tar -jxv -C /mnt/mtdblock1" file="files/rootfs.tar.bz2">Sending and writting rootfs</CMD>
<CMD type="push" body="frf">Finishing rootfs write</CMD>
<CMD type="push" body="$ umount /mnt/mtdblock1">Unmounting rootfs partition</CMD>
<CMD type="push" body="$ echo Update Complete!">Done</CMD>
</LIST>
usb gadget那块用的是freescale的原版BSP,没有改过,为啥会core掉了? |