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

19 Upvotes

10 comments sorted by

2

u/ZealousidealKale8097 22h ago

Congrats I also got 2 patches to be upstreamed but in 7.4 and 7.5 respectively

2

u/kenkitt 21h ago

what were they about ?

2

u/ZealousidealKale8097 21h ago

Hda mic and bios bug for my hp laptop

0

u/INSURGENT_BLADES 1d ago

How do you push the patches to upstream, I've got a couple of bugs and patches plus new drivers I want to upstream but I really don't like dealing with the boring stuffπŸ˜‚πŸ˜‚πŸ˜‚

1

u/kenkitt 1d 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 1d 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 1d 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 22h ago

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

0

u/INSURGENT_BLADES 21h ago

Okay thanks