track schrieb:
Komischerweise funktioniert Dein Skript bei mir auch in der Busybox soweit:
track@lucid:~$ busybox ash
BusyBox v1.13.3 (Ubuntu 1:1.13.3-1ubuntu11) built-in shell (ash)
Enter 'help' for a list of built-in commands.
~ $ ./cp_halloworld
Kopiere halloworld nach /srv/nfs
cp: Aufruf von stat für „/home/admin/project/HalloWorld/build/halloworld“ nicht möglich: Datei oder Verzeichnis nicht gefunden
ls: Zugriff auf /srv/nfs nicht möglich: Datei oder Verzeichnis nicht gefunden
Allerdings wundert mich, dass Du so eine uralte Version der Busybox hast ! - wo hast Du die denn her ? - und, ist das normal ??
Ansonsten fehlt bei Dir das 'Quoten', das sollte man auf jeden Fall machen, damit Leer- und Sonderzeichen (z.B. ") richtig angezeigt werden.
track (der übrigens auch E-Techniker ist, allerdings Dipl.Ing.)
ich habe das Problem immernoch nicht gelöst. Kann das ein Kompatibilitätsproblem sein?
Ich habe die Ubuntu 12.10 version und auf dem Kernel ist Linux 2.4.27.
Willkommen zu minicom 2.6.1
Optionen: I18n
Übersetzt am May 1 2012, 10:55:27.
Port /dev/ttyS2
Drücken Sie CTRL-A Z für Hilfe zu speziellen Tasten
U-Boot 1.1.4 (Jul 18 2007 - 09:58:15) ABR Embedded Software
U-Boot code: 20F00000 -> 20F176C8 BSS: -> 20F34604
RAM Configuration:
Bank #0: 20000000 32 MB
Flash: 16 MB
In: serial
Out: serial
Err: serial
................................................................................
Un-Protected 112 sectors
Hit any key to stop autoboot: 0
starting linux
## Booting image at 10040000 ...
Image Name: Linux Kernel Image
Image Type: ARM Linux Kernel Image (gzip compressed)
Data Size: 666371 Bytes = 650.8 kB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Starting kernel ...
Linux version 2.4.27-vrs1 (albrecht@LinuxMint-VM) (gcc version 3.3.4) #1 Mi 7. 2
CPU: Arm920Tid(wb) revision 0
Machine: ABR ECO920
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200n8 root=/dev/mtdblock3 rootfstype=jffs0
Calibrating delay loop... 89.70 BogoMIPS
Memory: 32MB = 32MB total
Memory: 30876KB available (1209K code, 240K data, 52K init)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: Testing write buffer: pass
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: devfs_debug: 0x0
devfs: boot_options: 0x1
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
pty: 256 Unix98 ptys configured
loop: loaded (max 8 devices)
eco920 flash driver: probing (mem->0x11000000)
Number of erase regions: 2
Primary Vendor Command Set: 0001 (Intel/Sharp Extended)
Primary Algorithm Table at 010A
Alternative Vendor Command Set: 0000 (None)
No Alternate Algorithm Table
Vcc Minimum: 1.7 V
Vcc Maximum: 2.0 V
Vpp Minimum: 8.5 V
Vpp Maximum: 9.5 V
Typical byte/word write timeout: 256 s
Maximum byte/word write timeout: 512 s
Typical full buffer write timeout: 512 s
Maximum full buffer write timeout: 1024 s
Typical block erase timeout: 1024 ms
Maximum block erase timeout: 4096 ms
Chip erase not supported
Device size: 0x1000000 bytes (16 MiB)
Flash Device Interface description: 0x0001
- x16-only asynchronous interface
Max. bytes in buffer write: 0x40
Number of Erase Block Regions: 2
Erase Region #0: BlockSize 0x8000 bytes, 4 blocks
Erase Region #1: BlockSize 0x20000 bytes, 127 blocks
eco920 flash bank 0: Found 1 x16 devices at 0x0 in 16-bit bank
Intel/Sharp Extended Query Table at 0x010A
Using buffer write method
Feature/Command Support: 00E6
- Chip Erase: unsupported
- Suspend Erase: supported
- Suspend Program: supported
- Legacy Lock/Unlock: unsupported
- Queued Erase: unsupported
- Instant block lock: supported
- Protection Bits: supported
- Page-mode read: supported
- Synchronous read: unsupported
- Simultaneous operations: unsupported
Supported functions after Suspend: 01
- Program after Erase Suspend: supported
Block Status Register Mask: 0003
- Lock Bit Active: yes
- Valid Bit Active: yes
Vcc Logic Supply Optimum Program/Erase Voltage: 1.8 V
Vpp Programming Supply Optimum Program/Erase Voltage: 9.0 V
cfi_cmdset_0001: Erase suspend on write enabled
eco920 flash driver: Flash found (size->0x1000000)
Creating 4 MTD partitions on "eco920 flash bank 0":
0x00000000-0x00020000 : "u-boot"
0x00020000-0x00040000 : "u-boot env"
0x00040000-0x00200000 : "Kernel"
0x00200000-0x01000000 : "System"
ttyS%d0 at MMIO 0xfefff200 (irq = 1) is a AT91_SERIAL
ttyS%d1 at MMIO 0xfefc4000 (irq = 7) is a AT91_SERIAL
eth0: Checking Auto-Negotiation.
eth0: Link now 100-FullDuplex
eth0: AT91 ethernet at 0xfefbc000 int=24 100-FullDuplex (00:07:8e:05:65:89)
eth0: Micrel KS8721 PHY
AT91 Watchdog Timer enabled (5 seconds)
AT91 Real Time Clock driver
AT91 SPI driver loaded
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
eth0: Checking Auto-Negotiation.
eth0: Link now 100-FullDuplex
eth0: Checking Auto-Negotiation.
eth0: Link now 100-FullDuplex