<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[t113 recovery模式无法进入，no ATAGS support: can&#x27;t continue]]></title><description><![CDATA[<p dir="auto">之前都是用USB下载新固件(spinand)，现在想用swupdate工具做本地和OTA升级。<br />
1.更改了分区文件sys_partition.fex</p>
<pre><code>[partition]
    name      = recovery
    size         =26128
    ;size        = 10240
    downloadfile = "recovery.fex"
    user_type    = 0x8000
</code></pre>
<p dir="auto">sw-subimgs.cfg</p>
<pre><code>swota_file_list=(
${TINA_BUILD_TOP=}/target/allwinner/${TARGET_BOARD}/swupdate/sw-description-ubi:sw-description
out/${TARGET_BOARD}/boot_initramfs_recovery.img:recovery
#out/${TARGET_BOARD}/image/recovery.fex:recovery
out/${TARGET_BOARD}/image/boot0_nand.fex:boot0
out/${TARGET_BOARD}/image/boot_package.fex:uboot
out/${TARGET_BOARD}/image/rootfs.fex:rootfs
out/${TARGET_BOARD}/image/boot.fex:kernel
#out/${TARGET_BOARD}/usr.img:usr
)

</code></pre>
<p dir="auto">2.swupdate_make_recovery_img，（主系统和recovery，都设置了ubi-env-redund）</p>
<p dir="auto">3.swupdate_pack_swu -ubi</p>
<p dir="auto">4.pack，然后升级固件。</p>
<p dir="auto">5.尝试进入recovery，失败~</p>
<pre><code>root@t113:~# fw_setenv boot_partition recovery
root@t113:~# reboot
can't run '/etc/init.d/rcK': No such file or directory
can't run '/sbin/swapoff': No such file or directory
[  148.645894] UBIFS (ubi0:9): un-mount UBI device 0
umount: can't remount adb read-only
[  148.654991] UBIFS (ubi0:9): background thread "ubifs_bgt0_9" stops
umount: can't remount tmpfs read-only
umount: /proc busy - remounted read-only
umount: devtmpfs busy - remounted read-only
The system is going down NOW!
Sent SIG[  148.742104] android_work: sent uevent USB_STATE=DISCONNECTED
TERM to all processes
netifd_ubus_reconnect_timer(336): failed to reconnect, trying again in 2 seconds
[  148.758620] android_work: did not send uevent (0 0 00000000)
Sen[  150.737586] [ohci1-controller]: ohci shutdown start
[  150.743047] [ohci1-controller]: ohci shutdown end
[  150.748390] [ehci1-controller]: ehci shutdown start
[  150.753993] [ehci1-controller]: ehci shutdown end
[  150.759855] reboot: Restarting system
[29]HELLO! BOOT0 is starting!
[31]BOOT0 commit : adaf1174cc
[34]set pll start
[40]periph0 has been enabled
[43]set pll end
[46][pmu]: bus read error
[48]board init ok
[50]ZQ value = 0x31
[52]get_pmu_exist() = -1
[54]DRAM BOOT DRIVE INFO: V0.33
[57]DRAM CLK = 936 MHz
[59]DRAM Type = 3 (2:DDR2,3:DDR3)
[63]DRAMC read ODT  off.
[65]DRAM ODT value: 0x42.
[68]ddr_efuse_type: 0xa
[71]DRAM SIZE =128 M
[73]dram_tpr4:0x0
[74]PLL_DDR_CTRL_REG:0xf8004d00
[77]DRAM_CLK_REG:0xc0000000
[80][TIMING DEBUG] MR2= 0x20
[87]DRAM simple test OK.
[89]rtc standby flag is 0x0, super standby flag is 0x0
[94]dram size =128
[97]spinand UBOOT_START_BLK_NUM 8 UBOOT_LAST_BLK_NUM 32
[102]block from 8 to 32
[206]Check is correct.
[208]dma 0x29c9c int is not used yet
[211]dma 0x29c9c int is free, you do not need to free it again
[217]Entry_name        = u-boot
[224]Entry_name        = optee
[228]Entry_name        = dtb
[231]Jump to second Boot.
M/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


U-Boot 2018.05-g2a1965a-dirty (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology

[00.284]CPU:   Allwinner Family
[00.287]Model: sun8iw20
[00.289]DRAM:  128 MiB
[00.292]Relocation Offset is: 04ec1000
[00.317]secure enable bit: 0
[00.320]smc_tee_inform_fdt failed with: -65526[00.324]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.330]gic: sec monitor mode
[00.333]flash init start
[00.335]workmode = 0,storage type = 0

device nand0 &lt;nand&gt;, # parts = 4
 #: name                size            offset          mask_flags
 0: boot0               0x00100000      0x00000000      1
 1: uboot               0x00300000      0x00100000      1
 2: secure_storage      0x00100000      0x00400000      1
 3: sys                 0x0fb00000      0x00500000      0

active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000

defaults:
mtdids  : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.511]ubi0: attaching mtd4
[00.712]ubi0: scanning is finished
[00.719]ubi0: attached mtd4 (name "sys", size 251 MiB)
[00.724]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[00.730]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[00.736]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[00.742]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[00.748]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
[00.755]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[00.762]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[00.771]sunxi flash init ok
[00.774]line:703 init_clocks
[00.777]drv_disp_init
fdt get node offset faill: hdmi
[00.786]unable to map hdmi registers
[00.790]drv_disp_init finish
[00.894]Loading Environment from SUNXI_FLASH... OK
[00.914]boot_gui_init:start
[00.917]set disp.dev2_output_type fail. using defval=0
drv_lcd_open_callback lcd open flow is NULL! LCD enable fail!
[00.928]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 0 ms
[00.947]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 3 ms (12.2 MiB/s)
[00.958]Item0 (Map) magic is bad
[00.961]out of usb burn from boot: not need burn key
List file under ULI/factory
** Unrecognized filesystem type **
[00.982]update bootcmd
[00.994]change working_fdt 0x44880e70 to 0x44860e70
[01.016]update dts
Hit any key to stop autoboot:  0
[02.491]no vendor_boot partition is found
Android's image name: t113-RtkDongle
[02.508]Starting kernel ...

