2010年6月29日 星期二

Mobilygen SDK 整合步驟

0. pre-make
. cd /mobilygen/
. link sdkrc to SDK_RC
. cd /opt/mobilygen/merlinsw_codec/
. link qmm-merlinrc to qmm-merlin-SDKr
. cd /opt/mobilygen/tools/
. link arm-merlin-linux-uclibc to arm-merlin-linux-uclibc-SDKr
. cd to your working source tree
. copy old env file to "env.sdkrc"
. modify "env.sdkrc"
SDK_VERSION=rc
. source ./env.sdkrc

1. mboot
. mkdir utils-sdkrc
. copy mboot src from SDK_RC/project/dist/mboot/ng3500 to 1.0-sdkrc
. mkdir utils-sdkrc
. copy cfg2env from SDK_RC/project/dist/cfg2env to utils-sdkrc
. copy config.evp-nand from SDK_RC// to utils-sdkrc
. copy mbootconfig-orig.sh from SDK_RC/project/dist/configs/distributions/merlin/config/mbootconfig.sh to utils-sdkrc
. modify "MTD_PARTS" to our MTD partition in mbootconfig-orig.sh
. copy mg3500-2ddr2_264MHz_128MB-soc.reg from SDK_RC// to utils-sdkrc
. copy .config to from SDK_RC/project/dist/mboot/build.chip_nand utils-sdkrc
. modify "SRC_ROOT" to "../1.0-sdkrc"
# 1
. link cfg2env / config.evp-nand / mbootconfig-orig.sh / mg3500-2ddr2_264MHz_128MB-soc.reg to utils-sdkrc/*
. cd 1.0/
. link .config to ../utils-sdkrc/.config
. link Makefile to ../utils-sdkrc/Makefile
# 2
. modify ch_mboot.ch
. ./ch_mboot.ch sdkrc

2. qhal
. cd kernel
. mkdir "qhal-sdkrc"
. copy qhal src from SDK_RC/project/merlinsw/host/lib/qhal/ to "qhal-sdkrc"
. 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-sdkrc"

3. kernel
. cd kernel
. mkdir "linux-x.x.xx_sdkrc"
. copy linux kernel src from "SDK_RC/project/dist/linux/src/linux" to "linux-x.x.xx_sdkrc"
. copy linux .config file from "SDK_RC/project/dist/linux/build.mg3500" to "linux-x.x.xx_sdkrc"
. 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

2010年6月21日 星期一

Mobilygen SDK make note

Mobilygen SDK make note:
1. Install
. cd /mobilygen
. put *.run to here and chmod +x *.run
. mkdir SDK_RC and cd SDK_RC
. ../*.run
. /install.sh --src --workdir project
. export QUARC_ROOT=${PWD}/project
2. make dist
. cd project/dist
. make all DIST=merlin
3. make host
. cd ../merlinsw/host
. make all TARGET=arm-merlin

2010年3月29日 星期一

多事的一星期

Ken`s blog : 2010/03/29 (晴)

多事的一星期...
星期一:Sensor廠商要來調整參數;研發抵減要開始簽名。
星期二:Pre-M1教育訓練先前的內部檢驗。
星期三:Pre-M1教育訓練。
星期四:AM 7000 release FW to Amelie
星期五:不知道...