Showing posts with label Linux. Show all posts
Showing posts with label Linux. Show all posts

Tuesday, August 21, 2012

How to extract kernel config from uImage

How to extract kernel config from uImage
1. get extract-ikconfig in kernel-source/scripts/
$mkdir extreact-uImage
$cd extreact-uImage
$cp {kernel-source}/scripts/extract-ikconfig .

2. dump uImage skip 1024 bytes
$cp {uImage/what/you/want} uImage
$dd if=uImage of=dd_uImage bs=1024 skip=1
$./extract-ikconfig dd_uImage > config

Sunday, January 2, 2011

[Note] linux free caches

Ref. Drop Caches

#Freeing the page cache
echo 1 > /proc/sys/vm/drop_caches
#Free dentries and inodes
echo 2 > /proc/sys/vm/drop_caches
#Free the page cache, dentries and the inodes
echo 3 > /proc/sys/vm/drop_caches

[Note] tsclient -----remote desktop tool

 Tsclient Wiki

on Ubuntu
$sudo apt-get install tsclient