no ATAGS support: can't continue


</code></pre>
<p dir="auto">6.uboot更改 boot_partition为boot，启动后恢复正常~</p>
<p dir="auto">7.尝试本地Upgrade_kernel，</p>
<pre><code>
[INFO ] : SWUPDATE running :  Installing image kernel into volume /dev/ubi0_4(boot)
[TRACE] : SWUPDATE running :  [update_volume] : Updating UBI : kernel 4958208
[TRACE] : SWUPDATE running :  [install_single_image] : Found installer for stream rootfs ubivol[  125.837121] ubi0 error: get_exclusive: 2 users for volume 5

[ERROR] : SWUPDATE failed [0] ERROR handlers/ubivol_handler.c : update_volume : 205 : cannot start volume "/dev/ubi0_5" update
[TRACE] : SWUPDATE running :  [install_single_image] : Installer for ubivol not successful !
Software updated failed

</code></pre>
<p dir="auto">全志OTA升级的过程实在是不熟悉，有没有大神普及下哇</p>
]]></description><link>https://bbs.aw-ol.com/topic/6134/t113-recovery模式无法进入-no-atags-support-can-t-continue</link><generator>RSS for Node</generator><lastBuildDate>Thu, 11 Jun 2026 00:45:35 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/6134.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 14 Feb 2025 08:15:51 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to t113 recovery模式无法进入，no ATAGS support: can&#x27;t continue on Thu, 12 Feb 2026 09:12:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3876">@yubeer</a> 兄弟，你搞定了吗</p>
]]></description><link>https://bbs.aw-ol.com/post/28176</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/28176</guid><dc:creator><![CDATA[lmhhh]]></dc:creator><pubDate>Thu, 12 Feb 2026 09:12:07 GMT</pubDate></item><item><title><![CDATA[Reply to t113 recovery模式无法进入，no ATAGS support: can&#x27;t continue on Fri, 14 Feb 2025 08:51:29 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3876">@yubeer</a> 本地swupdate_cmd.sh执行upgrade_kernel后，重启日志，彻底挂了~</p>
<pre><code>

