#JCMD
##Introduction:
go: Easy change your directory
flash: Easy flash your device
install: Easy install your file
##How to Use:
###1. Add below to your .bashrc:
if [ -n "$BASH_VERSION" ]; then
# include .bash_completion if it exists
if [ -f "$HOME/jcmd/.bash_completion" ]; then
. "$HOME/jcmd/.bash_completion"
fi
fi
export PATH=$HOME/jcmd:$PATH
###2. Put files in your linux
$ cd ~
$ git clone https://github.com/buzz75/jcmd.git
$ source ~/.bashrc
###3. Edit your mycmd config file
$ emacs ~/.mycmd_conf
[core]
project_home = /home/username/project/ <----
your a9 project at /home/username/project/a9, you can use ezg a9
[project]
a9 = ics-robin
pm = ics-mr1.1-pm
log = ../test_log/
Using "go project sub-directory" to sub-directory
ex. $ go pm i2c
[subdir]
i2c = kernel/drivers/i2c
uart = kernel/drivers/tty/serial
eeprom = kernel/drivers/misc/eeprom
Create section [xxx_dir]
Using ezg project sub-directory to sub-directory
ex. $ ezg project xxx
You also can set default option, if you have many project with same directory
[out_dir]
prefix = out/target/product
a9 = a9
pm = picasso_m
pmf = picasso_mf
pre-jb-pmf = picasso_mf
pe = picasso_e
pe2 = picasso_e2
p1 = picasso
vg = vangogh
you can use ezg a9 mach, change directory to /home/username/project/a9/kernel/arch/arm/mach-msm
[mach_dir]
prefix = kernel/arch/arm
default = mach-tegra
a9 = mach-msm
jeff teste bf here