Значит так,
1. всё заново собрал включил только telnetd и всё
2. монтировал /mnt по файлу mount_ramdisk
3. в /bin удалил старый файл busybox и скопировал из /busybox-1.1.2 новый busybox
4. в /etc/rc.d/rc.s отредактировал вставил /bin/telnetd -l /bin/ash на последнию строку
5. отмонтировал образ umount_ramdisk
6. после перегрузил плату и u-boot загрузил по команде run tftp_update
7. после перегрузки платы в конце увидел
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RAMDISK: Compressed image found at block 0
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 108K
umount: Couldn't umount /mnt/mmc: Invalid argument
rmmod: at91_mci: No such file or directory
mount: Mounting /dev/mmc1 on /mnt/mmc failed: No such file or directory
Starting system...
mount: Mounting none on /dev/pts failed: No such file or directory
chgrp: unknown group name: utmp
eth0: link up (100/Full)
mount: Mounting /dev/sda1 on /mnt/usb failed: No such device or address
/etc/rc.d/rc.s: /etc/rc.d/rc.s: 66: /bin/telnetd: not found
Please press Enter to activate this console.
BusyBox v1.1.2 (2008.11.18-18:33+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
[@SK-MAT91SAM9 /]$
8. набираю busybox вот
[@SK-MAT91SAM9 /]$busybox
BusyBox v1.1.2 (2008.11.18-18:33+0000) multi-call binary
Usage: busybox [function] [arguments]...
or: [function] [arguments]...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable. Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as!
Currently defined functions:
[, [[, adduser, ash, busybox, cat, chgrp, chmod, chown, cp, date,
dd, deluser, df, dmesg, e2fsck, egrep, false, fdisk, fgrep, free,
fsck, fsck.ext2, fsck.ext3, fuser, getty, grep, halt, hostname,
ifconfig, init, insmod, kill, linuxrc, logger, login, ls, lsmod,
mesg, mkdir, mke2fs, mkfs.ext2, mkfs.ext3, mknod, mount, mv, passwd,
ping, poweroff, printenv, printf, ps, pwd, reboot, rm, rmdir,
rmmod, sleep, stty, sync, sysctl, syslogd, telnetd, test, touch,
true, tty, umount, uptime, usleep, yes
[@SK-MAT91SAM9 /]$
Немогу понять, что надо......
Вроде есть telnetd строку прописал!!!!!!
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Отредактированно igor1 16.12.2008 г. в 23:33:34 |