D9TXF PB049-107BT
Remote power trouble
-
tyrol_gangster -
January 24, 2018 at 8:54 PM -
Thread is Unresolved
-
-
-
I try that later, if i am at home. Will lower speeds make the system slower?
EDIT:
Just a short LE test: No freezes, power on/off works. But have to test more later this evening, Anrdroid part and long time test.
-
You will not notice 3.03% of 792mhz. In your case 768mhz = maximum. More is not supported by your RAM.
-
I will test until my UART Adapter arrives. Then i will share my logs with normal and tweaked uboot. At the moment i have no freezes, thanks for your help.
-
Now after running 1.5 hours smooth, my system freezed again. Lets see later, what the log says.
-
Yesterday i went back to the firmware with unmodified u-boot, after my system freezes 3 times in the evening. I tried AltSoftSerial on Arduino and got the following log:
Log without your u-boot.bin, runs with 792MHz
Code
Display MoreGXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 91107 BL2 Built : 18:5003, Sep 22 2017. gxl g4786fda-dirty - jiaxing.ye@droid12 set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 1 CPU clk: 1200MHz DQS-corr enabled DDR scramble disabled STICKY_REG0: 0x00000000 STICKY_REG8: 0x00000000 STICKY_REG9: 0x00000000 LPDDR3 chl: Rank0+1 @ 792MHz ddr_lpddr3_only_up_odt_enable: 0x00000001.... Traininx PGSR0: 0x80001fbf.... ddr_traininx_inf: rank: 0 org_wr0 w0_l w0_r org_r0 r0_l r0_r org_wr1 w1_l w1_r org_r1 r1_l r1_r org_wr2 w2_l w2_r org_r2 r2_l r2_r org_wr3 w3_l w3_r org_r3 r3_l r3_r af_vrefddr_traininx_win: rank: 0 1a 00 37 3a 1a 5b 17 00 2d 43 22 61 1c 00 39 37 17 59 1a 00 36 38 17 54 717 rank: 1 1a 00 37 3a 1a 5b 16 00 2d 41 22 61 1c 00 39 38 17 59 1a 00 36 35 17 54 717 bist_test rank: 0 16 0c 21 3d 30 4a 11 00 23 43 33 53 1b 0b 2c 36 28 44 18 04 2c 35 24 47 717 rank: 1 17 0c 22 3e 32 4a 10 00 21 42 34 50 1b 0a 2c 37 2a 45 17 04 2b 34 24 44 717 bist_size0x 000007e0 bist_cost_time 256626 us bist test no threshold setting: ddr_refi_counter37 DDR1_ADDRMAP_0== 0x14941cc5 DDR1_ADDRMAP_1== 0x230783ab DDR1_ADDRMAP_2== 0x2f6ad272 DDR1_ADDRMAP_3== 0x3bcdeb38 DDR1_ADDRMAP_4== 0x0007359e Rank0: 2048MB-2T-3 Rank1: 1024MB-2T-3 DataBus test pass! AddrBus test pass! -s Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x00018400 Load bl33 from eMMC, src: 0x0003c200, des: 0x01000000, size: 0x00074000 NOTICE: BL3-1: v1.0(release)0348978 NOTICE: BL3-1: Built : 15:44:01, May 12 2017 NOTICE: BL3-1: BL33 decompress pass mpu_config_enable:ok [Image: gxl_v1.1.3221-2cfba69 2017-05-27 16:03:58 qiufang.dai@droid07] OPS=0x82 wdt: reset registers! 68 ed de 3e 1c 0 71 de c5 d5 8c 71 [0.642961 Inits done] secure task start! high task start! low task start! ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01-g5e3f75b-dirty (Oct 10 2017 - 18:20:38) DRAM: 3 GiB Relocation Offset is: b6e98000 register usb cfg[0][1] = 00000000b7f5aeb0 [CANVAS]canvas init vpu: error: vpu: check dts: FDT_ERR_BADLAGIC, load default parameters vpu'⸮⸮}⸮⸮ٕ⸮⸮= 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpu: vpu_clk_gate_init_off vpp: vpp_init 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 = 0x00000000b3e986b0 aml_priv->desc_buf = 0x00000000b3e9a9d0 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 init_part() 293: PART_TYPE_AML [mmc_init] mmc init success dtb magic 5f4c4d41 Amlogic multi-dtb tool Multi dtb detected edwin--->DDR size: 0xb8000000 Multi db tool version: v2 . Support 2 dtbs. aml_d⸮⸮⸮⸮ gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 start dts,buffer=00000000b3e9d200,dt_addr=00000000b3ea9200 Amlogic multi-dtb tool Multi dtb detected edwin--->DDR size: 0xb8000000 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 293: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success mmc env offset: 0x27400000 In: serial Out: serial Err: serial reboot_mode=cold_boot hpd_state=0 cvbs performance type = 6, table = 0 [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksu[)⸮)⸮⸮⸮⸮⸮⸮⸮615e00f6, store 615e00f6 _verify_dtb_checksum()-917: calc 615e00f6, store 615e00f6 dtb_read()-1039: total valid 2 dtb_read()-1106: do nothing Amlogic multi-dtb tool Multi dtb detected edwin--->DDR size: 0xb8000000 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 sk⸮ gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 vpp: vpp_pq_load pq val error !!! Net: dwmac.c941000⸮amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 Start read misc partition datas! info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootX,⸮⸮= 1 info->slot_info[0].online = 1 info->slot_info[1].bootable = 0 info->slot_info[1].online = 0 info->attemp_times = 0 attemp_times = 0 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [CANVAS]addr=0x7f851000 width=3840, height=2160 amlkey_init() enter! amlkey_init() 71: already init! [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 gpio: pin GPIOAO_2 (gpio 102) value is 1 InUsbBurn [MSG]sof Set Addr 14 Get DT cfg Get DT cfg Get DT cfg set CFG waitIdentifyTime(751) > timeout(750) Hit Enter or space or Ctrl+C key to stop autoboot -- : 1 0 card in init_part() 278: PART_TYPE_DOS [mmc_init] mmc init success Device: SDIO Port B Manufacturer ID: 3 OEM: 5344 Name: SC32G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capa`ity: Yes Capacity: 29.7 GiB mmc `lock: 40000000 Bus Width: 4-bit reading kernel.img 9709568 bytes read in 534 ms (17.3 MiB/s) reading dtb.img 44282 bytes read in 6 ms (7 MiB/s) ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =b3f1d450 copy done load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected Uncompressing Kernel Ima`e ... OK kernel loaded at 0x01080000, end = 0x01b922b0 Loading Ramdisk to b3aa8000, end b3e85c00 ... OK Loading Device Tree to 000000001fff2000, end 000000001ffffcf9 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 4140382 us
And here is the log with your u-boot@LPDDR792MHz
Code
Display MoreGXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 158287 BL2 Built : 13:27:37, Oct 25 2017. gxl g56b77aa - xiaobo.gu@droid12 set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 1 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled LPDDR3 chl: Rank0+1 @ 792MHz bist⸮test rank: 0 18 0c 24 33 1b 4c 11 00 22 40 28 58 1b 0a 2c 30 18 49 19 06 2d 32 19 4c 717 rank: 1 18 0b 25 33 1c 4b 10 00 20 3d 27 54 1a 08 2c 31 19 49 1a 06 2f 2e 14 49 717 Rank0: 2048MB(auto)-2T-3 Rank1: 1024MB(auto)-2T-3 AddrBus test pass! -s emmc switch 3 ok BL2: rpmb counter: 0x000000ac emmc switch 0 ok Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c600 Load bl33 from eMMC, src: 0x00050200, des: 0x01000000, size: 0x00066c00 NOTICE: BL3-1: v1.B⸮⸮⸮⸮⸮͕⸮:7c45a4f NOTICE: BL3-1: Built : 14:09:28, Oct 13 2017 NOTICE: BL31: GXL normal boot! NOTICE: BL31: BL33 decompress pass mpu_config_enable:ok [Image: gxl_v1.1.3255-1`77b01 2017-09-15 16:58:02 xiaobo.gu@droid12] OPS=0x82 wdt: reset registers! 68 ed de 3e 1c 0 71 de c5 d5 8c 71 [1.222765 Inits done] secure task start! high task start! low task start! ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01-g35d0abe-dirty (Mar 30 2018 - 11:21:40) DRAM: 3 GiB Relocation Offset is: b6eb1000 register usb cfg[0][1] = 00000000b7f5a620 [CANVAS]canvas init 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 `et_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 = 0x00000000b3eb16b0 aml_priv->desc_buf = 0x00000000b3eb39d0 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 original ext_csd[171] USE_W fiel| value is 50 ext_csd[171] USER_WP filed value after switch is 58 init_part() 293: PART_TYPE_AML [mmc_init] mmc init success Amlogic multi-dtb tool Multi⸮dtb detecte| Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 start dts,buffer=00000000b3eb6200,dt_addr=00000000b3ec2200 Amlogic multi-dtb tool Multi dtb detected Multi dtb tool ver⸮⸮⸮K⸮⸮ . Suppo~t 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 293: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success mmc env offset: 0x27400000 In: serial Out: serial Err: serial reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-1078: calc 2d87240f, store 2d87240f _verify_dtb_checksum()-1078: calc 2d87240f, store 2d87240f dtb_read()-1200: total valid 2 dtb_read()-1267: do nothing Amlogic multi-dtb tool Multi dtb detected Multh dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 so,':ᵁ plat: q201 vari: 2g "щ⸮1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 vpu: clk_level in dts: 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpu: vpu_clk_gate_init_off vpp: vpp_init hpd_state=0 cvbs performance type = 6, table = 0 vpp: vpp_pq_load pq val error !!! Net: Phy 0 not found dwmac.c9410000amlkey_init() enter! [EFUE_MSG]keynum is 4 [BL3LW'⸮⸮⸮⸮size: 0 Start read misc partition datas! info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootable = 0 info->slot_info[0].online = 0 info->slot_info[1].bootable = 0 hnfo->slot_info[1].online = 0 info->attemp_times = 0 boot-info is invalid. Resetting. save boot-info info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootable = 1 info->slot_in⸮k⸮rz⸮⸮⸮⸮⸮⸮= 1 info->slot_info[1].bootable = 0 info->slot_info[1].online = 0 info->attemp_times = 0 attemp_times = 0 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [CANVAS]addrO⸮⸮f851000 width=3840, height=2160 amlkey_init(( enter! amlkey_init() 71: already init! [EFUSE_LG]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 gpio: pin GPIOAO_2 (gpio 102) value is 1 InUsbBurn [MSG]sof Set Addr 18 Get DT cfg Get DT cfg Get DT cfg set CFG waitIdentifyTime(751) > timeout(750) Hit Enter or space or Ctrl+C key to stop autoboot -- : 1 0 ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =b3f36450 copy done load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x021b57d0 Loading Ramdisk to b3d35000, end b3e9ed17 ... OK Loading Device Tree to 000000001fff1000, end 000000001ffff083 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 4077462 us
And with 768 Mhz
Code
Display MoreGXM:BL1:dc8b51:76f1a5;FEA\:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 128552 BL2 Built : 13:27:37, Oct 25 2017. gxl g56b77aa - xiaobo.gu@droid12 set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 1 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled LPDDR3 chl: Rank0+1 @ 768MHz bist_test rank: 0 19 0b 28 35 1b 4f 15 02 28 40 26 5a 1e 0d 2f 32 19 4c 1b 07 2f 34 19 50 715 rank: 1 1a 0c 28 35 1c 4e 13 01 25 3e 26 57 1d 0c 2f 32 1a 4b 1a 06 2f 31 16 4d 715 Rank0: 2048MB(auto)-2T-3 Rank1: 1024MB(auto)-2T-3 AddrBus test pass! -s emmc switch 3 ok BL2: rpmb counter: 0x000000ac emmc switch 0 ok Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c600 Load bl33 from eMMC, src: 0x00050200, des: 0x01000000, size: 0x00066c00 NOTICE: BL3-1: v1.0(release):7c45a4f NOTICE: BL3-1: Built : 14:09:28, Oct 13 2017 NOTICE: BL31: GXL normal boot! NOTICE: BL31: BL33 decompress pass mpu_config_enable:ok [Image: gxl_v1.1.3255-1a77b01 2017-09-15 16:58:02 xiaobo.gu@droid12] OPS=0x82 wdt: reset registers! 68 ed de 3e 1c 0 71 de c5 d5 8c 71 [1.221549 Inits done] secure task start! high task start! low task start! ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01-g35d0abe-dirty (Apr 11 2018 - 15:54:26) DRAM: 3 GiB Relocation Offset is: b6eb1000 register usb cfg[0][1] = 00000000b7f5a738 [CANVAS]canvas init 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 = 0x00000000b3eb16b0 aml_priv->desc_buf = 0x00000000b3eb39d0 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 original ext_csd[171] USE_WP field value is 50 ext_csd[171] USER_WP filed value after switch is 58 init_part() 293: PART_TYPE_AML [mmc_init] mmc init success Aml`gic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 start dts,buffer=00000000b3eb6200,dt_addr=00000000b3ec2200 Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 293: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success mmc env offset: 0x27400000 In: serial Out: serial Err: serial reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-1078: calc 284b9321, store 284b9321 _verify_dtb_checksum()-1078: calc 284b9321, store 284b9321 dtb_read()-1200: total valid 2 dtb_read()-1267: do nothing Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 vpu: clk_level in dts: 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpu: vpu_clk_gate_init_off vpp: vpp_init hpd_state=0 cvbs performance type = 6, table = 0 vpp: vpp_pq_load pq val error !!! Net: dwmac.c9410000amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 Start read misc partition datas! info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootable = 0 info->slot_info[0].online = 0 info->slot_info[1].bootable = 0 info->slot_info[1].online = 0 info->attemp_times = 0 boot-info is invalid. Resetting. save boot-info info->attemp_times = 0 info->active_slot = 0 info->slot_info[0\.bootable = 1 info->slot_info[0].online = 1 info->slot_ nfo[1].bootable = 0 in֫ɚ⸮⸮⸮}⸮⸮⸮⸮m⸮].online = 0 info->XWV}ѥ⸮⸮́= 0 attemp_times = 0 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [CANVAS]addr=0x7f851000 width=3840, height=2160 amlkey_init() enter! amlkey_init() 71: already init! [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 gpio: pin GPIOAO_2 (gpio 102) value is 1 InUsbBurn noSof Hit Enter or space or Ctrki⸮key to stop autoboot -- : 1 0 ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =b3f36450 copy done load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x021b57d0 Loading Ramdisk to b3d35000, end b3e9ed17 ... OK Loading Device Tree to 000000001fff1000, end 000000001ffff083 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 3279257 us
I miss some lines like:
Code
Display MoreSTICKY_REG0: 0x00000000 STICKY_REG8: 0x00000000 STICKY_REG9: 0x00000000 ... ddr_lpddr3_only_up_odt_enable: 0x00000001.... Traininx PGSR0: 0x80001fbf.... ddr_traininx_inf: rank: 0 org_wr0 w0_l w0_r org_r0 r0_l r0_r org_wr1 w1_l w1_r org_r1 r1_l r1_r org_wr2 w2_l w2_r org_r2 r2_l r2_r org_wr3 w3_l w3_r org_r3 r3_l r3_r af_vrefddr_traininx_win: rank: 0 1a 00 37 3a 1a 5b 17 00 2d 43 22 61 1c 00 39 37 17 59 1a 00 36 38 17 54 717 rank: 1 1a 00 37 3a 1a 5b 16 00 2d 41 22 61 1c 00 39 38 17 59 1a 00 36 35 17 54 717 ... ddr_refi_counter37 DDR1_ADDRMAP_0== 0x14941cc5 DDR1_ADDRMAP_1== 0x230783ab DDR1_ADDRMAP_2== 0x2f6ad272 DDR1_ADDRMAP_3== 0x3bcdeb38 DDR1_ADDRMAP_4== 0x0007359e ... DataBus test pass!
Maybe there is something missing or broken Or maybe it is DDR scambling related. I dont know.
BTW: Why is "trainin g" a censored word here? Replaced with traininx
-
And here it seems to crash and freeze:
Code
Display More[ 33.546242@0] INFO: rcu_preempt detected stalls on CPUp/tasks: { 6} (detected by 3, t=2102 jiffies, `=18446744073709551612, c=18446744073709551611, q=151) [ 33.554367@0] Task dump for CPU 6: X 33.557730@0] swapper/6 R running task 0 0 1 0x00000000 [ 33.564889@0] Call trace: [ 33.567488@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 33.572739@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 33.577659@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 33.583520@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 33.588955@0] [<ffffffc0010f8f4c>] cpu_ptartup_entry+0x1d8/0x224 [ 33.594906@0] [<ffffffc00108fd80>] second`ry_start_kernel+0x118/0x128 [ 96.596238@0] INFO: rcu_preempt detected stallp on CPUs/tasks: { 6} (detected by 3, t=8407 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 96.604357@0] Task dump for CPU 6: [ 96.607721@0] swapper/6 R running task 0 0 1 0x00000000 [ 96.614880@0] Call trace: [ 96.617470@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 96.62>730@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 96.627647@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 96.633511@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 96.638945@0] [<ffffffc0010f8f4c>] cpu_start]}⸮⸮⸮⸮⸮0x1d8/0x224 [ 96.644897@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 159.646237@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=14712 jiffies, g=1844674073709551612, c=18446744073709551611, q=151) [ 159.654444@0] Task dump for CPU 6: [ 159.657807@0] swapper/6 R running task 0 0 1 0x00000000 [ 159.664965@0] Call trace: [ 159.667556@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 159.672816@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 159.677734@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 159.683598@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 159.689031@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 159.694983@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 222.696237@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=21017 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 222.704444@0] Task dump for CPU 6: [ 222.707808@0] swapper/6 R running task 0 0 1 0x00000000 [ 222.714966@0] Call trace: [ 222.717557@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 222.722817@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 222.727734@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 222.733598@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 222.739032@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 222.744984@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 28M⸮Ȓ⸮⸮⸮] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=27322 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 285.754444@0] Task dump for CPU 6: [ 285.757808@0] swapper/6 R running task 0 0 1 0x00000000 [ 285.764966@0] Call trace: [ 285.767557@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 285.772817@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 285.777734@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 285.783599@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 285.789032@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 285.794983@0] [<ffffffc00L⸮2⸮⸮0>] se`ondary_start_kernel+0x118/0x128 [ 348.796>37@0] INFO: rcu_preempt detected stalls on CPUp/tasks: { 6} (detected by 3, t=33627 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 348.804436@0] Task dump for CPU 6: [ 348.807800@0] swapper/⸮⸮չ⸮⸮⸮⸮⸮task 0 0 1 0x00000000 [ 348.814958@0] Call trace: [ 348.817549@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 348.822809@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 348.827726@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 348.833590@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 348.839024@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 348.844976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 411.846236@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detdcted by 3, t=39932 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 411.854436@0] Task dump for CPU 6: [ 411.857800@0] swapper/6 R running task 0 0 1 0x00000000 [ 411.864958@0] Call trace: [ 411.867549@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 411.872809@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 411.877726@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 411.883591@0] [<ffffffc001085450>] ar,⸮5⸮⸮}⸮⸮⸮⸮⸮0x10/0x28 [ 411.889024@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 411.894976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 474.896236@0] INFO: rcu_preempt detected stalls on CPUstasks: { 6} (|etected by 3, t=46237 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 474.904437@0] Task dump for CPU 6: [ 474.907801@0] swapper/6 R running task 0 0 1 0x00000000 [ 474.914959@0] Call trace: [ 474.917550@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 474.922810@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 474.927727@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 474.933591@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 474.939025@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 474.944976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 537.946236@0] INFO: rcu_preempt detdcted stalls on CPUs/tasks: { 6} (detected by 3, t=52542 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 537.954437@0] Task dump for CPU 6: [ 537.957801@0] swapper/6 R running task 0 0 1 0x00000000 [ 537.964959@0] Call trace: [ 537.967550@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 537.972810@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 537.977727@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 537.983592@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 537.989025@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 537.994976@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 600.996235@0] INFO: rcu_preempt detected stalls on CPUp/tasks: { 6} (detected by 3, t=58847 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 601.004438@⸮(⸮ ͭ⸮dump for CPU 6: [ 601.007801@0] swapper/6 R running task 0 0 1 0x00000000 [ 601.014960@0] Call trace: [ 601.017550@0] [<ffffffc000085a20>] __switch_to+0x74/0x8c [ 601.022811@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 601.027728@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 601.033592@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 601.039026@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 601.044977@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 664.046235@0] INFO: rcu_preempt detected stalls on CPUs/tasks: { 6} (detected by 3, t=65152 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 664.054438@0] Task dump for CPU 6: [ 664.057802@0⸮ swapper/6 R running task 0 0 1 0x00000000 [ 664.064960@0] Call trace: [ 664.067551@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 664.072811@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 664.077728@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 664.083592@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28C⸮+⸮⸮⸮r⸮⸮ʂ⸮⸮⸮] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 664.094977@0] [<ffffffc00108fd80>] secondary_start_kerne+0x118/0x128 [ 727.096235@0] INFO: rcu_preempt detected stalls on CPUs/|asks: { 6} (detected by 3, t=71457 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 727.104438@0] Task dump for CPU 6: [ 727.107802@0] swapper/6 R running task 0 0 1 0x00000000 [ 727.114960@0] Call trace: [ 027.117551@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 727.122811@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 727.127728@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 727.133593@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 727.139026@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 727.144978@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128 [ 790.146235@0] INFO: rcu_preempt |etected stalls on CPUp/tasks: { 6} (detected by⸮b⸮⸮77762 jiffies, g=18446744073709551612, c=18446744073709551611, q=151) [ 790)⸮⸮⸮⸮⸮⸮] Task dump for CPU 6: [ 790.157803@0] swapper/6 R running task 0 0 1 0x00000000 [ 790.164961@0] Call trace: [ 790.167551@0] [<ffffffc001085a20>] __switch_to+0x74/0x8c [ 790.172812@0] [<ffffffc001083da0>] el1_irq+0x60/0xd0 [ 790.177729@0] [<ffffffc001656068>] cpuidle_idle_call+0xb4/0x234 [ 790.183593@0] [<ffffffc001085450>] arch_cpu_idle+0x10/0x28 [ 790.189027@0] [<ffffffc0010f8f4c>] cpu_startup_entry+0x1d8/0x224 [ 790.194978@0] [<ffffffc00108fd80>] secondary_start_kernel+0x118/0x128
-
sorry - I haven't been following this topic since using using the original fixed uboot at the end of March and confused by all the board versions. on my H96 Pro+ CZ-S32-V5 BLUE 3/32 1Gb LAN should I do this again with one of the more recent uboot file versions?
-
Dont think so, if it works for you. It just dont work on my v6.
-
Yesterday i went back to the firmware with unmodified u-boot, after my system freezes 3 times in the evening. I tried AltSoftSerial on Arduino and got the following log:
Log without your u-boot.bin, runs with 792MHz
Code
Display MoreGXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 91107 BL2 Built : 18:5003, Sep 22 2017. gxl g4786fda-dirty - jiaxing.ye@droid12 set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 1 CPU clk: 1200MHz DQS-corr enabled DDR scramble disabled STICKY_REG0: 0x00000000 STICKY_REG8: 0x00000000 STICKY_REG9: 0x00000000 LPDDR3 chl: Rank0+1 @ 792MHz ddr_lpddr3_only_up_odt_enable: 0x00000001.... Traininx PGSR0: 0x80001fbf.... ddr_traininx_inf: rank: 0 org_wr0 w0_l w0_r org_r0 r0_l r0_r org_wr1 w1_l w1_r org_r1 r1_l r1_r org_wr2 w2_l w2_r org_r2 r2_l r2_r org_wr3 w3_l w3_r org_r3 r3_l r3_r af_vrefddr_traininx_win: rank: 0 1a 00 37 3a 1a 5b 17 00 2d 43 22 61 1c 00 39 37 17 59 1a 00 36 38 17 54 717 rank: 1 1a 00 37 3a 1a 5b 16 00 2d 41 22 61 1c 00 39 38 17 59 1a 00 36 35 17 54 717 bist_test rank: 0 16 0c 21 3d 30 4a 11 00 23 43 33 53 1b 0b 2c 36 28 44 18 04 2c 35 24 47 717 rank: 1 17 0c 22 3e 32 4a 10 00 21 42 34 50 1b 0a 2c 37 2a 45 17 04 2b 34 24 44 717 bist_size0x 000007e0 bist_cost_time 256626 us bist test no threshold setting: ddr_refi_counter37 DDR1_ADDRMAP_0== 0x14941cc5 DDR1_ADDRMAP_1== 0x230783ab DDR1_ADDRMAP_2== 0x2f6ad272 DDR1_ADDRMAP_3== 0x3bcdeb38 DDR1_ADDRMAP_4== 0x0007359e Rank0: 2048MB-2T-3 Rank1: 1024MB-2T-3 DataBus test pass! AddrBus test pass! -s Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x00018400 Load bl33 from eMMC, src: 0x0003c200, des: 0x01000000, size: 0x00074000 NOTICE: BL3-1: v1.0(release)0348978 NOTICE: BL3-1: Built : 15:44:01, May 12 2017 NOTICE: BL3-1: BL33 decompress pass mpu_config_enable:ok [Image: gxl_v1.1.3221-2cfba69 2017-05-27 16:03:58 qiufang.dai@droid07] OPS=0x82 wdt: reset registers! 68 ed de 3e 1c 0 71 de c5 d5 8c 71 [0.642961 Inits done] secure task start! high task start! low task start! ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01-g5e3f75b-dirty (Oct 10 2017 - 18:20:38) DRAM: 3 GiB Relocation Offset is: b6e98000 register usb cfg[0][1] = 00000000b7f5aeb0 [CANVAS]canvas init vpu: error: vpu: check dts: FDT_ERR_BADLAGIC, load default parameters vpu'⸮⸮}⸮⸮ٕ⸮⸮= 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpu: vpu_clk_gate_init_off vpp: vpp_init 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 = 0x00000000b3e986b0 aml_priv->desc_buf = 0x00000000b3e9a9d0 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 init_part() 293: PART_TYPE_AML [mmc_init] mmc init success dtb magic 5f4c4d41 Amlogic multi-dtb tool Multi dtb detected edwin--->DDR size: 0xb8000000 Multi db tool version: v2 . Support 2 dtbs. aml_d⸮⸮⸮⸮ gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 start dts,buffer=00000000b3e9d200,dt_addr=00000000b3ea9200 Amlogic multi-dtb tool Multi dtb detected edwin--->DDR size: 0xb8000000 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 293: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success mmc env offset: 0x27400000 In: serial Out: serial Err: serial reboot_mode=cold_boot hpd_state=0 cvbs performance type = 6, table = 0 [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksu[)⸮)⸮⸮⸮⸮⸮⸮⸮615e00f6, store 615e00f6 _verify_dtb_checksum()-917: calc 615e00f6, store 615e00f6 dtb_read()-1039: total valid 2 dtb_read()-1106: do nothing Amlogic multi-dtb tool Multi dtb detected edwin--->DDR size: 0xb8000000 Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 sk⸮ gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 vpp: vpp_pq_load pq val error !!! Net: dwmac.c941000⸮amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 Start read misc partition datas! info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootX,⸮⸮= 1 info->slot_info[0].online = 1 info->slot_info[1].bootable = 0 info->slot_info[1].online = 0 info->attemp_times = 0 attemp_times = 0 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [CANVAS]addr=0x7f851000 width=3840, height=2160 amlkey_init() enter! amlkey_init() 71: already init! [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 gpio: pin GPIOAO_2 (gpio 102) value is 1 InUsbBurn [MSG]sof Set Addr 14 Get DT cfg Get DT cfg Get DT cfg set CFG waitIdentifyTime(751) > timeout(750) Hit Enter or space or Ctrl+C key to stop autoboot -- : 1 0 card in init_part() 278: PART_TYPE_DOS [mmc_init] mmc init success Device: SDIO Port B Manufacturer ID: 3 OEM: 5344 Name: SC32G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capa`ity: Yes Capacity: 29.7 GiB mmc `lock: 40000000 Bus Width: 4-bit reading kernel.img 9709568 bytes read in 534 ms (17.3 MiB/s) reading dtb.img 44282 bytes read in 6 ms (7 MiB/s) ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =b3f1d450 copy done load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected Uncompressing Kernel Ima`e ... OK kernel loaded at 0x01080000, end = 0x01b922b0 Loading Ramdisk to b3aa8000, end b3e85c00 ... OK Loading Device Tree to 000000001fff2000, end 000000001ffffcf9 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 4140382 us
And here is the log with your u-boot@LPDDR792MHz
Code
Display MoreGXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 158287 BL2 Built : 13:27:37, Oct 25 2017. gxl g56b77aa - xiaobo.gu@droid12 set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 1 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled LPDDR3 chl: Rank0+1 @ 792MHz bist⸮test rank: 0 18 0c 24 33 1b 4c 11 00 22 40 28 58 1b 0a 2c 30 18 49 19 06 2d 32 19 4c 717 rank: 1 18 0b 25 33 1c 4b 10 00 20 3d 27 54 1a 08 2c 31 19 49 1a 06 2f 2e 14 49 717 Rank0: 2048MB(auto)-2T-3 Rank1: 1024MB(auto)-2T-3 AddrBus test pass! -s emmc switch 3 ok BL2: rpmb counter: 0x000000ac emmc switch 0 ok Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c600 Load bl33 from eMMC, src: 0x00050200, des: 0x01000000, size: 0x00066c00 NOTICE: BL3-1: v1.B⸮⸮⸮⸮⸮͕⸮:7c45a4f NOTICE: BL3-1: Built : 14:09:28, Oct 13 2017 NOTICE: BL31: GXL normal boot! NOTICE: BL31: BL33 decompress pass mpu_config_enable:ok [Image: gxl_v1.1.3255-1`77b01 2017-09-15 16:58:02 xiaobo.gu@droid12] OPS=0x82 wdt: reset registers! 68 ed de 3e 1c 0 71 de c5 d5 8c 71 [1.222765 Inits done] secure task start! high task start! low task start! ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01-g35d0abe-dirty (Mar 30 2018 - 11:21:40) DRAM: 3 GiB Relocation Offset is: b6eb1000 register usb cfg[0][1] = 00000000b7f5a620 [CANVAS]canvas init 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 `et_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 = 0x00000000b3eb16b0 aml_priv->desc_buf = 0x00000000b3eb39d0 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 original ext_csd[171] USE_W fiel| value is 50 ext_csd[171] USER_WP filed value after switch is 58 init_part() 293: PART_TYPE_AML [mmc_init] mmc init success Amlogic multi-dtb tool Multi⸮dtb detecte| Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 start dts,buffer=00000000b3eb6200,dt_addr=00000000b3ec2200 Amlogic multi-dtb tool Multi dtb detected Multi dtb tool ver⸮⸮⸮K⸮⸮ . Suppo~t 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 293: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success mmc env offset: 0x27400000 In: serial Out: serial Err: serial reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-1078: calc 2d87240f, store 2d87240f _verify_dtb_checksum()-1078: calc 2d87240f, store 2d87240f dtb_read()-1200: total valid 2 dtb_read()-1267: do nothing Amlogic multi-dtb tool Multi dtb detected Multh dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 so,':ᵁ plat: q201 vari: 2g "щ⸮1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 vpu: clk_level in dts: 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpu: vpu_clk_gate_init_off vpp: vpp_init hpd_state=0 cvbs performance type = 6, table = 0 vpp: vpp_pq_load pq val error !!! Net: Phy 0 not found dwmac.c9410000amlkey_init() enter! [EFUE_MSG]keynum is 4 [BL3LW'⸮⸮⸮⸮size: 0 Start read misc partition datas! info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootable = 0 info->slot_info[0].online = 0 info->slot_info[1].bootable = 0 hnfo->slot_info[1].online = 0 info->attemp_times = 0 boot-info is invalid. Resetting. save boot-info info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootable = 1 info->slot_in⸮k⸮rz⸮⸮⸮⸮⸮⸮= 1 info->slot_info[1].bootable = 0 info->slot_info[1].online = 0 info->attemp_times = 0 attemp_times = 0 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [CANVAS]addrO⸮⸮f851000 width=3840, height=2160 amlkey_init(( enter! amlkey_init() 71: already init! [EFUSE_LG]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 gpio: pin GPIOAO_2 (gpio 102) value is 1 InUsbBurn [MSG]sof Set Addr 18 Get DT cfg Get DT cfg Get DT cfg set CFG waitIdentifyTime(751) > timeout(750) Hit Enter or space or Ctrl+C key to stop autoboot -- : 1 0 ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =b3f36450 copy done load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x021b57d0 Loading Ramdisk to b3d35000, end b3e9ed17 ... OK Loading Device Tree to 000000001fff1000, end 000000001ffff083 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 4077462 us
And with 768 Mhz
Code
Display MoreGXM:BL1:dc8b51:76f1a5;FEA\:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0; TE: 128552 BL2 Built : 13:27:37, Oct 25 2017. gxl g56b77aa - xiaobo.gu@droid12 set vdd cpu_a to 1120 mv set vdd cpu_b to 1050 mv set vddee to 1000 mv Board ID = 1 CPU clk: 1200MHz DQS-corr enabled DDR scramble enabled LPDDR3 chl: Rank0+1 @ 768MHz bist_test rank: 0 19 0b 28 35 1b 4f 15 02 28 40 26 5a 1e 0d 2f 32 19 4c 1b 07 2f 34 19 50 715 rank: 1 1a 0c 28 35 1c 4e 13 01 25 3e 26 57 1d 0c 2f 32 1a 4b 1a 06 2f 31 16 4d 715 Rank0: 2048MB(auto)-2T-3 Rank1: 1024MB(auto)-2T-3 AddrBus test pass! -s emmc switch 3 ok BL2: rpmb counter: 0x000000ac emmc switch 0 ok Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000 New fip structure! Load bl30 from eMMC, src: 0x00010200, des: 0x01100000, size: 0x0000d600 Load bl31 from eMMC, src: 0x00020200, des: 0x05100000, size: 0x0002c600 Load bl33 from eMMC, src: 0x00050200, des: 0x01000000, size: 0x00066c00 NOTICE: BL3-1: v1.0(release):7c45a4f NOTICE: BL3-1: Built : 14:09:28, Oct 13 2017 NOTICE: BL31: GXL normal boot! NOTICE: BL31: BL33 decompress pass mpu_config_enable:ok [Image: gxl_v1.1.3255-1a77b01 2017-09-15 16:58:02 xiaobo.gu@droid12] OPS=0x82 wdt: reset registers! 68 ed de 3e 1c 0 71 de c5 d5 8c 71 [1.221549 Inits done] secure task start! high task start! low task start! ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01-g35d0abe-dirty (Apr 11 2018 - 15:54:26) DRAM: 3 GiB Relocation Offset is: b6eb1000 register usb cfg[0][1] = 00000000b7f5a738 [CANVAS]canvas init 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 = 0x00000000b3eb16b0 aml_priv->desc_buf = 0x00000000b3eb39d0 SDIO Port B: 0, SDIO Port C: 1 emmc/sd response timeout, cmd8, status=0x1ff2800 emmc/sd response timeout, cmd55, status=0x1ff2800 original ext_csd[171] USE_WP field value is 50 ext_csd[171] USER_WP filed value after switch is 58 init_part() 293: PART_TYPE_AML [mmc_init] mmc init success Aml`gic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 start dts,buffer=00000000b3eb6200,dt_addr=00000000b3ec2200 Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat: q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 parts: 10 00: logo 0000000002000000 1 01: recovery 0000000002000000 1 02: rsv 0000000000800000 1 03: tee 0000000000800000 1 04: crypt 0000000002000000 1 05: misc 0000000002000000 1 06: boot 0000000002000000 1 07: system 0000000080000000 1 08: cache 0000000020000000 2 09: data ffffffffffffffff 4 init_part() 293: PART_TYPE_AML eMMC/TSD partition table have been checked OK! check pattern success mmc env offset: 0x27400000 In: serial Out: serial Err: serial reboot_mode=cold_boot [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-1078: calc 284b9321, store 284b9321 _verify_dtb_checksum()-1078: calc 284b9321, store 284b9321 dtb_read()-1200: total valid 2 dtb_read()-1267: do nothing Amlogic multi-dtb tool Multi dtb detected Multi dtb tool version: v2 . Support 2 dtbs. aml_dt soc: gxm platform: q201 variant: 3g dtb 0 soc: gxm plat q201 vari: 2g dtb 1 soc: gxm plat: q201 vari: 3g Find match dtb: 1 vpu: clk_level in dts: 7 vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300) vpu: vpu_clk_gate_init_off vpp: vpp_init hpd_state=0 cvbs performance type = 6, table = 0 vpp: vpp_pq_load pq val error !!! Net: dwmac.c9410000amlkey_init() enter! [EFUSE_MSG]keynum is 4 [BL31]: tee size: 0 Start read misc partition datas! info->attemp_times = 0 info->active_slot = 0 info->slot_info[0].bootable = 0 info->slot_info[0].online = 0 info->slot_info[1].bootable = 0 info->slot_info[1].online = 0 info->attemp_times = 0 boot-info is invalid. Resetting. save boot-info info->attemp_times = 0 info->active_slot = 0 info->slot_info[0\.bootable = 1 info->slot_info[0].online = 1 info->slot_ nfo[1].bootable = 0 in֫ɚ⸮⸮⸮}⸮⸮⸮⸮m⸮].online = 0 info->XWV}ѥ⸮⸮́= 0 attemp_times = 0 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [OSD]load fb addr from dts [OSD]fb_addr for logo: 0x7f851000 [CANVAS]addr=0x7f851000 width=3840, height=2160 amlkey_init() enter! amlkey_init() 71: already init! [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 gpio: pin GPIOAO_2 (gpio 102) value is 1 InUsbBurn noSof Hit Enter or space or Ctrki⸮key to stop autoboot -- : 1 0 ee_gate_off ... ## Booting Android Image at 0x01080000 ... reloc_addr =b3f36450 copy done load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected Uncompressing Kernel Image ... OK kernel loaded at 0x01080000, end = 0x021b57d0 Loading Ramdisk to b3d35000, end b3e9ed17 ... OK Loading Device Tree to 000000001fff1000, end 000000001ffff083 ... OK fdt_instaboot: no instaboot image Starting kernel ... uboot time: 3279257 us
I miss some lines like:
Code
Display MoreSTICKY_REG0: 0x00000000 STICKY_REG8: 0x00000000 STICKY_REG9: 0x00000000 ... ddr_lpddr3_only_up_odt_enable: 0x00000001.... Traininx PGSR0: 0x80001fbf.... ddr_traininx_inf: rank: 0 org_wr0 w0_l w0_r org_r0 r0_l r0_r org_wr1 w1_l w1_r org_r1 r1_l r1_r org_wr2 w2_l w2_r org_r2 r2_l r2_r org_wr3 w3_l w3_r org_r3 r3_l r3_r af_vrefddr_traininx_win: rank: 0 1a 00 37 3a 1a 5b 17 00 2d 43 22 61 1c 00 39 37 17 59 1a 00 36 38 17 54 717 rank: 1 1a 00 37 3a 1a 5b 16 00 2d 41 22 61 1c 00 39 38 17 59 1a 00 36 35 17 54 717 ... ddr_refi_counter37 DDR1_ADDRMAP_0== 0x14941cc5 DDR1_ADDRMAP_1== 0x230783ab DDR1_ADDRMAP_2== 0x2f6ad272 DDR1_ADDRMAP_3== 0x3bcdeb38 DDR1_ADDRMAP_4== 0x0007359e ... DataBus test pass!
Maybe there is something missing or broken Or maybe it is DDR scambling related. I dont know.
BTW: Why is "trainin g" a censored word here? Replaced with traininx
DDR scramble is defined in the BL2 code, this is closed source. The kernel log is not complete, why you consider it secret .. I do not know.
-
sorry - I haven't been following this topic since using using the original fixed uboot at the end of March and confused by all the board versions. on my H96 Pro+ CZ-S32-V5 BLUE 3/32 1Gb LAN should I do this again with one of the more recent uboot file versions?
please show the result:
-
didnt know, that this is important. Will attach it later. There is already something wrong before kernel loading, isnt it?
-
[ 0.558908@2] libphy: stmmac: probed
[ 23.510865@7] libphy: stmmac-0:00 - Link is Up - 1000/Full
-
Everything ok, you have full speed, update is not necessary
-
Thank you
-
Full Serial Log until LE starts:
Unmodified uboot (ignore first lines from Android):
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.768Mhz
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.And Android boot:
Unmodified uboot:
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.768Mhz
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy.And full LE dmesg with unmodified u-boot:
External Content pastebin.comContent embedded from external sources will not be displayed without your consent.Through the activation of external content, you agree that personal data may be transferred to third party platforms. We have provided more information on this in our privacy policy. -
Quote
AndroidLinux version 3.14.29 (dmitry@tbuntu)
please do not post any logs from foreign builds..., only from LE (original). And no logs from the Android
-