Jump to content
XPEnology Community

Intel i225&i226 igc driver development thread


jimmmmm

Recommended Posts

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

 

Link to comment
Share on other sites

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 by pigr8
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 by RedwinX
Link to comment
Share on other sites

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 :D 

  • Like 1
Link to comment
Share on other sites

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 :D 

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.

  • Like 1
Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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 :)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 8 months later...

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? 

 

IMG_20230805_185541.jpg

Edited by Rick4
Link to comment
Share on other sites

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? 

 

IMG_20230805_185541.jpg

You can try https://github.com/wjz304/arpl-i18n

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...