by guangmangdz - 移动操作系统 - 2011-12-21 08:41:31 阅读(815) 回复(0)
本帖最后由 kut00 于 2010-10-14 10:32 编辑
平台是9260,linux版本2.6.30。在看了《在linux下使用9263ek上的eeprom.pdf》之后,使用cat和echo 能正常的读写at24c512,但是自己写了一个小的测试程序时,每次只有在cat之后运行的第一次能正常读,后来就不行了。然后在cat一次,又能读一次。 测试程序代码附在下面,各位帮我看看。[code]
#include
这个是又什么区别? eeprom boot-device=disk2 这个是不是在run level 3下, setenv boot-device disk disk2 这个应该是只有在OK状态下才可以的
这个是又什么区别?\r\neeprom boot-device=disk2\r\n这个是不是在run level 3下,\r\nsetenv boot-device disk disk2\r\n这个应该是只有在OK状态下才可以的
Solaris 中,eeprom 命令能显示和改变许多系统配置参数。例如:缺省的启动设备和串口的速度。这个命令任何人都可以运行,但是只有root 才可以改变参数。 检查串口的设置: boson# eeprom | grep tty ttyb-rts-dtr-off=false ttyb-ignore-cd=true ttya-rts-dtr-off=false ttya-ignore-cd=true ttyb-mode=9600,8,n,1,- ttya-mode=9600,8,n,1,- 查看启动盘: boson# eeprom | grep boot boot-command=boot auto-boot?=false watch...
Solaris 中,eeprom 命令能显示和改变许多系统配置参数。例如:缺省的启动设备和串口的速度。这个命令任何人都可以运行,但是只有root 才可以改变参数。\r\n\r\n检查串口的设置:\r\n\r\nboson# eeprom | grep tty\r\nttyb-rts-dtr-off=false\r\nttyb-ignore-cd=true\r\nttya-rts-dtr-off=false\r\nttya-ignore-cd=true\r\nttyb-mode=9600,8,n,1,-\r\nttya-mode=9600,8,n,1,-\r\n\r\n查看启动盘:\r\n\r\nboson# eeprom | grep boo...
The Support Tools Manager(stm) host-based utility is the primary online diagnostic tool available for the HP SureStore E Disk Array FC60. stm provides the capability for testing, configuring, and evaluating the operational condition of the disk array. stm comes with HPUX instant ignition and support media. stm User Interfaces stm present three different user three interfaces:an X-Windows int...