Dies ist eine alte Version des Dokuments!
Done on Slackware 12.2. Information Source: Manual
su - mount -o loop Linux_V3_20070403.iso /mnt/tmp #mount the BSP Cdrom Iso Image cd /mnt/tmp/linux/toolchain ./install.sh exit
This installs the following files and dirs (sudirs not listed; tested with find -mmin / -cmin):
/usr/bin/mkimage (via mkimage-0.3.0-1.i386.rpm) /usr/local/bin/arm-uclinux-elf-* /usr/local/arm-uclinux-tools /tftpboot /tagetfs
Additionally the following line is appended to /etc/sudoers
%users ALL = NOPASSWD: /bin/mknod
Installation as normal user!
cd /mnt/tmp/linux/sources ./install.sh
This installs the following files and dirs (sudirs not listed; tested with find -mmin / -cmin):
/$HOME/uclinux-dist (1.3 GB) /tftpboot/jffs2.img /tftpboot/linux.flashme
cd $HOME/uclinux-dist make menuconfig # and exit without save! make
This also creates new jffs2.img and linux.flashme files in /tftpboot which differ from the original one's
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!
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.
wagoset
__u16, __u8, ...