BUILD CUSTOM SDK - Printable Version +- PINE64 (https://forum.pine64.org) +-- Forum: Quartz64 (https://forum.pine64.org/forumdisplay.php?fid=166) +--- Forum: Linux on Quartz64 (https://forum.pine64.org/forumdisplay.php?fid=168) +--- Thread: BUILD CUSTOM SDK (/showthread.php?tid=16092) |
RE: BUILD CUSTOM SDK - Randomuser - 07-17-2022 So I built a soquartz buildroot image and unfortunately it doesn't boot. It sends this on to the console: Code: DDR Version V1.13 20220218 I have mounted the sd card under linux and it seems to contain 6 partitions the biggest one with what looks like normal root FS. Could someone suggest some troubleshooting steps? RE: BUILD CUSTOM SDK - shaggy013 - 07-17-2022 (07-17-2022, 10:49 AM)Randomuser Wrote: So I built a soquartz buildroot image and unfortunately it doesn't boot.*** ADDED *** Added buildconfigs for other pine boards with a rk356x PineNote ,Quartz64-b and Soquartz !!! DTS files not included only added a pinenote dts the soquartz and quartz64-b are just quartz64-a dts !! so if you got a dts for dowmstream kernel bards you can add them RE: BUILD CUSTOM SDK - Randomuser - 07-18-2022 (07-17-2022, 11:00 AM)shaggy013 Wrote:(07-17-2022, 10:49 AM)Randomuser Wrote: So I built a soquartz buildroot image and unfortunately it doesn't boot.*** ADDED *** Well, I didn't understand what it means the first time I read it. I assumed it would at least boot with a generic quartz64-a dts. Maybe with some devices not working. It appears it doesn't. I've managed to plug in a soquartz dts from the latest linux-5.19rc7, and this boots, but ethernet doesn't work. It detects the link state correctly. It seems to think it sends, but it doesn't receive anything. I'll have to troubleshoot it. Any ideas are very welcome. So I attempted to find ANY image with working Ethernet on a soquartz board, but there is none. The 36GB "BSP Linux SDK" the soquartz wiki links to is not an SDK for the soquartz, but for the MCU with no real support for the soquartz board peripherals at all. Then there is Manjaro linux, which doesn't boot at all on soquartz because they configured it to use Quartz-B hardware. Are there soquartz boards with Quartz-B? I thought not, but perhaps I'm not aware of it. Regardless, it too isn't booting on my board. The wiki page and some forum posts seem to suggest that at the very least the OpenCL project by pgwipeout should boot. Nope, it too doesn't work (at least the latest image and the one before that, I gave up on it thereafter). This is not a critique of the author as he does a lot of good work submitting code to the mainline Kernel. It seems that the process created by shaggy013 described in this thread is currently the only way to produce an image that boots for the soquartz board. For this I wanted to say thank you to shaggy013. At the same time I think the Pine64 wiki should make it absolutely clear this "product" is probably a year away from being actually usable on Linux (on ANY linux, not specifically mainline). If anyone is aware of an image that has working ethernet, USB2, CSI camera and hardware h264 encoder please do let me know, but I'm not expecting much. I've been downloading that huge 78GB Android SDK for last 5 days. If it turns out it is equally useless as the "BSP linux SDK" it will be quite sad. RE: BUILD CUSTOM SDK - shaggy013 - 07-18-2022 well it very usable mainline only npu and 4k hdr i am missing both the linux and android bsp works only how to download is another thing and mainly it is just some config and a dts a more recent bsp is to find at fruitpi and jus look at the dts mainline and downstream for quartz64 they dont differ that much sure you can make a soquartz of them dowmstream RE: BUILD CUSTOM SDK - Randomuser - 07-18-2022 I found vccio6 on soquartz should be 3.3V not 1.8V. The summary page on page 3 of the schematic is wrong. On page 25 it can be seen clearly the chip's pin 27 is connected to vdd_h which sets 2.5V signalling (3.3V tolerant). So I've changed vccio6 to 3.3V, but still Ethernet isn't working (only link state changes work). Perhaps there are other differences. Edit: I've managed to get Ethernet working by copy/pasting the gmic1 sections from mainline dts files to the older kernel. RE: BUILD CUSTOM SDK - shaggy013 - 07-20-2022 (07-18-2022, 10:11 PM)Randomuser Wrote: I found vccio6 on soquartz should be 3.3V not 1.8V. The summary page on page 3 of the schematic is wrong. On page 25 it can be seen clearly the chip's pin 27 is connected to vdd_h which sets 2.5V signalling (3.3V tolerant). Good nice to see you solve it with a hint io-domains is almost the most important and watch the pmic in quartz64-a it is rk817 on a quartz-b it is a rk809 RE: BUILD CUSTOM SDK - shaggy013 - 12-03-2022 A update for a more recent sdk for rk356x and rk3588 manifest https://github.com/Shaggy013/manifests/tree/rkr-3.5 for rk3588 repo init -u https://gitlab.com/rk3588_linux/rockchip/platform/manifests.git -b linux -m rk3588_linux_release.xml for rk356x repo init -u https://gitlab.com/rk3588_linux/rockchip/platform/manifests.git -b linux -m rk356x_linux_release.xml RE: BUILD CUSTOM SDK - shaggy013 - 12-05-2022 For building Yocto yocto/build/conf/local.conf remove the symlink yocto doesnt like that to be a symlink somehow and in device/rockchip/common/build.sh line 948 modify it that it cp to the right folder ln -rsf $RK_YOCTO_MACHINE.conf build/conf/local.conf too cp "FOLDER"/$RK_YOCTO_MACHINE.conf build/conf/local.conf and libmali will give a error look at the message and you see foldername/../../ error got that file and place the space before the ../ and a quartz64-a dts for 5.10 |