Hi3516A_SDK_V1.0.5.0/osdrv/opensource/kernel/linux-3.4.y/arch/arm/mach-hi3516a/include/mach/irqs.h
Hi3516A_SDK_V1.0.5.0/osdrv/opensource/kernel/linux-3.4.y/arch/arm/mach-hi3516a/core.c
编译内核
make ARCH=arm CROSS_COMPILE=arm-hisiv300-linux-clean
makeARCH=arm CROSS_COMPILE=arm-hisiv300-linux- uImage
烧写内核
mw.b 82000000 ff 300000
tftp 82000000 uImage_4uart
sf probe 0
sf erase 100000 300000
sf write 82000000 100000 300000
设置uart复用 //查看硬件手册复用关系
himm 0x200f007c 0x01 //uart1rx
himm 0x200f0084 0x01 //uart1tx
himm 0x200f0088 0x01 //uart2rx
himm 0x200f008c 0x01 //uart2tx
himm 0x200f0078 0x02 //uart3rx
himm 0x200f0080 0x02 //uart3tx