2010年4月30日 星期五

阿禎會數一到十 連英文的也會


透過Facebook分享

清除Ubuntu的垃圾檔案

小筆電的空間又不夠了
需要清除一下空間才行了

網路上參考這些指令
sudo apt-get autoclean 清理旧版本的软件缓存
sudo apt-get clean 清理所有软件缓存
sudo apt-get autoremove 删除系统不再使用的孤立软件

尤其是最後一個
讓我多了120MB的空間

Reference:

透過Facebook分享

查詢目前使用哪種版本的Ubuntu

command
lsb_release -a


Reference:
http://blog.xuite.net/frle/Ubuntu/22679508

透過Facebook分享

2010年4月29日 星期四

燒錄QI後 開機看到的訊息

Qi Bootloader s3c2410  VM master_c38b062a609f1442

2010-04-16T17:52:02+0800  Copyright (C) 2008 Openmoko, Inc.


     Detected: ARMSYS2410, ARMSYS2410


Trying kernel: SD Card EXT2 Kernel p1

Sending reset...

===============> MMC CMD Timeout

trying to detect SD Card...

Manufacturer:       0x01OEM "PA"

Product name:       "SM02G", revision 8.5

Serial number:      1313424823

Manufacturing date: 9/2007

CRC:                0x1e b0 = 01

    Partition: 1 start +253 512-byte blocks, size 1921 MiB

    EXT2 open: boot/noboot-ARMSYS2410 Open failed

    EXT2 open: boot/append-ARMSYS2410 Open failed

    EXT2 open: boot/uImage OK

        Found: "Linux-2.6.33"

         Size: 1747 KiB

    EXT2 open: boot/uImage OK

      Cmdline: mtdparts=armsys2410-nand:0x00080000(qi),0x00004000(u-boot_env),0x00200000(kernel),0x00200000(splash),0x03b7c000(rootfs) noinitrd rootfstype=ext2 loglevel=8 console=tty0 console=ttySAC0,115200 init=/linuxrc rw root=/dev/mmcblk0p1 rootdelay=1

Starting --->


