<?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[TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1]]></title><description><![CDATA[<p dir="auto">步骤：<br />
1、 基本按照创龙的“1-2-Linux开发环境搭建”。有一点不同，我们用的是ubuntu18.04实体机，而不是文档中的虚拟机。<br />
2、编译成功。<br />
3、pack成功。<br />
4、pack -s 失败。失败信息如下：</p>
<pre><code>packing for linux
secure
prepare for signature by openssl
'/home/foxwolf/T113/T113-i_v1.0/device/config/chips/t113_i/configs/default/dragon_toc.cfg' -&gt; 'dragon_toc.cfg'
grep: /home/foxwolf/T113/T113-i_v1.0/kernel/linux-5.4/scripts/build.sh: No such file or directory
ERROR: dragon toc0 run error

</code></pre>
<pre><code>  4、将pack（不是pack -s）成功产生的镜像文件写入开发板后，冷启信息如下：
</code></pre>
<pre><code>[20]HELLO! BOOT0 is starting!
[23]BOOT0 commit : 09b36272
[25]set pll start
[31]periph0 has been enabled
[34]set pll end
[36][pmu]: bus read error
[38]board init ok
[40]enable_jtag
[42]DRAM only have internal ZQ!!
[45]get_pmu_exist() = -1
[47]ddr_efuse_type: 0x0
[49]mark_id: 0x34
[51]trefi:7.8ms
[54][AUTO DEBUG] single rank and full DQ!
[58]ddr_efuse_type: 0x0
[60]mark_id: 0x34
[62]trefi:7.8ms
[64][AUTO DEBUG] rank 0 row = 14 
[67][AUTO DEBUG] rank 0 bank = 8 
[70][AUTO DEBUG] rank 0 page size = 2 KB 
[74]DRAM BOOT DRIVE INFO: V0.32
[77]DRAM CLK = 792 MHz
[80]DRAM Type = 3 (2:DDR2,3:DDR3)
[83]DRAMC ZQ value: 0x7b7bfb
[86]DRAM ODT value: 0x42.
[88]ddr_efuse_type: 0x0
[91]mark_id: 0x34
[93]DRAM SIZE =256 M
[95]PLL_DDR_CTRL_REG:0xf8004100
[98]DRAM_CLK_REG:0xc0000000
[101][TIMING DEBUG] MR2= 0x18
[108]DRAM simple test OK.
[111]rtc standby flag is 0x0, super standby flag is 0x0
[116]dram size =256
[119]card no is 0
[121]sdcard 0 line count 4
[123][mmc]: mmc driver ver 2021-05-21 14:47
[132][mmc]: Wrong media type 0x0
[135][mmc]: ***Try SD card 0***
[144][mmc]: HSSDR52/SDR25 4 bit
[147][mmc]: 50000000 Hz
[149][mmc]: 29664 MB
[151][mmc]: ***SD/MMC 0 init OK!!!***
[248]Loading boot-pkg Succeed(index=0).
[252]Entry_name        = u-boot
[259]Entry_name        = optee
[263]Entry_name        = dtb
[266]mmc not para
[268]Jump to second Boot.
M/TC: OP-TEE version: 15ee1539 (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm
E/TC:0 0 check_hardware_info:90 hardware check error1
E/TC:0 0 Panic at core/arch/arm/plat-sun8iw20p1/main.c:314 &lt;plat_init&gt;
E/TC:0 0 Call stack:
E/TC:0 0  0x41b0ca29
</code></pre>
<p dir="auto">5、请不要强调开发环境一定要用虚拟机（太慢），我坚信全志的开发环境是科学，而不是神学！<br />
6、请大仙指点！！！</p>
]]></description><link>https://bbs.aw-ol.com/topic/5136/tlt113-minievm-启动引导失败-e-tc-0-0-check_hardware_info-90-hardware-check-error1</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 16:11:39 GMT</lastBuildDate><atom:link href="https://bbs.aw-ol.com/topic/5136.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Mar 2024 06:22:21 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 13 Dec 2024 06:25:29 GMT]]></title><description><![CDATA[<p dir="auto">楼主请问一下你这个问题解决了吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/24812</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/24812</guid><dc:creator><![CDATA[qinlinbin]]></dc:creator><pubDate>Fri, 13 Dec 2024 06:25:29 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 08 Mar 2024 07:42:18 GMT]]></title><description><![CDATA[<p dir="auto">建议联系我司技术服务协助。<br />
技术热线：020-3893-9734<br />
技术邮箱：support@tronlong.com</p>
]]></description><link>https://bbs.aw-ol.com/post/21713</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21713</guid><dc:creator><![CDATA[Tronlong_support]]></dc:creator><pubDate>Fri, 08 Mar 2024 07:42:18 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 08 Mar 2024 07:24:33 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3872">@scanli</a> 如果刷写过，需要创龙官方来提供支持</p>
]]></description><link>https://bbs.aw-ol.com/post/21712</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21712</guid><dc:creator><![CDATA[awwwwa]]></dc:creator><pubDate>Fri, 08 Mar 2024 07:24:33 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 08 Mar 2024 07:22:30 GMT]]></title><description><![CDATA[<p dir="auto">目前板子如果用emmc里的镜像可以正常启动，启动信息如下：</p>
<pre><code>[30]HELLO! BOOT0 is starting!
[33]BOOT0 commit : 09b36272
[36]set pll start
[41]periph0 has been enabled
[44]set pll end
[46][pmu]: bus read error
[48]board init ok
[50]enable_jtag
[52]DRAM only have internal ZQ!!
[55]get_pmu_exist() = -1
[57]DRAM BOOT DRIVE INFO: V0.32
[60]DRAM CLK = 792 MHz
[62]DRAM Type = 3 (2:DDR2,3:DDR3)
[66]DRAMC ZQ value: 0x7b7bfb
[68]DRAM ODT value: 0x42.
[71]ddr_efuse_type: 0x0
[73]mark_id: 0x34
[76]DRAM SIZE =256 M
[78]PLL_DDR_CTRL_REG:0xf8004100
[81]DRAM_CLK_REG:0xc0000000
[84][TIMING DEBUG] MR2= 0x18
[91]DRAM simple test OK.
[94]rtc standby flag is 0x0, super standby flag is 0x0
[99]dram size =256
[101]card no is 2
[103]sdcard 2 line count 4
[106][mmc]: mmc driver ver 2021-05-21 14:47
[115][mmc]: Wrong media type 0x0, but host sdc2, try mmc first
[120][mmc]: ***Try MMC card 2***
[145][mmc]: RMCA OK!
[147][mmc]: mmc 2 bias 0
[152][mmc]: MMC 5.1
[153][mmc]: HSSDR52/SDR25 4 bit
[156][mmc]: 50000000 Hz
[159][mmc]: 3648 MB
[161][mmc]: ***SD/MMC 2 init OK!!!***
[256]Loading boot-pkg Succeed(index=0).
[259]Entry_name        = u-boot
[267]Entry_name        = optee
[271]Entry_name        = dtb
[274]tunning data addr:0x430003e8
[277]Jump to second Boot.
M/TC: OP-TEE version: 15ee1539 (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #1 Tue Mar 29 06:48:41 UTC 2022 arm


U-Boot 2018.05-g9ae43f5 (Sep 05 2023 - 09:12:39 +0000) Allwinner Technology

</code></pre>
<p dir="auto">1、应该是安全启动。期望创龙官方给一个optee方面的文档，从网上看全志T113 cpu里的optee方面没有文档，遇见问题无从下手。<br />
2、@awwwwa 谢谢您的回复，如果刷写过安全启动，您提供的方案能解决我的问题吗？</p>
]]></description><link>https://bbs.aw-ol.com/post/21711</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21711</guid><dc:creator><![CDATA[scanli]]></dc:creator><pubDate>Fri, 08 Mar 2024 07:22:30 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 08 Mar 2024 06:55:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://bbs.aw-ol.com/uid/3872">@scanli</a> 请问设备是否刷写过安全启动？如果没有刷写过但是出现这个情况可以做以下临时修改</p>
<p dir="auto">在 <code>device/config/chips/t113_i/configs/default/</code> 修改 <code>boot_package.cfg</code> 删除 <code>optee.fex</code> 行</p>
<p dir="auto">在 <code>lichee/linux-5.4/arch/arm/boot/dts/sun8iw20p1.dtsi</code> 中注释</p>
<pre><code>psci {
	compatible = "arm,psci-1.0";
	method = "smc";
};
</code></pre>
<p dir="auto">前往 <code>lichee/linux-5.4/arch/arm/mach-sunxi/platsmp.c</code> 加入</p>
<pre><code>static int sun8i_t113_smp_boot_secondary(unsigned int cpu,
				    struct task_struct *idle)
{
    u32 reg;
    void __iomem *cpucfg_membase = ioremap(0x09010000, 0x10);
    void __iomem *cpuexec_membase[] = {ioremap(0x070005C4, 0x10),ioremap(0x070005C8, 0x10)};
	
