B E L K Q u i c k S t a r t G u i d e
v . 1 . 0 . 9
Target
Description
bora_noflash
this target is available for BORA and
BORAX. U-Boot environment is placed
in SD/MMC card. NOR flash and NAND
flash are disabled
●
build U-Boot by entering the
make
command. This will
generate U-Boot binary images
Subsequent builds just require ''make'' command, without
targets, to update the binary images. Once the build
process is complete, the binary images can be copied to
the tftp root directory (eg.
/srv/tftp/belk/
) with the
following command:
cp u-boot.bin /srv/tftp/belk/
3.4.4
Building Linux kernel
It is assumed that the Zynq development environment has been
set up properly (see section 3.3.2 for more details).
●
start the Linux development server and login into the
system
●
assuming that a local repository has not been created,
clone the remote Linux git repository (the “-b” option
is used to automatically checkout the current branch):
git clone
[email protected]:dave/bora/linux-xlnx.git -b
bora
●
setup the server environment (please refer to section
●
enter the source tree directory and run the following
commands:
make bora_defconfig
make UIMAGE_LOADADDR=0x8000 uImage bora.dtb
The former command selects the default BORA/BORAX
configuration, while the latter builds the kernel binary
image with the required u-boot header and the kernel
device tree. Please note that the
mkimage
tool is required
March, 2016
47/66