[Armadillo:04457] USBストレージをルートファイルシステムにする

Miyazaki Kengo email@hidden
2009年 8月 4日 (火) 13:26:57 JST


$B>.>>EE;R!!5\:j$G$9!#(B
$B$*@$OC$K$J$C$F$*$j$^$9!#(B

http://armadillo.atmark-techno.com/faq/rootfs-usb-storage
$B$r;29M$K(Barmadillo-500-fx$B>e$G(BUSB$B%a%b%j$+$i%U%!%$%k%7%9%F%`$r%^%&%s%H$7$?(B
$B$$$N$G$9$,%(%i!<$,H/@8$7$^$9!#(B
$B3:Ev@=IJ$K5-:\$5$l$F$$$^$;$s$,$3$A$i$O2DG=$G$7$g$&$+!#(B

$B0J2<$O%m%0$K$J$j$^$9!#(B

[email@hidden (ttymxc0) /]# Hermit-At v1.1.21 (Armadillo-500/fx)
compiled at 18:40:04, Mar 25 2009
hermit> setenv console=ttymxc0 noinitrd root=/dev/sdb1 rootdelay=10
hermit> setenv
1: console=ttymxc0
2: noinitrd
3: root=/dev/sdb1
4: rootdelay=10
hermit> b
Uncompressing
kernel..............................................................................................................done.
Doing console=ttymxc0
Doing noinitrd
Doing root=/dev/sdb1
Doing rootdelay=10
Linux version 2.6.26-at5 (2.6.26) (email@hidden) (gcc version 4.1.2
20061115 (prerelease) (Debian 4.1.1-21)) #3 PREEMPT Thu Jul 30 16:53:12
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 noinitrd root=/dev/sdb1 rootdelay=10
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: 122796KB available (3252K code, 210K data, 128K 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: 3510K
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
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
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
mxcintuart.4: ttymxc4 at MMIO 0x43fb4000 (irq = 47) is a Freescale MXC
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:1a
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
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
usb 1-1: new full speed USB device using fsl-ehci and address 2
usb 1-1: not running at top speed; connect to a high speed hub
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
SSI module loaded successfully
Advanced Linux Sound Architecture Driver Version 1.0.16.
ASoC version 0.13.2
wm8978: WM8978 Audio Codec v0.2
asoc: WM8978 HiFi <-> imx-i2s-1 mapping ok
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
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2
rtc-s353xxa 1-0030: setting system clock to 2000-01-14 03:47:26 UTC
(947821646)
Waiting 10sec before mounting root device...
scsi 0:0:0:0: Direct-Access Intel Value SSD 2.00 PQ: 0 ANSI: 2
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
VFS: Cannot open root device "sdb1" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available
partitions:
1f00 128 mtdblock0 (driver?)
1f01 2048 mtdblock1 (driver?)
1f02 30464 mtdblock2 (driver?)
1f03 128 mtdblock3 (driver?)
0800 1003008 sda driver: sd
0801 1002881 sda1
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)
Hermit-At v1.1.21 (Armadillo-500/fx) compiled at 18:40:04, Mar 25 2009
hermit> setenv rootdelay=20
hermit> b
Uncompressing
kernel..............................................................................................................done.
Uncompressing
ramdisk..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Doing rootdelay=20

atmark-dist v1.24.0 (AtmarkTechno/Armadillo-500-FX.dev)
Linux 2.6.26-at5 [armv6l arch]

armadillo500 login: Hermit-At v1.1.21 (Armadillo-500/fx) compiled at
18:40:04, Mar 25 2009
hermit> setenv console=ttymxc0 noinitrd root=/dev/sdb1 rootdelay=15
hermit> b
Uncompressing
kernel..............................................................................................................done.
Doing console=ttymxc0
Doing noinitrd
Doing root=/dev/sdb1
Doing rootdelay=15
Linux version 2.6.26-at5 (2.6.26) (email@hidden) (gcc version 4.1.2
20061115 (prerelease) (Debian 4.1.1-21)) #3 PREEMPT Thu Jul 30 16:53:12
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 noinitrd root=/dev/sdb1 rootdelay=15
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: 122796KB available (3252K code, 210K data, 128K 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: 3510K
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
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
mxcintuart.1: ttymxc1 at MMIO 0x43f94000 (irq = 32) is a Freescale MXC
mxcintuart.4: ttymxc4 at MMIO 0x43fb4000 (irq = 47) is a Freescale MXC
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:1a
Linux video capture interface: v2.00
usbcore: registered new interface driver uvcvideo
USB Video Class driver (v0.1.0)
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
usb 1-1: new full speed USB device using fsl-ehci and address 2
usb 1-1: not running at top speed; connect to a high speed hub
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
SSI module loaded successfully
Advanced Linux Sound Architecture Driver Version 1.0.16.
ASoC version 0.13.2
wm8978: WM8978 Audio Codec v0.2
asoc: WM8978 HiFi <-> imx-i2s-1 mapping ok
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
VFP support v0.3: implementor 41 architecture 1 part 20 variant b rev 2
rtc-s353xxa 1-0030: setting system clock to 2000-01-14 03:50:16 UTC
(947821816)
Waiting 15sec before mounting root device...
scsi 0:0:0:0: Direct-Access Intel Value SSD 2.00 PQ: 0 ANSI: 2
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
VFS: Cannot open root device "sdb1" or unknown-block(0,0)
Please append a correct "root=" boot option; here are the available
partitions:
1f00 128 mtdblock0 (driver?)
1f01 2048 mtdblock1 (driver?)
1f02 30464 mtdblock2 (driver?)
1f03 128 mtdblock3 (driver?)
0800 1003008 sda driver: sd
0801 1002881 sda1
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)

$B0J>e$G$9!#$I$&$>$h$m$7$/$*4j$$$7$^$9!#(B

-- 
---------------------------------------
$B!!>.>>EE;R(B($B3t(B) $B>&IJIt!!(BMD($B%a%G%#%+%k%G%P%$%9(B)
$B!!5\yu!!7r8c!!(email@hidden
$B!!(BTEL:050-3366-2019
$B!!(BFAX:0761-21-1756
$B!!")(B923-8642 $email@hidden@n8)>.>>;T0BBpD.9C(B135
--------------------------------------




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