{"id":2575,"date":"2026-03-20T23:30:38","date_gmt":"2026-03-20T21:30:38","guid":{"rendered":"https:\/\/www.fabienm.eu\/wordpress\/?p=2575"},"modified":"2026-03-20T23:39:42","modified_gmt":"2026-03-20T21:39:42","slug":"mk20-boot","status":"publish","type":"post","link":"https:\/\/www.fabienm.eu\/wordpress\/2026\/03\/20\/mk20-boot\/","title":{"rendered":"MK20 boot"},"content":{"rendered":"\n<p>En ouvrant le MK20 on trouve 6&nbsp;pads sur le cot\u00e9 dont un semble correspondre \u00e0 l&rsquo;UART de boot du T113-S3.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/www.fabienm.eu\/wordpress\/wp-content\/uploads\/2026\/03\/Capture-decran-du-2026-03-20-22-28-24-1024x542.png\" alt=\"\" class=\"wp-image-2577\" srcset=\"https:\/\/www.fabienm.eu\/wordpress\/wp-content\/uploads\/2026\/03\/Capture-decran-du-2026-03-20-22-28-24-1024x542.png 1024w, https:\/\/www.fabienm.eu\/wordpress\/wp-content\/uploads\/2026\/03\/Capture-decran-du-2026-03-20-22-28-24-300x159.png 300w, https:\/\/www.fabienm.eu\/wordpress\/wp-content\/uploads\/2026\/03\/Capture-decran-du-2026-03-20-22-28-24-768x406.png 768w, https:\/\/www.fabienm.eu\/wordpress\/wp-content\/uploads\/2026\/03\/Capture-decran-du-2026-03-20-22-28-24.png 1493w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Si on branche un adaptateur USB-UART dessus on obtient la sortie suivante :<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"JavaScript\" data-shcb-language-slug=\"javascript\"><span><code lang=\"\" class=\"hljs language-javascript \">$ tio -b <span class=\"hljs-number\">115200<\/span> \/dev\/ttyUSB0\n&#91;tio <span class=\"hljs-number\">22<\/span>:<span class=\"hljs-number\">20<\/span>:<span class=\"hljs-number\">30<\/span>] tio v1<span class=\"hljs-number\">.32<\/span>\n&#91;tio <span class=\"hljs-number\">22<\/span>:<span class=\"hljs-number\">20<\/span>:<span class=\"hljs-number\">30<\/span>] Press ctrl-t q to quit\n&#91;tio <span class=\"hljs-number\">22<\/span>:<span class=\"hljs-number\">20<\/span>:<span class=\"hljs-number\">30<\/span>] Connected\n&#91;<span class=\"hljs-number\">192<\/span>]HELLO! BOOT0 is starting!\n&#91;<span class=\"hljs-number\">195<\/span>]BOOT0 commit : <span class=\"hljs-number\">4<\/span>d16602\n&#91;<span class=\"hljs-number\">198<\/span>]<span class=\"hljs-keyword\">set<\/span> pll start\n&#91;200]fix vccio detect value:0xc0\n&#91;207]periph0 has been enabled\n&#91;210]<span class=\"hljs-keyword\">set<\/span> pll end\n&#91;211]&#91;pmu]: bus read error\n&#91;214]board init ok\n&#91;216]ZQ value = 0x2d\n&#91;218]get_pmu_exist() = -1\n&#91;221]ddr_efuse_type: 0xa\n&#91;223]trefi:7.8ms\n&#91;225]&#91;AUTO DEBUG] single rank and full DQ!\n&#91;230]ddr_efuse_type: 0xa\n&#91;232]trefi:7.8ms\n&#91;234]&#91;AUTO DEBUG] rank 0 row = 13 \n&#91;238]&#91;AUTO DEBUG] rank 0 bank = 8 \n&#91;241]&#91;AUTO DEBUG] rank 0 page size = 2 KB \n&#91;245]DRAM BOOT DRIVE INFO: V0.33\n&#91;248]DRAM CLK = 792 MHz\n&#91;250]DRAM Type = 3 (2:DDR2,3:DDR3)\n&#91;253]DRAMC read ODT  off.\n&#91;256]DRAM ODT value: 0x42.\n&#91;259]ddr_efuse_type: 0xa\n&#91;262]DRAM SIZE =128 M\n&#91;264]dram_tpr4:0x0\n&#91;266]PLL_DDR_CTRL_REG:0xf8004100\n&#91;269]DRAM_CLK_REG:0xc0000000\n&#91;272]&#91;TIMING DEBUG] MR2= 0x18\n&#91;279]DRAM simple test OK.\n&#91;281]rtc standby flag is 0x0, super standby flag is 0x0\n&#91;286]dram size =128\n&#91;289]card no is 0\n&#91;291]sdcard 0 line count 4\n&#91;293]&#91;mmc]: mmc driver ver 2021-05-21 14:47\n&#91;303]&#91;mmc]: Wrong media type 0x0\n&#91;306]&#91;mmc]: ***Try SD card 0***\n&#91;316]&#91;mmc]: HSSDR52\/SDR25 4 bit\n&#91;319]&#91;mmc]: 50000000 Hz\n&#91;321]&#91;mmc]: 3840 MB\n&#91;323]&#91;mmc]: ***SD\/MMC 0 init OK!!!***\n&#91;422]Loading boot-pkg Succeed(index=0).\n&#91;426]Entry_name        = u-boot\n&#91;433]Entry_name        = optee\n&#91;437]Entry_name        = dtb\n&#91;440]mmc not para\n&#91;442]Jump to second Boot.\nM\/TC: OP-TEE version: 6aef7bb2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Fri Jul 23 09:25:11 UTC 2021 arm\n\n\nU-Boot 2018.05-g6c4e831 (Sep 28 2025 - 10:28:48 +0000) Allwinner Technology\n\n&#91;00.498]CPU:   Allwinner Family\n&#91;00.501]Model: sun8iw20\n&#91;00.503]DRAM:  128 MiB\n&#91;00.506]Relocation Offset is: 04e9b000\n&#91;00.535]secure enable bit: 0\n&#91;00.538]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz\n&#91;00.544]gic: sec monitor mode\n&#91;00.551]flash init start\n&#91;00.553]workmode = 0,storage type = 1\n&#91;00.556]&#91;mmc]: mmc driver ver uboot2018:2021-06-15 14:00:00\n&#91;00.562]&#91;mmc]: <span class=\"hljs-keyword\">get<\/span> sdc_type fail and use default host:tm1.\n&#91;00.568]&#91;mmc]: can't find node \"mmc0\",will add new node\n&#91;00.572]&#91;mmc]: fdt err returned &lt;no error&gt;\n&#91;00.576]&#91;mmc]: Using default timing para\n&#91;00.580]&#91;mmc]: SUNXI SDMMC Controller Version:0x50310\n&#91;00.598]&#91;mmc]: card_caps:0x3000000a\n&#91;00.601]&#91;mmc]: host_caps:0x3000003f\n&#91;00.606]sunxi flash init ok\n&#91;00.608]line:703 init_clocks\n&#91;00.611]drv_disp_init\nrequest pwm success, pwm7:pwm7:0x2000c00.\n&#91;00.624]drv_disp_init finish\n&#91;00.627]boot_gui_init:start\n&#91;00.629]<span class=\"hljs-keyword\">set<\/span> disp.dev2_output_type fail. using defval=0\nFDT ERROR:fdt_get_all_pin:<span class=\"hljs-keyword\">get<\/span> property handle pinctrl-0 error:FDT_ERR_INTERNAL\ndisp_sys_pin_set_state, fdt_set_all_pin, ret=-1\n&#91;00.646]\n\n\n\n\n&#91;00.648]info: LCD model is MK20 \n&#91;00.711]info: LCD_power_on_MK20_PLUS run \n&#91;00.714]\n\n\n\n\n&#91;00.716]boot_gui_init:finish\npart&#91;00.746]\n\n\n\n\n&#91;00.748]info: LCD model is MK20 \n&#91;00.751]info: LCD_panel_init_MK20_PLUS run \n&#91;00.755]info : init hardwave spi ... \n&#91;00.760]info : init hardwave spi finish \npartno erro : can't find partition bootloader\n522061878098556 bytes read in 0 ms (12.9 MiB\/s)\n&#91;00.817]info: load image... \n&#91;01.467]\n\n\n\n\nno erro : can't find partition bootloader\n54 bytes read in 3 ms (17.6 KiB\/s)\n&#91;01.487]bmp_name=bootlogo.bmp size 76938\n76938 bytes read in 9 ms (8.2 MiB\/s)\n&#91;01.536]Loading Environment from SUNXI_FLASH... OK\n&#91;01.572]Item0 (Map) magic is bad\n&#91;01.575]the secure storage item0 copy0 magic is bad\n&#91;01.581]Item0 (Map) magic is bad\n&#91;01.584]the secure storage item0 copy1 magic is bad\n&#91;01.589]Item0 (Map) magic is bad\nsecure storage read widevine fail\n&#91;01.595]secure storage read widevine fail with:-1\nsecure storage read ec_key fail\n&#91;01.602]secure storage read ec_key fail with:-1\nsecure storage read ec_cert1 fail\n&#91;01.609]secure storage read ec_cert1 fail with:-1\nsecure storage read ec_cert2 fail\n&#91;01.617]secure storage rea&#91;01.620]LCD open finish\nd ec_cert2 fail with:-1\nsecure storage read ec_cert3 fail\n&#91;01.627]secure storage read ec_cert3 fail with:-1\nsecure storage read rsa_key fail\n&#91;01.635]secure storage read rsa_key fail with:-1\nsecure storage read rsa_cert1 fail\n&#91;01.642]secure storage read rsa_cert1 fail with:-1\nsecure storage read rsa_cert2 fail\n&#91;01.650]secure storage read rsa_cert2 fail with:-1\nsecure storage read rsa_cert3 fail\n&#91;01.657]secure storage read rsa_cert3 fail with:-1\n&#91;01.662]out of usb burn from boot: not need burn key\npartno erro : can't find partition private\nroot_partition is rootfs\n<span class=\"hljs-keyword\">set<\/span> root to \/dev\/mmcblk0p5\n&#91;01.682]update part info\n&#91;01.689]update bootcmd\n&#91;01.696]change working_fdt 0x46a5ae70 to 0x46a3ae70\n&#91;01.717]update dts\ngeth_sys_init:624: <span class=\"hljs-keyword\">get<\/span> node 'gmac0' error\ngeth_sys_init fail!\n&#91;01.724]Board Net Initialization Failed\n&#91;01.728]No ethernet found.\nHit any key to stop autoboot:  0 \n&#91;01.972]no vendor_boot partition is found\nAndroid's image name: t113-pro\n&#91;01.985]Starting kernel ...\n\n&#91;01.987]&#91;mmc]: MMC Device 2 not found\n&#91;01.991]&#91;mmc]: mmc 2 not find, so not exit\n<\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Langage du code\u00a0:<\/span> <span class=\"shcb-language__name\">JavaScript<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">javascript<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<p>Les trois PADs du dessus sont certainement une UART pour le GD32.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>En ouvrant le MK20 on trouve 6&nbsp;pads sur le cot\u00e9 dont un semble correspondre \u00e0 l&rsquo;UART de boot du T113-S3. Si on branche un adaptateur USB-UART dessus on obtient la sortie suivante : Les trois PADs du dessus sont certainement &hellip; <a href=\"https:\/\/www.fabienm.eu\/wordpress\/2026\/03\/20\/mk20-boot\/\">Continuer la lecture <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[192],"tags":[407,111,391,404,403],"class_list":["post-2575","post","type-post","status-publish","format-standard","hentry","category-electronique","tag-407","tag-buildroot","tag-mk20","tag-reverse","tag-uboot"],"_links":{"self":[{"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/posts\/2575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/comments?post=2575"}],"version-history":[{"count":3,"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/posts\/2575\/revisions"}],"predecessor-version":[{"id":2580,"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/posts\/2575\/revisions\/2580"}],"wp:attachment":[{"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/media?parent=2575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/categories?post=2575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.fabienm.eu\/wordpress\/wp-json\/wp\/v2\/tags?post=2575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}