[ TOP | Recently ]

2010-06-08 NetBSD/netwalker #2


延々やってるが割り込みが入らない。うーん。
@h_kenken氏によると kernel を 0x90000000 + 512Mb - 1Mb? (一部のファイルしか貰ってないので詳細不明…) にコピーしなおして pmap すると動くそうだが、何故そうなるか謎。 手元では確認できず。ARMv7のsecure/unsecure関係かなと思ってpdfを読むが、よくわからん…。かなり飽きてきた :P

ふと思って boot.conf から quiet を外して debug 付けて SD recovery disk の linux を boot させてみた。メモ代わりに貼っておく。 メモリが512MBじゃなくて480MBとか、いろいろ謎な所があるなぁ。Linuxはそういうものなのかもしれん。 このままハマり続けるようであればLinuxのbuild環境作ってlinux kernelでいろいろテストしたほうがいいかも。

Uncompressing Linux................................................................................................................................................. done, booting the kernel.
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 root=/dev/mmcblk0p1 rw rootfstype=ext2 rootdelay=3 console=ttymxc0,115200 debug=1 bootsw=0x3 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 0x03
Bad block table[1tbB] found at page 523904, version 0x03
nand_read_bbt: Bad block at 0x41200000
nand_read_bbt: Bad block at 0x41400000
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"
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
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=de8b8000 size=24576
DMA Sound Buffers Allocated:UseIram=1 buf->addr=ac160000 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 <jketreno@linux.intel.com>
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 1970-01-01 06:11:10 UTC (22270)
Waiting 3sec before mounting root device...
mmc0: new SD card at address e624
mmcblk0: mmc0:e624 SU02G 1.89 GiB 
 mmcblk0: p1
mmc1: new SDIO card at address 0001
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 120K
usb 1-1: new high speed USB device using fsl-ehci and address 2
exec: 7: /etc/init.d/rcS: not found
init: rcS main process (1072) terminated with status 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
exec: 8: /etc/init.d/rc: not found
init: rc2 main process (1084) terminated with status 2
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
init: ttyS0 main process (1090) terminated with status 1
init: ttyS0 main process ended, respawning


EOF