移植4.1内核时遇到devtmpfs: error mounting -2这样的问题

faihung faihung 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
具体是这样的,用的是飞凌的开发板:
芯片 iMX6UL,
NAND flash 256M
DDR 256M
设备树 imx6ul-14x14-evk-gpmi-7.dtb

原有的u-boot+zImage+logo+dtbs+rootfs是没问题的,但是内核是3.14的。

现在我想用4.1的内核来替换3.14的内核,
设备树没有变(因为开发板本身没变),
uboot没有变,
logo文件没有变,
文件系统没有变,
然后在4.1内核中编译yaffs2文件系统,然后通过 mfgtools工具烧录进去。
然后重新上电启动出现: devtmpfs: error mounting -2 这个错误。(在网上搜了好多资料,解决不了)

详细打印信息如下:

U-Boot 2015.04-g3989e3c (Dec 14 2017 - 19:04:37)

CPU: Freescale i.MX6UL rev1.1 at 396 MHz
CPU: Temperature 39 C
Reset cause: POR
Board: MX6UL 14x14 EVK
I2C: ready
DRAM: 256 MiB
NAND: 256 MiB
MMC: FSL_SDHC: 0
*** Warning - bad CRC, using default environment

Display: TFT70AB (800x480)
Video: 800x480x24

NAND read: device 0 offset 0x400000, size 0x80000
524288 bytes read: OK

NAND read: device 0 offset 0x400000, size 0x80000
524288 bytes read: OK
display bmp cfb_console.c
In: serial
Out: serial
Err: serial
Net: FEC0
Error: FEC0 address not set.

Normal Boot
Hit any key to stop autoboot: 0
nand boot..........

NAND read: device 0 offset 0xa00000, size 0x800000
8388608 bytes read: OK

NAND read: device 0 offset 0x700000, size 0x40000
262144 bytes read: OK
Kernel image @ 0x80800000 [ 0x000000 - 0x55e8f8 ]
## Flattened Device Tree blob at 83000000
Booting using the fdt blob at 0x83000000
Using Device Tree in place at 83000000, end 8300c7c5

Starting kernel ...

