- 博客(21)
- 收藏
- 关注
原创 can't boot the kernel , if the server side is tftpd32.exe
<br />The reason is that, the tftpd32.exe does not enable PXE(Preboot Execution Environment) as default,<br />So we need to enable PXE in the setting of tftpd32 first.<br /> <br /> <br />
2010-11-30 09:59:00 687
转载 Including driver firmware on Linux kernel image
<br /><br /> <br />http://acassis.wordpress.com/2010/03/17/including-driver-firmware-on-linux-kernel-image/<br /> <br />Driver’s binary firmware is a dedicated issue to Linux. In fact even open source drivers usually load its firmware to internal chip and
2010-11-29 13:56:00 1160
原创 Ubuntu 设置 dhcpd 不要自动启动
<br />#sudo apt-get install sysv-rc-conf<br />#sysv-rc-conf dhcp3-server off<br /> <br />Reference<br />ubuntu下设置程序开机自启动的几种方法<br />http://blog.chinaunix.net/u3/99156/showart_2209538.html
2010-11-29 11:18:00 1889
原创 Ubuntu 设置 DNS
通过路由器连接 internet。Ubuntu 下设置 dns#sudo echo nameserver 192.168.0.1 > resolv.conf
2010-11-29 11:09:00 514
原创 Linux, BUG: spinlock recursion on CPU
<br />1.<br />I got a bug report <br />BUG: spinlock recursion on CPU#0, hci0/1205 lock: dfae1008, .magic: dead4ead, .owner: hci0/1205, .owner_cpu: 0[<c003ade0>] (unwind_backtrace+0x0/0xe0) from [<c0467c00>] (dump_stack+0x20/0x24)[<c0467c00>] (dump_s
2010-11-25 10:19:00 5327
原创 Linux Spin lock.
<br /> <br /><br />1. Symmetric MultiMulti-Processing multi processor (core) architecurure<br />It is in include/linux/spinlock_api_smp.h<br /> <br />static inline void __spin_lock(spinlock_t *lock)<br /> <br />{<br />preempt_disable();<br />spin_acquire(
2010-11-25 10:14:00 842
原创 Why are there sometimes meaningless do/while and if/else statements in C/C++ macros?
<br />http://stackoverflow.com/questions/154136/why-are-there-sometimes-meaningless-dowhile-and-ifelse-statements-in-cc-macros<br /> <br />http://stackoverflow.com/questions/2687569/c-do-while0
2010-11-25 09:29:00 483
原创 There is no ~/.bashrc to setup user $PATH
After add user in Ubuntu, there is not ~/.bashrc under user home for me to setup my own user $PATH.1. man bashWhen bash is invoked as an interactive login shell, or as a non-interactive shell with the --login option, it first reads and executes commands
2010-11-22 16:32:00 566
转载 Extracting U-boot/PPCboot ramdisk
<br /><br />http://peternemeth.com/?p=19<br />first 64 bytes is the u-boot header, we need to skip it#dd if=ramdisk.img bs=64 skip=1 of=ramdisk.gz#gunzip -v ramdisk.gz#cpio -iv < ramdisk
2010-11-11 17:45:00 1296
转载 Linux内核中的jiffies
http://blog.chinaunix.net/u/18846/showart_267864.html硬件给内核提供一个系统定时器用以计算和管理时间,内核通过编程预设系统定时器的频率,即节拍率(tick rate),每一个周期称作一个tick(节拍)。Linux内核从2.5版内核开始把频率从100调高到1000(当然带来了很多优点,也有一些缺点). jiffies是内核中的一个全局变量,用来记录自系统启动一来产生的节拍数。譬如,如果计算系统运行了多长时间,可以用 jiffies/tick rate
2010-11-11 13:34:00 524
转载 内核定时器(2.6.23)
<br />http://blog.chinaunix.net/u2/73528/showart_1131053.html
2010-11-11 13:29:00 388
原创 nfs server problem in Linux 2.6.32
<br /> <br />1. <br /><br />#sudo /etc/init.d/nfs-kernel-server restart<br /> * Stopping NFS kernel daemon [ OK ]<br /> * Unexporting directories for NFS kernel daemon... [ OK ]<br /> * Not starti
2010-11-09 18:38:00 926
原创 Linux wget 命令
<br />支持http 下载,-c 代表断点续传<br /> <br />#wget -c http://10.21.0.59/Android/smdkc110_froyo/android_kernel_2.6.32_bt3.tar.bz2
2010-11-09 15:59:00 548
原创 配置网络
<br />开发环境, eth0 开发板相连, wlan0 公司内网,需要网关上网<br /> <br /># vim /etc/network/interface<br /> <br />auto lo<br />iface lo inet loopback<br /> <br />auto eth0<br />iface eth0 inet static<br />address 192.168.0.10<br />netmask 255.255.255.0<br />gateway
2010-11-09 15:54:00 465
转载 uboot中利用TFTP和NFS加载内核镜像和根文件系统
http://blog.chinaunix.net/u3/98913/showart_1978279.html
2010-11-09 13:46:00 946
原创 git format-patch origin 生成patch
是用git生成patch文件然后用email的方式提交$git-clone git://repo.or.cz/xylftp.git$ cd xylftp/client$vim TODO.txt$git-add TODO.txt$git-commit -m “Change Client-TODO.txt”$git-format-patch origin这时便在当前目录下生成补丁0001-Update-Client-TODO.txt.patch,然后用 git-send-email
2010-11-09 09:37:00 2093
转载 Preparing Files for TFTP Net Booting
https://help.ubuntu.com/7.04/installation-guide/i386/install-tftp.htmlIf your machine is connected to a local area network, you may be able to boot it over the network from another machine, using TFTP. If you intend to boot the installation system from ano
2010-11-08 17:43:00 959
转载 usb设备的probe全过程
<br />转自 http://blog.csdn.net/aaronychen/archive/2008/03/17/2192147.aspx<br /> <br />
2010-11-08 11:45:00 741
转载 How SKBs work
<br /><br />skb - Linux network buffers.<br /> <br />http://vger.kernel.org/~davem/skb.html
2010-11-08 09:56:00 581
转载 Linux kmalloc
<br /><br />http://www.fiveanddime.net/man-pages/kmalloc.9.html<br /> <br />GFP_ATOMICtries to allocate the memory immediately. The task will not sleep if the memory isn't available. There is a number of reserved pages for GFP_ATOMIC. For allocating memory
2010-11-08 09:54:00 624
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人