Quartz64 RK3566 (aarch64)
previous discussion Quartz64
|
I spent the past few days pulling my hair out over a silly bug (or something, you tell me...)
Trying to get this booting off of eMMC: I dd the image file over to /dev/mmcblk1. Then I mount /dev/mmcblk1p1 to ~/boot and /dev/mmcblk1p2 to ~/root, so that I can edit ~/boot/extlinux/extlinux.conf and set the rootdev to /dev/mmcblk1p2. I also edit ~/root/etc/fstab and set the boot and root partitions to /dev/mmcblk1p1 and /dev/mmcblk1p2, respectively. I have done this on many other boards many times, and I generally wind up with a booting eMMC. I once did it on the Quartz64, a few months ago, and then I tried to update the bootloader files unsuccessfully. I might not have the right commands for this board. Anyway... this time it does not boot. I have tried your images, my images, old images, new images, nothing seems to work. I tried rolling back the ATF version, the u-boot version, tried disabling a few patches (all changes since I last got this booting off the eMMC successfully). Nothing seemed to work. Then, just on a whim, I changed the files mentioned above to reflect a boot device of /dev/mmcblk2p1 and a root device of /dev/mmcblk2p2, and look at that, it boots! So, I am not sure why or how this happens, but when you boot from the SD card, it sees the eMMC as /dev/mmcblk1. However, when/if you can boot from the eMMC, it sees itself as /dev/mmcblk2 instead. I recall something like this happening on other boards, and that is what gave me the idea in the first place. Anyway, I just wanted to post this here in case anyone else runs into trouble trying to get the Quartz64 booting off of the eMMC. |
Quote:
|
installation README.TXT
kernel 5.17.0 slarm64-current-aarch64-server-quartz64-5.17.0-build-20220323.img.zst slarm64-current-aarch64-server-quartz64-5.17.0-build-20220323.img.zst.sha256 slarm64-current-aarch64-xfce-quartz64-5.17.0-build-20220323.img.zst slarm64-current-aarch64-xfce-quartz64-5.17.0-build-20220323.img.zst.sha256 |
Quote:
|
...also, I am running into an interesting assembly code error while trying to build a legacy image. I have never seen this before, and various related internet search results are not clarifying things for me much.
Code:
AS arch/arm64/kernel/entry.o |
Hi shelldweller,
Thank you, after the last patch, I did not check the compilation of the nucleus. Additional changes have been added to the patch for more compliance with Kernel.org nucleus. Made additional fixes for assembling kernel 4.19.236. |
Installation README.TXT
kernel 4.19.236 slarm64-current-aarch64-server-quartz64-4.19.236-build-20220324.img.zst slarm64-current-aarch64-server-quartz64-4.19.236-build-20220324.img.zst.sha256 slarm64-current-aarch64-xfce-quartz64-4.19.236-build-20220324.img.zst slarm64-current-aarch64-xfce-quartz64-4.19.236-build-20220324.img.zst.sha256 |
Quote:
When I try to boot the latest images, I do not even get a red blinking light. I tried changing /dev/mmcblk0p* to /dev/mmcblk1p* and /dev/mmcblk2p* in the relevant boot files, and nothing seemed to do the trick. I could not get the red lights blinking nor any screen activity to happen. So, I am pretty sure something is off with u-boot (or maybe atf) on this board at the moment. Unless I am the only one experiencing this and it is specific to my board. Just a heads up. Thanks for the legacy kernel fix in any case, I was able to update my eMMC with that. |
|
cpufreq?
Hi sndwvs,
I noticed that my Quartz64 has been running slower on some benchmarks than what I recall a few months ago. I went to check if it was running at full speed, and it doesn't seem like any frequency governor is even loaded: Code:
root@quartz:~# cpufreq-info FWIW, I tried compiling a fresh legacy kernel just to see if there were any changes. I noticed an extra module loaded between 4.19.236 and 4.19.237, so maybe it is still in the works. I got this far on the legacy compilation, however: Code:
CC fs/xfs/libxfs/xfs_trans_resv.o |
thanks, added fixes for kernel compilation.
|
More legacy compilation errors...
Code:
CC [M] drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/dhd_pno.o This kernel looks promising though, there are some new config settings for CPUFREQ, maybe that will finally work with the next build. Just FYI. Thank you! |
Thanks shelldweller, corrected.
installation README.TXT kernel 4.19.242 slarm64-current-aarch64-server-quartz64-4.19.242-build-20220515.img.zst slarm64-current-aarch64-server-quartz64-4.19.242-build-20220515.img.zst.sha256 slarm64-current-aarch64-xfce-quartz64-4.19.242-build-20220515.img.zst slarm64-current-aarch64-xfce-quartz64-4.19.242-build-20220515.img.zst.sha256 |
All times are GMT -5. The time now is 01:44 PM. |