RSB-4411 User Manual
54
3.4.5
Configure u-boot
$
cd
~/code/u
‐
boot
‐
imx
$
make
distclean
$
make
${MX6PROC}${BOARD}${BOARD_REV}_${MEM_SIZE}_config
3.4.6
Start building u-boot
$
make
‐
j4
LDFLAGS=
The two files, u-boot-crc.bin & u-boot-crc.bin.crc, are located in directory "~/code/u-
boot-imx".
3.4.7
To update u-boot to target device
Perform the following command to transfer to exist boot-up SD card
$
dd
if=u
‐
boot_crc.bin.crc
of=${SD_DEVICE}
bs=512
seek=2
conv=fsync
$
dd
if=u
‐
boot
‐
crc.bin
of=${SD_DEVICE}
bs=512
seek=3
conv=fsync
Make
sure
new
u
‐
boot
does
work
then
perform
the
following
commands
to
transfer
to
on
‐
board
flash
#
dd
if=u
‐
boot_crc.bin.crc
of=/dev/mmcblk0
bs=512
seek=2
conv=fsync
#
dd
if=u
‐
boot
‐
crc.bin
of=/dev/mmcblk0
bs=512
seek=3
conv=fsync
3.4.8
Building & updating kernel/modules/dtb manually
To build kernel/modules/dtb, the cross compiling environment must have been set
up. (ref. 3.4.3 Setting up cross compiling environment)
Make one copy from Yocto working directory:
$
mkdir
‐
p
~/code
$
pushd
${BSP_HOME}/${BDIR}/tmp/work
‐
shared/${MC}/
$
rm
‐
rf
~/code/linux
‐
imx
$
cp
‐
a
./kernel
‐
source
~/code/linux
‐
imx
$
popd
3.4.9
Configure linux kernel
$
cd
~/code/linux
‐
imx
$
make
distclean
$
make
imx_v7_adv_defconfig
$
make
menuconfig
PKG_CONFIG_SYSROOT_DIR=
PKG_CONFIG_PATH=
3.4.10
Start building linux kernel
$
make
‐
j4
zImage
LOADADDR=0x10008000
LDFLAGS=
The kernel image file, zImage, is located in the directory "./arch/arm/boot/".
3.4.11
Start building kernel modules
$
make
‐
j4
modules
LDFLAGS=
Copy all modules to a temporary rootfs directory, "~/temp/rootfs"
$
make
modules_install
INSTALL_MOD_PATH=~/temp/rootfs
Содержание RSB-4411
Страница 2: ...User Manual RSB 4411 3 5 SBC with NXP i MX6 Processor ARM Cortex A9 Architecture ...
Страница 11: ...RSB 4411 User Manual x ...
Страница 12: ...Chapter 1 1 General Introduction ...
Страница 15: ...RSB 4411 User Manual 4 ...
Страница 16: ...Chapter 2 2 H W Installation ...
Страница 33: ...RSB 4411 User Manual 22 Figure 2 25 M 2 Connector ...
Страница 34: ...23 RSB 4411 User Manual Chapter 2 H W Installation 2 3 Mechanical 2 3 1 Jumper and Connector Location ...
Страница 37: ...RSB 4411 User Manual 26 ...
Страница 38: ...Chapter 3 3 Software Functionality This chapter details the software programs on the RSB 4411 plat form ...
Страница 82: ...71 RSB 4411 User Manual Chapter 5 Advantech Services ...