HI:
I tried to boot linux on my board with OMAPL138, which useing SPI flash(MX25L25635E).
my board partition is as following:
name from to capacity
1)uboot+kernel 0 1FFFFF 2M
2) RootFs 200000 9FFFFF 8M
3) tone A00000 EFFFFF 5M
4) app F00000 16FFFF 8M
5) tts 170000 1FFFFF 9M
I got this Error:
...
...
VFS: Mounted root (jffs2 filesystem) on device 31:1.
Freeing init memory: 116K
JFFS2 warning: (1) jffs2_do_read_inode_internal: no data nodes found for ino #2
JFFS2 notice: (1) jffs2_do_read_inode_internal: but it has children so we fake some modes for it
init started: BusyBox v1.15.0 ()
starting pid 355, tty '': '/etc/rc.d/rcS'
Mounting /proc and /sys
Starting the hotplug events dispatcher udevd
Synthesizing initial hotplug events
Setting the hostname to iflytek
Mounting filesystems
Starting inetd:
mkdir -p /home/user/lt_firmware/aisound
mount -t jffs2 -o rw,sync /dev/mtdblock4 /home/user/lt_firmware/aisound
mkdir -p /home/user/lt_firmware/tone
mount -t jffs2 -o rw,sync /dev/mtdblock2 /home/user/lt_firmware/tone
mkdir -p /home/user/lt_firmware/app
mount -t jffs2 -o rw,sync /dev/mtdblock3 /home/user/lt_firmware/app
starting pid 670, tty '': '-/bin/sh'
BusyBox v1.15.0 () built-in shell (ash)
Enter 'help' for a list of built-in commands.
-/bin/sh: can't access tty; job control turned off
JFFS2 warning: (663) jffs2_do_read_inode_internal: Truncating ino #2 to 5562913 bytes failed because it only had 2275266 bytes to start with!
root@iflytek /$ JFFS2 warning: (669) jffs2_do_read_inode_internal: Truncating ino #2 to 5562913 bytes failed because it only had 2275266 bytes to start with!
root@iflytek /$ ls -al /home/user/lt_firmware/tone
drwxr-xr-x 3 root root 0 Jan 1 00:00 .
drwxr-xr-x 5 user user 0 Jan 1 00:01 ..
-rw-r--r-- 1 root root 1884348 Dec 20 2012 uImage
root@iflytek /$ ls -al /home/user/lt_firmware/app
JFFS2 warning: (672) jffs2_do_read_inode_internal: Truncating ino #2 to 5562913 bytes failed because it only had 2275266 bytes to start with!
drwxr-xr-x 17 root root 0 Jan 1 00:00 .
drwxr-xr-x 5 user user 0 Jan 1 00:01 ..
-rw-r--r-- 1 root root 558 Jan 1 00:01 .ash_history
-rwxr-xr-x 2 root root 2275266 Dec 17 2012 bin
drwxr-xr-x 2 root root 0 Dec 17 2012 dev
drwxr-xr-x 7 root root 0 Jan 1 00:28 etc
drwxr-xr-x 3 root root 0 Dec 17 2012 home
lrwxrwxrwx 1 root root 10 Dec 17 2012 init -> /sbin/init
drwxr-xr-x 4 root root 0 Dec 17 2012 lib
-rwxr-xr-x 2 root root 2275266 Dec 17 2012 liblua_interface.so
drwxr-xr-x 2 root root 0 Dec 17 2012 mnt
drwxr-xr-x 2 root root 0 Dec 17 2012 opt
drwxr-xr-x 2 root root 0 Dec 17 2012 proc
drwxr-xr-x 2 root root 0 Dec 17 2012 root
drwxr-xr-x 2 root root 0 Dec 17 2012 sbin
drwxr-xr-x 2 root root 0 Dec 17 2012 sys
drwxr-xr-t 3 root root 0 Dec 17 2012 tmp
drwxr-xr-x 9 root root 0 Dec 17 2012 usr
drwxr-xr-x 11 root root 0 Dec 17 2012 var
root@iflytek /$ ls -al /home/user/lt_firmware/aisound/
JFFS2 warning: (673) jffs2_do_read_inode_internal: Truncating ino #2 to 5562913 bytes failed because it only had 2275266 bytes to start with!
drwxr-xr-x 3 root root 0 Jan 1 00:00 .
drwxr-xr-x 5 user user 0 Jan 1 00:01 ..
-rwxr-xr-x 2 root root 2275266 Dec 17 2012 liblua_interface.so
-rwxr-xr-x 2 root root 2275266 Dec 17 2012 uImage
root@iflytek /$
I have two questions:
Question one:
why appers mount JFFS2 waring?
JFFS2 warning: (663) jffs2_do_read_inode_internal: Truncating ino #2 to 5562913 bytes failed because it only had 2275266 bytes to start with!
root@iflytek /$ JFFS2 warning: (669) jffs2_do_read_inode_internal: Truncating ino #2 to 5562913 bytes failed because it only had 2275266 bytes to start with!
Question two:
ls -al /home/user/lt_firmware/app
why appears rootfs directory?
Does anyone know what I need to do?