[Armadillo:04538] Re: Armadillo-500FXのAndroid起動方法

email@hidden
2009年 8月 29日 (土) 18:25:11 JST


藤原と申します。

>> /mnt/android にandroidのファイルがある時は、
>> chroot /mnt/android /init で起動できてたのですが、
>> /mnt にファイルを移動した後、
>> chroot /mnt /init を実施すると、ファイルシステムがRead-Onlyになっていました。
>
> 起動ログを見せてもらえると、なにかわかるかもしれません。
SSD直下の起動に関して、
何かわかりましたら、ご教授願います。

以下に、起動時からchroot実施までのログを添付します。

--ここから--
Hermit-At v1.1.21 (Armadillo-500/fx) compiled at 18:40:04, Mar 25 2009

hermit> setenv

hermit> b

Copying  kernel........done.

Uncompressing ramdisk.................................................................................................................................................................................................................................................................done.

Uncompressing Linux...............................................................................................................
done, booting the kernel.

Linux version 2.6.26-at6 (unknown) (email@hidden) (gcc version
4.2.1) #17 PREEMPT Fri Aug 14 02:54:06 JST 2009

CPU: ARMv6-compatible processor [4107b364] revision 4 (ARMv6TEJ), cr=00e5387f

Machine: Armadillo-500 FX

Memory policy: ECC disabled, Data cache writeback

CPU0: D VIPT write-back cache

CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets

CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets

Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512

Kernel command line: console=ttymxc0,115200 usb-storage.delay_use=0

MXC IRQ initialized

PID hash table entries: 512 (order: 9, 2048 bytes)

MXC GPT timer initialized, rate = 60000000

Console: colour dummy device 80x30

Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)

Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)

Memory: 128MB = 128MB total

Memory: 117796KB available (3192K code, 586K data, 132K init)

Mount-cache hash table entries: 512

CPU: Testing write buffer coherency: ok

net_namespace: 480 bytes

NET: Registered protocol family 16

L2X0 cache controller enabled

CPU is i.MX31 Revision 2.0

Clock input source is 26000000

MXC GPIO hardware

Using SDMA I.API

MXC DMA API initialized

SCSI subsystem initialized

CSPI: mxc_spi-2 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

clk: Unable to get requested clock: dfm_clk

NET: Registered protocol family 2

IP route cache hash table entries: 1024 (order: 0, 4096 bytes)

TCP established hash table entries: 4096 (order: 3, 32768 bytes)

TCP bind hash table entries: 4096 (order: 2, 16384 bytes)

TCP: Hash tables configured (established 4096 bind 4096)

TCP reno registered

NET: Registered protocol family 1

checking if image is initramfs...it isn't (bad gzip magic numbers);
looks like an initrd

Freeing initrd memory: 8192K

usb: Host 2 host (isp1504) registered

usb: Host 1 host (serial) registered

usb: OTG host (isp1504) registered

Low-Level PM Driver module loaded

NetWinder Floating Point Emulator V0.97 (double precision)

DPTC driver module loaded

ashmem: initialized

msgmni has been set to 246

io scheduler noop registered

io scheduler cfq registered (default)

MXC/iMX Backlight Driver

Console: switching to colour frame buffer device 80x30

mxcfb: fb registered, using mode KYOCERA-VGA

Serial: MXC Internal UART driver

mxcintuart.0: ttymxc0 at MMIO 0x43f90000 (irq = 45) is a Freescale MXC

console [ttymxc0] enabled

brd: module loaded

loop: module loaded

wsim_pm: W-SIM Power Management for i.MX31

PPP generic driver version 2.4.2

smsc911x: Driver version 2008-06-02.

eth0: SMSC911x MAC Address: 00:11:0c:0c:02:18

Driver 'sd' needs updating - please use bus_type methods

armadillo5x0-nor: Found 1 x16 devices at 0x0 in 16-bit bank

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

 Intel/Sharp Extended Query Table at 0x010A

Using buffer write method

Using auto-unlock on power-up/resume

cfi_cmdset_0001: Erase suspend on write enabled

armadillo5x0-nor: use default partitions(4)

Creating 4 MTD partitions on "armadillo5x0-nor":

0x00000000-0x00020000 : "nor.bootloader"

0x00020000-0x00220000 : "nor.kernel"

0x00220000-0x01fe0000 : "nor.userland"

0x01fe0000-0x02000000 : "nor.config"

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 36, io mem 0x43f88400

fsl-ehci fsl-ehci.0: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb1: configuration #1 chosen from 1 choice

hub 1-0:1.0: USB hub found

hub 1-0:1.0: 1 port detected

Initializing USB Mass Storage driver...

usbcore: registered new interface driver usb-storage

USB Mass Storage support registered.

MXC keypad loaded

input: mxckpd as /devices/virtual/input/input0

ads7846 spi3.1: touchscreen, irq 130

input: ADS784x Touchscreen as /devices/platform/mxc_spi.2/spi3.1/input/input1

rtc-s353xxa 1-0030: rtc core: registered S-353XXA as rtc0

rtc-s353xxa: S-353XXA Real Time Clock class driver, (C) 2008 Atmark Techno, Inc.

i2c /dev entries driver

MXC MMC/SD driver

mxcmci-0 found

mxcmci-1 found

Registered led device: status

mmc1: host does not support reading read-only switch. assuming write-enable.

mmc1: new SD card at address 0001

mmcblk0: mmc1:0001 00000 1982464KiB

 mmcblk0: p1

