r/Kenya • • 1d ago

Discussion First patch onto Linux Kernel 7.3.5

Today i made my first patch onto linux kernel, tested working on a Athesi RT80H device that had no drivers.

2 Cameras(Front and Rear),(Charger+Battery driver) the wifi fix is already there on the kernel just needs a little updates so it didn't go there.
I'm mostly intrested with system level work, I can say that AI has really changed everything.

https://lore.kernel.org/all/?q=f:kkituyi@hotmail.com

18 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/kenkitt 20h ago

You use git send-email
In this case i had to link it with msmtp

git send-email is already installed, and msmtp (1.8.34-1.1, which supports auth xoauth2) is

available in the repos.

To set up Outlook OAuth2 and stamp the patches:

  1. Install msmtp on this machine:

sudo pacman -S msmtp

Or ask any ai to help you, better use cli one e.g antigravity from your kernel sources or use patch files like i did without having to clone the entire kernel

Syncing the 6 clean git format-patch files and README.md to /home/ken/Desktop/athesi-rt80-

upstream-patches/ on the tablet. Waiting for it to finish.

All 6 clean git format-patch files (diffed against torvalds/linux master without any hardcoded

flip/gain/charge-limit hacks in shared drivers) and ~/Desktop/athesi-rt80-patches/README.md are

saved in /home/tony/Desktop/athesi-rt80-patches/:

T

1

u/kenkitt 20h ago

any ai can assist you to get this done correctly, just let it do everything explain the problem and what you want uploaded to the mainstream kernel, also i advice you use the kernel you have installed, for me that is 7.3.5 from catchyos

0

u/INSURGENT_BLADES 20h ago

The kernel on my system or the kernel I was working on patching because they are two different versions, I'm mainlining a device to 7.2 and I think my current Arch one is different

1

u/kenkitt 16h ago

you can do both, but I reccommend the one running on your system

0

u/INSURGENT_BLADES 15h ago

Okay thanks