в азере не настоящий RS 232 на борту
поэтому нужен либо спец кабель, либо RS232(комп)->TTL(азер) конвертор
Простой конвертер RS-232-TTL
без подобной конвертации мы увидим следующую картинку:
оригинальное сообщение:
----------------------------------------------------------------------------------------------------------------------------
Война с вечным booting при включении продолжается у меня четвертый месяц.
История войны здесь, в это ветке, можно посмотреть по моим сообщениям
Победить пока не смог. Но! Вчера подцепил свой Premium через JTAG разъем на плате.
Для соединения использовал эмуляцию com-порта с помощь программатора INFINITY BOX (он для программирования сотовых телефонов).
В принципе в этой ветке
пишут что достаточно любого кабеля от мобильного телефона, например от NOKIA
Соединяюсь через виндовый гипертерминал.
Грузится загрузчик YAMON, запускается Linux. могу зайти на бокс под логином - паролем (root-azbox), смотреть содержимое папок, запускать команды.
полныл лог Гипертерминала с момента включения ресивера
Вижу лог всего что происходит с боксом. Но в линуксе не разбираюсь абсолютно, поэтому из логов понять ничего не могу. Посоветуйте, что предпринять дальше? Как я понимаю нужно чтобы прошло полное обновление прошивки, тогда восстановится и загрузчик. Возможно ли это сделать с помощью команд с компа? На Сатдриме подобную проблему пользователь tov2266 решил путем выпаивания флешки и заливки в нее дампа с такой же рабочей.
Есть этот скачанный дамп. Можно ли его залить без выпаивания встроенной флешки? Ведь доступ к DISK1 (а он, как я понимаю находится на встроенной флешке) я имею. Жду помощи.
поэтому нужен либо спец кабель, либо RS232(комп)->TTL(азер) конвертор
Простой конвертер RS-232-TTL
При разработке различного рода электронных устройств с использованием микроконтроллеров очень часто оказывается полезной возможность подключения их к персональному компьютеру через последовательный порт. Однако напрямую это сделать невозможно, поскольку по стандарту RS-232, сигнал передается уровнями -3..-15 В (логическая <1> и +3..+15В (логический <0>.
Spoiler
оригинальное сообщение:
----------------------------------------------------------------------------------------------------------------------------
Война с вечным booting при включении продолжается у меня четвертый месяц.
История войны здесь, в это ветке, можно посмотреть по моим сообщениям
Spoiler
http://www.pristavka.de/index.php/topic,1487.0.html
Победить пока не смог. Но! Вчера подцепил свой Premium через JTAG разъем на плате.
Для соединения использовал эмуляцию com-порта с помощь программатора INFINITY BOX (он для программирования сотовых телефонов).
В принципе в этой ветке
Spoiler
http://www.pristavka.de/index.php/topic,5534.msg65413.html#msg65413
Spoiler
es geht so:
Du nimmst ein Handy USB Datenkabel (funktionieren nicht alle)
z.B. Nokia CA-42 ging bei mir
Schneidest den Handy Stecker ab und schließt es an den Receiver an
Bei Nokia CA-42 so:
CA-42 Receiver (J30)
-----------------------------------------------
7 1 (TX)
3+4 2 (VC+)
8 3 (GROUND)
6 4 (RX)
Pin 3 und 4 müssen zusammen, damit die Schaltung im Stecker aktiviert wird.
Wichtig! bei original Nokia CA-42 Kabel muß erst der Receiver angeschlossen werden, sonst wird der Stecker an PC nicht als COM Port erkannt. Weil die Spannungversorgung für das IC im Stecker vom Receiver kommt.
Was hat sich Nokia bloß dabei gedacht? Na-ja, die müssen ordentlich neue Handyakkus verkaufen!
Alternativ dazu kann man zwischen Pin3+4 (VC+) und Pin8(GROUND) eine externe Spannungsversorgung (ca. 3-5V) anlegen. Der Pin2 am Receiver bleibt dann frei.
Bei nicht originalen CA-42 Adaptern wird die Spannungsversorgung über den USB Bus gespeist. Diese waren bei mir aber ziemlich instabil. es gab ständig Abbrüche bei der Kommunikation.
Wenn der Stecker als COM Port erkannt wird, kann man mit der Software weitermachen.
Ich benutze unter Linux den minicom.
Код:
minicom -D /dev/ttyUSB0
bei billigt CA-42
oder
Код:
minicom -D /dev/ttyACM0
bei original CA-42
Unter Windows funktioniert ganz gut der Hyperterminal.
mit dem jeweiligen COM Port
Folgende Einstellungen sollten gewählt werden.
115200 8N1 Flusskontrolle aus
Habe momentan leider keine Zeit für Fotos, vielleicht komme ich noch dazu...
Du nimmst ein Handy USB Datenkabel (funktionieren nicht alle)
z.B. Nokia CA-42 ging bei mir
Schneidest den Handy Stecker ab und schließt es an den Receiver an
Bei Nokia CA-42 so:
CA-42 Receiver (J30)
-----------------------------------------------
7 1 (TX)
3+4 2 (VC+)
8 3 (GROUND)
6 4 (RX)
Pin 3 und 4 müssen zusammen, damit die Schaltung im Stecker aktiviert wird.
Wichtig! bei original Nokia CA-42 Kabel muß erst der Receiver angeschlossen werden, sonst wird der Stecker an PC nicht als COM Port erkannt. Weil die Spannungversorgung für das IC im Stecker vom Receiver kommt.
Was hat sich Nokia bloß dabei gedacht? Na-ja, die müssen ordentlich neue Handyakkus verkaufen!
Alternativ dazu kann man zwischen Pin3+4 (VC+) und Pin8(GROUND) eine externe Spannungsversorgung (ca. 3-5V) anlegen. Der Pin2 am Receiver bleibt dann frei.
Bei nicht originalen CA-42 Adaptern wird die Spannungsversorgung über den USB Bus gespeist. Diese waren bei mir aber ziemlich instabil. es gab ständig Abbrüche bei der Kommunikation.
Wenn der Stecker als COM Port erkannt wird, kann man mit der Software weitermachen.
Ich benutze unter Linux den minicom.
Код:
minicom -D /dev/ttyUSB0
bei billigt CA-42
oder
Код:
minicom -D /dev/ttyACM0
bei original CA-42
Unter Windows funktioniert ganz gut der Hyperterminal.
mit dem jeweiligen COM Port
Folgende Einstellungen sollten gewählt werden.
115200 8N1 Flusskontrolle aus
Habe momentan leider keine Zeit für Fotos, vielleicht komme ich noch dazu...
Соединяюсь через виндовый гипертерминал.
Грузится загрузчик YAMON, запускается Linux. могу зайти на бокс под логином - паролем (root-azbox), смотреть содержимое папок, запускать команды.
полныл лог Гипертерминала с момента включения ресивера
Spoiler
xosPe0 serial#442adc4e43bb654d2ec612e38e5eddab subid 0x50
xenv cs2 ok
power supply: ok
dram0 ok (
dram1 ok (9)
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/0x000a7887).
DRAM1 dunit_cfg/delay0_ctrl (0xf34111ba/0x000a7777).
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:15:4b:1b
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 (now
ayout= 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:15:4b:1b
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: DM255610V010, 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: 501760 sectors (256 MB) w/1KiB Cache, CHS=980/16/32, 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
Fail to Receive ACK
[td210] SLEEP MODE OFF
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
===> [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
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
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 2
uhci_hcd 0000:00:02.1: irq 22, io base 0x58000020
hub 2-0:1.0: USB hub found
hub 2-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 3
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 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
usb 1-1: new full speed USB device using uhci_hcd and address 2
===> [3] File system checking...
check hda
Disk /dev/hda: 256 MB, 256901120 bytes
/dev/hda1 1 560 143359+ 83 Linux
/dev/hda2 561 624 16384 83 Linux
/dev/hda3 625 656 8192 83 Linux
/dev/hda4 657 980 82944 83 Linux
usb 3-1: new high speed USB device using ehci_hcd and address 2
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
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 down
Sending discover...
Sending discover...
Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 1994752 512-byte hdwr sectors (1021 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1994752 512-byte hdwr sectors (1021 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
sda: unknown partition table
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
No lease, failing
===> Starting services...
===> [1] telnetd starting...
===> Starting MMP custom setting...
AZBox login: llad: module license 'LGPL' taints kernel.
em8xxx [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_G
CC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c
:1346] init_module: begun
em8xxx0 [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_
GCC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.
c:1228] identify: board as unknown subid
em8xxx [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_G
CC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c
:1332] identify: device 0x8634 0x86 accepted with software tango2revA
mumk_register_tasklet: (0) tasklet c8099000 status @c8d594b4
em8xxx [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_G
CC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c
:1464] init_module: done. Found 1 em8xxx
AZBox login: root
Password:
Jan 1 00:01:14 login[831]: root login on `ttyS0'
AZBox[~]$
xenv cs2 ok
power supply: ok
dram0 ok (
dram1 ok (9)
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/0x000a7887).
DRAM1 dunit_cfg/delay0_ctrl (0xf34111ba/0x000a7777).
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:15:4b:1b
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 (now
ayout= 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:15:4b:1b
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: DM255610V010, 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: 501760 sectors (256 MB) w/1KiB Cache, CHS=980/16/32, 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
Fail to Receive ACK
[td210] SLEEP MODE OFF
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
Fail to Receive ACK
===> [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
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
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 2
uhci_hcd 0000:00:02.1: irq 22, io base 0x58000020
hub 2-0:1.0: USB hub found
hub 2-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 3
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 3-0:1.0: USB hub found
hub 3-0:1.0: 4 ports detected
usb 1-1: new full speed USB device using uhci_hcd and address 2
===> [3] File system checking...
check hda
Disk /dev/hda: 256 MB, 256901120 bytes
/dev/hda1 1 560 143359+ 83 Linux
/dev/hda2 561 624 16384 83 Linux
/dev/hda3 625 656 8192 83 Linux
/dev/hda4 657 980 82944 83 Linux
usb 3-1: new high speed USB device using ehci_hcd and address 2
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
kjournald starting. Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on hda2, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda3, internal journal
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
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 down
Sending discover...
Sending discover...
Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 1994752 512-byte hdwr sectors (1021 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1994752 512-byte hdwr sectors (1021 MB)
sda: Write Protect is off
sda: Mode Sense: 23 00 00 00
sda: assuming drive cache: write through
sda: unknown partition table
sd 0:0:0:0: Attached scsi removable disk sda
sd 0:0:0:0: Attached scsi generic sg0 type 0
usb-storage: device scan complete
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
Sending discover...
No lease, failing
===> Starting services...
===> [1] telnetd starting...
===> Starting MMP custom setting...
AZBox login: llad: module license 'LGPL' taints kernel.
em8xxx [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_G
CC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c
:1346] init_module: begun
em8xxx0 [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_
GCC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.
c:1228] identify: board as unknown subid
em8xxx [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_G
CC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c
:1332] identify: device 0x8634 0x86 accepted with software tango2revA
mumk_register_tasklet: (0) tasklet c8099000 status @c8d594b4
em8xxx [/DATA/Yellow/Working/SigmaDesign8634/SMP8634-2805/mrua_SMP8634_2.8.0.5_G
CC4_facsprod_legacy_dev.mips.nodts/MRUA_src/rua/emhwlib_kernel/kernel_src/krua.c
:1464] init_module: done. Found 1 em8xxx
AZBox login: root
Password:
Jan 1 00:01:14 login[831]: root login on `ttyS0'
AZBox[~]$
Вижу лог всего что происходит с боксом. Но в линуксе не разбираюсь абсолютно, поэтому из логов понять ничего не могу. Посоветуйте, что предпринять дальше? Как я понимаю нужно чтобы прошло полное обновление прошивки, тогда восстановится и загрузчик. Возможно ли это сделать с помощью команд с компа? На Сатдриме подобную проблему пользователь tov2266 решил путем выпаивания флешки и заливки в нее дампа с такой же рабочей.
Spoiler
http://www.satdream.ru/forum/index.php?topic=3922.msg28733#msg28733
Есть этот скачанный дамп. Можно ли его залить без выпаивания встроенной флешки? Ведь доступ к DISK1 (а он, как я понимаю находится на встроенной флешке) я имею. Жду помощи.
Комментарий