您尚未登录。

#1 Re: 全志 SOC » T113-S3使用主线为啥就这么难呢?SPL跑起来了死活进不去uboot » 2022-07-19 15:12:42

This SPL (https://github.com/szemzoa/sun8iw20_spl) is for mainline u-boot, you cannot use this for the Allwinner u-boot. As currently there are no mainline u-boot support for T113 yet, that one not very useful at the moment, except the DDR setup from C code. Your best bet currently is to use the Allwinner SPL, u-boot, OP-TEE, kernel.

#2 Re: 全志 SOC » T113裸奔之 通过IAR/Jlink 初始化 SDARM...... » 2022-06-20 14:47:33

You can look my awboot, I reverse engineered the DDR3 init based on the D1 SPL, It can initialize the DDR3 from pure C code:
https://github.com/szemzoa/awboot

Allwinner T113-loader
boot device: mmc0
DRAM SIZE = 128M
DRAM simple test OK.
CPU freq=1200 MHz
SD/MMC card at 'sdhci0' controller found
SD/MMC: Image: Read file zImage addr=45000000
SD/MMC: dt blob: Read file sun8i-mangopi-mq-dual-linux.dtb addr=41800000
booting linux...
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 5.4.61 (root@devel) (arm-linux-gnueabi-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011, GNU ld (Linaro_Binutils-2017.11) 2.28.2.20170706) #4 SMP PREEMPT Tue Jun 14 15:19:48 CEST 2022
[    0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[    0.000000] CPU: div instructions available: patching division code
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] OF: fdt: Machine model: sun8iw20
[    0.000000] printk: bootconsole [earlycon0] enabled
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] cma: Reserved 8 MiB at 0x47800000
[    0.000000] On node 0 totalpages: 32512
[    0.000000]   Normal zone: 256 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn