Vypis pres RS232

Zajímavosti a různé testy Azbox HD.

Moderátoři: schmegea, monkus, gorick

Odpovědět
zbyneksk Czech Republic
Mírně pokročilý
Mírně pokročilý
Příspěvky: 294
Registrován: 06 kvě 2009, 22:18
Bydliště: Doma
Dal poděkování: 2 poděkování
Kontaktovat uživatele:

Vypis pres RS232

Příspěvek od zbyneksk »

Takze kdyz to dneska jde tak dobre, tak se s Vami jeste podelim o vypis bootu pri zapnuti AzBox-uHD pres seriovou linku RS232.
Trochu inspirace urcite neuskodi, alespon uvidite co a jak se zavadi...
Propojeni je provedeno pomoci serioveho kabelu a jednoducheho konvertoru RS232-TTL.
Misto DOM-u mam momentalne HDD, at to mohu poradne rozvrtat, ale to je asi vcelku jedno.

Kód: Vybrat vše

~ # cu --line /dev/ttyS0 --speed 115200
Connected.
xosPe0 serial#be7bfd3921bdcf3c7fa48886b4f5daaf subid 0x50
xenv cs2 ok
power supply: ok
dram0 ok (9)
dram1 ok (a)
zboot (0) ok
>
**************************************
* SMP863x zboot start ...
* Version: 2.4.0-2.8.0.1
* Started at 0x91000000.
* Configurations (chip revision: 6):
*    Use 8KB DRAM as stack.
*    Support XLoad format.
*    Enabled BIST mode.
*    Enabled memory test mode.
*    Use internal memory for stage0/1.
**************************************
Boot from flash (0x48000000) mapped to 0x8c000000.
Found XENV block at 0x8c000000.
CPU clock frequency: 300.37MHz.
System clock frequency: 200.25MHz.
DRAM0 dunit_cfg/delay0_ctrl (0xf34111ba/0x000a8888).
DRAM1 dunit_cfg/delay0_ctrl (0xf34111ba/0x00098887).
Using UART port 0 as console.
Board ID.: "852-E2"
Chip Revision: 0x8634:0x86 .. Matched.
Setting up H/W from XENV block at 0x8c000000.
  Setting <SYSCLK avclk_mux> to 0x00000000.
  Setting <SYSCLK hostclk_mux> to 0x00000100.
  Setting <IRQ rise edge trigger lo> to 0xff28ca00.
  Setting <IRQ fall edge trigger lo> to 0x0000c000.
  Setting <IRQ rise edge trigger hi> to 0x0000009f.
  Setting <IRQ fall edge trigger hi> to 0x00000000.
  Setting <IRQ GPIO map> to 0x20090820.
  Setting <PB default timing> to 0x10101010.
  Setting <PB timing0> to 0x10101010.
  Setting <PB Use timing0> to 0x000003f4.
  Setting <PB timing1> to 0x00110101.
  Setting <PB Use timing1> to 0x000003f3.
  Setting <PB timing2> to 0x105f1010.
  Setting <PB Use timing2> to 0x000003f8.
  PB cs config: 0x000e0040 (use 0x000e0040)
  Enabled Devices: 0x00021ace
    BM/IDE PCIHost Ethernet I2CM I2CS USB PCIDev2 PCIDev3 SCARD
  MAC: 00:02:14:13:XX:XX
  PCI IRQ routing:
    IDSEL 2: INTA(#14) INTB(#14) INTC(#14) INTD(#14) 
    IDSEL 3: INTA(#15) INTB(#15) INTC(#15) INTD(#15) 
  Smartcard pin assignments:
    OFF pin = 0
    5V pin = 1
    CMD pin = 2
  Setting up Clean Divider 2 to 96000000Hz.
  Setting up Clean Divider 4 to 33333333Hz.
  Setting up Clean Divider 5 to 25000000Hz.
  Setting up Clean Divider 6 to 20000000Hz.
  Setting up Clean Divider 7 to 20000000Hz.
  GPIO dir/data = 0x76000038/0x76000000
  UART0 GPIO mode/dir/data = 0x6e/0x00/0x00
  UART1 GPIO mode/dir/data = 0x6e/0x00/0x00
XENV block processing completed.
Found existing memcfg: DRAM0(0x08000000), DRAM1(0x08000000)
Heap/Temp/Temp1/Dest start at 0x14000000/0x16000000/0x15000000/0x12000000.
Default boot index: 0
Scanning ROMFS image at 0x8c040000 (0x48040000) .. Found.
ROMFS found at 0x8c040000, Volume name = YAMON_XRPC
Found 1 file(s) to be processed in ROMFS.
Processing xrpc_xload_yamon_ES4_prod.bin (start: 0x8c040090, size: 0x0002fe84)
  Checking zboot file signature .. Not found.
  Trying xrpc_xload format .. OK
  Checking zboot file signature at 0x13000000 .. OK
  Decompressing to 0x91200000 .. OK (453328/0x6ead0).
  Load time total 173/255 msec.
Execute final at 0x91200000 ..



**********************************
* YAMON ROM Monitor
* Revision 02.06-SIGMADESIGNS-01-2.8.0.1
**********************************
Memory:  code: 0x11000000-0x11040000, 0x11200000-0x11204000
reserved data: 0x11240000-0x12440000, PCI memory: 0x12440000-0x12840000
Environment variable 'start' exists. After 1 seconds
it will be interpreted as a YAMON command and executed.
Press Ctrl-C (or do BREAK) to bypass this.

xrpc succeeded
  Checking zboot signature..  it's a zboot file, signature OK.
  Decompressing to 0x90020000 .. 
Output length: 0x0096843a(9864250)
load compressed zboot file from 0xb3000000 to 0x90020000 OK
Linux version 2.6.15-sigma (kevin@kevin-laptop) (gcc version 3.4.2) #138 PREEMPT Thu Jan 22 21:35:07 KST 2009
Configured for SMP863x (revision ES6/RevA), detected SMP8634 (revision ES9/RevC).
SMP863x/SMP865x Enabled Devices under Linux/XENV 0x48000000 = 0x00021ace
 BM/IDE PCIHost Ethernet I2CM I2CS USB PCIDev2 PCIDev3 SCARD
Valid MEMCFG found at 0x10000fc0.
CPU revision is: 00019069
Determined physical RAM map:
 memory: 02fe0000 @ 10020000 (usable)
User-defined physical RAM map:
 memory: 06ae0000 @ 10020000 (usable)
On node 0 totalpages: 92928
  DMA zone: 92928 pages, LIFO batch:31
  DMA32 zone: 0 pages, LIFO batch:0
  Normal zone: 0 pages, LIFO batch:0
  HighMem zone: 0 pages, LIFO batch:0
Built 1 zonelists
Kernel command line: mem=107m console=ttyS0,115200
Primary instruction cache 16kB, physically tagged, 2-way, linesize 16 bytes.
Primary data cache 16kB, 2-way, linesize 16 bytes.
Synthesized TLB refill handler (20 instructions).
Synthesized TLB load handler fastpath (32 instructions).
Synthesized TLB store handler fastpath (32 instructions).
Synthesized TLB modify handler fastpath (31 instructions).
PID hash table entries: 2048 (order: 11, 32768 bytes)
Using 150.188 MHz high precision timer.
Console: colour dummy device 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 96256k/109440k available (4425k kernel code, 13156k reserved, 1007k data, 4200k init, 0k highmem)
Calibrating delay loop... 296.96 BogoMIPS (lpj=148480)
Mount-cache hash table entries: 512
Checking for 'wait' instruction...  available.
NET: Registered protocol family 16
tangox: creating TLB mapping for 0x20000000 at 0xc0000000, size 0x08000000.
PCI: Initializing SMP863x/SMP865x PCI host controller
PCI: Remapped PCI I/O space 0x58000000 to 0xc8020000, size 64 kB
PCI: Remapped PCI config space 0x50000000 to 0xc8004000, size 10 kB
PCI: device 1 disabled
PCI: device 4 disabled
PCI: Configured SMP863x/SMP865x as PCI slave with 128MB PCI memory
PCI: Region size is 16384KB
PCI: Map DMA memory 0x10020000-0x16b00000 for PCI at 0x11000000
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
tangox frequency scaling module installed.
Created /proc/cpucache_info entry.
NTFS driver 2.1.25 [Flags: R/W DEBUG].
JFFS2 version 2.2. (C) 2001-2003 Red Hat, Inc.
SGI XFS with no debug enabled
Initializing Cryptographic API
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
Software Watchdog Timer: 0.07 initialized. soft_noboot=0 soft_margin=60 sec (nowayout= 0)
Serial: 8250/16550 driver $Revision: 1.90 $ 2 ports, IRQ sharing disabled
serial8250: ttyS0 at MMIO 0x0 (irq = 9) is a 16550A
serial8250: ttyS1 at MMIO 0x0 (irq = 10) is a 16550A
loop: loaded (max 8 devices)
nbd: registered device at major 43
tango2_enet: ethernet driver for SMP863x internal mac
tango2_enet: detected phy at address 0x01
tango2_enet: mac address 00:02:14:13:XX:XX
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide0: SMP863x/SMP865x Bus Mastering IDE controller
Probing IDE interface ide0...
hda: IC35L060AVER07-0, ATA DISK drive
hda: no 80 conductors cable, falling back to lower udma mode
hda: set to Ultra DMA mode 2
ide0: DMA enabled for ATA DISK hda
ide0 at 0x223c0-0x223c7,0x22398 on irq 26
hda: max request size: 128KiB
hda: 120103200 sectors (61492 MB) w/1916KiB Cache, CHS=65535/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3 hda4
physmap flash device CS2: 800000 at 48000000
CS2: Physically mapped flash: Found 1 x16 devices at 0x0 in 16-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Using physmap partition definition
Adding partition #1-#5
Creating 5 MTD partitions on "CS2: Physically mapped flash":
0x00000000-0x00020000 : "CS2-Part1"
0x00020000-0x00040000 : "CS2-Part2"
0x00040000-0x00080000 : "CS2-Part3"
0x00080000-0x00700000 : "CS2-Part4"
0x00700000-0x00800000 : "CS2-Part5"
Initializing USB Mass Storage driver...
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
mice: PS/2 mouse device common for all mice
Advanced Linux Sound Architecture Driver Version 1.0.10rc3 (Mon Nov 07 13:30:21 2005 UTC).
usbcore: registered new driver snd-usb-audio
ALSA device list:
  No soundcards found.
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 4, 65536 bytes)
TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Freeing unused kernel memory: 4200k freed
mount: /etc/mtab: No such file or directory
Initializing random number generator... done.
===> Starting system configuration...
===> [0] replace busybox 1.15.2(udhcpc, ftpget, ftpput)
===> [1] VFD initializing...
[TD210] INITIALIZED END
[TD210] SLEEP MODE OFF
===> [2] USB 2.0 driver loading...
Using /lib/modules/2.6.15-sigma/kernel/drivers/usb/host/uhci-hcd.ko
USB Universal Host Controller Interface driver v2.3
PCI: Enabling device 0000:00:02.0 (0000 -> 0001)
uhci_hcd 0000:00:02.0: UHCI Host Controller
uhci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:02.0: irq 22, io base 0x58000000
uhci_hcd 0000:00:02.0: host system error, PCI problems?
uhci_hcd 0000:00:02.0: host controller halted, very bad!
uhci_hcd 0000:00:02.0: HC died; cleaning up
uhci_hcd 0000:00:02.0: USB bus 1 deregistered
uhci_hcd 0000:00:02.0: init 0000:00:02.0 fail, -143
uhci_hcd: probe of 0000:00:02.0 failed with error -143
PCI: Enabling device 0000:00:02.1 (0000 -> 0001)
uhci_hcd 0000:00:02.1: UHCI Host Controller
uhci_hcd 0000:00:02.1: new USB bus registered, assigned bus number 1
uhci_hcd 0000:00:02.1: irq 22, io base 0x58000020
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Using /lib/modules/2.6.15-sigma/kernel/drivers/usb/host/ehci-hcd.ko
PCI: Enabling device 0000:00:02.2 (0000 -> 0002)
ehci_hcd 0000:00:02.2: EHCI Host Controller
ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:02.2: irq 22, io mem 0x60000000
ehci_hcd 0000:00:02.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
===> [3] File system checking...
check hda
Disk /dev/hda: 61.4 GB, 61492838400 bytes
/dev/hda1               1         320      327679+  83  Linux
/dev/hda2             321         640      327680   83  Linux
/dev/hda3             641         704       65536   83  Linux
/dev/hda4             705       58644    59330560   83  Linux
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3 FS on hda4, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
check hdb
Cannot find HDD
===> [4] Make device files
mknod: /dev/mum0: File exists
mknod: /dev/em8xxx0: File exists
===> [5] Export hostname
Starting network...
udhcpc (v1.15.2) started
eth0: link up, 100Mbps, full-duplex, lpa 0xC5E1
Sending discover...
Sending select for 192.168.0.232...
Lease of 192.168.0.232 obtained, lease time 86400
deleting routers
route: SIOC[ADD|DEL]RT: No such process
adding dns 192.168.0.1
===> Starting services...
===> [1] telnetd starting...
===> Starting MMP custom setting...

MMP login: llad: module license 'LGPL' taints kernel.
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:1570] init_module: begun
em8xxx0 [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:1431] identify: board as unknown subid
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:1556] identify: device 0x8634 0x86 accepted with software tango2revA
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:1635] mumk_register_tasklet 0xc809a000
mumk_register_tasklet: (0) tasklet c809a000 status @c8da3ea4
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:353] mumk_register_channel_tasklet[0] 0xc80a7000: pE=0xc8da3c80 ch_idx=33 module_id=0x3c 0xc8da3ca0
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:353] mumk_register_channel_tasklet[1] 0xc80a9000: pE=0xc8da3c80 ch_idx=35 module_id=0x3c 0xc8da3cac
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:353] mumk_register_channel_tasklet[2] 0xc80ab000: pE=0xc8da3c80 ch_idx=41 module_id=0x13c 0xc8da3cb8
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:353] mumk_register_channel_tasklet[3] 0xc80ad000: pE=0xc8da3c80 ch_idx=43 module_id=0x13c 0xc8da3cc4
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:353] mumk_register_channel_tasklet[4] 0xc80af000: pE=0xc8da3c80 ch_idx=37 module_id=0x23c 0xc8da3cd0
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:353] mumk_register_channel_tasklet[5] 0xc80b1000: pE=0xc8da3c80 ch_idx=39 module_id=0x23c 0xc8da3cdc
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:353] mumk_register_channel_tasklet[6] 0xc80b3000: pE=0xc8da3c80 ch_idx=69 module_id=0x3f 0xc8da3ce8
em8xxx [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:1732] init_module: done. Found 1 em8xxx
>>>>>>> CONFIG_TANGO2 :: HZ = 1000
scard: SMP8634 driver loaded (rd_buffer_size = 288, wr_buffer_size = 288, freq = 3600000)
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for FTDI USB Serial Device
usbcore: registered new driver ftdi_sio
drivers/usb/serial/ftdi_sio.c: v1.4.3:USB FTDI Serial Converters Driver
fuse: Unknown symbol r4k_flush_cache_page
rtusb init --->
usbcore: registered new driver rt2870
em8xxx0 [/DATA/Yellow.mine/Working/SigmaDesign8634/SMP8634-2850.gcc3.4/mrua_SMP8634_v2_8_5_1_celrun_lg_branch_10212009-HDMI-fix_facsprod_legacy_dev.mips.nodts.work/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c:1237] EMhwlibUnregisterCleanable module 45, prop 4543 (from rmmod em8xxx_id 822): not found
Samozrejme i zde se lze prihlasit do konzoly. Staci stisknout Enter a naskoci login::

Kód: Vybrat vše

MMP login: root
Mar 27 23:44:38 login[823]: root login  on `ttyS0'

MMP[~]$ df
Filesystem                Size      Used Available Use% Mounted on
/dev/mtdblock5            1.0M    380.0k    644.0k  37% /DISK1
/dev/hda1               309.9M    114.8M    179.1M  39% /MMP
/dev/hda2               309.9M     10.0M    283.9M   3% /PLUGINS
/dev/hda3                62.0M      8.4M     50.4M  14% /DISK2
/dev/hda4                55.7G    226.1M     52.6G   0% /Download
MMP[~]$ 
MMP[~]$ exit
logout

MMP login: 
Tak co na to rikate? Nekdo musi byt prvni pokusitel, nebot nekdo by to mel po tvurcich experimentalne overit, ze. :D
Naposledy upravil(a) zbyneksk dne 06 dub 2010, 22:57, celkem upraveno 1 x.


Odpovědět

Zpět na „Zajímavosti a různé testy Azbox HD“