06-05-2020, 11:07 PM
(This post was last modified: 06-06-2020, 04:16 PM by ab1jx.
Edit Reason: Added path
)
(07-28-2018, 05:45 AM)ab1jx Wrote:(07-28-2018, 04:53 AM)Averell Wrote: sledgehammerish, OK, but it worked. Replacing only the extlinux.conf file did not work. Replacing the dtb file did not work. replacing initrd.img file alone breaks the system. The problem was in the 0.5 kernel, and the question was if was possible to replace by the 0.6 kernel without breaking everything. I expected it would, but this didn't and the system is still running well.
When you replace the kernel (or initrd.img) you might have to do "update-initramfs -u", I'm not sure how that works. I didn't backtrack on anything, just picked a mode with drm_kms_helper. Did it before I found the PDF on how to do it, I think I got it from somebody on IRC.
I just did it again a year or so later. I grabbed an EDID file using tvservice on a Raspberry Pi and put it in /lib/firmware/edid. I didn't do the update-initramfs. This time I wanted to get 1920x1080 which the Pi defaulted to anyway. I'm not sure if it matters but I did this using the monitor I wanted to use, which worked on the Pi but not the Rock64 (until I made the EDID file). I did have to power it off and back on, not just type reboot, before it worked.
So I have /lib/firmware/edid/piedid2.bin and in /boot/extlinux/extlnux.conf I have drm_kms_helper.edid_firmware=edid/piedid2.bin I did have to make the edid directory in /lib/firmware.