Uncompressing Linux... done, booting the kernel.
Linux version 2.6.33 (yozhong@VM) (gcc version 4.3.4 (Buildroot 2010.02) ) #72 PREEMPT Wed Apr 28 11:53:40 CST 2010
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: ARMSYS2410
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c0370c38, node_mem_map c039d000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
CPU S3C2410 (id 0x32410000)
S3C24XX Clocks, Copyright 2004 Simtec Electronics
S3C2410: core 202.800 MHz, memory 101.400 MHz, peripheral 50.700 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: mtdparts=armsys2410-nand:0x00080000(qi),0x00004000(u-boot_env),0x00200000(kernel),0x00200000(splash),0x03b7c000(rootfs) noinitrd rootfstype=ext2 loglevel=8 console=tty0 console=ttySAC0,115200 init=/linuxrc rw root=/dev/mmcblk0p1 rootdelay=1
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61212KB available (3176K code, 279K data, 128K init, 0K highmem)
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000002
timer tcon=00000000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c
Console: colour dummy device 80x30
console [tty0] enabled
console [ttySAC0] enabled
Calibrating delay loop... 100.96 BogoMIPS (lpj=252416)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
i2c-core: driver [dummy] registered
S3C Power Management, Copyright 2004 Simtec Electronics
s3c24xx-adc s3c24xx-adc: attached adc driver
S3C2410: Initialising architecture
S3C24XX DMA Driver, Copyright 2003-2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
bio: create slab at 0
s3c-i2c s3c2410-i2c: clock source c035c384
s3c-i2c s3c2410-i2c: registers c480c000 (c3850560, c035d040)
s3c-i2c s3c2410-i2c: slave address 0x10
s3c-i2c s3c2410-i2c: pdata desired frequency 10000
s3c-i2c s3c2410-i2c: bus frequency set to 9 KHz
s3c-i2c s3c2410-i2c: S3C2410_IICCON=0xa0
i2c i2c-0: adapter [s3c2410-i2c] registered
s3c-i2c s3c2410-i2c: i2c-0: S3C I2C adapter
Advanced Linux Sound Architecture Driver Version 1.0.21.
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
NetWinder Floating Point Emulator V0.97 (extended precision)
JFFS2 version 2.2. (NAND) 穢 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 119
io scheduler noop registered (default)
Console: switching to colour frame buffer device 30x40
fb0: s3c2410fb frame buffer device
Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
s3c2410-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2410
s3c2410-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2410
s3c2410-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2410
brd: module loaded
loop: module loaded
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410_nand_probe(c035d178)
s3c24xx-nand s3c2410-nand: mapped registers at c4e00000
result 3 from 101400, 20
result 7 from 101400, 60
result 3 from 101400, 20
s3c24xx-nand s3c2410-nand: Tacls=3, 29ns Twrph0=7 69ns, Twrph1=3 29ns
s3c24xx-nand s3c2410-nand: NF_CONF is 0xea62
initialising set 0 (c397f800, info c39eab60)
s3c24xx-nand s3c2410-nand: NAND ECC disabled
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
s3c24xx-nand s3c2410-nand: chip c397f988 => page shift 9
NAND_ECC_NONE selected by board driver. This is not recommended !!
Creating 5 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x000000000000-0x000000080000 : "U-Boot"
0x000000080000-0x000000084000 : "U-Boot environment"
0x000000084000-0x000000284000 : "kernel"
0x000000284000-0x000000484000 : "splash"
0x000000484000-0x000004000000 : "jffs2"
initialised ok
cs89x0:cs89x0_probe(0x0)
PP_addr at e0000300[a]: 0x400
eth0: incorrect signature at e0000300[c]: 0x800!=0x630E
cs89x0: no cs8900 or cs8920 detected.  Be sure to disable PnP with SETUP
mice: PS/2 mouse device common for all mice
input: gpio-keys as /class/input/input0
input: S3C24XX TouchScreen as /class/input/input1
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
i2c-core: driver [dev_driver] registered
i2c-dev: adapter [s3c2410-i2c] registered as minor 0
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
s3c-sdi s3c2410-sdi: powered down.
s3c-sdi s3c2410-sdi: mmc0 - using pio, sw SDIO IRQ
Registered led device: led0
Registered led device: led1
Registered led device: led2
Registered led device: led3
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
  #0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
NET: Registered protocol family 17
s3c2410-rtc s3c2410-rtc: hctosys: invalid date/time
Waiting 1sec before mounting root device...
s3c-sdi s3c2410-sdi: running at 0kHz (requested: 0kHz).
s3c-sdi s3c2410-sdi: running at 396kHz (requested: 400kHz).
s3c-sdi s3c2410-sdi: running at 396kHz (requested: 400kHz).
s3c-sdi s3c2410-sdi: running at 396kHz (requested: 400kHz).
s3c-sdi s3c2410-sdi: running at 396kHz (requested: 400kHz).
s3c-sdi s3c2410-sdi: running at 396kHz (requested: 400kHz).
s3c-sdi s3c2410-sdi: running at 396kHz (requested: 400kHz).
s3c-sdi s3c2410-sdi: running at 396kHz (requested: 400kHz).
s3c-sdi s3c2410-sdi: running at 12675kHz (requested: 25000kHz).
s3c-sdi s3c2410-sdi: running at 12675kHz (requested: 25000kHz).
mmc0: new SD card at address 45b7
mmcblk0: mmc0:45b7 SM02G 1.87 GiB
 mmcblk0: p1
EXT2-fs (mmcblk0p1): warning: mounting ext3 filesystem as ext2
EXT2-fs (mmcblk0p1): warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem) on device 179:1.
Freeing init memory: 128K
*********************************************************
                    ARMSYS2410 Rootfs
            God, Spirit, Jesus, We Love You !!!
********************************************************
Initializing random number generator... done.
Starting network...
ip: RTNETLINK answers: File exists
ip: SIOCGIFFLAGS: No such device


Welcome to Buildroot

透過Facebook分享

2010年4月26日 星期一

Qi - another bootloader on linux

Luke介紹
是一個輕量bootloader替代方案(相對於u-boot)

Luke說它支援SD card
所以如果你的flash太小
使用這個bootloader可以把OS放到SD卡啟動

Reference:
Openmoko-QI

透過Facebook分享