---------------------------------------------------------------------------------------------------
目录:
编译工具链:/opt/toolchains/stbgcc-4.5.3-2.2
tar -jxvf stbgcc-4.5.3-2.2.tar.bz2
linux内核码:/opt/brcm/linux -> ./stblinux-2.6.37
tar -jxvf stblinux-2.6.37-3.1.tar.bz2
根文件系统:/opt/brcm/uclinux-rootfs
tar -jxvf uclinux-rootfs-2.6.37-3.1.tar.bz2
NFS: /opt/nfsroot
tar -jxvf nfsroot-7552b0.tar.bz2
TFTP: /opt/tftproot
img*S、vmlinuz-7552b0、vmlinuz-initrd-7552b0
SDK: /opt/refsw/BSEAV、nexus、magnum、rockford
AppLibs: /opt/refsw/AppLibs
rsync -avz xxx.xxx.xxx::iSDK/BRCM
/brcm7581-sdk-20120824/AppLibs ./
---------------------------------------------------------------------------------------------------
编译:
bash
su, pwd
export LINUX=/opt/brcm/linux
export PATH=/opt/toolchains/stbgcc-4.5.3-2.2/bin:$PATH
export PLATFORM=97552
export NEXUS_PLATFORM=97552
export BCHP_CHIP=7552
export BCHP_VER=B0
内核:
cd /opt/brcm/linux
# select the appropriate defconfig here:
cp arch/mips/configs/bcm97552b0_defconfig .config
make menuconfig
# select exit, save
make
# build dist is ./linux/vmlinux
Examples:
cd /opt/refsw/nexus/examples
make
# build dist is ./nexus/bin/*
Brutus:
cd /opt/refsw/BSEAV/app/brutus/build
make install
# build dist is
./BSEAV/bin/refsw-20130506.97552-linux-uclibc.bin.tgz
---------------------------------------------------------------------------------------------------
运行:
---------------------------------------------------------------------------------------------------
转载于:https://www.cnblogs.com/chinawine/archive/2013/05/08/3066128.html