カーネルのアップデート

SheevaPlug

なぜか、SheevaPlug をさわっている。
カーネルに関して、SheevaPlug と玄柴とは有意な差はないはず。

http://sheeva.with-linux.com/sheeva でコンパイル済のカーネルを 公開いただいているようなので、最新のカーネルにアップデートする。

wget のインストール

root@debian:~# which wget
root@debian:~#
wget がないので、インストールする
root@debian:~# apt-get install wget
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libx11-data libxcb1 libxau6 libxdmcp6 libxcb-xlib0 libx11-6
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  wget
0 upgraded, 1 newly installed, 0 to remove and 9 not upgraded.
Need to get 244kB of archives.
After this operation, 1970kB of additional disk space will be used.
Get:1 http://ports.ubuntu.com jaunty/main wget 1.11.4-2ubuntu1 [244kB]
Fetched 244kB in 2s (101kB/s)
Selecting previously deselected package wget.
(Reading database ... 10310 files and directories currently installed.)
Unpacking wget (from .../wget_1.11.4-2ubuntu1_armel.deb) ...
Setting up wget (1.11.4-2ubuntu1) ...

root@debian:~#

インストーラの取得

http://sheeva.with-linux.com/sheeva/ から、 README-2.6.32.2 をいただいてくる。
root@debian:/tmp# wget http://sheeva.with-linux.com/sheeva/README-2.6.32.2
--2009-12-21 23:00:27--  http://sheeva.with-linux.com/sheeva/README-2.6.32.2
Resolving sheeva.with-linux.com... failed: Name or service not known.
wget: unable to resolve host address `sheeva.with-linux.com'
root@debian:/tmp#
unable to resolve host address だと。
resolve といえば、/etc/resolv.conf
root@debian:/tmp# cat /etc/resolv.conf
nameserver 127.0.0.1
root@debian:/tmp# 
自宅の DNS サーバを指定する
root@debian:/tmp# echo nameserver 192.168.1.2 >> /etc/resolv.conf
root@debian:/tmp# !cat
cat /etc/resolv.conf
nameserver 127.0.0.1
nameserver 192.168.1.2
root@debian:/tmp#
再度実行
root@debian:/tmp# !wget
wget http://sheeva.with-linux.com/sheeva/README-2.6.32.2
--2009-12-21 23:02:23--  http://sheeva.with-linux.com/sheeva/README-2.6.32.2
Resolving sheeva.with-linux.com... 216.146.103.100
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3106 (3.0K) [text/plain]
Saving to: `README-2.6.32.2'

100%[======================================>] 3,106       --.-K/s   in 0.08s

2009-12-21 23:02:24 (40.2 KB/s) - `README-2.6.32.2' saved [3106/3106]

root@debian:/tmp#
念のため、README-2.6.32.2 を読む。

インストーラの実行

root@debian:/tmp# sh -x README-2.6.32.2 --nandkernel
+ set -e
+ set -u
+ KVer=2.6.32.2
README-2.6.32.2: 29: Syntax error: "(" unexpected
root@debian:/tmp#
ん?
bash で実行してみる
root@debian:/tmp# bash -x README-2.6.32.2 --nandkernel
+ set -e
+ set -u
+ KVer=2.6.32.2
+ [[ 1 < 1 ]]
+ [[ --nandkernel == \-\-\n\a\n\d\k\e\r\n\e\l ]]
+ Download
+ echo 'Downloading files'
Downloading files
+ local f=
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5
+ [[ ! -f sheeva-2.6.32.2-Modules.tar.gz ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-Modules.tar.gz
--2009-12-21 23:06:36--  http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-Modules.tar.gz
Resolving sheeva.with-linux.com... 216.146.103.100
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4315068 (4.1M) [application/x-gzip]
Saving to: `sheeva-2.6.32.2-Modules.tar.gz'

100%[======================================>] 4,315,068   26.4K/s   in 3m 19s

2009-12-21 23:09:56 (21.1 KB/s) - `sheeva-2.6.32.2-Modules.tar.gz' saved [4315068/4315068]

+ [[ ! -f sheeva-2.6.32.2-Modules.tar.gz ]]
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5
+ [[ ! -f sheeva-2.6.32.2-Modules.tar.gz.md5 ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-Modules.tar.gz.md5
--2009-12-21 23:09:56--  http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-Modules.tar.gz.md5
Resolving sheeva.with-linux.com... 216.146.103.100
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 65 [application/x-gzip]
Saving to: `sheeva-2.6.32.2-Modules.tar.gz.md5'

