编译tina3.5
1、修改sys_config.fex的串口,默认是串口1,改成串口0输出
2、修改为spi flash启动
storage_type = 3
这样修改编译出来的固件能启动uboot,到启动内核的时候卡住了
[0]HELLO! BOOT0 is starting!
[2]boot0 commit : 80628dcde5dc4ecdc757a9e782c58d7cf1abf959
[60]dram size =32
[62]Reg pull reg_val=0x00000000,read=0x00000010
[66]Succeed in reading toc file head.
[69]The size of toc is 00054000.
[127]Reg pull reg_val=0x00000000,read=0x00000010
[136]Ready to disable icache.
[138]Jump to secend Boot.
U-Boot 2014.07 (Jul 31 2018 - 14:59:26) Allwinner Technology
uboot commit : 6604446f7bddb8fe53f2b993100929f92a5f4d6e
i2c_init: by cpux
[I2C-DEBUG]:i2c_set_clock() 354
[I2C-ERROR]:twi_send_clk_9pulse() 136 SDA is still Stuck Low, failed.
i2c_init ok
[0.187]pmbus: ready
axp: get node[/soc/pmu0] error
axp_probe error
[0.193]PMU: cpux 408 Mhz,AXI=408 Mhz
PLL6=600 Mhz,AHB1=200 Mhz, APB1=100Mhz
key value = 4294967295, fel_key = [256,426]
DRAM: 32 MiB
Relocation Offset is: 01581000
axp: get node[/soc/pmu0] error
int sunxi_dma_init---
irq enable
workmode = 0,storage type = 3
[0.260]spinor: 0
flash size =0x8000 sectors
sunxi spinor is initing...int sunxi_dma_init---
irq enable
sunxi_dma_install_int ok
sunxi_dma_install_int ok
OK
spinor id:0x1840ef
spi_freq = 40000000
[0.278]sunxi flash init ok
spinor read: start 0x3e0, sector 0x20
used mbr [0], count = 8
spinor read: start 0x800, sector 0x200
backup env check CRC fail
Now update backup env
spinor write: start 0x900, sector 0x100
start = 0x900, cnt=0x80
start = 0x980, cnt=0x80
logo addr = 0x81f00000
spinor read: start 0x400, sector 0x400
sunxi_read_bootlogo: read bootlogo partition successful
do not find fastboot status flag
--------fastboot partitions--------
-total partitions:8-
-name- -start- -size-
bootlogo : 4000 80000
env : 84000 40000
boot : c4000 2ee000
rootfs : 3b2000 870800
rootfs_data : c22800 80000
misc : ca2800 10000
private : cb2800 10000
UDISK : cc2800 0
-----------------------------------
spinor read: start 0x68f4, sector 0x4
disable nand error: FDT_ERR_BADPATH
disable nand error: FDT_ERR_BADPATH
## error: update_fdt_dram_para : FDT_ERR_NOTFOUND
PowerBus = 0( 2:vBus 3:acBus other: not exist)
no battery exist
sunxi_bmp_logo_display
Hit any key to stop autoboot: 0
spinor read: start 0xa00, sector 0x40
spinor read: start 0xa40, sector 0x13e5
## Booting kernel from Legacy Image at 80007fc0 ...
Image Name: ARM OpenWrt Linux-3.10.65
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2639872 Bytes = 2.5 MiB
Load Address: 80008000
Entry Point: 80008000
XIP Kernel Image ... OK
reserving fdt memory region: addr=81000000 size=10000
Using Device Tree in place at 81000000, end 8100f2bf
Starting kernel ...
这就停掉了,内核没打印东西,不知道内核是否启动了
请问大家还需要修改什么吗
离线
问题已找到
离线
tina默认没有打开eraly print,打开了就可以看到是lcd驱动那里的问题了
离线