jiangcuo / Proxmox-Arm64

Proxmox VE & PBS unofficial arm64 version
GNU Affero General Public License v3.0
387 stars 41 forks source link

Kernel config to support SolidRun LX2K platforms #33

Closed ndoo closed 1 year ago

ndoo commented 1 year ago

Hi, I do not have working Ethernet on SolidRun LX2K (Freescale/NXP QoriQ Ethernet);

A good start would be if we could add the following kernel configs?

Thank you!

jiangcuo commented 1 year ago

HI. https://github.com/jiangcuo/pve-port-kernel.git This project may not be suitable for all machines. I can create a branch based on your machine. But I don't have enough machines for this, so you'll need to compile it by yourself.

ndoo commented 1 year ago

Sure, I am happy to test. I have your project working on my board, except for the Freescale mc bus and ethernet.

On Sun, Jul 23, 2023 at 10:48 AM jiangcuo @.***> wrote:

HI. https://github.com/jiangcuo/pve-port-kernel.git This project may not be suitable for all machines. I can create a branch based on your machine. But I don't have enough machines for this, so you'll need to compile it by yourself.

— Reply to this email directly, view it on GitHub https://github.com/jiangcuo/Proxmox-Arm64/issues/33#issuecomment-1646731079, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACAFAHMNLGFBM6KF4MTBTDXRSGIZANCNFSM6AAAAAA2T6KVW4 . You are receiving this because you authored the thread.Message ID: @.***>

jiangcuo commented 1 year ago

Hi,You can try it. https://github.com/jiangcuo/pve-port-kernel/tree/lsdk-21.08

ndoo commented 1 year ago

Thank you, I tried to build twice, however:

make[2]: *** [Makefile:1821: drivers] Error 2
make[2]: Leaving directory '/root/pve-port-kernel/linux'
dh_auto_build: error: cd linux && make -j16 "INSTALL=install --strip-program=true" CC=cc KCFLAGS= EXTRAVERSION=-lsdk LOCALVERSION= "KBUILD_BUILD_VERSION_TIMESTAMP=PVE Edge 5.10.35 (2023-07-23)" returned exit code 2
make[1]: *** [debian/rules:60: override_dh_auto_build] Error 25
make[1]: Leaving directory '/root/pve-port-kernel'
make: *** [debian/rules:16: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
debuild: fatal error at line 1182:
dpkg-buildpackage -us -uc -ui --jobs=auto -b failed
jiangcuo commented 1 year ago

I see that some patches are not compatible with kernel. You can remove it in debian/patches/series.linux