100%[======================================>] 65          --.-K/s   in 0s

2009-12-21 23:09:56 (1.76 MB/s) - `sheeva-2.6.32.2-Modules.tar.gz.md5' saved [65/65]

+ [[ ! -f sheeva-2.6.32.2-Modules.tar.gz.md5 ]]
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5
+ [[ ! -f sheeva-2.6.32.2-uImage ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-uImage
--2009-12-21 23:09:56--  http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-uImage
Resolving sheeva.with-linux.com... 216.146.103.100
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2861324 (2.7M) [text/plain]
Saving to: `sheeva-2.6.32.2-uImage'

100%[======================================>] 2,861,324   41.5K/s   in 1m 59s

2009-12-21 23:11:55 (23.6 KB/s) - `sheeva-2.6.32.2-uImage' saved [2861324/2861324]

+ [[ ! -f sheeva-2.6.32.2-uImage ]]
+ for f in Modules.tar.gz Modules.tar.gz.md5 uImage uImage.md5
+ [[ ! -f sheeva-2.6.32.2-uImage.md5 ]]
++ which wget
+ [[ -z /usr/bin/wget ]]
+ wget -c http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-uImage.md5
--2009-12-21 23:11:55--  http://sheeva.with-linux.com/sheeva/2.6.32.2/sheeva-2.6.32.2-uImage.md5
Resolving sheeva.with-linux.com... 216.146.103.100
Connecting to sheeva.with-linux.com|216.146.103.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 57 [text/plain]
Saving to: `sheeva-2.6.32.2-uImage.md5'

100%[======================================>] 57          --.-K/s   in 0s

2009-12-21 23:11:56 (1.53 MB/s) - `sheeva-2.6.32.2-uImage.md5' saved [57/57]

+ [[ ! -f sheeva-2.6.32.2-uImage.md5 ]]
+ Md5Compare sheeva-2.6.32.2-Modules.tar.gz sheeva-2.6.32.2-Modules.tar.gz.md5
++ cat sheeva-2.6.32.2-Modules.tar.gz.md5
++ cut '-d ' -f1
++ md5sum sheeva-2.6.32.2-Modules.tar.gz
++ cut '-d ' -f1
+ [[ 07f86ade942cfa5dc32224dc9317d4f5 != 07f86ade942cfa5dc32224dc9317d4f5 ]]
+ Md5Compare sheeva-2.6.32.2-uImage sheeva-2.6.32.2-uImage.md5
++ cat sheeva-2.6.32.2-uImage.md5
++ cut '-d ' -f1
++ md5sum sheeva-2.6.32.2-uImage
++ cut '-d ' -f1
+ [[ 362dd6a31e1a36853845530a6078d5bd != 362dd6a31e1a36853845530a6078d5bd ]]
+ ExtractModules
+ echo 'Extracting modules'
Extracting modules
+ tar x -C / --overwrite -zf sheeva-2.6.32.2-Modules.tar.gz
+ NandKernel
+ echo 'Flashing kernel to NAND'
Flashing kernel to NAND
++ cut '-d ' -f1
++ sed s#:##
++ grep uImage /proc/mtd
+ local Mtd=mtd0
+ flash_eraseall -j /dev/mtd0
Erasing 128 Kibyte @ 3e0000 -- 96 % complete. Cleanmarker written at 3e0000.
+ nandwrite -pm /dev/mtd0 sheeva-2.6.32.2-uImage
Writing data to block 0
Writing data to block 20000
Writing data to block 40000
Writing data to block 60000
Writing data to block 80000
Writing data to block a0000
Writing data to block c0000
Writing data to block e0000
Writing data to block 100000
Writing data to block 120000
Writing data to block 140000
Writing data to block 160000
Writing data to block 180000
Writing data to block 1a0000
Writing data to block 1c0000
Writing data to block 1e0000
Writing data to block 200000
Writing data to block 220000
Writing data to block 240000
Writing data to block 260000
Writing data to block 280000
Writing data to block 2a0000
root@debian:/tmp#
終わった。

reboot

リブートする。
そのままブートはしないで、 下記 U-Boot の環境変数を変更するために、 U-Boot のプロンプトに入る。
root@debian:/tmp# shutdown -r now

Broadcast message from root@debian
        (/dev/ttyS0) at 23:15 ...

The system is going down for reboot NOW!
 * Saving the system clock
Cannot access the Hardware Clock via any known method.
Use the --debug option to see the details of our search for an access method.
 * Asking all remaining processes to terminate...                        [ OK ]
 * All processes ended within 2 seconds....                              [ OK ]
 * Deconfiguring network interfaces...                                   [ OK ]
 * Unmounting temporary filesystems...                                   [ OK ]
 * Deactivating swap...                                                  [ OK ]
 * Stopping remaining crypto disks...                                    [ OK ]
 * Stopping early crypto disks...                                        [ OK ]
 * Will now restart
Restarting system.

         設_  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Apr  9 2009 - 12:23:12) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0
Marvell>>

U-Boot の環境変数の変更

README-2.6.32.2 には、以下の記述がある。
# setenv mainlineLinux yes
# setenv arcNumber 2097
####### change bootargs, replace nand_mtd with orion_nand and add rootfstype=jffs2
# setenv bootargs rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.1.9:192.168.1.4:192.168.1.4:255.255.255.0:DB88FXX81:eth0:none
# saveenv
これに準じて U-Boot の環境変数を変更する。
ところで、3つの IP アドレスは???
自IP, DNS サーバ、デフォルトゲートウェイと勘で。
Marvell>> setenv mainlineLinux yes
Marvell>> setenv arcNumber 2097
Marvell>> setenv bootargs rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.2.85:192.168.2.39:192.168.2.1:255.255.255.0:DB88FXX81:eth0:none
Marvell>> saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
Marvell>>

再起動

Marvell>> reset

         設_  __                      _ _
        |  \/  | __ _ _ ____   _____| | |
        | |\/| |/ _` | '__\ \ / / _ \ | |
        | |  | | (_| | |   \ V /  __/ | |
        |_|  |_|\__,_|_|    \_/ \___|_|_|
 _   _     ____              _
| | | |   | __ )  ___   ___ | |_
| | | |___|  _ \ / _ \ / _ \| __|
| |_| |___| |_) | (_) | (_) | |_
 \___/    |____/ \___/ \___/ \__|
 ** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Apr  9 2009 - 12:23:12) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE60

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:512 MB

