linux4.1.15内核编译
采用飞凌提供的4.1.15源码无修改,直接编译,然后将arch/arm/下的zImage文件和arch/arm/boot/dts下的imx6ul-14x14-evk-gpmi-c-256m-xx-xx.dtb文件(共8个)拷贝到mfgtools\Profiles\Linux\OS Firmware\files中对应位置,然后OTG烧写,烧写完成后启动失败VFS: Cannot open root device "mtdblock5" or unknown-block(31,5): error -19
Please append a correct "root=" boot option; here are the available partitions:
0100 65536 ram0(driver?)
0101 65536 ram1(driver?)
0102 65536 ram2(driver?)
0103 65536 ram3(driver?)
0104 65536 ram4(driver?)
0105 65536 ram5(driver?)
0106 65536 ram6(driver?)
0107 65536 ram7(driver?)
0108 65536 ram8(driver?)
0109 65536 ram9(driver?)
010a 65536 ram10(driver?)
010b 65536 ram11(driver?)
010c 65536 ram12(driver?)
010d 65536 ram13(driver?)
010e 65536 ram14(driver?)
010f 65536 ram15(driver?)
1f00 4096 mtdblock0(driver?)
1f01 2048 mtdblock1(driver?)
1f02 1024 mtdblock2(driver?)
1f03 3072 mtdblock3(driver?)
1f04 8192 mtdblock4(driver?)
1f05 243712 mtdblock5(driver?)
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)
---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(31,5)
random: nonblocking pool is initialized
请问使用linux源码需要修改什么吗
应该是mfgtools\Profiles\Linux\OS Firmware\files\linux路径下,您的路径有问题 路径没有错,因为设备树文件和编译出来的zImage不在一个目录所以没有分别列出,不然烧写也不会成功对吧,关键式烧写完成后断电从NAND启动时,就出问题了。我想请问一下你们资料包中给出的源码压缩包解压后能否直接编译,或者需要修改文件才能使用,没有任何手册有描述 源码解压后能直接编译,详细过程可查看OKMX6UL-C_Qt5.6+linux4.1.15软件手册 第四章
页:
[1]