
21
TWR-MPC 5125
TWR-MPC5125 User Manual
Made by
www.
.com
semiconductor
7.0 How to build U-Boot, Kernel
and device-tree
1). Install cross compiler tool chains
Tools install from the LTIB package, you can refer to the LTIB help
documentation for detailed installation instructions
2). Before cross compiling anything, you must set the environment variable:
ARCH, CROSS_COMPILE and PATH.
Set environment variables script file "ppc”
1). Build U-boot
$ make distclean
$ make ads5125_nand_config
$ make –j 4
7.1 Cross-compilation settings
#!/bin/sh
TOOLCHAIN=/opt/freescale/usr/local/gcc-4.1.78-eglibc-2.5.78-1/powerpc-
e300c3-linux-gnu
LTIB=/opt/freescale/ltib/usr
export ARCH=powerpc
export CROSS_COMPILE=powerpc-e300c3-linux-gnu-
export PATH=$TOOLCHAIN/bin:$LTIB/bin:$PATH
$ source ppc
7.2 How to build
2). Build Kernel
$
cp arch/powerpc/configs/mpc5125_twr_defconfig .config
$
make –j 4
Содержание TWR-MPC5125
Страница 1: ...TWR MPC5125 User Manual semiconductor...
Страница 31: ...Made by www com...