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
已解决! 转到解答。
Hello, %SerchMX%
This command has no significant difference comparing to mine. The only argument missing is 'v' for verbose operation. So the result is exactly the same.
I checked with Linux user guide and I didn't find anything I'm missing. In the past I did LTIB installation for iMX23, 53, 6x many times including setting up for production units. I'm aware about a lot of problems in LTIB but this is the one I'm really stuck. I also made a clean installation of everything: ubuntu 12.10 x32 minimal cd + build tools + ltib + required packages. I get exactly the same problem.