[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 ...[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
[embedded]../libtool: eval: line
There is an error: ../libtool: eval: line 950: syntax error near unexpected token `|’ You can ignore the line number, it depends on which program you are compiling. After some debugging, I find out that it looks like this was being caused by NM not being defined. Appears that it was being concat...标签: embedded
[embedded]crosstool-ng能记住之前编译到哪一步
据说crosstool-ng从某版本(可能是1.18)开始支持分步编译了。意思是中断改错之后,不用再从头开始编译。这么牛逼的技能居然被忽略。 ct-ng menuconfig Paths and misc options —> [*]Debug crosstool-NG [*]Save intermediate steps ct-ng list-steps 然后看着办吧,我还没试验过的,回头试试去……标签: embedded
[embedded]An application of qtopia in mini2440
main.cpp #include <qapplication.h> #include <qlabel.h> int main(int argc, char *argv[]){ QApplication app(argc, argv); QLabel *label = new QLabel("Hehe", 0); label->show(); return app.exec(); } hello.pro CONFIG += qtopiaapp CONF...标签: embedded
[embedded]纯净版qtopia-2.2.0编译PC上运行版
1.下载qtopia-free-src-2.2.0.tar.gz 2.解压 3.patch 4. echo yes | ./configure -qte '-embedded -no-xft -qconfig qpe -depths 16,32 -system-jpeg -gif' -qpe '-edition pda -displaysize 240x320 -fontfamilies "helvetica fixed micro smallsmooth smoothtimes"' -qt2 '-no-openg1 -no-xft' -dqt '-no-xft -thread' m...标签: embedded
[embedded]tslib移植到mini2440上面
1.解压 tar zxvf tslib-1.4.tar.gz 2../autoget.sh 3../configure --prefix=/home/nicholas/tslib_install/ --host=arm-linux ac_cv_func_malloc_0_nonnull=yes 4.make 5.make install 这会将四个文件生成到prefix设定的目录下,将四个文件复制到根文件系统的 /usr/local/tslib 下就可以了。 6.修改文件系统中/etc/profile: export TSLIB_ROOT=/usr/lo...标签: 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 ...