LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 04-30-2019, 07:47 PM   #16
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 708

Original Poster
Rep: Reputation: 139Reputation: 139

Quote:
Originally Posted by Penthux View Post
Is there any reason(s) why you are wanting to compile dtbs alone?
Yes, my post #12
Quote:
I've found that disabling OOB interrupts fixes this. This really is more
of a workaround then a proper fix, but it makes the wifi reliable again
and it does not have much of a downside.
I don't know how many modules
Code:
make [u|z]Image dtbs modules
will do or how long it would take.

I'd like to see what happens if I can compile just the patched sun7i-a20-bananapro.dts and replace /boot/dtb-4.19.36/sun7i-a20-bananapro.dtb with patched compiled one.

Thanks again for the comments and interest.

Last edited by glorsplitz; 04-30-2019 at 07:48 PM.
 
Old 05-02-2019, 02:08 PM   #17
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 253

Rep: Reputation: 74
Quote:
Originally Posted by glorsplitz View Post
I'd like to see what happens if I can compile just the patched sun7i-a20-bananapro.dts and replace /boot/dtb-4.19.36/sun7i-a20-bananapro.dtb with patched compiled one.

Thanks again for the comments and interest.
Sorry but this is where I cannot test my theory because I have no BPi to play with. The method is pretty much the same, I would imagine, under Slackware on any platform.

You need to apply the patch to the existing kernel .config then compile the kernel, dtbs, and modules. While working within the Linux source directory, it would go something like this...

Code:
root@slackbox:~# cp /path/to/backup/kernel/.config /path/to/Linux/source/.config
# if it's a .gz archive then zcat it
root@slackbox:~# cd /path/to/Linux/source/
root@slackbox:~# patch -p1 < ARM-dts-sun7i-Disable-OOB-IRQ-for-brcm-wifi-on-Cubietruck-and-Banana-Pro.patch 
root@slackbox:~# make Image
root@slackbox:~# make dtbs
root@slackbox:~# make modules
root@slackbox:~# make modules_install
#etc.

Last edited by Penthux; 05-02-2019 at 02:22 PM.
 
Old 05-02-2019, 06:56 PM   #18
glorsplitz
Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 708

Original Poster
Rep: Reputation: 139Reputation: 139
Ok Penthux, thank you for the pointers.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LeMaker Banana Pro and Slackware ARM saxa Slackware - ARM 31 12-15-2018 03:49 PM
Install on a Lemaker Banana Pro justwantin Slackware - ARM 25 01-09-2016 08:26 PM
slackware arm on banana pi? inkscape Slackware - ARM 8 06-14-2015 04:39 AM
LXer: Banana Pi, Spiderman arm, and World of USO LXer Syndicated Linux News 0 01-03-2015 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 11:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration