[embedded]u-boot: Retry count exceeded;starting again
@:tftp 0x30008000 rootfs.img Filename 'rootfs.img'. Load address: 0x30008000 Loading: T ##########T T #####################################################T ##T T #T T T T ###### Retry count exceeded; starting again dm9000 i/o: 0x20000300, id: 0x90000a46 DM9...标签: embedded
[embedded]Boot kernel from tftp server
1.Change linux kernel image zImage to zImage.img. mkimage -n 'nicholas' -A arm -O linux -T kernel -C none -a 0x30008000 -e 0x30008040 -d zImage zImage.img There is a information head in zImage.img used to recognised by u-boot. 2.Download to RAM of embedded board. I us...标签: embedded
[ubuntu]Install tftp server
1.Install tftp-server sudo apt-get install tftpd-hpa sudo apt-get install tftp-hpa tftp-hpa is client tftpd-hpa is server 2.Config sudo vim /etc/default/tftpd-hpa TFTP_USERNAME="tftp" TFTP_ADDRESS="0.0.0.0:69" TFTP_DIRECTORY="tftp director" TFTP_OPTIONS="-l -c -s" 3.Restart ...[JS]分级图片加载
在页面中使用分级图片加载的方法一个: <script src="jquery.min.js"></script> <script> var acimg = function(ac_style, ac_high){ if(!ac_style){ ac_style="anycle"; } if(!ac_high){ ac_high="high"; } var _ac_filter = "img."+ac_style; $(_ac_filter).each(function(){ _ac_src = $(th...标签: JS
[JS]Call functions or values between sub iframe and parent page
I always forgotten how to call functions or values between sub iframe and parent page in javascript. Now make a demo to mark it here. Here is parent page: <iframe src="sub.html" style="width:100%; height:500px; border:1px solid gray;"></iframe> <input type="button" v...标签: JS
[JS]Change a searching options of a web page
There is a function by myself to change a searching options of a web page. function setName(name, val) { var isSet = 0; var url=window.location.search; var search = ""; if(url.length>200){ return 0; } var url_domain = window.location.href; if(url_domain.indexOf("?")!=-...标签: JS
[c]数组与字符串长度
来看看在C语言里面字符串与数组的长度怎么取得吧,不多说,上代码: char *str="abcdefg"; char strq[10] = "abcdefg"; printf("%d %d\n", sizeof(str), strlen(str)); printf("%d %d\n", sizeof(strq), strlen(strq)); 结果是: 8 7 10 &...标签: C
[embedded]ESP8266 Falsh读写异常
今天调了一整天ESP8266,发现设备突然不能保存参数到Flash了,明明看到SPI Flash块操作正常运行过了,可是一重启设备,读出来的还是空。 最后的最后,发现原来ESP8266的初始化数据没有烧录,这是一块新板子,坑呀~标签: embedded
[embedded]crosstool-ng制作交叉编译工具血泪史
嵌入式开发第一步肯定是弄一个交叉编译工具了,一直很好奇芯片公司给的arm-linux-gcc怎么做的,就算是一些常见的嵌入式开发的书也只是聊聊数语,最后往往说到用crosstool等可以制作,但制作比较麻烦,最好是直接下载他人制作好了的。 我花了段时间,换来了一个完全自主知识产权的交叉编译工具。 其实制作这么一个工具并不那么玄乎,关键是不能走入死胡同。 首先,下载crosstool-ng-1.18.0,不要关注版本,我是正巧看到某个地方的交叉编译工具用这个版本的crosstool-ng制作的,我以后也许会偿试其它版本的。 然后自然是解压、编译、安装,这一切几乎非常顺利,除了其中会有一些...标签: embedded
[embeded]config.log by crosstool-ng
When get an error by crosstool-ng, it will tell us in build.log. All the same , there is config.log sometimes told by build.log. I search config.log file for a long time, found that it is in the fold of .build/src/*标签: embedded
日历
最新微语
- 有的时候,会站在分叉路口,不知道向左还是右
2023-12-26 15:34
- 繁花乱开,鸟雀逐风。心自宁静,纷扰不闻。
2023-03-14 09:56
- 对于不可控的事,我们保持乐观,对于可控的事情,我们保持谨慎。
2023-02-09 11:03
- 小时候,
暑假意味着无忧无虑地玩很长一段时间,
节假意味着好吃好喝还有很多长期不见的小朋友来玩...
长大后,
这是女儿第一个暑假,
一个半月...
2022-07-11 08:54
- Watching the autumn leaves falling as you grow older together
2018-10-25 09:45
分类
最新评论
- Goonog
i get it now :) - 萧
@Fluzak:The web host... - Fluzak
Nice blog here! Also... - Albertarive
In my opinion you co... - ChesterHep
What does it plan? - ChesterHep
No, opposite. - mojoheadz
Everything is OK!... - Josephmaigh
I just want to say t... - ChesterHep
What good topic - AnthonyBub
Certainly, never it ...