188 •
Bootloader (U-Boot)
Unpack the Source Code
WAGO-I/O-SYSTEM
750
Linux Fieldbus Coupler
9.3 Unpack the Source Code
The boot loader (U-Boot) source code is on the CD in the file:
CD:/uboot/sources/
. The installation is done via
> cd /media/cdrom/uboot/sources
> sh install.sh
A directory called
~/uboot
is created in the user's home directory, in which all
files that are required for the boot loader compilation are stored.
9.4 Compile Boot Loader
The source code is configured and compiled via
> cd ~/uboot
> make modnet50_config
> make
The ELF object file is called
ub.elf,
the binary image for a Linux coupler update is called
ub.bin,
which is copied into the
/tftpboot
directory as ub.bin.
Create Flash Images
Images of the kernel and of the file system can be created during the
compilation of the Linux distribution (see chapter 5.3). A boot loader image is
created during the compilation of the boot loader U-Boot. The files are
automatically copied into the
/tftpboot
directory which has to be created