This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

66ak2h12 4.0.0.4 SDK BUG请教



k2hk EV开发板,测试4.0.0.4 SDK,编译bootmonitor和uboot后,引导系统没有问题,但是引导根文件系统报错,不论采用tisdk-server-extra-rootfs-image-k2hk-evm.tar.xz还是采用tisdk-server-rootfs-image-k2hk-evm.tar.xz都报错,不能进入正常的rootfs,能进入shell,如下:

[FAILED] Failed to mount /media/ram.                                                                                                                                                                                                                                            
See 'systemctl status media-ram.mount' for details.                                                                                                                                                                                                                             
[DEPEND   8.655314] random: fast init done                                                                                                                                                                                                                                      
[0m] Dependency failed for Local File Systems.                                                                                                                                                                                                                                  
[    8.694489] systemd-journald[125]: Received request to flush runtime journal from PID 1                                                                                                                                                                                      
[  OK  ] Reached target Timers.                                                                                                                                                                                                                                                 
[  OK  ] Closed Syslog Socket.                                                                                                                                                                                                                                                  
[  OK  ] Reached target Sockets.                                                                                                                                                                                                                                                
        Starting Commit a transient machine-id on disk...                                                                                                                                                                                                                      
        Starting Rebuild Dynamic Linker Cache...                                                                                                                                                                                                                               
        Starting Rebuild Journal Catalog...                                                                                                                                                                                                                                    
[  OK  ] Started Emergency Shell.                                                                                                                                                                                                                                               
[  OK  ] Reached target Emergency Mode.                                                                                                                                                                                                                                         
[  OK  ] Reached target Login Prompts.                                                                                                                                                                                                                                          
        Starting Network Service...                                                                                                                                                                                                                                            
        Starting Load/Save Random Seed...                                                                                                                                                                                                                                      
[  OK  ] Started Flush Journal to Persistent Storage.                                                                                                                                                                                                                           
[FAILED] Failed to start Commit a transient machine-id on disk.                                                                                                                                                                                                                 
See 'systemctl status systemd-machine-id-commit.service' for details.                                                                                                                                                                                                           
[FAILED] Failed to start Rebuild Journal Catalog.                                                                                                                                                                                                                               
See 'systemctl status systemd-journal-catalog-update.service' for details.                                                                                                                                                                                                      
[  OK  ] Started Load/Save Random Seed.                                                                                                                                                                                                                                         
[  OK  ] Started Network Service.                                                                                                                                                                                                                                               
[  OK  ] Reached target Network.                                                                                                                                                                                                                                                
        Starting Create Volatile Files and Directories...                                                                                                                                                                                                                      
[FAILED] Failed to start Create Volatile Files and Directories.                                                                                                                                                                                                                 
See 'systemctl status systemd-tmpfiles-setup.service' for details.                                                                                                                                                                                                              
        Starting Update UTMP about System Boot/Shutdown...                                                                                                                                                                                                                     
        Starting Network Time Synchronization...                                                                                                                                                                                                                               
[  OK  ] Started Update UTMP about System Boot/Shutdown.                                                                                                                                                                                                                        
        Starting Update UTMP about System Runlevel Changes...                                                                                                                                                                                                                  
[  OK  ] Started Update UTMP about System Runlevel Changes. 

  • 我也遇到过,但是应该不是SDK的bug,你可以修改一下uboot参数中的文件系统占用的内存大小,内存太大的就起不来。

  • 谢谢,这里面好像还有一个问题,就是bootmonitor似乎加载错误,加载运行的状态不是0,是文件长度,在3.3.0.4中也有,用测试版的uboot及bootmonitor解决。

    另外,在uboot参数中我没有设置文件系统占用的内存呢?是缺省参数么?请问哪里设置?

    开发板内存是2G+8G呢。

  • xs wan 说:

    谢谢,这里面好像还有一个问题,就是bootmonitor似乎加载错误,加载运行的状态不是0,是文件长度,在3.3.0.4�也有,用测试版的uboot及bootmonitor解决。

    另外,在uboot参数中我没有设置文件系统占用的内存呢?是缺省参数么?请问哪里设置?

    开发板内存是2G+8G呢。

    bootmonitor 要跟uboot对应起来,一致的版本才可以, uboot参数你可以使用 print 打印出来,你可以看得到,你可以试试,我也不知道可不可以。

  • 不过,我有一个问题想问你,你的文件系统的文件不需要转换成.cpio.gz的格式吗?我都是把他们转换成这个格式的才能起来?

    我一直挺疑惑,ti提供的SDK为什么不给.cpio.gz的格式,还是本身tar.xz就可以用?但是我没找到怎么使用?只能转一下,希望知道的专家们给个解答,http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Filesystem,这个文档说的不详细。