Chinaunix首页 | 论坛 | 博客
  • 博客访问: 547803
  • 博文数量: 105
  • 博客积分: 3274
  • 博客等级: 中校
  • 技术积分: 1161
  • 用 户 组: 普通用户
  • 注册时间: 2010-02-21 12:14
文章分类

全部博文(105)

文章存档

2011年(1)

2010年(104)

分类: LINUX

2010-03-29 22:16:46

为了更好的调试,决定采取tftp的方式下载内核和根文件系统,于是首先设置环境变量如下:
OMAP3 DevKit8000 # printenv
bootargs=console=ttyS2,115200n8 ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs video=omapfb:mode:4.3inch_LCD
bootdelay=3
baudrate=115200
ethaddr=aa:bb:cc:dd:ee:ff
netmask=255.255.255.0
bootfile="uImage"
ipaddr=192.168.17.54
serverip=192.168.17.25
gatewayip=192.168.17.1
tftp1=tftp 0x80300000 uImage
tftp3=bootm 80300000
tftp2=tftp 0x81100000 ubi.img
bootcmd=run tftp0;run tftp1;run tftp2;run tftp3
tftp0=setenv bootargs console=ttyS2,115200n8 mem=128M init=0x81000000,7000000 root=/dev/ram0 rw
stdin=serial
stdout=serial
stderr=serial
Environment size: 532/131068 bytes
 
本意是把内核下载到0x80300000,根文件系统下载到0x81000000,然后运行。
但是启动时报错了,启动过程如下:
Texas Instruments X-Loader 1.41
Starting OS Bootloader...

U-Boot 1.3.3-svn350 (Nov 20 2009 - 16:21:59)
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM:  128 MB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  3  2  1  0
dm9000 i/o: 0x2c000000, id: 0x90000a46
MAC: aa:bb:cc:dd:ee:ff
operating at 100M full duplex mode
TFTP from server 192.168.17.25; our IP address is 192.168.17.54
Filename 'uImage'.
Load address: 0x80300000
Loading: *#################################################################
  #################################################################
  ##################
done
Bytes transferred = 2164276 (210634 hex)
dm9000 i/o: 0x2c000000, id: 0x90000a46
MAC: aa:bb:cc:dd:ee:ff
operating at 100M full duplex mode
TFTP from server 192.168.17.25; our IP address is 192.168.17.54
Filename 'ubi.img'.
Load address: 0x81100000
Loading: *#################################################################
  #################################################################
  #################################################################
  #################################################################
  #################################################################
  #################################################################
  #################################################################
  ###################
done
Bytes transferred = 6946816 (6a0000 hex)
## Booting kernel from Legacy Image at 80300000 ...
   Image Name:   Linux-2.6.28-rc9-omap1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2164212 Bytes =  2.1 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux............................................................................................................................................ done, booting the kernel.
Linux version 2.6.28-rc9-omap1 () (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #1 Mon Dec 14 09:57:41 CST 2009
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430 Unknown revision
SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS2,115200n8 mem=128M init=0x81000000,7000000 root=/dev/ram0 rw
Clocking rate (Crystal/DPLL/ARM core): 26.0/266/500 MHz
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
PID hash table entries: 512 (order: 9, 2048 bytes)
OMAP clockevent source: GPTIMER12 at 32768 Hz
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: 125268KB available (3976K code, 354K data, 156K init)
Calibrating delay loop... 497.82 BogoMIPS (lpj=1941504)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
omap3evmdc: Driver registration complete
OMAP DMA hardware revision 4.0
USB: No board-specific platform config found
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
SCSI subsystem initialized
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92
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
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 244
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at c88ae000,c88b2400 IRQ 185 MAC: 00:11:22:33:44:55 (chip)
Linux video capture interface: v2.00
tvp514x 2-005d: Registered to v4l2 master omap34xxcam!!
i2c /dev entries driver
Driver 'sd' needs updating - please use bus_type methods
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit)
cmdlinepart partition parsing not available
Creating 5 MTD partitions on "omap2-nand":
0x00000000-0x00080000 : "X-Loader"
0x00080000-0x00260000 : "U-Boot"
0x00260000-0x00280000 : "U-Boot Env"
0x00280000-0x00680000 : "Kernel"
0x00680000-0x08000000 : "File System"
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.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: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 62:cf:c7:74:a5:83
usb0: HOST MAC 92:d0:d7:ad:31:0f
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
input: omap_twl4030keypad as /class/input/input0
input: gpio-keys as /class/input/input1
ads7846 spi2.0: touchscreen, irq 187
input: ADS784x Touchscreen as /class/input/input2
twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
Registered led device: led1
Registered led device: led2
Registered led device: ledB
Registered led device: led3
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
OMAP3 omap3devkit9100 SoC init
TWL4030 Audio Codec init
asoc: twl4030 <-> omap-mcbsp-dai-(link_id) mapping ok
ALSA device list:
  #0: omap3devkit9000 (twl4030)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
