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 12-27-2020, 02:34 AM   #1
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889

Rep: Reputation: 123Reputation: 123
Got a warning compiling a new dtb, any DTB gurus out there?


I wanted to boot a banana pro with a gpio pin set to out and at 3.3V and have just compiled a new sun7i-a20-bananapro.dtb. It works fine, however, I had a warning when I compiled the .dtb which I don't understand and a search for an explanation was unsuccesful. Perhaps someone on the list can enlighten me.

Here's the warning:
Quote:
DTC arch/arm/boot/dts/sun7i-a20-bananapro.dtb
arch/arm/boot/dts/sun7i-a20-bananapro.dts:68.4-24: Warning (gpios_property): /leds/pwr-led:gpios: property size (12) too small for cell size 3
Here's a snippit from the dts:
Code:
leds {
                compatible = "gpio-leds";
                
                pwr-led {
                        label = "bananapro:red:pwr";
                        gpios = <&pio 14 GPIO_ACTIVE_HIGH>;
                        default-state = "on";
                };

                blue {
                        label = "bananapro:blue:usr";
                        gpios = <&pio 6 2 GPIO_ACTIVE_HIGH>;
                };
                <snipped>
The third line in the "pwr-led" node is line 68 and everything other than that node is original dts. I've never had warnings compiling after adding nodes for iio sensors in this .dts

Last edited by justwantin; 12-27-2020 at 02:35 AM.
 
Old 12-27-2020, 03:23 AM   #2
sndwvs
Senior Member
 
Registered: Aug 2014
Posts: 2,153

Rep: Reputation: Disabled
here is a similar situation and it is explained why.
 
Old 12-27-2020, 03:42 AM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 889

Original Poster
Rep: Reputation: 123Reputation: 123
Thanks for that link. I'll have a think about it later .... been sitting here too long .... time to go eat some leftover turkey.

Cheers

Last edited by justwantin; 12-27-2020 at 03:42 AM. Reason: tyop
 
  


Reply

Tags
compile dtb, dts, set gpioin high at boot


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
Device-tree blob (DTB) in a seperate partition LordVesperia Linux - Kernel 0 09-29-2018 10:45 PM
Reading Device Tree data (FDT/DTB) from kernel ashok449 Linux - Kernel 0 03-02-2012 04:51 AM
Any gaim-vv gurus out there? paicolman Linux - Newbie 2 01-09-2005 03:53 AM
Any Netdump gurus out there? jamis Linux - Software 1 08-20-2004 08:46 AM
system freeze..!! any gurus out there? :) rohan208 Linux - General 2 07-14-2004 12:24 PM

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

All times are GMT -5. The time now is 05:43 PM.

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