---
# System prepended metadata

title: 狗蛋大兵不捐血

---

cd /root/android_4.0.4_dma4412L/kernel_dma4412L
make menuconfig

grep -r "DCC tty" .
#./drivers/char/Kconfig: tristate "DCC tty driver"

cd drivers/char/
vim Kconfig
/DCC_TTY, 4yy

cd /root/android_4.0.4_dma4412L/kernel_dma4412L
make menuconfig
#Devices Drivers ---> Character devices ---> SPACE TO <＊>LED48 driver

cd /root/android_4.0.4_dma4412L/kernel_dma4412L
cat .config | grep LED48

cd drivers/char/
vim Makefile
ls /mnt/hgfs/shared/4412/kernel_led/*.c
#/DCC_TTY
#obj-$(CONFIG_LED48)             += led.o

cp -af /mnt/hgfs/shared/4412/kernel_led/led.c /root/android_4.0.4_dma4412L/kernel_dma4412L/drivers/char/

cd /root/android_4.0.4_dma4412L/kernel_dma4412L
make

ls -al arch/arm/boot/zImage
cp -af arch/arm/boot/zImage /mnt/hgfs/shared/4412/tftpd/