Korenix | Getting Start
15
you – it is for arm, big-endian platform program.
Below is a simple hello.c program:
To compile the helo.c, use our Toolchain to compile the hello.c:
armeb-linux-gcc hello.c -o helloworld
The output executable file is the
helloworld
.
2-3-3
Uploading “test” to JetBox9500 and Running the Program
Use the following command to upload helloworld to the JetBox9500 via FTP.
1. From the PC, type:
# ftp xxx.xxx.xxx.xxx
2. Use
bin
command to set the transfer mode to Binary mode, and the put command to initiate
the file transfer:
ftp> bin
ftp> put test
[root@server ~]# ftp 192.168.10.1
Connected to 192.168.10.1 (192.168.10.1).
220 ProFTPD 1.3.1 Server (ProFTPD TEST Installation) [::ffff:192.168.10.1]
Name (192.168.10.1:root): root
331 Password required for root
Password:
230 User root logged in
Remote system type is UNIX.
Using
binary mode
to transfer files.
ftp> cd /home/
250 CWD command successful
ftp> put helloworld
local: helloworld remote: helloworld
Содержание JetBox5400 series
Страница 1: ...JetOS95 User Manual www korenix com...
Страница 5: ...Korenix Overview 5...
Страница 68: ...68 Appendix Korenix http www busybox net downloads BusyBox html...