	if (cpu != 1)
	    return 0;

	spin_lock(&amp;cpu_lock);

	writel(__pa_symbol(secondary_startup),	cpuexec_membase[cpu]);

	reg = readl(cpucfg_membase);
	writel(reg | BIT(cpu), cpucfg_membase);

	spin_unlock(&amp;cpu_lock);

	return 0;
}

static const struct smp_operations sun8i_t113_smp_ops __initconst = {
	.smp_boot_secondary	= sun8i_t113_smp_boot_secondary,
};
CPU_METHOD_OF_DECLARE(sun8i_t113_smp, "allwinner,sun8iw20p1", &amp;sun8i_t113_smp_ops);
</code></pre>
<p dir="auto">注意这只是临时修改跳过检查，之后最好使用创龙提供的虚拟机复现看看会不会也出现这个问题</p>
]]></description><link>https://bbs.aw-ol.com/post/21707</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21707</guid><dc:creator><![CDATA[awwwwa]]></dc:creator><pubDate>Fri, 08 Mar 2024 06:55:45 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 08 Mar 2024 06:49:59 GMT]]></title><description><![CDATA[<p dir="auto">make distclean后删除out文件夹重新编译,试过多次，现象依旧。</p>
]]></description><link>https://bbs.aw-ol.com/post/21704</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21704</guid><dc:creator><![CDATA[scanli]]></dc:creator><pubDate>Fri, 08 Mar 2024 06:49:59 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 08 Mar 2024 06:29:38 GMT]]></title><description><![CDATA[<p dir="auto">make distclean后删除out文件夹重新编译看看</p>
]]></description><link>https://bbs.aw-ol.com/post/21695</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21695</guid><dc:creator><![CDATA[awwwwa]]></dc:creator><pubDate>Fri, 08 Mar 2024 06:29:38 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Fri, 08 Mar 2024 06:28:40 GMT]]></title><description><![CDATA[<p dir="auto">创龙官家在吗？我等用户在眼巴巴地等着呢！</p>
]]></description><link>https://bbs.aw-ol.com/post/21694</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21694</guid><dc:creator><![CDATA[scanli]]></dc:creator><pubDate>Fri, 08 Mar 2024 06:28:40 GMT</pubDate></item><item><title><![CDATA[Reply to TLT113-MiniEVM 启动引导失败：E&#x2F;TC:0 0 check_hardware_info:90 hardware check error1 on Wed, 06 Mar 2024 06:59:04 GMT]]></title><description><![CDATA[<p dir="auto">我刚修改sys_partition.fex调大rootfs的空间也出现这个报错</p>
]]></description><link>https://bbs.aw-ol.com/post/21621</link><guid isPermaLink="true">https://bbs.aw-ol.com/post/21621</guid><dc:creator><![CDATA[JayGI]]></dc:creator><pubDate>Wed, 06 Mar 2024 06:59:04 GMT</pubDate></item></channel></rss>