{"id":299641,"date":"2020-03-04T09:00:17","date_gmt":"2020-03-04T09:00:17","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=299641"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=299641","title":{"rendered":"\u041e\u0431\u0437\u043e\u0440 \u0437\u0430\u0449\u0438\u0442\u044b \u041f\u041e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430 S905X (secured boot)"},"content":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/488982\/\">\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0451\u0442 \u043e \u0437\u0430\u0449\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 S905X. \u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u2014 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043e\u0444\u0442.<\/p>\n<h3>S905X<\/h3>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 S905X \u2014 \u044d\u0442\u043e ARM Cortex-A53 \u0441 \u0442\u0430\u043a\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 \u0434\u043e 1,5GHz, \u043d\u0430\u043f\u0438\u0447\u043a\u0430\u043d\u044b\u0439 \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c\u0438 \u0434\u0435\u043a\u043e\u0434\u0435\u0440\u0430\u043c\u0438 \u0434\u043b\u044f \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 H.265 4K, VP9, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0439 4\u041aUHD \u0438 \u0442.\u0434. \u0412 \u043e\u0431\u0449\u0435\u043c \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043f\u043b\u043e\u0445\u043e\u0439 \u0432\u044b\u0431\u043e\u0440. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0438\u043d\u043d\u0438\u043a\u0430, AMLogic \u0432\u0441\u0442\u0440\u043e\u0438\u043b\u0430 \u0432 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0443\u044e \u00abAdvanced TrustZone security system\u00bb, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0438\u0441\u043a\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u044b\u043c \u0443\u0447\u0430\u0441\u0442\u043a\u0430\u043c \u043f\u0430\u043c\u044f\u0442\u0438 ROM&#8217;\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u044b \u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0443 \u041f\u041e \u0438 \u0442.\u043f. \u0414\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"https:\/\/developer.arm.com\/ip-products\/security-ip\/trustzone\" rel=\"nofollow\">\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f<\/a>.<a name=\"habracut\"><\/a> \u0412 \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0435 SecureOS \u0432\u044b\u0441\u0442\u0443\u043f\u0430\u0435\u0442 ATOS-V1.5-g3e467d9 (\u0443\u0442\u0432\u0435\u0440\u0436\u0434\u0430\u0442\u044c \u043d\u0435 \u0431\u0443\u0434\u0443, \u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u044f\u043b).<\/p>\n<h3>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h3>\n<p>  \u0420\u0430\u0437\u043e\u0431\u0440\u0430\u0432 \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0443, \u044f \u0431\u0435\u0437 \u0442\u0440\u0443\u0434\u0430 \u043d\u0430\u0448\u0451\u043b \u043f\u0438\u043d\u044b RxD, TxD \u0438 GND \u0434\u043b\u044f UART. \u041d\u0430 \u043e\u0431\u0440\u0430\u0442\u043d\u043e\u0439 \u0441\u0442\u043e\u0440\u043e\u043d\u0435 \u043f\u0440\u0438\u0441\u0443\u0442\u0441\u0442\u0432\u043e\u0432\u0430\u043b\u0438 \u0440\u0430\u0437\u044c\u0451\u043c \u0434\u043b\u044f \u043a\u043d\u043e\u043f\u043a\u0438 reset (\u043d\u0435 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043e) \u0438 \u043c\u0435\u0441\u0442\u043e \u0434\u043b\u044f \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440\u0430. \u0421\u0443\u0434\u044f \u043f\u043e \u0440\u0430\u0441\u043f\u043e\u043b\u043e\u0436\u0435\u043d\u0438\u044e \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440 \u0431\u044b\u043b \u043f\u043e\u0445\u043e\u0436 \u043d\u0430 board-to-board \u0434\u043b\u044f \u0430\u043b\u044c\u0442\u0435\u0440\u043d\u0430\u0442\u0438\u0432\u043d\u043e\u0439 \u043a\u0430\u0440\u0442\u044b \u0435\u041c\u041c\u0421 (\u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u0435\u0441\u0442\u0435\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0443\u0435\u0442).<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/e7\/ws\/oz\/e7wsoz1cpn6iinl5tjz__nc6xoc.png\"><\/p>\n<p>  \u0421\u0432\u043e\u0431\u043e\u0434\u043d\u0430\u044f \u0432 \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044f \u0434\u043b\u044f S905 \u0442\u0430\u043a\u0438\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0442\u0435\u043c\u044b, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0441\u0438\u043a\u0432\u0435\u043d\u0446\u0438\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0447\u0443\u0442\u044c \u043c\u0435\u043d\u0435\u0435 \u0447\u0435\u043c \u043f\u043e\u043b\u043d\u043e\u0441\u0442\u044c\u044e \u043d\u0435 \u0437\u0430\u0442\u0440\u0430\u0433\u0438\u0432\u0430\u043b\u0430 \u0438 \u044f\u0432\u043b\u044f\u043b\u0430\u0441\u044c \u0441 \u0442\u043e\u0447\u043a\u0438 \u0437\u0440\u0435\u043d\u0438\u044f RE \u043f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u0431\u0435\u0441\u043f\u043e\u043b\u0435\u0437\u043d\u043e\u0439. \u041e\u0442\u043b\u043e\u0436\u0438\u0432 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e, \u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b UART \u0438\u2026 \u0431\u044b\u043b \u043f\u0440\u0438\u044f\u0442\u043d\u043e \u0443\u0434\u0438\u0432\u043b\u0451\u043d \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u044c\u044e \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0430. \u041d\u043e \u043d\u0430 \u044d\u0442\u043e\u043c \u043f\u043e\u0436\u0430\u043b\u0443\u0439 \u0432\u0441\u0451. U-Boot \u043d\u0438\u043a\u0430\u043a \u043d\u0435 \u0440\u0435\u0430\u0433\u0438\u0440\u043e\u0432\u0430\u043b \u043d\u0430 \u043a\u043b\u0430\u0432\u0438\u0430\u0442\u0443\u0440\u0443 \u0438, \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0448\u0443\u0441\u0442\u0440\u043e \u0433\u0440\u0443\u0437\u0438\u043b \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b \u044f\u0434\u0440\u043e Android&#8217;a. <\/p>\n<div class=\"spoiler\"><b class=\"spoiler_title\">\u041b\u043e\u0433 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 U-Boot&#39;a<\/b><\/p>\n<div class=\"spoiler_text\">\n<pre><code class=\"plaintext\"> GXL:BL1:9ac50e:bb16dc;FEAT:BDFC31BC:0;POC:3;RCY:0;EMMC:0;READ:0;0.0;0.0;CHK:0; TE: 351954  BL2 Built : 16:42:36, Nov  3 2016.  gxl g3eddb43 - xiaobo.gu@droid05  set vcck to 1120 mv set vddee to 1000 mv Board ID = 4 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled DDR3 chl: Rank0+1 @ 768MHz - FAIL DDR3 chl: Rank0 @ 768MHz - PASS Rank0: 1024MB(auto)-2T-11 DataBus test pass! AddrBus test pass! -s Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 aml log : R2048 check pass! New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01700000, size: 0x0000d600 aml log : R2048 check pass! Load bl31 from eMMC, src: 0x00020200, des: 0x01700000, size: 0x00015400 aml log : R2048 check pass! Load bl32 from eMMC, src: 0x00038200, des: 0x01700000, size: 0x00035a00 aml log : R2048 check pass! Load bl33 from eMMC, src: 0x00070200, des: 0x01700000, size: 0x000aa200 aml log : R2048 check pass! NOTICE:  BL3-1: v1.0(debug):fb68908 NOTICE:  BL3-1: Built : 18:30:11, Nov  1 2016 aml log : bl31 detect secure boot ! [Image: gxl_v1.1.3154-065f772 2016-09-29 14:08:54 yan.wang@droid05]  OPS=0x84  bc fc af 5f a2 b4 4d 4b 1c 91 59 9f [1.280536 Inits done]  secure task start! high task start! low task start! INFO:    BL3-1: Initializing runtime services INFO:    BL3-1: Initializing BL3-2 INFO:    BL3-2: ATOS-V1.5-g3e467d9 #1 Mon Aug 22 17:11:43 CST 2016 arm INFO:    BL3-2: chip version = RevC (21:C - 0:0) INFO:    BL3-2: crypto engine DMA INFO:    BL3-2: secure time TEE INFO:    BL3-1: Preparing for EL3 exit to normal world INFO:    BL3-1: Next image address = 0x1000000 INFO:    BL3-1: Next image spsr = 0x3c9   U-Boot 2015.01 (Nov 23 2018 - 15:50:35)  DRAM:  1 GiB Relocation Offset is: 36ec8000 register usb cfg[0][1] = 0000000037f5e258 [CANVAS]canvas init vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters vpu: clk_level = 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpp: vpp_init boot_device_flag : 1 Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc. init bus_cycle=6, bus_timing=7, system=5.0ns reset failed get_chip_type and ret:fffffffe get_chip_type and ret:fffffffe chip detect failed and ret:fffffffe nandphy_init failed and ret=0xfffffff1 MMC:   aml_priv-&gt;desc_buf = 0x0000000033ec86b0 aml_priv-&gt;desc_buf = 0x0000000033eca9d0 SDIO Port B: 0, SDIO Port C: 1 emmc\/sd response timeout, cmd8, status=0x1ff2800 emmc\/sd response timeout, cmd55, status=0x1ff2800 [mmc_startup] mmc refix success [mmc_init] mmc init success mmc read lba=0x14000, blocks=0x400       Amlogic multi-dtb tool       Multi dtb detected       Multi dtb tool version: v2 .       Support 2 dtbs.         aml_dt soc: gxl platform: sx6b6x variant: 1g         dtb 0 soc: gxl   plat: sx6b6x   vari: 1g         dtb 1 soc: gxl   plat: sx6b6x   vari: 2g       Find match dtb: 0 start dts,buffer=0000000033ecd270,dt_addr=0000000033ecda70 parts: 11 00:      logo\t0000000002000000 1 01:  recovery\t0000000002000000 1 02:       rsv\t0000000000800000 1 03:       tee\t0000000000800000 1 04:     crypt\t0000000002000000 1 05:      misc\t0000000002000000 1 06: instaboot\t0000000020000000 1 07:      boot\t0000000002000000 1 08:    system\t0000000050000000 1 09:     cache\t0000000040000000 2 10:      data\tffffffffffffffff 4 get_dtb_struct: Get emmc dtb OK! overide_emmc_partition_table: overide cache  [mmc_get_partition_table] skip partition cache. Partition table get from SPL is :          name                        offset              size              flag ===================================================================================    0: bootloader                         0            400000                  0    1: reserved                     2400000           4000000                  0    2: cache                        6c00000          40000000                  2    3: env                         47400000            800000                  0    4: logo                        48400000           2000000                  1    5: recovery                    4ac00000           2000000                  1    6: rsv                         4d400000            800000                  1    7: tee                         4e400000            800000                  1    8: crypt                       4f400000           2000000                  1    9: misc                        51c00000           2000000                  1   10: instaboot                   54400000          20000000                  1   11: boot                        74c00000           2000000                  1   12: system                      77400000          50000000                  1   13: data                        c7c00000         10a400000                  4 mmc read lba=0x12000, blocks=0x2 mmc read lba=0x12002, blocks=0x2 mmc_read_partition_tbl: mmc read partition OK! eMMC\/TSD partition table have been checked OK! mmc env offset: 0x47400000  WARNING: 'recovery_from_sdcard' neither in running nor in imported env! WARNING: 'recovery_from_udisk' neither in running nor in imported env! In:    serial Out:   serial Err:   serial hpd_state=0 cvbs performance type = 6, table = 0 [store]To run cmd[emmc dtb_read 0x1000000 0x40000] read emmc dtb       Amlogic multi-dtb tool       Multi dtb detected       Multi dtb tool version: v2 .       Support 2 dtbs.         aml_dt soc: gxl platform: sx6b6x variant: 1g         dtb 0 soc: gxl   plat: sx6b6x   vari: 1g         dtb 1 soc: gxl   plat: sx6b6x   vari: 2g       Find match dtb: 0 Net:   dwmac.c9410000 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]failed to get fb addr for logo [OSD]use default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [OSD]load fb addr from dts [OSD]failed to get fb addr for logo [OSD]use default fb_addr parameters [OSD]fb_addr for logo: 0x3d800000 [CANVAS]addr=0x3d800000 width=3840, height=2160 amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 [KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet gpio: pin GPIOAO_2 (gpio 102) value is 1 get_cpu_id flag_12bit=1 SARADC channel(0) is 0x3e1. SARADC closed. Hit Enter or space or Ctrl+C key to stop autoboot -- :  0  [imgread]szTimeStamp[2019121002280214] [imgread]secureKernelImgSz=0x977000 aml log : R2048 check pass! aml log : R2048 check pass! aml log : R2048 check pass! ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =33f4d440 copy done       Amlogic multi-dtb tool       Single dtb detected load dtb from 0x1000000 ......    Uncompressing Kernel Image ... OK    kernel loaded at 0x01080000, end = 0x02258fd0    Loading Ramdisk to 33d12000, end 33eb6000 ... OK    Loading Device Tree to 000000001fff3000, end 000000001ffff8f4 ... OK signature:  fdt_instaboot: no instaboot image  Starting kernel ... <\/code><\/pre>\n<p>  <\/div>\n<\/div>\n<p>  \u0421\u0442\u043e\u0438\u0442 \u043e\u0442\u043c\u0435\u0442\u0438\u0442\u044c, \u0447\u0442\u043e \u0441\u0430\u043c U-Boot (bl33) \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0441\u044f \u0443\u0436\u0435 \u0432 \u0441\u0440\u0435\u0434\u0435 \u00abnormal world\u00bb (BL3-1 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u043b \u0440\u0435\u0436\u0438\u043c \u043d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u043f\u0435\u0440\u0435\u0434 \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0435\u0439 \u0435\u043c\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u044f). \u0422.\u0435. \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0432\u0437\u044f\u0442\u044c \u043a\u0430\u043a\u0438\u043c-\u0442\u043e \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c \u043d\u0430\u0434 U-Boot&#8217;\u043e\u043c, \u0442\u043e \u0443 \u043d\u0430\u0441 \u0431\u0443\u0434\u0435\u0442 \u0442\u043e\u043b\u044c\u043a\u043e \u043e\u0433\u0440\u0430\u043d\u0438\u0447\u0435\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0441\u0438\u0441\u0442\u0435\u043c\u0435. \u0412 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u044d\u0442\u043e \u0438 \u043d\u0435 \u0441\u0442\u043e\u043b\u044c \u0432\u0430\u0436\u043d\u043e. \u0412\u0435\u0434\u044c \u0434\u0430\u0436\u0435 \u0435\u0441\u043b\u0438 \u0441\u043d\u044f\u0442\u044c \u0434\u0430\u043c\u043f ROM&#8217;a, \u0432\u044b\u0442\u0430\u0449\u0438\u0442\u044c \u043a\u043b\u044e\u0447\u0438 AES \u0438 \u043e\u0442\u043a\u0440\u044b\u0442\u044b\u0439 RSA \u0438\u0437 \u0444\u044c\u044e\u0437\u0430, \u0442\u043e \u0431\u043e\u043b\u044c\u0448\u00f3\u0433\u043e \u0442\u043e\u043b\u043a\u0443 \u043e\u0442 \u044d\u0442\u043e\u0433\u043e \u043d\u0435 \u0431\u0443\u0434\u0435\u0442, \u0442.\u043a. \u0437\u0430\u043a\u0440\u044b\u0442\u043e\u0433\u043e \u043a\u043b\u044e\u0447\u0430 RSA \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u043d\u0435\u0442.<\/p>\n<p>  \u0421\u0430\u043c \u0436\u0435 U-Boot \u043d\u0438\u043a\u0430\u043a\u0438\u0435 \u043a\u043b\u044e\u0447\u0438 \u043d\u0435 \u0447\u0438\u0442\u0430\u043b. \u041e\u043d \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b \u044f\u0434\u0440\u043e \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0438 \u043e\u0431\u0440\u0430\u0449\u0430\u043b\u0441\u044f \u043a Seurity Monitor&#8217;\u0443 \u0441 \u043f\u0440\u043e\u0441\u044c\u0431\u043e\u0439 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u0442\u044c \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u043a\u043e\u0434. Seurity Monitor \u0434\u0435\u043b\u0430\u043b \u0432\u0441\u0451 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0435 \u0438 \u0433\u043e\u0432\u043e\u0440\u0438\u043b U-Boot&#8217;\u0443 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u044f\u0434\u0440\u043e \u0438\u043b\u0438 \u043d\u0435\u0442. \u0412 \u043e\u0431\u0449\u0435\u043c \u0441\u0435\u0440\u044c\u0451\u0437\u043d\u044b\u0439 \u043f\u043e\u0434\u0445\u043e\u0434 \u043a \u0437\u0430\u0449\u0438\u0442\u0435 \u041f\u041e \u0441 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e\u0439 TrustedOS \u0438 \u043d\u0435\u043a\u0438\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b\u043e\u043c \u0442\u0438\u043f\u0430 BIOS.<\/p>\n<p>  \u041c\u043e\u0439 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0439 \u043f\u043b\u0430\u043d \u0431\u044b\u043b \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u043f\u0430\u043c\u044f\u0442\u0438 eMMC.<\/p>\n<h3>eMMC<\/h3>\n<p>  \u0414\u043b\u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u044f \u043a eMMC \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u043d\u0430\u0439\u0442\u0438 \u043a\u0430\u043a \u043c\u0438\u043d\u0438\u043c\u0443\u043c \u043f\u0438\u043d\u044b DAT_0, CLK, CMD \u0438 GND. \u0410 \u0442\u0430\u043a \u0436\u0435 \u0432\u044b\u044f\u0441\u043d\u0438\u0442\u044c, \u043d\u0430 \u043a\u0430\u043a\u043e\u043c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u043b \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 eMMC (1V8 \u0438\u043b\u0438 3V3). \u0412\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u043e \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e \u0438 \u0434\u043b\u044f \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0438 \u0434\u043e\u0440\u043e\u0436\u0435\u043a \u044f \u0432\u044b\u043f\u0430\u044f\u043b \u0441\u0430\u043c eMMC. \u0420\u0430\u0437 \u0443\u0436 \u0447\u0438\u043f \u043e\u043a\u0430\u0437\u0430\u043b\u0441\u044f \u0443 \u043c\u0435\u043d\u044f \u0432 \u0440\u0443\u043a\u0430\u0445, \u0442\u043e \u043f\u043e\u0441\u043b\u0435 \u0442\u0440\u0430\u0441\u0441\u0438\u0440\u043e\u0432\u043a\u0438 \u044f \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u043b \u0435\u0433\u043e \u043a \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0443 \u0438 \u0441\u043b\u0438\u043b \u043f\u043e\u043b\u043d\u044b\u0439 \u0434\u0430\u043c\u043f. \u041f\u0440\u043e\u0444\u0435\u0441\u0441\u0438\u043e\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043e\u0431\u043e\u0440\u0443\u0434\u043e\u0432\u0430\u043d\u0438\u044f \u0443 \u043c\u0435\u043d\u044f \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e \u043d\u0435 \u043e\u043a\u0430\u0437\u0430\u043b\u043e\u0441\u044c \u0438 \u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0434\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043f\u043e\u0434\u0440\u0443\u0447\u043d\u044b\u0435 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u044b. \u041f\u043e\u043b\u0443\u0447\u0438\u043b\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0432\u043e\u0442 \u00abDead Bug\u00bb.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/pc\/gy\/nh\/pcgynhclzvh74tcdsd7e9txdrjs.png\"><\/div>\n<p>  \u041d\u0443 \u0438 \u0441\u043e\u0431\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440\u0430:<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/xd\/70\/rv\/xd70rv-hv6luye5bmv5hqpfgy40.png\"><\/div>\n<p>  \u041f\u043e\u0441\u043b\u0435 \u0442\u043e\u0433\u043e, \u043a\u0430\u043a \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0430 \u0431\u044b\u043b\u0430 \u0441\u0434\u0435\u043b\u0430\u043d\u0430, \u044f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b \u043a\u0430\u043a \u0432\u0435\u0434\u0451\u0442 \u0441\u0435\u0431\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0431\u0435\u0437 eMM\u0421. \u0421\u0443\u0434\u044f \u043f\u043e \u043b\u043e\u0433\u0443, ROM \u043f\u043e\u0441\u043b\u0435 \u043d\u0435\u0443\u0434\u0430\u0447\u043d\u043e\u0439 \u043f\u043e\u043f\u044b\u0442\u043a\u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0441 eMMC \u043f\u0440\u043e\u0431\u043e\u0432\u0430\u043b \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043e\u0434 \u0441 mSD \u043a\u0430\u0440\u0442\u044b. \u042d\u0442\u043e \u043e\u0431\u043d\u0430\u0434\u0451\u0436\u0438\u0432\u0430\u043b\u043e. \u042f \u0431\u044b\u0441\u0442\u0440\u0435\u043d\u044c\u043a\u043e \u0437\u0430\u043b\u0438\u043b \u0434\u0430\u043c\u043f \u043d\u0430 mSD \u043a\u0430\u0440\u0442\u0443 \u0438 \u0432\u043a\u043b\u044e\u0447\u0438\u043b \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0443. \u0422\u0443\u0442 \u043c\u0435\u043d\u044f \u0436\u0434\u0430\u043b \u043d\u0435\u0431\u043e\u043b\u044c\u0448\u043e\u0439 \u0441\u044e\u0440\u043f\u0440\u0438\u0437. ROM \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u043a\u043e\u0434 BL2 \u0441 \u043a\u0430\u0440\u0442\u044b \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u043b \u0435\u043c\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 (\u0437\u043d\u0430\u0447\u0438\u0442 \u0440\u0430\u0437\u0434\u0435\u043b \u00abboot\u00bb \u043d\u0430 eMMC \u043d\u0435 \u0431\u044b\u043b \u0437\u0430\u0434\u0435\u0439\u0441\u0442\u0432\u043e\u0432\u0430\u043d \u0438 \u0432 root \u0434\u043e\u0441\u0442\u0443\u043f\u0435 \u043d\u0443\u0436\u0434\u044b \u043d\u0435 \u0431\u044b\u043b\u043e). \u041d\u0443 \u0430 \u043a\u043e\u0433\u0434\u0430 \u043e\u0447\u0435\u0440\u0435\u0434\u044c \u0434\u043e\u0448\u043b\u0430 \u0434\u043e U-Boot&#8217;\u0430, \u0442\u043e\u0442 \u043f\u043e\u0436\u0430\u043b\u043e\u0432\u0430\u043b\u0441\u044f \u043f\u0430\u0440\u0443 \u0440\u0430\u0437 \u043d\u0430 \u043e\u0442\u0441\u0443\u0442\u0441\u0442\u0432\u0438\u0435 eMMC (dev 1) \u0438 \u0434\u043e\u043b\u0433\u043e \u043d\u0435 \u0434\u0443\u043c\u0430\u044f \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u043b\u0441\u044f \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435.<\/p>\n<pre><code class=\"plaintext\">cmd store failed  Err imgread(L132):Fail to read 0x100000B from part[recovery] at offset 0 gxl_sx6b6x_768_v2#version   U-Boot 2015.01 (Nov 23 2018 - 15:50:35) aarch64-none-elf-gcc (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 4.8.3 20131111 (prerelease) GNU ld (crosstool-NG linaro-1.13.1-4.8-2013.11 - Linaro GCC 2013.10) 2.23.2.20130610 Linaro 2013.10-4 gxl_sx6b6x_768_v2# <\/code><\/pre>\n<p>  \u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u044d\u0442\u043e \u0431\u044b\u043b\u043e \u0441\u043e\u0432\u0441\u0435\u043c \u043d\u0435 \u043f\u043b\u043e\u0445\u043e. \u041f\u043e\u0441\u043b\u0435 \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u044b\u0445 \u044d\u043a\u0441\u043f\u0435\u0440\u0438\u043c\u0435\u043d\u0442\u043e\u0432 \u0441 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u043e\u043c, \u044f \u0434\u043e\u0431\u0430\u0432\u0438\u043b \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 bootdelay=5 \u0432 \u0440\u0430\u0437\u0434\u0435\u043b \u00abenv\u00bb, \u043f\u043e\u0441\u0447\u0438\u0442\u0430\u043b \u043d\u043e\u0432\u0443\u044e \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u044c\u043d\u0443\u044e \u0441\u0443\u043c\u043c\u0443 \u0438 \u043f\u0440\u0438\u043f\u0430\u044f\u043b eMMC \u043e\u0431\u0440\u0430\u0442\u043d\u043e. \u0421 \u043d\u043e\u0432\u044b\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u044f \u043d\u0430\u0434\u0435\u044f\u043b\u0441\u044f, \u0447\u0442\u043e U-Boot \u043c\u043e\u0436\u043d\u043e \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c. \u041d\u043e \u043d\u0430 \u043f\u0440\u0430\u043a\u0442\u0438\u043a\u0435 \u0432\u0441\u0451 \u0431\u044b\u043b\u043e \u0438\u043d\u0430\u0447\u0435. \u041f\u043e\u0445\u043e\u0436\u0435 U-Boot \u043d\u0438\u043a\u0430\u043a \u044d\u0442\u0438\u043c \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u043c \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u0441\u044f \u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043d\u0438\u0447\u0435\u043c \u043d\u0435 \u043e\u0442\u043b\u0438\u0447\u0430\u043b\u0441\u044f \u043e\u0442 \u0448\u0442\u0430\u0442\u043d\u043e\u0433\u043e. \u041f\u0435\u0447\u0430\u043b\u044c\u043d\u043e, \u0442.\u043a. \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b \u0441 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044b\u043c eMMC \u0431\u044b\u043b \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c \u043c\u043d\u0435 \u0434\u043b\u044f \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0438\u0445 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439. \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u0440\u0430\u0437\u043c\u044b\u0441\u043b\u0438\u0432, \u044f \u0437\u0430\u043c\u043a\u043d\u0443\u043b DAT_0 \u043d\u0430 \u043c\u0430\u0441\u0441\u0443 \u0438 \u0432\u0441\u0442\u0430\u0432\u0438\u043b \u0441\u0432\u043e\u044e mSD \u043a\u0430\u0440\u0442\u0443. ROM \u0442\u0435\u043f\u0435\u0440\u044c \u043d\u0435 \u043c\u043e\u0433 \u0433\u0440\u0443\u0437\u0438\u0442\u044c \u043a\u043e\u0434 \u0441 eMMC \u0438 \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0430\u043b\u0441\u044f \u043d\u0430 mSD. \u0417\u0430\u0433\u0440\u0443\u0437\u0438\u0432 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c U-Boot, \u044f \u0440\u0430\u0437\u043e\u043c\u043a\u043d\u0443\u043b \u043a\u043e\u043d\u0442\u0430\u043a\u0442\u044b \u0438 \u0437\u0430\u0434\u0430\u043b:<\/p>\n<pre><code class=\"plaintext\">gxl_sx6b6x_768_v2#mmc dev 1  emmc\/sd response timeout, cmd8, status=0x1ff2800 emmc\/sd response timeout, cmd55, status=0x1ff2800 [mmc_startup] mmc refix success [mmc_init] mmc init success mmc read lba=0x14000, blocks=0x400       Amlogic multi-dtb tool       Multi dtb detected       Multi dtb tool version: v2 .       Support 2 dtbs.         aml_dt soc: gxl platform: sx6b6x variant: 1g         dtb 0 soc: gxl   plat: sx6b6x   vari: 1g         dtb 1 soc: gxl   plat: sx6b6x   vari: 2g       Find match dtb: 0 start dts,buffer=0000000033ee4050,dt_addr=0000000033ee4850 parts: 11 00:      logo\t0000000002000000 1 01:  recovery\t0000000002000000 1 02:       rsv\t0000000000800000 1 03:       tee\t0000000000800000 1 04:     crypt\t0000000002000000 1 05:      misc\t0000000002000000 1 06: instaboot\t0000000020000000 1 07:      boot\t0000000002000000 1 08:    system\t0000000050000000 1 09:     cache\t0000000040000000 2 10:      data\tffffffffffffffff 4 get_dtb_struct: Get emmc dtb OK! overide_emmc_partition_table: overide cache  [mmc_get_partition_table] skip partition cache. Partition table get from SPL is :          name                        offset              size              flag ===================================================================================    0: bootloader                         0            400000                  0    1: reserved                     2400000           4000000                  0    2: cache                        6c00000          40000000                  2    3: env                         47400000            800000                  0    4: logo                        48400000           2000000                  1    5: recovery                    4ac00000           2000000                  1    6: rsv                         4d400000            800000                  1    7: tee                         4e400000            800000                  1    8: crypt                       4f400000           2000000                  1    9: misc                        51c00000           2000000                  1   10: instaboot                   54400000          20000000                  1   11: boot                        74c00000           2000000                  1   12: system                      77400000          50000000                  1   13: data                        c7c00000         10a400000                  4 mmc read lba=0x12000, blocks=0x2 mmc read lba=0x12002, blocks=0x2 mmc_read_partition_tbl: mmc read partition OK! eMMC\/TSD partition table have been checked OK! switch to partitions #0, OK mmc1(part 0) is current device gxl_sx6b6x_768_v2# <\/code><\/pre>\n<p>  U-Boot \u043d\u0435 \u0441\u0442\u0430\u043b \u0441\u043e\u043f\u0440\u043e\u0442\u0438\u0432\u043b\u044f\u0442\u044c\u0441\u044f \u0438 \u0441 \u0440\u0430\u0434\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u043a\u043b\u044e\u0447\u0438\u043b\u0441\u044f \u043d\u0430 eMMC. \u042f \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u043b, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u0447\u0442\u043e \u0431\u044b\u043b\u043e \u0432 \u043f\u0430\u0440\u0435\u043c\u0435\u0442\u0440\u0435 bootdelay. \u0418 \u0432\u043c\u0435\u0441\u0442\u043e \u0441\u0432\u043e\u0435\u0439 \u043f\u044f\u0442\u0451\u0440\u043a\u0438 \u044f \u0443\u0432\u0438\u0434\u0435\u043b \u0442\u0430\u043c \u0441\u043d\u043e\u0432\u0430 0. \u041f\u043e\u0445\u043e\u0436\u0435 U-Boot \u0432 \u043a\u0430\u043a\u043e\u0439 \u0442\u043e \u043c\u043e\u043c\u0435\u043d\u0442 \u0437\u0430\u043f\u0438\u0441\u044b\u0432\u0430\u043b \u0442\u0443\u0434\u0430 0, \u043d\u0430 \u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439, \u0435\u0441\u043b\u0438 \u0432\u0434\u0440\u0443\u0433 \u043a\u0442\u043e-\u0442\u043e \u0442\u0430\u043c \u0447\u0442\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0435\u0442. \u041d\u043e \u044d\u0442\u043e \u043c\u0435\u043d\u044f \u0443\u0436\u0435 \u043d\u0435 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e \u0438 \u0442\u0435\u043c\u0430 \u0441 eMMC \u0431\u044b\u043b\u0430 \u0437\u0430\u043a\u0440\u044b\u0442\u0430.<\/p>\n<p>  \u041d\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0443: \u0438\u043c\u0435\u044f \u0440\u0430\u0441\u043f\u0438\u043d\u043e\u0432\u043a\u0443 \u043a\u043e\u043d\u043d\u0435\u043a\u0442\u043e\u0440\u0430, \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u044c\u0441\u044f \u043a eMMC \u043c\u043e\u0436\u043d\u043e \u043d\u0435 \u0432\u044b\u043f\u0430\u0438\u0432\u0430\u044f \u0447\u0438\u043f. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0443\u0436\u0435\u043d \u0441\u043f\u0435\u0446\u0438\u0430\u043b\u044c\u043d\u044b\u0439 \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u0441 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0435\u0440\u043e\u043c \u043d\u0430\u043f\u0440\u044f\u0436\u0435\u043d\u0438\u044f, \u0442.\u043a. \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0435\u0440 eMMC \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043d\u0430 1V8 \u0438 \u0435\u0441\u043b\u0438 \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043e\u0431\u044b\u043a\u043d\u043e\u0432\u0435\u043d\u043d\u044b\u0439 SD \u0430\u0434\u0430\u043f\u0442\u0435\u0440 \u043d\u0430 3V3, \u0442\u043e \u0435\u0441\u0442\u044c \u0440\u0438\u0441\u043a \u0441\u043f\u0430\u043b\u0438\u0442\u044c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b, \u043b\u0435\u0436\u0430\u0449\u0438\u0435 \u043d\u0430 \u0448\u0438\u043d\u0435 1V8.<\/p>\n<p>  \u0422\u0430\u043a\u0436\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0431\u0443\u0434\u0435\u0442 \u0443\u0431\u0440\u0430\u0442\u044c \u0432\u043e\u0442 \u044d\u0442\u043e\u0442 \u0440\u0435\u0437\u0438\u0441\u0442\u043e\u0440, \u0438\u043d\u0430\u0447\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0431\u0443\u0434\u0435\u0442 \u043c\u0435\u0448\u0430\u0442\u044c \u0440\u0430\u0431\u043e\u0442\u0435 \u0430\u0434\u0430\u043f\u0442\u0435\u0440\u0430.<\/p>\n<div style=\"text-align:center;\"><img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/d0\/in\/aj\/d0inajjkrgclzhes-4l84uvpxmk.png\"><\/div>\n<p>  <\/p>\n<h3>\u041d\u0435\u0434\u043e\u0441\u0442\u0430\u044e\u0449\u0438\u0435 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b<\/h3>\n<p>  \u0418\u043c\u0435\u044f \u043f\u043e\u043b\u043d\u044b\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0443 U-Boot&#8217;\u0430, \u043c\u043d\u0435 \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0434\u0432\u0435 \u0432\u0435\u0449\u0438: \u0434\u043e\u0431\u0440\u0430\u0442\u044c\u0441\u044f \u0434\u043e DeviceTree \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0438 \u0438 \u0443\u0431\u0435\u0434\u0438\u0442\u044c U-Boot \u043e\u0442\u043a\u0430\u0437\u0430\u0442\u044c\u0441\u044f \u043e\u0442 \u0443\u0441\u043b\u0443\u0433 Seurity Monitor&#8217;\u0430, \u043a\u0430\u0441\u0430\u044e\u0449\u0438\u0435\u0441\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0438 \u044f\u0434\u0440\u0430. \u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0431\u044b\u043b\u043e \u0431\u044b \u0435\u0449\u0451 \u043d\u0435\u043f\u043b\u043e\u0445\u043e \u0438\u043c\u0435\u0442\u044c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0435 \u044f\u0434\u0440\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0435 \u0443\u0431\u0438\u0432\u0430\u0442\u044c \u0432\u0440\u0435\u043c\u044f \u043d\u0430 \u043e\u0442\u043b\u0430\u0434\u043a\u0443 \u043d\u043e\u0432\u043e\u0433\u043e.<\/p>\n<p>  \u0417\u0430\u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c DeviceTree \u0431\u044b\u043b\u043e \u043f\u0440\u0435\u0434\u0435\u043b\u044c\u043d\u043e \u043f\u0440\u043e\u0441\u0442\u043e. \u042f \u0437\u0430\u0434\u0430\u043b:<\/p>\n<pre><code class=\"plaintext\">gxl_sx6b6x_768_v2#emmc dtb_read 0x1000000 0x40000  read emmc dtb gxl_sx6b6x_768_v2# <\/code><\/pre>\n<p>  \u0438 \u043e\u043d \u0431\u044b\u043b \u0443 \u043c\u0435\u043d\u044f \u0432 \u043a\u0430\u0440\u043c\u0430\u043d\u0435.<\/p>\n<p>  U-Boot \u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b \u0436\u0435 \u0434\u0435\u0442\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430. \u0418\u0437 \u043b\u043e\u0433\u0430 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043b\u043e, \u0447\u0442\u043e \u0441\u0430\u043c U-Boot \u0433\u0440\u0443\u0437\u0438\u043b\u0441\u044f \u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u043b\u0441\u044f \u0438\u0437\u043d\u0430\u0447\u0430\u043b\u044c\u043d\u043e \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 0x1000000, \u0430 \u0432\u043f\u043e\u0441\u043b\u0435\u0434\u0441\u0442\u0432\u0438\u0438 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u0438\u043b \u0441\u0430\u043c \u0441\u0435\u0431\u044f \u0432 0x36\u0415\u04218000 (offset). \u042f \u0441\u0434\u0435\u043b\u0430\u043b \u0434\u0430\u043c\u043f U-Boot&#8217;a \u0438 \u043f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043b \u0435\u0433\u043e \u0432 IDA.<\/p>\n<p>  \u041a\u043e\u043d\u0435\u0447\u043d\u043e \u043c\u0435\u043d\u044f \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043e\u0432\u0430\u043b\u043e \u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 \u0448\u043b\u043e \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a Seurity Monitor&#8217;\u0443 \u0438\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u044b bootm. \u0412\u043e\u0442 \u043e\u043d\u043e<\/p>\n<p>  <img decoding=\"async\" src=\"https:\/\/habrastorage.org\/webt\/fj\/2s\/mj\/fj2smjpajdxwjdarboyyp_obfvc.png\"><br \/>  \u0433\u0434\u0435<br \/>  X0 \u2014 AML_D_P_IMG_DECRYPT<br \/>  \u04251 \u2014 nLoadAddr<br \/>  \u04252 \u2014 GXB_IMG_SIZE<br \/>  \u04253 \u2014 GXB_IMG_DEC_ALL<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0441\u043d\u044f\u0442\u044c \u0434\u0430\u043c\u043f \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e \u044f\u0434\u0440\u0430, \u043d\u0443\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0435\u0433\u043e \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u0447\u0435\u0440\u0435\u0437 \u0444\u0443\u043d\u043a\u0446\u0438\u044e imgread \u0438 \u043c\u043e\u0434\u0438\u0444\u0438\u0446\u0438\u0440\u043e\u0432\u0430\u0442\u044c bootm \u0442\u0430\u043a, \u0447\u0442\u043e\u0431\u044b \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u0441\u043b\u0435 \u0432\u044b\u0437\u043e\u0432\u0430 aml_sec_boot_check \u0432\u044b\u0434\u0430\u0432\u0430\u043b\u0430\u0441\u044c \u043f\u0430\u043c\u044f\u0442\u044c \u043d\u0430\u0447\u0438\u043d\u0430\u044f \u0441 \u0430\u0434\u0440\u0435\u0441\u0430 0x1080000 \u0432 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b (\u044d\u0442\u043e \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u043d\u0435 \u0435\u0434\u0438\u043d\u0441\u0442\u0432\u0435\u043d\u043d\u044b\u0439 \u0441\u043f\u043e\u0441\u043e\u0431). \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u044f \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u043a\u0443\u0441\u043e\u0447\u0435\u043a \u043a\u043e\u0434\u0430 \u0438 \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u043b \u0435\u0433\u043e \u0432 \u043d\u0443\u0436\u043d\u043e\u0435 \u043c\u0435\u0441\u0442\u043e. \u0412\u043e\u0442 \u0447\u0442\u043e \u043f\u043e\u043b\u0443\u0447\u0438\u043b\u043e\u0441\u044c (\u043f\u043e\u043b\u043d\u044b\u0439 \u043b\u043e\u0433, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043d\u0435 \u043c\u043e\u0433\u0443):<\/p>\n<pre><code class=\"plaintext\">gxl_sx6b6x_768_v2#imgread kernel boot  [imgread]szTimeStamp[2019121002280214] [imgread]secureKernelImgSz=0x977000 gxl_sx6b6x_768_v2#bootm  aml log : R2048 check pass! aml log : R2048 check pass! aml log : R2048 check pass!  Ready for dumping kernel  41 4e 44 52 4f 49 44 21 20 d8 7b 20 20 20 08 01  | ANDROID! <\/code><\/pre>\n<p>  \u0412 \u043f\u0440\u0438\u0434\u0430\u0447\u0443 \u043a \u044f\u0434\u0440\u0443 \u044f \u043f\u043e\u043b\u0443\u0447\u0438\u043b \u0435\u0449\u0451 \u0438 ramdisk (\u043e\u043d \u043c\u043e\u0436\u0435\u0442 \u043f\u0440\u0438\u0433\u043e\u0434\u0438\u0442\u0441\u044f \u043d\u0430 \u0442\u043e\u0442 \u0441\u043b\u0443\u0447\u0430\u0439, \u0435\u0441\u043b\u0438 \u0442\u0430\u043c \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u043a\u0430\u043a\u0438\u0435-\u043d\u0438\u0431\u0443\u0434\u044c \u0432\u0430\u0436\u043d\u044b\u0435 \u0434\u0440\u0430\u0439\u0432\u0435\u0440\u0430 \u0438\u043b\u0438 \u043f\u0440\u043e\u0448\u0438\u0432\u043a\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0434\u043b\u044f WiFi).<\/p>\n<h3>\u042f \u0431\u043e\u043b\u044c\u0448\u0435 \u043d\u0435 Android<\/h3>\n<p>  \u0414\u043b\u044f \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0437\u0430\u043f\u0443\u0441\u043a\u0430 \u0441\u0432\u043e\u0435\u0433\u043e \u041f\u041e \u044f \u0441\u0434\u0435\u043b\u0430\u043b \u0438\u0437 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u044f\u0434\u0440\u0430 uImage, \u0441\u043e\u0431\u0440\u0430\u043b \u043d\u0430 \u0431\u0430\u0437\u0435 Busybox \u0441\u0432\u043e\u0439 rootfs \u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043b \u0440\u043e\u0434\u043d\u043e\u0439 dtb. \u0412\u0441\u0435 \u0442\u0440\u0438 \u0447\u0430\u0441\u0442\u0438 \u044f \u0433\u0440\u0443\u0437\u0438\u043b \u043f\u0440\u044f\u043c\u043e \u0441 USB \u043d\u0430\u043a\u043e\u043f\u0438\u0442\u0435\u043b\u044f \u0438 \u0437\u0430\u043f\u0443\u0441\u043a\u0430\u043b \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439 \u00abbootm\u00bb, \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0432 \u043f\u0440\u0435\u0436\u0434\u0435 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0443 \u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0438\u043c\u0438\u0434\u0436\u0430.<\/p>\n<pre><code class=\"plaintext\">gxl_sx6b6x_768_v2#usb start (Re)start USB... USB0:   USB3.0 XHCI init start Register 2000140 NbrPorts 2 Starting the controller USB XHCI 1.00 scanning bus 0 for devices... 2 USB Device(s) found        scanning usb for storage devices... 1 Storage Device(s) found gxl_sx6b6x_768_v2#mw.l 0x37ed240c 0xd2800000 gxl_sx6b6x_768_v2#fatload usb 0:1 0x1000000 dtb.img reading dtb.img 40960 bytes read in 43 ms (929.7 KiB\/s) gxl_sx6b6x_768_v2#fatload usb 0:1 0x2000000 uImage reading uImage 8116288 bytes read in 4197 ms (1.8 MiB\/s) gxl_sx6b6x_768_v2#fatload usb 0:1 0x3000000 rootfs.img.uboot reading rootfs.img.uboot 1041462 bytes read in 563 ms (1.8 MiB\/s) gxl_sx6b6x_768_v2#bootm 0x2000000 0x3000000 0x1000000  ee_gate_off ... ## Booting kernel from Legacy Image at 02000000 ...    Image Name:   S905X Original    Image Type:   AArch64 Linux Kernel Image (gzip compressed)    Data Size:    8116224 Bytes = 7.7 MiB    Load Address: 01080000    Entry Point:  01080000    Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 03000000 ...    Image Name:   Root Filesystem    Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)    Data Size:    1041398 Bytes = 1017 KiB    Load Address: 033d1200    Entry Point:  033d1200    Verifying Checksum ... OK       Amlogic multi-dtb tool       Single dtb detected load dtb from 0x1000000 ...... ## Flattened Device Tree blob at 01000000    Booting using the fdt blob at 0x1000000    Uncompressing Kernel Image ... OK    kernel loaded at 0x01080000, end = 0x02258fd0    Loading Ramdisk to 33db8000, end 33eb63f6 ... OK    Loading Device Tree to 000000001fff3000, end 000000001ffff8f4 ... OK fdt_instaboot: no instaboot image  Starting kernel ...  uboot time: 136710682 us [    0.000000@0] Initializing cgroup subsys cpu [    0.000000@0] Initializing cgroup subsys cpuacct [    0.000000@0] Linux version 3.14.29 (build@build2) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1 SMP PREEMPT Thu Sep 12 21:24:53 MSK 2019 [    0.000000@0] CPU: AArch64 Processor [410fd034] revision 4  [    6.302659@2] meson_uart c81004c0.serial: ttyS0 use xtal(8M) 24000000 change 115200 to 115200 # cat \/proc\/cpuinfo Processor\t: AArch64 Processor rev 4 (aarch64) processor\t: 0 processor\t: 1 processor\t: 2 processor\t: 3 Features\t: fp asimd evtstrm aes pmull sha1 sha2 crc32 wp half thumb fastmult vfp edsp neon vfpv3 tlsi vfpv4 idiva idivt  CPU implementer\t: 0x41 CPU architecture: 8 CPU variant\t: 0x0 CPU part\t: 0xd03 CPU revision\t: 4  Hardware\t: Amlogic Serial\t\t: 210c84009f59911c4b4db4a25faffcbc # <\/code><\/pre>\n<p>  <\/p>\n<h3>Jailbreak<\/h3>\n<p>  \u0412 \u0441\u0438\u043b\u0443 \u0442\u043e\u0433\u043e, U-Boot \u0431\u044b\u043b \u0438\u043c\u043c\u0443\u043d\u0438\u0437\u0438\u0440\u043e\u0432\u0430\u043d \u043f\u0440\u043e\u0442\u0438\u0432 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f env \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 (\u044d\u0442\u043e \u043a\u0430\u0441\u0430\u043b\u043e\u0441\u044c \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u00abbootdelay\u00bb), \u043f\u043e\u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0447\u0435\u0440\u0435\u0437 env \u0431\u044b\u043b\u043e \u043d\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0430 \u0434\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0441\u0432\u043e\u0451 \u041f\u041e \u043f\u0440\u0438\u0441\u0442\u0430\u0432\u043a\u0430 \u0434\u043e\u043b\u0436\u043d\u0430 \u0431\u044b\u043b\u0430 \u0431\u044b\u0442\u044c \u043f\u043e\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u0430 \u043a \u043a\u043e\u043c\u043f\u044c\u044e\u0442\u0435\u0440\u0443. \u0422\u0430\u043a\u043e\u0439 \u0432\u0430\u0440\u0438\u0430\u043d\u0442 \u043c\u0435\u043d\u044f \u0430\u0431\u0441\u043e\u043b\u044e\u0442\u043d\u043e \u043d\u0435 \u0443\u0441\u0442\u0440\u0430\u0438\u0432\u0430\u043b. \u041f\u0440\u043e\u0430\u043d\u0430\u043b\u0438\u0437\u043e\u0440\u043e\u0432\u0430\u0432 \u0432\u0441\u044e \u0446\u0435\u043f\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438, \u043c\u043e\u0451 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435 \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u043b\u0430 \u0432\u043e\u0442 \u044d\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430:<\/p>\n<pre><code class=\"plaintext\">init_display=osd open;osd clear;imgread pic logo bootup $loadaddr;bmp display $bootup_offset;bmp scale <\/code><\/pre>\n<p>  \u0432 \u0447\u0430\u0441\u0442\u043d\u043e\u0441\u0442\u0438:<\/p>\n<pre><code class=\"plaintext\">imgread pic logo bootup $loadaddr <\/code><\/pre>\n<p>  \u0433\u0434\u0435 U-Boot \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b \u043d\u0435\u043a\u0438\u0439 \u0440\u0435\u0441\u0443\u0440\u0441 \u00abbootup\u00bb \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 loadaddr=0x1080000. \u0421\u0430\u043c \u0436\u0435 \u0440\u0435\u0441\u0443\u0440\u0441 \u043e\u043f\u0438\u0441\u044b\u0432\u0430\u043b\u0441\u044f \u0432\u043e\u0442 \u0442\u0430\u043a\u043e\u0439 \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u043e\u0439:<\/p>\n<pre><code class=\"cpp\">struct resource_header{ \tunsigned int \tmagic;\t\t\/* Image Header Magic Number\t*\/ \tunsigned int \thcrc;\t\t\/* Image Header CRC Checksum\t*\/ \tunsigned int\tsize;\t\t\/* Image Data Size\t\t*\/ \tunsigned int\tstart;\t\t\/* item data offset in the image*\/ \tunsigned int\tend;\t\t\/* Entry Point Address\t\t*\/ \tunsigned int\tnext;\t\t\/* Next item head offset in the image*\/ \tunsigned int\tdcrc;\t\t\/* Image Data CRC Checksum\t*\/ \tunsigned char\tindex;\t\t\/* Operating System\t\t*\/ \tunsigned char\tnums;\t\t\/* CPU architecture\t\t*\/ \tunsigned char   type;\t\t\/* Image Type\t\t\t*\/ \tunsigned char \tcomp;\t\t\/* Compression Type\t\t*\/ \tchar \tname[32];\t\t\/* Image Name\t\t\t*\/ } <\/code><\/pre>\n<p>  \u0418\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u044b\u043c\u0438 \u0431\u044b\u043b\u0438 \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u00absize\u00bb \u0438 \u00abstart\u00bb. \u0418\u0441\u0445\u043e\u0434\u044f \u0438\u0437 \u043d\u0438\u0445 \u0438 \u0442\u0430\u043a \u0436\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u00abloadaddr\u00bb, U-Boot \u0432\u044b\u0440\u0435\u0448\u0438\u0432\u0430\u043b \u0442\u0440\u0438 \u043d\u043e\u0432\u044b\u0445 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 \u0434\u043b\u044f \u043f\u0440\u044f\u043c\u043e\u0433\u043e \u0447\u0442\u0435\u043d\u0438\u044f \u0441 eMMC. \u0412 \u0438\u0434\u0435\u0430\u043b\u0435 \u043e\u043d \u043a\u043e\u043d\u0435\u0447\u043d\u043e \u0436\u0435 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043b \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443 \u0438\u0437 \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u00ablogo\u00bb \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 0x000B00C0 \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u043f\u043e \u0430\u0434\u0440\u0435\u0441\u0443 0x1130000\u2026 \u0414\u0443\u043c\u0430\u044e \u0445\u043e\u0434 \u043c\u043e\u0438\u0445 \u043c\u044b\u0441\u043b\u0435\u0439 \u0442\u0435\u043f\u0435\u0440\u044c \u043f\u043e\u043d\u044f\u0442\u0435\u043d. \u042f \u0432\u044b\u0440\u0435\u0448\u0430\u043b \u043d\u043e\u0432\u044b\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u044b \u00absize\u00bb \u0438 \u00abstart\u00bb \u0438 \u043d\u0430\u043f\u0438\u0441\u0430\u043b \u0441\u0432\u043e\u0439 \u043a\u043e\u0434, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0431\u044b\u043b \u0441\u043e\u0445\u0440\u0430\u043d\u0451\u043d \u043d\u0430 eMMC. \u041f\u043e\u0441\u043b\u0435 \u0442\u0430\u043a\u0438\u0445 \u043c\u0430\u043d\u0438\u043f\u0443\u043b\u044f\u0446\u0438\u0439 U-Boot \u0447\u0438\u0442\u0430\u043b \u0443\u0436\u0435 \u043d\u0435 \u043a\u0430\u0440\u0442\u0438\u043d\u043a\u0443, \u0430 \u044d\u043a\u0441\u043f\u043b\u043e\u0439\u0442, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043b\u0443\u0447\u0430\u043b \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435. \u041a\u043e\u0434 \u0432 \u043f\u0440\u0438\u043d\u0446\u0438\u043f\u0435 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0443\u044e \u043a\u043e\u043c\u0430\u043d\u0434\u0443:<\/p>\n<pre><code class=\"plaintext\">fatload mmc 0:1 0x1000000 uboot.bin; go 0x1000000 <\/code><\/pre>\n<p>  \u0422.\u0435. \u0447\u0438\u0442\u0430\u043b uboot.bin \u0438\u0437 \u043f\u0435\u0440\u0432\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 mSD \u043a\u0430\u0440\u0442\u044b \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b \u0435\u043c\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 (uboot.bin \u0431\u044b\u043b \u0441\u0432\u0435\u0436\u0435\u0441\u043e\u0431\u0440\u0430\u043d\u043d\u044b\u0439 \u043d\u0435\u0448\u0438\u0444\u0440\u043e\u0432\u0430\u043d\u043d\u044b\u0439 U-Boot. \u041a\u043e\u043d\u0435\u0447\u043d\u043e, \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0438 \u0440\u043e\u0434\u043d\u043e\u0439 \u0434\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u043d\u043d\u044b\u0439). \u041f\u043e\u043b\u0443\u0447\u0430\u0435\u0442\u0441\u044f, \u0447\u0442\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u0432\u0435\u0440\u043d\u0443\u043b\u0441\u044f \u043d\u0430 \u0442\u043e \u043c\u0435\u0441\u0442\u043e, \u0433\u0434\u0435 BL3-1 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u044b\u0432\u0430\u043b \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 U-Boot \u0438 \u043f\u0435\u0440\u0435\u0434\u0430\u0432\u0430\u043b \u0435\u043c\u0443 \u0443\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435. \u0422\u043e\u043b\u044c\u043a\u043e \u043d\u0430 \u044d\u0442\u043e\u0442 \u0440\u0430\u0437 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u043b\u0441\u044f \u0443\u0436\u0435 \u043d\u0435\u043f\u043e\u0434\u043f\u0438\u0441\u0430\u043d\u043d\u044b\u0439 \u043a\u043e\u0434. \u0418 \u0442\u0435\u043f\u0435\u0440\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0441 \u0435\u041c\u041c\u0421 \u0432\u044b\u0433\u043b\u044f\u0434\u0435\u043b\u0430 \u0443\u0436\u0435 \u0442\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c (\u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0438\u0439 \u0444\u0440\u0430\u0433\u043c\u0435\u043d\u0442):<\/p>\n<pre><code class=\"plaintext\">Hit Enter or space or Ctrl+C key to stop autoboot -- :  0  Jailbreaking BL3-3... card in [mmc_init] mmc init success reading uboot.bin 408579 bytes read in 28 ms (13.9 MiB\/s) ## Starting application at 0x01000000 ...   U-Boot 2017.11-02414-g9b5924abf2-dirty (Mar 01 2020 - 22:17:58 +0100) p212  DRAM:  1 GiB MMC:   mmc@72000: 0, mmc@74000: 1 reading uboot.env In:    serial@4c0 Out:   serial@4c0 Err:   serial@4c0 [BL31]: tee size: 0 [BL31]: tee size: 0 Net:    Warning: ethernet@c9410000 (eth0) using random MAC address - 22:10:89:5b:74:85 eth0: ethernet@c9410000 Hit any key to stop autoboot:  2 0 =&gt; version U-Boot 2017.11-02414-g9b5924abf2-dirty (Mar 01 2020 - 22:17:58 +0100) p212  aarch64-elf-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011 GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706 =&gt;  <\/code><\/pre>\n<\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habr.com\/ru\/post\/488982\/\"> https:\/\/habr.com\/ru\/post\/488982\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"\n<div class=\"post__text post__text-html post__text_v1\" id=\"post-content-body\" data-io-article-url=\"https:\/\/habr.com\/ru\/post\/488982\/\">\u0412 \u044d\u0442\u043e\u0439 \u0441\u0442\u0430\u0442\u044c\u0435 \u0440\u0435\u0447\u044c \u043f\u043e\u0439\u0434\u0451\u0442 \u043e \u0437\u0430\u0449\u0438\u0442\u0435 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043d\u043e\u0433\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044f \u043d\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0435 S905X. \u041a\u043e\u043d\u0435\u0447\u043d\u0430\u044f \u0446\u0435\u043b\u044c \u2014 \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u043d\u0435\u0430\u0432\u0442\u043e\u0440\u0438\u0437\u043e\u0432\u0430\u043d\u043d\u044b\u0439 \u0441\u043e\u0444\u0442.<\/p>\n<h3>S905X<\/h3>\n<p>  \u041f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 S905X \u2014 \u044d\u0442\u043e ARM Cortex-A53 \u0441 \u0442\u0430\u043a\u0442\u043e\u0432\u043e\u0439 \u0447\u0430\u0441\u0442\u043e\u0442\u043e\u0439 \u0434\u043e 1,5GHz, \u043d\u0430\u043f\u0438\u0447\u043a\u0430\u043d\u044b\u0439 \u0432\u0441\u0435\u0432\u043e\u0437\u043c\u043e\u0436\u043d\u044b\u043c\u0438 \u0434\u0435\u043a\u043e\u0434\u0435\u0440\u0430\u043c\u0438 \u0434\u043b\u044f \u0432\u0438\u0434\u0435\u043e \u0438 \u0430\u0443\u0434\u0438\u043e \u043f\u043e\u0442\u043e\u043a\u043e\u0432, \u043a\u0430\u043a \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 H.265 4K, VP9, \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u044e\u0449\u0438\u0439 4\u041aUHD \u0438 \u0442.\u0434. \u0412 \u043e\u0431\u0449\u0435\u043c \u043d\u0435 \u0441\u0430\u043c\u044b\u0439 \u043f\u043b\u043e\u0445\u043e\u0439 \u0432\u044b\u0431\u043e\u0440. \u0412 \u043e\u0442\u043b\u0438\u0447\u0438\u0438 \u043e\u0442 \u0441\u0432\u043e\u0435\u0433\u043e \u043f\u0440\u0435\u0434\u0448\u0435\u0441\u0442\u0432\u0438\u043d\u043d\u0438\u043a\u0430, AMLogic \u0432\u0441\u0442\u0440\u043e\u0438\u043b\u0430 \u0432 \u044d\u0442\u043e\u0442 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440 \u0442\u0430\u043a \u043d\u0430\u0437\u044b\u0432\u0430\u0435\u043c\u0443\u044e \u00abAdvanced TrustZone security system\u00bb, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u043b\u0438\u0440\u0443\u0435\u0442 \u0432\u0441\u0435 \u043a\u0440\u0438\u0442\u0438\u0447\u0438\u0441\u043a\u0438\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u044b\u0435 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u0438, \u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 \u0442\u0430\u043a\u0438\u0435 \u043a\u0430\u043a \u043e\u0431\u0440\u0430\u0449\u0435\u043d\u0438\u0435 \u043a \u0437\u0430\u0449\u0438\u0449\u0451\u043d\u043d\u044b\u043c \u0443\u0447\u0430\u0441\u0442\u043a\u0430\u043c \u043f\u0430\u043c\u044f\u0442\u0438 ROM&#8217;\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0443 \u0441\u0438\u0433\u043d\u0430\u0442\u0443\u0440\u044b \u0438 \u0440\u0430\u0441\u0448\u0438\u0444\u0440\u043e\u0432\u043a\u0443 \u041f\u041e \u0438 \u0442.\u043f. \u0414\u0435\u0442\u0430\u043b\u044c\u043d\u0443\u044e \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0438\u044e \u043d\u0430 \u044d\u0442\u0443 \u0442\u0435\u043c\u0443 \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0439\u0442\u0438 \u043d\u0430 \u0441\u0430\u0439\u0442\u0435 <a href=\"https:\/\/developer.arm.com\/ip-products\/security-ip\/trustzone\" rel=\"nofollow\">\u043f\u0440\u043e\u0438\u0437\u0432\u043e\u0434\u0438\u0442\u0435\u043b\u044f<\/a>.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-299641","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299641","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=299641"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/299641\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=299641"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=299641"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=299641"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}