S905L2 DTB port issue

Hi everone, I 'm new here and I 'm a green-hand in CE. Recently I am trying to port CE to my skyworth E900V21E box, which uses S905L2 (aka P261). I have read many topics in this forum and after that, I decided to port CE 9.2.8 to my box. However, I got troubled with booting. Although I have avoided cycle-rebooting, I still can’t boot CE successfully. The screen will stop at the first screen (aka bootloader screen). Here are my DTB file and the TTL log. Anyone can help me? Thx very much :slight_smile:

(Due to new user limit, I uploaded my files to the github, and here are links:)

Thx for help! I haven’t change DDR4 settings because I haven’t figured out how DDR4 caused the problem yet. Do you have some ideas? Thx again! :smiling_face_with_three_hearts:

Several days past, I still have no ideas. :weary:

I wonder if there 's a guide to port CoreELEC legacy to other S905 devices such as S905L2(p261)

No guide.
And 3.14 no one will touch anymore so you are on your own.

Maybe useful:

I have read the third topic and it said “you rework your decompiled DTB by yourself as it will take hours/days”. I have no idea for this solution, any guide for this? Thx.
BTW, I found that the boot log with no dtb.img has no difference with the boot log with dtb.img. They all stuck at get_dvfs_info 0007. I have search the linux-amlogic source code and found nothing connected with this.

Use more verbose output by putting this in config.ini.

coreelec="nopkmute nosplash ssh debug loglevel=8"

I have mount the SYSTEM file but I can’t find the config.ini file, where is it?

Should be also there on first fat partition where SYSTEM file is.

I use my armbian to mount the SYSTEM file with :

sudo mount -t squashfs -o loop SYSTEM  ~/system

And I tried:

cd ~/system && ls

It display this:

bin  etc    lib    opt   run   storage  system  usr
dev  flash  media  proc  sbin  sys      tmp     var

Is the partition I mounted right?

BTW, I got the file size with ls -lh and I got this:

-rwxr-xr-x 1 root root  795 Sep  7  2021 aml_autoscript
drwxr-xr-x 2 root root 8.0K Sep  7  2021 device_trees
-rwxr-xr-x 1 root root  12M Sep  7  2021 kernel.img
-rwxr-xr-x 1 root root   48 Sep  7  2021 kernel.img.md5
-rwxr-xr-x 1 root root 158M Sep  7  2021 SYSTEM
-rwxr-xr-x 1 root root   48 Sep  7  2021 SYSTEM.md5

SYSTEM file is squashfs file and there is nothing to do with it.

You should see config file on your created USB stick or SD card on first partition.

There’s no file named config.ini in the first partition, should I create one?

Give me the link of the image you are using.

https://github.com/CoreELEC/CoreELEC/releases/tag/9.2.8

The file name is CoreELEC-Amlogic.arm-9.2.8-Generic.img.gz.
I wrote the image file by BalenaEcther.

I forgot this is very old image with even older kernel.

I think you are on your own.

Oooooops That’s a bad news for me. :worried:

So far, I still don’t know why the system is stuck here:

bootconsole [earlycon0] disabled

What that mean? Does it mean I should build a new kernel?