Ubuntu 12.04 Wireless LAN gets disconnected and never connects again

Two solutions for this 1) remove the driver from the kernel and re-insert it. sudo rmmod iwlwifi sudo modprobe iwlwifi 2) Create a file and add the following line to it : sudo gedit / and then this line should be added inside the file and then re-boot: options iwlwifi 11n_disable=1 Thanks to the following reference.
Continue Reading »

Howto Build GEM5 from scratch

Suppose that you have a very powerful server machine some where, on which you like to run GEM5. The problem is you don't have the "root" access to that machine and so, you can not update that system and you can not install new packages. So, you should download and compile every thing yourself at your home folder. And then you should set environment variables so that, GEM5 can see the libraries and header files. In this post, I put my own procedure to do this action: (In following I have supposed that /sadri/ is your home folder) mercurial This…
Continue Reading »

Howto interact with Android GUI Under GEM5

Keywords : Android, GEM5, mouse tap, mouse move, touch point tap, touch point move , click This post is mainly answering this question: Is there a kind scripted , automated way, to perform mouse (touch point) movement, and mouse click, Inside Android, Running under GEM5? Problem Description: When you are running Android under GEM5, it is very slow. This makes user interaction with Android GUI difficult. some times for example, you perform a click and at the end you don't understand if the click operation has done or not, because, it takes a lot of time ( 5 minutes or…
Continue Reading »

Customizing ZYNQ uramdisk image

You have the file of the Linux for ZYNQ and you want to make modifications to it. 1- Copy it some where 2- strip out the first 64 bytes (which are mainly of u-boot) to obtain the compressed ramdisk dd bs=1 skip=64 if= of= 3- unzip the ramdisk gunzip 4- mount it some where sudo mount -o loop a 5- go to the a/ folder and make what ever modification you want and unmount it. sudo umount a 6- compress it gzip 7- make the final uramdisk again mkimage -A arm -T ramdisk -C gzip -d The important point :…
Continue Reading »