Armbian on Quartz64
#21
(11-22-2021, 01:25 AM)balbes150 Wrote: If you (or Pine64 or someone else) provide me with the necessary hardware (samples), I am ready to add CSC level support. If you want to get the "supported device" level, Pine64 needs to contact the Armbian developer community and discuss all the nuances of this work.  Smile


PS This applies not only to the Quartz64, but also to other models.

Please PM me your shipping address (including email and phone number for shipping purpose) and I will provide the necessary Quartz64 hardware.
  Reply
#22
Quote:Here you go:
Tnx


Interestingly, I see in the log output that quartz64 (as well as Station M2 rk3566) normally detects memory at a frequency of 1560, although by default the settings for 1056 are usually used for rk3566. If this is the case, in theory it should give better memory performance. Do you have everything working without problems, there are no bugs in the work from increasing the frequency?



Quote:Please PM me your shipping address (including email and phone number for shipping purpose) and I will provide the necessary Quartz64 hardware.
Tnx

I wrote to you in PM
  Reply
#23
Glad they send you one Smile
you see already the first overclock option Smile

only real diffrence i see that firefly has dmc doing diffrent as rockchip or raxda in legacy kernel
your legacy 5.10 firefly port , did compile a little more nice as the rockchip one , i only dont get hdmi out working in 5.10
and i noticed that your 35xx-next-211 looks similar to firefly 206 and your 206 is way diffrent .
  Reply
#24
(02-01-2022, 01:31 PM)shaggy013 Wrote: Glad they send you one Smile 
you see already the first overclock option Smile

only real diffrence i see  that  firefly has dmc doing diffrent as rockchip or raxda  in legacy kernel
your legacy 5.10 firefly port , did compile a little more nice as the rockchip one , i only dont get hdmi out working in 5.10
and i noticed that your 35xx-next-211 looks similar to firefly 206 and your 206 is way diffrent .

Can you compare the speed of the "old" variant (1056) and the "new" variant (1560) on your quartz64, is there a difference between them?
There is no support for HDMI in the 5.10 kernel yet.
  Reply
#25
did try on
annoying you have to find extra configs trhrough commits or diffing .config Smile
4.19-193 raxda
4.19-206 firefly and patched firefly 150balbes-355xx-next
4.19-211 150balbes -35xx didnt find the origin 211 Smile
4.19.219 150balbes
4.19.219 latest from mirror 4.19

with uboot 3568 1560 ddr bin 1.11 and 1.12

&lpddr4_params {
/* freq info, freq_0 is final frequency, unit: MHz */
freq_0 = <1560>;
freq_1 = <324>;
freq_2 = <528>;
freq_3 = <780>;
};

&lpddr4x_params {
/* freq info, freq_0 is final frequency, unit: MHz */
freq_0 = <1560>;
freq_1 = <324>;
freq_2 = <528>;
freq_3 = <780>;
};

and remove

&dmc {
system-status-freq = <
/*system status freq(KHz)*/
SYS_STATUS_NORMAL 780000
SYS_STATUS_REBOOT 1056000
SYS_STATUS_SUSPEND 324000
SYS_STATUS_VIDEO_1080P 528000
SYS_STATUS_BOOST 1056000
SYS_STATUS_ISP 1056000
SYS_STATUS_PERFORMANCE 1056000
>;
};

&dmc_opp_table {
opp-1056000000 {
opp-hz = /bits/ 64 <1056000000>;
opp-microvolt = <900000>;
opp-microvolt-L0 = <900000>;
opp-microvolt-L1 = <850000>;
};
/delete-node/ opp-1560000000;
};

ow and

# CONFIG_DEVFREQ_EVENT_ROCKCHIP_NOCP is not set

did keep me a busy a while Smile

memtest runs nice on bsp Wink

ddrtest
glmark2
cpu stress
etc
  Reply
#26
(02-02-2022, 12:14 AM)balbes150 Wrote: There is no support for HDMI in the 5.10 kernel yet.

I believe that there is in 5.16 with VOP2 patches applied.

Source code is here https://gitlab.com/pgwipeout/linux-next/

