热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

omap3530从SD卡启动

打算从SD卡启动devkit8000,把相关文件都拷贝到SD卡后,插入SD卡,设置u-boot参数如下:OMAP3DevKit8000#printenv

打算从SD卡启动devkit8000,把相关文件都拷贝到SD卡后,插入SD卡,设置u-boot参数如下:
OMAP3 DevKit8000 # printenv
bootdelay=3
baudrate=115200
ethaddr=aa:bb:cc:dd:ee:ff
bootfile="uImage"
tftp1=tftp 0x80300000 uImage
tftp3=bootm 80300000
tftp0=setenv bootargs cOnsole=ttyS2,115200n8 root=/dev/ram0 initrd=0x81100000,32M
tftp2=tftp 0x81100000 ramdisk.gz
loadaddr=0x80300000
rootaddr=0x81100000
cOnsole=ttyS2,115200n8
ramargs=setenv bootargs cOnsole=ttyS2,115200n8 root=/dev/ram0 rw ramdisk_size=32768 initrd=0x81100000,32M
ubifsargs=setenv bootargs cOnsole=ttyS2,115200n8 root=ubi0:rootfs ubi.mtd=4 rw rootfstype=ubifs
loadbootscript=fatload mmc 0 0x80300000 boot.scr
loaduimage=fatload mmc 0 0x80300000 uImage
loadramdisk=fatload mmc 0 0x81100000 ramdisk.gz
bootscriptecho=Running bootscript from mmc ...; autoscr 0x80300000 setenv bootscriptecho Running bootscript from mmc ...;
ramboot=echo Booting from ramdisk.gz ...; run ramargs; bootm 0x80300000
mmcboot=echo Booting from mmc ...; run mmcargs; bootm 0x80300000
bootscript=echo Running bootscript from mmc ...; autoscr 0x80300000
ubifsargs2=nand read 0x80300000 280000 300000; bootm 0x80300000
nandboot=echo Booting from nand ...; run ubifsargs; run ubifsargs2
fileaddr=81100000
gatewayip=192.168.17.1
netmask=255.255.255.0
ipaddr=192.168.17.54
serverip=192.168.17.25
filesize=210634
bootargs=cOnsole=ttyS2,115200n8 root=/dev/mmcblk0p1 rw rootfstype=ext2 rootwait
bootcmd=mmcinit;run loaduimage;run mmcboot
mmcargs=setenv bootargs cOnsole=ttyS2,115200n8 root=/dev/mmcblk0p2 rw rootfstype=ext3 rootwait
stdin=serial
stdout=serial
stderr=serial
Environment size: 1482/131068 bytes
 
然后重新启动,启动代码略,出问题的地方如下:
Waiting for root device /dev/mmcblk0p2...
 
这是什么意思呢?
 
仔细研究了下beagle的SD卡启动,才明白,我现在的SD卡只有1个分区,就是FAT32,用来存放linux内核之类,而根文件系统需要存放在ext3分区才行。
 
以下为翻译beagle的部分并加上自己的实践。
 
那么怎样为目标板的SD卡创建双分区,1个分区用于启动linux,另外一个分区用来存放文件系统;
介绍
这个向导主要是用来介绍怎样创建一张双分区的SD卡,能从FAT分区部分启动,这部分可以被
OMAP3530的ROM bootload 与Linux/Windows识别,然后利用ext3分区来存放文件系统。
 
 
详细可见: http://code.google.com/p/beagleboard/wiki/LinuxBootDiskFormat
 
操作信息如下:(用的1G的卡)
[omap@localhost ~]$ sudo fdisk /dev/sdb
 
Command (m for help): p
 
Disk /dev/sdb: 1005 MB, 1005060096 bytes
31 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 1922 * 512 = 984064 bytes
Disk identifier: 0x6f20736b
 
This doesn't look like a partition table
Probably you selected the wrong device.
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   ?      404858      998775   570754815+  72  Unknown
Partition 1 has different physical/logical beginnings (non-Linux?):
     phys=(357, 116, 40) logical=(404857, 12, 11)
Partition 1 has different physical/logical endings:
     phys=(357, 32, 45) logical=(998774, 30, 51)
