Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Announcements: #armbian-announcements | Developer talk: #armbian-devel | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
archetech has joined #armbian
buzzmarshall has quit [Quit: Konversation terminated!]
Perflosopher has quit [Read error: Connection reset by peer]
Perflosopher has joined #armbian
Hammdist has joined #armbian
<Hammdist>
hello. I try to run the IOT image on orange pi 5. I actually get display output (hurrah). but the bootup hangs at "Found device dev-ttyS2.device - /dev/ttyS2". any idea how to debug? I suspect it is switching the console to ttyS2 which I don't want but don't know how to prevent
<DC-IRC>
[Discord] <Werner> Debug.armbian.de
archetech has quit [Quit: Leaving]
<Hammdist>
becaues it is minimal image my thinking at this point is it might not have the login program even installed (intended for automation only). any idea what it is called so I can install it?
<DC-IRC>
[Discord] <menu> minimal images definitely should, i'll grab one and double check
<Hammdist>
well before I set anyone on a wild goose chase I feel I should mention that I am not running the stock image but one with a few extra programs installed
<Hammdist>
maybe I broke something. let me try the stock image first
<Hammdist>
stock also does not make it to a login or shell. it seems to stop at a different step though or maybe it is a race whether you see the last line or not before it switches to ttyS2
<Hammdist>
ah wait
<Hammdist>
when I tried a 2nd time I got to "Welcome to Armbian!"
<Hammdist>
so it boils down to stock working most of the time, my image consistently does not work. so I broke something for sure
<DC-IRC>
[Discord] <menu> i'm already suspecting the SDcard tbh
<Hammdist>
I think I installed a script with non-zero exit status to /etc/rc.local. fixed script let's see if it works - but will take >30mins to recompile and test it
<DC-IRC>
[Discord] <menu> Hammdist: i've verified a minimal image does indeed include `/usr/bin/bash`, though zsh isn't installed on minimal, SSH should be enabled by default
<Hammdist>
well it wasn't the rc.local script
<Hammdist>
don't have ethernet set up to the board
<Hammdist>
don't understand why I don't get to console login but will keep digging
<DC-IRC>
[Discord] <menu> do you have UART?
<Hammdist>
nope. and the pi is in a case with screws and I'd have to hunt for a screwdriver.
<Hammdist>
also iirc uart is completely borked for orange pi 5
<DC-IRC>
[Discord] <menu> that's a pain, no networking or debug
<DC-IRC>
[Discord] <menu> i haven't actually tested the UART on my oPi, don't have the correctly terminated cable
<Hammdist>
don't bother - receiving from the pi is completely broken. but sending works if you do it blind
<DC-IRC>
[Discord] <menu> i should get working on it then lol
<Hammdist>
I have the strangest issue. early in boot, the caps lock key works to toggle the caps lock led on the keyboard. however after "Found device dev-ttyS2.device" input is completely dead
<DC-IRC>
[Discord] <menu> Hammdist: does it boot without the keyboard connected?
<Hammdist>
no, it gets stuck in the same place
<Hammdist>
I injected an openvt bash. and I can even switch to it early in the boot. but as the boot continues the input to it dies
<DC-IRC>
[Discord] <menu> that's... odd?
<Hammdist>
maybe I need a console= kernel option but I don't know what to set it to
<DC-IRC>
[Discord] <menu> you *shouldn't* require any changes to boot, i can't test baremetal unfortunately
<Hammdist>
well as I said the stock image works. so one way to attack this is to bisect the changes I put on it, but I'm hoping there will be faster resolution with a different tack I'm exploring now
buzzmarshall has joined #armbian
juri_ has quit [Ping timeout: 265 seconds]
juri_ has joined #armbian
juri_ has quit [Read error: Connection reset by peer]
metta has quit [Remote host closed the connection]
kcz has quit [Quit: No Ping reply in 180 seconds.]
<DC-IRC>
[Discord] <menu> does such concept as a hardware MAC address actually exist on oPi5/Armbian? i'm having trouble determining the actual MAC, it changes every boot
Dex_2x has quit [Quit: Client closed]
<DC-IRC>
[Discord] <menu> other projects suggest *yes*, there should be a readable hw_addr, (DietPi etc.), but the orange pi forums say "no", and their own documentation is basically nonexistent
Dagger has quit [Ping timeout: 260 seconds]
Dagger has joined #armbian
Montresor has quit [Ping timeout: 612 seconds]
alekksander has joined #armbian
wootehfoot has joined #armbian
wootehfoot has quit [Max SendQ exceeded]
wootehfoot has joined #armbian
<DC-IRC>
[Discord] <igorpec> this is hardware specific feature. if it should be, then you can enable this.
<DC-IRC>
[Discord] <igorpec> or workaround / spoof mac
califax has quit [Remote host closed the connection]
califax has joined #armbian
<DC-IRC>
[Discord] <menu> from what i can tell Armbian uboot simply isn't capable
<DC-IRC>
[Discord] <menu> i don't *want* to spoof the MAC, my router is having a hissy fit because the MAC keeps changing
<DC-IRC>
[Discord] <beohoff3174> Hey trying to use armbian-install to boot from nvme instead of an SD results in a messed up kernel. I don't have ethernet or sound from the es8388.
<DC-IRC>
[Discord] <beohoff3174> How do I debug this?
<DC-IRC>
[Discord] <igorpec> then use uboot that is capable?
<DC-IRC>
[Discord] <menu> i do not know how, uboot is a black box to me
<DC-IRC>
[Discord] <igorpec> we can't help here. its simply too much work to fix everything
<DC-IRC>
[Discord] <menu> how would i even go about loading a different uboot?
schwar3kat has joined #armbian
schwar3kat has quit [Client Quit]
<DC-IRC>
[Discord] <menu> is it as simple as editing the /boot partition or do i need to reflash the SPI?
laz0r has quit [Ping timeout: 252 seconds]
Dagger has quit [Ping timeout: 265 seconds]
Dagger has joined #armbian
crabbedhaloablut has quit []
crabbedhaloablut has joined #armbian
laz0r has joined #armbian
archetech has joined #armbian
laz0r_ has joined #armbian
laz0r has quit [Ping timeout: 255 seconds]
laz0r_ is now known as laz0r
coldfeet has joined #armbian
wootehfoot has quit [Read error: Connection reset by peer]
<DC-IRC>
[Discord] <runaway97> maybe. you should be able to insert a local-mac-address field in the devicetree via an overlay or just patch the base dtb.
<DC-IRC>
[Discord] <runaway97> uboot can be made to generate a constant MAC by SoC serial, though i have no details if thats implemented in armbian uboot and how it would be enabled.
<DC-IRC>
[Discord] <menu> i'm used to these things having a hardware address i can just read from
<DC-IRC>
[Discord] <runaway97> maybe. you should be able to insert a local-mac-address field under gmac0/1 node in the devicetree via an overlay or just patch the base dtb.
<DC-IRC>
[Discord] <runaway97> yes, the SoC serial can be read from OTP memory
<DC-IRC>
[Discord] <runaway97> i would do some searching though rockchip/armbian uboot, pretty sure the code for it is already there
<DC-IRC>
[Discord] <runaway97> i would do some searching through rockchip/armbian uboot, pretty sure the code for it is already there
<DC-IRC>
[Discord] <menu> but there's no actual mac address burned in?
<DC-IRC>
[Discord] <runaway97> what board?
<DC-IRC>
[Discord] <menu> orange pi 5
<DC-IRC>
[Discord] <runaway97> then no
<DC-IRC>
[Discord] <runaway97> boards with dedicated realtek pci ethernet have means for that and some come with an address pre-burnt
Unit193 has joined #armbian
<DC-IRC>
[Discord] <runaway97> (not all though)
alekksander has quit [Remote host closed the connection]
<DC-IRC>
[Discord] <menu> ty, i suspected as much
<DC-IRC>
[Discord] <menu> i take it the WoL support the OS reports is a complete no-go then?
coldfeet has quit [Remote host closed the connection]
<DC-IRC>
[Discord] <runaway97> it may work, however i have not tested it
<DC-IRC>
[Discord] <runaway97> as long as you give it a fixed mac address then there shouldn't be any issue
<DC-IRC>
[Discord] <menu> without a static MAC it would appear to be impossible
<DC-IRC>
[Discord] <menu> i have already tried setting the MAC and WoL mode, i do not think it will ever work
<DC-IRC>
[Discord] <runaway97> how did you set the mac?
Unit193 is now known as Montresor
<DC-IRC>
[Discord] <menu> tried setting in armbianEnv (didn't stick), nmcli (sticks but no WOL) and setting in `/etc/network/interfaces` (sticks, no WOL)
<DC-IRC>
[Discord] <runaway97> the hardware certainly supports it since theres a WoL interrupt in devicetree
<DC-IRC>
[Discord] <runaway97> it may just be driver issues all over again
<DC-IRC>
[Discord] <runaway97> either in stmmac driver or phy
<DC-IRC>
[Discord] <menu> i'd expect to see the link lights stay on if WoL was gonna work
<DC-IRC>
[Discord] <runaway97> yea, maybe the driver is turning it off entirely on sleep or something
<DC-IRC>
[Discord] <runaway97> > Testing revealed that Wake-On-LAN is only possible in freeze mode. Observations showed that after entering mem mode, the network LED does not light up; whereas, in freeze mode, the network LED continues to blink normally. This indicates that the PHY (physical layer) is not functioning in mem mode, and therefore, it cannot trigger an interrupt for wake-up.
<DC-IRC>
[Discord] <menu> i thought that would be the case, it only supports *wake*, not power-on
<DC-IRC>
[Discord] <menu> at least i'm not going to continue chasing this to no avail
danilogondolfo has quit [Quit: Leaving]
<DC-IRC>
[Discord] <runaway97> yea so i had a quick look over the schematic
<DC-IRC>
[Discord] <runaway97> the interrupt pin from the PHY does not appear to be connected at all to rk3588
<DC-IRC>
[Discord] <runaway97> the driver also needs to set relevant MAC address and explicitely configure WOL, it does neither of these.
<DC-IRC>
[Discord] <runaway97> so it's just a limitation of the opi 5 board
<DC-IRC>
[Discord] <runaway97> the PHY driver also needs to set relevant MAC address and explicitely configure WOL, it does neither of these.
<DC-IRC>
[Discord] <runaway97> lol they only had to route a single wire. soo crappy design
<DC-IRC>
[Discord] <menu> i figured that would be the case, ty for looking, not even the sort of wire i could add-on, because if they haven't routed it, can guarantee it's not exposed *anywhere* on the board
<DC-IRC>
[Discord] <runaway97> well it is pulled up high with a resistor on phy chip side
<DC-IRC>
[Discord] <runaway97> the tricky part is finding the SoC wire. that may not be exposed indeed
<DC-IRC>
[Discord] <menu> i should just use a smart socket shouldn't i
<DC-IRC>
[Discord] <tussockybison54> How can i report a scammer?
TheSHADOW has joined #armbian
<DC-IRC>
[Discord] <tussockybison54> A guy messaged me in dm and he belongs to this chat
<TheSHADOW>
Hi, um, did apt upgrade on my test install and it now fails to boot. Looks like it's looking for a btrfs root volume??
<TheSHADOW>
Orange Pi 5, updated kernel to 6.1.75...