查看: 2417|回复: 3

[求助] imx6 烧录到文件系统的时候报错

[复制链接]

该用户从未签到

3

主题

17

帖子

0

新手上路

Rank: 1

积分
44
最后登录
2022-1-6
发表于 2021-12-17 17:27:49 | 显示全部楼层 |阅读模式

UTP: executing "mount -t vfat /dev/mmcblk3p1 /mnt/mmcblk3p1"
UTP: sending Success to kernel for command $ mount -t vfat /dev/mmcblk3p1 /mnt/mmcblk3p1.
utp_poll: pass returned.
UTP: received command 'send'
UTP: sending Success to kernel for command send.
UTP: received command '$ cp $FILE /mnt/mmcblk3p1/zImage'
UTP: executing "cp $FILE /mnt/mmcblk3p1/zImage"
UTP: sending Success to kernel for command $ cp $FILE /mnt/mmcblk3p1/zImage.
utp_poll: pass returned.
UTP: received command 'send'
UTP: sending Success to kernel for command send.
UTP: received command '$ cp $FILE /mnt/mmcblk3p1/imx6q-sabresd.dtb'
UTP: executing "cp $FILE /mnt/mmcblk3p1/imx6q-sabresd.dtb"
UTP: sending Success to kernel for command $ cp $FILE /mnt/mmcblk3p1/imx6q-sabresd.dtb.
utp_poll: pass returned.
UTP: received command '$ umount /mnt/mmcblk3p1'
UTP: executing "umount /mnt/mmcblk3p1"
UTP: sending Success to kernel for command $ umount /mnt/mmcblk3p1.
utp_poll: pass returned.
UTP: received command '$ mkfs.ext3 -E nodiscard /dev/mmcblk3p2'
UTP: executing "mkfs.ext3 -E nodiscard /dev/mmcblk3p2"
mke2fs 1.42.9 (28-Dec-2013)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
438912 inodes, 1755600 blocks
87780 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=1799356416
54 block groups
32768 blocks per group, 32768 fragments per group
8128 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

CPU1: stopping
CPU: 1 PID: 0 Comm: swapper/1 Not tainted 4.1.15-1.0.0-mfgtool+g3924425 #1
Hardware name: Freescale i.MX6 Quad/DualLite (Device Tree)
[<80015ee4>] (unwind_backtrace) from [<80012774>] (show_stack+0x10/0x14)
[<80012774>] (show_stack) from [<8068fca4>] (dump_stack+0x80/0xc8)
[<8068fca4>] (dump_stack) from [<80014d14>] (handle_IPI+0x15c/0x190)
[<80014d14>] (handle_IPI) from [<80009478>] (gic_handle_irq+0x58/0x60)
[<80009478>] (gic_handle_irq) from [<80013240>] (__irq_svc+0x40/0x74)
Exception stack(0xd8099f60 to 0xd8099fa8)
9f60: 00000000 ee72d2c0 00000001 d8098000 8047f516 00000003 80af77c8 00000003
9f80: ee729dd8 00000001 8097a304 00000001 ffffffff d8099fa8 806953a4 804a861c
9fa0: 200d0013 ffffffff
[<80013240>] (__irq_svc) from [<804a861c>] (cpuidle_enter_state+0xcc/0x1f8)
[<804a861c>] (cpuidle_enter_state) from [<800657c0>] (cpu_startup_entry+0x1d0/0x314)
[<800657c0>] (cpu_startup_entry) from [<1000950c>] (0x1000950c)
---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage


这是我的串口信息,执行到mkfs.ext3 -E nodiscard /dev/mmcblk3p2的时候就挂掉了

这是为啥呀?
我知道答案 目前已有3人回答
回复

使用道具 举报

该用户从未签到

3

主题

17

帖子

0

新手上路

Rank: 1

积分
44
最后登录
2022-1-6
 楼主| 发表于 2021-12-17 17:28:22 | 显示全部楼层
<!-- burn rootfs -->
        <CMD state="Updater" type="push" body="$ mkfs.ext3  /dev/mmcblk3p2">Formatting rootfs partition</CMD>
        <CMD state="Updater" type="push" body="$ mkdir -p /mnt/mmcblk3p2"/>
        <CMD state="Updater" type="push" body="$ mount -t ext3 /dev/mmcblk3p2 /mnt/mmcblk3p2"/>
        <CMD state="Updater" type="push" body="pipe tar -zxv -C /mnt/mmcblk3p2" file="files/linux/rootfs.tgz" ifdev="MX6SL MX6D MX6Q MX6SX">Sending and writting rootfs</CMD>
        <CMD state="Updater" type="push" body="frf">Finishing rootfs write</CMD>
        <CMD state="Updater" type="push" body="$ umount /mnt/mmcblk3p2">Unmounting rootfs partition</CMD>
        <CMD state="Updater" type="push" body="$ echo Update Complete!">Done</CMD>

这是我的ucl2配置信息
回复 支持 反对

使用道具 举报

该用户从未签到

712

主题

6371

帖子

0

超级版主

Rank: 8Rank: 8

积分
24910
最后登录
2025-7-22
发表于 2021-12-23 13:57:11 | 显示全部楼层

你用uuu烧写试试呢

友情告知:
各位恩智浦老铁,
小恩GG和小智MM感谢您长期以来对恩智浦产品的支持和厚爱。由于工作内容变动,我们将暂停技术支持服务。
我们将会推出更多基于NXP MCU/MPU产品的技术文章,敬请大家关注。
如果您有技术支持需求,请移步恩智浦官方论坛https://community.nxp.com/(支持中文)。
感谢您的理解和支持!
回复 支持 反对

使用道具 举报

该用户从未签到

3

主题

17

帖子

0

新手上路

Rank: 1

积分
44
最后登录
2022-1-6
 楼主| 发表于 2021-12-29 17:56:04 | 显示全部楼层
小恩GG 发表于 2021-12-23 13:57
你用uuu烧写试试呢

友情告知:

谢谢你的回答,我更改了分区的偏移地址后可以烧录了,只是现在解压文件系统的时候出panic错误了,
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 注册/登录

本版积分规则

关闭

站长推荐上一条 /3 下一条

Archiver|手机版|小黑屋|恩智浦技术社区

GMT+8, 2025-7-23 05:36 , Processed in 0.090537 second(s), 24 queries , MemCache On.

Powered by Discuz! X3.4

Copyright © 2001-2024, Tencent Cloud.

快速回复 返回顶部 返回列表