Jump to content

h96 max 8k ultra hd rk3528 dtb dump


Recommended Posts

please, can everyone help me make dtb for h96 max 8k ultra hd rk3528 from my dump file ?

source file of the second file boot.img in the firmware

snippet of file contents

Quote

/dts-v1/;

/ {
    compatible = "rockchip,rk3528-evb2-ddr3-v10\0rockchip,rk3528";
    interrupt-parent = <0x01>;
    #address-cells = <0x02>;
    #size-cells = <0x02>;
    model = "Rockchip RK3528 EVB2 DDR3 V10 Board";

    aliases {
        ethernet0 = "/ethernet@ffbd0000";
        ethernet1 = "/ethernet@ffbe0000";
        gpio0 = "/pinctrl/gpio@ff610000";
        gpio1 = "/pinctrl/gpio@ffaf0000";
        gpio2 = "/pinctrl/gpio@ffb00000";
        gpio3 = "/pinctrl/gpio@ffb10000";
        gpio4 = "/pinctrl/gpio@ffb20000";
        i2c0 = "/i2c@ffa50000";
        i2c1 = "/i2c@ffa58000";
        i2c2 = "/i2c@ffa60000";
        i2c3 = "/i2c@ffa68000";

For full dump, please download the file below

 

If anyone succeeds please tag me

thanks

 

dump_rk3528.dts warning process.txt

Link to comment
Share on other sites

Posted (edited)

@Hqnicolas

case

Quote

IMG_20240407_112641.thumb.jpg.026c93759db413ff347f7265d377606a.jpg

IMG_20240407_113628-A.thumb.jpg.fc9b6a20176c1e23abf28e4cafc6a642.jpg

 

board

Quote

so hard to upload board, always error

Screenshot2024-04-07115947.thumb.png.aa62ba54286e370b1a04c027269f70ff.png

 

I uploaded it elsewhere

full board image

up side >> https://mega.nz/file/G98k1BAT#QafubfxNI6_Wk9yg8_yvxELPMQb0C5b2uRo0RvAccpk

back side >> https://mega.nz/file/XhFUUIyQ#KKrdvWjesq_cGGEVuAKWdSK71BAHWcZ8dN0BjIsT35A

 

chipset inside

IMG_20240407_121144.thumb.jpg.082a1f2c12b16ffb30fdebb01e1d8b74.jpg

IMG_20240407_121148.thumb.jpg.da85964f86d80e008c6c5ed6fd97cbdf.jpg

IMG_20240407_121203.thumb.jpg.f978e42d0952b6aa2a62c654cbfec772.jpg

IMG_20240407_121226.thumb.jpg.21f1daaaf69d3501d6ed186821428d36.jpg

firmware

Quote

 

 

Edited by ulumid
Link to comment
Share on other sites

Did you try this images?
https://github.com/armbian/community/releases/tag/24.5.0-trunk.367
#################################################

You can try flash this image with balena

onto an SD card

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_bookworm_legacy_5.10.160_minimal.img.xz

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_jammy_legacy_5.10.160_gnome_desktop.img.xz

#################################################
Using linux you also can drop the DTB file inside /boot/dtb/rockchip
and do 
$ nano armbianEnv.txt
edit the file to reconize dtfile=rockchip/dump_rk3528.dtb
https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_bookworm_legacy_5.10.160_minimal.img.xz

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_jammy_legacy_5.10.160_gnome_desktop.img.xz

#################################################

the following kernel 6 images wont work with android DTB but maybe can work withou editing
https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_bookworm_vendor_6.1.43_minimal.img.xz

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_jammy_vendor_6.1.43_gnome_desktop.img.xz

#################################################

 

 

Edited by Hqnicolas
Link to comment
Share on other sites

i have one of those boards, the silkprint on the PCB says RK3528_DDR3, that's the one I used to bring up the mutltool for rk3528.

A major "problem" I have it is that the board does not boot from sdcard when the eMMC is blanked. I had no time to understand what is the reason behind. Though it should boot when a bootloader is available in eMMC.

Link to comment
Share on other sites

7 hours ago, jock said:

Though it should boot when a bootloader is available in eMMC

 

you need to find a Original ROM from your 8gb device
"ROM.img"

extract the image using this "windows" application " imgRePackerRK

 

@ulumid Please make a backup from you bootloader!
https://drive.google.com/file/d/1mtENAzLQ9J0eszeKG21NWIeqZCBcORQW/view?usp=sharing

https://drive.google.com/file/d/1GKwjPepDoBIQHTafcOVEthfmkxy8EC6O/view?usp=sharing

https://drive.google.com/file/d/1tIaW30UiAER1wGF0r3q2ldVvL55Gv-t3/view?usp=sharing
Use one of these to backup your bootloader from your image

 


to repair this loader you can follow this steps:
Linux desktop
$ sudo -i
$ apt update
$ apt-get rkdeveloptool
connect the device "Press bootloader button"
$ rkdeveloptool -h
$ rkdeveloptool db MiniLoaderAll.bin

 

 

Windows Desktop
Rockchip_DriverAssitant_v5.1.1
RKDevTool_Release_v2.86
click "Download" "Dev Partition"
Check the "write by address" checkbox
Check the "Loader" checkbox
"run"

Link to comment
Share on other sites

On 4/6/2024 at 1:11 PM, ulumid said:

please, can everyone help me make dtb for h96 max 8k ultra hd rk3528 from my dump file ?

 

Would you please explain me how did you make the dump file? I tried to dump the entire firmware of my device (I'm the owner of the Rupa that Hqnicolas mentioned) using "rkdumper" but it seems that device is read-protected. Anyway, I THINK that the dtb was dumped ok. 

 

I attach screenshot of the results from rkdumper. As I udnerstand, all those partition with  "unknown" format, were not correctly dumped because of read-protection

 

Driver 4.5 comp.jpg

Link to comment
Share on other sites

23 hours ago, ulumid said:

so hard to upload board, always error

 

I don't want to be off-topic with this but I recommend to resize and recompress your images with some imaging tool like Irfanview. I did that to upload my Rupa images and had no problems. Each image recompressd had a file size of around 200kb, yours are 1.5Mb or bigger, that's probably overloading the server. 

Link to comment
Share on other sites

@Hqnicolas thanks for the instructions, but I already have a backup of my box I had taken with multitool.

The problem that is puzzling me is why the box does not boot from sdcard when the emmc is empty, something which is absolutely normal for other rockchip devices.

Link to comment
Share on other sites

On 4/7/2024 at 9:21 AM, Hqnicolas said:

Did you try this images?

 

I could manage to flash the SD card and boot Armbian in my device. I'm happy with that first step :)

I used: Armbian_community_24.5.0-trunk.367_Hinlink-ht2_jammy_legacy_5.10.160_gnome_desktop.img.xz

 

However, I noticed (and was expected) many things not working:

 

HDMI output is ok, for 1080p (that's the max my TV supports)

The HDMI output has no audio. In settings, audio device is "Dummy"...

WiFi is not detected. I couldn't test LAN yet, but I can give it a try later. However Bluetooth at least appeared (I understand is the same hardware for BT and Wifi, isn't it?), but I didn't connect anything

USB port 2.0 worked OK: the receiver of keyboard and mouse was connected there, working

USB port 3.0 worked: i connected a flash drive with some video files

 

The video file played with lot of stuttering, nothing smooth, using the "Celluloid" player. Probabbly not HW accelerated by the mali GPU?

 

The remote control did nothing, no response. I guess it my requiere some setting up, map buttons or sth like that.

 

And when I turned it off, actually it rebooted.

 

What can I do now for trying, testing, or modify things to try yo make this work? I would like to start with audio output, video playback and wifi

 

Edit: If any documentation I can read I would be pleased. 

 

Edited by fedes_gl
added in Edit line (last one)
Link to comment
Share on other sites

Posted (edited)

@Hqnicolas

Quote

Posted Sunday at 08:21 PM (edited)

Did you try this images?
https://github.com/armbian/community/releases/tag/24.5.0-trunk.367
#################################################

You can try flash this image with balena 

onto an SD card

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_bookworm_legacy_5.10.160_minimal.img.xz

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_jammy_legacy_5.10.160_gnome_desktop.img.xz

#################################################
Using linux you also can drop the DTB file inside /boot/dtb/rockchip
and do 
$ nano armbianEnv.txt
edit the file to reconize dtfile=rockchip/dump_rk3528.dtb
https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_bookworm_legacy_5.10.160_minimal.img.xz

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_jammy_legacy_5.10.160_gnome_desktop.img.xz

#################################################

the following kernel 6 images wont work with android DTB but maybe can work withou editing
https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_bookworm_vendor_6.1.43_minimal.img.xz

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_jammy_vendor_6.1.43_gnome_desktop.img.xz

#################################################

in my case dtb was on > usr/lib/linux-image5.10.160legacy-rk35xx/rockchip and armbianEnv.txt on > usr/share/armbian 

inside armbianEnv.txt

verbosity=1
bootlogo=false

to direct new dtb just add "dtfile=rockchip/dump_rk3528.dtb" or add code to other file ???

Edited by ulumid
Link to comment
Share on other sites

Hello

I have got the LEMFO RBOX HK1RBOX with rk3528 (https://de.aliexpress.com/item/1005006654505780.html?spm=a2g0o.order_list.order_list_main.32.7cbf5c5fIj4Quv&gatewayAdapt=glo2deu)

Is there any img and dtb, that works with this TV-Box. I tried  Armbian_24.5.0_rockchip_h28k_jammy_5.10.160_server_2024.04.25.img.gz from ophub with rk3528-hlink-ht2.dtb, unfortunately the LAN did not work, even with all rk3528 dtb's 

 

I have tried the image recommended above

https://github.com/armbian/community/releases/download/24.5.0-trunk.367/Armbian_community_24.5.0-trunk.367_Hinlink-ht2_bookworm_legacy_5.10.160_minimal.img.xz

 

but I was lost, since the folder structure is different from the ones I am familiar with. I copied the rockchip folder to the boot folder and as well the a armbianEnv.txt adding dtfile=rockchip/rk3528-hlink-ht2.dtb. The original armbianEnv.txt was modified the same way.

that did not work. Did you miss any other steps?

 

I would appreciate any hint?

 

Edited by giga
Link to comment
Share on other sites

On 4/27/2024 at 11:35 AM, Hqnicolas said:

Can you share the:
 

$ lsblk
$ df -h
$ blkid

 

May this tell you something?

 

Edit: In my case, on the SD card the /boot folder is empty. So I don't know how to use DTS files.

Also, a flash drive was plugged: sda1 device.

I can see Armbian sees the internal memory of my device (mmcblk1p1...p2...)

 

lsblk:

 

NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
sda            8:0    1  57,7G  0 disk 
└─sda1         8:1    1  57,7G  0 part /media/chad/New Volume
mmcblk1      179:0    0  14,7G  0 disk 
├─mmcblk1p1  179:1    0     4M  0 part 
├─mmcblk1p2  179:2    0     4M  0 part 
├─mmcblk1p3  179:3    0     4M  0 part 
├─mmcblk1p4  179:4    0     4M  0 part 
├─mmcblk1p5  179:5    0     4M  0 part 
├─mmcblk1p6  179:6    0     1M  0 part 
├─mmcblk1p7  179:7    0    64M  0 part 
├─mmcblk1p8  179:8    0    96M  0 part 
├─mmcblk1p9  179:9    0   384M  0 part 
├─mmcblk1p10 179:10   0   384M  0 part 
├─mmcblk1p11 179:11   0    16M  0 part 
├─mmcblk1p12 179:12   0     1M  0 part 
├─mmcblk1p13 179:13   0     4G  0 part 
└─mmcblk1p14 179:14   0   9,7G  0 part 
mmcblk1boot0 179:32   0     4M  1 disk 
mmcblk1boot1 179:64   0     4M  1 disk 
mmcblk0      179:96   0    29G  0 disk 
├─mmcblk0p1  179:97   0   256M  0 part /boot
└─mmcblk0p2  179:98   0  28,4G  0 part /var/log.hdd
                                       /
zram0        254:0    0 989,3M  0 disk [SWAP]
zram1        254:1    0    50M  0 disk /var/log

 

 

df -h

 

Filesystem      Size  Used Avail Use% Mounted on
tmpfs           198M  6,3M  192M   4% /run
/dev/mmcblk0p2   28G  4,7G   23G  17% /
tmpfs           990M     0  990M   0% /dev/shm
tmpfs           5,0M     0  5,0M   0% /run/lock
tmpfs           990M   12K  990M   1% /tmp
/dev/mmcblk0p1  224M  122M   92M  58% /boot
/dev/zram1       47M  1,6M   42M   4% /var/log
tmpfs           198M  104K  198M   1% /run/user/1000
/dev/sda1        58G   28G   31G  48% /media/chad/New Volume

 

 

blkid

 

/dev/mmcblk0p1: LABEL="armbi_boot" UUID="b7da92dc-e8d6-4f98-bc78-2c2d26cb0e58" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="bootfs" PARTUUID="5ebaa50c-e6a2-ef4b-bdc0-42959c284dac"
/dev/mmcblk0p2: LABEL="armbi_root" UUID="15ad00eb-944a-4829-8ff0-a0d0b211226c" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="a6783103-918f-fc44-b9ba-b8c9fc8915e4"
/dev/mmcblk1p11: UUID="c6ed55dd-55ba-4fb3-81ed-e341a836e379" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="metadata" PARTUUID="015f0000-0000-4131-8000-2af900001415"
/dev/mmcblk1p14: UUID="4548798e-a22e-48de-8b75-9fcbd508481a" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="userdata" PARTUUID="216e0000-0000-471b-8000-1139000006f0"
/dev/mmcblk1p10: UUID="d90fb683-12be-438a-a851-85bb4899d594" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="cache" PARTUUID="a1470000-0000-4b4a-8000-335e00002f47"
/dev/zram0: UUID="f4ddf41e-a476-410c-927e-7d1ad4814472" TYPE="swap"
/dev/zram1: LABEL="log2ram" UUID="e37fe586-baaf-498e-980e-cdd667b954c2" BLOCK_SIZE="4096" TYPE="ext4"
/dev/mmcblk1p3: PARTLABEL="trust" PARTUUID="d1630000-0000-4261-8000-78e300006a8d"
/dev/mmcblk1p13: PARTLABEL="super" PARTUUID="78170000-0000-462e-8000-351f00003b21"
/dev/mmcblk1p1: PARTLABEL="security" PARTUUID="72340000-0000-4939-8000-1a3d00005715"
/dev/mmcblk1p8: PARTLABEL="recovery" PARTUUID="b2460000-0000-455b-8000-592d000036b6"
/dev/mmcblk1p6: PARTLABEL="vbmeta" PARTUUID="4e6c0000-0000-4d7e-8000-1fcf000040fc"
/dev/mmcblk1p4: PARTLABEL="misc" PARTUUID="357e0000-0000-4575-8000-0005000045d9"
/dev/mmcblk1p2: PARTLABEL="uboot" PARTUUID="28010000-0000-4b3f-8000-3b8d00007f0e"
/dev/mmcblk1p12: PARTLABEL="baseparameter" PARTUUID="5b6c0000-0000-424a-8000-6fa2000072f0"
/dev/mmcblk1p9: PARTLABEL="backup" PARTUUID="74600000-0000-4a1e-8000-3b0700007340"
/dev/mmcblk1p7: PARTLABEL="boot" PARTUUID="927d0000-0000-4354-8000-060700007162"
/dev/mmcblk1p5: PARTLABEL="dtbo" PARTUUID="1c5d0000-0000-4b75-8000-66bb0000653c"
/dev/sda1: LABEL="New Volume" BLOCK_SIZE="512" UUID="2070DF2870DF0406" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="17cffda1-bd82-44b9-8fc4-6e7175882b3a"

 

Edited by fedes_gl
Link to comment
Share on other sites

On 5/8/2024 at 12:47 PM, Hqnicolas said:

You need to Mount the boot partition to edit it.

Thank youuu, this was helpful! However I still need some help (I'm beginner within linux)


I mounted the boot partition but I have not permission to write on it.

 

I booted Ubuntu 22.04 LTS on a x86 system (I permantly installed this version for Armbian compilnig :) )

Inserted SD card and opened up a Terminal and run the following:

 

sudo mount -t auto -v /dev/sdd1 /mnt/Armbian_boot

 

Where "/dev/sdd1" points to the SD card boot partition. (had to run lsblk with the inserted SD card to odentify it)

 

Now I can open the mounted folder with "Files" app and navigate it. I can see the dtb/rockchip folder, and the ArmbianEnv.txt file.

There is also a dtb-5.10.160-legacy-rk35xx/rockchip folder. 

 

When I try to put the 4 .dtb files I have into dtb folder (or 5.10.160-legacy-rk35xx folder), or inside Rockchip folder (in each case), I am not allowed. It says "Permissions do not allow pasting files in this directory"

 

I can't either edit and save ArmbianEnv.txt file!

 

I did some internet search and tried with this command: (chad is my user and Armbian_boot the mouted folder)

chown -R chad /mnt/Armbian_boot

or

chown -R 775 /mnt/Armbian_boot

 

And it says "Operation not permited"

 

I checked the SD card is not physically write-protected (I'm using MicroSD to SD adaptor).

 

What I'm missing?

 

 

Link to comment
Share on other sites

18 hours ago, fedes_gl said:

I mounted the boot partition but I have not permission to write on it.


on debian distro :
 

sudo nautilus

 

 

18 hours ago, fedes_gl said:

There is also a dtb-5.10.160-legacy-rk35xx/rockchip folder. 

 

This folder and dtb folder is the same folder
it's just an short link

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines