数码视讯Q5 NAND换EMMC有问题

用户尝试将数码视讯Q5的NAND闪存替换为EMMC,但设备在加载过程中卡在启动屏幕,通过TTL连接获取到错误代码。错误日志显示加载各种组件时出现问题,包括BL31初始化失败、EMMC读取错误、DDR初始化失败等。尽管尝试加载底包和固件,但设备无法进入操作系统,可能存在硬件兼容性或固件问题。
摘要由CSDN通过智能技术生成

数码视讯Q5  忍不住下手了,买了个BGA169的EMMC闪存,给换上,想着能烧写armbian到闪存方便用,但是结果换好了,刷了底包除了出现第一屏logo,就再也不动了,

接入TTL  得到一下代码,不知道有没有大佬愿意花时间给研究下,帮助解决解决问题呢?


GXL:BL1:9ac50e:a1974b;FEAT:ADFC318C;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 245118

BL2 Built : 18:58:24, Oct 25 2016.
gxl gc9db010 - xiaobo.gu@droid05

set vcck to 1080 mv
set vddee to 1050 mv
Board ID = 7, adc=546
CPU clk: 1200MHz
2layers board, use ddr_set[0]
DDR chl: Rank0+1 @ 720MHz - FAIL
DDR chl: Rank0 @ 720MHz - PASS
DQS-corr enabled
DDR scramble enabled
Rank0: 1024MB(auto)-2T-11
DataBus test pass!
AddrBus test pass!
-f
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x00007400
Load bl301 from eMMC, src: 0x00018200, des: 0x01200000, size: 0x00002000
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019400
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x000a6200
NOTICE:  BL3-1: v1.0(debug):959fdf0
NOTICE:  BL3-1: Built : 15:01:44, Dec 29 2016
aml log : bl31 normal boot !
[Image: gxl_v1.1.3086-872dec0 2016-09-21 21:56:30 xiaobo.gu@droid05]
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: ef be ad de d f0 ad ba ef be ad de not ES chip
efuse init ops = e2
efuse init hdcp = c, cf9=7
[0.700731 Inits done]
INFsOe:c u r e  BtLa3s-k1 :s tIanritt!ia
lizing runtihmieg hs etvices
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2015.01-svn125577 (Mar 18 2017 - 21:47:22)

DRAM:  1 GiB
Relocation Offset is: 36ecf000
gpio: pin GPIODV_24 (gpio 43) value is 0
gpio: pin GPIOAO_3 (gpio 103) value is 1
mwm 0xc8837004:[0x   aa203] with [0x   ea203] ok
mwm 0xc883700c:[0x 3e3b744] with [0x 3e3b764] ok
mwm 0xc8837010:[0x   c0101] with [0x   c8101] ok
mwm 0xc8837010:[0x   c8101] with [0x  128101] ok
register usb cfg[0][1] = 0000000037f63db0
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
boot_device_flag : 1
Nand PHY Ver:1.01.001.0006 (c) 2013 Amlogic Inc.
init bus_cycle=6, bus_timing=7, system=5.0ns
reset failed
get_chip_type and ret:fffffffe
get_chip_type and ret:fffffffe
chip detect failed and ret:fffffffe
nandphy_init failed and ret=0xfffffff1
MMC:   aml_priv->desc_buf = 0x0000000033ebfdb0
aml_priv->desc_buf = 0x0000000033ec20d0
SDIO Port B: 0, SDIO Port C: 1
[mmc_init] mmc init success
overide_emmc_partition_table: overide cache
[mmc_get_partition_table] skip partition cache.
mmc read lba=0x12000, blocks=0x2
mmc read lba=0x12002, blocks=0x2
mmc_read_partition_tbl: mmc read partition OK!
eMMC/TSD partition table have been checked OK!
mmc env offset: 0x27400000
In:    serial
Out:   serial
Err:   serial
board id is : 7
hpd_state=1
[720p50hz] is invalid for cvbs.
set hdmitx VIC = 19
config HPLL = 2972
HPLL: 0xc000027b
config HPLL done
j = 2  vid_clk_div = 1
hdmitx phy setting done
hdmitx: set enc for VIC: 19
enc_vpu_bridge_reset[1189]
rx version is 1.4 or below  div=10
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
read emmc dtb
dwmac.c9410000
wipe_data=successful
wipe_cache=successful
upgrade_step=2
[CANVAS]canvas init
[CANVAS]addr=0x3d800000 width=3840, height=2160
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[usid] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[deviceid] not programed yet
Enter USB burn
Try connect time out 701, 700, 742
Hit any key to stop autoboot:  0
ee_gate_off ...
## Booting Android Image at 0x01080000 ...
reloc_addr =33f44bc0
copy done
      Single dtb detected
