T113使用TINA,想切换成Nor Flash。
修改 BoardConfig.mk
LICHEE_BRANDY_DEFCONF:=sun8iw20p1_nor_defconfig
按手册上进行修改,能烧进去系统。
启动时uboot报错,屏幕上已显示启动画面。
T113的配置只有SD卡的,求一个Spi NorFlash的配置
U-Boot 2018.05 (Apr 02 2022 - 06:28:13 +0000) Allwinner Technology
[00.197]CPU: Allwinner Family
[00.199]Model: sun8iw20
[00.202]DRAM: 128 MiB
[00.205]Relocation Offset is: 04f5a000
[00.219]secure enable bit: 0
[00.221]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=300Mhz
[00.228]gic: sec monitor mode
[00.230]flash init start
[00.232]workmode = 0,storage type = 3
spi sunxi_slave->max_hz:50000000
SF: Detected w25q128 with page size 256 Bytes, erase size 64 KiB, total 16 MiB
[00.248]sunxi flash init ok
[00.250]line:703 init_clocks
[00.253]drv_disp_init
request pwm success, pwm7:pwm7:0x2000c00.
[00.266]drv_disp_init finish
[00.269]boot_gui_init:start
[00.271]set disp.dev2_output_type fail. using defval=0
[00.277]boot_gui_init:finish
partno erro : can't find partition bootloader
54 bytes read in 0 ms
[00.289]bmp_name=bootlogo.bmp size 38454
38454 bytes read in 7 ms (5.2 MiB/s)
[00.308]Loading Environment from SUNXI_FLASH... *** Warning - bad CRC, using default environment
*** Warning - no device, using default environment
Failed (-5)
[00.344]update part info
[00.347]update bootcmd
[00.349]change working_fdt 0x46b19e70 to 0x46af9e70
disable nand error: FDT_ERR_NOTFOUND
[00.373]update dts
Hit any key to stop autoboot: 2 FDT ERROR:get muxsel err returned FDT_ERR_INTERNAL
sunxi_pwm_pin_set_state, fdt_set_all_pin, ret=-1
[00.468]LCD open finish
0
## Error: "distro_bootcmd" not defined
=>
停在这个界面
最近编辑记录 staunchheart (2022-04-08 21:52:57)
离线
pri显示的结果为:
baudrate=115200
bootcmd=run distro_bootcmd
bootdelay=2
fdtcontroladdr=46b19e70
force_normal_boot=1
partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6
Environment size: 230/131068 bytes
=>
baudrate=115200
bootcmd=run distro_bootcmd
bootdelay=2
fdtcontroladdr=46b19e70
force_normal_boot=1
partitions=boot-resource@mtdblock1:env@mtdblock2:env-redund@mtdblock3:boot@mtdblock4:rootfs@mtdblock5:UDISK@mtdblock6
Environment size: 230/131068 bytes
=>
离线