LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 08:47 PM   #16
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Original Poster
Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412

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 08:48 PM.
 
Old 05-02-2019, 03:08 PM   #17
Penthux
Member
 
Registered: Dec 2008
Location: Middlesbrough, UK
Distribution: Slackware
Posts: 264

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 03:22 PM.
 
Old 05-02-2019, 07:56 PM   #18
glorsplitz
Senior Member
 
Registered: Dec 2002
Distribution: slackware!
Posts: 1,398

Original Poster
Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
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 04:49 PM
Install on a Lemaker Banana Pro justwantin Slackware - ARM 25 01-09-2016 09:26 PM
slackware arm on banana pi? inkscape Slackware - ARM 8 06-14-2015 05:39 AM
LXer: Banana Pi, Spiderman arm, and World of USO LXer Syndicated Linux News 0 01-03-2015 07:40 AM

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

All times are GMT -5. The time now is 07:48 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
Open Source Consulting | Domain Registration