Dies ist eine alte Version des Dokuments!
Sources:
This guide is based on the manual → 5.10 File System and Linux Kernel Update
date MMDDhhmm[[CC]YY]
. According to the manual 4.3.2 date is part of Busybox and sets the realtimeclock, so that the hwclock command is not necessary.printenv
to check the environment variables and correct the ipaddresses of the FBK and the server if required:setenv ipaddr 192.168.xxx.yyy setenv serverip 192.168.xxx.zzz
update-rootfs
, update-kernel
& update-ub
. (E.g. printenv update-kernel
)saveenv
to save the modifications into the flash./tftpboot
as TFTP source directory (uncomment and modify the line in /etc/inetd.conf
accordingly; make /etc/rc.d/rc.inetd
runnable and start it with /etc/rc.d/rc.inetd restart
)linux.flashme
and jffs2.img
to /tftpboot
run update-kernel run update-rootfs
Dont use a managed Hub; if you encounter problems with your hub or switch, use a crosslink cable!
After update to kernel 2.6 no login prompt appears any more on the serial connection!
wagoset
… auf Slackware 10.2. Generelle Vorgehensweise gemäß Wago Linux Programmierhandbuch
arm-elf-tools-20030314.sh ausführen. Erhältlich von http://www.uclinux.org/pub/uClinux/m68k-elf-tools/ oder CD_Linux_Controller/toolchain/linux/ Dies installiert:
/usr/local/bin/arm-elf-* /usr/local/bin/elf2flt /usr/local/bin/genromfs /usr/local/bin/flthdr /usr/local/lib/gcc-lib/arm-elf/ /usr/local/man/man1/arm-elf-* /usr/local/arm-elf/
Dies installiert /usr/bin/mkimage . Das Rpm gibts hier: Gibts CD_Linux_Controller/toolchain/linux/
%users ALL = NOPASSWD: /bin/mknod
Installation als normaler user!
/mnt/CD_Linux_Controller/sources/linux$ ./linux-kernel.sh ~/uClinux$ make menuconfig (alle Dialoge abbrechen) ~/uClinux$ make dep ~/uClinux$ make
Am Beispiel der App „tester“
make user
von ~/uClinux aus! Dies compiliert offensichtlich alle ~/uClinux/user/*/*.c $(CFLAGS) beinhaltet als ersten -I Schalter den Pfad ~/uClinux/lib/uClibc/include , was tatsächlich auf ~/uClinux/uClibc/include zeigt. Hier liegen alle gängigen Header-Dateien.
Auch asm/types.h wird hier gefunden, jedoch löst das der asm-Symlink tatsächlich nach ~/uClinux/linux-2.4.x/include/asm/types.h auf.
__u16, __u8, ...