usb 1-1: new high speed USB device using fsl-ehci and address 2

usb 1-1: configuration #1 chosen from 1 choice

scsi0 : SCSI emulation for USB Mass Storage devices

usbcore: registered new interface driver usbhid

usbhid: v2.6:USB HID core driver

logger: created 64K log 'log_main'

logger: created 256K log 'log_events'

logger: created 64K log 'log_radio'

SSI module loaded successfully

Advanced Linux Sound Architecture Driver Version 1.0.16.

ASoC version 0.13.2

wm8978: WM8978 Audio Codec v0.2

scsi 0:0:0:0: Direct-Access     Intel    Value SSD        2.00 PQ: 0 ANSI: 2

asoc: WM8978 HiFi <-> imx-i2s-1 mapping ok

sd 0:0:0:0: [sda] 2006016 512-byte hardware sectors (1027 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

sd 0:0:0:0: [sda] 2006016 512-byte hardware sectors (1027 MB)

sd 0:0:0:0: [sda] Write Protect is off

sd 0:0:0:0: [sda] Assuming drive cache: write through

 sda: sda1

sd 0:0:0:0: [sda] Attached SCSI disk

sd 0:0:0:0: Attached scsi generic sg0 type 0

ALSA device list:

  #0: armadillo500fx (WM8978)

ip_tables: (C) 2000-2006 Netfilter Core Team

TCP cubic registered

NET: Registered protocol family 17

NET: Registered protocol family 15

Power Management for Freescale MX31

VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2

rtc-s353xxa 1-0030: setting system clock to 2000-01-31 18:41:02 UTC (949344062)

RAMDISK: ext2 filesystem found at block 0

RAMDISK: Loading 8192KiB [1 disk] into ram disk...
|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\done.

VFS: Mounted root (ext2 filesystem).

Freeing init memory: 132K


init started:  BusyBox v1.00 (2008.10.30-12:47+0000) multi-call binary

Starting fsck for root filesystem.

fsck 1.25 (20-Sep-2001)

ext2fs_check_if_mount: No such file or directory while determining
whether /dev/ram0 is mounted.


/dev/ram0: clean, 730/1024 files, 6442/8192 blocks

Checking root filesystem: done

Remounting root rw: done

Mounting proc: done

Mounting usbfs: done

Mounting sysfs: done

Delayed device initialization: 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 35, io mem 0x43f88200

fsl-ehci fsl-ehci.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb2: configuration #1 chosen from 1 choice

hub 2-0:1.0: USB hub found

hub 2-0:1.0: 1 port detected

fsl-ehci fsl-ehci.2: Freescale On-Chip EHCI Host Controller

fsl-ehci fsl-ehci.2: new USB bus registered, assigned bus number 3

fsl-ehci fsl-ehci.2: irq 37, io mem 0x43f88000

fsl-ehci fsl-ehci.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004

usb usb3: configuration #1 chosen from 1 choice

hub 3-0:1.0: USB hub found

hub 3-0:1.0: 1 port detected

done

Cleaning up system: done

Running local start scripts.

Starting udevd: done

Changing file permissions: done

Configure /home/ftp: done

Starting syslogd: done

Starting klogd: done

Loading /etc/config: done

Setting hostname: done

Configuring network interfaces: info, udhcpc (v0.9.9-pre) started

eth0: SMSC911x/921x identified at 0xc9000000, IRQ: 64

eth0: link down

debug, Sending discover...

eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

debug, Sending discover...

debug, Sending select for 192.168.100.19...

info, Lease of 192.168.100.19 obtained, lease time 86400

done

Starting inetd: done

Stating sshd: done

Starting thttpd: done

Mounting ramfs /home/ftp/pub: done



atmark-dist v1.21.0 (AtmarkTechno/Armadillo-500-FX.dev)

Linux 2.6.26-at6 [armv6l arch]



armadillo500 login: root

Password:

[email@hidden (ttymxc0) ~]# mount /dev/sda1 /mnt

kjournald starting.  Commit interval 5 seconds

EXT3-fs warning: maximal mount count reached, running e2fsck is recommended

EXT3 FS on sda1, internal journal

EXT3-fs: mounted filesystem with ordered data mode.

[email@hidden (ttymxc0) /mnt]# chroot /mnt /init

init: Unable to open persistent property directory /data/property errno: 2

sh: can't access tty; job control turned off

# warning: `rild' uses 32-bit capabilities (legacy support in use)

FAT: bogus number of reserved sectors

VFS: Can't find a valid FAT filesystem on dev mmcblk0.

FAT: bogus number of reserved sectors

VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.

FAT: bogus number of reserved sectors

VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.

android_power: wakeup (0->0) at 61303575832 (2000-01-31 18:42:01.899398266 UTC)

FAT: bogus number of reserved sectors

VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.

FAT: bogus number of reserved sectors

VFS: Can't find a valid FAT filesystem on dev mmcblk0p1.

android_power: wakeup (0->0) at 63965801516 (2000-01-31 18:42:04.561624034 UTC)

android_power: wakeup (0->0) at 69145230416 (2000-01-31 18:42:09.741052501 UTC)



# mkdir test

mkdir failed for test, Read-only file system

# android_power: wakeup (0->0) at 74325244533 (2000-01-31
18:42:14.921066684 UTC)

android_power: wakeup (0->0) at 79505098750 (2000-01-31 18:42:20.100920984 UTC)

--ここまで--


以上、よろしくお願いします。



armadillo メーリングリストの案内