Jump to content

ajuyg

Members
  • Posts

    3
  • Joined

  • Last visited

  1. wow I feel like an idiot I did already try to "restore to factory settings" from the recovery menu but that didn't help. isn't that enough? does it matter which androind I flash? can I flash it without the usb burning tool?
  2. that's good to hear! I did the steps in this guide (I think) 1. changed the u-boot 2. edited the extlinux.conf what am I missing?
  3. I had a working setup with a small driver issue so I flashed coreelc on an sd card and after booting into it once, I can't seem to be able to boot into armbian anymore. booting into coreelec still works but the armbian sd stopped working. I tried editing the extlinux and evreything I soldered serial pins to see what's going on bl31 reboot reason: 0xd bl31 reboot reason: 0x3 system cmd 1. SM1:BL:511f6b:81ca2f;FEAT:A0F83180:20282000;POC:F;RCY:0;EMMC:0;READ:0;0.0;CHK:0; bl2_stage_init 0x01 bl2_stage_init 0x81 hw id: 0x0001 - pwm id 0x00 bl2_stage_init 0xc0 bl2_stage_init 0x02 L0:00000000 L1:00000703 L2:00008067 L3:15000020 S1:00000000 B2:20282000 B1:a0f83180 TE: 97016 BL2 Built : 14:02:05, Nov 23 2020. g12a g966c864 - gongwei.chen@droid11-sz Board ID = 1 Set cpu clk to 24M Set clk81 to 24M Use GP1_pll as DSU clk. DSU clk: 1200 Mhz CPU clk: 1200 MHz Set clk81 to 166.6M eMMC boot @ 0 sw8 s board id: 1 Load FIP HDR DDR from eMMC, src: 0x00010200, des: 0xfffd0000, size: 0x00004000, part: 0 fw parse done PIEI prepare done 00000000 emmc switch 1 ok ddr saved addr:00016000 Load ddr parameter from eMMC, src: 0x02c00000, des: 0xfffd0000, size: 0x00001000, part: 0 00000000 emmc switch 0 ok fastboot data verify result: 255 Cfg max: 12, cur: 1. Board id: 255. Force loop cfg DDR3 probe LPDDR4_PHY_V_0_1_22-Built : 14:02:12, Nov 23 2020. g12a g966c864 - gongwei.chen@droid11-sz ddr clk to 672MHz dmc_version 0001 Check phy result INFO : End of initialization INFO : End of read enable training INFO : End of fine write leveling INFO : End of read dq deskew training INFO : End of MPR read delay center optimization INFO : End of Write leveling coarse delay INFO : End of write delay center optimization INFO : End of read delay center optimization INFO : End of max read latency training INFO : Training has run successfully! dwc_ddrphy_apb_wr((0<<20)|(2<<16)|(0<<12)|(0xb0):00e4 1D training succeed auto size-- 65535DDR cs0 size: 4096MB DDR cs1 size: 0MB DMC_DDR_CTRL: 0000002dDDR size: 3928MB cs0 DataBus test pass cs0 AddrBus test pass non-sec scramble use zero key ddr scramble enabled 100bdlr_step_size ps== 450 result report boot times 1Enable ddr reg access 00000000 emmc switch 3 ok BL2: rpmb counter: 0x000002f9 00000000 emmc switch 0 ok Load FIP HDR from eMMC, src: 0x00010200, des: 0x01700000, size: 0x00004000, part: 0 Load BL3X from eMMC, src: 0x00078200, des: 0x01768000, size: 0x000ee000, part: 0 0.0;M3 CHK:0;cm4_sp_mode 0 [Image: g12a_v1.1.3396-c893a7153 2020-11-11 13:54:29 gongwei.chen@droid11-sz] OPS=0x01 ring efuse init 2b 0b 01 00 01 2d 20 00 00 0b 33 38 50 42 30 50 [0.596487 Inits done] secure task start! high task start! low task start! boot bl31 NOTICE: BL31: v1.3(release):ec7984eef NOTICE: BL31: Built : 15:24:59, Nov 30 2020 NOTICE: BL31: G12A normal boot! NOTICE: BL31: BL33 decompress pass ERROR: Error initializing runtime service opteed_fast U-Boot 2015.01 (Jun 27 2023 - 15:25:32) DRAM: 3.8 GiB Relocation Offset is: d6d85000 mmu cfg end: 0xe0000000 mmu cfg end: 0xe0000000 spi_post_bind(spifc): req_seq = 0 register usb cfg[0][1] = 00000000d7e99628 NAND: get_sys_clk_rate_mtd() 292, clock setting 200! bus cycle0: 6,timing: 7 NAND device id: 0 ff ff ff ff ff No NAND device found!!! nand init failed: -6 get_sys_clk_rate_mtd() 292, clock setting 200! bus cycle0: 6,timing: 7 NAND device id: 0 ff ff ff ff ff No NAND device found!!! nand init failed: -6 MMC: aml_priv->desc_buf = 0x00000000d3d75a70 aml_priv->desc_buf = 0x00000000d3d77db0 SDIO Port B: 0, SDIO Port C: 1 co-phase 0x3, tx-dly 0, clock 400000 co-phase 0x3, tx-dly 0, clock 400000 co-phase 0x3, tx-dly 0, clock 400000 emmc/sd response timeout, cmd8, cmd->cmdarg=0x1aa, status=0x1ff2800 emmc/sd response timeout, cmd55, cmd->cmdarg=0x0, status=0x1ff2800 co-phase 0x3, tx-dly 0, clock 400000 co-phase 0x3, tx-dly 0, clock 40000000 [set_emmc_calc_fixed_adj][875]find fixed adj_delay=20 init_part() 297: PART_TYPE_AML [mmc_init] mmc init success Amlogic multi-dtb tool Single dtb detected start dts,buffer=00000000d3d7a620,dt_addr=00000000d3d7a620 get_partition_from_dts() 92: ret 0 Amlogic multi-dtb tool Single dtb detected parts: 17 00: logo 0000000000800000 1 01: recovery 0000000001800000 1 02: misc 0000000000800000 1 03: dtbo 0000000000800000 1 04: cri_data 0000000000800000 2 05: param 0000000001000000 2 06: boot 0000000001000000 1 set has_boot_slot = 0 07: rsv 0000000001000000 1 08: metadata 0000000001000000 1 09: vbmeta 0000000000200000 1 10: tee 0000000002000000 1 11: vendor 000000001c000000 1 12: odm 0000000008000000 1 13: system 0000000074000000 1 14: product 0000000008000000 1 15: cache 0000000046000000 2 16: data ffffffffffffffff 4 init_part() 297: PART_TYPE_AML eMMC/TSD partition table have been checked OK! crc32_s:0x1577dad == storage crc_pattern:0x1577dad!!! crc32_s:0xee152b83 == storage crc_pattern:0xee152b83!!! crc32_s:0x79f50f07 == storage crc_pattern:0x79f50f07!!! mmc env offset: 0x4d400000 In: serial Out: serial Err: serial reboot_mode=update [store]To run cmd[emmc dtb_read 0x1000000 0x40000] _verify_dtb_checksum()-3476: calc 6bfb8fc3, store 6bfb8fc3 _verify_dtb_checksum()-3476: calc 6bfb8fc3, store 6bfb8fc3 dtb_read()-3691: total valid 2 update_old_dtb()-3672: do nothing Amlogic multi-dtb tool Single dtb detected amlkey_init() enter! [EFUSE_MSG]keynum is 4 vpu: driver version: v20190313 vpu: detect chip type: 11 vpu: clk_level default: 7(666667000Hz), max: 7(666667000Hz) vpu: clk_level in dts: 7 vpu: vpu_power_on vpu: set_vpu_clk vpu: set clk: 666667000Hz, readback: 666666667Hz(0x100) vpu: set_vpu_clk finish vpu: vpu_module_init_config vpp: vpp_init vpp: vpp osd2 matrix rgb2yuv.............. hdr_func 4, hdr_process_select 0x1 cvbs: cpuid:0x2b cvbs: find clk_path: 0x0 cvbs: find performance_pal config Net: dwmac.ff3f0000amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 CONFIG_AVB2: null Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 wipe_data=successful wipe_cache=successful upgrade_step=2 reboot_mode:::: update s_version: U-Boot 2015.01 amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet [KM]Error:f[keymanage_dts_get_key_device]L105:oemkey key name is not exist [KM]Error:f[_get_km_ops_by_name]L240:key oemkey not know device 4 [KM]Error:f[key_manage_query_exist]L554:There isn't dts cfg for key[oemkey] [KM]Error:f[key_manage_query_size]L511:Fail in query key exist hpd_state=0 do_hpd_detect: hdmimode=1080p60hz do_hpd_detect: colorattribute=rgb,8bit Saving Environment to aml-storage... mmc env offset: 0x4d400000 Writing to MMC(1)... done no sink, fallback to 720p60hz[4] hdr mode is 0 dv mode is ver:0 len: 0 hdr10+ mode is 0 read hdmichecksum 0x00000000, colorattribute rgb,8bit read hdmimode 1080p60hz, colorspace <NULL>, colordepth <NULL> do_get_parse_edid: autoMode = false, manualMode=16 isYuv4kSink: false, maxTMDSRate=150 do_get_parse_edid: non-yuv4k sink: inColorSpace: HDMI_COLOR_FORMAT_RGB do_get_parse_edid: default inColorDepth: HDMI_COLOR_DEPTH_24B TV is same, initial mode is: 576cvbs attr: rgb,8bit dolby_status 0 dolby_status 0 dolby_vision_process: no tv and dv disabled Saving Environment to aml-storage... mmc env offset: 0x4d400000 Writing to MMC(1)... done [OSD]load fb addr from dts:/meson-fb [OSD]load fb addr from dts:/fb [OSD]set initrd_high: 0x7f800000 [OSD]fb_addr for logo: 0x7f800000 [OSD]load fb addr from dts:/meson-fb [OSD]load fb addr from dts:/fb [OSD]fb_addr for logo: 0x7f800000 [OSD]VPP_OFIFO_SIZE:0xfff01fff [CANVAS]canvas init [CANVAS]addr=0x7f800000 width=3840, height=2160 [OSD]osd_hw.free_dst_data: 0,719,0,575 [OSD]osd1_update_disp_freescale_enable vpp: vpp_matrix_update: 2 cvbs_performance_enhancement cvbs_config_hdmipll_g12a cvbs_set_vid2_clk vdac_enable: 1, module_sel:0x8 dolby_status 0 dolby_status 0 hdr_packet vpp: hdr_policy = 1 vpp: Rx hdr_info.hdr_sup_eotf_smpte_st_2084 = 0 s_version: U-Boot 2015.01 amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet [KM]Error:f[keymanage_dts_get_key_device]L105:oemkey key name is not exist [KM]Error:f[_get_km_ops_by_name]L240:key oemkey not know device 4 [KM]Error:f[key_manage_query_exist]L554:There isn't dts cfg for key[oemkey] [KM]Error:f[key_manage_query_size]L511:Fail in query key exist gpio: pin GPIOAO_3 (gpio 3) value is 1 Command: bcb uboot-command Start read misc partition datas! get bootloader message from misc partition: [commannd:bootonce-bootloader] [status:] [recovery:] command mark(uboot-command) not match bootonce-bootloader,don't execute. s_version: U-Boot 2015.01 amlkey_init() enter! amlkey_init() 71: already init! [EFUSE_MSG]keynum is 4 [KM]Error:f[key_manage_query_size]L515:key[usid] not programed yet [KM]Error:f[key_manage_query_size]L515:key[deviceid] not programed yet [KM]Error:f[keymanage_dts_get_key_device]L105:oemkey key name is not exist [KM]Error:f[_get_km_ops_by_name]L240:key oemkey not know device 4 [KM]Error:f[key_manage_query_exist]L554:There isn't dts cfg for key[oemkey] [KM]Error:f[key_manage_query_size]L511:Fail in query key exist InUsbBurn wait for phy ready count is 0 noSof sof timeout, reset usb phy tuning card in co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 400000 co-phase 0x2, tx-dly 0, clock 40000000 [set_emmc_calc_fixed_adj][875]find fixed adj_delay=20 init_part() 282: PART_TYPE_DOS [mmc_init] mmc init success Device: SDIO Port B Manufacturer ID: 0 OEM: 3432 Name: SD16G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: (0x1dc200000 Bytes) 7.4 GiB mmc clock: 40000000 Bus Width: 4-bit Device: SDIO Port B Manufacturer ID: 0 OEM: 3432 Name: SD16G Tran Speed: 50000000 Rd Block Len: 512 SD version 3.0 High Capacity: Yes Capacity: (0x1dc200000 Bytes) 7.4 GiB mmc clock: 40000000 Bus Width: 4-bit reading aml_autoscript 709 bytes read in 4 ms (172.9 KiB/s) ## Executing script at 03080000 bootfromsd=if mmcinfo; then run cfgloadsd; if fatload mmc 0 ${loadaddr} kernel.img; then run sddtb; setenv bootargs ${bootargs} bootfromsd; bootm; fi; fi reading recovery.img ** Unable to read file recovery.img ** (Re)start USB... USB0: USB3.0 XHCI init start Register 3000140 NbrPorts 2 Starting the controller USB XHCI 1.10 scanning bus 0 for devices... 1 USB Device(s) found scanning usb for storage devices... 0 Storage Device(s) found ** Bad device usb 0 ** ** Bad device usb 0 ** Start read misc partition datas! info->magic = info->version_major = 1 info->version_minor = 0 info->slots[0].priority = 15 info->slots[0].tries_remaining = 7 info->slots[0].successful_boot = 0 info->slots[1].priority = 14 info->slots[1].tries_remaining = 7 info->slots[1].successful_boot = 0 info->crc32 = -1075449479 active slot = 0 active_slot: normal Unknown command 'wipeisb' - try 'help' avb2: 0 ee_gate_off ... avb2: 0 ## Booting Android Image at 0x03080000 ... Kernel command line: androidboot.dtbo_idx=0 --cmdline root=/dev/mmcblk0p18 buildvariant=user [store]Is good fdt check header, no need decrypt! active_slot is normal load dtb from 0x1000000 ...... Amlogic multi-dtb tool Single dtb detected find 1 dtbos dtbos to be applied: 0 Apply dtbo 0 Loading Kernel Image(COMP_NONE) ... OK kernel loaded at 0x01080000, end = 0x019e7928 Loading Ramdisk to 0997f000, end 09fff6f2 ... OK Loading Device Tree to 0000000009968000, end 000000000997edbf ... OK fdt_fixup_memory_banks, reg:0000000000000000 Starting kernel ... uboot time: 4905713 us [ 0.000000@0] Linux version 4.9.113 (user@xeon) (gcc version 6.3.1 20170109 (Linaro GCC 6.3-2017.02) ) #1 SMP PREEMPT Tue Jun 27 15:39:42 CST 2023 .... I would love any advice
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines