maka Posted Monday at 05:39 PM Posted Monday at 05:39 PM (edited) What a rare thing I am. Maybe a trasgo, I don't know. Got chromium from apt and worked like a charm. Edited Monday at 07:15 PM by maka 0 Quote
DreamDreams Posted Tuesday at 02:19 AM Posted Tuesday at 02:19 AM I installed u-boot to eMMC, but found that there is no saveenv command, does anybody know why? Tried to compile u-boot myself but when I run make command in u-boot source I got following error: Image 'simple-bin' is missing external blobs and is non-functional: rockchip-tpl atf-bl31 /binman/simple-bin/mkimage/rockchip-tpl (rockchip-tpl): An external TPL is required to initialize DRAM. Get the external TPL binary and build with ROCKCHIP_TPL=/path/to/ddr.bin. One possible source for the external TPL binary is https://github.com/rockchip-linux/rkbin. /binman/simple-bin/fit/images/@atf-SEQ/atf-bl31 (atf-bl31): See the documentation for your board. You may need to build ARM Trusted Firmware and build with BL31=/path/to/bl31.bin Image 'simple-bin' is missing optional external blobs but is still functional: tee-os /binman/simple-bin/fit/images/@tee-SEQ/tee-os (tee-os): See the documentation for your board. You may need to build Open Portable Trusted Execution Environment (OP-TEE) and build with TEE=/path/to/tee.bin Image 'simple-bin-spi' is missing external blobs and is non-functional: rockchip-tpl /binman/simple-bin-spi/mkimage/rockchip-tpl (rockchip-tpl): An external TPL is required to initialize DRAM. Get the external TPL binary and build with ROCKCHIP_TPL=/path/to/ddr.bin. One possible source for the external TPL binary is https://github.com/rockchip-linux/rkbin. Some images are invalid make: *** [Makefile:1126: .binman_stamp] Error 103 I got following binary files in the folder: u-boot-dtb.bin u-boot-nodtb.bin u-boot-rockchip-spi.bin u-boot-rockchip.bin u-boot.bin But none of them starts with bytes "RKNS" as in /usr/lib/linux-u-boot-edge-h96-tvbox-3566/u-boot-rockchip.bin . So I suspect that they are not the one I should burn to eMMC. 0 Quote
maka Posted Tuesday at 06:11 AM Posted Tuesday at 06:11 AM (edited) Where did you read the u-boot building? export BL31=../trusted-firmware-a/build/rk3568/release/bl31/bl31.elf [or]export BL31=../rkbin/bin/rk35/rk3568_bl31_v1.34.elf export ROCKCHIP_TPL=../rkbin/bin/rk35/rk3568_ddr_1560MHz_v1.13.bin make evb-rk3568_defconfig make CROSS_COMPILE=aarch64-linux-gnu- You have not done first and second step. This is an example for another board, an sbc better than your box, and the files you have to use is unknown. Don't use this ones or maybe you get a brick. You have been warned. Edited Tuesday at 11:57 AM by maka 0 Quote
DreamDreams Posted Tuesday at 06:54 AM Posted Tuesday at 06:54 AM (edited) 46 minutes ago, maka said: Where did you read the u-boot building? export BL31=../trusted-firmware-a/build/rk3568/release/bl31/bl31.elf [or]export BL31=../rkbin/bin/rk35/rk3568_bl31_v1.34.elf export ROCKCHIP_TPL=../rkbin/bin/rk35/rk3568_ddr_1560MHz_v1.13.bin make evb-rk3568_defconfig make CROSS_COMPILE=aarch64-linux-gnu- You have not done first and second step. This is an example for another board, an sbc better than your box, and the files you have to use is unknown. Don't use this ones or maybe you get a brick. You have been warned. You are right, I didn't do the first two steps. I got the base config from running "./compile.sh BOARD=h96-tvbox-3566 BRANCH=edge uboot-config". Then 'make menuconfig' and make. It's hard to find documentation for compile u-boot only. Will try your steps. But where do I find file rk3568_bl31_v1.34.elf and rk3568_ddr_1560MHz_v1.13.bin? I could find it in the source folder. Edited Tuesday at 06:58 AM by DreamDreams 0 Quote
DreamDreams Posted Tuesday at 07:40 AM Posted Tuesday at 07:40 AM I found the binary files. On my system they have different version. I successfully compiled and burn new u-boot to my board. But saveenv is still missing. # grep SAVEENV .config CONFIG_CMD_SAVEENV=y CONFIG_SAVEENV=y U-Boot 2024.07-armbian-2024.07-S3f77-P0000-H3f52-Vc494-Bda0a-R448a (Nov 19 2024 - 15:22:24 +0800) Model: Generic RK3566/RK3568 DRAM: 8 GiB (effective 7.7 GiB) Core: 251 devices, 25 uclasses, devicetree: separate MMC: mmc@fe2b0000: 1, mmc@fe310000: 0 Loading Environment from nowhere... OK In: serial@fe660000 Out: serial@fe660000 Err: serial@fe660000 Model: Generic RK3566/RK3568 Net: No ethernet found. Hit any key to stop autoboot: 0 Scanning for bootflows in all bootdevs Seq Method State Uclass Part Name Filename --- ----------- ------ -------- ---- ------------------------ ---------------- Scanning global bootmeth 'efi_mgr': Card did not respond to voltage select! : -110 No EFI system partition No EFI system partition Failed to persist EFI variables No EFI system partition Failed to persist EFI variables No EFI system partition Failed to persist EFI variables 0 efi_mgr ready (none) 0 <NULL> ** Booting bootflow '<NULL>' with efi_mgr Loading Boot0000 'mmc 0' failed EFI boot manager: Cannot load any image Boot failed (err=-14) Scanning bootdev 'mmc@fe2b0000.bootdev': Card did not respond to voltage select! : -110 Scanning bootdev 'mmc@fe310000.bootdev': Unknown uclass 'nvme' in label Unknown uclass 'scsi' in label No USB controllers found No ethernet found. No ethernet found. No more bootdevs --- ----------- ------ -------- ---- ------------------------ ---------------- (1 bootflow, 1 valid) => => => => => <INTERRUPT> => => saveenv Unknown command 'saveenv' - try 'help' 0 Quote
DreamDreams Posted Tuesday at 07:56 AM Posted Tuesday at 07:56 AM Got it working, the cause is that config CONFIG_ENV_IS_IN_MMC is not set. After setting this, saveenv appears. 0 Quote
DreamDreams Posted Tuesday at 08:01 AM Posted Tuesday at 08:01 AM Another question, how can I determine whter my memory is capable of 1560MHz or 1056MHz? Below is u-boot output when reset. => reset resetting ... DDR 2d653b3476 typ 24/01/20-15:04:19,fwver: v1.21 ln LP4/4x derate en, other dram:1x trefi SRX 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: 72ps, dqs1: -72ps, dqs2: -48ps, dqs3: -144ps, tdqss: cs1 dqs0: 72ps, dqs1: -72ps, dqs2: -24ps, dqs3: -144ps, 0 Quote
DreamDreams Posted 14 hours ago Posted 14 hours ago Now I'm very disapointed with this box. Comparing to my Firefly-rk3399, it has 2x memory, newer CPU/GPU, but performance is worse. glmark2-es2-wayland score: RK3399 1100, RK3566 500 ffmpeg -hwaccel drm -benchmark on same AVC/H264 video, RK3399 40X, RK3566 10X And GUI smothiness is much worse than RK3399. I can feel the difference, and it is very obvious. Kernel version are both 6.12 mainline. 0 Quote
maka Posted 13 hours ago Posted 13 hours ago Nothing rare in your review. You are comparing a high price rk3399 with a low one rk3566. The last makes a good job because is well supported and can move a Desktop for little money. With LXQT works wonderfull. 0 Quote
DreamDreams Posted 13 hours ago Posted 13 hours ago 20 minutes ago, maka said: Nothing rare in your review. You are comparing a high price rk3399 with a low one rk3566. The last makes a good job because is well supported and can move a Desktop for little money. With LXQT works wonderfull. Is RK3399 more expansive? I was missled by my purchase price. And on paper, RK3399's Mali T860 is much weaker than RK3566's Mali G52. 0 Quote
DreamDreams Posted 13 hours ago Posted 13 hours ago I'd like to try Joshua Riek's image, but not sure how. @Hqnicolas, your link in previous post is 404 now. I tried to boot kernel linux-image-vendor-rk35xx with rk3566-h96-tvbox.dtb but got instant kernel panic. 0 Quote
maka Posted 10 hours ago Posted 10 hours ago (edited) Joshua ryek had to halt his project because of problems. I hope he is getting better know. His interest in rk3566 is almost zero. Only help could change this. RK3399's gpu Mali T860 MP4 is much more powerful than rk3566's Mali G52 2EE (MP1). Edited 3 hours ago by maka 0 Quote
Recommended Posts
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.