Saturday, December 12, 2009

New kernel 2.6.28-15-araneo

今日のアップグレードでカーネルが更新されました。

Kernelのシステムへの導入(BOOTLODERへの書き込み更新)をする新たなパッケージが導入されたようです。リブートでuname -aの出力が変わりました。

osamu@osamu:~$ uname -a
Linux osamu 2.6.28-15-araneo #50fsl1araneo14-Ubuntu PREEMPT Fri Oct 23 15:53:56 UTC 2009 armv7l GNU/Linux

flash-kernel - utility to make certain embedded devices bootable

これが新しいパッケージです。

Sunday, November 15, 2009

microSDから起動

rescue microSDに上書きでインストールすると、確かに起動できますが、起動が遅いです。

mmcqdというデーモンが頑張っているところを見ると、結構負荷なんですね。

まあ、Debianに置き換えるのは一休みして、SSD上のシステムを使いやすくすることを当面します。

/etc/fstabを書けば、内臓microSDもデーターのみならずプログラムも置けそうです。

Sunday, November 8, 2009

PC-Z1 uprade

I just upgraded. Here is dmesg

Linux version 2.6.28-271-gec75a15 (imx51@Sharp) (gcc version 4.1.2) #1 PREEMPT Thu Sep 10 17:37:32 JST 2009
CPU: ARMv7 Processor [412fc081] revision 1 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: SHARP PC-Z1
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 122880
free_area_init_node: node 0, pgdat c0471330, node_mem_map c049f000
DMA zone: 128 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 16256 pages, LIFO batch:3
Normal zone: 832 pages used for memmap
Normal zone: 105664 pages, LIFO batch:31
Movable zone: 0 pages used for memmap
Built 1 zonelists in Zone order, mobility grouping on. Total pages: 121920
Kernel command line: noinitrd console=ttymxc0,115200 ubi.mtd=4 root=ubi0:rootfs rw rootfstype=ubifs bootsw=0x0 bootVer=1.000
MXC IRQ initialized
PID hash table entries: 2048 (order: 11, 8192 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 480MB = 480MB total
Memory: 482352KB available (4060K code, 499K data, 120K init)
SLUB: Genslabs=12, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Calibrating delay loop... 799.53 BogoMIPS (lpj=3997696)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
regulator: core version 0.5
NET: Registered protocol family 16
CPU is i.MX51 Revision 2.0
MXC GPIO hardware
IRAM READY
Using SDMA I.API
MXC DMA API initialized
SDIO detect port functions initialized.
SCSI subsystem initialized
CSPI: mxc_spi-0 probed
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
MXC I2C driver
MXC I2C driver
MXC HS I2C driver
PMIC Light driver loading...
mc13892 Rev 2.0 FinVer 2 detected
Initializing regulators for ERDOS.
regulator: SW1: 600 <--> 1375 mV
regulator: SW2: 900 <--> 1850 mV
regulator: SW3: 1100 <--> 1850 mV
regulator: SW4: 1100 <--> 1850 mV
regulator: SWBST: 0 mV
regulator: VIOHI: 0 mV
regulator: VPLL: 1050 <--> 1800 mV
regulator: VDIG: 1050 <--> 1800 mV
regulator: VSD: 1800 <--> 3150 mV
regulator: VUSB2: 2400 <--> 2775 mV
regulator: VVIDEO: 2775 mV
regulator: VAUDIO: 2300 <--> 3000 mV
regulator: VCAM: 2500 <--> 3000 mV fast normal
regulator: VGEN1: 1200 <--> 3150 mV
regulator: VGEN2: 1200 <--> 3150 mV
regulator: VGEN3: 1800 <--> 2900 mV
regulator: VUSB: 0 mV
regulator: GPO1: 0 mV
regulator: GPO2: 0 mV
regulator: GPO3: 0 mV
regulator: GPO4: 0 mV
PMIC ADC start probe
PMIC Light successfully loaded
Device spi1.0 probed
MXC WatchDog Driver 2.0
clk: Unable to get requested clock: wdog_clk
MXC Watchdog # 0 Timer: initial timeout 123 sec
NET: Registered protocol family 2
Switched to high resolution mode on CPU 0
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
NET: Registered protocol family 1
LPMode driver module loaded
Static Power Management for Freescale i.MX51
PM driver module loaded
Bus freq driver module loaded
usb: Host 1 host (isp1504) registered
usb: DR host (utmi) registered
mxc_dvfs_core_probe
DVFS driver module loaded
i.MXC CPU frequency driver
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
msgmni has been set to 942
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
PWM: Rate=658415 [Hz] Period=2194 [cnt]
fbcvt: 1024x768@60: CVT Name - .786M3
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
Console: switching to colour frame buffer device 128x48
mxc_sdc_fb mxc_sdc_fb.0: fb registered, using mode 1024x768M-16@60
fbcvt: 1024x768@60: CVT Name - .786M3
mxc_sdc_fb mxc_sdc_fb.2: fb registered, using mode 1024x768M-16@60
mxc_ipu mxc_ipu: Channel already disabled 10
mxc_ipu mxc_ipu: Channel already uninitialized 10
Serial: MXC Internal UART driver
mxcintuart.0: ttymxc0 at MMIO 0x73fbc000 (irq = 31) is a Freescale MXC
console [ttymxc0] enabled
mxcintuart.1: ttymxc1 at MMIO 0x73fc0000 (irq = 32) is a Freescale MXC
mxcintuart.2: ttymxc2 at MMIO 0x7000c000 (irq = 33) is a Freescale MXC
loop: module loaded
usbcore: registered new interface driver catc
catc: v2.8:CATC EL1210A NetMate USB Ethernet driver
usbcore: registered new interface driver kaweth
pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
rtl8150: v0.6.2 (2004/08/27):rtl8150 based usb-ethernet driver
usbcore: registered new interface driver rtl8150
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
Linux video capture interface: v2.00
MXC Video Output MXC Video Output.0: Registered device video0
Driver 'sd' needs updating - please use bus_type methods
MXC MTD nor Driver 2.0
mxc_spi_nor spi1.1: sst25vf016b (2048 Kbytes)
Creating 3 MTD partitions on "mxc_spi_nor":
0x00000000-0x00080000 : "Redboot"
0x00080000-0x00090000 : "Redboot fis"
0x00090000-0x00200000 : "info"
MXC MTD nand Driver 2.5
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd5 (Samsung NAND 2GiB 3,3V 8-bit)
2 NAND chips detected
Bad block table[Bbt0] found at page 524032, version 0x01
Bad block table[1tbB] found at page 523904, version 0x01
nand_read_bbt: Bad block at 0xb8600000
nand_read_bbt: Bad block at 0xb8700000
nand_scan_bbt: res:0 bbt:dc084000
RedBoot partition parsing not available
Creating 2 MTD partitions on "NAND 2GiB 3,3V 8-bit":
0x00000000-0x00600000 : "kernel"
0x00600000-0xffb00000 : "rfs"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size: 1048576 bytes (1024 KiB)
UBI: logical eraseblock size: 1032192 bytes
UBI: smallest flash I/O unit: 8192
UBI: VID header offset: 8192 (aligned 8192)
UBI: data offset: 16384
UBI warning: ubi_eba_init_scan: cannot reserve enough PEBs for bad PEB handling, reserved 39, need 40
UBI: attached mtd4 to ubi0
UBI: MTD device name: "rfs"
UBI: MTD device size: 4085 MiB
UBI: number of good PEBs: 4083
UBI: number of bad PEBs: 2
UBI: max. allowed volumes: 128
UBI: wear-leveling threshold: 256
UBI: number of internal volumes: 1
UBI: number of user volumes: 1
UBI: available PEBs: 0
UBI: total number of reserved PEBs: 4083
UBI: number of PEBs reserved for bad PEB handling: 39
UBI: max/mean erase counter: 12/0
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
UBI: background thread "ubi_bgt0d" started, PID 961
fsl-ehci fsl-ehci.0: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.0: new USB bus registered, assigned bus number 1
fsl-ehci fsl-ehci.0: irq 14, io mem 0x73f80200
fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
fsl-ehci fsl-ehci.1: Freescale On-Chip EHCI Host Controller
fsl-ehci fsl-ehci.1: new USB bus registered, assigned bus number 2
fsl-ehci fsl-ehci.1: irq 18, io mem 0x73f80000
fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
usbcore: registered new interface driver libusual
mice: PS/2 mouse device common for all mice
MXC Electrostatic Touch Key driver loaded
input: mxc_etk as /class/input/input0
input: oj6sh as /class/input/input1
oj6sh_probe Device spi1.2 probed
input: cover_sw as /class/input/input2
input: power_sw as /class/input/input3
oj6sh_power_up: product:0d revision:02
mc13892 rtc probe start
pmic_rtc pmic_rtc.1: rtc core: registered pmic_rtc as rtc0
mc13892 rtc probe succeed
i2c /dev entries driver
APM Battery Driver
PMIC Character device: successfully loaded
VPU initialized
power_supply mc13892_charger: charger status: online
mxsdhci: MXC Secure Digital Host Controller Interface driver
mxsdhci: MXC SDHCI Controller Driver.
mmc0: SDHCI detect irq 128 irq 1 INTERNAL DMA
mxsdhci: MXC SDHCI Controller Driver.
mmc1: SDHCI detect irq 0 irq 2 INTERNAL DMA
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.18rc3.
ASoC version 0.13.2
sgtl5000-i2c 1-000a: SGTL5000 revision 17
DMA Sound Buffers Allocated:UseIram=1 buf->addr=1fff3000 buf->area=dec80000 size=24576
DMA Sound Buffers Allocated:UseIram=1 buf->addr=ac530000 buf->area=fc2b9000 size=24576
asoc: SGTL5000 <-> imx-ssi-3 mapping ok
ALSA device list:
#0: imx-3stack (SGTL5000)
TCP cubic registered
NET: Registered protocol family 17
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
ieee80211_crypt: registered algorithm 'NULL'
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
input: mxc_ts as /class/input/input4
mxc input touchscreen loaded
pmic_rtc pmic_rtc.1: setting system clock to 2009-11-08 13:28:47 UTC (1257686927)
UBIFS: mounted UBI device 0, volume 0, name "rootfs"
UBIFS: file system size: 4093673472 bytes (3997728 KiB, 3904 MiB, 3966 LEBs)
UBIFS: journal size: 12517376 bytes (12224 KiB, 11 MiB, 13 LEBs)
UBIFS: media format: 4 (latest is 4)
UBIFS: default compressor: LZO
UBIFS: reserved for root: 0 bytes (0 KiB)
VFS: Mounted root (ubifs filesystem).
Freeing init memory: 120K
usb 1-1: new high speed USB device using fsl-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 2-1: new low speed USB device using fsl-ehci and address 2
usb 2-1: configuration #1 chosen from 1 choice
input: SHARP USB Keyboard as /class/input/input5
generic-usb 0003:04DD:92E7.0001: input,hidraw0: USB HID v1.10 Keyboard [SHARP USB Keyboard] on usb-fsl-ehci.1-1/input0
input: SHARP USB Keyboard as /class/input/input6
generic-usb 0003:04DD:92E7.0002: input,hidraw1: USB HID v1.10 Device [SHARP USB Keyboard] on usb-fsl-ehci.1-1/input1
usb 1-1.1: new high speed USB device using fsl-ehci and address 3
usb 1-1.1: configuration #1 chosen from 1 choice
hub 1-1.1:1.0: USB hub found
hub 1-1.1:1.0: 4 ports detected
usb 1-1.1.1: new high speed USB device using fsl-ehci and address 4
usb 1-1.1.1: configuration #1 chosen from 1 choice
usb 1-1.1.3: new low speed USB device using fsl-ehci and address 5
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 4
usb-storage: waiting for device to settle before scanning
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usb 1-1.1.3: configuration #1 chosen from 1 choice
input: USB Optical Mouse as /class/input/input7
generic-usb 0003:192F:0416.0003: input,hidraw2: USB HID v1.11 Mouse [USB Optical Mouse] on usb-fsl-ehci.0-1.1.3/input0
usb 1-1.1.4: new high speed USB device using fsl-ehci and address 6
usb 1-1.1.4: configuration #1 chosen from 1 choice
eth0: register 'asix' at usb-fsl-ehci.0-1.1.4, ASIX AX88772 USB 2.0 Ethernet, 00:01:8e:bb:0e:f6
scsi 0:0:0:0: Direct-Access Generic USB SD Reader 0.00 PQ: 0 ANSI: 2
sd 0:0:0:0: [sda] 3842048 512-byte hardware sectors: (1.96 GB/1.83 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] 3842048 512-byte hardware sectors: (1.96 GB/1.83 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sda: sda1
sd 0:0:0:0: [sda] Attached SCSI removable disk
usb-storage: device scan complete
mxc_ipu mxc_ipu: VSyncPre occurred before DI0 disable
DVFS is started
mxc_ipu mxc_ipu: VSyncPre occurred before DI0 disable
mxc_ipu mxc_ipu: VSyncPre occurred before DI0 disable
ks7010_sdio : Sep 6 2009 18:48:53
mxc_ipu mxc_ipu: Channel already disabled 9
mxc_ipu mxc_ipu: Channel already uninitialized 9
eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
eth0: link up, 100Mbps, full-duplex, lpa 0xC1E1
usb 1-1.1.1: USB disconnect, address 4
Buffer I/O error on device sda1, logical block 0
lost page write due to I/O error on sda1
mmc0: new high speed SD card at address 912a
mmcblk0: mmc0:912a SD02G 1.83 GiB
mmcblk0: p1
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
mmcblk0: p1
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended

Saturday, October 17, 2009

recovery disk by Debian

Since making recovery on other machine is nice and essential, I made: spider-recovery

Thursday, October 15, 2009

Logitech LAN-TX/U2H3, USB Hub and Ethernet

Logitech LAN-TX/U2H3, USB Hub and Ethernet works without any driver hacking on netwalker.

http://www.logitec.co.jp/products/lan/lantxu2h3/index.html

Ubuntu, Canonical, and aneoro

I realize one of the /etc/apt/source.list.d/ is pointing to funny URL.

http://netbook-remix.archive.canonical.com/updates/dists/jaunty-araneo/

Now I know this whole netwalker is supplying package from Ubuntu+Canonical.

Although their manual points to Sharp web site, actual sources are here in canonical.

Here are many OEM version of Ubuntu. Toshiba, Buffalo, Dell-moblin,... Interesting.