OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 92|回复: 1

实验39.4 烧写自制的系统,从emmc启动后卡死在Starting kernel ...

[复制链接]

3

主题

9

帖子

0

精华

新手上路

积分
23
金钱
23
注册时间
2024-2-23
在线时间
7 小时
发表于 2024-5-2 16:49:18 | 显示全部楼层 |阅读模式
1金钱
参考正点原子39.4 烧写自制的系统,烧写自己编译的uboot,zImage, zImage-imx6ull-14x14-evk-emmc.dtb, 按教程改名,之后从emmc读取zImage和设备树文件并启动板子,系统卡死
  • Environment size: 2733/8188 bytes
  • => fatload mmc 1:1 80800000 zImage
  • reading zImage
  • 5546940 bytes read in 138 ms (38.3 MiB/s)
  • => fatload mmc 1:1 83000000 imx6ull-14x14-evk.dtb
  • reading imx6ull-14x14-evk.dtb
  • 38695 bytes read in 17 ms (2.2 MiB/s)
  • => bootz 80800000 - 83000000
  • Kernel image @ 0x80800000 [ 0x000000 - 0x5421e0 ]
  • ## Flattened Device Tree blob at 83000000
  •    Booting using the fdt blob at 0x83000000
  •    Using Device Tree in place at 83000000, end 8300c726
  • Starting kernel ...

[color=rgb(0, 102, 153) !important]复制代码



从tftp服务器下载到内存启动没有问题:
  • => tftp 80800000 zImage
  • => tftp 83000000 imx6ull-14x14-evk.dtb
  • => bootz 80800000 - 83000000
  • Kernel image @ 0x80800000 [ 0x000000 - 0x5421e0 ]
  • ## Flattened Device Tree blob at 83000000
  •    Booting using the fdt blob at 0x83000000
  •    Using Device Tree in place at 83000000, end 8300c726
  • Starting kernel ...
  • Booting Linux on physical CPU 0x0
  • Linux version 4.1.15+ (fanxin@VirtualBox-1804) (gcc version 4.9.4 (Linaro GCC 4.9-2017.01) ) #1 SMP PREEMPT Mon Apr 29 11:09:59 CST 2024


[color=rgb(0, 102, 153) !important]复制代码


正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

3

主题

9

帖子

0

精华

新手上路

积分
23
金钱
23
注册时间
2024-2-23
在线时间
7 小时
 楼主| 发表于 2024-5-2 20:08:59 | 显示全部楼层
参考教程37.3 在 Linux中添加自己的开发板,编译出来的zImage无法从emmc启动,可以从tftp网络启动。不知道内核中需要修改什么代码。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2024-5-24 05:08

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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