Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mecool-M8S-PRO-L(s912) can be used normally #158

Closed
parkjw0117 opened this issue Mar 12, 2022 · 11 comments
Closed

Mecool-M8S-PRO-L(s912) can be used normally #158

parkjw0117 opened this issue Mar 12, 2022 · 11 comments
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported

Comments

@parkjw0117
Copy link

parkjw0117 commented Mar 12, 2022

Hello!
I'd like to make my own armbian-install selection list.
I'm using M8S PRO LB(gxm-q201.dtb).
I'm re-naming gxm-q201.dtb to t95z.dtb and running armbian-install with t95z option.
Is there any way to add my device?

@ophub
Copy link
Owner

ophub commented Mar 12, 2022

https://www.priceboon.com/product/mecool-m8s-pro/

is this device? There is no need to change the name of dtb. When you update in the future, there will be an error in the new kernel without the dtb you renamed. You publish your test results. If you have a definite plan for testing, you can add a fixed option to the installation list.

Provide your information:
Which firmware are you using?
Device name?
soc model?
dtb name?
u-boot name?
support for 5.4/5.15 kernel?
support for writing emmc?

cat /etc/ophub-release

@parkjw0117
Copy link
Author

parkjw0117 commented Mar 12, 2022

Provide your information:
Which firmware are you using?

  • armbian 22.02
    Device name?
  • MECOOL M8S PRO L
    soc model?
  • S912
    dtb name?
  • meson-gxm-q201.dtb
    u-boot name?
  • u-boot-s905x-s912
    support for 5.4/5.15 kernel?
  • yes
    support for writing emmc?
  • yes

Recently, I'm going to upgrade from 22.02 to 22.05, but when I boot from sdcard, not booting.
Same method as 22.02, but no boot.
Can you help me this one, too?


serial code : 
BL2 Built : 19:04:28, May 29 2018. \ngxl g034b32c-dirty - xianjun.liu@droid09-sz

set vdd cpu_a to 1120 mv
set vdd cpu_b to 1050 mv
set vddee to 1000 mv
Board ID = 4
CPU clk: 1200MHz
DQS-corr enabled
DDR scramble enabled
LPDDR3 chl: Rank0+1 @ 720MHz
bist_test rank: 0 1b 0a 2c 3c 1d 5c 24 0d 3b 40 20 60 1b 08 2e 40 20 60 1d 03 38 3d 1a 61 694  rank: 1 18 09 28 3d 1c 5f 26 10 3c 3e 1f 5d 1c 0a 2f 3f 20 5f 1e 04 38 3c 18 61 694   - PASS

Rank0: 2048MB-2T-3

Rank1: 1024MB-2T-3
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: 0x0002c600
Load bl32 from eMMC, src: 0x00050200, des: 0x05300000, size: 0x00036200
Load bl33 from eMMC, src: 0x00088200, des: 0x01000000, size: 0x00066e00
NOTICE:  BL3-1: v1.0(release):35dd647
NOTICE:  BL3-1: Built : 15:20:30, Feb  7 2018
NOTICE:  BL31: BL33 decompress pass
mpu_config_enable:ok
[Image: gxl_v1.1.3243-377db0f 2017-09-07 11:28:58 qiufang.dai@droid07]
OPS=0x82
wdt: reset registers!
a6 75 3 fe 56 c 1b be fd b 8d 9f [0.828267 Inits done]
secure task start!
high task start!
low task start!
INFO:    BL3-2: ATOS-V2.0.2-g7eeafe5 #4 Thu May 18 13:19:01 CST 2017 arm
INFO:    BL3-2: Chip: Unknown Rev: A (22:A - 80:2)
INFO:    BL3-2: crypto engine DMA
INFO:    BL3-2: secure time TEE
INFO:    BL3-2: CONFIG_DEVICE_SECURE 0xb200000e


U-Boot 2015.01-g940992f-dirty (Jul 26 2018 - 10:08:55)