[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.1.15 (root@Ding) (gcc version 4.6.2 20110630 (prerelease) (Freescale MAD -- Linaro 2011.07 -- Built at 2011/08/10 09:20) ) #2 SMP PREEMPT Fri Aug 10 20:14:33 CST 2018
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Freescale i.MX6 UltraLite 14x14 EVK Board
[ 0.000000] cma: Reserved 64 MiB at 0x8c000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 12 pages/cpu @8bdb1000 s16768 r8192 d24192 u49152
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 65024
[ 0.000000] Kernel command line: console=ttymxc0,115200 cma=64M root=/dev/mtdblock5 rootfstype=yaffs2,calibrate=y
[ 0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[ 0.000000] Memory: 183512K/262144K available (6957K kernel code, 319K rwdata, 2364K rodata, 404K init, 424K bss, 13096K reserved, 65536K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0x90800000 - 0xff000000 (1768 MB)
[ 0.000000] lowmem : 0x80000000 - 0x90000000 ( 256 MB)
[ 0.000000] pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
[ 0.000000] modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
[ 0.000000] .text : 0x80008000 - 0x80922a30 (9323 kB)
[ 0.000000] .init : 0x80923000 - 0x80988000 ( 404 kB)
[ 0.000000] .data : 0x80988000 - 0x809d7e80 ( 320 kB)
[ 0.000000] .bss : 0x809da000 - 0x80a44368 ( 425 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Additional per-CPU info printed with stalls.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ------------[ cut here ]------------
[ 0.000000] WARNING: CPU: 0 PID: 0 at arch/arm/mach-imx/gpc.c:608 imx_gpc_check_dt+0x4c/0x84()
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 4.1.15 #2
[ 0.000000] Hardware name: Freescale i.MX6 Ultralite (Device Tree)
[ 0.000000] [<80016b64>] (unwind_backtrace) from [<80012878>] (show_stack+0x10/0x14)
[ 0.000000] [<80012878>] (show_stack) from [<8069511c>] (dump_stack+0x74/0xd0)
[ 0.000000] [<8069511c>] (dump_stack) from [<80038e54>] (warn_slowpath_common+0x78/0xb0)
[ 0.000000] [<80038e54>] (warn_slowpath_common) from [<80038ea8>] (warn_slowpath_null+0x1c/0x24)
[ 0.000000] [<80038ea8>] (warn_slowpath_null) from [<809310ec>] (imx_gpc_check_dt+0x4c/0x84)
[ 0.000000] [<809310ec>] (imx_gpc_check_dt) from [<80944624>] (imx6ul_init_irq+0x8/0x18)
[ 0.000000] [<80944624>] (imx6ul_init_irq) from [<80926368>] (init_IRQ+0x28/0x80)
[ 0.000000] [<80926368>] (init_IRQ) from [<80923aa8>] (start_kernel+0x21c/0x3b0)
[ 0.000000] [<80923aa8>] (start_kernel) from [<8000807c>] (0x8000807c)
[ 0.000000] ---[ end trace cb88537fdc8fa200 ]---
[ 0.000000] Outdated DT detected, suspend/resume will NOT work
[ 0.000000] mxc_clocksource_init 24000000
[ 0.000000] Switching to timer-based delay loop, resolution 41ns
[ 0.000016] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000055] clocksource mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.002800] Console: colour dummy device 80x30
[ 0.002841] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[ 0.002876] pid_max: default: 32768 minimum: 301
[ 0.003097] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003124] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.004488] CPU: Testing write buffer coherency: ok
[ 0.004988] /cpus/cpu@0 missing clock-frequency property
[ 0.005031] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.005138] Setting up static identity map for 0x80008280 - 0x800082f0
[ 0.041232] Brought up 1 CPUs
[ 0.041268] SMP: Total of 1 processors activated (48.00 BogoMIPS).
[ 0.041288] CPU: All CPU(s) started in SVC mode.
[ 0.042375] devtmpfs: initialized
[ 0.060255] device-tree: Duplicate name in lcdif@021c8000, renamed to "display#1"
[ 0.065649] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.066522] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.072084] pinctrl core: initialized pinctrl subsystem
[ 0.074835] NET: Registered protocol family 16
[ 0.093211] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.120904] cpuidle: using governor ladder
[ 0.150971] cpuidle: using governor menu
[ 0.199763] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.199801] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.204369] imx6ul-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.259258] mxs-dma 1804000.dma-apbh: initialized
[ 0.265115] SCSI subsystem initialized
[ 0.266509] usbcore: registered new interface driver usbfs
[ 0.266698] usbcore: registered new interface driver hub
[ 0.266922] usbcore: registered new device driver usb
[ 0.270517] i2c i2c-0: IMX I2C adapter registered
[ 0.270563] i2c i2c-0: can't use DMA
[ 0.272203] i2c i2c-1: IMX I2C adapter registered
[ 0.272247] i2c i2c-1: can't use DMA
[ 0.272556] Linux video capture interface: v2.00
[ 0.272765] pps_core: LinuxPPS API ver. 1 registered
[ 0.272786] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[ 0.272864] PTP clock support registered
[ 0.275797] Advanced Linux Sound Architecture Driver Initialized.
[ 0.280005] Switched to clocksource mxc_timer1
[ 0.306744] NET: Registered protocol family 2
[ 0.308346] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.308443] TCP bind hash table entries: 2048 (order: 2, 16384 bytes)
[ 0.308536] TCP: Hash tables configured (established 2048 bind 2048)
[ 0.308675] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 0.308737] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 0.309140] NET: Registered protocol family 1
[ 0.309865] RPC: Registered named UNIX socket transport module.
[ 0.309898] RPC: Registered udp transport module.
[ 0.309916] RPC: Registered tcp transport module.
[ 0.309934] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.313434] imx rpmsg driver is registered.
[ 0.315686] Bus freq driver module loaded
[ 0.317895] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.335498] VFS: Disk quotas dquot_6.6.0
[ 0.335992] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.341960] NFS: Registering the id_resolver key type
[ 0.342063] Key type id_resolver registered
[ 0.342084] Key type id_legacy registered
[ 0.342304] jffs2: version 2.2. (NAND) 2001-2006 Red Hat, Inc.
[ 0.344206] fuse init (API version 7.23)
[ 0.349059] io scheduler noop registered
[ 0.349103] io scheduler deadline registered
[ 0.349220] io scheduler cfq registered (default)
[ 0.350669] imx-weim 21b8000.weim: Driver registered.
[ 0.357245] backlight supply power not found, using dummy regulator
[ 0.362492] 21c8000.lcdif supply lcd not found, using dummy regulator
[ 0.471662] mxsfb 21c8000.lcdif: failed to find mxc display driver
[ 0.490463] Console: switching to colour frame buffer device 100x30
[ 0.504982] mxsfb 21c8000.lcdif: initialized
[ 0.512362] imx-sdma 20ec000.sdma: no event needs to be remapped

