Werner 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 feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
archetech has quit [Quit: Konversation terminated!]
archetech has joined #armbian
Toasty has quit [Ping timeout: 272 seconds]
norwich_ has joined #armbian
norwich has quit [Ping timeout: 252 seconds]
norwich_ is now known as norwich
archetech has quit [Remote host closed the connection]
willmore has joined #armbian
lyri has joined #armbian
archetech has joined #armbian
c0rnelius has quit [Ping timeout: 252 seconds]
nickodd has joined #armbian
Smedles has quit [Read error: Connection reset by peer]
Smedles has joined #armbian
jclsn has quit [Ping timeout: 255 seconds]
jclsn has joined #armbian
TheCoffeMaker has quit [Ping timeout: 256 seconds]
TheCoffeMaker has joined #armbian
<Armbian-Discord>
<P1kachu> Hello Community !
<Armbian-Discord>
<P1kachu> Have anyone user Arduino IDE or any other alternative softwares in Armbian to write and upload codes in Arduino/ Esp32?
<Armbian-Discord>
<P1kachu> Thank You
lemonzest has joined #armbian
p0g0 has quit [Ping timeout: 265 seconds]
p0g0 has joined #armbian
p0g0_ has joined #armbian
p0g0 has quit [Ping timeout: 272 seconds]
aasami_ has joined #armbian
nickodd has left #armbian [#armbian]
junaid_ has joined #armbian
califax has quit [Remote host closed the connection]
califax has joined #armbian
Toasty has joined #armbian
<Armbian-Discord>
<Stefano Roncalli> Hello @Tenkawa and sorry for late answer. I'm trying to write in "fstab" during the customize-script.sh with no luck.
<Armbian-Discord>
<Stefano Roncalli> I'm using this script
<Armbian-Discord>
<Stefano Roncalli> echo 'tmpfs /Cache tmpfs nodev,nosuid,noexec,nodiratime,size=1024M 0 0' | tee -a /etc/fstab
<Armbian-Discord>
<Stefano Roncalli> If I use it in customize-script.sh, during compilation, it don't do anything (and don't rainse errors)
<Armbian-Discord>
<Stefano Roncalli> If I run it in Armbian in normal use, it write correctly in fstab
<Armbian-Discord>
<Stefano Roncalli> Another thing I can't achieve in customize-script.sh is to pull some docker images I need at boot.
<Armbian-Discord>
<Stefano Roncalli> in my script I install docker.io and docker-compose but I'm not able to run "docker pull", anyone know why?
tomde has joined #armbian
junaid_ has quit [Remote host closed the connection]
junaid_ has joined #armbian
archetech has quit [Quit: Konversation terminated!]
<lanefu>
Stefano share your command and error messages in a pastebin
<tomde>
I did, after discovering more about the currently still prevailing shortcomings for the OPiZero2 (thanks to stipa for the pointers), some attempts with DT overlays. I obtained compilation errors apparently due to still quite vague understanding of how overlays are to be produced. (problem for example: missing references to nodes) I asked about this in the forum, beginner's section.
<tomde>
Idea in the thread there is to elucidate the common concepts in DT overlay compiling.
<Armbian-Discord>
<rpardini> @Stefano Roncalli I don't think that is gonna work; during customize, the image is running under (possibly qemu'd) chroot, but the actual system services are not running (no systemd). Doing things like "installing Docker" will work (it downloads & deploys the packages) but the Docker daemon/service will not be started, and thus you can't use it. That shows up as the "FileNotFound" error, which is trying to find the
<Armbian-Discord>
daemon's socket, which is not there. Split your process into two... one during image build, one during the first run of the image on the actual board.
<Armbian-Discord>
<Stefano Roncalli> ok, thank you very much for explanation
ikmaak has quit [Ping timeout: 255 seconds]
<Armbian-Discord>
<Stefano Roncalli> maybe I should download image "before" compile and put them in userpatches folder to use them
<Armbian-Discord>
<Stefano Roncalli> ?
<Armbian-Discord>
<rpardini> If I understand your intent is to have an image that has docker pre-deployed & has images pre-pulled. You might want to look into some daemonless Docker-like alternative, like podman -- that can pull images and export them as .tar during image build. Then on first run, you use Docker to "import" the .tar as a Docker image.
<Armbian-Discord>
<Stefano Roncalli> ok, I ran into an article that suggest exactly this approach
ikmaak has joined #armbian
<Armbian-Discord>
<rpardini> good luck and have fun
<Armbian-Discord>
<Stefano Roncalli> thank you very much
<Armbian-Discord>
<Stefano Roncalli> have a nice day
junaid_ has quit [Ping timeout: 255 seconds]
nickodd has joined #armbian
alekksander has joined #armbian
cheakoirccloud has quit [Quit: Connection closed for inactivity]
junaid_ has joined #armbian
cheakoirccloud has joined #armbian
tomde has joined #armbian
nettings has joined #armbian
Dagger has quit [Ping timeout: 265 seconds]
Dagger has joined #armbian
<stipa>
tomde: good
junaid_ has quit [Remote host closed the connection]
<Armbian-Discord>
<h4rp00n33r> Okidoki, moved the root directory from my sd-card succesfully to my ssd. But can you explain why the sd-card is still mounted?
<Armbian-Discord>
<Tenkawa> Let me ask this first... what is your "end goal"
<Armbian-Discord>
<h4rp00n33r> I don't want to use the sd-card. everything should run from my ssd.
<Armbian-Discord>
<Tenkawa> Ahh
<Armbian-Discord>
<Tenkawa> x86_64?
<Armbian-Discord>
<h4rp00n33r> No Banana Pi (armv7l)
<Armbian-Discord>
<Tenkawa> I'm going to defer back because I know nothing about that SoC and its u-boot's booting capabilities (most can't boot directly from anything but microsd/emmc and some nvme)
<Armbian-Discord>
<Tenkawa> I'll let someone else chime in if they have the unit
<Armbian-Discord>
<Tenkawa> I don't have any of the BPi's
<Armbian-Discord>
<h4rp00n33r> Oh, okay. I'm just wondering why the /boot-folder remains on the sd-card while everything else is transferred to the ssd
<Armbian-Discord>
<Tenkawa> thats why
<Armbian-Discord>
<Tenkawa> It "can't" boot directly
<Armbian-Discord>
<Tenkawa> That's what I was referring to
<Herc>
IIRC nand-sata-install exits to do it automagically
<Herc>
exists*
alekksander has quit [Quit: Konversation terminated!]
<Armbian-Discord>
<ezweber> Does anyone know where I can find a minimal stable OS image for a BananaPi M2 Zero? The Kinetic minimal image at https://www.armbian.com/bananapi-m2-zero/ has issues with WiFi which renders it useless for me. Thanks in advance!
popolon has joined #armbian
<Armbian-Discord>
<ManoftheSea> presumably, you want a minimal image that has working wifi?
<Armbian-Discord>
<ezweber> Yes
<Armbian-Discord>
<ManoftheSea> In which case, I'd suggest you start with the image you referenced, fix the wifi, and contribute the solution back.
<Armbian-Discord>
<ezweber> Alright, I'll try harder I guess.
<Armbian-Discord>
<c0rnelius> do a dmesg | grep brcmfmac and check for errors. missing firmware and what not.
arch3r has quit [Ping timeout: 246 seconds]
arch3r has joined #armbian
<Armbian-Discord>
<ezweber> This is the error I get on boot and output of that command.
<Armbian-Discord>
<TheBug> @ezweber another thing you can do if you don't need most recent image is you can check archive for older images that work -- https://armbian.tnahosting.net/archive/bananapim2zero/archive/ - however, if you are able to find the issue and contribute to a fix that would be a help.
<Armbian-Discord>
<c0rnelius> i would say the missing *.txt file is a problem
<Armbian-Discord>
<ezweber> I'll see if I can find a way to fix that and the .bin file.
<Armbian-Discord>
<ezweber> Thanks
<Armbian-Discord>
<ezweber> Yeah, I'm not too worried about being completely up to date. If worst comes to worst I might use an older working one.
<Armbian-Discord>
<c0rnelius> symlinking the already present files with the name its asking for should suppress those errors. not sure if the current txt file is correct though.
<nettings>
[TheBug], I think your recommendation to power the drives externally would work, but I haven't had the chance to make/order the necessary cables yet.
<nettings>
For now, I'm looking for another ARM board with two SATA ports that is able to saturate a Gbit link from and to the harddrives, with minimal power usage. No fancy graphics or other features needed, should run latest vanilla Armbian and have a vendor who supports Armbian - recommendations?
<Armbian-Discord>
<TheBug> nettings: more so if there is a problem with your HC4 my thought would be to contact HardKernel once your prove the issue and see if they will fix/replace. Otherwise there isn't any specifically made for what your asking about really, not without having to add sata controller or a case, etc etc... HC4 is one of the few that offer such a dock thing like that
<Armbian-Discord>
<TheBug> You can use for example a RockPro64 + sata card + case for drivers and have a nice NAS, but there really isn't many integrated solutions.
<stipa>
TheBug the board i proposed is exactly what he wants, pay more attention
<Armbian-Discord>
<TheBug> its what he already has, he asked for another option... now whos paying attention 😄
<Armbian-Discord>
<ManoftheSea> I know, but ebay?
<[TheBug]>
Touche
<nettings>
[TheBug], ManoftheSea, stipa: thanks. Yeah, shame about the Helios64, that looked like a dream box. But the whole thing seems non-trivial, I saw quite a few kickstarters for similar boxes fold lately... Guess I'm going to go with a RPi CM4 and PCIe SATA adapter for now (because I have them already). The RockPro64 I looked at, but yeah, if I have to add a PCIe adapter, I might as well use my Pi. And all the Bananas
<nettings>
I have here only have a single SATA port, need two... :(
<nettings>
Good point about contacting Hardkernel, though.
<[TheBug]>
Were you using the drives in a raid?
<nettings>
[TheBug], on this one, no. On two others, yes. But software RAID1, of course. So easily transplanted...
<stipa>
go with the cm4 and let us know the results
<stipa>
i'm curious
<nettings>
stipa, will do.
<[TheBug]>
Well the reason I ask is there is a number of solutions -- plus I will just add this comment for your thoughts -- re: HC4 - Armbian uses 2 x HC4 in 'production' which are either storing data or running an actual mirror (https://xogium.performanceservers.nl is run from HC4) , so they are reliable for the most part, so one of the thoughts I have is you order another hc4 and contact them about
<[TheBug]>
RMA the one you have, after testing and confirming the issue is 12v line is failed in the port. This way you have some information for them.
<nettings>
stipa, re using x86, I considered that, but I find ARM-based solutions are more energy-efficient generally, which matters to me since it's running 24/365
<[TheBug]>
After that, I would say one option which isn't so bad if you plan for it correctly is those orico 2/4 bay USB 3.0 docks, if used with an 80mm/120mm 5v USB fan on top of drives for cooling it can be as reliable as HC4 and you can connect to any board you like and pretty much end up with same performance if not doing raid. If you do raid you obvious are now sharing the single port...
<stipa>
nettings: good
<nettings>
[TheBug], so you have an HC4 with recent upgrades running 3.5" spinning rust?
<[TheBug]>
yes in fact I took mine out and booted it as well after our last chat, it is on my desk..
<nettings>
[TheBug], i'd actually be relieved if it's a hardware failure, since the thing is cheap for what it does. But I got spooked by two other users reporting the same issue lately...
<[TheBug]>
nettings: out of curiousity did you ever setup fan control on your HC4?
<[TheBug]>
you will notice in my pic there I have it setup and it outputs to OLED on my unit there
<[TheBug]>
it will change display if temps go up and speed up
<nettings>
[TheBug], actually, no. But it runs pretty cool, and currently at around 15° ambient temperature. It mostly just sits there, and only pulls updates at night, when even in summer it was probably always below 25°C ambient.
<nettings>
But I will set it up on the other two I have now that you point it out.
<[TheBug]>
yes but you need also recall that that is an enclosed space with essentially two heaters on top of it in a plastic container -- the ones which we run 24/4 have 2x8TB drives and we use something similar to this on top to make sure they stay cool: https://www.amazon.com/ELUTENG-Computer-Receiver-Compatible-Playstation/dp/B06Y5WWBHH
<[TheBug]>
The fan controls for the internal fan are not to help with the drives at all
<[TheBug]>
it's simply to keep the SoC cool under the added heat of the drives on top
<[TheBug]>
and keep air moving
<[TheBug]>
the larger fan just prevents having to worry about it or the drives having to get to hot and can be powered from the USB port on the device in a server enviroment
<[TheBug]>
s+24/4+24/7+g
<ArmbianHelper>
[TheBug] meant to say: yes but you need also recall that that is an enclosed space with essentially two heaters on top of it in a plastic container -- the ones which we run 24/7 have 2x8TB drives and we use something similar to this on top to make sure they stay cool: https://www.amazon.com/ELUTENG-Computer-Receiver-Compatible-Playstation/dp/B06Y5WWBHH
<nettings>
duly noted. Oh, and neat bot trick. Does it do sed?
<nettings>
[TheBug], FWIW, my other production HC4 runs at 47°C. Nothing I'd worry about, but yeah, for the summer I will set that fan up.
archetech has joined #armbian
<[TheBug]>
believe it does basic regex with sed context yeah
<nettings>
Ok, SATA controller _and_ a replacement HC4 ordered.
* nettings
needs to be back in business ASAP, 10 days without automatic backups is not a nice place to be...