DRAM:  3 GiB
Relocation Offset is: b6eb1000
register usb cfg[0][1] = 00000000b7f5a888
[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 = 0x00000000b3eb1790
aml_priv->desc_buf = 0x00000000b3eb3ab0
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
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxm platform: q20xrmii variant: 3g
        dtb 0 soc: gxm   plat: q20xrmii   vari: 2g
        dtb 1 soc: gxm   plat: q20xrmii   vari: 3g
      Find match dtb: 1
start dts,buffer=00000000b3eb6300,dt_addr=00000000b3ec2300
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxm platform: q20xrmii variant: 3g
        dtb 0 soc: gxm   plat: q20xrmii   vari: 2g
        dtb 1 soc: gxm   plat: q20xrmii   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(0xc810023c)=0x1
reboot_mode=normal
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-917: calc d5e0df6d, store d5e0df6d
_verify_dtb_checksum()-917: calc d5e0df6d, store d5e0df6d
dtb_read()-1039: total valid 2
dtb_read()-1106: do nothing
      Amlogic multi-dtb tool
      Multi dtb detected
      Multi dtb tool version: v2 .
      Support 2 dtbs.
        aml_dt soc: gxm platform: q20xrmii variant: 3g
        dtb 0 soc: gxm   plat: q20xrmii   vari: 2g
        dtb 1 soc: gxm   plat: q20xrmii   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=1
[smpte24hz] is invalid for cvbs.
set hdmitx VIC = 98
vic 98 has no cs 3
set cs as 1
config HPLL = 2970000
HPLL: 0xc000027b
config HPLL done
j = 6  vid_clk_div = 2
hdmitx: set enc for VIC: 98
HDMITX-DWC addr=0x10004006 rd_data=0x40
Error: HDMITX-DWC exp_data=0xff mask=0x9f
rx version is 1.4 or below  div=10
hdmtix: set audio
hdmitx phy setting done
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_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[mac] 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
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

key1 = ba45ff00
key2 = ba4594ca
time_out = f4a10
vs_irkey - irkey key_value1 key_value2 time_value

Usage:
vs_irkey
InUsbBurn
noSof
card in
init_part() 278: PART_TYPE_DOS
[mmc_init] mmc init success
Device: SDIO Port B
Manufacturer ID: 3
OEM: 5344
Name: AFGCC
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
mmc clock: 40000000
Bus Width: 4-bit
Device: SDIO Port B
Manufacturer ID: 3
OEM: 5344
Name: AFGCC
Tran Speed: 50000000
Rd Block Len: 512
SD version 3.0
High Capacity: Yes
Capacity: 14.8 GiB
mmc clock: 40000000
Bus Width: 4-bit
reading aml_autoscript
709 bytes read in 3 ms (230.5 KiB/s)
## Executing script at 01080000
## Error: "bootfromsd" not defined
Saving Environment to aml-storage...
mmc env offset: 0x27400000
Writing to MMC(1)... done
reboot use default mode: normal
bl31 reboot reason: 0xd
bl31 reboot reason: 0x1
system cmd  1.
GXM:BL1:dc8b51:76f1a5;FEAT:ADFC318C:80;POC:3;RCY:0;EMMC:0;READ:0;0.0;CHK:0;
TE: 160649

@ophub
Copy link
Owner

ophub commented Mar 12, 2022

Ok, I'll add one for you later, can the wireless and bluetooth of this device be driven?
Is the wired network card fast or gigabit?

@parkjw0117
Copy link
Author

fast(100Mb) ethernet.
BT and WiFi is not working.
Thank you!

@ophub
Copy link
Owner

ophub commented Mar 12, 2022

f3b84ec

It has been added for you, please check if the information is accurate

@parkjw0117
Copy link
Author

I think it's right. I'll test it as soon as possible!

@ophub
Copy link
Owner

ophub commented Mar 12, 2022

thanks for your test and feedback, i'll put you on the contributor list

@tv4you2016
Copy link

@parkjw0117
could you help me??
what version of armbian did you use?
what is the dtb??
what is the procedure to boot from the pen?

@ophub ophub added documentation Improvements or additions to documentation support This need is supported new box Research Fills in the Blanks labels Nov 27, 2022
@ophub ophub changed the title armbian-list Mecool-M8S-PRO-L(s912) can be used normally Nov 27, 2022
@parkjw0117
Copy link
Author

@parkjw0117 could you help me?? what version of armbian did you use? what is the dtb?? what is the procedure to boot from the pen?

Sorry for late reply,
Works normally with latest version, Armbian_23.08.0_amlogic_s912-m8s-pro_lunar_6.1.55_server_2023.10.02.img
dtb is meson-gxm-q201.dtb
My method to boot from pen is via terminal, "reboot sdcard"

@parkjw0117
Copy link
Author

thanks for your test and feedback, i'll put you on the contributor list

Works perfectly with Armbian_23.08.0_amlogic_s912-m8s-pro_lunar_6.1.55_server_2023.10.02.img
Furthermore, WiFi is working.

@jekaex3m
Copy link

jekaex3m commented Apr 5, 2024

thanks for your test and feedback, i'll put you on the contributor list

Works perfectly with Armbian_23.08.0_amlogic_s912-m8s-pro_lunar_6.1.55_server_2023.10.02.img Furthermore, WiFi is working.

Thank you! Everything works fine for me too in conjunction with Robin nano v3.1 and Wi-Fi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation new box Research Fills in the Blanks support This need is supported
Projects
None yet
Development

No branches or pull requests

4 participants