mkimage ubuntu,ubuntu20.04下载教程
为什么在安装Ubuntu过程中会出现kernel_ panic
系统文件读取错误
建议:重装系统,简单解决!如果不想重装,可以参考一下办法
以下解释一下错误原因
1.内核读取时CRC错误,原因使用super vivi烧写内核文件到nand flash造成的错误,解释方法:直接在Uboot里面使用tftp命令或者fatload usb 0:1 0x30008000 uImage(usb start u盘启动命令)将内核文件拷贝到内存,然后通过nand命令将文件写到nand flash中。
2.启动文件系统时提示无法获取文件系统的init文件,原因yaffs文件系统没有制作好,对于nand-flash大于128M的nand用mkimage2yaffs-128M进行制作,mkimage2yaffs-128M主要对增加了nand_ecc.c和ood校验的计算。
3.启动文件系统时Kernel panic- not syncing: Attempted to kill init!的错误,原因arm-linux-gcc交叉编译器为4.4.3需要在linux kernel配置里面增加EABI的支持。
怎样安装 mkimage 工具
beyond@ubuntu:~/dev/arch/arm/boot$ sudo apt-cache search mkimage
jigit- tools for working with jigdo files
uboot-mkimage- generate kernel image for U-Boot
beyond@ubuntu:~/dev/arch/arm/boot$ sudo apt-get install uboot-mkimage
正在读取软件包列表...完成
正在分析软件包的依赖关系树
正在读取状态信息...完成
下列【新】软件包将被安装:
uboot-mkimage
共升级了 0个软件包,新安装了 1个软件包,要卸载 0个软件包,有 223个软件未被升级。
需要下载 11.0kB的软件包。
解压缩后会消耗掉 57.3kB的额外空间。
获取:1 karmic/main uboot-mkimage 0.4 [11.0kB]
下载 11.0kB,耗时 2秒(4,521B/s)
选中了曾被取消选择的软件包 uboot-mkimage。
(正在读取数据库...系统当前总共安装有 122470个文件和目录。)
正在解压缩 uboot-mkimage(从.../uboot-mkimage_0.4_amd64.deb)...
正在设置 uboot-mkimage(0.4)..
搞定,验证下。
inet_dada@InetSoftware:/work/inetsoft/inet_dada/Boxchips/ics/android4.0$ which mkimage
/usr/bin/mkimage
inet_dada@InetSoftware:/work/inetsoft/inet_dada/Boxchips/ics/android4.0$
怎么安装mkimage
beyond@ubuntu:~/dev/arch/arm/boot$ sudo apt-cache search mkimage
jigit- tools for working with jigdo files
uboot-mkimage- generate kernel image for U-Boot
beyond@ubuntu:~/dev/arch/arm/boot$ sudo apt-get install uboot-mkimage
正在读取软件包列表...完成
正在分析软件包的依赖关系树
正在读取状态信息...完成
下列【新】软件包将被安装:
uboot-mkimage
共升级了 0个软件包,新安装了 1个软件包,要卸载 0个软件包,有 223个软件未被升级。
需要下载 11.0kB的软件包。
解压缩后会消耗掉 57.3kB的额外空间。
获取:1 karmic/main uboot-mkimage 0.4 [11.0kB]
下载 11.0kB,耗时 2秒(4,521B/s)
选中了曾被取消选择的软件包 uboot-mkimage。
(正在读取数据库...系统当前总共安装有 122470个文件和目录。)
正在解压缩 uboot-mkimage(从.../uboot-mkimage_0.4_amd64.deb)...
正在设置 uboot-mkimage(0.4)..
搞定,验证下。
inet_dada@InetSoftware:/work/inetsoft/inet_dada/Boxchips/ics/android4.0$ which mkimage
/usr/bin/mkimage
inet_dada@InetSoftware:/work/inetsoft/inet_dada/Boxchips/ics/android4.0$