Hi John, It appears to me that you are tackling two difficult tasks at the same time: 1.) Porting xCAT to rv64g architecture 2.) Modifying xCAT for Ubuntu 21.04 support It may be easier to tackle these items one at a time. The newest version of Ubuntu that is officially supported by xCAT is Ubuntu 18.04.2. Starting with this version for the porting effort to rv64g will be easier than starting with Ubuntu 21.04 as it is currently well tested on x86_64 and ppc64le. After you get Ubuntu 18.04.2 rv64g support working, then you can try to tackle getting Ubuntu 21.04 working (which is currently not well supported by xCAT). For the port work, choose either x86_64 or ppc64le and then add code for rv64g that follows the approach of one of the working architectures. Start by modifying the build script to build rv64g versions of all of the packages that are normally built for amd64/x86_64 (or ppc/ppc64le). If you can get the packages built, then you will have to search the code for references to the specific architecture handling sections and add new sections for rv64g. For Ubuntu 21.04, there is an open pull request to add Ubuntu 20.04 support to xCAT: https://github.com/xcat2/xcat-core/pull/6975 This PR has not yet been merged into an official release, but this is most likely the best starting point for attempting to get Ubuntu 21.04 working. Nate From: "John Leidel" <john.lei...@gmail.com> To: xcat-user@lists.sourceforge.net Date: 10/27/2021 10:56 AM Subject: [EXTERNAL] [xcat-user] Porting to New Architectures All, I apologize for the rather random first message to the list, but I'm in the process of bringing up a cluster of RISC-V (rv64g) devices. I've been reading through the developer documentation as well as the various scripts on Github. I believe I've been able to get the xCat-Core infrastructure to build natively on the management node (Ubuntu 21.04). Does anyone have any pointers on porting xCat to new architectures and where to go next? After installing the required dependencies, I did the following: build-ubunturepo SETUP=1 build-ubunturepo -c BUILDALL=1 SETUP=0 LOCAL_KEY=1 I modified the `build-ubunturepo` script to ignore amd64 and ppc for now. This is what I find in terms of the built deb's. ./xCAT-test/autotest/kitdata/source_packages/kittest/pkg2_1-2_all.deb ./xCAT-test/autotest/kitdata/source_packages/kittest/pkg1_1-2_all.deb ./xCAT-test/autotest/kitdata/source_packages/kittest/pkg3_1-2_all.deb ./xCAT-buildkit/share/xcat/kits/kit_template/source_packages/sample/pkg1/pkg1_1-2_all.deb What am I missing? Again, apologies for the naive questions. best john _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user