主题 : 关于6410用SD运行Linux时找不到 /bin/sh的问题 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 55484
精华: 0
发帖: 40
金钱: 200 两
威望: 40 点
综合积分: 80 分
注册时间: 2011-09-18
最后登录: 2015-08-12
楼主  发表于: 2011-12-28 19:45

 关于6410用SD运行Linux时找不到 /bin/sh的问题

串口输出
……
mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
one_wire_status: 4
s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133000000 Hz)
s3c-sdhci s3c-sdhci.1: clock source 2: mmc_bus (84666666 Hz)
one_wire_status: 4
mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA04G 3.70 GiB
mmcblk0: p1
asoc: wm9713-hifi <-> samsung-ac97 mapping ok
ALSA device list:
  #0: MINI6410
TCP cubic registered
NET: Registered protocol family 17
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 5
s3c-rtc s3c64xx-rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
Freeing init memory: 1412K
FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
EXT3-fs: barriers not enabled
EXT3-fs (loop0): using internal journal
EXT3-fs (loop0): mounted filesystem with writeback data mode
kjournald starting.  Commit interval 5 seconds
1Wire touchscreen OK
switch_root: bad init /bin/sh: No such file or directory
Kernel panic - not syncing: Attempted to kill init!
[<c0178c44>] (unwind_backtrace+0x0/0xe4) from [<c0517728>] (panic+0x58/0x174)
[<c0517728>] (panic+0x58/0x174) from [<c018ae48>] (do_exit+0x68/0x5e4)
[<c018ae48>] (do_exit+0x68/0x5e4) from [<c018b688>] (do_group_exit+0x90/0xc4)
[<c018b688>] (do_group_exit+0x90/0xc4) from [<c018b6cc>] (sys_exit_group+0x10/0x18)
one_wire_status: 2
[<c018b6cc>] (sys_exit_group+0x10/0x18) from [<c01735e0>] (ret_fast_syscall+0x0/0x30)
one_wire_status: 4

感觉是没有挂载SD卡的问题,但应该怎么挂载呢?
配置文件:
#This line cannot be removed. by FriendlyARM(www.arm9.net)

CheckOneButton=No
Action= run
#OS= UserBin
OS= Linux
LCD-Mode = Yes
LCD-Type = N43

VerifyNandWrite=No

StatusType = Beeper| LED

#################### Linux #####################
Linux-BootLoader = linux/bootloader.bin
Linux-Kernel = linux/zImage
Linux-CommandLine = root=/dev/mmcblk0p1 noinitrd console=ttySAC0,115200 rootfstype=ext3 init=/bin/sh
#Linux-RootFs-InstallImage = linux/image.img
Linux-RootFs-RunImage = linux/output.ext3


对Linux不怎么熟悉,望大虾们解答……