Partition 1 does not end on cylinder boundary.
/dev/sdb2   ?       87768     1095067   968014120   65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(87767, 21, 47)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(1095066, 14, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdb3   ?      972884     1980182   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(972883, 5, 30)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(1980181, 28, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdb4   ?     1501395     1501424       27749+   d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(1501394, 30, 25)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(1501423, 26, 33)
Partition 4 does not end on cylinder boundary.
 
Partition table entries are not in disk order
 
Command (m for help): d
Partition number (1-4): 1
 
Command (m for help): p
 
Disk /dev/sdb: 1005 MB, 1005060096 bytes
31 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 1922 * 512 = 984064 bytes
Disk identifier: 0x6f20736b
 
This doesn't look like a partition table
Probably you selected the wrong device.
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb2   ?       87768     1095067   968014120   65  Novell Netware 386
Partition 2 has different physical/logical beginnings (non-Linux?):
     phys=(288, 115, 43) logical=(87767, 21, 47)
Partition 2 has different physical/logical endings:
     phys=(367, 114, 50) logical=(1095066, 14, 42)
Partition 2 does not end on cylinder boundary.
/dev/sdb3   ?      972884     1980182   968014096   79  Unknown
Partition 3 has different physical/logical beginnings (non-Linux?):
     phys=(366, 32, 33) logical=(972883, 5, 30)
Partition 3 has different physical/logical endings:
     phys=(357, 32, 43) logical=(1980181, 28, 39)
Partition 3 does not end on cylinder boundary.
/dev/sdb4   ?     1501395     1501424       27749+   d  Unknown
Partition 4 has different physical/logical beginnings (non-Linux?):
     phys=(372, 97, 50) logical=(1501394, 30, 25)
Partition 4 has different physical/logical endings:
     phys=(0, 10, 0) logical=(1501423, 26, 33)
Partition 4 does not end on cylinder boundary.
 
Command (m for help): d
Partition number (1-4): 2
 
Command (m for help): d
Partition number (1-4): 3
 
Command (m for help): d
Selected partition 4
 
Command (m for help): 4
4: unknown command
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)
 
Command (m for help): p
 
Disk /dev/sdb: 1005 MB, 1005060096 bytes
31 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 1922 * 512 = 984064 bytes
Disk identifier: 0x6f20736b
 
   Device Boot      Start         End      Blocks   Id  System
 
Command (m for help): x
 
Expert command (m for help): h
Number of heads (1-256, default 31): 255
 
Expert command (m for help): s
Number of sectors (1-63, default 62): 63
Warning: setting sector offset for DOS compatiblity
 
Expert command (m for help): c  
Number of cylinders (1-1048576, default 1021): 122
 
Expert command (m for help): r
 
Command (m for help): p
 
Disk /dev/sdb: 1005 MB, 1005060096 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6f20736b
 
   Device Boot      Start         End      Blocks   Id  System
 
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-122, default 1): 
Using default value 1
Last cylinder, +cylinders or +size{K,M,G} (1-122, default 122): +50
Unsupported suffix: ''.
Supported: 10^N: KB (KiloByte), MB (MegaByte), GB (GigaByte)
            2^N: K  (KibiByte), M  (MebiByte), G  (GibiByte)