...全文

相关推荐

chrome-headless-shell-win32-159.0.8132.0(Canary).zip

chrome-headless-shell-win32-159.0.8132.0(Canary).zip

LCG元

惠普150 联想1821 1831 1831W定影清零,转印带清零

惠普150 联想1821 1831 1831W定影清零,转印带清零,报错不打印,通过清零软件可以清除。内附使用说明。

weixin_45614853

【电液伺服执行器与PI控制器】带有PI控制器的电液伺服执行器的模拟研究(Simulink仿真实现)

内容概要:本文围绕带有PI控制器的电液伺服执行器开展模拟研究,利用Simulink工具构建系统仿真模型,深入分析PI控制器在电液伺服系统中的控制性能与动态响应特性。研究内容涵盖系统建模、PI控制参数整定、仿真结果分析等关键环节,重点探讨PI控制器对系统稳定性、响应速度及抗干扰能力的优化作用,并通过仿真验证控制策略的有效性与实用性; 适合人群:具备自动控制原理、液压传动基础知识及Simulink仿真能力的自动化、机械电子、控制工程等相关专业的高校学生、研究生及工程技术人员; 使用场景及目标:①用于自动控制类课程的教学实验或课程设计,帮助学生深入理解电液伺服系统的工作原理与典型控制方法;②应用于工业高精度执行机构的控制器设计,为实际工程中的系统优化提供理论支撑与仿真验证手段; 阅读建议:文中提供的Simulink模型与仿真流程具备良好的可复现性,建议读者结合具体工况调整PI参数,进一步探究PID或其他先进控制算法的改进效果,以深化对控制系统设计的理解与应用能力。

三伯

FYZN PcbDesigner.App.1.0.18.12-win10.rar

打开与保存 常用格式直接读写:打开、编辑、保存 .PcbDoc(含设计规则、层叠等信息)也能打开看结构 原理图文档:打开 / 新建 .SchDoc,和 PCB 文档一起在左侧项目树里管理,双击节点即可重开 另存为通用 ASCII:原理图与 PCB 都能导出为 ASCII 格式,方便文本比对、脚本处理,或交给别的流程 底图参考:需要对着图描的时候,可以给每个图层各放一张参考底图,与文件分开存 JSON,迁移工程时能一起带走 最近文件:最近打开的文件列表里可以直接右键「打开文件位置」 win10版本

b450207756

软件测试浏览器自动化测试3

内容概要:本文介绍了浏览器自动化测试的三种主流工具——Selenium、Playwright 和 Puppeteer,并重点展示了 Puppeteer 的一个最小可运行代码示例。文章指出,从选型角度看,2026年的技术共识是新项目应优先选择 Playwright,已有 Selenium 框架的项目无需主动替换,而 Puppeteer 更适用于仅针对 Chrome 浏览器且运行环境为 Node.js 的场景。文中提供的 Puppeteer 示例涵盖了启动浏览器、打开页面、设置视口、键盘操作、元素定位与点击等核心操作流程,体现了其作为“浏览器控制库”的定位。同时强调,Puppeteer 本身不包含测试运行器和断言功能,需结合 Jest 等测试框架才能完整实现自动化测试能力,这是它与 Playwright 和 Selenium 的本质区别。; 适合人群:具备一定前端或自动化测试基础,从事 Web 自动化测试相关工作的开发与测试人员,尤其是面临工具选型的技术决策者;; 使用场景及目标:①帮助开发者快速理解 Puppeteer 的基本使用方式及其在实际项目中的应用流程;②为团队在自动化测试工具选型时提供明确的技术方向建议,尤其是在新项目中评估 Playwright 与 Puppeteer 的适用边界;; 阅读建议:在学习本文时,建议结合实际编码环境运行示例代码,并进一步探索 Puppeteer 与 Jest 的集成方案,以构建完整的测试闭环;同时关注 Playwright 相对于 Puppeteer 的优势,如多浏览器支持和内置测试模型,以便做出更合理的工程决策。

Bert.Cai
评论 5
收藏 已收藏
分享
返回顶部
faihung
Linux_Kernel 4,469 成员 17,458 内容