CPU : Marvell Feroceon (Rev 1)

Streaming disabled
Write allocate disabled


USB 0: host mode
PEX 0: interface detected no Link.
Net:   egiga0 [PRIME], egiga1
Hit any key to stop autoboot:  0

NAND read: device 0 offset 0x100000, size 0x400000

Reading data from 0x4ff800 -- 100% complete.
 4194304 bytes read: OK
## Booting image at 00800000 ...
   Image Name:   Linux-2.6.32.2
   Created:      2009-12-19   5:54:34 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2861260 Bytes =  2.7 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK

Starting kernel ...

Uncompressing Linux............................................................................................................................................................................................. done, booting the kernel.
Linux version 2.6.32.2 (kelly@speedy) (gcc version 4.2.1) #1 PREEMPT Fri Dec 18 22:54:28 MST 2009
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell SheevaPlug Reference Board
Memory policy: ECC disabled, Data cache writeback
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
Kernel command line: rootfstype=jffs2 console=ttyS0,115200 mtdparts=orion_nand:0x400000@0x100000(uImage),0x1fb00000@0x500000(rootfs) rw root=/dev/mtdblock1 rw ip=192.168.2.85:192.168.2.39:192.168.2.1:255.255.255.0:DB88FXX81:eth0:none
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 256MB 256MB = 512MB total
Memory: 512768KB available (5256K code, 1034K data, 148K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 1192.75 BogoMIPS (lpj=5963776)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
bio: create slab  at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
        (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
        (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
        (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
        (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
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
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) 息 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 4007, nTxLock = 32063
msgmni has been set to 1001
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix NAND 512MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 274 at 0x000002240000
Bad eraseblock 627 at 0x000004e60000
Bad eraseblock 663 at 0x0000052e0000
Bad eraseblock 976 at 0x000007a00000
Bad eraseblock 1552 at 0x00000c200000
Bad eraseblock 1657 at 0x00000cf20000
Bad eraseblock 1658 at 0x00000cf40000
Bad eraseblock 2404 at 0x000012c80000
Bad eraseblock 2470 at 0x0000134c0000
Bad eraseblock 2514 at 0x000013a40000
Bad eraseblock 2688 at 0x000015000000
Bad eraseblock 2690 at 0x000015040000
Bad eraseblock 2707 at 0x000015260000
Bad eraseblock 2728 at 0x000015500000
Bad eraseblock 2771 at 0x000015a60000
Bad eraseblock 2781 at 0x000015ba0000
Bad eraseblock 3039 at 0x000017be0000
Bad eraseblock 3469 at 0x00001b1a0000
2 cmdlinepart partitions found on MTD device orion_nand
Creating 2 MTD partitions on "orion_nand":
0x000000100000-0x000000500000 : "uImage"
0x000000500000-0x000020000000 : "rootfs"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:50:43:01:ca:72
libertas_sdio: Libertas SDIO driver
libertas_sdio: Copyright Pierre Ossman
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-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
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
Registered led device: plug:green:health
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
oprofile: using timer interrupt.
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
rtc-mv rtc-mv: setting system clock to 2009-12-21 23:19:36 UTC (1261437576)
IP-Config: Complete:
     device=eth0, addr=192.168.2.85, mask=255.255.255.0, gw=192.168.2.1,
     host=DB88FXX81, domain=, nis-domain=(none),
     bootserver=192.168.2.39, rootserver=192.168.2.39, rootpath=
eth0: link up, 1000 Mb/s, full duplex, flow control disabled
jffs2_scan_eraseblock(): Node at 0x085257fc {0x1985, 0xe001, 0xe0021985) has invalid CRC 0x00000082 (calculated 0x515918d5)
Empty flash at 0x092f224c ends at 0x092f2800
Empty flash at 0x0a5ec238 ends at 0x0a5ec800
Empty flash at 0x0b34caf8 ends at 0x0b34d000
Empty flash at 0x0bcc7df4 ends at 0x0bcc8000
Empty flash at 0x12223050 ends at 0x12223800
Empty flash at 0x14a8bd08 ends at 0x14a8c000
jffs2_scan_inode_node(): CRC failed on node at 0x174717ec: Read 0xffffffff, calculated 0x3ed4d06f
Empty flash at 0x17471848 ends at 0x17472000
Empty flash at 0x17b6b3f8 ends at 0x17b6b800
Empty flash at 0x190d9390 ends at 0x190d9800
jffs2_scan_inode_node(): CRC failed on node at 0x1d4ecfc0: Read 0xffffffff, calculated 0xb7fac2ab
Empty flash at 0x1d4ed0d8 ends at 0x1d4ed800
Empty flash at 0x1f37a88c ends at 0x1f37b000
VFS: Mounted root (jffs2 filesystem) on device 31:1.
Freeing init memory: 148K
 * Filesystem type 'fusectl' is not supported. Skipping mount.
 * Setting preliminary keymap...                                         [ OK ]
 * Starting kernel event manager...                                      [ OK ]
 * Loading hardware drivers...                                           [ OK ]
 * Loading kernel modules...                                             [ OK ]  * Loading manual drivers...
 * Setting kernel variables (/etc/sysctl.conf)...                        [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-console-messages.conf)...  [ OK ]
 * Setting kernel variables (/etc/sysctl.d/10-network-security.conf)...  [ OK ]
 * Activating swap...                                                    [ OK ]
 * Starting early crypto disks...                                        [ OK ]
 * Starting remaining crypto disks...                                    [ OK ]
 * Checking file systems...                                                     fsck 1.41.4 (27-Jan-2009)
                                                                         [ OK ]
 * Mounting local filesystems...                                         [fail]
 * Activating swapfile swap...                                           [ OK ]
 * Configuring network interfaces...                                     [ OK ]
 * Setting up console font and keymap...                                 [ OK ]
 * Starting system log daemon...
Ubuntu 9.04 debian ttyS0

debian login: 
Activating swap の後、かなり時間がかかったので 一瞬いやな感じがしたが、、無事起動してきた。
念のため、ログインしてバージョンの確認
debian login: root
Password:
Last login: Mon Dec 21 22:53:49 JST 2009 on ttyS0
root@debian:~# uname -a
Linux debian 2.6.32.2 #1 PREEMPT Fri Dec 18 22:54:28 MST 2009 armv5tel GNU/Linux
root@debian:~#                                                           [ OK ]
GJ!
 * Starting kernel log daemon...                                         [ OK ]
 * Starting OpenBSD Secure Shell server sshd                             [ OK ]
 * Starting periodic command scheduler crond                             [ OK ]
fat: version magic '2.6.22.18 mod_unload ARMv5 ' should be '2.6.32.2 preempt mod_unload ARMv5 '
insmod: error inserting '/boot/fat.ko': -1 Invalid module format
あちゃ、/etc/rc.local 修正せなあかんな
参考にさせていただいたページ
SheevaPlug カーネル更新


←(前のページ)
散歩
当月のハックの記録
SheevaPlug/玄柴(KURO-SHEEVA)をハックしよう トップ
(次のページ)→
KURO-RS / PC-OP-RS1 の認識(2)

Copyright (C) 2003-2009 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市