自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(10)
  • 收藏
  • 关注

原创 Tech memo of imx27 pdk(4) -- Running linux-2.6.38 on imx27 pdk

From Tech memo of imx27 pdk(1 ~ 3) we already know how to run linux-2.6.22 with imx27pdk patch on the platform. However, i checked Linux Kernel Archive today and download the latest stable version linux-2.6.38. I found this version already support imx27 pd

2011-04-15 18:26:00 880

原创 Commands for Compression/decompression and Packing/unpacking

<br />.tar.gz / .tgz<br />decompression: tar zxvf FileName.tar.gz<br />compression: tar zcvf FileName.tar.gz DirName<br /> <br />.tar.bz2<br />decompression : tar jxvf FileName.tar.bz2 / tar –bzip xvf FileName.tar.bz2<br />compression: tar jcvf FileName.ta

2011-04-15 10:34:00 337

原创 Tech memo of imx27 pdk(3) -- For network and rootfs mounting problems

At the end of Tech memo of imx27 pdk(2), we saw the kernel hang-up after trying to bring up eth0. I would introduce some hardware knowledge before fixing this issue.imx27 pdk has two ne2k cark, they are lan8700, which is soldered to core board, andlan9217,

2011-04-14 15:22:00 749

原创 Tech memo of imx27 pdk (2) -- For hacking linux booting code

In the last article Tech memo of imx27 pdk (1), we already introduced how to build zImage for imx27 pdk. Let's copy it to the root folder of tftp server and flash the kernel image of pdk platform. Open board rs232 interface, and go to redboot command line,

2011-04-13 00:08:00 1140

原创 Tech memo of imx27 pdk (1) -- For kernel building on imx27 pdk with ltib

Suppose i already setup my ltib to this path: /home/hongao_client/ltib, then ltib perl file was under it. The kernel spec file was over here: /home/hongao_client/ltib/tmp/kernel-2.6.22-pdk27.spec Log-in your system as an user, say leocdsc, then

2011-04-08 03:07:00 668

原创 maillist of Hacking USB@LINUX

Hi Turwei,The first session, to find driver "usb":there's some diagram being drawn, but it doesn’t render nicely in text… so we can’t be sure where the figure ended and where narration continues.  Similarly withThe misson of the second session is to find d

2011-04-06 17:46:00 627

原创 Hacking USB@LINUX (2)

Last year i wrote 'Hacking USB@LINUX (1)' already but hadn't uploaded but anyway will do it soon. From this section, we're going to use KGDB to trace how USB driver and device be registered in linux kernel and how kernel manages the drivers and devices. Th

2011-04-05 18:33:00 468

原创 VFS Travelling (2)

In this section, i would start the VFS travelling from rootfs. I'm showing out what happens to VFS when kernel starts. The main scenario is shown below.Fig 2-1Let's get a further step to break it down.1.       In start_kernel context, vfs_caches_init()

2011-03-13 23:18:00 527

原创 VFS travelling (1)

Would like to share some knowledge about VFS on Linux 2.6.37.1.Before start, let's get to know some terms in LINUX file system world. They are:1. Super Block: we can think it as Partition;2. Inode: like a directory structure;3. Dentry: a file or folder.And

2011-03-11 11:27:00 257

原创 RCU - Basics

<br />1. Kernel synchronize control<br /><br />Disable/enable irq, atomic operations, semaphore, rw_semaphore, BKL(Big Kernel Lock), brlock(Only in 2.4 kernel), spinlock, rwlock, seqlock(Only in 2.6 kernel), RCU(Only in 2.6 kernel).<br />You can get more d

2011-03-11 11:22:00 432

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除