Last cylinder, +cylinders or +size{K,M,G} (1-122, default 122): []^[[D^[[D
Last cylinder, +cylinders or +size{K,M,G} (1-122, default 122): {
Last cylinder, +cylinders or +size{K,M,G} (1-122, default 122): [+50]
Last cylinder, +cylinders or +size{K,M,G} (1-122, default 122): 50
 
Command (m for help): t
Selected partition 1
Hex code (type L to list codes): c
Changed system type of partition 1 to c (W95 FAT32 (LBA))
 
Command (m for help): a
Partition number (1-4): 1
 
Command (m for help): n
Command action
   e   extended
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (51-122, default 51): 
Using default value 51
Last cylinder, +cylinders or +size{K,M,G} (51-122, default 122): 
Using default value 122
 
Command (m for help): p
 
Disk /dev/sdb: 1005 MB, 1005060096 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6f20736b
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          50      401593+   c  W95 FAT32 (LBA)
/dev/sdb2              51         122      578340   83  Linux
 
Command (m for help): w
The partition table has been altered!
 
Calling ioctl() to re-read partition table.
 
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page for additional
information.
Syncing disks.
[omap@localhost ~]$ sudo mkfs.msdos -F 32 /dev/sdb1 -n LABEL1
[sudo] password for omap: 
mkfs.msdos 3.0.0 (28 Sep 2008)
[omap@localhost ~]$ sudo mkfs.ext3 -L LABEL2 /dev/sdb2
mke2fs 1.41.4 (27-Jan-2009)
Filesystem label=LABEL2
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
36160 inodes, 144585 blocks
7229 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=150994944
5 block groups
32768 blocks per group, 32768 fragments per group
7232 inodes per group
Superblock backups stored on blocks: 
        32768, 98304
 
Writing inode tables: done                            
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done
 
This filesystem will be automatically checked every 36 mounts or
180 days, whichever comes first.  Use tune2fs -c or -i to override.
[omap@localhost ~]$ 
再看一下分区的效果
[omap@localhost ~]$ sudo fdisk -l
[sudo] password for omap: 
 
Disk /dev/sda: 21.4 GB, 21474836480 bytes
255 heads, 63 sectors/track, 2610 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005460d
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          25      200781   83  Linux
/dev/sda2              26        2320    18434587+  83  Linux
/dev/sda3            2321        2575     2048287+  82  Linux swap / Solaris
 
Disk /dev/sdb: 1005 MB, 1005060096 bytes
255 heads, 63 sectors/track, 122 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x6f20736b
 
   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1          50      401593+   c  W95 FAT32 (LBA)
/dev/sdb2              51         122      578340   83  Linux
[omap@localhost ~]$
 

然后把相关的文件系统之类拷贝到各自的分区,
启动,仍然出现错误,如下:
-----
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 156K
Warning: unable to open an initial console.
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
 
今天晚上帮公司写教程就写到10点半了,郁闷。
明天晚上继续----
 
继续----
于是看文档

原来是要把根文件系统拷贝到ext3区,我前面是直接把ubi.img之类的直接拷贝到ext3区了,怪不得。

问题应该就在这里,于是重新在电脑上插入SD卡,把根文件系统里面的目录及文件全部拷贝到ext3分区。

开机,重试。启动如下:

 

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 
reading uImage

2164276 bytes read
Booting from mmc ...
## 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 (luofc@LINUXSERVER) (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/mmcblk0p2 rw init=/linuxrc rootfstype=ext3 rootwait
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... 494.72 BogoMIPS (lpj=1933312)
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
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
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
mmc0: new high speed SD card at address 0002
tvp514x 2-005d: Write: retry ... 4
mmcblk0: mmc0:0002 SD1GB 958 MiB 
 mmcblk0: p1 p2
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)
kjournald starting.  Commit interval 5 seconds
EXT3 FS on mmcblk0p2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem).
Freeing init memory: 156K
Failed to execute /linuxrc.  Attempting defaults...

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.
/sbin/ldconfig: /lib/libts-0.0.so.0 is not a symbolic link

Tue Jan 27 08:47:00 UTC 2009
 start aging test...
interval = 86400 second

INIT: Entering runlevel: 5

Starting syslogd/klogd: done
 start aging test...
interval = 86400 second

 

The Angstrom Distribution DevKit8000 ttyS2

Angstrom 2008.1-test-20090127 DevKit8000 ttyS2

DevKit8000 login:


推荐阅读
  • 本文介绍了C#中生成随机数的三种方法,并分析了其中存在的问题。首先介绍了使用Random类生成随机数的默认方法,但在高并发情况下可能会出现重复的情况。接着通过循环生成了一系列随机数,进一步突显了这个问题。文章指出,随机数生成在任何编程语言中都是必备的功能,但Random类生成的随机数并不可靠。最后,提出了需要寻找其他可靠的随机数生成方法的建议。 ... [详细]
  • 本文介绍了Oracle数据库中tnsnames.ora文件的作用和配置方法。tnsnames.ora文件在数据库启动过程中会被读取,用于解析LOCAL_LISTENER,并且与侦听无关。文章还提供了配置LOCAL_LISTENER和1522端口的示例,并展示了listener.ora文件的内容。 ... [详细]
  • 如何在服务器主机上实现文件共享的方法和工具
    本文介绍了在服务器主机上实现文件共享的方法和工具,包括Linux主机和Windows主机的文件传输方式,Web运维和FTP/SFTP客户端运维两种方式,以及使用WinSCP工具将文件上传至Linux云服务器的操作方法。此外,还介绍了在迁移过程中需要安装迁移Agent并输入目的端服务器所在华为云的AK/SK,以及主机迁移服务会收集的源端服务器信息。 ... [详细]
  • Linux重启网络命令实例及关机和重启示例教程
    本文介绍了Linux系统中重启网络命令的实例,以及使用不同方式关机和重启系统的示例教程。包括使用图形界面和控制台访问系统的方法,以及使用shutdown命令进行系统关机和重启的句法和用法。 ... [详细]
  • Metasploit攻击渗透实践
    本文介绍了Metasploit攻击渗透实践的内容和要求,包括主动攻击、针对浏览器和客户端的攻击,以及成功应用辅助模块的实践过程。其中涉及使用Hydra在不知道密码的情况下攻击metsploit2靶机获取密码,以及攻击浏览器中的tomcat服务的具体步骤。同时还讲解了爆破密码的方法和设置攻击目标主机的相关参数。 ... [详细]
  • C++字符字符串处理及字符集编码方案
    本文介绍了C++中字符字符串处理的问题,并详细解释了字符集编码方案,包括UNICODE、Windows apps采用的UTF-16编码、ASCII、SBCS和DBCS编码方案。同时说明了ANSI C标准和Windows中的字符/字符串数据类型实现。文章还提到了在编译时需要定义UNICODE宏以支持unicode编码,否则将使用windows code page编译。最后,给出了相关的头文件和数据类型定义。 ... [详细]
  • 服务器上的操作系统有哪些,如何选择适合的操作系统?
    本文介绍了服务器上常见的操作系统,包括系统盘镜像、数据盘镜像和整机镜像的数量。同时,还介绍了共享镜像的限制和使用方法。此外,还提供了关于华为云服务的帮助中心,其中包括产品简介、价格说明、购买指南、用户指南、API参考、最佳实践、常见问题和视频帮助等技术文档。对于裸金属服务器的远程登录,本文介绍了使用密钥对登录的方法,并提供了部分操作系统配置示例。最后,还提到了SUSE云耀云服务器的特点和快速搭建方法。 ... [详细]
  • 本文详细介绍了cisco路由器IOS损坏时的恢复方法,包括进入ROMMON模式、设置IP地址、子网掩码、默认网关以及使用TFTP服务器传输IOS文件的步骤。 ... [详细]
  • 本文介绍了使用哈夫曼树实现文件压缩和解压的方法。首先对数据结构课程设计中的代码进行了分析,包括使用时间调用、常量定义和统计文件中各个字符时相关的结构体。然后讨论了哈夫曼树的实现原理和算法。最后介绍了文件压缩和解压的具体步骤,包括字符统计、构建哈夫曼树、生成编码表、编码和解码过程。通过实例演示了文件压缩和解压的效果。本文的内容对于理解哈夫曼树的实现原理和应用具有一定的参考价值。 ... [详细]
  • 本文讨论了在VMWARE5.1的虚拟服务器Windows Server 2008R2上安装oracle 10g客户端时出现的问题,并提供了解决方法。错误日志显示了异常访问违例,通过分析日志中的问题帧,找到了解决问题的线索。文章详细介绍了解决方法,帮助读者顺利安装oracle 10g客户端。 ... [详细]
  • 本文介绍了pack布局管理器在Perl/Tk中的使用方法及注意事项。通过调用pack()方法,可以控制部件在显示窗口中的位置和大小。同时,本文还提到了在使用pack布局管理器时,应注意将部件分组以便在水平和垂直方向上进行堆放。此外,还介绍了使用Frame部件或Toplevel部件来组织部件在窗口内的方法。最后,本文强调了在使用pack布局管理器时,应避免在中间切换到grid布局管理器,以免造成混乱。 ... [详细]
  • Python中sys模块的功能及用法详解
    本文详细介绍了Python中sys模块的功能及用法,包括对解释器参数和功能的访问、命令行参数列表、字节顺序指示符、编译模块名称等。同时还介绍了sys模块中的新功能和call_tracing函数的用法。推荐学习《Python教程》以深入了解。 ... [详细]
  • 使用C++编写程序实现增加或删除桌面的右键列表项
    本文介绍了使用C++编写程序实现增加或删除桌面的右键列表项的方法。首先通过操作注册表来实现增加或删除右键列表项的目的,然后使用管理注册表的函数来编写程序。文章详细介绍了使用的五种函数:RegCreateKey、RegSetValueEx、RegOpenKeyEx、RegDeleteKey和RegCloseKey,并给出了增加一项的函数写法。通过本文的方法,可以方便地自定义桌面的右键列表项。 ... [详细]
  • PHP组合工具以及开发所需的工具
    本文介绍了PHP开发中常用的组合工具和开发所需的工具。对于数据分析软件,包括Excel、hihidata、SPSS、SAS、MARLAB、Eview以及各种BI与报表工具等。同时还介绍了PHP开发所需的PHP MySQL Apache集成环境,包括推荐的AppServ等版本。 ... [详细]
  • 本文介绍了使用C++Builder实现获取USB优盘序列号的方法,包括相关的代码和说明。通过该方法,可以获取指定盘符的USB优盘序列号,并将其存放在缓冲中。该方法可以在Windows系统中有效地获取USB优盘序列号,并且适用于C++Builder开发环境。 ... [详细]
author-avatar
mobiledu2502908197
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有