omapfb: using mode 4.3inch_LCD
Console: switching to colour frame buffer device 60x34
clock: clksel_round_rate_div: dpll4_m4_ck target_rate 28800000
clock: new_div = 15, new_rate = 28800000
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
mmc0: new high speed SD card at address 0002
tvp514x 2-005d: Write: retry ... 4
mmcblk0: mmc0:0002 N/A   481 MiB
 mmcblk0: p1
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
Display already enabled
Buffer Size = 3686400
omap_vout: registered and initialized   video device 0 [v4l2]
Buffer Size = 3686400
omap_vout: registered and initialized   video device 1 [v4l2]
display->updated
twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:05:32 UTC (946685132)
List of all partitions:
1f00             512 mtdblock0 (driver?)
1f01            1920 mtdblock1 (driver?)
1f02             128 mtdblock2 (driver?)
1f03            4096 mtdblock3 (driver?)
1f04          124416 mtdblock4 (driver?)
b300          492544 mmcblk0 driver: mmcblk
  b301          492512 mmcblk0p1
No filesystem could mount root, tried:  ext3 ext2 vfat msdos
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(1,0)
提示找不到根文件系统。
 
直接把根文件系统拷贝到SDRAM,再运行应该是没有问题的,莫非我的写法有误?
 
于是重新设置
setenv tftp0 setenv bootargs console=ttyS2,115200n8 root=/dev/ram0 initrd=0x81100000,32M
 
saveenv
 
重新启动,还是失败。
 
可能只能采用ramdisk镜像了,于是换成ramdisk的根文件系统
OMAP3 DevKit8000 # setenv tftp2 tftp 0x81100000 ramdisk.gz
OMAP3 DevKit8000 # saveenv
Saving Environment to NAND...
Erasing Nand...Writing to Nand... done
OMAP3 DevKit8000 #
 
然后重启
打印如下:
 
Texas Instruments X-Loader 1.41
Starting OS Bootloader...

U-Boot 1.3.3-svn350 (Nov 20 2009 - 16:21:59)
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM:  128 MB
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  3  2  1  0
dm9000 i/o: 0x2c000000, id: 0x90000a46
MAC: aa:bb:cc:dd:ee:ff
operating at 100M full duplex mode
TFTP from server 192.168.17.25; our IP address is 192.168.17.54
Filename 'uImage'.
Load address: 0x80300000
Loading: *#################################################################
  #################################################################
  ##################
done
Bytes transferred = 2164276 (210634 hex)
dm9000 i/o: 0x2c000000, id: 0x90000a46
MAC: aa:bb:cc:dd:ee:ff
operating at 100M full duplex mode
TFTP from server 192.168.17.25; our IP address is 192.168.17.54
Filename 'ramdisk.gz'.
Load address: 0x81100000
Loading: *#################################################################
  #################################################################
  #################################################################
  #################################################################
  #################################################################
  #################################################################
  #################################################################
  #################################################################
  ####
done
Bytes transferred = 7688081 (754f91 hex)
## Booting kernel from Legacy Image at 80300000 ...
   Image Name:   Linux-2.6.28-rc9-omap1
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2164212 Bytes =  2.1 MB
   Load Address: 80008000
   Entry Point:  80008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux............................................................................................................................................ done, booting the kernel.
