
S B C X U s e r ' s G u i d e
v . 1 . 0 . 1
code published in the git repositories, using the
git fetch/merge
or
the
git pull
commands. For further details, please refer to section
7.3.2.7.
Assuming that you've configured the environment variables sourcing the
env.sh
script, enter the Linux sources directory (
~/xelk/linux-
2.6-imx
) and run the following commands:
dvdk@dvdk-vm:~/xelk/linux-2.6-imx$ make
imx_v7_axel_defconfig
dvdk@dvdk-vm:~/xelk/linux-2.6-imx$ make
UIMAGE_LOADADDR=0x10008000 uImage imx6q-sbcx.dtb
The former command selects the default AXEL configuration, while the
latter builds the kernel binary image with the required u-boot header and
the binary dtb file.
Default linux kernel configuration can be changed by using the standard
menuconfig
,
xconfig
,
gconfig
make targets.
Subsequent builds just require
uImage
make target to update the binary
image.
Once the build process is completed, the kernel binary image is stored
into the
linux-2.6-imx/arch/arm/boot/uImage
file, while the dtb
is stored into the
linux-2.6-imx/arch/arm/boot/dts/imx6q-
sbcx.dtb
.
These files can be copied to the
/srv/tftp/xelk/
directory with the
following commands:
dvdk@dvdk-vm:~/xelk/linux-2.6-imx$ sudo cp
arch/arm/boot/uImage /srv/tftp/xelk/
dvdk@dvdk-vm:~/dvdk/xelk/linux-2.6-imx$ sudo cp
arch/arm/boot/dts/imx6q-sbcx.dtb /srv/tftp/xelk/
7.5.3
Build a custom application
Some users may prefer to cross-compile their applications outside of the
Yocto flow. It maybe specifically useful and easier for new projects in their
prototyping and proof-of-concept stages or for any smaller applications in
general. This way users don't have to worry about creating Yocto
"recipes" for their applications and becoming familiar with the entire Yocto
build system.
In order to cross-compile an application, written in C/C++, the cross-
December, 2019
101/139
Содержание SBC AXEL
Страница 2: ...S B C X U s e r s G u i d e v 1 0 1 Page intentionally left blank December 2019 2 139 ...
Страница 16: ...Fig 2 SBCX block diagram S B C X U s e r s G u i d e v 1 0 1 2 2 Block Diagram December 2019 16 139 ...
Страница 18: ...Fig 3 Assembly view top S B C X U s e r s G u i d e v 1 0 1 2 4 Assembly view top December 2019 18 139 ...
Страница 19: ...Fig 4 Assembly view bottom S B C X U s e r s G u i d e v 1 0 1 2 5 Assembly view bottom December 2019 19 139 ...
Страница 23: ...S B C X U s e r s G u i d e v 1 0 1 3 1 2 Drills position and size December 2019 23 139 Fig 6 SBCX drills ...
Страница 105: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 105 139 ...
Страница 106: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 106 139 ...
Страница 107: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 107 139 Fig 44 QtQuick Hello World ...
Страница 119: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 119 139 ...
Страница 121: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 121 139 ...
Страница 139: ...S B C X U s e r s G u i d e v 1 0 1 December 2019 139 139 ...