By the way I have successfully installed Debian Buster on an eMMC quartz64 with the pgwipeout mainline kernel and it works beautifully, though I haven't yet tried HDMI out.
I am in the process of writing up instructions.
Essentially you do this:-
1. Partition your eMMC like this:-
https://wiki.pine64.org/wiki/Quartz64_In..._Linux_ARM
but be extremely careful about the "sdb" in the commands because if that's another drive in your desktop/laptop you are going to destroy the drive
2. Image this image to micro SD and boot:-
https://wiki.pine64.org/wiki/Quartz64#pg...uartz64_CI
it boots with a boot menu
With one of the options you can go to "debian installer"
Go through it all but at the partitioning menu select the root partition on the eMMC and install to that.
3. Reboot but on the boot menu select "recovery"
chroot into the eMMC and use dpkg to delete the kernel image packages.
exit chroot
Mount the boot partition on the eMMC and set up extlinux.conf and copy over the kernel and dtb file from the microSD card boot partition

these are only general instructions and I my intention is to write it up properly
  Reply
#27
debian is at bullseye Smile

https://deb.debian.org/debian/dists/bull...ion.img.gz

just do that instead of buster for the partion img in pg yaml file Wink

the bsp builds also with bullseye for a img
  Reply
#28
(02-06-2022, 02:39 PM)shaggy013 Wrote: debian is at bullseye Smile

Good point. I just updated it to bullseye and it seems happy.
  Reply
#29
(02-02-2022, 12:14 AM)balbes150 Wrote:
(02-01-2022, 01:31 PM)shaggy013 Wrote: Glad they send you one Smile 
you see already the first overclock option Smile

only real diffrence i see  that  firefly has dmc doing diffrent as rockchip or raxda  in legacy kernel
your legacy 5.10 firefly port , did compile a little more nice as the rockchip one , i only dont get hdmi out working in 5.10
and i noticed that your 35xx-next-211 looks similar to firefly 206 and your 206 is way diffrent .

Can you compare the speed of the "old" variant (1056) and the "new" variant (1560) on your quartz64, is there a difference between them?
There is no support for HDMI in the 5.10 kernel yet.

huh hdmi just works in 5.10.66

https://drive.google.com/file/d/1PgXlNEv...sp=sharing

here a booting image for quartz64 with hdmi Smile

it is just the last 5.10.66 kernel and the 1560 uboot with my quartz64 dts with 4 reverted patches  ,

hdmi ,usb, lan ,wifi  works pcie not tested , only mpp and rga3 dont play nice well

so in rockchip_test the gl mark works the video test you see the mpp and rga trouble
  Reply
#30
(02-13-2022, 04:09 AM)shaggy013 Wrote: here a booting image for quartz64 with hdmi Smile

it is just the last 5.10.66 kernel and the 1560 uboot with my quartz64 dts with 4 reverted patches  ,

hdmi ,usb, lan ,wifi  works pcie not tested , only mpp and rga3 dont play nice well

so in rockchip_test the gl mark works the video test you see the mpp and rga trouble

pcie does not work, trying to interact with a nvme ssd gives these sorts of errors
Code:
[  612.305740] nvme nvme0: I/O 21 QID 0 timeout, completion polled
[  613.764898] ITS queue timeout (5504 385)
[  613.764935] ITS cmd its_build_inv_cmd failed
[  675.451335] nvme nvme0: I/O 22 QID 0 timeout, completion polled
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  irradium (based on crux linux) Quartz64 riscv64, aarch64 mara 4 1,114 11-20-2024, 10:45 AM
Last Post: mara
  USB on Quartz64 Zero litbulb 0 96 11-13-2024, 08:16 AM
Last Post: litbulb
  Armbian and LibreELEC and AltLinux for Quartz64 balbes150 149 82,304 10-25-2024, 01:53 PM
Last Post: gounthar
  DietPi OS for Quartz64 MichaIng 47 20,440 08-08-2024, 07:42 AM
Last Post: ifreislich
  slarm64 (unofficial slackware) Quartz64 RK3566 (aarch64) mara 56 50,168 10-17-2023, 10:55 AM
Last Post: mara
  quartz64-a - on-board SATA port problems manning 2 1,787 09-14-2023, 04:22 PM
Last Post: manning
  How the reset Quartz64-b onboard memory (emmc) beepy 2 1,394 07-20-2023, 10:44 PM
Last Post: beepy
  Armbian RAM issue JambonLeVrai 2 1,971 02-12-2023, 06:48 AM
Last Post: diederik
  crux-arm Quartz64 RK3566 (aarch64) mara 5 5,916 10-29-2022, 06:55 AM
Last Post: mara
  Ov5647 camera attached via csi to Quartz64 /Soquartz Randomuser 0 1,517 07-21-2022, 01:08 PM
Last Post: Randomuser

Forum Jump:


Users browsing this thread: 1 Guest(s)