ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

X96 Max Plus Q1(s905x3)4G+32G supports writing to emmc

tv4you2016 opened this issue · comments

Hello @ophub

my box is an X96 Max PlusQ1

158602905-419853b1-a240-4de9-b556-47d5be7bdc5c

158602901-19ddc7d1-05ea-4fa6-9c72-08db99e0d844

Used DTB file: meson-sm1-x96-air.dtb

Software informations:

Armbian image: Armbian_23.02.0_amlogic_s905x3_bullseye_5.15.81_server_2022.12.08.img
Used DTB file: meson-sm1-x96-air.dtb

Problem:

At first, I used the meson-sm1-x96-air.dtb file for the OS Installation as the Instructions mentioned, but the system shows only 2GB instead of 4GB

I leave here some files extracted from the original android firmware that I think can help

mybox.zip

Firmware Original:
https://cloud.mail.ru/public/2MG6/C7Pvdaw49

commented
cd /boot
cp -f u-boot-x96maxplus.bin u-boot.emmc
cp -f u-boot-x96maxplus.bin u-boot.ext

@ophub
hello, I did the commands mentioned and after booting, there is a black screen and it does not start

Log Uart: 

> 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: 0x0000 - pwm id 0x01
> bl2_stage_init 0xc1
> bl2_stage_init 0x02
> 
> L0:00000000
> L1:00000703
> L2:00008067
> L3:15000020
> S1:00000000
> B2:20282000
> B1:a0f83180
> 
> TE: 142148
> 
> BL2 Built : 15:21:42, Mar 26 2020. g12a g486bc38 - 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
> DDR4 probe
> 
> LPDDR4_PHY_V_0_1_21-Built : 15:37:51, Mar 26 2020. g12a gf098346 - gongwei.chen@droid11-sz
> ddr clk to 1320MHz
> 
> dmc_version 0001
> Check phy result
> INFO : End of initialization
> INFO : End of read enable training
> INFO : End of fine write leveling
> INFO : ERROR : Training has failed!
> 1D training failed
> Cfg max: 12, cur: 2. Board id: 255. Force loop cfg
> DDR4 probe
> ddr clk to 912MHz
> 
> dmc_version 0001
> Check phy result
> INFO : End of initialization
> INFO : End of read enable training
> INFO : End of fine write leveling
> INFO : ERROR : Training has failed!
> 1D training failed
> Cfg max: 12, cur: 3. Board id: 255. Force loop cfg
> DDR3 probe
> ddr clk to 792MHz
> 
> 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== 412
> result report
> boot times 0Enable ddr reg access
> 00000000
> emmc switch 3 ok
> BL2: rpmb counter: 0x00019f0d
> 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: 0x000ed200, part: 0
> 0.0;M3 CHK:0;cm4_sp_mode 0
> [Image: g12a_v1.1.3394-7d43064d5 2020-05-07 15:37:06 gongwei.chen@droid11-sz]
> OPS=0x01
> ring efuse init
> 2b 0b 01 00 01 13 27 00 00 10 30 38 30 52 30 50
> [0.014467 Inits done]
> secure task start!
> high task start!
> low task start!
> boot bl31
> NOTICE:  BL31: v1.3(release):5d6723eeb
> NOTICE:  BL31: Built : 15:05:59, Mar 17 2020
> NOTICE:  BL31: G12A normal boot!
> NOTICE:  BL31: BL33 decompress pass
> ERROR:   Error initializing runtime service opteed_fast
> 
> 
> U-Boot 2015.01 (Dec 09 2020 - 16:24:50)
> 
> DRAM:  3.8 GiB
> Relocation Offset is: d6d86000
> mmu cfg end: 0xe0000000
> mmu cfg end: 0xe0000000
> spi_post_bind(spifc): req_seq = 0
> register usb cfg[0][1] = 00000000d7e9a068
> 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 = 0x00000000d3d76a70
> aml_priv->desc_buf = 0x00000000d3d78db0
> 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() 282: PART_TYPE_DOS
> [mmc_init] mmc init success
>       Amlogic multi-dtb tool
>       Multi dtb detected
>       Multi dtb tool version: v2 .
>       Support 3 dtbs.
>         aml_dt soc: sm1 platform: ac213 variant: 4g
>         dtb 0 soc: g12a   plat: u212   vari: 4g
>         dtb 1 soc: sm1   plat: ac213   vari: 2g
>         dtb 2 soc: sm1   plat: ac213   vari: 4g
>       Find match dtb: 2
> start dts,buffer=00000000d3d7b620,dt_addr=00000000d3da4e20
> get_partition_from_dts() 92: ret 0
>       Amlogic multi-dtb tool
>       Multi dtb detected
>       Multi dtb tool version: v2 .
>       Support 3 dtbs.
>         aml_dt soc: sm1 platform: ac213 variant: 4g
>         dtb 0 soc: g12a   plat: u212   vari: 4g
>         dtb 1 soc: sm1   plat: ac213   vari: 2g
>         dtb 2 soc: sm1   plat: ac213   vari: 4g
>       Find match dtb: 2
> parts: 1
> 00:      data   ffffffffffffffff 4
> init_part() 282: PART_TYPE_DOS
> 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: 0x7400000
> In:    serial
> Out:   serial
> Err:   serial
> reboot_mode=cold_boot
> [store]To run cmd[emmc dtb_read 0x1000000 0x40000]
> _verify_dtb_checksum()-3476: calc b646bac5, store b646bac5
> _verify_dtb_checksum()-3476: calc b646bac5, store b646bac5
> dtb_read()-3691: total valid 2
> update_old_dtb()-3672: do nothing
>       Amlogic multi-dtb tool
>       Multi dtb detected
>       Multi dtb tool version: v2 .
>       Support 3 dtbs.
>         aml_dt soc: sm1 platform: ac213 variant: 4g
>         dtb 0 soc: g12a   plat: u212   vari: 4g
>         dtb 1 soc: sm1   plat: ac213   vari: 2g
>         dtb 2 soc: sm1   plat: ac213   vari: 4g
>       Find match dtb: 2
> 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 performance_pal config
> Net:   dwmac.ff3f0000amlkey_init() enter!
> amlkey_init() 71: already init!
> [EFUSE_MSG]keynum is 4
> MACADDR:02:00:00:27:13:01(from chipid)
> 
> CONFIG_AVB2: null
> Start read misc partition datas!
> Cannot find dev.
> amlmmc cmd <NULL> failed
> 
> store - STORE sub-system
> 
> Usage:
> store init flag
> store read name addr off|partition size
>     read 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store write name addr off|partition size
>     write 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store rom_write add off size.
>         write uboot to the boot device
> store erase boot/data:
>         erase the area which is uboot or data
> store erase partition <partition_name>:
>         erase the area which partition in u-boot 
> store erase dtb
> store erase key
> store disprotect key
> store rom_protect on/off
> store scrub off|partition size
>         scrub the area from offset and size
> store dtb iread/read/write addr <size>
>         read/write dtb, size is optional
> store key read/write addr <size>
>         read/write key, size is optional
> store ddr_parameter read/write addr <size>
>         read/write ddr parameter, size is optional 
> store mbr addr
>    update mbr/partition table by dtb
> store bootlog
>    show boot logs
> 
> [burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store  read misc 0xd3d75090  0x0  0x820]
> failed to store read misc.
> info->magic =
> info->version_major = 0
> info->version_minor = 0
> info->slots[0].priority = 0
> info->slots[0].tries_remaining = 0
> info->slots[0].successful_boot = 0
> info->slots[1].priority = 0
> info->slots[1].tries_remaining = 0
> info->slots[1].successful_boot = 0
> info->crc32 = 0
> Magic  is incorrect.
> boot-info is invalid. Resetting.
> save boot-info
> 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
> Cannot find dev.
> amlmmc cmd <NULL> failed
> 
> store - STORE sub-system
> 
> Usage:
> store init flag
> store read name addr off|partition size
>     read 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store write name addr off|partition size
>     write 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store rom_write add off size.
>         write uboot to the boot device
> store erase boot/data:
>         erase the area which is uboot or data
> store erase partition <partition_name>: 
>         erase the area which partition in u-boot
> store erase dtb
> store erase key
> store disprotect key
> store rom_protect on/off
> store scrub off|partition size
>         scrub the area from offset and size
> store dtb iread/read/write addr <size>
>         read/write dtb, size is optional
> store key read/write addr <size>
>         read/write key, size is optional 
> store ddr_parameter read/write addr <size>
>         read/write ddr parameter, size is optional
> store mbr addr
>    update mbr/partition table by dtb
> store bootlog
>    show boot logs
> 
> [burnup]Err:store_write_ops,L165:cmd [store  write misc 0xd3d75090  0x0  0x820] failed active slot = 0
> wipe_data=successful
> wipe_cache=successful
> upgrade_step=2
> reboot_mode:::: cold_boot
> 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[mac] 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=2160p30hz
> do_hpd_detect: colorattribute=444,8bit
> Saving Environment to aml-storage...
> mmc env offset: 0x7400000
> 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 444,8bit
> read hdmimode 2160p30hz, colorspace <NULL>, colordepth <NULL>
> do_get_parse_edid: autoMode = false, manualMode=95
> 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: 444,8bit
> dolby_status 0
> dolby_status 0
> dolby_vision_process: no tv and dv disabled
> Saving Environment to aml-storage...
> mmc env offset: 0x7400000
> Writing to MMC(1)... done
> [OSD]load fb addr from dts:/meson-fb
> [OSD]load fb addr from dts:/fb
> [OSD]set initrd_high: 0xdf800000
> [OSD]fb_addr for logo: 0xdf800000
> [OSD]load fb addr from dts:/meson-fb
> [OSD]load fb addr from dts:/fb
> [OSD]fb_addr for logo: 0xdf800000
> [OSD]VPP_OFIFO_SIZE:0xfff01fff
> [CANVAS]canvas init
> [CANVAS]addr=0xdf800000 width=3840, height=2160
> Cannot find dev.
> amlmmc cmd <NULL> failed 
> 
> store - STORE sub-system
> 
> Usage:
> store init flag
> store read name addr off|partition size
>     read 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store write name addr off|partition size
>     write 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store rom_write add off size.
>         write uboot to the boot device
> store erase boot/data:
>         erase the area which is uboot or data
> store erase partition <partition_name>:
>         erase the area which partition in u-boot 
> store erase dtb
> store erase key
> store disprotect key
> store rom_protect on/off
> store scrub off|partition size
>         scrub the area from offset and size
> store dtb iread/read/write addr <size>
>         read/write dtb, size is optional
> store key read/write addr <size>
>         read/write key, size is optional
> store ddr_parameter read/write addr <size>
>         read/write ddr parameter, size is optional
> store mbr addr
>    update mbr/partition table by dtb
> store bootlog
>    show boot logs
> 
> [burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store  read logo 0x1080000  0x0  0x2000]
> Err imgread(L563):Fail to read 0x2000B from part[logo] at offset 0
> There is no valid bmp file at the given address
> [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
> dolby_status 0
> dolby_status 0
> hdr_packet
> vpp: hdr_policy = 0
> 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[mac] 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
> SARADC channel(2) is 0x3fd.
> saradc - saradc sub-system
> 
> Usage:
> saradc saradc open <channel>    - open a SARADC channel
> saradc close    - close the SARADC
> saradc getval   - get the value in current channel
> saradc test     - test the SARADC by channel-7
> saradc get_in_range <min> <max> - return 0 if current value in the range of current channel
> 
> Command: bcb uboot-command 
> Start read misc partition datas!
> Cannot find dev.
> amlmmc cmd <NULL> failed
> 
> store - STORE sub-system
> 
> Usage:
> store init flag
> store read name addr off|partition size
>     read 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store write name addr off|partition size
>     write 'size' bytes starting at offset 'off'
>     to/from memory address 'addr', skipping bad blocks.
> store rom_write add off size.
>         write uboot to the boot device
> store erase boot/data:
>         erase the area which is uboot or data
> store erase partition <partition_name>:
>         erase the area which partition in u-boot
> store erase dtb
> store erase key
> store disprotect key
> store rom_protect on/off
> store scrub off|partition size
>         scrub the area from offset and size
> store dtb iread/read/write addr <size>
>         read/write dtb, size is optional
> store key read/write addr <size>
>         read/write key, size is optional
> store ddr_parameter read/write addr <size>
>         read/write ddr parameter, size is optional
> store mbr addr
>    update mbr/partition table by dtb
> store bootlog
>    show boot logs
> 
> [burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store  read misc 0xd3d75080  0x0  0x440]
> failed to store read misc.
> bcb - bcb
> 
> Usage:
> bcb
> This command will run some commands which saved in misc
> partition by mark to decide whether execute command!
> Command format:
>   bcb bcb_mark
> Example:
>   /dev/block/misc partiton is saved some contents:
>   uboot-command
>   N/A
>   setenv aa 11;setenv bb 22;setenv cc 33;saveenv;
> So you can execute command: bcb uboot-command
> InUsbBurn
> wait for phy ready count is 0
> noSof
> sof timeout, reset usb phy tuning
> 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[mac] 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
> Hit Enter or space or Ctrl+C key to stop autoboot -- :  0 
> card out
> (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 1 **
> ** Bad device usb 2 **
> ** Bad device usb 3 **
> reading emmc_autoscript
> 831 bytes read in 3 ms (270.5 KiB/s)
> ## Executing script at 01020000
> reading u-boot.emmc
> 746678 bytes read in 24 ms (29.7 MiB/s)
> ## Starting application at 0x01000000 ...
> 
> 
> U-Boot 2021.07-rc3-00183-gd6e1cdad51-dirty (May 31 2021 - 22:33:28 +0800) x96-max-plus
> 
> Model: AMedia X96 Max+
> SoC:   Amlogic Meson SM1 (Unknown) Revision 2b:b (1:2)
> DRAM:  3.8 GiB
> MMC:   sd@ffe03000: 0, sd@ffe05000: 1, mmc@ffe07000: 2
> Loading Environment from nowhere... OK
> In:    serial
> Out:   serial
> Err:   serial
> Net:   eth0: ethernet@ff3f0000
> Hit any key to stop autoboot:  0 
> starting USB...
> Bus usb@ff500000: Register 3000140 NbrPorts 3
> Starting the controller
> USB XHCI 1.10
> scanning bus usb@ff500000 for devices... 1 USB Device(s) found
>        scanning usb for storage devices... 0 Storage Device(s) found
> 
> Device 0: unknown device
> Card did not respond to voltage select! : -110
> Card did not respond to voltage select! : -110
> unable to select a mode : -110
> DMA reset timeout
> missing environment variable: pxeuuid
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/01-86-0b-2a-63-8f-b8
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/00000000
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/0000000
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/000000
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/00000
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/0000
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/000
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/00      
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/0       
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/default-arm-meson-ac2xx
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/default-arm-meson
> DMA reset timeout
> missing environment variable: bootfile   
> Retrieving file: pxelinux.cfg/default-arm
> DMA reset timeout
> missing environment variable: bootfile
> Retrieving file: pxelinux.cfg/default
> DMA reset timeout
> Config file not found
> DMA reset timeout
> DMA reset timeout
commented

What is soc and 100M wired network card?

X96 Max Plus Q1 . Without chip 1000Mb. LAN 100, Cdtech 4761743

commented

Wait a minute. I'll compile one for you

Ok I wait... I'm here for any kind of tests you want to do

commented

meson-sm1-x96-max-plus-q1.dtb.zip

Use the firmware of 5.15 kernel, uzip the dtb file, upload it to the /boot/dtb/amlogic directory, modify the /boot/uEnv.txt file, and change the file name to this. Restart the test.
No need to add u-boot

Not working 
black screen and does not start



Uart Log 


`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: 0x0000 - pwm id 0x01
bl2_stage_init 0xc1
bl2_stage_init 0x02

L0:00000000
L1:00000703
L2:00008067
L3:15000020
S1:00000000
B2:20282000
B1:a0f83180

TE: 146078

BL2 Built : 15:21:42, Mar 26 2020. g12a g486bc38 - 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
DDR4 probe

LPDDR4_PHY_V_0_1_21-Built : 15:37:51, Mar 26 2020. g12a gf098346 - gongwei.chen@                                                                                                                                                             droid11-sz
ddr clk to 1320MHz

dmc_version 0001
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : ERROR : Training has failed!
1D training failed
Cfg max: 12, cur: 2. Board id: 255. Force loop cfg
DDR4 probe
ddr clk to 912MHz

dmc_version 0001
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : ERROR : Training has failed!
1D training failed
Cfg max: 12, cur: 3. Board id: 255. Force loop cfg
DDR3 probe
ddr clk to 792MHz

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== 402
result report
boot times 0Enable ddr reg access
00000000
emmc switch 3 ok
BL2: rpmb counter: 0x00019f0d
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: 0x000ed200, part: 0
0.0;M3 CHK:0;cm4_sp_mode 0
[Image: g12a_v1.1.3394-7d43064d5 2020-05-07 15:37:06 gongwei.chen@droid11-sz]
OPS=0x01
ring efuse init
2b 0b 01 00 01 13 27 00 00 10 30 38 30 52 30 50
[0.014422 Inits done]
secure task start!
high task start!
low task start!
boot bl31
NOTICE:  BL31: v1.3(release):5d6723eeb
NOTICE:  BL31: Built : 15:05:59, Mar 17 2020
NOTICE:  BL31: G12A normal boot!
NOTICE:  BL31: BL33 decompress pass
ERROR:   Error initializing runtime service opteed_fast


U-Boot 2015.01 (Dec 09 2020 - 16:24:50)

DRAM:  3.8 GiB
Relocation Offset is: d6d86000
mmu cfg end: 0xe0000000
mmu cfg end: 0xe0000000
spi_post_bind(spifc): req_seq = 0
register usb cfg[0][1] = 00000000d7e9a068
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 = 0x00000000d3d76a70
aml_priv->desc_buf = 0x00000000d3d78db0
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() 282: PART_TYPE_DOS
[mmc_init] mmc init success
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 3 dtbs.
        aml_dt soc: sm1 platform: ac213 variant: 4g
        dtb 0 soc: g12a   plat: u212   vari: 4g
        dtb 1 soc: sm1   plat: ac213   vari: 2g
        dtb 2 soc: sm1   plat: ac213   vari: 4g
      Find match dtb: 2
start dts,buffer=00000000d3d7b620,dt_addr=00000000d3da4e20
get_partition_from_dts() 92: ret 0
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 3 dtbs.
        aml_dt soc: sm1 platform: ac213 variant: 4g
        dtb 0 soc: g12a   plat: u212   vari: 4g
        dtb 1 soc: sm1   plat: ac213   vari: 2g
        dtb 2 soc: sm1   plat: ac213   vari: 4g
      Find match dtb: 2
parts: 1
00:      data   ffffffffffffffff 4
init_part() 282: PART_TYPE_DOS
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: 0x7400000
In:    serial
Out:   serial
Err:   serial
reboot_mode=cold_boot
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-3476: calc b646bac5, store b646bac5
_verify_dtb_checksum()-3476: calc b646bac5, store b646bac5
dtb_read()-3691: total valid 2
update_old_dtb()-3672: do nothing
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 3 dtbs.
        aml_dt soc: sm1 platform: ac213 variant: 4g
        dtb 0 soc: g12a   plat: u212   vari: 4g
        dtb 1 soc: sm1   plat: ac213   vari: 2g
        dtb 2 soc: sm1   plat: ac213   vari: 4g
      Find match dtb: 2
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 performance_pal config
Net:   dwmac.ff3f0000amlkey_init() enter!
amlkey_init() 71: already init!
[EFUSE_MSG]keynum is 4
MACADDR:02:00:00:27:13:01(from chipid)

CONFIG_AVB2: null
Start read misc partition datas!
Cannot find dev.
amlmmc cmd <NULL> failed

store - STORE sub-system

Usage:
store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store ddr_parameter read/write addr <size>
        read/write ddr parameter, size is optional
store mbr addr
   update mbr/partition table by dtb
store bootlog
   show boot logs

[burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store  read misc 0xd3d75090                                                                                                                                                               0x0  0x820]
failed to store read misc.
info->magic =
info->version_major = 0
info->version_minor = 0
info->slots[0].priority = 0
info->slots[0].tries_remaining = 0
info->slots[0].successful_boot = 0
info->slots[1].priority = 0
info->slots[1].tries_remaining = 0
info->slots[1].successful_boot = 0
info->crc32 = 0
Magic  is incorrect.
boot-info is invalid. Resetting.
save boot-info
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
Cannot find dev.
amlmmc cmd <NULL> failed

store - STORE sub-system

Usage:
store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store ddr_parameter read/write addr <size>
        read/write ddr parameter, size is optional
store mbr addr
   update mbr/partition table by dtb
store bootlog
   show boot logs

[burnup]Err:store_write_ops,L165:cmd [store  write misc 0xd3d75090  0x0  0x820]                                                                                                                                                              failed active slot = 0
wipe_data=successful
wipe_cache=successful
upgrade_step=2
reboot_mode:::: cold_boot
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[mac] 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=2160p30hz
do_hpd_detect: colorattribute=444,8bit
Saving Environment to aml-storage...
mmc env offset: 0x7400000
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 444,8bit
read hdmimode 2160p30hz, colorspace <NULL>, colordepth <NULL>
do_get_parse_edid: autoMode = false, manualMode=95
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: 444,8bit
dolby_status 0
dolby_status 0
dolby_vision_process: no tv and dv disabled
Saving Environment to aml-storage...
mmc env offset: 0x7400000
Writing to MMC(1)... done
[OSD]load fb addr from dts:/meson-fb
[OSD]load fb addr from dts:/fb
[OSD]set initrd_high: 0xdf800000
[OSD]fb_addr for logo: 0xdf800000
[OSD]load fb addr from dts:/meson-fb
[OSD]load fb addr from dts:/fb
[OSD]fb_addr for logo: 0xdf800000
[OSD]VPP_OFIFO_SIZE:0xfff01fff
[CANVAS]canvas init
[CANVAS]addr=0xdf800000 width=3840, height=2160
Cannot find dev.
amlmmc cmd <NULL> failed

store - STORE sub-system

Usage:
store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store ddr_parameter read/write addr <size>
        read/write ddr parameter, size is optional
store mbr addr
   update mbr/partition table by dtb
store bootlog
   show boot logs

[burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store  read logo 0x1080000                                                                                                                                                               0x0  0x2000]
Err imgread(L563):Fail to read 0x2000B from part[logo] at offset 0
There is no valid bmp file at the given address
[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
dolby_status 0
dolby_status 0
hdr_packet
vpp: hdr_policy = 0
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[mac] 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
SARADC channel(2) is 0x3fc.
saradc - saradc sub-system

Usage:
saradc saradc open <channel>    - open a SARADC channel
saradc close    - close the SARADC
saradc getval   - get the value in current channel
saradc test     - test the SARADC by channel-7
saradc get_in_range <min> <max> - return 0 if current value in the range of curr                                                                                                                                                             ent channel

Command: bcb uboot-command
Start read misc partition datas!
Cannot find dev.
amlmmc cmd <NULL> failed

store - STORE sub-system

Usage:
store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store ddr_parameter read/write addr <size>
        read/write ddr parameter, size is optional
store mbr addr
   update mbr/partition table by dtb
store bootlog
   show boot logs

[burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store  read misc 0xd3d75080                                                                                                                                                               0x0  0x440]
failed to store read misc.
bcb - bcb

Usage:
bcb
This command will run some commands which saved in misc
partition by mark to decide whether execute command!
Command format:
  bcb bcb_mark
Example:
  /dev/block/misc partiton is saved some contents:
  uboot-command
  N/A
  setenv aa 11;setenv bb 22;setenv cc 33;saveenv;
So you can execute command: bcb uboot-command
InUsbBurn
wait for phy ready count is 0
noSof
sof timeout, reset usb phy tuning
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[mac] 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
Hit Enter or space or Ctrl+C key to stop autoboot -- :  0
card out
(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 1 **
** Bad device usb 2 **
** Bad device usb 3 **
reading emmc_autoscript
831 bytes read in 3 ms (270.5 KiB/s)
## Executing script at 01020000
reading u-boot.emmc
** Unable to read file u-boot.emmc **
reading uEnv.txt
362 bytes read in 4 ms (87.9 KiB/s)
reading /zImage
25401856 bytes read in 723 ms (33.5 MiB/s)
reading /uInitrd
8198016 bytes read in 235 ms (33.3 MiB/s)
reading /dtb/amlogic/meson-sm1-x96-max-plus-q1.dtb
71217 bytes read in 17 ms (4 MiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=02:00:00:27:13:01
[rsvmem] get fdtaddr NULL!
rsvmem - reserve memory

Usage:
rsvmem check                   - check reserved memory
rsvmem dump                    - dump reserved memory

rsvmem check failed
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    8197952 Bytes = 7.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
[store]Is good fdt check header, no need decrypt!
active_slot is normal
get partition info failed !!
amlmmc - AMLMMC sub system

Usage:
amlmmc read  <partition_name> ram_addr addr_byte# cnt_byte
amlmmc write <partition_name> ram_addr addr_byte# cnt_byte
amlmmc erase <partition_name> addr_byte# cnt_byte
amlmmc erase <partition_name>/<device num>
amlmmc rescan <device_num>
amlmmc part <device_num> - show partition infomation of mmc
amlmmc list - lists available devices
amlmmc env -  display env partition offset
amlmmc switch <device_num> <part name> - part name : boot0, boot1, user
amlmmc status <device_num> - read sd/emmc device status
amlmmc ext_csd <device_num> <byte> - read sd/emmc device EXT_CSD [byte]
amlmmc ext_csd <device_num> <byte> <value> - write sd/emmc device EXT_CSD [byte]                                                                                                                                                              value
amlmmc response <device_num> - read sd/emmc last command response
amlmmc controller <device_num> - read sd/emmc controller register
amlmmc write_protect <partition_name> <write_protect_type>
        - set write protect on partition through power_on or temporary
amlmmc write_protect <addr_base16> <cnt_base10> <write_protect_type>
        - set write protect on specified address through power_on or temporary
amlmmc send_wp_status <partition_name> send protect status of partition
amlmmc send_wp_status <addr_base16> <cnt_base10> send protect status on specifie                                                                                                                                                             d address
amlmmc send_wp_type <partition_name> send protect type of partition
amlmmc send_wp_type <addr_base16> <cnt_base10> send protect type on specified ad                                                                                                                                                             dress
amlmmc clear_wp <partition_name> clear write protect of partition
amlmmc clear_wp <addr_base16> <cnt_base10> clear write protect on specified addr                                                                                                                                                             esst
amlmmc ds <dev_num> <val> set driver strength
amlmmc key - disprotect key partition

amlmmc cmd <NULL> failed
store - STORE sub-system

Usage:
store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store ddr_parameter read/write addr <size>
        read/write ddr parameter, size is optional
store mbr addr
   update mbr/partition table by dtb
store bootlog
   show boot logs

No dtbo patitions found
load dtb from 0x1000000 ......
      Amlogic multi-dtb tool
      Single dtb detected
## Flattened Device Tree blob at 01000000
   Booting using the fdt blob at 0x1000000
No valid dtbo image found
libfdt fdt_path_offset() returned FDT_ERR_NOTFOUND
[rsvmem] fdt get prop fail.
   Loading Ramdisk to d35a2000, end d3d73740 ... OK
   Loading Device Tree to 000000001ffeb000, end 000000001ffff630 ... OK
fdt_fixup_memory_banks, reg:000000001fff67f4
DTS already have 'reg' property

Starting kernel ...

uboot time: 6141379 us

`
commented
ls /boot/dtb/amlogic/meson-sm1-x96-max-plus-q1.dtb
ls /boot/u-boot.ext
ls /boot/u-boot.emmc

demo 2 minutes I have to install again because I don't have access

do you want SSH access to the box??

ls /boot/dtb/amlogic/meson-sm1-x96-max-plus-q1.dtb
ls /boot/u-boot.ext
ls /boot/u-boot.emmc

image

commented

You use meson-sm1-x96-air.dtb wired network is normal, but the memory is 2G?

Yes it only shows 2G when it should be 4G

if you use the

522 s905x3 X96-Max+_A100 meson-sm1-sei610.dtb

it has 4G but does not have eth0

commented

meson-sm1-x96-max-plus-q1.dtb.zip

meson-sm1-x96-max-plus-q1.dtb.zip

These 2 files have the same name, but 2 different files, tested separately.
Modified it, re-covered it, restarted

the first file:
starts but I only have 2G
the second file: does not start
[burnup]Err:store_read_ops,L101:cmd failed, ret=1, [store read recovery 0x10800 00 0x0 0x100000]
Err imgread(L338):Fail to read 0x100000B from part[recovery] at offset 0
g12a_u212_v1

commented

The dtb you provided in the first post cannot be decompiled. The file is damaged. Please check its memory node settings

export dtb command

cat /dev/dtb >/data/local/mybox.dtb

was the command to run

try new files
mybox.zip

try
with the 517 or with the 522

commented

Only test in USB, modify uEnv.txt, overwrite dtb and restart, do not write to emmc

ok 1 minute

do i put the original android firmware in the box or is it not necessary?

commented

During USB testing, it must be ensured that the box is the original Android system.

i have ip and i have 4g of ram. everything looks ok.

Now I want to install in Emmc. what should I do?

commented

wait 1 minute

commented

Only test in USB.

You need to confirm whether the u-boot can be used. You can't start it after adding the test before. Now try again

cd /boot
cp -f u-boot-x96maxplus.bin u-boot.ext
chmod +x u-boot.ext
sync && reboot

image

image

perfect next

commented

Is the u-boot-x96maxplus.bin available for this test?

/etc/model_database.conf

Modify one line, such as the line corresponding to 516

516 :X96-Air-1Gb :s905x3 :meson-sm1-x96-air-gbit.dtb :u-boot-x96maxplus.bin :NA :NA :stable :amlogic :meson-sm1 :s905x3 :no

Column 2, replace X96-Air-1Gb with X96-Max-Plus-Q1
Column 4, replace meson-sm1-x96-air-gbit.dtb with meson-sm1-x96-max-plus-q1.dtb

After modification, armbian-install select 516 when writing to emmc

image

IT WORKS :D

commented

Good job. I submit this dtb to the upstream kernel repository, and the kernel compiled later will come with it.

image

LED OK

good job of yours in helping me and thank you for your patience

image

wifi OK

commented

f0d760b

Later Q1 is 523 serial number

commented
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
/*
 * Copyright (c) 2019 BayLibre SAS. All rights reserved.
 * Copyright (c) 2020 Christian Hewitt <christianshewitt@gmail.com>
 * Copyright (c) 2022 Flippy
 */

/dts-v1/;

#include "meson-sm1-x96-air.dts"

/ {
	compatible = "amediatech,x96-max", "amlogic,sm1";
	model = "X96 Max Plus Q1";

	aliases {
		serial0 = &uart_AO;
		ethernet0 = &ethmac;
	};

	memory@0 {
		device_type = "memory";
		reg = <0x0 0x0 0x0 0xf0800000>;
	};
};

&uart_AO {
	status = "okay";
	pinctrl-0 = <&uart_ao_a_pins>;
	pinctrl-names = "default";
};

&ethmac {
	status = "okay";
	phy-handle = <&internal_ephy>;
	phy-mode = "rmii";
};

&internal_ephy  {
	max-speed = <100>;
};

meson-sm1-x96-max-plus-q1.dtb.zip
meson-sm1-x96-max-plus-q1.dts.zip

can you help me to install the current img and dtb for my x96 max+ please?
20230831_110502
20230831_110446