load dtb from 0x1000000 ......
   Uncompressing Kernel Image ... OK
   kernel loaded at 0x01080000, end = 0x02033200
   Loading Ramdisk to 33c36000, end 33ebca14 ... OK
   Loading Device Tree to 000000001fff3000, end 000000001ffff3a1 ... OK

Starting kernel ...

uboot time: 2962071 us
[    0.000000@0] Initializing cgroup subsys cpu
[    0.000000@0] Initializing cgroup subsys cpuacct
[    0.000000@0] Linux version 3.14.29-svn125577 (chenshouhui@ubuntu) (gcc version 4.9.2 20140904 (prerelease) (crosstool-NG linaro-1.13.1-4.9-2014.09 - Linaro GCC 4.9-2014.09) ) #1 SMP PREEMPT Sat Mar 18 22:16:52 HKT 2017
[    0.000000@0] CPU: armv71 Processor [410fd034] revision 4
[    0.000000@0] bootconsole [earlycon0] enabled
[    0.000000@0] secmon: share mem setup
[    0.000000@0] Reserved memory: initialized node linux,secmon, compatible id amlogic, aml_secmon_memory
[    0.000000@0] fb: Reserved memory: created fb at 0x000000003c000000, size 32 MiB
[    0.000000@0] Reserved memory: initialized node linux,meson-fb, compatible id amlogic, fb-memory
[    0.000000@0] DI: DI reserved memory: created CMA memory pool at 0x000000003e000000, size 30 MiB
[    0.000000@0] Reserved memory: initialized node linux,di, compatible id amlogic, di-mem
[    0.000000@0] __reserved_mem_alloc_size: linux,ion-dev
[    0.000000@0] linux,ion-dev add multi user:ffffffc001fb6058
[    0.000000@0] ion_dev mem setup
[    0.000000@0] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[    0.000000@0] linux,ion-dev add multi user:ffffffc001fc2530
[    0.000000@0] Reserved memory: initialized node linux,ion-dev, compatible id amlogic, idev-mem
[    0.000000@0] __reserved_mem_alloc_size: linux,vdin1_cma
[    0.000000@0] cma: Reserved 20 MiB at 37c00000, total cma pages:5120
[    0.000000@0] Reserved memory: created CMA memory pool at 0x0000000037c00000, size 20 MiB
[    0.000000@0] Reserved memory: initialized node linux,vdin1_cma, compatible id shared-dma-pool
[    0.000000@0] __reserved_mem_alloc_size: linux,ppmgr
[    0.000000@0] __reserved_mem_alloc_size: linux,amlvideo2
[    0.000000@0] amlvideo2 share mem setup
[    0.000000@0] Reserved memory: initialized node linux,amlvideo2, compatible id amlogic, amlvideo2_memory
[    0.000000@0] __reserved_mem_alloc_size: linux,codec_mm_cma
[    0.000000@0] cma: Reserved 208 MiB at 26c00000, total cma pages:58368
[    0.000000@0] Reserved memory: created CMA memory pool at 0x0000000026c00000, size 208 MiB
[    0.000000@0] Reserved memory: initialized node linux,codec_mm_cma, compatible id shared-dma-pool
[    0.000000@0] __reserved_mem_alloc_size: linux,picdec
[    0.000000@0] __reserved_mem_alloc_size: linux,codec_mm_reserved
[    0.000000@0] Reserved memory: initialized node linux,codec_mm_reserved, compatible id amlogic, codec-mm-reserved
[    0.000000@0] cma: Reserved 8 MiB at 35c00000, total cma pages:60416
[    0.000000@0] cma: Reserved 8 MiB at 35c00000
[    0.000000@0] psci: probing function IDs from device-tree
[    0.000000@0] PERCPU: Embedded 12 pages/cpu @ffffffc03ffa8000 s18944 r8192 d22016 u49152
[    0.000000@0] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 248324
[    0.000000@0] Kernel command line: rootfstype=ramfs init=/init console=ttyS0,115200 no_console_suspend earlyprintk=aml-uart,0xc81004c0 ramoops.pstore_en=1 ramoops.record_size=0x8000 ramoops.console_size=0x4000 androidboot.selinux=permissive logo=osd1,loaded,0x3d800000,720p50hz vout=720p50hz,enable hdmimode=720p50hz cvbsmode=576cvbs hdmitx= cvbsdrv=1 androidboot.firstboot=1 jtag=apee androidboot.hardware=amlogic androidboot.boardid=7 mac=00:79:18:00:00:0e androidboot.mac=00:79:18:00:00:0e
[    0.000000@0] logo: osd1
[    0.000000@0] logo: loaded
[    0.000000@0] logo: 0x3d800000
[    0.000000@0] logo: 720p50hz
[    0.000000@0] vout_serve: 720p50hz: 11
[    0.000000@0] vout_serve: enable: 1
[    0.000000@0] logo: get hdmimode: 720p50hz
[    0.000000@0] logo: get cvbsmode: 576cvbs
[    0.000000@0] tv_vout: cvbs performance line = 1
[    0.000000@0] PID hash table entries: 4096 (order: 3, 32768 bytes)
[    0.000000@0] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes)
[    0.000000@0] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes)
[    0.000000@0] Memory: 552168K/1011712K available (10104K kernel code, 1108K rwdata, 3716K rodata, 1138K init, 5742K bss, 459544K reserved)
[    0.000000@0] Virtual kernel memory layout:
[    0.000000@0]     vmalloc : 0xffffff8000000000 - 0xffffff8040000000   (  1024 MB)
[    0.000000@0]     vmemmap : 0xffffff8040010000 - 0xffffff8041210000   (    18 MB)
[    0.000000@0]     modules : 0xffffffbffc000000 - 0xffffffc000000000   (    64 MB)
[    0.000000@0]     memory  : 0xffffffc000000000 - 0xffffffc040000000   (  1024 MB)
[    0.000000@0]       .init : 0xffffffc001e01000 - 0xffffffc001f1da00   (  1139 kB)
[    0.000000@0]       .text : 0xffffffc001080000 - 0xffffffc001e00164   ( 13825 kB)
[    0.000000@0]       .data : 0xffffffc001f1e000 - 0xffffffc002033200   (  1109 kB)
[    0.000000@0] PM: Registered nosave memory: [mem 0x01080000-0x01dfffff]
[    0.000000@0] SLUB: HWalign=64, Order=0-1, MinObjects=0, CPUs=4, Nodes=1
[    0.000000@0] Preemptible hierarchical RCU implementation.
[    0.000000@0]        RCU restricting CPUs from NR_CPUS=8 to nr_cpu_ids=4.
[    0.000000@0] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=4
[    0.000000@0] NR_IRQS:64 nr_irqs:64 0
[    0.000000@0] Architected cp15 timer(s) running at 24.00MHz (phys).
[    0.000004@0] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every 2863311519744ns
[    0.008510@0] Console: colour dummy device 80x25
[    0.012869@0] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[    0.023447@0] pid_max: default: 32768 minimum: 301
[    0.028339@0] Security Framework initialized
[    0.032560@0] SELinux:  Initializing.
[    0.036288@0] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.043144@0] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes)
[    0.052785@0] device-tree: Duplicate name in /efusekey, renamed to "key0#1"
[    0.057525@0] device-tree: Duplicate name in /efusekey, renamed to "key1#1"
[    0.064487@0] device-tree: Duplicate name in /efusekey, renamed to "key2#1"
[    0.071495@0] device-tree: Duplicate name in /efusekey, renamed to "key3#1"
[    0.081662@0] Initializing cgroup subsys debug
[    0.082950@0] Initializing cgroup subsys freezer
[    0.087620@0] ftrace: allocating 34956 entries in 137 pages
[    0.131706@0] hw perfevents: enabled with arm/armv8-pmuv3 PMU driver, 7 counters available
[    0.173228@0] Meson chip version = RevC (21:C - E2:0)
[    0.191659@1] CPU1: Booted secondary processor
[    0.211642@2] CPU2: Booted secondary processor
[    0.231663@3] CPU3: Booted secondary processor
[    0.231742@0] Brought up 4 CPUs
[    0.242707@0] SMP: Total of 4 processors activated.
[    0.248241@0] devtmpfs: initialized
[    0.258350@0] instabooting: 0
[    0.267700@0] cma: cma_init_reserved_areas, use_cma_first:1
[    0.267799@0] pinctrl core: initialized pinctrl subsystem
[    0.273821@0] regulator-dummy: no parameters
[    0.278177@0] NET: Registered protocol family 16
[    0.284952@0] register canvas platform driver
[    0.286527@0] register rdma platform driver
[    0.292150@0] vdso: 2 pages (1 code, 1 data) at base ffffffc001f28000
[    0.297175@0] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.304394@0] DMA: preallocated 256 KiB pool for atomic allocations
[    0.311410@0] software IO TLB [mem 0x21c00000-0x22000000] (4MB) mapped at [ffffffc021c00000-ffffffc021ffffff]
[    0.320395@0] Serial: AMBA PL011 UART driver
[    0.325189@0] aml_i2c version: 20140813
[    0.328608@0] aml_pmu4_modinit, 613
[    0.332328@0] codec_mm:codec_mm_module_init
[    0.336523@0] gxbb_mpll_clk: register mpll_clk_out0 success done
[    0.342273@0] gxbb_mpll_clk: register mpll_clk_out1 success done
[    0.348326@0] gxbb_mpll_clk: register mpll_clk_out2 success done
[    0.354528@0] clk_sys: register PLL sys_pll success done
[    0.359699@0] gxl_clk: [ xtal        ] ->clockrate: 24000000Hz
[    0.365020@0] gxl_clk: [ 32Khz       ] ->clockrate: 32000Hz
[    0.370190@0] gxl_clk: [ clk81       ] ->clockrate: 166666666Hz
[    0.375695@0] gxl_clk: [ fixed_pll   ] ->clockrate: 2000000000Hz
[    0.381652@0] gxl_clk: [ fclk_div2   ] ->clockrate: 1000000000Hz
[    0.387595@0] gxl_clk: [ fclk_div3   ] ->clockrate: 666666666Hz
[    0.393463@0] gxl_clk: [ fclk_div4   ] ->clockrate: 500000000Hz
[    0.399320@0] gxl_clk: [ fclk_div5   ] ->clockrate: 400000000Hz
[    0.405188@0] gxl_clk: [ fclk_div7   ] ->clockrate: 285714285Hz
[    0.411069@0] gxl_clk: clock initialization complete
[    0.416232@0] clkmsr: Gxl msr_clk_reg0=ffffff800004e75c,msr_clk_reg2=ffffff8000050764
[    0.426145@0] aml_iomap: amlogic iomap probe done
[    0.429272@0] pinmux-gxl c1109880.pinmux: Init pinux probe!
[    0.435164@0] pinmux-gxl c1109880.pinmux: Probed amlogic pinctrl driver
[    0.443532&#

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值