[95]HELLO! BOOT0 is starting!
[98]BOOT0 commit : 2bfa9d6
[100]set pll start
[103]periph0 has been enabled
[106]set pll end
[108]PMU: AXP858
[114]dram return write ok
[116]board init ok
[118]debug:rtc h-m-s value:0x61a30
[121]DRAM BOOT DRIVE INFO: V0.651
[125]the chip id is 0x7c00
[127]chip id check OK
[131]DRAM_VCC set to 1500 mv
[134]DRAM CLK =672 MHZ
[136]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4)
[145]Actual DRAM SIZE =2048 M
[148]DRAM SIZE =2048 MBytes, para1 = 30fa, para2 = 8001000, dram_tpr13 = 6041
[161]DRAM simple test OK.
[164]rtc standby flag is 0x0, super standby flag is 0x0
[169]dram size =2048
[172]Use rtc to store dram tuning para
[176]card no is 2
[178]sdcard 2 line count 8
[180][mmc]: mmc driver ver 2020-07-21-202106151039
[191][mmc]: Wrong media type 0x0, but host is sdc2, try mmc first
[197][mmc]: ***Try MMC card 2***
[222][mmc]: RMCA OK!
[224][mmc]: bias 4
[227][mmc]: MMC 5.1
[229][mmc]: HSSDR52/SDR25 8 bit
[232][mmc]: 50000000 Hz
[235][mmc]: 7456 MB
[237][mmc]: ***SD/MMC 2 init OK!!!***
[260]Loading boot-pkg Succeed(index=0).
[264]Entry_name = u-boot
[271]Entry_name = monitor
[275]Entry_name = dtb
[278]tunning data addr:0x4a0003e8
[282]Jump to second Boot.
[284]monitor_base:1207959552
[287]optee_base:0,uboot_base:1241513984
NOTICE: BL3-1: v1.0(debug):f0130ea
NOTICE: BL3-1: Built : 10:23:13, 2022-04-14
NOTICE: BL3-1 commit: 8
NOTICE: hardware error1
PANIC in EL3 at x30 = 0x0000000048001f54
x0 = 0x0000000000000001
x1 = 0x0000000005000000
x2 = 0x0000000000000060
x3 = 0x0000000000000000
x4 = 0x0000000048018ad8
x5 = 0x0000000048018ad8
x6 = 0x000000004803cd50
x7 = 0x0000000048180000
x8 = 0x000000004803c000
x9 = 0x0000000048000168
x10 = 0x000000004800734c
x11 = 0xa0061fca00000000
x12 = 0xf4807f8600000000
x13 = 0x53283f1c0591fa8c
x14 = 0x240b7471fe7b1fa9
x15 = 0x424ef31ffcaf9b2f
x16 = 0x2b4849ca736ab127
x17 = 0x1b01590500021400
x18 = 0xe91cfe0e0002a79d
x19 = 0x0000000048017442
x20 = 0x0000000048000000
x21 = 0x0000000008100044
x22 = 0x2ef06b67ed63761f
x23 = 0xb028dc38ed046d95
x24 = 0xd3898634e3e45f37
x25 = 0x23014804dfeeefa8
x26 = 0x17dfb99582b6329c
x27 = 0x96f3548135b7dcbe
x28 = 0x126f6b662fa95ff3
x29 = 0x000000004801a6d0
scr_el3 = 0x0000000000000030
sctlr_el3 = 0x0000000000cd183f
cptr_el3 = 0x0000000000000000
tcr_el3 = 0x000000008081351f
daif = 0x00000000000002c0
mair_el3 = 0x00000000000004ff
spsr_el3 = 0x00000000000001cd
elr_el3 = 0x59b5d904f7434ced
ttbr0_el3 = 0x000000004803cb40
esr_el3 = 0x00000000ecf6b85e
far_el3 = 0xa739e4673bfae041
spsr_el1 = 0x00000000000001cd
elr_el1 = 0xa8d50a21e7bb17df
spsr_abt = 0x00000000920484da
spsr_und = 0x0000000038081b35
spsr_irq = 0x00000000b0068b24
spsr_fiq = 0x00000000b80a1b32
sctlr_el1 = 0x0000000000c50838
actlr_el1 = 0x0000000000000000
cpacr_el1 = 0x0000000000000000
csselr_el1 = 0x0000000000000000
sp_el1 = 0x200e60ca8c9fab51
esr_el1 = 0x000000008a7f4e36
ttbr0_el1 = 0xcc25b5fa90686ab9
ttbr1_el1 = 0xc0528d3325756fdb
mair_el1 = 0x44e048e000098aa4
amair_el1 = 0x0000000000000000
tcr_el1 = 0x0000000000000000
tpidr_el1 = 0x0a15183c9024c782
tpidr_el0 = 0xc1423283011dc2c2
tpidrro_el0 = 0x296d627045be4b5e
dacr32_el2 = 0x00000000c12d8a3d
ifsr32_el2 = 0x000000000000101a
par_el1 = 0xe00000baff1bce27
mpidr_el1 = 0x0000000080000000
afsr0_el1 = 0x0000000000000000
afsr1_el1 = 0x0000000000000000
contextidr_el1 = 0x0000000000000000
vbar_el1 = 0x0000000000000000
cntp_ctl_el0 = 0x0000000000000000
cntp_cval_el0 =0xd6c558ab4a374cd5
cntv_ctl_el0 = 0x0000000000000000
cntv_cval_el0 = 0xc0037d94ed4b97e4
cntkctl_el1 = 0x0000000000000000
fpexc32_el2 = 0x0000000000000700
sp_el0 = 0x000000004801a6d0
cpuectlr_el1 = 0x0000000000000040
A
as3213406 发布的最佳帖子
-
T507跳转U-boot失败
as3213406 发布的最新帖子
-
T507使用audio音频调试问题
root@integrated:/root# fltest_audioplayer test.mp3 -d wm8960
|Space key | start or pause |
|Down key | stop |
|Left key | seek backend |
|Right key | seek forward |
|Up key | audio sink |[ 547.941402] sunxi-ahub-daudio ahub_daudio0: unsupport clk_div
[ 547.947854] snddaudio snddaudio0: cpu_dai set clkdiv failed
[ 547.954096] snddaudio snddaudio0: ASoC: machine hw_params failed: -22
Unable to open PCM (cannot set hw params: Invalid argument)
audiosink open failed
setUrl failed
Segmentation fault -
回复: T507跳转U-boot失败
@whycanservice 查看boot0_main.c文件,发现进入 boot0_jmp_monitor(monitor_base);这段代码后就报错了。
-
为什么T507内核启动失败报undefined instruction错误?
[170]HELLO! BOOT0 is starting! [173]BOOT0 commit : 2bfa9d6 [176]set pll start [179]periph0 has been enabled [182]set pll end [184]PMU: AXP858 [189]dram return write ok [192]board init ok [194]debug:rtc h-m-s value:0x11e [197]DRAM BOOT DRIVE INFO: V0.651 [200]the chip id is 0x7c00 [203]chip id check OK [207]DRAM_VCC set to 1500 mv [209]DRAM CLK =672 MHZ [212]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) [220]Actual DRAM SIZE =2048 M [223]DRAM SIZE =2048 MBytes, para1 = 30fa, para2 = 8001000, dram_tpr13 = 6041 [237]DRAM simple test OK. [239]rtc standby flag is 0x0, super standby flag is 0x0 [245]dram size =2048 [248]Use rtc to store dram tuning para [251]card no is 2 [253]sdcard 2 line count 8 [256][mmc]: mmc driver ver 2020-07-21-202106151039 [266][mmc]: Wrong media type 0x0, but host is sdc2, try mmc first [273][mmc]: ***Try MMC card 2*** [297][mmc]: RMCA OK! [299][mmc]: bias 4 [303][mmc]: MMC 5.1 [305][mmc]: HSSDR52/SDR25 8 bit [308][mmc]: 50000000 Hz [310][mmc]: 7456 MB [312][mmc]: ***SD/MMC 2 init OK!!!*** [332]Loading boot-pkg Succeed(index=0). [336]Entry_name = u-boot [342]Entry_name = monitor [345]Entry_name = dtb [349]--monitor_base:1207959552 [352]tunning data addr:0x4a0003e8 [355]Jump to second Boot. [358]uboot_base:1241513984 U-Boot 2018.05 (Jul 24 2023 - 14:21:09 +0800) Allwinner Technology [00.400]CPU: Allwinner Family [00.403]Model: sun50iw9 I2C: ready [00.407]DRAM: 2 GiB [00.410]Relocation Offset is: 75f36000 [00.431]secure enable bit: 0 [00.434]pmu_axp152_probe pmic_bus_read fail [00.438]PMU: AXP858 [00.447]CPU=1008 MHz,PLL6=600 Mhz,AHB=200 Mhz, APB1=100Mhz MBus=400Mhz [00.454]gic: sec monitor mode [00.458]ir_sys_cfg: error:no node for ir boot recovery settings [00.465]flash init start [00.467]workmode = 0,storage type = 2 [00.470]MMC: 2 [00.472][mmc]: mmc driver ver uboot2018:2020-5-24 16:54:00-202103251925 [00.479][mmc]: get sdc_type fail and use default host:tm4. [00.488][mmc]: SUNXI SDMMC Controller Version:0x40502 [00.512][mmc]: Best spd md: 4-HS400, freq: 3-100000000, Bus width: 8 [00.518]sunxi flash init ok [00.521]Loading Environment from SUNXI_FLASH... OK [00.532]out of usb burn from boot: not need burn key [00.537]Item0 (Map) magic is bad [00.539]the secure storage item0 copy0 magic is bad [00.544]Item0 (Map) magic is bad [00.547]the secure storage item0 copy1 magic is bad [00.552]Item0 (Map) magic is bad [00.559]update dts ** Unrecognized filesystem type ** [00.566]load file(ULI/factory/snum.txt) error. ** Unrecognized filesystem type ** [00.576]load file(ULI/factory/mac.txt) error. ** Unrecognized filesystem type ** [00.586]load file(ULI/factory/wifi_mac.txt) error. ** Unrecognized filesystem type ** [00.596]load file(ULI/factory/bt_mac.txt) error. ** Unrecognized filesystem type ** [00.606]load file(ULI/factory/selinux.txt) error. ** Unrecognized filesystem type ** [00.616]load file(ULI/factory/specialstr.txt) error. [00.623]update part info [00.629]update bootcmd [00.631]No ethernet found. Hit any key to stop autoboot: 0 do_bootm_states states:1807 do_bootm_states ret:0 ## Booting Android Image at 0x45000000 ... Android's image name: sun50i_arm64 Kernel load addr 0x40080000 size 20517 KiB kernel data at 0x45000800, len = 0x01409008 (21008392) ## Transferring control to Linux (at address 40080000)... ## Linux machid: 00000000, FDT addr: 44000000, fake:0 [03.864]Starting kernel ... [03.866][mmc]: mmc exit start [03.884][mmc]: mmc 2 exit ok undefined instruction pc : [<40000000>] lr : [<bff37523>] reloc pc : [<ca0ca000>] lr : [<4a001523>] sp : bbefa670 ip : 00000007 fp : 00000001 r10: bff8003f r9 : bbf15e60 r8 : 00000001 r7 : 40080000 r6 : bff99510 r5 : 00000000 r4 : 44000000 r3 : 00000001 r2 : 44000000 r1 : 40080000 r0 : 8000ff04 Flags: nzcv IRQs off FIQs off Mode UK6_32 Resetting CPU ... resetting ...
-
T507跳转U-boot失败
[95]HELLO! BOOT0 is starting! [98]BOOT0 commit : 2bfa9d6 [100]set pll start [103]periph0 has been enabled [106]set pll end [108]PMU: AXP858 [114]dram return write ok [116]board init ok [118]debug:rtc h-m-s value:0x61a30 [121]DRAM BOOT DRIVE INFO: V0.651 [125]the chip id is 0x7c00 [127]chip id check OK [131]DRAM_VCC set to 1500 mv [134]DRAM CLK =672 MHZ [136]DRAM Type =3 (3:DDR3,4:DDR4,7:LPDDR3,8:LPDDR4) [145]Actual DRAM SIZE =2048 M [148]DRAM SIZE =2048 MBytes, para1 = 30fa, para2 = 8001000, dram_tpr13 = 6041 [161]DRAM simple test OK. [164]rtc standby flag is 0x0, super standby flag is 0x0 [169]dram size =2048 [172]Use rtc to store dram tuning para [176]card no is 2 [178]sdcard 2 line count 8 [180][mmc]: mmc driver ver 2020-07-21-202106151039 [191][mmc]: Wrong media type 0x0, but host is sdc2, try mmc first [197][mmc]: ***Try MMC card 2*** [222][mmc]: RMCA OK! [224][mmc]: bias 4 [227][mmc]: MMC 5.1 [229][mmc]: HSSDR52/SDR25 8 bit [232][mmc]: 50000000 Hz [235][mmc]: 7456 MB [237][mmc]: ***SD/MMC 2 init OK!!!*** [260]Loading boot-pkg Succeed(index=0). [264]Entry_name = u-boot [271]Entry_name = monitor [275]Entry_name = dtb [278]tunning data addr:0x4a0003e8 [282]Jump to second Boot. [284]monitor_base:1207959552 [287]optee_base:0,uboot_base:1241513984 NOTICE: BL3-1: v1.0(debug):f0130ea NOTICE: BL3-1: Built : 10:23:13, 2022-04-14 NOTICE: BL3-1 commit: 8 NOTICE: hardware error1 PANIC in EL3 at x30 = 0x0000000048001f54 x0 = 0x0000000000000001 x1 = 0x0000000005000000 x2 = 0x0000000000000060 x3 = 0x0000000000000000 x4 = 0x0000000048018ad8 x5 = 0x0000000048018ad8 x6 = 0x000000004803cd50 x7 = 0x0000000048180000 x8 = 0x000000004803c000 x9 = 0x0000000048000168 x10 = 0x000000004800734c x11 = 0xa0061fca00000000 x12 = 0xf4807f8600000000 x13 = 0x53283f1c0591fa8c x14 = 0x240b7471fe7b1fa9 x15 = 0x424ef31ffcaf9b2f x16 = 0x2b4849ca736ab127 x17 = 0x1b01590500021400 x18 = 0xe91cfe0e0002a79d x19 = 0x0000000048017442 x20 = 0x0000000048000000 x21 = 0x0000000008100044 x22 = 0x2ef06b67ed63761f x23 = 0xb028dc38ed046d95 x24 = 0xd3898634e3e45f37 x25 = 0x23014804dfeeefa8 x26 = 0x17dfb99582b6329c x27 = 0x96f3548135b7dcbe x28 = 0x126f6b662fa95ff3 x29 = 0x000000004801a6d0 scr_el3 = 0x0000000000000030 sctlr_el3 = 0x0000000000cd183f cptr_el3 = 0x0000000000000000 tcr_el3 = 0x000000008081351f daif = 0x00000000000002c0 mair_el3 = 0x00000000000004ff spsr_el3 = 0x00000000000001cd elr_el3 = 0x59b5d904f7434ced ttbr0_el3 = 0x000000004803cb40 esr_el3 = 0x00000000ecf6b85e far_el3 = 0xa739e4673bfae041 spsr_el1 = 0x00000000000001cd elr_el1 = 0xa8d50a21e7bb17df spsr_abt = 0x00000000920484da spsr_und = 0x0000000038081b35 spsr_irq = 0x00000000b0068b24 spsr_fiq = 0x00000000b80a1b32 sctlr_el1 = 0x0000000000c50838 actlr_el1 = 0x0000000000000000 cpacr_el1 = 0x0000000000000000 csselr_el1 = 0x0000000000000000 sp_el1 = 0x200e60ca8c9fab51 esr_el1 = 0x000000008a7f4e36 ttbr0_el1 = 0xcc25b5fa90686ab9 ttbr1_el1 = 0xc0528d3325756fdb mair_el1 = 0x44e048e000098aa4 amair_el1 = 0x0000000000000000 tcr_el1 = 0x0000000000000000 tpidr_el1 = 0x0a15183c9024c782 tpidr_el0 = 0xc1423283011dc2c2 tpidrro_el0 = 0x296d627045be4b5e dacr32_el2 = 0x00000000c12d8a3d ifsr32_el2 = 0x000000000000101a par_el1 = 0xe00000baff1bce27 mpidr_el1 = 0x0000000080000000 afsr0_el1 = 0x0000000000000000 afsr1_el1 = 0x0000000000000000 contextidr_el1 = 0x0000000000000000 vbar_el1 = 0x0000000000000000 cntp_ctl_el0 = 0x0000000000000000 cntp_cval_el0 =0xd6c558ab4a374cd5 cntv_ctl_el0 = 0x0000000000000000 cntv_cval_el0 = 0xc0037d94ed4b97e4 cntkctl_el1 = 0x0000000000000000 fpexc32_el2 = 0x0000000000000700 sp_el0 = 0x000000004801a6d0 cpuectlr_el1 = 0x0000000000000040