ArmbianHelper changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum/Twitter feed: #armbian-rss | Type 'help' for help | Logs: -> irc.armbian.com
samythemany has quit [Quit: Bridge terminating on SIGTERM]
samythemany has joined #armbian
samythemany has quit [Quit: Bridge terminating on SIGTERM]
samythemany has joined #armbian
norwich_ has joined #armbian
norwich has quit [Ping timeout: 256 seconds]
norwich_ is now known as norwich
lanefu has quit [Quit: WeeChat 3.2-dev]
schwar3_Kat has joined #armbian
lanefu has joined #armbian
lanefu has quit [Quit: WeeChat 3.2-dev]
lanefu has joined #armbian
DarkG has quit [*.net *.split]
DarkG has joined #armbian
schwar3_Kat has quit [Ping timeout: 240 seconds]
samythemany has quit [Quit: Bridge terminating on SIGTERM]
samythemany has joined #armbian
aasami_ has joined #armbian
adeepv has joined #armbian
nekomancer[m] has quit [Quit: Bridge terminating on SIGTERM]
uhoreg has quit [Quit: Bridge terminating on SIGTERM]
xxxxx has quit [Quit: Bridge terminating on SIGTERM]
psydroid has quit [Quit: Bridge terminating on SIGTERM]
SallyAhaj has quit [Remote host closed the connection]
uhoreg has joined #armbian
nekomancer[m] has joined #armbian
xxxxx has joined #armbian
archetech has quit [Quit: Konversation terminated!]
trillp has joined #armbian
SallyAhaj has joined #armbian
archetech has joined #armbian
trillp has quit [Quit: Textual IRC Client: www.textualapp.com]
<montjoie> hello I installed a fresh new armbian image, if board reboot in middle of postinstall (setting user/root password for example), postinstall do not restart
psydroid has joined #armbian
<montjoie> so install is bad (no root password...)
<archetech> just redo the install
<montjoie> that's bad, need to reflash again
<montjoie> I agree the usecase is rare
<archetech> faster than chrooting in and setting it
<Armbian-Discord> <I​gorPec> touch /root/.not_logged_in
<Armbian-Discord> <I​gorPec> and it will restart that initial setup
<archetech> hows he gonna get to a prompt to do that
<montjoie> ok thanks, the touch /root/.not_logged_in will help
<ArmbianHelper> ^ build/armbian-firstlogin at master · armbian/build · GitHub
<Armbian-Discord> <I​gorPec> correct is /root/.not_logged_in_yet
<montjoie> for being honest, I work on trying to automatize the postinstall, and the need to reflash everytime to test it was hard
<ArmbianHelper> ^ autotests/0000-armbian-first-login.bash at master · armbian/autotests · GitHub
<archetech> ha was wondering how ya goof that up
<Armbian-Discord> <I​gorPec> perhaps it needs some updating, but generally this is it
<montjoie> IgorPec: unfortunatly the touch is not enough to restart postinstall
<montjoie> I just got a prompt
schwarz_Kat has quit [Remote host closed the connection]
schwarz_Kat has joined #armbian
<Armbian-Discord> <I​gorPec> hmm. you mean you get login prompt and no autologin?
<Armbian-Discord> <I​gorPec> you have this system service up and running ? https://github.com/armbian/autotests/blob/master/init/0000-armbian-first-login.bash
<ArmbianHelper> ^ autotests/0000-armbian-first-login.bash at master · armbian/autotests · GitHub
<ArmbianHelper> ^ build/distributions.sh at master · armbian/build · GitHub
<montjoie> Yes a classic autologin
<montjoie> Yes a classic login prompt
<montjoie> yes I try to do this shell but in LAVA...
<Armbian-Discord> <I​gorPec> so you have removed that service to have classical login
<Armbian-Discord> <I​gorPec> and you create user in that first run ?
<Armbian-Discord> <I​gorPec> or not?
<montjoie> I didnt remove anything, LAVA try to answer questions but failed, so I restart, but the board never asks the questions again (even I touch not logging yet)
<montjoie> -I +if
schwarz_Kat has quit [Ping timeout: 272 seconds]
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #armbian
archetech has quit [Quit: Leaving]
xoan has quit [Quit: leaving...]
xoan has joined #armbian
samythemany has quit [Remote host closed the connection]
samythemany has joined #armbian
archetech has joined #armbian
schwarz_Kat has joined #armbian
iobus has joined #armbian
adeepv has quit [Quit: %exit%]
schwarz_Kat has quit [Ping timeout: 272 seconds]
<Armbian-Discord> <c​.> which font is used for armbian text?
psydroid has quit [Quit: User was banned]
nekomancer[m] has quit [Quit: User was banned]
uhoreg has quit [Quit: User was banned]
xxxxx has quit [Quit: User was banned]
<Armbian-Discord> <I​gorPec> https://github.com/armbian/stationery
<ArmbianHelper> ^ GitHub - armbian/stationery: Armbian Linux branding material
xoan3 has joined #armbian
xoan has quit [Ping timeout: 260 seconds]
xoan3 is now known as xoan
<stipa> seems like chromium got hw accel going
<stipa> ff not yet
<stipa> old core 2 duo hovering around 30% on both cores running YT HD
<stipa> i could barely run 720p on it without smooth play
<stipa> with*
<stipa> GPU is geforce with proprietary driver, Nvidia GT 730
stipa has quit [Quit: WeeChat 3.0]
<Armbian-Discord> <R​ichN> ok building gnome now
xoan4 has joined #armbian
xoan has quit [Ping timeout: 260 seconds]
xoan4 is now known as xoan
samythemany1 has joined #armbian
samythemany has quit [Ping timeout: 240 seconds]
uhoreg has joined #armbian
nekomancer[m] has joined #armbian
xxxxx has joined #armbian
archetech has quit [Quit: Konversation terminated!]
iobus has quit [Quit: Connection closed for inactivity]
archetech has joined #armbian
sunshavi has joined #armbian
iobus has joined #armbian
crabbedhaloablut has quit [Ping timeout: 240 seconds]
crabbedhaloablut has joined #armbian
schwarz_Kat has joined #armbian
<IgorPec> werner: build machine should be back online, found kvm image in archive ;)
psydroid has joined #armbian
<Armbian-Discord> <W​erner> great
alekksander has joined #armbian
marco44 has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
marco44 has joined #armbian
stevieh has joined #armbian
<stevieh> howdy. I want to use gpio on the pin header on the bananapi M1 within armbian. As I understand, one way is to use gpio sysfs. How to find out, which pi is what?
<rapha> just put an LED on each GPIO and then write to each? :)
<stevieh> good plan. Just when I start at 0 the board stops... so there are more than just the pin header gpios...
<stevieh> be it :-)
<ArmbianHelper> ^ How to control the IO on the SBC boards - BananaPro/Pi
sunshavi has quit [Ping timeout: 272 seconds]
alekksander has quit [Quit: Konversation terminated!]
BCMM has joined #armbian
yangmobile has quit [Ping timeout: 240 seconds]
<IgorPec> stevieh this way https://linux-sunxi.org/GPIO plain and simple
<ArmbianHelper> ^ GPIO - linux-sunxi.org
<IgorPec> forget about lemaker stuff
<stevieh> https://wiki.banana-pi.org/Banana_Pi_BPI-M1 I want to switch on GPIO0 (Pin 11) here. Most perfectly without having to compile a new package or pypi anything...
<ArmbianHelper> ^ Banana Pi BPI-M1 - Banana Pi Wiki
<Armbian-Discord> <R​ichN> I have a tool that makes it alot easier
<ArmbianHelper> ^ GitHub - RichNeese/gpio_config_tool
<Armbian-Discord> <R​ichN> I want to get this in time into armbian as a armbian tool
<stevieh> nice, but I still do not get the right number...
<Armbian-Discord> <R​ichN> what board
<ArmbianHelper> ^ Banana Pi BPI-M1 - Banana Pi Wiki
<Armbian-Discord> <R​ichN> https://wiki.banana-pi.org/Banana_Pi_BPI-M1#:~:text=40%20PIN%20GPIO%20of%20Banana%20pi%20BPI-M1%20,%20%20ADC%5B%40_X1%20%2036%20more%20rows%20
<ArmbianHelper> ^ Banana Pi BPI-M1 - Banana Pi Wiki
<Armbian-Discord> <R​ichN> its right on the site
<Armbian-Discord> <R​ichN> GPIO PIN define section
<ArmbianHelper> ^ [image/png] (179.7KiB)
<stevieh> but which gpio sysfs number is GPIO0 on this connector?
<Armbian-Discord> <I​gorPec> you don't need to compile anything
<Armbian-Discord> <I​gorPec> gpio support is build-in
<stevieh> so how to switch on GPIO0 then?
<Armbian-Discord> <I​gorPec> check link i sent to you
<Armbian-Discord> <I​gorPec> https://linux-sunxi.org/GPIO "Accessing the GPIO pins through sysfs with mainline kernel"
<ArmbianHelper> ^ GPIO - linux-sunxi.org
<Armbian-Discord> <I​gorPec> you have a math explained
<Armbian-Discord> <I​gorPec> this is one of real world things i use https://www.youtube.com/watch?v=HxZ_FD5b5QQ
<Armbian-Discord> <R​ichN> what you use that for ?
<Armbian-Discord> <R​ichN> loads of relays
<Armbian-Discord> <I​gorPec> i will need to assamble another panel soon
<Armbian-Discord> <I​gorPec> this is to control devices under test
<Armbian-Discord> <I​gorPec> power on/off is essential for testing
<Armbian-Discord> <R​ichN> surprised oyu did not use octi chips to replace the relays
<stevieh> I guess I am far too dumb. What IO is this Pin 11 on the bpi m1 connector?
<Armbian-Discord> <R​ichN> dood
<Armbian-Discord> <I​gorPec> you need to see the map of pins
<Armbian-Discord> <I​gorPec> relays are a lot cheaper
<stevieh> where do I see that?
<Armbian-Discord> <R​ichN> gpio0 is pin 11
<stevieh> yes, and to what sysfs export goes that and why?
<Armbian-Discord> <R​ichN> you need to go read about using gpio and how it works
schwar3_Kat has joined #armbian
<Armbian-Discord> <R​ichN> your making it to hard
<stevieh> now just tell me the number :-)
<stevieh> or tell me three lines for gpio0 to 2 :-)
<ArmbianHelper> ^ How to control the IO on the SBC boards - BananaPro/Pi
schwar3_Kat has quit [Remote host closed the connection]
<stevieh> tells me GPIO0 is 274 and GPIO2 is 273... GPIO1 should be 259, but this does not work...
schwar3_Kat has joined #armbian
schwar3_Kat has left #armbian [#armbian]
<stevieh> I am rather confused :-)
<Armbian-Discord> <R​ichN> thats becaus eyou dont understand how gpio pins work
<Armbian-Discord> <R​ichN> you need to read and understand the basics
<stevieh> so I have to read the schematics to find which A20 GPIO Pin is connected to the Pin header?
<Armbian-Discord> <R​ichN> ok have you ever worked with gpio pins
<stevieh> yes. I have started with M68k, did some 8051 designs and programmed even Tseng ET4k cars loong time ago.
<Armbian-Discord> <R​ichN> you need to go read about the gpio basics you looking at it totally the wrogn way
<Armbian-Discord> <R​ichN> thats the old days
<Armbian-Discord> <R​ichN> things changes
<Armbian-Discord> <R​ichN> it has been made alot easier to use gpio pins now days
<Armbian-Discord> <R​ichN> what app at what are connecting to gpio0?
<stevieh> it does not seem so to me. I want just to use a line shell code
<ArmbianHelper> ^ GPIO Linux Device Driver Basic using Raspberry PI ⋆ EmbeTronicX
<Armbian-Discord> <R​ichN> read this and lern
<Armbian-Discord> <R​ichN> it will explain how gpio is used now
<Armbian-Discord> <R​ichN> its the same for other arm boards
schwarz_Kat has quit [Ping timeout: 252 seconds]
<stevieh> in fact, I do not think this will help me in understanding, which port this GPIO0 corresponds to, or would it?
samythemany has joined #armbian
samythemany1 has quit [Ping timeout: 240 seconds]
<stevieh> ok, thx.
<Armbian-Discord> <M​anoftheSea> I don't think I understand what gpio0 is. It looks like the guitar has A, B, C, and E banks of GPIOs.
<ArmbianHelper> ^ BananaPi M1 with Armbian 21.02: One-Wire Temperature Sensor and TV output - Allwinner A20 - armbian forum
<stevieh> this gave me the helping mapping
<Armbian-Discord> <M​anoftheSea> Okay, so Raspberry Pi pin 11 is Banana Pro 267/PI11
samythemany has quit [Quit: Bridge terminating on SIGTERM]
samythemany has joined #armbian
<Armbian-Discord> <M​anoftheSea> so echo 267 > /sys/class/gpio/export to create the pin, then echo out > /sys/class/gpio/gpio267/direction to make it a digital out, and finally echo 1 > /sys/class/gpio/gpio267/value to turn it on
samythemany has quit [Quit: Bridge terminating on SIGTERM]
samythemany has joined #armbian
trillp has joined #armbian
schwarz_Kat has joined #armbian
<ArmbianHelper> ^ Panfrost's Vulkan Driver Progressing On Compute Shaders - Phoronix
<ArmbianHelper> ^ PanVK Pulls Back From Advertising Vulkan 1.1 For Now - Phoronix
stipa has joined #armbian
<stevieh> ManoftheSea: no. it is 275
samythemany has quit [Remote host closed the connection]
samythemany has joined #armbian
<Armbian-Discord> <M​anoftheSea> ah, because you're not using banana pro? Then... it's just gpio0, which is /sys/class/gpio/gpio0. Where do you get 275?
<ArmbianHelper> ^ BananaPi M1 with Armbian 21.02: One-Wire Temperature Sensor and TV output - Allwinner A20 - armbian forum
<ArmbianHelper> ^ A20/PIO - linux-sunxi.org
<Armbian-Discord> <R​ichN> if you use armbian config and enable 1wire support you dont have these issues
<Armbian-Discord> <R​ichN> again no one listens or explains
<Armbian-Discord> <M​anoftheSea> I don't see 275 in that link. However, I don't know anything, so could you explain your conversion? The banana pi m1 on their wiki calls it gpio0 on pin 11
<stevieh> what does 1wire support help in switching on LEDs at the GPIO?
<Armbian-Discord> <R​ichN> ok step on goto armboian config > system > hardware
<Armbian-Discord> <R​ichN> enable 1 wire support
<Armbian-Discord> <R​ichN> and reboot the board
<stevieh> and then?
<Armbian-Discord> <R​ichN> once 1 wire is enabled you just have to connect the chip and run the app
<stevieh> what chip? What app?
<Armbian-Discord> <R​ichN> it will connect to the 1 wire gpio pin
<Armbian-Discord> <M​anoftheSea> It's a resistor and an LED in pin 11 of the header, right?
<stevieh> ManoftheSea: on this pinout Pin 11 is PI19, this is https://linux-sunxi.org/A20/PIO#PI19_.28275.29 275 here.
<ArmbianHelper> ^ A20/PIO - linux-sunxi.org
<stevieh> and this works by exporting and setting it.
<stevieh> and yes, there is a LED with a resistor connected.
<Armbian-Discord> <M​anoftheSea> I thought you had a b-pi M1. I got confused in the chat history, you're using an A20?
<stevieh> it is a bpi m1 and it has an A20
<stevieh> Hardware: Allwinner sun7i (A20) Family
<Armbian-Discord> <M​anoftheSea> well, I've learned a thing.
<stevieh> I use those LEDs for displaying a systems state which changes rarely. Would it hurt if I do the "export" and output setting call every time I change the state? Don't think so?
<Armbian-Discord> <M​anoftheSea> that the first diagram saying "pi19" didn't mean that it was compatible with Pi pin 19 (which would be odd to put on pin 11), but that P(ort) bank letter I, i/o 19
adeepv has joined #armbian
<Armbian-Discord> <M​anoftheSea> 8 * 32 + 19 = 275. That makes sense now.
<stevieh> This was the only diagram where I found any information about the Port bank and io...
<stevieh> otherwise you had to look up the schematics and reassign the namings there....
tomaw has quit [Quit: Quitting]
tomaw has joined #armbian
trillp has left #armbian [Textual IRC Client: www.textualapp.com]
<ArmbianHelper> ^ Turning on an LED with your Raspberry Pi's GPIO Pins | The Pi Hut
<Armbian-Discord> <R​ichN> learn from this
<stevieh> did you in any way read my questions?
<Armbian-Discord> <I​gorPec> @RichN Tested Bullseye Cinnamon. Starts perfectly, will do deep check later on
<Armbian-Discord> <R​ichN> Ok
<Armbian-Discord> <R​ichN> Good to hear
<Armbian-Discord> <R​ichN> Internet is back down
<nekomancer[m]> Tseng ET4000 yeah!!! How I lurk for it on shops!
<stevieh> the ISA version?
trillp has joined #armbian
iobus has quit [Quit: Connection closed for inactivity]
trillp has quit [Quit: Textual IRC Client: www.textualapp.com]
mangix has quit [Read error: Connection reset by peer]
mangix has joined #armbian
stevieh has quit [Quit: Leaving.]
juri_ has quit [Ping timeout: 268 seconds]
<nekomancer[m]> <stevieh> "the ISA version?" <- can't remember.
<nekomancer[m]> isa? vesa? pci?
<nekomancer[m]> it was about 30 years ago.
mrueg has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
sams has quit [Remote host closed the connection]
sams has joined #armbian
aasami_ has quit [Quit: leaving]
BCMM has quit [Ping timeout: 260 seconds]
archetech has quit [Quit: Leaving]