Linux version 2.6.28-rc9-omap1 () (gcc version 4.2.1 (CodeSourcery Sourcery G++ Lite 2007q3-51)) #1 Mon Dec 14 09:57:41 CST 2009
CPU: ARMv7 Processor [411fc083] revision 3 (ARMv7), cr=10c5387f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: OMAP3 Beagle Board
Memory policy: ECC disabled, Data cache writeback
OMAP3430 Unknown revision
SRAM: Mapped pa 0x40200000 to va 0xd7000000 size: 0x100000
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 32512
Kernel command line: console=ttyS2,115200n8 root=/dev/ram0 initrd=0x81100000,32M
Clocking rate (Crystal/DPLL/ARM core): 26.0/266/500 MHz
GPMC revision 5.0
IRQ: Found an INTC at 0xd8200000 (revision 4.0) with 96 interrupts
Total of 96 interrupts on 1 active controller
OMAP34xx GPIO hardware version 2.5
PID hash table entries: 512 (order: 9, 2048 bytes)
OMAP clockevent source: GPTIMER12 at 32768 Hz
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: 92500KB available (3976K code, 354K data, 156K init)
Calibrating delay loop... 496.77 BogoMIPS (lpj=1937408)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
NET: Registered protocol family 16
Found NAND on CS0
Registering NAND on CS0
omap3evmdc: Driver registration complete
OMAP DMA hardware revision 4.0
USB: No board-specific platform config found
OMAP DSS rev 2.0
OMAP DISPC rev 3.0
OMAP VENC rev 2
i2c_omap i2c_omap.1: bus 1 rev3.12 at 2600 kHz
twl4030: PIH (irq 7) chaining IRQs 368..375
twl4030: power (irq 373) chaining IRQs 376..383
twl4030: gpio (irq 368) chaining IRQs 384..401
i2c_omap i2c_omap.2: bus 2 rev3.12 at 400 kHz
i2c_omap i2c_omap.3: bus 3 rev3.12 at 400 kHz
SCSI subsystem initialized
twl4030_usb twl4030_usb: Initialized TWL4030 USB module
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
musb_hdrc: version 6.0, musb-dma, otg (peripheral+host), debug=0
musb_hdrc: USB OTG mode controller at d80ab000 using DMA, IRQ 92
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 (no cpio magic); looks like an initrd
Freeing initrd memory: 32768K
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
msgmni has been set to 244
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Serial: 8250/16550 driver4 ports, IRQ sharing enabled
serial8250.0: ttyS0 at MMIO 0x4806a000 (irq = 72) is a ST16654
serial8250.0: ttyS1 at MMIO 0x4806c000 (irq = 73) is a ST16654
serial8250.0: ttyS2 at MMIO 0x49020000 (irq = 74) is a ST16654
console [ttyS2] enabled
brd: module loaded
loop: module loaded
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PPPoL2TP kernel driver, V1.0
dm9000 Ethernet Driver, V1.31
eth0: dm9000a at c88ae000,c88b2400 IRQ 185 MAC: 00:11:22:33:44:55 (chip)
Linux video capture interface: v2.00
tvp514x 2-005d: Registered to v4l2 master omap34xxcam!!
i2c /dev entries driver
Driver 'sd' needs updating - please use bus_type methods
omap2-nand driver initializing
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xb1 (Micron NAND 128MiB 1,8V 16-bit)
cmdlinepart partition parsing not available
Creating 5 MTD partitions on "omap2-nand":
0x00000000-0x00080000 : "X-Loader"
0x00080000-0x00260000 : "U-Boot"
0x00260000-0x00280000 : "U-Boot Env"
0x00280000-0x00680000 : "Kernel"
0x00680000-0x08000000 : "File System"
usbmon: debugfs is not available
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-omap ehci-omap.0: OMAP-EHCI Host Controller
ehci-omap ehci-omap.0: new USB bus registered, assigned bus number 1
ehci-omap ehci-omap.0: irq 77, io mem 0x48064800
ehci-omap ehci-omap.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: 3 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
g_ether gadget: using random self ethernet address
g_ether gadget: using random host ethernet address
usb0: MAC 62:f1:61:26:87:ed
usb0: HOST MAC b6:d9:60:b8:91:52
g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
g_ether gadget: g_ether ready
musb_hdrc musb_hdrc: MUSB HDRC host driver
musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 2
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
input: omap_twl4030keypad as /class/input/input0
input: gpio-keys as /class/input/input1
ads7846 spi2.0: touchscreen, irq 187
input: ADS784x Touchscreen as /class/input/input2
twl4030_rtc twl4030_rtc: rtc core: registered twl4030_rtc as rtc0
twl4030_rtc twl4030_rtc: Power up reset detected.
twl4030_rtc twl4030_rtc: Enabling TWL4030-RTC.
Registered led device: led1
Registered led device: led2
Registered led device: ledB
Registered led device: led3
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
OMAP3 omap3devkit9100 SoC init
TWL4030 Audio Codec init
asoc: twl4030 <-> omap-mcbsp-dai-(link_id) mapping ok
ALSA device list:
  #0: omap3devkit9000 (twl4030)
