12-13-2017, 04:10 PM
Hi,
I installed Fedora rawhide (up coming 28) on my rock64 by replacing the rootfs of one of the debian images. It works well - no problems there. The next step I tried was to replace the Ayufan 4.4 kernel with mainline. I resized the boot partition (and added swap partition while at it) and things still worked OK. I had to do this so that I could fit the necessary files on the boot partition.I tried to replace Image, dtb and initrd.img with the corresponding files from Fedora as follows (built the source rpm):
Image <- arch/arm64/boot/Image (also tried vmlinuz from the binary kernel rpm)
dtb <- /usr/lib/modules/4.15.0-0.rc3.git1.1.fc28.aarch64/dtb/rockchip/rk3328-rock64.dtb
and finally to prepare the initrd.img I did: dracut -f /boot/initrd.img 4.15.0-0.rc3.git1.1.fc28.aarch64 (also tried using the initramfs produced by installing the binary kernel rpm)
Well, no cigar. It does not seem to boot. I also tried modifying /boot/extlinux the same way as it would be on standard fedora (and use the standard files that appear under /boot on installing the kernel rpm), but no go.
Any thoughts how this should be done? Also, has anyone gotten 4.15.0-rc3 to boot (I did not try 4.14)? I have the system setup so that it will go online on boot and start sshd. So, I should be able to tell if it came up over the network even if the console did not come up. I can get the system to boot again if I copy the original Image, dtb and initrd.img to /boot.
Thanks,
Jussi
I installed Fedora rawhide (up coming 28) on my rock64 by replacing the rootfs of one of the debian images. It works well - no problems there. The next step I tried was to replace the Ayufan 4.4 kernel with mainline. I resized the boot partition (and added swap partition while at it) and things still worked OK. I had to do this so that I could fit the necessary files on the boot partition.I tried to replace Image, dtb and initrd.img with the corresponding files from Fedora as follows (built the source rpm):
Image <- arch/arm64/boot/Image (also tried vmlinuz from the binary kernel rpm)
dtb <- /usr/lib/modules/4.15.0-0.rc3.git1.1.fc28.aarch64/dtb/rockchip/rk3328-rock64.dtb
and finally to prepare the initrd.img I did: dracut -f /boot/initrd.img 4.15.0-0.rc3.git1.1.fc28.aarch64 (also tried using the initramfs produced by installing the binary kernel rpm)
Well, no cigar. It does not seem to boot. I also tried modifying /boot/extlinux the same way as it would be on standard fedora (and use the standard files that appear under /boot on installing the kernel rpm), but no go.
Any thoughts how this should be done? Also, has anyone gotten 4.15.0-rc3 to boot (I did not try 4.14)? I have the system setup so that it will go online on boot and start sshd. So, I should be able to tell if it came up over the network even if the console did not come up. I can get the system to boot again if I copy the original Image, dtb and initrd.img to /boot.
Thanks,
Jussi