7101

来自IPTV爱好者
跳转至: 导航搜索

概况

 跟B600是一样的,还是ST710X 
 用的PHY跟B600不太一样,启动地址也是一样的。要发挥效果有两种方式:用STAPI或是自己写ST231的解码程序

启动信息

7101 uboot

uboot>boot
(Re)start USB...
USB:   scanning bus for devices... 2 USB Device(s) found
       scanning bus for storage devices... 1 Storage Device(s) found
** Bad Reiserfs partition or disk - usb 0:0 **
stopping USB..
## Booting image at 84800000 ...
Bad Magic Number

Loading from NAND 256MiB 3,3V 8-bit, offset 0x200000
   Image Name:   Linux-2.6.17-sh
   Image Type:   SuperH Linux Kernel Image (gzip compressed)
   Data Size:    1656891 Bytes =  1.6 MB
   Load Address: 84401000
   Entry Point:  84402000
## Booting image at 84000000 ...
   Image Name:   Linux-2.6.17-sh
   Image Type:   SuperH Linux Kernel Image (gzip compressed)
   Data Size:    1656891 Bytes =  1.6 MB
   Load Address: 84401000
   Entry Point:  84402000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Warning: Unable to determine if kernel is built for 29- or 32-bit mode!

Starting kernel console=ttyAS1,57600 bigphysarea=1536 panic=1 nwhwconf=device:eth0,hwaddr:00:01:2A:03:10:e0 root=/dev/mtdblock/2 rootfstype=yaffs 3 - 0x00000000 - 0 ...

Linux version 2.6.17-sh (master@radius7) (gcc version 4.2.1 20070719 (experimental) (STMicroelectronics/Linux Base 4.2.1-34)) #442 Mon Dec 8 16:31:27 MSK 2008
STB initialisation
STi7109 cut 3.4
Built 1 zonelists
Kernel command line: console=ttyAS1,57600 bigphysarea=1536 panic=1 nwhwconf=device:eth0,hwaddr:00:01:2A:03:10:e0 root=/dev/mtdblock/2 rootfstype=yaffs 3
PID hash table entries: 512 (order: 9, 2048 bytes)
Using tmu for system timer
Console: colour dummy device 80x25
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 92160k/102400k available (2629k kernel code, 10224k reserved, 356k data, 72k init)
PVR=04061100 CVR=30480000 PRR=00009300
I-cache : n_ways=2 n_sets=256 way_incr=8192
I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
D-cache : n_ways=2 n_sets=512 way_incr=16384
D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
Mount-cache hash table entries: 512
CPU: STb710x
NET: Registered protocol family 16
Generic PHY: Registered new driver
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 4096 bind 2048)
TCP reno registered
bigphysarea: Allocated 1536 pages at 0x847e3000.
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
aufs 20081103
yaffs Nov 29 2008 11:01:29 Installing.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered (default)
io scheduler cfq registered
lirc_dev: IR Remote Control driver registered, at major 61
lirc_stm: probe found data for platform device lirc
lirc_stm: STM LIRC plugin has IRQ 125<3>lirc_stm: SCD not available in IR-RX mode. Not armed
lirc_dev: lirc_register_plugin: sample_rate: 0
lirc_dev: plugin lirc_stm registered at minor number = 0
lirc_dev: device interface at /dev/lirc0
STMicroelectronics LIRC driver initialized.
STPIO layer initialised
Device probe found data for platform device wdt
STM watchdog initialized
stssc layer initialized
STMicroelectronics - Coprocessors st231 Init
st-coprocessor-0: No RAM reserved
st231-0 Coprocessor -------------------------------------------
    not configured!
---------------------------------------------------------------
st-coprocessor-1: No RAM reserved
st231-1 Coprocessor -------------------------------------------
    not configured!