TCP cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
Power Management for TI OMAP3.
VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 1
omapfb: using mode 4.3inch_LCD
Console: switching to colour frame buffer device 60x34
clock: clksel_round_rate_div: dpll4_m4_ck target_rate 28800000
clock: new_div = 15, new_rate = 28800000
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
mmc0: new high speed SD card at address 0002
tvp514x 2-005d: Write: retry ... 4
mmcblk0: mmc0:0002 N/A   481 MiB
 mmcblk0: p1
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: Write: retry ... 0
tvp514x 2-005d: Write: retry ... 1
tvp514x 2-005d: Write: retry ... 2
tvp514x 2-005d: Write: retry ... 3
tvp514x 2-005d: Write: retry ... 4
tvp514x 2-005d: Write: retry ... 5
tvp514x 2-005d: chip id mismatch msb:0x87 lsb:0x87
tvp514x 2-005d: Unable to detect decoder
Display already enabled
Buffer Size = 3686400
omap_vout: registered and initialized   video device 0 [v4l2]
Buffer Size = 3686400
omap_vout: registered and initialized   video device 1 [v4l2]
display->updated
twl4030_rtc twl4030_rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
RAMDISK: Compressed image found at block 0
EXT2-fs warning: mounting unchecked fs, running e2fsck is recommended
VFS: Mounted root (ext2 filesystem).
Freeing init memory: 156K
INIT: version 2.86 booting
Starting udevuncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0
uncorrectable error : <3>uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 8
Buffer I/O error on device mtdblock0, logical block 1
end_request: I/O error, dev mtdblock0, sector 16
Buffer I/O error on device mtdblock0, logical block 2
uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 24
Buffer I/O error on device mtdblock0, logical block 3
uncorrectable error : <3>end_request: I/O error, dev mtdblock0, sector 0
Buffer I/O error on device mtdblock0, logical block 0
tar: removing leading '/' from member names
Remounting root file system...
root: mount: mounting rootfs on / failed: No such file or directory
Setting up IP spoofing protection: rp_filter.
Configuring network interfaces... udhcpc (v1.11.3) started
Sending discover...
udhcpc: sendto: Network is down
Sending discover...
udhcpc: sendto: Network is down
Sending discover...
udhcpc: sendto: Network is down
No lease, failing
done.
Tue Jan 27 08:47:00 UTC 2009
INIT: Entering runlevel: 5
Starting syslogd/klogd: done
.-------.                                          
|       |                  .-.                     
|   |   |-----.-----.-----.| |   .----..-----.-----.
|       |     | __  |  ---'| '--.|  .-'|     |     |
|   |   |  |  |     |---  ||  --'|  |  |  '  | | | |
'---'---'--'--'--.  |-----''----''--'  '-----'-'-'-'
                -'  |
                '---'
The Angstrom Distribution DevKit8000 ttyS2
Angstrom 2008.1-test-20090127 DevKit8000 ttyS2
DevKit8000 login:
 
启动成功。
 
我用at91sam9260时是可以直接把根文件系统(不管什么格式)拷贝到SDRAM,然后从ram0里运行的,是没有任何问题的。
用OMAP3530却不行(至少在我手上不行),做个标记,等后续再弄。
 
 
 
 
阅读(3221) | 评论(2) | 转发(0) |
给主人留下些什么吧!~~

zhanghonghu842010-09-26 17:26:52

怎样制作ramdisk文件系统,上网搜下,很容易找到的

chinaunix网友2010-09-21 15:38:03

how do you make a ramdisk.gz's filesystem?