这是uboot的start.s的一段启动代码 /* * These are defined in the board-specific linker script. */ .globl _bss_start _bss_start: .word __bss_start .globl _bss_end _bss_end: .word _end 我对这里的 .globl .word 不了解 希望知道的冒个泡谢谢! 还有就是能不能提供一些相关的汇编资料,我找了好长时间都没有找到。
makefile中的libs的缺省值是不是/usr/libs?
INCLUDE缺省是/usr/include?
如果程序中既include
uboot> protect off all Un-Protect Flash Bank # 1 uboot> erase 10000000 1001ffff Erasing sector 0 ... done Erased 1 sectors uboot> loadb 20000000 ## Ready for binary (kermit) download to 0x20000000 at 115200 bps... ## Total Size = 0x00002908 = 10504 Bytes ## Start Addr = 0x20000000 uboot> cp.b 20000000 10000000 5fff Copy to Flash... not erased at 10000016 (800) Flash not Erased Ub...
通过串口使用loader.bin将u-boot.bin下载到at91rm9200板子上,u-boot-1.1.1与u-boot-1.1.4在超级终端上打印出的信息为何差别那么大啊? CCCCCCCCCCCCCCCC U-Boot 1.1.1 (Nov 16 2004 - 18:01:43) U-Boot code: 21F00000 -> 21F16F2C BSS: -> 21F1B368 RAM Configuration: Bank #0: 20000000 32 MB Flash: 16 MB DataFlash:AT45DB642 Nb pages: 8192 Page Size: 1056 Size= 8650752 bytes Logical address: 0xC0000000 Area ...
我下载了一个u-boot.里面有一个smc91111的驱动,但是现在要把这个驱动移植到ARM上的linux里. 不知道该怎么做?我以前没写过驱动,不知道从什么地方入手.请各位高人指点,多谢! :cry:
cc1: error: unrecognized command line option "-mapcs-32" /opt/uboot/u-boot-1.1.4/cpu/arm926ejs/start.S:0: error: bad value (arm926ejs) for -mtune= switch 上边是出错代码, 看样子是编译器不支持这个选项, 那么在gcc编译时加哪个选项, 让arm-linux-gcc支持这个选项呢. 请教
1、因为定义了CFG_NAND_LEGACY,因此主要修改saveenv中对nand的读写函数为nand_legacy的读写函数,修改common/env_nand.c如下: #include #if defined(CFG_ENV_IS_IN_NAND) /* Environment is in Nand Flash */ #include #include #include #include #include #if ((CONFIG_COMMANDS&(CFG_CMD_ENV|CFG_CMD_NAND)) == (CFG_CMD_ENV|CFG_CMD_NAND)) #define CMD_SAVEENV #elif defined(CFG_ENV_OFFSET_REDUND) #error C...
我刚装好了RedHat Linux 9,请问下我的GTK版本怎么看啊? [root@localhost test_gtk]# rpm -qa|grep gtk pygtk2-libglade-1.99.14-4 gtk-engines-0.11-16 mtr-gtk-0.52-2 gtk+-1.2.10-25 gtk2-2.2.1-4 gnome-python2-gtkhtml2-1.99.14-5 usermode-gtk-1.67-2 authconfig-gtk-4.3.4-1 gtkam-0.1.7-3 gtkhtml-1.1.8-5 gtk2-engines-2.2.0-2 gtkhtml2-2.2.0-5 pygtk2-1.99.14-4 [root@localhost test_gtk]# pkg-config --modversion gt...