- 博客(14)
- 资源 (3)
- 收藏
- 关注
原创 WEB failsafe mode implements on WRTNode(MT7620N)
一、发现页面文件大于1446以后,就不能显示完全,几经周折,在uipopt.h中发现了这样几处定义: /** * The TCP maximum segment size. * * This is should not be to set to more than UIP_BUFSIZE - UIP_LLH_LEN -
2014-06-28 16:52:04 3041
原创 双引号在cat显示heredoc中的妙用
我们知道,想在shell script中显示一大段文字(Heredoc),可以用 cat cat this quick brown fox jumps over the lazy dog powered by manfeel! EOF 这些普通的文本显示起来没有问题,一旦里面夹杂有特殊的字符(如“\”、“`”之类的),就会出问题。 有一个非常简单有效的方法,那就是用双引
2014-06-28 16:48:44 2285
原创 WRTNode(MT7620n)USB启动总结
一.修改mt7620.dtsi,去掉默认的bootargs,kernel_menuconfig取消buildin的command line 二.kernel_menuconfig加入scsi驱动,USB Storage,Ext4文件系统 三.set bootargs root=8:2 rootdelay=5 rootfstype=ext4 rw console=ttyS0,57600注意:ro
2014-06-22 14:11:03 8626
转载 Passing Command Line Arguments to a Module
Modules can take command line arguments, but not with the argc/argv you might be used to. To allow arguments to be passed to your module, declare the variables that will take the values of the comman
2014-06-22 10:00:02 920
原创 RT5350编译UBoot历险记
阿里巴巴上买了两片RT5350的3G路由器开发板,发几张靓照:) 刷入自己编译的RT5350 uboot.bin之后,发现不能启动,以为是uboot源码有问题,网上找了其他版本的SDK(3.3,3.6)编译都不能启动,觉得奇怪。幸亏当初买了两片,另一片的uboot没有改动过,于是,想把原始的uboot备份下来,但又
2014-06-21 16:22:11 10376 3
原创 WRTNode(MT7620) 通过USB启动OpenWRT过程记录(下)
现在的核心问题:解决USB rootfs问题。 找到这篇文章:http://macbruins.com/2011/09/01/easy-live-usb-for-x86-openwrt/ 里面说到: Why Booting from USB Fails A desktop Linux system typically boots u
2014-06-13 22:19:23 9186
原创 WRTNode(MT7620) 通过USB启动OpenWRT过程记录(中)
貌似kernel忽略了bootargs代码位于build_dir…arch/mips/ralink中的prom.cstatic __init void prom_init_cmdline(int argc, char **argv){ int i; // manfeel , mod to pr_info from pr_debug pr_info(
2014-06-12 14:40:54 5321
原创 WRTNode(MT7620) 通过USB启动OpenWRT过程记录(上)
接上篇文章,现在开始启动U盘中的kernel,又碰到了很多问题!用 fatload usb 0 0x80000000 uImage.lzm ; bootm 0x80000000总是碰到下面的错误:MT7620 # bootm 0x80000000## Booting image at 80000000 ... Image Name: PandoraBox Lin
2014-06-11 10:59:49 8442 2
原创 WRTNode(MT7620) UBoot 中实现USB功能过程记录
目标:在uboot中加入usb功能,实现从usb存储设备上启动kernel。ralink的SDK提供的uboot是支持usb相关命令的,只需要在config.mk打开相应的开关即可。一开始以为只需要这样做:RALINK_USB = ONRALINK_EHCI = ONRALINK_OHCI = ON编译烧写后,发现usb相关命令已经出现在uboot中了,但是每次
2014-06-10 21:51:08 10692 1
原创 OpenOCD的remote_bitbang驱动分析
准备用Arduio来实现自己的jtag adapter,so分析分析remote_bitbang驱动。 在 interfaces.c 中,有一个BUILD_REMOTE_BITBANG的开关,在make之前,由configure 加入--enable-remote-bitbang开关 #if BUILD_REMOTE_BITBANG == 1 extern
2014-06-02 13:21:00 2532
原创 Java调用RXTX库与Arduino进行串口通讯需注意的编程问题
准备用Arduino做一个jtag来调试WRTNode,在使用RXTX库与Arduino通讯时,出现了一些问题,总结如下: 1.在设置串口参数和获取Serial的输入/输出之间,需要至少2s的延时,否则串口通讯将不正常,但程序却没有任何的提示! 1: serialPort.setSerialPortParams(DATA_RATE, SerialPort
2014-06-01 23:27:52 4175
原创 水贴 : 用 Windows Live Writer 写离线日志
来张屏幕截图试试:) 表格走一个! 1 2 3 4 真心觉得方便!赞一个!!小伙伴们,赶紧去试试吧^_^ ps:http://write.blog.csdn.net/xmlrpc/index 什么时候抽空研究一下这个API
2014-06-01 13:38:43 1083
uboot_mt7620_ddr2
2014-06-29
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人