[217]Entry_name        = u-boot
[224]Entry_name        = optee
[228]Entry_name        = dtb
[231]Jump to second Boot.
M/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


U-Boot 2018.05-g2a1965a-dirty (Jul 10 2022 - 02:50:57 +0000) Allwinner Technology

[00.284]CPU:   Allwinner Family
[00.287]Model: sun8iw20
[00.289]DRAM:  128 MiB
[00.292]Relocation Offset is: 04ec1000
[00.317]secure enable bit: 0
[00.320]smc_tee_inform_fdt failed with: -65526[00.324]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz  MBus=300Mhz
[00.330]gic: sec monitor mode
[00.333]flash init start
[00.335]workmode = 0,storage type = 0

device nand0 &lt;nand&gt;, # parts = 4
 #: name                size            offset          mask_flags
 0: boot0               0x00100000      0x00000000      1
 1: uboot               0x00300000      0x00100000      1
 2: secure_storage      0x00100000      0x00400000      1
 3: sys                 0x0fb00000      0x00500000      0

active partition: nand0,0 - (boot0) 0x00100000 @ 0x00000000

defaults:
mtdids  : nand0=nand
mtdparts: mtdparts=nand:1024k@0(boot0)ro,3072k@1048576(uboot)ro,1024k@4194304(secure_storage)ro,-(sys)
[00.512]ubi0: attaching mtd4
[00.713]ubi0: scanning is finished
[00.720]ubi0: attached mtd4 (name "sys", size 251 MiB)
[00.725]ubi0: PEB size: 262144 bytes (256 KiB), LEB size: 258048 bytes
[00.731]ubi0: min./max. I/O unit sizes: 4096/4096, sub-page size 2048
[00.737]ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[00.743]ubi0: good PEBs: 1004, bad PEBs: 0, corrupted PEBs: 0
[00.749]ubi0: user volume: 10, internal volumes: 1, max. volumes count: 128
[00.755]ubi0: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[00.763]ubi0: available PEBs: 0, total reserved PEBs: 1004, PEBs reserved for bad PEB handling: 40
[00.772]sunxi flash init ok
[00.774]line:703 init_clocks
[00.777]drv_disp_init
fdt get node offset faill: hdmi
[00.787]unable to map hdmi registers
[00.790]drv_disp_init finish
[00.895]Loading Environment from SUNXI_FLASH... OK
[00.915]boot_gui_init:start
[00.918]set disp.dev2_output_type fail. using defval=0
drv_lcd_open_callback lcd open flow is NULL! LCD enable fail!
[00.929]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 0 ms
[00.948]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 2 ms (18.3 MiB/s)
[00.960]Item0 (Map) magic is bad
[00.962]out of usb burn from boot: not need burn key
List file under ULI/factory
** Unrecognized filesystem type **
[00.983]update bootcmd
damaged volume, update marker is set[00.998]change working_fdt 0x44880e70 to 0x44860e70
[01.020]update dts
Hit any key to stop autoboot:  0
damaged volume, update marker is set[02.041]no vendor_boot partition is found
Wrong Image Format for bootm command
ERROR: can't get kernel image!

</code></pre>
]]></description><link>https://bbs.aw-ol.com/post/25359</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/25359</guid><dc:creator><![CDATA[yubeer]]></dc:creator><pubDate>Fri, 14 Feb 2025 08:51:29 GMT</pubDate></item></channel></rss>