Enable the option...
menuconfig => Device Driver => Real Time Clock =>
select all above "*** I2C RTC driver"
And you can see the /dev/rtc0 & /dev/rtc1 under console.
How to verify RTC?
Try to set date(# date -s 20090324.150000) in system, and the time will change.
2009年4月24日 星期五
2009年4月20日 星期一
Android 1.5 for SMDK6410 (環境設定篇)
1. The following files are required for building S3C6410 Android.
-Cross Tool Chain: 4.3.1-eabi-armv6-20080707.tar.bz2
-U-BOOT: s3c-u-boot-1.1.6_android.tar.bz2
-Linux Kernel: android_kernel_smdk6410.tar.gz
-Android Cupkake: cupcake.tar.bz2
-Delta File: delta.tar.gz
-Build Script: script.tar.gz
**以上所有檔案皆由 Samsung release.....
2. Ubuntu 8.1 環境設定:
JAVA
Update apt-get information before installation.
# sudo apt-get update
Install JAVA JDK
# sudo apt-get install sun-java6-jdk
FLEX
Flex is a tool for generating scanners.
# sudo apt-get install flex
BISON
Bison is a general-purpose parser generator.
# sudo apt-get install bison
gperf
gperf is a program that generates perfect hash functions.
# sudo apt-get install gperf
libsdl-dev
SDL is a library that allows programs portable low level access to a video framebuffer, audio output, mouse, and keyboard.
# sudo apt-get install libsdl-dev
libesd0-dev
This program is designed to mix together several digitized audio streams for playback by a single device.
# sudo apt-get install libesd0-dev
libwxgtk2.6-dev
This package provides files needed to compile wxWidgets programs.
# sudo apt-get install libwxgtk2.6-dev
zlib1g-dev
zlib is a library implementing the deflate compression method.
# sudo apt-get install zlib1g-dev
build-essential
This package contains an informational list of packages which are considered essential for building Debian packages.
# sudo apt-get install build-essential
libncurses5-dev
This package contains the header files, static libraries and symbolic links.
# sudo apt-get install libncurses5-dev
################################
5/18 Update : This step can't work
Uboot-mkimage
This package contains the mkimage utility.
# sudo apt-get uboot-mkimage
如何擴大Vmware 原來建立的硬盤大小
參考: http://milton.bloghome.cn/posts/103705.html
vmware安裝目錄下
vmware-vdiskmanager.exe
在dos提示符下運行,不加任何參數時,給出此程序使用方法:
---------------------------------------------------------------------
VMware Virtual Disk Manager - build 12544.
Usage: vmware-vdiskmanager.exe OPTIONS diskName | drive-letter:
Offline disk manipulation utility
Options:
-c : create disk; need to specify other create options
-d : defragment the specified virtual disk
-k : shrink the specified virtual disk
-n : rename the specified virtual disk; need to
specify destination disk-name
-p : prepare the mounted virtual disk specified by
the drive-letter for shrinking
-q : do not log messages
-r : convert the specified disk; need to specify
destination disk-type
-x : expand the disk to the specified capacity
Additional options for create and convert:
-a : adapter type (ide, buslogic or lsilogic)
-s : capacity of the virtual disk
-t : disk type id
Disk types:
0 : single growable virtual disk
1 : growable virtual disk split in 2Gb files
2 : preallocated virtual disk
3 : preallocated virtual disk split in 2Gb files
The capacity can be specified in sectors, Kb, Mb or Gb.
The acceptable ranges:
ide adapter : [100.0Mb, 950.0Gb]
scsi adapter: [100.0Mb, 950.0Gb]
ex 1: vmware-vdiskmanager.exe -c -s 850Mb -a ide -t 0 myIdeDisk.vmdk
ex 2: vmware-vdiskmanager.exe -d myDisk.vmdk
ex 3: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 0 destinationDisk.vm
dk
ex 4: vmware-vdiskmanager.exe -x 36Gb myDisk.vmdk
ex 5: vmware-vdiskmanager.exe -n sourceName.vmdk destinationName.vmdk
ex 6: vmware-vdiskmanager.exe -k myDisk.vmdk
ex 7: vmware-vdiskmanager.exe -p m:
(A virtual disk first needs to be mounted at m:
using the VMware Diskmount Utility.)
-------------------------------------------------------------
D:\VM>c:vmware-vdiskmanager.exe -x 20GB Ubuntu.vmdk
Failed to expand the disk 'Ubuntu.vmdk': An error occurred while writing a file;
the disk is full. Data has not been saved. Free some space and try again (0xd00
000008).
我試過,可是不成功...感覺像是硬碟要有新Size的空間,VM tool 幫你做 ghost 而已....
vmware安裝目錄下
vmware-vdiskmanager.exe
在dos提示符下運行,不加任何參數時,給出此程序使用方法:
---------------------------------------------------------------------
VMware Virtual Disk Manager - build 12544.
Usage: vmware-vdiskmanager.exe OPTIONS diskName | drive-letter:
Offline disk manipulation utility
Options:
-c : create disk; need to specify other create options
-d : defragment the specified virtual disk
-k : shrink the specified virtual disk
-n : rename the specified virtual disk; need to
specify destination disk-name
-p : prepare the mounted virtual disk specified by
the drive-letter for shrinking
-q : do not log messages
-r : convert the specified disk; need to specify
destination disk-type
-x : expand the disk to the specified capacity
Additional options for create and convert:
-a : adapter type (ide, buslogic or lsilogic)
-s : capacity of the virtual disk
-t : disk type id
Disk types:
0 : single growable virtual disk
1 : growable virtual disk split in 2Gb files
2 : preallocated virtual disk
3 : preallocated virtual disk split in 2Gb files
The capacity can be specified in sectors, Kb, Mb or Gb.
The acceptable ranges:
ide adapter : [100.0Mb, 950.0Gb]
scsi adapter: [100.0Mb, 950.0Gb]
ex 1: vmware-vdiskmanager.exe -c -s 850Mb -a ide -t 0 myIdeDisk.vmdk
ex 2: vmware-vdiskmanager.exe -d myDisk.vmdk
ex 3: vmware-vdiskmanager.exe -r sourceDisk.vmdk -t 0 destinationDisk.vm
dk
ex 4: vmware-vdiskmanager.exe -x 36Gb myDisk.vmdk
ex 5: vmware-vdiskmanager.exe -n sourceName.vmdk destinationName.vmdk
ex 6: vmware-vdiskmanager.exe -k myDisk.vmdk
ex 7: vmware-vdiskmanager.exe -p m:
(A virtual disk first needs to be mounted at m:
using the VMware Diskmount Utility.)
-------------------------------------------------------------
D:\VM>c:vmware-vdiskmanager.exe -x 20GB Ubuntu.vmdk
Failed to expand the disk 'Ubuntu.vmdk': An error occurred while writing a file;
the disk is full. Data has not been saved. Free some space and try again (0xd00
000008).
我試過,可是不成功...感覺像是硬碟要有新Size的空間,VM tool 幫你做 ghost 而已....
Fedora 8 可用的開機選單修改方式
參考 http://blog.nanaimoinn.com/index.php?blog=3&p=329&more=1&c=1&tb=1&pb=1
要變更fedora Core 4中 grub的開機選單,可以用文字編輯器將下列檔案打開.
/etc/grub.conf
其中
default=0 是指預設的那一個作業系統來開機的選項.
timeout=30 是指30秒後grub自動以預設的作業系統來進行開機.
title 其字串為供開機選單選擇的字串.
訂閱:
文章 (Atom)