Пакеты поддержки модулей для ЗОСРВ «Нейтрино» > MIPS > BSP для устройств на базе процессора Элвис 1892ВМ206 > Загрузка образа ОС



Загрузка образа ОС

Загрузка образа ОС

Загрузка образа с SD карты памяти
Результат загрузки образа

Загрузка образа с SD карты памяти

Для загрузки образа ЗОСРВ «Нейтрино» с карты памяти SD/microSD, скопируйте заранее подготовленный загрузочный образ *.elf на FAT раздел карты памяти и после включения питания ПМ в консоли загрузчика U-Boot выполните следующие команды:

setenv kpdaboot "fdt addr ${fdtcontroladdr}; fdt move ${fdtcontroladdr} 0x40000000; mmc dev 1; load mmc 1:1 0x40100000 <имя_образа>.elf; bootelf 0x40100000" run kpdaboot

Результат загрузки образа

В результате выполнения приведенных выше команд должен запуститься образ ЗОСРВ, выведены сообщения о ходе загрузки и запущен командный интерпретатор. Пример вывода:

switch to partitions #0, OK mmc1 is current device 5573756 bytes read in 277 ms (19.2 MiB/s) ## Starting application at 0x40109010 ... KPDA Neutrino startup for the Salute EL24PM1/OM1 board with Cortex-A9 MPCore fdt: ADD RAM addr: 40000000 size 40000000 fdt: ADD RAM addr: a0000000 size 40000000 Apll_div: 00000022 SCU_CONFIG = 00000501, 2 cpus L2 cache enabled CPU0: L1 Icache: 1024x32 CPU0: L1 Dcache: 1024x32 WB CPU0: VFP-d32 FPSID=41033094 CPU0: NEON MVFR0=10110222 MVFR1=01111111 CPU0: 413fc090: Cortex A9 MPCore rev 0 816MHz uart0, ivec idx 0 == 97 dma0, ivec idx 0 == 40 fdt: fdt_addr 40000000 fdt_flags 0000000f (00000008) fdt: fdt_addr 1 fdt_flags 8 fdt: if 1 phandle==00000031, offset=00002360 fdt: ether_gpio_status 00000000 fdt: ether_gpio_types[0] 00000001 fdt: fdt_data 40002384 phandle==00000012, offset=00002db4 fdt: gpio data 00000012(gpioc:6):00000014:00000001 fdt: ADD ether gpio 2 info 00000043:00000014:00000001 fdt: ether_gpio_status 00000000 fdt: ether_gpio_types[1] 00000002 fdt: fdt_data 4000239c phandle==00000022, offset=00002ab4 fdt: gpio data 00000022(gpioa:6):00000003:00000000 fdt: ADD ether gpio 2 info 00000041:00000003:00000000 fdt: ADD sdhc_base addr: 3800b000 size 00002000 fdt: ADD bus_width width: 00000008 fdt: ADD interrupt vector: 0000006e Spll_div: 0000000c fdt: ADD sdhc_base addr: 3800d000 size 00002000 fdt: ADD bus_width width: 00000008 fdt: ADD interrupt vector: 0000006f Loading IFS...decompressing...done elf_map: 1M va=fe000000 pa=40100000 sz=00100000 elf_map: 1M va=fe000000 pa=40100000 sz=00100000 board_smp_start: cpu1 -> 4010db88 board_smp_start: cpu1 -> 4010db88 board_smp_start: trampoline_sz 32 board_smp_start: mcom02_secondary_boot_vector 0 board_smp_start: mcom02_secondary_boot_vector 1074814048 board_smp_start: Remap BOOT board_smp_start: Turn on power domain for CPU1 4 CPU1: L1 Icache: 1024x32 CPU1: L1 Dcache: 1024x32 WB CPU1: VFP-d32 FPSID=41033094 CPU1: NEON MVFR0=10110222 MVFR1=01111111 CPU1: 413fc090: Cortex A9 MPCore rev 0 816MHz Alloc syspage size:00000f88 _syspage_ptr:4001e000 callout_io_map_armv7_dev: mapping paddr:39004000 returns:fc40d000 callout_io_map: mapping paddr:39000200 returns:fc40e200 callout_io_map: mapping paddr:39001000 returns:fc40f000 callout_io_map: mapping paddr:39000100 returns:fc410100 callout_io_map: mapping paddr:39004000 returns:fc413000 callout_io_map: mapping paddr:39001000 returns:fc414000 callout_io_map: mapping paddr:38095000 returns:fc415000 callout_io_map: mapping paddr:39000600 returns:fc416600 callout_io_map: mapping paddr:38028000 returns:fc417000 callout_io_map: mapping paddr:38028000 returns:fc418000 callout_io_map: mapping paddr:38028000 returns:fc419000 Header size=0x0000009c, Total Size=0x00000920, #Cpu=2, Type=4 Section:system_private offset:0x000001f8 size:0x00000068 syspage ptr user:fc408000 kernel:fc408000 cpupage ptr user:ffff1000 kernel:fc409000 spacing:4096 kdebug info:00000000 callback:00000000 boot pgms: idx=0 0) base paddr:40147000 start addr:fe07e518 ramsize:00000000 pagesize:00001000 Section:qtime offset:0x00000158 size:0x00000060 boot:00000000 CPS:0000000018519600 rate/scale:2450980392/-18 intr:29 flags:00000001 load:0 epoch:1970 rr_mul:0 adj count/inc:0/0 nsec:0000000000000000 stable:0000000000000000 inc:00000000 Section:callout offset:0x000000a0 size:0x00000048 reboot:fc408dc4 power:fc408de0 timer_load:fc408e00 reload:fc408e48 value:fc408e64 0) display:fc408e84 poll:fc408eac break:fc408edc 1) display:00000000 poll:00000000 break:00000000 Section:cpuinfo offset:0x000001b8 size:0x00000040 0) cpu:413fc090 flg:c000007e spd:816 cache i/d:1/2 name:78 1) cpu:413fc090 flg:c000007e spd:816 cache i/d:1/2 name:78 Section:cacheattr offset:0x000008c0 size:0x00000060 0) flags:03 size:0020 #lines:8000 control:fc408980 next:255 1) flags:01 size:0020 #lines:0400 control:fc408ae4 next:0 2) flags:22 size:0020 #lines:0400 control:fc408b30 next:0 Section:meminfo offset:0x00000920 size:0x00000000 Section:asinfo offset:0x000006a0 size:0x000001e0 0000) 0000000000000000-00000000ffffffff o:ffff a:0010 p:100 c:00000000 n:21 0020) 0000000000000000-00000000ffffffff o:0000 a:0010 p:100 c:00000000 n:28 0040) 0000000040000000-000000007fffffff o:0020 a:0017 p:100 c:00000000 n:36 0060) 00000000a0000000-00000000dfffffff o:0020 a:0017 p:100 c:00000000 n:36 0080) 0000000000000000-00000000ffffffff o:ffff a:0010 p:100 c:00000000 n:21 00a0) 0000000040000000-000000004fffffff o:0080 a:0007 p:100 c:00000000 n:40 00c0) 0000000040145288-000000004111159b o:0000 a:0005 p:100 c:00000000 n:222 00e0) 0000000040100180-0000000040145287 o:0000 a:0007 p:100 c:00000000 n:230 0100) 0000000040145288-000000004111159b o:0000 a:0007 p:100 c:00000000 n:238 0120) 0000000000000000-00000000ffffffff o:ffff a:0010 p:100 c:00000000 n:246 0140) 00000000fe048000-00000000fe0cb500 o:0120 a:0000 p:100 c:00000000 n:254 0160) 0000000040000000-000000004000ffff o:0040 a:0007 p:100 c:00000000 n:260 0180) 0000000040021000-000000004010017f o:0040 a:0007 p:100 c:00000000 n:260 01a0) 000000004111159c-000000007fffffff o:0040 a:0007 p:100 c:00000000 n:260 01c0) 00000000a0000000-00000000dfffffff o:0060 a:0007 p:100 c:00000000 n:260 Section:hwinfo offset:0x00000390 size:0x00000310 0) size:3 tag:3(Group) isize:3, iname:0(hw), owner:65535, kids:5 12) size:3 tag:17(Bus) isize:3, iname:9(unknown), owner:0, kids:3 24) size:3 tag:3(Group) isize:3, iname:45(rtc), owner:12, kids:1 36) size:4 tag:58(Device) isize:11, iname:49(1892vm14), owner:24, kids:0 00 00 00 00 52) size:1 tag:65(pad) 56) size:6 tag:69(location) 00 00 00 00 00 70 02 38 00 00 00 00 00 00 00 00 00 00 00 00 80) size:4 tag:58(Device) isize:15, iname:95(uart), owner:0, kids:0 01 00 00 00 96) size:6 tag:69(location) 00 10 00 00 00 90 02 38 00 00 00 00 00 00 00 00 00 00 00 00 120) size:2 tag:100(irq) 61 00 00 00 128) size:3 tag:104(inputclk) 00 44 95 08 10 00 00 00 140) size:4 tag:58(Device) isize:14, iname:113(wdt), owner:12, kids:0 07 00 00 00 156) size:1 tag:65(pad) 160) size:6 tag:69(location) 20 00 00 00 00 10 03 38 00 00 00 00 00 00 00 00 00 00 00 00 184) size:3 tag:104(inputclk) 00 44 95 08 01 00 00 00 196) size:4 tag:58(Device) isize:13, iname:117(dma), owner:0, kids:0 04 00 00 00 212) size:1 tag:65(pad) 216) size:6 tag:69(location) 00 10 00 00 00 00 22 37 00 00 00 00 00 00 00 00 00 00 00 00 240) size:2 tag:100(irq) 28 00 00 00 248) size:4 tag:58(Device) isize:13, iname:121(spll), owner:12, kids:1 07 00 00 00 264) size:6 tag:69(location) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 288) size:3 tag:104(inputclk) 00 88 2a 11 01 00 00 00 300) size:4 tag:58(Device) isize:14, iname:121(spll), owner:248, kids:1 07 00 00 00 316) size:1 tag:65(pad) 320) size:6 tag:69(location) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 344) size:3 tag:104(inputclk) 00 88 2a 11 01 00 00 00 356) size:4 tag:58(Device) isize:14, iname:121(spll), owner:300, kids:0 07 00 00 00 372) size:1 tag:65(pad) 376) size:6 tag:69(location) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 400) size:3 tag:104(inputclk) 00 44 95 08 01 00 00 00 412) size:4 tag:58(Device) isize:19, iname:126(enet), owner:0, kids:0 02 00 00 00 428) size:1 tag:65(pad) 432) size:6 tag:69(location) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 456) size:2 tag:146(drvr_dll) 83 00 00 00 464) size:2 tag:155(nicphyaddr) 01 00 00 00 472) size:4 tag:166(nicaddr) 06 00 00 00 43 14 01 41 03 00 00 00 488) size:4 tag:187(Synonym) isize:4, iname:174(arasan-gemac), owner:0, kids:0 9c 01 00 00 504) size:3 tag:17(Bus) isize:25, iname:195(sdio), owner:65535, kids:0 516) size:2 tag:146(drvr_dll) c8 00 00 00 524) size:1 tag:65(pad) 528) size:6 tag:69(location) 00 20 00 00 00 b0 00 38 00 00 00 00 00 00 00 00 00 00 00 00 552) size:8 tag:207(busattr) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 584) size:2 tag:100(irq) 6e 00 00 00 592) size:3 tag:104(inputclk) 00 88 2a 11 01 00 00 00 604) size:3 tag:17(Bus) isize:24, iname:195(sdio), owner:65535, kids:0 616) size:2 tag:146(drvr_dll) d7 00 00 00 624) size:6 tag:69(location) 00 20 00 00 00 d0 00 38 00 00 00 00 00 00 00 00 00 00 00 00 648) size:8 tag:207(busattr) 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 08 00 00 00 00 00 00 00 00 00 00 00 680) size:2 tag:100(irq) 6f 00 00 00 688) size:3 tag:104(inputclk) 00 88 2a 11 01 00 00 00 Section:typed_strings offset:0x00000260 size:0x00000020 off:0 type:2 string:'el24om1' off:12 type:5 string:'el24om1' Section:strings offset:0x00000280 size:0x00000110 [0]'hw' [3]'Group' [9]'unknown' [17]'Bus' [21]'memory' [28]'below4G' [36]'ram' [40]'1to1' [45]'rtc' [49]'1892vm14' [58]'Device' [65]'pad' [69]'location' [78]'Cortex A9 MPCore' [95]'uart' [100]'irq' [104]'inputclk' [113]'wdt' [117]'dma' [121]'spll' [126]'enet' [131]'1892vm14-gemac' [146]'drvr_dll' [155]'nicphyaddr' [166]'nicaddr' [174]'arasan-gemac' [187]'Synonym' [195]'sdio' [200]'sdhci0' [207]'busattr' [215]'sdhci1' [222]'imagefs' [230]'startup' [238]'bootram' [246]'virtual' [254]'vboot' [260]'sysram' Section:intrinfo offset:0x00000880 size:0x00000040 0) vector_base:00000000, #vectors:160, cascade_vector:7fffffff cpu_intr_base:00000000, cpu_intr_stride:0, flags:0000 id => flags:8000, size:005c, rtn:fc408bac eoi => flags:9000, size:003c, rtn:fc408c08 mask:fc408c44, unmask:fc408c78, config:fc408cac Section:smp offset:0x00000148 size:0x00000010 send_ipi:fc408d78 cpu:00000000 Section:pminfo offset:0x00000920 size:0x00000000 Section:mdriver offset:0x00000920 size:0x00000000 Section:boxinfo offset:0x00000920 size:0x00000000 Section:cpu offset:0x00000128 size:0x00000020 page_flush:fc408930 page_flush_deferred:fc40897c upte_ro:00000e6e upte_rw:00000c7e kpte_ro:0000065e kpte_rw:0000045e mask_nc:000001cc ttb_attr:0000006a pte_attr=0000044d mmu_cr1:00c51878 set:00803c7f clr:00000000 -> 00c53c7f cpu_startnext: cpu1 -> fc408cbc cpu_startnext: invoking vstart:4010e840 sysp:fc408000 eip:fc408cbc cpu:00000001 System page at phys:4001e000 user:fc408000 kern:fc408000 Starting next program at vfe07e518 cpu_startnext: cpu0 -> fe07e518 cpu_startnext: invoking vstart:4010e840 sysp:fc408000 eip:fe07e518 cpu:00000000 VFPv3: fpsid=41033094 coproc_attach(10): attach fe0960c8 (fe097b88) coproc_attach(11): attach fe0960c8 (fe097b88) Welcome to KPDA on the Salute EL24PM1/OM1 board (ARM Cortex-A9 MPCore) Starting ethernet driver... OK Configure ethernet interface to address 192.168.0.168 Starting qnet... Starting qconn... Starting inetd... #




Предыдущий раздел: перейти