Загрузка образа ОС
Для загрузки образа ЗОСРВ «Нейтрино» на ПМ по сети используется протокол TFTP. На инструментальной системе необходимо настроить TFTP сервер и скопировать полученный загрузочный образ image-mitxc1vm8.bin
в каталог, использующийся TFTP сервером.
Далее следует соединить нуль-модемным и USB 2.0 A - USB B кабелями инструмнтальную систему с целевым модулем, затем проверить наличие устройства /dev/ttyS*
. После следует соединить компоненты сетевым кабелем и запустить терминальную программу, например, minicom со следующими параметрами: скорость 115200, 8 бит, без контроля четности, 1 стоп-бит, порт /dev/ttyS*
.
После включения питания ПМ в терминальной программе должен присутствовать отладочный вывод загрузчика PMON:
Reset hardware ... I am CORE#0. Init DDR3 #0 Reset DDR3 controller ... done Gate Training #0 Try: 0xbb0001a8 = 000001fe, 0xbb0001a8 = 00000000 00: bb0001ac: 09 01: bb0001b0: 09 02: bb0001b4: 09 03: bb0001b8: 09 04: bb0001bc: 09 05: bb0001c0: 09 06: bb0001c4: 09 07: bb0001c8: 09 08: bb0001cc: 09 Result: 0xbb000174 = 00020080 Write Leveling lrrrrrr 01a0d068 Uncached memory test ... ok Cached memory test ... ok Init DDR3 #1 Reset DDR3 controller ... done Gate Training #0 Try: 0xbb0001a8 = 000001fe, 0xbb0001a8 = 00000000 00: bb0001ac: 08 01: bb0001b0: 08 02: bb0001b4: 08 03: bb0001b8: 08 04: bb0001bc: 08 05: bb0001c0: 08 06: bb0001c4: 08 07: bb0001c8: 08 08: bb0001cc: 09 Result: 0xbb000174 = 00020080 Write Leveling lrrrrrr 01a0d068 Uncached memory test ... ok Cached memory test ... ok Press any key to run MPRIME. PMON2000 MIPS Initializing (RAM loaded). Standby... ROM CRC OK PMON2000 MIPS Initializing (RAM loaded, compressed). Standby... CONFIG=88d0c083 CONFIG_SK=1fff00c0 PROCID=05130543 PMON2000 instance is uncached PCI arbiter disabled. Skipping PCI bus initialisation. init_proc: initframe->sp = 0xae7fb6d0 mainbus0 (root) localbus0 at mainbus0 rio0 at localbus0 rsmp0 at localbus0 ttyr0 at rsmp0 cmdr0 at rsmp0 sendr0 at rsmp0 ttyi2c0 at localbus0lcd0 at localbus0ttys0 at localbu dc0 at localbus0 emulsrom, address 60:00:00:01:02:40 lxtphy0 at dc0 phy 0: Microchip Technology Inc. PHY, rev. 3 lxtphy1 at dc0 phy 1: Microchip Technology Inc. PHY, rev. 3 gc0 at localbus0 emulsrom, address 12:34:56:78:90:00 rgephy0 at gc0 phy 0: RTL8169S/8110S PHY, rev. 5 rgephy1 at gc0 phy 1: RTL8169S/8110S PHY, rev. 5 ttyv0 at localbus0ttyv_attach: Vivante DC35, fb: 0xae96d000, size: 0x300000 bytes Supported modes: (DVI_640x480) (DVI_800x600) (DVI_960x540) (DVI_1024x768) (LVDS_1024x768) (LVDS_1920x1080) *(LVDS_P_1024x768) spibr0 at localbus0spif0 at spibr0 spif_attach: cs0, S25FL127S spif1 at spibr0 spif_attach: cs1, S25FL127S pcibr0 at mainbus0 pci0 at pcibr0 bus 0 uhci0 at pci0 dev 0 function 0 vendor 0x191e product 0x3381 rev 0x02: generic polled usb1 at uhci0: USB revision 1.1 uhub1 at usb1 uhub1: class 9/0 rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered ehci0 at pci0 dev 0 function 1 vendor 0x191e product 0x3380 rev 0x01: generic polled ehci0: EHCI version 1.0 ehci0: companion controller, 2 ports each: uhci0 usb0 at ehci0: USB revision 2.0 uhub0 at usb0 uhub0: class 9/0 rev 2.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pcibr1 at mainbus0 pci1 at pcibr1 bus 1 pciide0 at pci1 dev 0 function 0 vendor 0x191e product 0x3351 rev 0x02: DMA (unsupported), channel 0 wired to nativI pciide0: using generic polled for native-PCI interrupt wd0 at pciide0 channel 0 drive 0: <16GB SATA Flash Drive> wd0: can use 16-bit, PIO mode 4 wd0: 16-sector PIO, LBA, 15272MB, 16383 cyl, 16 head, 63 sec, 31277232 sectors pcibr2 at mainbus0 pci2 at pcibr2 bus 2 uhub2 at uhub0 port 1 uhub2:vendor 0x0424 product 0x2514class 9/0 rev 2.00/b.b3, addr 2 uhub2: 4 ports with 4 removable, self powered, multiple transaction translators class 239/2 rev 2.00/0.04, addr 3, uhub2 port 1 not configured class 0/0 rev 2.00/6.00, addr 4, uhub2 port 2 not configured uhidev0 at uhub2 port 3 configuration 1 interface 0 uhidev0: rev 1.10/4.42, addr 5, iclass 3/0 uhidev0: 9 report ids uhid at uhidev0 reportid 1 not configured uhid at uhidev0 reportid 3 not configured uhid at uhidev0 reportid 5 not configured uhid at uhidev0 reportid 6 not configured uhid at uhidev0 reportid 7 not configured uhid at uhidev0 reportid 8 not configured uhid at uhidev0 reportid 9 not configured class 0/0 rev 2.00/6.00, addr 6, uhub2 port 4 not configured uhub3 at uhub0 port 2 uhub3:vendor 0x0424 product 0x2514class 9/0 rev 2.00/b.b3, addr 7 uhub3: 4 ports with 4 removable, self powered, multiple transaction translators System init done. .______ .___ ___. ______ .__ __. ___ ___ ___ ___ | _ \ | \/ | / __ \ | \ | | |__ \ / _ \ / _ \ / _ \ | |_) || \ / || | | || \| | ) || | | || | | || | | | | ___/ | |\/| || | | || . ` | / / | | | || | | || | | | | | | | | || `--' || |\ | / /_ | |_| || |_| || |_| | |__| |__| |__| \______/ |__| \__| |____| \___/ \___/ \___/ Version: (k64rio) CPU VM8v2/VM9v2 @ 400.02 MHz / Bus @ 400.00 MHz PMON uses 256 MB. Autoboot commands: "sh -c 'sh /dev/script'" Technological mode Waiting for command ... PMON>
Для загрузки образа ЗОСРВ «Нейтрино» cледует в консоли загрузчика PMOON выполнить следующие команды:
PMON> ifconfig gc0 <IP адрес целевого модуля> PMON> cp tftp://<IP адрес инструментальной машины>/image-mitxc1vm8.bin /dev/ram@0x80010000,0x5000000 PMON> g 0x80010000
В результате выполнения приведенных выше команд должен запуститься образ ЗОСРВ, выведены сообщения о ходе загрузки и запущен командный интерпретатор:
ehci_shutdown: stopping the HC uhci_shutdown: stopping the HC uhci0: host controller halted Shutdown Vivante DC35 KPDA Neutrino IPL for the MITX_C1VM8 module Scanning for KPDA image... Scanning image @ 0x80014000 Image found. Jumping to startup. Welcome to KPDA Neutrino running on the MITX_C1VM8 module Starting Watchdog Timer module Starting I2C driver Starting GPIO driver Starting USB driver Starting UART driver Starting SATA driver... Sync System Clock with RTC... Path=0 - 1890VM8 Generic Starting ethernet driver... target=0 lun=0 Direct-Access(0) - 16GB SATA Flash Rev: SFPS OK Configure gigabit ethernet interface kg0 to address 192.168.1.168 Starting qnet... Starting qconn... Starting inetd... Starting shell.. #
Предыдущий раздел: перейти