tobetter / tobetter.github.io

GNU Affero General Public License v3.0
10 stars 2 forks source link

plz consider to add Odroid C2 #5

Open federicobriata opened 2 years ago

federicobriata commented 2 years ago

Hi tobetter, I've just discover your effort on several Odroid SBC to get better user experience https://www.hardkernel.com/ko/tag/odroid-c2/ Now I'm trying to finish a buster netinst, FYI last recent images on your shared area are broken, wrong dtb, wrong kernel file name but I was able to find in buster-odroid-c2_201903150816_arm64_netinst.img a working starting point I hope. My intention is to use a Odroid C2 with my TV for DVB streaming and retro gaming, I've some skill with Linux to give you feedback and if you want pull req.

thanks

tobetter commented 2 years ago

Thank you for your interesting, the kernel package from my server and Netboot Installer have a build for ODROID-C2 as well but the feature for it is not tested well enough for end user yet. Also I have low intention about it at the moment and currently major issue is USB host is instable which will take some time to figure out. I'd appreciate if you have patches and go for pull request for ODROID-C2.

Thank you. :)

federicobriata commented 2 years ago

Hi tobetter thanks for your quick feedback. In last days I was able to run kernel v5.10.81 on my Odroid C2 rev0.2 20171114 from last armbian and dietpi builds, both build have internal odroid c2 ethernet and wiringpi not working but USB were fine. Yesterday I generated an image with your odroid-stamper, I had to make some small change to force using into your repo list, probably your local stamper fixups folder it's different than the one in your git repo. Anyway as I anticipated the current kernel generated with your sources have problem but any USB issues are covered by a more critical issue, as once flashed my current image it stuck on initramfs prompt. If you want to give a try here it is: https://pub.briata.org/odroid_images/ I'll put here my daily progress, as I've a free week to work on this. I've also tried to add your repo to my sources lint of official Ubuntu 20.04 for Odroid 2, but because kernel missmatch I'm not able to finish the installation, moreover removing flash-kernel as you suggested in the odroid forum don't solve, then my u-boot it's still looking for boot.ini instead boot.scr.

The following NEW packages will be installed:
  linux-image-4.9.277-beta86-odroid-arm64
0 upgraded, 1 newly installed, 0 to remove and 378 not upgraded.
Need to get 0 B/18.9 MB of archives.
After this operation, 95.0 MB of additional disk space will be used.
Selecting previously unselected package linux-image-4.9.277-beta86-odroid-arm64.
(Reading database ... 188173 files and directories currently installed.)
Preparing to unpack .../linux-image-4.9.277-beta86-odroid-arm64_4.9.277-202201011059~focal_arm64.deb ...
Unpacking linux-image-4.9.277-beta86-odroid-arm64 (4.9.277-202201011059~focal) ...
Setting up linux-image-4.9.277-beta86-odroid-arm64 (4.9.277-202201011059~focal) ...
depmod: WARNING: could not open modules.builtin at /lib/modules/4.9.277-beta86-odroid-arm64: No such file or directory
I: /boot/vmlinuz.old is now a symlink to vmlinuz-4.9.277-beta86-odroid-arm64
I: /boot/initrd.img.old is now a symlink to initrd.img-4.9.277-beta86-odroid-arm64
I: /boot/vmlinuz is now a symlink to vmlinuz-4.9.277-beta86-odroid-arm64
I: /boot/initrd.img is now a symlink to initrd.img-4.9.277-beta86-odroid-arm64
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.9.277-beta86-odroid-arm64
cat: /var/tmp/mkinitramfs_o4LjTC/lib/modules/4.9.277-beta86-odroid-arm64/modules.builtin: No such file or directory
find: ‘/var/tmp/mkinitramfs_o4LjTC/lib/modules/4.9.277-beta86-odroid-arm64/kernel’: No such file or directory
cryptsetup: ERROR: Couldn't resolve device rootfs
cryptsetup: ERROR: Couldn't resolve device /dev/root
cryptsetup: WARNING: Couldn't determine root device
depmod: WARNING: could not open modules.builtin at /var/tmp/mkinitramfs_o4LjTC/lib/modules/4.9.277-beta86-odroid-arm64: No such file or directory
flash-kernel: deferring update (trigger activated)
/etc/kernel/postinst.d/zz-flash-kernel:
flash-kernel: deferring update (trigger activated)
Processing triggers for flash-kernel (5:3.99+202111171232~focal) ...
Unsupported platform.
dpkg: error processing package flash-kernel (--configure):
 installed flash-kernel package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 flash-kernel

Can you suggest me a stable recent kernel v4 to use from your repo package that will let me use also wiringpi?

thanks federico

jmccoy555 commented 1 year ago

Was thinking (hoping) exactly the same when I stumbled upon the LinuxFactory images in a forum thread when trying to get SPDIF to work on my N2+…. It would be great to see a C2 versions. You should also get on the Ordoid wiki as I’d never have found about you without someone posting the link in a thread, and your image is the only one that I could get SPDIF working with other than the official Odroid image, but no Panfrost there so this really is the best image for me 😄