t113 longan怎样进入U-boot并且打印信息
-
1、查找资料将env.cfg中的bootdelay=0改为了bootdelay=4。编译下载后,在小机启动过程中按任意键没有反应。
使用uart5。sys_config.fex里串口的配置是这样的:
;---------------------------------------------------------------------------------- ;uart configuration ;uart_debug_port |Boot串口控制器编号 | ;uart_debug_tx |Boot串口发送的GPIO配置| ;uart_debug_rx |Boot串口接收的GPIO配置 | ;---------------------------------------------------------------------------------- [uart_para] uart_debug_port = 5 uart_debug_tx = port:PD05<5><1><default><default> uart_debug_rx = port:PD06<5><1><default><default>
串口助手进入系统后是可以正常输入的,串口助手的配置是这样的
下面是启动过程的日志信息:
[158]HELLO! BOOT0 is starting! [161]BOOT0 commit : 5224261 [164]set pll start [166]fix vccio detect value:0xc0 [173]periph0 has been enabled [176]set pll end [178][pmu]: bus read error [180]board init ok [182]enable_jtag [184]ZQ value = 0x30 [186]get_pmu_exist() = -1 [188]DRAM BOOT DRIVE INFO: V0.32 [191]DRAM CLK = 360 MHz [194]DRAM Type = 3 (2:DDR2,3:DDR3) [197]DRAMC read ODT off. [200]DRAM ODT value: 0x42. [202]ddr_efuse_type: 0xa [205]mark_id: 0x60 [207]DRAM SIZE =128 M [209]PLL_DDR_CTRL_REG:0xf8001d00 [213]DRAM_CLK_REG:0xc0000000 [215][TIMING DEBUG] MR2= 0x18 [224]DRAM simple test OK. [226]rtc standby flag is 0x0, super standby flag is 0x0 [231]dram size =128 [234]card no is 0 [236]sdcard 0 line count 4 [238][mmc]: mmc driver ver 2021-05-21 14:47 [247][mmc]: Wrong media type 0x0 [250][mmc]: ***Try SD card 0*** [254][mmc]: mmc 0 cmd 8 timeout, err 100 [258][mmc]: mmc 0 cmd 8 err 100 [261][mmc]: mmc 0 send if cond failed [265][mmc]: mmc 0 cmd 55 timeout, err 100 [269][mmc]: mmc 0 cmd 55 err 100 [272][mmc]: mmc 0 send app cmd failed [275][mmc]: ***Try MMC card 0*** [299][mmc]: RMCA OK! [301][mmc]: sdc0 spd mode error, 2 [304][mmc]: force 25m [306][mmc]: mmc 0 bias 0 [310][mmc]: MMC 5.1 [312][mmc]: HSSDR52/SDR25 4 bit [315][mmc]: 25000000 Hz [317][mmc]: 7456 MB [319][mmc]: ***SD/MMC 0 init OK!!!*** [464]Loading boot-pkg Succeed(index=0). [467]Entry_name = u-boot [476]Entry_name = optee [481]Entry_name = dtb [484]tunning data addr:0x430003e8 [487]Jump to second Boot. M/TC: OP-TEE version: 53fe17e2-dirty (gcc version 5.3.1 20160412 (Linaro GCC 5.3-2016.05)) #6 Fri Feb 18 08:54:51 UTC 2022 arm [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.4.61+ (user@ubuntu) (arm-linux-gnueabi-gcc (Linaro GCC 5.3-2016.05) 5.3.1 20160412, GNU ld (Linaro_Binutils-2016.05) 2.25.0 Linaro 2016_02) #168 SMP PREEMPT Mon Nov 27 09:31:20 CST 2023 [ 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 .....
各位大佬,是我哪里还没有配置正确嘛?希望大佬们可以指点一下,谢谢!
-
@sat1006
1、确定下你目前使用的固件是有uboot的?有些方案是把uboot去掉了的,直接boot0引导kernel
2、另外,目前T113的longan可能支持并不是完善,外面应该是没有全志对外开放的LongonSDK的,即使有,也是一些大佬从老的Longon SDK移植T113的方案过去的,难免会有些驱动没做好,建议换Tina -
@daizebin 好的,谢谢。萌新小白感觉还有好多路要走。
-
@daizebin 在 t113 longan怎样进入U-boot并且打印信息 中说:
LongonSDK和Tina啥区别?文档中看到了,但是没说明他们啥关系
-
@bigzhu Longan和Tina3.0是一个阶段的产物,后面SDK优化、升级,逐渐延伸出来了Tina4.0,Tina5.0
通俗点讲,Longan就是很老版本的全志SDK
Copyright © 2024 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号