file system

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

file system

1,032 Views
caohaifeng
Contributor IV

Hi,All,

I build mini profile enviroment in custom board. The problem is that I can not login into system. I have try to use rootfs.tar.bz in MFG, it does not work.

But if I use ubuntu demo file system, it works well.

I think the problem is script about rc.conf or rcS,but I don't know how to modify it.If someone can give me a hint,that will be appreciated.

The syslog shows below.

EXT3-fs: barriers not enabled

24bit read error, ret = -5

24bit write error, ret = -5

kjournald starting.  Commit interval 5 seconds

EXT3-fs (mmcblk0p1): using internal journal

EXT3-fs (mmcblk0p1): recovery complete

EXT3-fs (mmcblk0p1): mounted filesystem with writeback data mode

VFS: Mounted root (ext3 filesystem) on device 179:1.

Freeing init memory: 140K

starting pid 1171, tty '': '/etc/rc.d/rcS'

Mounting /proc and /sys

Starting the hotplug events dispatcher udevd

Synthesizing initial hotplug events

Setting the hostname to freescale

Mounting filesystems

mount: mounting usbfs on /proc/bus/usb failed: No such file or directory

starting pid 2139, tty '': '-/sbin/getty -L ttymxc0 115200 vt100'

arm-none-linux-gnueabi-gcc (4.4.4_09.06.2010) 4.4.4

root filesystem built on Wed, 12 Jun 2013 19:18:43 +0800

Freescale Semiconductor, Inc.

freescale login:

Reagrds,

Haifeng


Labels (2)
Tags (4)
2 Replies

557 Views
LeonardoSandova
Specialist I

What is the error on the MFG? BTW, the rootfs expected by MFG should end with bz2, not bz. Make sure the MFG's configuration matches the file you are placing on under the Profile folder.

Leo

0 Kudos

557 Views
caohaifeng
Contributor IV


Hi,Leonardo,

I used rootfs.tar.bz2 built in the MFG.The u-boot.bin and uImage  are generated by ltib.

There is no error at the stage of downloading files. I can't login into file system when I input "root" in prompt freescale login:

as the same as I download these files by command dd. If I deselected the []boot up with a tty and login under ltib top menu,

the prompt shows that the currect user is root,but there is response yet if I input command.

I think the error caused by script. How do you think of this question?

Regards,

Haifeng

0 Kudos