Advantech RSB-4210 Evaluation Kit Manuel d'utilisateur Page 50

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 104
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 49
RSB-4210 User Manual 42
3.3.1 Setenv.sh
The script "setenv.sh" is mainly used to configure the developing environment
quickly. It will configure the important folder paths for system, and you can also add/
modify the setenv.sh by yourself if you have added/changed the folder paths.
The default code of setenv.sh is shown as following:
#!/bin/bash
export SRCROOT=${PWD}/..
export CC_PATH=${SRCROOT}/cross_compiler/arm-fsl-linux-gnueabi
export CROSS_COMPILE=$CC_PATH/bin/arm-none-linux-gnueabi-
export ARCH=arm
export KROOT=${SRCROOT}/source/linux-2.6.35.3
export ROOTFS=${SRCROOT}/rootfs
export LOG=${SRCROOT}/Build.log
rm -rf ${LOG}
3.4 Building Instructions
This section will guide you how to build the U-boot - "u-boot.bin" and the Linux kernel
- "uImage".
3.4.1 Building U-boot image "u-boot.bin"
Advantech has written a script to build the "u-boot.bin" quickly. You can build the
image by following these steps:
1. Open "Terminal" utility.
2. Type #sudo su (Change to "root" authority)
3. Type user password
4. Type #cd Desktop/RSB4210_BSP/scripts/
5. Type #. setenv.sh (To configure the developing environment automatically)
6. Type #. cfg_uboot.sh (To set the u-boot.bin configuration automatically)
7. Type #. mk_uboot.sh (Start to build the u-boot.bin)
8. Then you can see "u-boot.bin" under folders "image" and "mk_inand"
9. Finish.
3.4.2 Building Linux Kernel image "uImage"
Advantech has written a script to build the "uImage" quickly. You can build the image
by referring to the following steps:
1. Open "Terminal" utility.
2. Type #sudo su (Change to "root" authority)
3. Type user password
Note! You have to run "setenv.sh" once you open a new "Terminal" utility
every time.
Note! It is suggested to change to "root" authority to use the source code.
Vue de la page 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 103 104

Commentaires sur ces manuels

Pas de commentaire