摘要:
five 32-bit timerthese timers are used to generate internal interrupts to the arm subsystemTimer0Timer1 (timer0 timer1 include a PWM function[Pulse Width Modulation], which candrive an external I/O signal. the PWM for timer0 and 1 have an optinonal dead-zone generator capability)timer 2, 3,4 没有输出针5 阅读全文
摘要:
arm-linux-ld: error: Source object drivers/mtd/nand/s3c_nand_mlc.fo has EABI version 5, but target drivers/mtd/nand/built-in.o has EABI version 0arm-linux-ld: failed to merge target specific data of file drivers/mtd/nand/s3c_nand_mlc.fomake[3]: *** [drivers/mtd/nand/built-in.o] 错误 1make[2]: *** [dri 阅读全文
摘要:
http://permalink.gmane.org/gmane.linux.usb.general/45661 do {2493 grstctl = readl(hsotg->regs + S3C_GRSTCTL);2494 } while (!(grstctl & S3C_GRSTCTL_CSftRst) && timeout-- > 0);2495 2496 if (!(grstctl & S3C_GRSTCTL_CSftRst)) {2497 dev_err(hsotg->dev, "Failed to get CSftRst 阅读全文
摘要:
void uart_putchar(unsigned char k){while(!(UTRSTAT0&0x04)) ; UTXH0 = k;}unsigned char uart_getchar(void){unsigned char c;while(!(UTRSTAT0&1<<0)) ; c = URXH0;return c;}真是 踏遍铁鞋无觅处, 害我1天在整啊 阅读全文
摘要:
跳转指令b/blcond | ... | L(是否有L) | signed_immed_24(24-bit的有符号的立即数) |目录/home/km/arm/u-boot-mini6410/board/samsung/mini6410ifndef TEXT_BASETEXT_BASE = 0xc7e00000endif 阅读全文
摘要:
Monitor Commands - Overview:============================命令go - start application at address 'addr'run - run commands in an environment variablebootm - boot application image from memorybootp - boot image via network using BootP/TFTP protocoltftpboot- boot image via network using TFTP protoco 阅读全文
摘要:
Software Configuration:=======================软件的配置Configuration is usually done using C preprocessor defines; therationale behind that is to avoid dead code whenever possible.使用c的预处理 避免 “dead code”两种配置变量There are two classes of configuration variables:* Configuration _OPTIONS_: 选址性的 These are selec 阅读全文
摘要:
Summary:========包含uboot源代码 (包含的架构有: PPC, ARM, MIPS, etc)This directory contains the source code for U-Boot, a boot loader for Embedded boards based on PowerPC, ARM, MIPSand several other processors, 可以安装到启动的rom中用来初始化或是测试硬件或是下载/运行程序which can be installed in a boot ROM and used toinitialize and test t 阅读全文
摘要:
make smdk6410_configmake 找到smdk6410_config: 目标unconfig:smdk6410_config: unconfig @echo "----------------------" @echo $(@) # 目标 是 smdk6410_config @echo "----------------------" @echo $(MKCONFIG) #/home/km/arm/uboot/uboot/mkconfig 是一个脚本 @echo "----------------------" @ec 阅读全文
摘要:
clock structure to generate ARMCLK, HCLKX2, and HCLK. clock dividerconsists of two partspre-dividersandpost divers.there are two pre-dividers to divide by 2 and 5which are fixed and not software configurable.the post-deviders can be configured by software using CLK_DIV0 register.266667一句经典名言: 在IT行业, 阅读全文