arm文件系统 freeing init memory没有再往下执行

usb usb1: Product: S3C24XX OHCI
usb usb1: Manufacturer: Linux 2.6.15.1 ohci_hcd
usb usb1: SerialNumber: s3c24xx
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
mice: PS/2 mouse device common for all mice
ts: Compaq touchscreen protocol output
Register touchscreen driver for ARMSYS2410.
s3c2410 TouchScreen successfully loaded
input: s3c2410 TouchScreen as /class/input/input0
s3c2410-i2c s3c2410-i2c: slave address 0x10
s3c2410-i2c s3c2410-i2c: bus frequency set to 390 KHz
s3c2410-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
s3c2410-ext_adc build time:Aug 20 2016 09:25:41
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
VFS: Mounted root (yaffs filesystem).
Mounted devfs on /dev
Freeing init memory: 400K




asdfasddfasdgfsagasgfasdf


输入回车字母,有反应,就是进不了命令行

看网上有说,如果使用带有eabi的编译器编译busybox的话,内核要开启eabi

Kernel Features  --->
    [*] Use the ARM EABI to compile the kernel                      
    [*]   Allow old ABI binaries to run with this kernel (EXPERIMENTA

查了下我这个内核2.6.15,没有该选项

因此我打算不用eabi的编译器,因此我内核重新用arm-Linux-gcc编译,文件系统也用arm-Linux-gcc重新编译


做了以上处理后,出现了以下错误

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
VFS: Mounted root (yaffs filesystem).
Mounted devfs on /dev
Freeing init memory: 404K
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.


网上有人说,要注意linuxrc的权限和所属用户组,我看了下属于root.root,权限lrwxrwxrwx,都没什么我问题

突然意识到,刚才文件系统lib目录下的库使用原来eabi编译器的,没换过来,那就换成arm-Linux-gcc的库再试试


yaffs: Attempting MTD mount on 31.2, "mtdblock2"
VFS: Mounted root (yaffs filesystem).
Mounted devfs on /dev
Freeing init memory: 404K
/etc/init.d/rcS: line 21: /bin/hotplug: not found
/etc/init.d/rcS: line 35: /bin/usbhotplugd: not found
Try to bring eth0 interface up......eth0: using half-duplex 10Base-T (RJ-45)
Done
/etc/init.d/rcS: line 47: fa-network-service: not found
/etc/init.d/rcS: line 50: ./gct: not found

Please press Enter to activate this console.
[root@zpc /]#
[root@zpc /]#
[root@zpc /]#
[root@zpc /]#
[root@zpc /]#
[root@zpc /]#
[root@zpc /]#
[root@zpc /]#
[root@zpc /]#

成功启动起来ok



你可能感兴趣的:(嵌入式,filesystem)