Improving Allwinner D1 support
Hello, I'm interested in improving the Allwinner D1 support currently in devel:RISCV:Factory:Contrib:AllwinnerD1. Initially I would focus on the Lichee RV boards. I think I need to do something like this: - Update u-boot package - Update kernel package - Test - Request the necessary kernel config changes in the kernel-source git repo - Submit u-boot-lichee-* subpackage enablement to Factory - Submit minimum JeOS to openSUSE:Factory:RISCV after the above two changes land After that I would like to create a contrib-style kernel with (some of) the not-yet-mainlined patches that are floating around. I learned a lot about OBS and the kernel build process with my Orange Pi 3 LTS experiments (home:matthewtrescott:opi3-lts) and I think I can do the work... I just would like some feedback/advice on this plan. Especially since I see someone has already been working on it. :) Thanks! Kind regards, Matt
Hi Matthew, On 21/11/2023 02:07, Matthew Trescott wrote:
Hello,
I'm interested in improving the Allwinner D1 support currently in devel:RISCV:Factory:Contrib:AllwinnerD1. Initially I would focus on the Lichee RV boards.
I think I need to do something like this: - Update u-boot package - Update kernel package - Test - Request the necessary kernel config changes in the kernel-source git repo
Best would be to send a patch with the config changes to opensuse-kernel@opensuse.org
- Submit u-boot-lichee-* subpackage enablement to Factory
It's not a subpackage but part of the u-boot.spec and add the target to the _multiboot file.
- Submit minimum JeOS to openSUSE:Factory:RISCV after the above two changes land
After that I would like to create a contrib-style kernel with (some of) the not-yet-mainlined patches that are floating around.
I learned a lot about OBS and the kernel build process with my Orange Pi 3 LTS experiments (home:matthewtrescott:opi3-lts) and I think I can do the work... I just would like some feedback/advice on this plan. Especially since I see someone has already been working on it. :)
It's great to see you want to help add support for this board. Please feel free to ask any questions that may arise. Regards, Matthias
Thanks!
Kind regards, Matt
Hi Matthias,
- Request the necessary kernel config changes in the kernel-source git repo
Best would be to send a patch with the config changes to opensuse-kernel@opensuse.org
Good to know! I will do that.
- Submit u-boot-lichee-* subpackage enablement to Factory
It's not a subpackage but part of the u-boot.spec and add the target to the _multiboot file.
Ah, right. Anyway, it's done already, but the latest patches from smaeul are based on U-Boot 2024.01-rc2 or so. I went through and updated everything with quilt so the existing and new patches apply cleanly to 2024.01-rc3 (mostly just Kconfig changes). It builds locally, but is still waiting on OBS for now. home:matthewtrescott:AllwinnerD1/u-boot Is there an OBS project for tracking the U-Boot -rc versions where I could submit this once I've tested it? Maybe hardware:boot:staging/u-boot? Otherwise it can wait till the actual 2024.01 release. Thanks! Matt
On 30/11/2023 02:33, Matthew Trescott wrote:
Hi Matthias,
- Request the necessary kernel config changes in the kernel-source git repo
Best would be to send a patch with the config changes to opensuse-kernel@opensuse.org
Good to know! I will do that.
- Submit u-boot-lichee-* subpackage enablement to Factory
It's not a subpackage but part of the u-boot.spec and add the target to the _multiboot file.
Ah, right. Anyway, it's done already, but the latest patches from smaeul are based on U-Boot 2024.01-rc2 or so. I went through and updated everything with quilt so the existing and new patches apply cleanly to 2024.01-rc3 (mostly just Kconfig changes). It builds locally, but is still waiting on OBS for now.
home:matthewtrescott:AllwinnerD1/u-boot
Is there an OBS project for tracking the U-Boot -rc versions where I could submit this once I've tested it? Maybe hardware:boot:staging/u-boot? Otherwise it can wait till the actual 2024.01 release.
Yes hardware:boot:staging/u-boot should follow U-Boot -rc once it's near to release. If you want to update, please do a pull request against: https://github.com/openSUSE/u-boot/ We are creating the spec file from the git repository. Regards, Matthias
participants (2)
-
Matthew Trescott
-
Matthias Brugger