---------------------------------------------------------------
i2c /dev entries driver
STMicroelectronics ASC driver initialized
ttyAS0 at MMIO 0xb8032000 (irq = 121) is a asc
ttyAS1 at MMIO 0xb8033000 (irq = 120) is a asc
ttyAS2 at MMIO 0xb8030000 (irq = 123) is a asc
DEBUG[ASC] asc_request_port for line 2
STMMAC driver:
        platform registration... <6>done!
        no valid MAC address; please, set using ifconfig or nwhwconfig!
STMMAC MII Bus: probed
KS8721: Registered new driver
ata1: SATA max UDMA/133 cmd 0xB9209000 ctl 0xB9209820 bmdma 0x0 irq 170
ata1: SATA link down (SStatus 0)
scsi0 : sata_stm
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 703 at 0x057e0000
Bad eraseblock 834 at 0x06840000
Bad eraseblock 1692 at 0x0d380000
cmdlinepart partition parsing not available
Using static partition definition
Creating 5 MTD partitions on "nand":
0x00000000-0x00200000 : "NAND: Kernel emergency"
0x00200000-0x00400000 : "NAND: Kernel"
0x00400000-0x08000000 : "NAND: Root"
0x08000000-0x0c000000 : "NAND: System"
0x0c000000-0x10000000 : "NAND: User"
ST40_start_host_control
ST40_start_host_control proceeding
ST40-ehci ST40-ehci.2: ST EHCI Host Controller
ST40-ehci ST40-ehci.2: new USB bus registered, assigned bus number 1
ST40-ehci ST40-ehci.2: irq 169, io mem 0xb91ffe00
ST40-ehci ST40-ehci.2: USB 0.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
2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (ST40)
ST40_start_host_control
ST40-ohci ST40-ohci.1: STB7100 OHCI
ST40-ohci ST40-ohci.1: new USB bus registered, assigned bus number 2
ST40-ohci ST40-ohci.1: irq 168, io mem 0xb91ffc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using ST40-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi1 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver hiddev
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: auto selecting yaffs2
block 672 is bad
block 803 is bad
VFS: Mounted root (yaffs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 72k freed
INIT: version 2.86 booting
INIT: Entering runlevel: 3/init.d
Front panel driver
input: STB6 panel buttons as /class/input/input0
mount: /dev/mtdblock/2 already mounted or /mnt/nand busy
yaffs: Attempting MTD mount on 31.3, "mtdblock3"
yaffs: Attempting MTD mount on 31.4, "mtdblock4"
block 157 is bad
  Vendor: Kingston  Model: DataTraveler 2.0  Rev: PMAP
  Type:   Direct-Access                      ANSI SCSI revision: 00
SCSI device sda: 7936000 512-byte hdwr sectors (4063 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
devfs_add_partitioned(84)
SCSI device sda: 7936000 512-byte hdwr sectors (4063 MB)
sda: Write Protect is off
sda: assuming drive cache: write through
 /dev/sda: p1
sd 1:0:0:0: Attached scsi removable disk sda
aufs test_add:436:mount[235]: uid/gid/perm /usr 0/0/0755, 0/0/0666
NTFS driver 2.1.27 [Flags: R/W DEBUG MODULE].
yaffs: Attempting MTD mount on 8.0, "sda"
yaffs: Attempting MTD mount on 8.0, "sda"
mount: you must specify the filesystem type
mount: special device /dev/sdb/disc does not exist
eth0: dhcpcd 4.0.6stmmaceth_open: MAC address 00:01:2a:03:10:e0
 starting
eth0: broadcasting for a lease
PHY: 0:01 - Link is Up - 10/Half
eth0: offered 192.168.0.120 from 192.168.0.1
eth0: checking 192.168.0.120 is available on attached networks
                                            eth0: acknowledged 192.168.0.120 from 192.168.0.1
eth0: leased 192.168.0.120 for 864000 seconds
eth0: write_lease: Read-only file system
          embxshell: module license 'Copyright 2002 STMicroelectronics, All rights reserved' taints kernel.
      stapi_core: no version for "__up" found: kernel tainted.
      stpio_core_init_module(): Initializing STPIO Module
stos_core_init_module(): Initializing STOS Module
stcommon_core_init_module(): Initializing STCOMMON Module
PTI Clock: Cut 3.0 detected -> applying 27000000Hz oscillator config ...
Preproc Clock: Cut 3.0 detected -> setting Preproc clock.
stvtg_ioctl_init_module: Initializing STVTG IOCTL Module
sthdmi_ioctl_init_module: Initializing STHDMI IOCTL Module
stvbi_ioctl_init_module: Initializing STVBI kernel Module
stvout_ioctl_init_module: Initializing STVOUT IOCTL Module
utils_ioctl_init_module: Initializing UTILS IOCTL Module
LXLOADER virtual io kernel address of phys 0xa4200000 = 0xa4200000
setting up Audio LX in NON-DEBUG mode
Starting Audio LX by disabling reset
LX loaded:
  Base: 0xa4200000
  Last: 0xa427da24
  Size:514596
LXLOADER virtual io kernel address of phys 0xa4000000 = 0xa4000000
setting up LX in NON-DEBUG mode
Starting video LX by disabling reset
LX loaded:
  Base: 0xa4000000
  Last: 0xa410cf14
  Size:1101588
 MME_RegisterTransport = 0

(none) login:


启动信息2

uboot>setenv bootargs $console:$ethaddr root=/dev/mtdblock/2 rootfstype=yaffs $runlevel
uboot>bootm
## Booting image at 84800000 ...
   Image Name:   Linux-2.6.17-sh
   Image Type:   SuperH Linux Kernel Image (gzip compressed)
   Data Size:    1478027 Bytes =  1.4 MB
   Load Address: 84401000
   Entry Point:  84402000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

Warning: Unable to determine if kernel is built for 29- or 32-bit mode!

Starting kernel console=ttyAS1,57600 bigphysarea=1536 panic=1 nwhwconf=device:eth0,hwaddr:00:01:2A:03:10:e0 root=/dev/mtdblock/2 rootfstype=yaffs 3 - 0x00000000 - 0 ...

Linux version 2.6.17.14_stm22_0039-V130 (root@localhost.localdomain) (gcc °?±? 4.1.1 (STMicroelectronics Special) [build Oct 16 2006]) #2 PREEMPT Fri Jun 13 12:12:19 CST 2008
not found sys_mem config
STMicroelectronics STb7109E Reference board initialisation
STb7109 version 3.x
Built 1 zonelists
Kernel command line: console=ttyAS1,57600 bigphysarea=1536 panic=1 nwhwconf=device:eth0,hwaddr:00:01:2A:03:10:e0 root=/dev/mtdblock/2 rootfstype=yaffs 3
PID hash table entries: 256 (order: 8, 1024 bytes)
Using tmu for system timer
Console: colour dummy device 80x25
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 39484k/49152k available (2432k kernel code, 9608k reserved, 340k data, 88k init)
PVR=04061100 CVR=30480000 PRR=00009300
I-cache : n_ways=2 n_sets=256 way_incr=8192
I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2
D-cache : n_ways=2 n_sets=512 way_incr=16384
D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4
Mount-cache hash table entries: 512
CPU: STb710x
NET: Registered protocol family 16
Generic PHY: Registered new driver
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
DMA: Registering DMA API.
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
bigphysarea: Allocated 1536 pages at 0x84755000.
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
io scheduler noop registered (default)
SST bdctrl Driver V1.0_2007.07.26
bdctrl: insmod date and time: Jun 13 2008 12:10:05
logo_init: insmod date and time: Jun 13 2008 12:10:02
B120 logo Driver V1.0_2007.01.09
g_disp_mode:0xffffffff
reg_init:  g_disp_mode=-1
the reg counts ntsc -1080i:0x000001ba
[draw_logo]:  Enter draw_logo for the logo ...
Can not found LOGO patition!
Failed in logo_probe (ret=-1)
Device probe found data for platform device lirc
lirc_dev: IR Remote Control driver registered, at major 61
lirc_dev: lirc_register_plugin: sample_rate: 0
lirc_dev: lirc_register_plugin: plugin lirc_stm owner 00000000
STM LIRC plugin has IRQ 125
 Lirc STM: Using IRB mode
STMicroelectronics LIRC driver configured
STPIO layer initialised
Device probe found data for platform device wdt
STM watchdog initialized
STMicroelectronics ASC driver initialized
ttyAS0 at MMIO 0xb8032000 (irq = 121) is a asc
ttyAS1 at MMIO 0xb8033000 (irq = 120) is a asc
RTL8201cp: Registered new driver
PPP generic driver version 2.4.2
NET: Registered protocol family 24
stmmac_debug_dir_proc install ok
STMMAC driver:
        platform registration... <6>done!
stmmaceth_probe: dev->features=0x28
        no valid MAC address; please, set using ifconfig or nwhwconfig!
STMMAC MII Bus: probed
nwhw_config: (eth0) setting mac address: 00:01:2A:03:10:e0
Generic ST boards onboard flash device: 0x02000000 (32.0Mb) at 0x00000000
ST40-ehci ST40-ehci.2: ST EHCI Host Controller
ST40-ehci ST40-ehci.2: new USB bus registered, assigned bus number 1
ST40-ehci ST40-ehci.2: irq 169, io mem 0xb91ffe00
ST40-ehci ST40-ehci.2: USB 0.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
2005 April 22 USB 1.1 'Open' Host Controller (OHCI) Driver (ST40)
ST40-ohci ST40-ohci.1: STB7100 OHCI
ST40-ohci ST40-ohci.1: new USB bus registered, assigned bus number 2
ST40-ohci ST40-ohci.1: irq 168, io mem 0xb91ffc00
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usb 1-1: new high speed USB device using ST40-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
scsi0 : SCSI emulation for USB Mass Storage devices
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
i2c_st40_pio: ST40 PIO based I2C Driver
i2c_st40_pio: allocated pin (2,0) for scl (0x846e78cc)
i2c_st40_pio: allocated pin (2,1) for sda (0x846e78dc)
i2c_st40_pio: allocated pin (3,0) for scl (0x846e794c)
i2c_st40_pio: allocated pin (3,1) for sda (0x846e795c)
i2c_st40_pio: allocated pin (4,0) for scl (0x846e79cc)
i2c_st40_pio: allocated pin (4,1) for sda (0x846e79dc)
i2c_st40_pio bus 0: SCL=PIO2[0], SDA=PIO2[1]
i2c_st40_pio bus 1: SCL=PIO3[0], SDA=PIO3[1]
i2c_st40_pio bus 2: SCL=PIO4[0], SDA=PIO4[1]
DMA: Registering ST40 STB710x FDMAC handler (5 channels).
   STB_7109C3 SLIMCORE_HW V0.0 FDMA_FW V3.0
STMicroelectronics - Coprocessors st231 Init
st-coprocessor-0: No RAM reserved
st231-0 Coprocessor -------------------------------------------
    not configured!
---------------------------------------------------------------
st-coprocessor-1: No RAM reserved
st231-1 Coprocessor -------------------------------------------
    not configured!
---------------------------------------------------------------
Netfilter messages via NETLINK v0.30.
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
stmmaceth_open: MAC address 00:01:2a:03:10:e0
0:0f not found
eth0: Could not attach to PHY
stmmaceth_open: Cannot attach to PHY (error: -19)
IP-Config: Failed to open eth0
IP-Config: No network devices available.
Root-NFS: No NFS server available, giving up.
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "mtdblock/2" or unknown-block(2,0)
Please append a correct "root=" boot option
ALERT: normmode rootfs fs is destroyed !
can not get mtd info
ERROR-FFS: [InitFlashFileSys] Getsize failed!
init ffs failed!

ALERT:File system panic, system will enter safemode...