Hello!
I built Linux and rootfs with the latest i.MX6Q Linux BSP version 4.1.0 for SABRE-SDP. In order to save rootfs in tar.bz2 format and feed it to MFGTool I'm keeping temporarily directory rootfs.tmp and compressing it by the command:
tar -jcvf ../rootfs.tar.bz2 *
Here's the a part of ll of compressed directory:
drwxr-xr-x 2 user user 4096 Sep 27 14:15 bin/
drwxr-xr-x 2 user user 4096 Sep 27 14:14 dev/
drwxrwxrwx 7 user user 4096 Sep 27 14:15 etc/
drwxr-xr-x 3 user user 4096 Sep 27 14:14 home/
...
drwxr-xr-x 2 user user 4096 Sep 27 14:13 sys/
drwxrwxrwt 3 user user 4096 Sep 27 14:14 tmp/
drwxr-xr-x 2 user user 4096 Sep 27 14:15 unit_tests/
...
In other words, as good as usual.
Being flashed to SD card this image fails to boot because of some permission issues like the following:
starting pid 1448, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
mount: permission denied (are you root?)
mount: permission denied (are you root?)
/etc/rc.d/init.d/udev: line 11: /proc/sys/kernel/hotplug: No such file or directory
Full boot log is attached.
Pre-built rootfs image that comes with MFGtool is booting normally with the same uImage and u-boot. In both cases /etc/rc.d/rcS and surrounding files are equal including content and permissions. Inittab-s are completely equal as well.
Asking for advice. Does anybody have an idea?
Original Attachment has been moved to: bootlog.txt.zip