Hefti
Members-
Posts
8 -
Joined
-
Last visited
-
Great work!
-
T95 Plus 8GB RAM 64GB EMMC - Results so far
Hefti replied to DigitalDaz's topic in Rockchip CPU Boxes
@hotnikq Thx i will check it regularly. -
No misc partition found - What is this, how to create it?
Hefti posted a topic in Rockchip CPU Boxes
Hey guys, i am in trouble with my device (T95Plus, rk3566). Its no longer detected by windows using the usb-otg cable and Android Tool. So i can't reflash the original firmware. I compiled a custom u-boot for rk3566 with bootefi command added. I copied it over to partition 2 of the emmc where the original u-boot was located. Since then its broken. I thought its bricked, but DigitalDaz told me, its only softbricked. Anyway it logs the output over the uart port very well. Its first searching on sdcard for an SPL (secondary program loader) partition and fails, then tries the internal eMMC. It says no misc partition found. I found out that it has to be a primary partition with fat32 and a file called MLO. After this it looks for a file called uboot.bin. I copied over all the files from my u-boot folder and inserted the prepared sd card. Now it also complains about a missing misc partition, any other stuff i tried on sd card failed. So i guess its the first step in the correct direction. Next i need to create an additional partition on the sdcard for the misc partition. Any suggestions? I also extracted the original firmware of the device, but i can't e.g. extract the uboot.img any further. My goal would be to get a shell with dd on it so that i can flash the original image back to the device. I also tried to get the maskrom mode working to reflash using the tools, but it didn't work by shortening the pin 8/9. I did no further tries because i dont want to damage the board/chips. Here are pictures of the sbc board i made. "https:// LINK www.t95plus.com/forums/index.php?threads/t95-plus-board.5/" (can't post right now). Maybe someone know the correct pins? -
T95 Plus 8GB RAM 64GB EMMC - Results so far
Hefti replied to DigitalDaz's topic in Rockchip CPU Boxes
When i follow this video guide, there is no sound popping up when i connect my device. -
T95 Plus 8GB RAM 64GB EMMC - Results so far
Hefti replied to DigitalDaz's topic in Rockchip CPU Boxes
But how to? My Device is not detected by usb anymore. -
T95 Plus 8GB RAM 64GB EMMC - Results so far
Hefti replied to DigitalDaz's topic in Rockchip CPU Boxes
My last hope is that it is possible to intercept unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 ---- HERE ---- spl: partition error Trying to boot from MMC1 ---- OR HERE ---- No misc partition ## Verified-boot: 0 ## Checking firmware@1 0x00a00000 ... OK ## Checking fdt@1 0x00b33108 ... OK To get it working again. But this would require some magically prepared sd card i guess? Any help would be welcome. -
T95 Plus 8GB RAM 64GB EMMC - Results so far
Hefti replied to DigitalDaz's topic in Rockchip CPU Boxes
Broke my u-boot partition. i guess i bricked my device now. My goal is to boot an os with efi partition, the existing u-boot partition has no bootefi command. To do this, i decided to try building my own u-boot img. I found out that rockchip does not suport rk3566 , only rk3568. Thats why i followed a guide for rk356x chips. I booted armbian on the target device and build it natively using this guide: https://forum.pine64.org/showthread.php?tid=14507 the patch file is gone (404). I had to clone the repo and use git log --full-history -1 -- [file path] to the commit of the file and finally find it. I used the patch and fixed one broken entry, so i could start compiling. At the end i got a u-boot.img which i finally copied using dd to partiton2 (u-boot) of the emmc. This overwrites the current working u-boot. On my attached UART i get the following output. ▒zDDR Version V1.09 20210630 ln ddrconfig:7 LPDDR4X, 324MHz BW=32 Col=10 Bk=8 CS0 Row=17 CS1 Row=17 CS=2 Die BW=8 Size=8192MB tdqss: cs0 dqs0: 48ps, dqs1: -72ps, dqs2: -72ps, dqs3: -144ps, tdqss: cs1 dqs0: 48ps, dqs1: -72ps, dqs2: -72ps, dqs3: -120ps, change to: 324MHz PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x61 change to: 528MHz PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 change to: 780MHz PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:41% dram drv:40,odt:0 clk skew:0x58 change to: 920MHz(final freq) PHY drv:clk:36,ca:36,DQ:29,odt:60 vrefinner:16%, vrefout:22% dram drv:40,odt:80 vref_ca:00000071 clk skew:0x3b cs 0: the read training result: DQS0:0x46, DQS1:0x47, DQS2:0x4b, DQS3:0x43, min : 0xa 0xa 0xe 0xb 0x1 0x2 0x6 0x2 , 0x6 0x6 0x2 0x2 0xa 0xa 0xc 0x7 , 0xf 0xf 0xe 0xa 0x6 0x1 0x6 0x4 , 0xa 0x6 0x5 0x1 0xd 0xc 0x9 0xc , mid :0x2d 0x2e 0x31 0x2f 0x24 0x26 0x2a 0x26 ,0x28 0x28 0x25 0x23 0x2d 0x2a 0x2f 0x29 , 0x33 0x32 0x30 0x2d 0x29 0x24 0x26 0x28 ,0x2c 0x29 0x28 0x23 0x2f 0x2e 0x2b 0x2f , max :0x51 0x52 0x55 0x53 0x48 0x4b 0x4e 0x4a ,0x4b 0x4a 0x49 0x44 0x50 0x4b 0x52 0x4b , 0x58 0x56 0x52 0x50 0x4c 0x48 0x47 0x4c ,0x4e 0x4c 0x4b 0x46 0x52 0x50 0x4d 0x52 , range:0x47 0x48 0x47 0x48 0x47 0x49 0x48 0x48 ,0x45 0x44 0x47 0x42 0x46 0x41 0x46 0x44 , 0x49 0x47 0x44 0x46 0x46 0x47 0x41 0x48 ,0x44 0x46 0x46 0x45 0x45 0x44 0x44 0x46 , the write training result: DQS0:0x40, DQS1:0x33, DQS2:0x33, DQS3:0x2b, min :0x5e 0x61 0x63 0x5f 0x56 0x58 0x5a 0x5c 0x5a ,0x4d 0x4d 0x49 0x48 0x50 0x4f 0x54 0x51 0x4d , 0x51 0x50 0x4e 0x4e 0x48 0x48 0x4a 0x4f 0x4d ,0x49 0x48 0x46 0x43 0x4d 0x4d 0x4d 0x4e 0x48 , mid :0x7b 0x7d 0x7f 0x7c 0x73 0x75 0x77 0x77 0x76 ,0x6a 0x69 0x65 0x64 0x6d 0x6b 0x6d 0x6c 0x69 , 0x6e 0x6e 0x69 0x69 0x65 0x5d 0x5f 0x65 0x66 ,0x66 0x65 0x61 0x5e 0x69 0x6a 0x62 0x6b 0x60 , max :0x98 0x9a 0x9b 0x99 0x91 0x92 0x94 0x93 0x93 ,0x87 0x85 0x82 0x81 0x8a 0x87 0x87 0x88 0x85 , 0x8c 0x8c 0x85 0x85 0x82 0x73 0x74 0x7b 0x80 ,0x84 0x82 0x7d 0x7a 0x86 0x88 0x78 0x89 0x78 , range:0x3a 0x39 0x38 0x3a 0x3b 0x3a 0x3a 0x37 0x39 ,0x3a 0x38 0x39 0x39 0x3a 0x38 0x33 0x37 0x38 , 0x3b 0x3c 0x37 0x37 0x3a 0x2b 0x2a 0x2c 0x33 ,0x3b 0x3a 0x37 0x37 0x39 0x3b 0x2b 0x3b 0x30 , cs 1: the read training result: DQS0:0x44, DQS1:0x47, DQS2:0x4c, DQS3:0x43, min : 0x9 0x9 0xc 0x9 0x1 0x2 0x5 0x1 , 0x5 0x5 0x3 0x1 0xb 0x8 0xd 0x6 , 0x11 0x10 0xe 0xb 0x6 0x2 0x7 0x5 , 0xa 0x7 0x6 0x2 0xe 0xd 0xa 0xd , mid :0x2c 0x2c 0x2f 0x2c 0x23 0x25 0x27 0x24 ,0x28 0x28 0x26 0x23 0x2d 0x2a 0x30 0x29 , 0x34 0x34 0x30 0x2e 0x2a 0x25 0x28 0x29 ,0x2c 0x29 0x28 0x24 0x30 0x2e 0x2c 0x2f , max :0x4f 0x4f 0x53 0x50 0x46 0x48 0x4a 0x47 ,0x4c 0x4b 0x4a 0x45 0x50 0x4d 0x53 0x4c , 0x58 0x58 0x52 0x51 0x4e 0x49 0x49 0x4e ,0x4e 0x4c 0x4b 0x46 0x52 0x50 0x4e 0x51 , range:0x46 0x46 0x47 0x47 0x45 0x46 0x45 0x46 ,0x47 0x46 0x47 0x44 0x45 0x45 0x46 0x46 , 0x47 0x48 0x44 0x46 0x48 0x47 0x42 0x49 ,0x44 0x45 0x45 0x44 0x44 0x43 0x44 0x44 , the write training result: DQS0:0x40, DQS1:0x33, DQS2:0x33, DQS3:0x2b, min :0x5d 0x5f 0x62 0x60 0x56 0x58 0x5a 0x5c 0x5a ,0x4c 0x4c 0x49 0x48 0x4f 0x4f 0x53 0x51 0x4d , 0x52 0x52 0x4e 0x4e 0x48 0x48 0x4a 0x4f 0x4f ,0x4b 0x4a 0x49 0x46 0x4f 0x4e 0x4f 0x50 0x4b , mid :0x7a 0x7c 0x7e 0x7d 0x73 0x75 0x77 0x77 0x76 ,0x69 0x69 0x65 0x65 0x6c 0x6b 0x6d 0x6c 0x69 , 0x6f 0x6e 0x69 0x6a 0x65 0x5d 0x5f 0x65 0x68 ,0x69 0x66 0x65 0x61 0x6c 0x6c 0x64 0x6d 0x62 , max :0x98 0x9a 0x9b 0x9a 0x91 0x93 0x95 0x93 0x93 ,0x87 0x86 0x82 0x82 0x8a 0x87 0x87 0x88 0x85 , 0x8c 0x8b 0x84 0x87 0x82 0x73 0x74 0x7b 0x81 ,0x87 0x83 0x81 0x7d 0x89 0x8a 0x7a 0x8b 0x79 , range:0x3b 0x3b 0x39 0x3a 0x3b 0x3b 0x3b 0x37 0x39 ,0x3b 0x3a 0x39 0x3a 0x3b 0x38 0x34 0x37 0x38 , 0x3a 0x39 0x36 0x39 0x3a 0x2b 0x2a 0x2c 0x32 ,0x3c 0x39 0x38 0x37 0x3a 0x3c 0x2b 0x3b 0x2e , CA Training result: cs:0 min :0x47 0x49 0x41 0x40 0x41 0x3e 0x45 ,0x44 0x44 0x3d 0x3d 0x3f 0x3e 0x45 , cs:0 mid :0x86 0x87 0x81 0x7e 0x80 0x7c 0x76 ,0x83 0x82 0x7d 0x7c 0x7e 0x7c 0x75 , cs:0 max :0xc6 0xc6 0xc1 0xbd 0xbf 0xbb 0xa7 ,0xc3 0xc1 0xbd 0xbb 0xbd 0xba 0xa6 , cs:0 range:0x7f 0x7d 0x80 0x7d 0x7e 0x7d 0x62 ,0x7f 0x7d 0x80 0x7e 0x7e 0x7c 0x61 , cs:1 min :0x45 0x4c 0x3e 0x41 0x3c 0x41 0x44 ,0x43 0x46 0x3b 0x40 0x3c 0x40 0x41 , cs:1 mid :0x86 0x87 0x80 0x7e 0x7e 0x7d 0x77 ,0x84 0x82 0x7d 0x7c 0x7e 0x7c 0x74 , cs:1 max :0xc8 0xc3 0xc2 0xbb 0xc1 0xb9 0xaa ,0xc6 0xbf 0xbf 0xb9 0xc0 0xb9 0xa8 , cs:1 range:0x83 0x77 0x84 0x7a 0x85 0x78 0x66 ,0x83 0x79 0x84 0x79 0x84 0x79 0x67 , out U-Boot SPL board init U-Boot SPL 2017.09-ga1f6fc00a0-210413 #ldq (Apr 13 2021 - 11:35:00) unknown raw ID phN unrecognized JEDEC id bytes: 00, 00, 00 Trying to boot from MMC2 spl: partition error Trying to boot from MMC1 No misc partition ## Verified-boot: 0 ## Checking firmware@1 0x00a00000 ... OK ## Checking fdt@1 0x00b33108 ... OK At this point, the system hangs, and its not possible to CTRL-C stop the boot process etc. I tried flashing the Device with Android Tool or the RockChip Factory Tool, but it seems not to detect the usb device anymore. Thats very bad because i thought if i mess up with u-boot i could still reflash it using this tool. Maybe i am just doing something wrong with the factory Tool but as far as i see, i guess it requires the pre-installed u-boot? Any help would be appreciated. Thx! -
T95 Plus 8GB RAM 64GB EMMC - Results so far
Hefti replied to DigitalDaz's topic in Rockchip CPU Boxes
For the reference, here is the device tree source of t95plus.dtb