. cd /mobilygen/
. link sdk
. cd /opt/mobilygen/merlinsw_codec/
. link qmm-merlin
. cd /opt/mobilygen/tools/
. link arm-merlin-linux-uclibc
. cd to your working source tree
. copy old env file to "env.sdk
. modify "env.sdk
SDK_VERSION=
. source ./env.sdk
1. mboot
. mkdir utils-sdk
. copy mboot src from SDK
. mkdir utils-sdk
. copy cfg2env from SDK
. copy config.evp-nand from SDK
. copy mbootconfig-orig.sh from SDK
. modify "MTD_PARTS" to our MTD partition in mbootconfig-orig.sh
. copy mg3500-2ddr2_264MHz_128MB-soc.reg from SDK
. copy .config to from SDK
. modify "SRC_ROOT" to "../1.0-sdk
# 1
. link cfg2env / config.evp-nand / mbootconfig-orig.sh / mg3500-2ddr2_264MHz_128MB-soc.reg to utils-sdk
. cd 1.0/
. link .config to ../utils-sdk
. link Makefile to ../utils-sdk
# 2
. modify ch_mboot.ch
. ./ch_mboot.ch sdk
2. qhal
. cd kernel
. mkdir "qhal-sdk
. copy qhal src from SDK
. modify "Makefile", add following to end of file.
TARGET_KERNEL_SOURCES=${MYPATH}/kernel/linux
linuxdrv-install:
echo "/home/jack/mobilygen/kernel/qhal/rootfs"
. link qhal to "qhal-sdk
3. kernel
. cd kernel
. mkdir "linux-x.x.xx_sdk
. copy linux kernel src from "SDK
. copy linux .config file from "SDK
. modify Makefile.
ARCH ?= arm
CROSS_CONPILE ?= arm-merlin-linux-uclibc-
. make menuconfig
remove "Support Thumb user binaries"
build-in network "Packet socket" and check setting in "Network support"
build-in wireless in "Network support"
MTD, SCSI, PPP, Character device->Maxim->qcc, USB, File system
4. make & install library
. cd admin_lib
. su
. make linkbuild
. make
. make install
. exit
沒有留言:
張貼留言