jimmmmm Posted October 26, 2022 Share #1 Posted October 26, 2022 Hello, everyone. I have backport Intel igc driver for Synology Kernel 4.4.180. It works. You can have a try. Caution: this driver is experimental, use it at your own risk. https://github.com/jim3ma/synology-igc Quote Link to comment Share on other sites More sharing options...
Aigor Posted October 26, 2022 Share #2 Posted October 26, 2022 Maybe i can try to make a package like USB drivers on synocommunity. Next week i'm in Holyday Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted October 26, 2022 Author Share #3 Posted October 26, 2022 23 minutes ago, Aigor said: Maybe i can try to make a package like USB drivers on synocommunity. Next week i'm in Holyday I think this driver is for pci devices, not usb devices Quote Link to comment Share on other sites More sharing options...
Aigor Posted October 26, 2022 Share #4 Posted October 26, 2022 1 hour ago, jimmmmm said: I think this driver is for pci devices, not usb devices Yes, but the logic is the same Quote Link to comment Share on other sites More sharing options...
pocopico Posted October 27, 2022 Share #5 Posted October 27, 2022 TCRP extension has been created, Check my repo ! Thanks @jimmmmm 1 Quote Link to comment Share on other sites More sharing options...
pocopico Posted October 27, 2022 Share #6 Posted October 27, 2022 On 10/26/2022 at 10:42 AM, jimmmmm said: Caution: this driver is experimental, use it at your own risk. What bad could happen ? :D:D:D Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted October 27, 2022 Author Share #7 Posted October 27, 2022 (edited) @pocopico I don't known, maybe panic or stuck, but in my machine it's running well in past days. Another question, how to update igc.ko after installed via TCRP ? I have merged some kernel patches for igc. You can have a look. Edited October 27, 2022 by jimmmmm Quote Link to comment Share on other sites More sharing options...
pocopico Posted October 27, 2022 Share #8 Posted October 27, 2022 15 minutes ago, jimmmmm said: @pocopico I don't known, maybe panic or stuck, but in my machine it's running well in past days. Another question, how to update igc.ko after installed via TCRP ? I have merged some kernel patch for igc. You can have a look. You need to reconstruct custom.gz file. This is an easy job. If you have TCRP Friend stop pressing control-c at boot and execute the following mkdir tmp cd tmp cat /mnt/tcrp-p1/custom.gz | cpio -idm cd exts/pocopico.igc scp over your the new igc file and then cd ~root/tmp find . | cpio -o -H newc -R root:root > /mnt/tcrp-p1/custom.gz cd ~/root ./boot.sh patchramdisk Otherwise from TCRP perform the same you get the picture. mkdir /home/tc/tmp cd /home/tc/tmp cat /mnt/sda1/custom.gz | cpio -idm cd exts/pocopico.igc scp over the new igc.ko and cd /home/tc/tmp find . | cpio -o -H newc -R root:root > /mnt/sda1/custom.gz Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted October 27, 2022 Author Share #9 Posted October 27, 2022 @pocopico Many thanks. One more thing, I will backport i915 and other dependences for my N5105 cpu. 4 Quote Link to comment Share on other sites More sharing options...
pigr8 Posted October 31, 2022 Share #10 Posted October 31, 2022 (edited) On 10/26/2022 at 6:53 PM, Aigor said: Yes, but the logic is the same i was looking at the same goal, using the spk on a genuine syno box, gonna do some research on that usb spk, should be simple in theory. or the synocommunity synokernel drivers for the cdrom and serial adapters could be a good starting point. Edited October 31, 2022 by pigr8 Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted November 1, 2022 Author Share #11 Posted November 1, 2022 18 hours ago, pigr8 said: i was looking at the same goal, using the spk on a genuine syno box, gonna do some research on that usb spk, should be simple in theory. or the synocommunity synokernel drivers for the cdrom and serial adapters could be a good starting point. Hmm, make a spk package is easy to do. I'm working on backporting the i915 driver from kernel 5.19. So the spk will be done later. Quote Link to comment Share on other sites More sharing options...
RedwinX Posted November 6, 2022 Share #12 Posted November 6, 2022 Hi, I have I225-v b3 (4 ports), not working. Tested with ARPL ou TCRP, same result, not detected a first boot. Will try to plug an usb adaptator, and apply your igc.ko. Don't know if it's related from your driver or loader. I've tested only with 920+ with netif=4 Will let you know Red Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted November 6, 2022 Author Share #13 Posted November 6, 2022 3 hours ago, RedwinX said: Hi, I have I225-v b3 (4 ports), not working. Tested with ARPL ou TCRP, same result, not detected a first boot. Will try to plug an usb adaptator, and apply your igc.ko. Don't know if it's related from your driver or loader. I've tested only with 920+ with netif=4 Will let you know Red You can add igc driver manually. FYI https://github.com/jim3ma/synology-igc/issues/2#issuecomment-1302965881 Quote Link to comment Share on other sites More sharing options...
RedwinX Posted November 6, 2022 Share #14 Posted November 6, 2022 (edited) 33 minutes ago, jimmmmm said: You can add igc driver manually. FYI https://github.com/jim3ma/synology-igc/issues/2#issuecomment-1302965881 Yeah, already did it but not working anymore, not detected at boot Edited November 6, 2022 by RedwinX Quote Link to comment Share on other sites More sharing options...
RedwinX Posted November 6, 2022 Share #15 Posted November 6, 2022 (edited) 57 minutes ago, RedwinX said: Yeah, already did it but not working anymore, not detected at boot Ok, found the problem. I tried to install ESXi instead of baremetal. Something strange at reboot: ip are not mounted via DHCP. I have 4 ethernet port (i225v b3). The port 1 was marked as connected and checked on the esxi console. After reboot, the port 3 was checked but not connected. At every reboot, port are checked randomly. Same with DSM. Maybe a bug of my motherboard? After just switched the ethernet cable on another port, I can confirm that the IGC driver works fine! Edited November 6, 2022 by RedwinX Quote Link to comment Share on other sites More sharing options...
RedwinX Posted November 6, 2022 Share #16 Posted November 6, 2022 On 10/27/2022 at 3:33 PM, jimmmmm said: @pocopico Many thanks. One more thing, I will backport i915 and other dependences for my N5105 cpu. I have already succeeded to backport the driver i915 for the N5105 on Ubuntu 18.04 with a 4.4.180 kernel. Tried to compile with toolchain but not working at this time. There is a lot of module for entire drm to compile. Too complicated for me lol, makes me a big headake 1 Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted November 6, 2022 Author Share #17 Posted November 6, 2022 1 hour ago, RedwinX said: I have already succeeded to backport the driver i915 for the N5105 on Ubuntu 18.04 with a 4.4.180 kernel. Tried to compile with toolchain but not working at this time. There is a lot of module for entire drm to compile. Too complicated for me lol, makes me a big headake Can you send me the source code? The newest i915 code in kernel 5.19 is hard to backport, it will cost many days to do. I can only do it part-time. 1 Quote Link to comment Share on other sites More sharing options...
RedwinX Posted November 7, 2022 Share #18 Posted November 7, 2022 On 11/6/2022 at 5:14 PM, jimmmmm said: Can you send me the source code? The newest i915 code in kernel 5.19 is hard to backport, it will cost many days to do. I can only do it part-time. Don't use the 5.19. use the 5.10.60, this is the build used by qnap with N5105 (used on my TS-364) Quote Link to comment Share on other sites More sharing options...
RedwinX Posted November 7, 2022 Share #19 Posted November 7, 2022 1 hour ago, RedwinX said: Don't use the 5.19. use the 5.10.60, this is the build used by qnap with N5105 (used on my TS-364) but they used a custom configuration (strange) : [admin@PLEX ~]# dmesg | grep 915 [ 0.103716] Kernel command line: consoleblank=0 console=ttyS0,115200n8 intel_iommu=on,igfx_off i915.enable_hd_vgaarb=1 iommu=pt i915.disable_power_well=0 i915.enable_rc6=0 i915.enable_guc=2 memmap=2M$0x8000000 ramoops.mem_address=0x8000000 ramoops.mem_size=0x200000 ramoops.console_size=0x100000 usbcore.autosuspend=-1 zswap.enabled=1 zswap.compressor=lz4 BOOT_IMAGE=/boot/bzImage root=/dev/ram0 rw [ 0.103773] Setting dangerous option i915.disable_power_well - tainting kernel [ 0.103791] Setting dangerous option i915.enable_guc - tainting kernel [ 0.590915] pci 0000:00:1c.4: bridge window [mem 0x6001400000-0x6001dfffff 64bit pref] [ 9.151886] i915 0000:00:02.0: vgaarb: deactivate vga console [ 9.160128] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/icl_dmc_ver1_09.bin (v1.9) [ 9.185034] i915 0000:00:02.0: [drm] GuC firmware i915/ehl_guc_33.0.4.bin version 33.0 submission:disabled [ 9.195776] i915 0000:00:02.0: [drm] HuC firmware i915/ehl_huc_9.0.0.bin version 9.0 authenticated:yes [ 9.207208] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io:owns=io+mem [ 9.217758] [drm] Initialized i915 1.6.0 20200917 for 0000:00:02.0 on minor 0 [ 9.245063] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes [ 9.252062] i915 0000:00:02.0: [drm] Cannot find any crtc or sizes [ 21.475593] md9: detected capacity change from 0 to 542769152 [ 360.915234] br-419a545d3aa1: port 11(vethd9ce93d) entered disabled state Quote Link to comment Share on other sites More sharing options...
RedwinX Posted November 10, 2022 Share #20 Posted November 10, 2022 On 11/6/2022 at 5:14 PM, jimmmmm said: Can you send me the source code? The newest i915 code in kernel 5.19 is hard to backport, it will cost many days to do. I can only do it part-time. Almost done. Take the last sources of toolchain and 4.4 synology kernel, and add patch to i915 : https://lore.kernel.org/all/20201030164124.16922-1-ville.syrjala@linux.intel.com/T/ Have a little bug to insert some drm module. Hope you are more lucky than me Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted November 16, 2022 Author Share #21 Posted November 16, 2022 On 11/10/2022 at 3:59 PM, RedwinX said: Almost done. Take the last sources of toolchain and 4.4 synology kernel, and add patch to i915 : https://lore.kernel.org/all/20201030164124.16922-1-ville.syrjala@linux.intel.com/T/ Have a little bug to insert some drm module. Hope you are more lucky than me The patches are too many, I can not find which one to apply. Can you share the patch with me ? I can help you to fix the drm inserting trouble. Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted November 23, 2022 Author Share #22 Posted November 23, 2022 @pocopico Can you update TCRP igc to 1.3.0 ? https://github.com/jim3ma/synology-igc/releases/tag/1.3.0 The version fixes memory leak in all previous versions, upgrade to this version ASAP. Quote Link to comment Share on other sites More sharing options...
pocopico Posted November 23, 2022 Share #23 Posted November 23, 2022 51 minutes ago, jimmmmm said: @pocopico Can you update TCRP igc to 1.3.0 ? https://github.com/jim3ma/synology-igc/releases/tag/1.3.0 The version fixes memory leak in all previous versions, upgrade to this version ASAP. OK, just did. I used your igc extension and now it points directly to your repo. 2 Quote Link to comment Share on other sites More sharing options...
Rick4 Posted August 9, 2023 Share #24 Posted August 9, 2023 (edited) Hi All! I just bought a tbao r3 mini pc with amd ryzen5 5500u and double i226V lan cards (8086:125c). At redpill loader (or any other loader, tried all) i can't get ip, must plug an r8152 usb2lan adapter, reboot, and then get ip. But ufortunately after compile loader and reboot, nas don't visible on lan, same with r8152, and same with i226v lan cards. How can i try to install that driver to any loader? Edited August 9, 2023 by Rick4 Quote Link to comment Share on other sites More sharing options...
jimmmmm Posted August 9, 2023 Author Share #25 Posted August 9, 2023 27 minutes ago, Rick4 said: Hi All! I just bought a tbao r3 mini pc with amd ryzen5 5500u and double i226V lan cards (8086:125c). At redpill loader (or any other loader, tried all) i can't get ip, must plug an r8152 usb2lan adapter, reboot, and then get ip. But ufortunately after compile loader and reboot, nas don't visible on lan, same with r8152, and same with i226v lan cards. How can i try to install that driver to any loader? You can try https://github.com/wjz304/arpl-i18n Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.