I am following the instructions given in http://processors.wiki.ti.com/index.php/MCSDK_UG_Chapter_Exploring#Yocto to build Linux kernel, device tree, root filesystem etc. and I am using the layer configuration file mcsdk-03.00.04.18.txt.
The bitbake build completes without erros but the EVM (K2EVM-HK) does not boot up correctly. The u-boot is configured to load the files through TFTP and the rootfs is accessed via NFS.
The kernel boot log prints out the following messages:
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.10.10 (jenkins@KuvioBuild) (gcc version 4.7.3 201
30226 (prerelease) (crosstool-NG linaro-1.13.1-4.7-2013.03-20130313 - Linaro GCC
2013.03) ) #1 SMP Wed Feb 26 09:39:31 EET 2014
[ 0.000000] CPU: ARMv7 Processor [412fc0f4] revision 4 (ARMv7), cr=30c7387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, PIPT instruction cache
[ 0.000000] Machine: KeyStone2, model: Texas Instruments Keystone 2 SoC
[ 0.000000] switching to high address space at 0x800000000
[ 0.000000] cma: CMA: reserved 16 MiB at 2e800000
[ 0.000000] Memory policy: ECC disabled, Data cache writealloc
[ 0.000000] DT missing boot CPU MPIDR[23:0], fall back to default cpu_logical
_map
[ 0.000000] PERCPU: Embedded 8 pages/cpu @c1469000 s12032 r8192 d12544 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pag
es: 391696
[ 0.000000] Kernel command line: console=ttyS0,115200n8 rootwait=1 rootfstype
=nfs root=/dev/nfs rw nfsroot=192.168.2.50:/var/lib/jenkins/nfshost,v3,tcp,rsize
=4096,wsize=4096 ip=dhcp
... a bunch of other printouts here ...
[ 130.366422] VFS: Mounted root (nfs filesystem) on device 0:11.
[ 130.372326] Freeing unused kernel memory: 328K (c077b000 - c07cd000)
INIT: version 2.88 booting
Starting udev
Missing devtmpfs, which is required for udev to run
Halting...
INIT: Switching to runlevel: 0
INIT: SendiStopping Dropbear SSH server: no /usr/sbin/dropbear found; none kille
d
Stopping mpmsrv daemon.
Stopping softhsm daemon.
Stopping telnet daemon.
#>>>>> LCD 12
IP Address:
192.168.2.126
Stopping tiipclad daemon.
Stopping system message bus: Stopping thttpd.
NOT deconfiguring network interfaces: / is an NFS mount
Stopping Lighttpd Web Server: no /usr/sbin/lighttpd found; none killed
lighttpd.
* stopping FTP Server: vsftpd... no /usr/sbin/vsftpd found; none killed
Stopping syslog-ng:.
***************************************************************
***************************************************************
NOTICE: This file system contains the followin GPLv3 packages:
autoconf
binutils-symlinks
binutils
coreutils
cpp-symlinks
cpp
g++-symlinks
g++
gcc-symlinks
gcc
gdb
gdbserver
libgmp10
libmpfr4
m4
make
If you do not wish to distribute GPLv3 components please remove
the above packages prior to distribution. This can be done using
the opkg remove command. i.e.:
opkg remove <package>
Where <package> is the name printed in the list above
NOTE: If the package is a dependency of another package you
will be notified of the dependent packages. You should
use the --force-removal-of-dependent-packages option to
also remove the dependent packages as well
***************************************************************
***************************************************************
Sending all processes the TERM signal...
Sending all processes the KILL signal...
Unmounting remote filesystems...
Deactivating swap...
Unmounting local filesystems...
[ 140.504344] System halted.
Any idea what's wrong with the setup? Everything should be built according to instructions without any custom modifications. Do I need to flash the u-boot stuff which was built with mcsdk-03.00.04.18.txt?
Regards,
Marko