TFTP from server 192.168.7.110; our IP address is 192.168.7.236
Filename 'uImage'.
Load address: 0x30008000
Loading: T #################################################################
##############################################
done
Bytes transferred = 1617072 (18acb0 hex)
## Booting kernel from Legacy Image at 30008000 ...
Image Name: Linux-2.6.28
Created: 2009-03-04 22:56:35 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1617008 Bytes = 1.5 MB
Load Address: 30008000
Entry Point: 30008000
Verifying Checksum ... OK
XIP Kernel Image ... OK
OK
Starting kernel ...
data abort
pc : [<3000800c>] lr : [<33fa434c>]
sp : 33f4fca4 ip : 33f4fcb4 fp : 33fbdf70
r10: 0000016a r9 : fff302c1 r8 : 33f4ffdc
r7 : 33f4ffb8 r6 : 33fd3200 r5 : 33f51a6d r4 : 00000000
r3 : 30008000 r2 : 30000100 r1 : 0000016a r0 : ea000012
Flags: nZCv IRQs off FIQs off Mode SVC_32
Resetting CPU ...
tftp 31000000 uImage; bootm"
U-Boot$ saveenv
Saving Environment to Flash...
Un-Protected 1 sectors
是tftp加载命令的问题,不能加载在0x30008000处,改为0x31000000就可以了。
setenv bootcmd "tftp 31000000 uImage; bootm"
void s3c2410_gpio_cfgpin(unsigned int pin, unsigned int function)
unsigned int s3c2410_gpio_getcfg(unsigned int pin)
void s3c2410_gpio_pullup(unsigned int pin, unsigned int to)
int s3c2410_gpio_getpull(unsigned int pin)
void s3c2410_gpio_setpin(unsigned int pin, unsigned int to)
unsigned int s3c2410_gpio_getpin(unsigned int pin)
unsigned int s3c2410_modify_misccr(unsigned int clear, unsigned int change)
int s3c2410_gpio_getirq(unsigned int pin)
int s3c2410_gpio_irq2pin(unsigned int irq)
./arch/arm/mach-s3c2440/mach-nexcoder.c: s3c2410_gpio_setpin(S3C2410_GPF2, 0);
./arch/arm/mach-s3c2440/mach-nexcoder.c: s3c2410_gpio_cfgpin(S3C2410_GPF2, S3C2410_GPF2_OUTP); // CAM_GPIO6 => CAM_PWRDN
./arch/arm/mach-s3c2440/mach-osiris.c: s3c2410_gpio_setpin(S3C2410_GPA21, 1);
./arch/arm/mach-s3c2440/mach-osiris.c: s3c2410_gpio_cfgpin(S3C2410_GPA21, S3C2410_GPA21_OUT);
./arch/arm/mach-s3c2440/mach-osiris.c: s3c2410_gpio_cfgpin(S3C2410_GPA21, S3C2410_GPA21_nRSTOUT);
./arch/arm/mach-s3c2440/mach-osiris.c: s3c2410_gpio_setpin(S3C2410_GPA0, 1);
./arch/arm/mach-s3c2442/Kconfig: select S3C2410_GPIO
./arch/arm/plat-s3c24xx/common-smdk.c: .gpio = S3C2410_GPF4,
./arch/arm/plat-s3c24xx/common-smdk.c: .gpio = S3C2410_GPF5,
./arch/arm/plat-s3c24xx/common-smdk.c: .gpio = S3C2410_GPF6,
./arch/arm/plat-s3c24xx/common-smdk.c: .gpio = S3C2410_GPF7,
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_cfgpin(S3C2410_GPF4, S3C2410_GPF4_OUTP);
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_cfgpin(S3C2410_GPF5, S3C2410_GPF5_OUTP);
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_cfgpin(S3C2410_GPF6, S3C2410_GPF6_OUTP);
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_cfgpin(S3C2410_GPF7, S3C2410_GPF7_OUTP);
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_setpin(S3C2410_GPF4, 1);
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_setpin(S3C2410_GPF5, 1);
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_setpin(S3C2410_GPF6, 1);
./arch/arm/plat-s3c24xx/common-smdk.c: s3c2410_gpio_setpin(S3C2410_GPF7, 1);
中断设置变化
set_irq_handler(IRQ_EINT0, handle_edge_irq); /* NET_INT*/
set_irq_type(IRQ_EINT0, IRQ_TYPE_EDGE_FALLING); /* NET_INT, AX88796B,LOW */