- 
                Notifications
    
You must be signed in to change notification settings  - Fork 40
 
wip: buildroot 2024.11.1 #236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
…development/debugging
| 
           @gjrtimmer its strange the source is completely different. Can you confirm you did the following steps 
  | 
    
          
 @svenrademakers That is not what I did, I upgraded the buildroot to  So run the patches on the linux kernel 6.8.12, and then rebase to  Will try and figure out what it is what you exactly mean by the rebase, I think I understand what the goal is.  | 
    
| 
           i just cherry-picked the realtek-patches on top of v6.11.11 to see the diff. and it needs to have a bit of porting to make it build on v6.11.11. Until so far i did not touched much this driver, so i cannot really assist you here. Even though this task would be a good opportunity to do so. but feel free to give it a go. To make sure the patches apply cleanly, its good practice to re-create them using the correct source-tree, and then export them again into this repository so they are picked up nicely by buildroot without any issues. without going into much detail, my workflow is usually as i described earlier. clone stable linux git repo, checkout old version, git am patches directory onto it. rebase to new version, resolve merge conflicts, export mailboxes again with git format-patch  | 
    
| 
           @CFSworks Are you able to provide assistance?  | 
    
          
 Are you talking about the checkout of linux kernel from kernel.org ?  | 
    
| 
           So I have the following so far. Clone kernel.org git clone git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
git checkout
cd linux
git checkout v6.8.12
git status
cd ..
git apply --directory=linux --verbose tp2bmc/patches/linux/0001-regulator-fixed-perserve-boot-state.patch
Checking patch linux/drivers/gpio/gpio-latch.c...
Checking patch linux/drivers/regulator/fixed.c...
Checking patch linux/include/linux/regulator/fixed.h...
Applied patch linux/drivers/gpio/gpio-latch.c cleanly.
Applied patch linux/drivers/regulator/fixed.c cleanly.
Applied patch linux/include/linux/regulator/fixed.h cleanly.
git status
HEAD detached at v6.8.12
Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        modified:   drivers/gpio/gpio-latch.c
        modified:   drivers/regulator/fixed.c
        modified:   include/linux/regulator/fixed.h
no changes added to commit (use "git add" and/or "git commit -a")Then I have to commit these changes; otherwise, rebase is impossible unless I'm doing something wrong. git commit -m "patch(tpi): perserve boot"
```
But then then when I try to rebase onto the v6.11.11 I am being hit with a lot of merge conflicts on files that to my knowledge have nothing to do with this patch.
```shell
git rebase --onto v6.11.11 v6.8.11
```
Example:
```shell
dropping 8d00da6502a07f9f8d7e6d4ae29d4338db056118 sunrpc: use the struct net as the svc proc private -- patch contents already upstream
dropping e2f1bbf96853a928d2f025bef94e3fa33eabbcac x86/tsc: Trust initial offset in architectural TSC-adjust MSRs -- patch contents already upstream
dropping 526de9d9e11f6c8e1947d2ded29dd9ae15abf03a selftests/ftrace: Fix BTFARG testcase to check fprobe is enabled correctly -- patch contents already upstream
dropping 66df065b3106964e667b37bf8f7e55ec69d0c1f6 ftrace: Fix possible use-after-free issue in ftrace_location() -- patch contents already upstream
dropping e003c485ac82a9f8de4204912ed059ac6dd4257c arm64/fpsimd: Avoid erroneous elide of user state reload -- patch contents already upstream
Auto-merging drivers/tty/n_gsm.c
CONFLICT (content): Merge conflict in drivers/tty/n_gsm.c
error: could not apply f126ce7305fe... tty: n_gsm: fix possible out-of-bounds in gsm0_receive()
hint: Resolve all conflicts manually, mark them as resolved with
hint: "git add/rm <conflicted_files>", then run "git rebase --continue".
hint: You can instead skip this commit: run "git rebase --skip".
hint: To abort and get back to the state before "git rebase", run "git rebase --abort".
Could not apply f126ce7305fe... tty: n_gsm: fix possible out-of-bounds in gsm0_receive()@svenrademakers So I think I might be doing something wrong. Can you provide some directions?  | 
    
| 
           @gjrtimmer you are on the right path: 
  | 
    
| 
           Yeah, you cannot rebase with working changes  | 
    
Linked Issues
I have started a PR for updating buildroot to
2024.11.1.Current Status
I am currently trying to figure out what to do with the Realtek patch; the source is entirely different, so I am unsure what to do.
@CFSworks Could you look at the Realtek patch, please for buildroot
2024.11.1.