按教程编译的tina linux,最后pack生成了个tina_t113-mq_r_uart3.img文件。在win下可以用phonixsuit烧写。
不想两个系统来回切换,想找个ubuntu下烧写t113的方法。
sunxi-fel貌似不能向t113-s3的spi nand读写。
xfel可以读写t113-s3的spi nand。
我尝试将tina_t113-mq_r_uart3.img通过xfel spinand 0 tina_t113-mq_r_uart3.img烧写进去。结果系统起不来。可以通过xfel spinand read读出来,发现和烧写文件一致。
先通过phonixsuit将该img文件烧进去并确定系统可以去来,然后用xfel spinand read读出来,发现读出来的内容和烧写文件不一样了。不过貌似大小是一样的。
离线
看到win下phonixsuit烧录时,是先输出这些信息:
[612]fes begin commit:adaf1174cc
[615]set pll start
[621]periph0 has been enabled
[624]set pll end
[626][pmu]: bus read error
[628]board init ok
[630]beign to init dram
[632]ZQ value = 0x2f
[634]get_pmu_exist() = -1
[637]ddr_efuse_type: 0xa
[639]trefi:7.8ms
[642][AUTO DEBUG] single rank and full DQ!
[646]ddr_efuse_type: 0xa
[648]trefi:7.8ms
[650][AUTO DEBUG] rank 0 row = 13
[653][AUTO DEBUG] rank 0 bank = 8
[657][AUTO DEBUG] rank 0 page size = 2 KB
[661]DRAM BOOT DRIVE INFO: V0.33
[664]DRAM CLK = 936 MHz
[666]DRAM Type = 3 (2:DDR2,3:DDR3)
[669]DRAMC read ODT off.
[672]DRAM ODT value: 0x42.
[674]ddr_efuse_type: 0xa
[677]DRAM SIZE =128 M
[679]dram_tpr4:0x0
[681]PLL_DDR_CTRL_REG:0xf8004d00
[684]DRAM_CLK_REG:0xc0000000
[687][TIMING DEBUG] MR2= 0x20
[691]DRAM simple test OK.
[693]rtc standby flag is 0x0, super standby flag is 0x0
[698]init dram ok
离线
phonixsuit 有linux版本,用那个就行
离线
phonixsuit 有linux版本,用那个就行
是指wine版吗?
离线
phonixsuit 有linux版本,用那个就行
找到了phoenixsuit-linux。
但是安装后启动时报错:
any@Any-Desktop:~/Bin/phoenixsuit$ ls
common_fun.lua liblua.so luaeFex.dll regdecode.lua
imgdec_fun.lua LiveProc.Plg phoenixsuit regdemo.lua
ini_fun.lua luaBase.dll plgvector.dll
LangPlg.dll luadec.dll regbasefun.lua
any@Any-Desktop:~/Bin/phoenixsuit$ ./phoenixsuit
library file path: /home/any/Bin/phoenixsuit/plgvector.dll
library file path: /home/any/Bin/phoenixsuit/LiveProc.Plg
library file path: /home/any/Bin/phoenixsuit/plgvector.dll
library file path: /home/any/Bin/phoenixsuit/luaeFex.dll
段错误 (核心已转储)
离线