<JGS_mining>
zmatt you rock. I redid the flash of the iso and it took and its moving. I posted all over reddit so it might negate people coming here :)
JGS_mining has quit [Quit: Client closed]
xet7 has quit [Remote host closed the connection]
xet7 has joined #beagle
m-atoms has joined #beagle
thinkfat has joined #beagle
thinkfat_ has quit [Ping timeout: 272 seconds]
m-atoms has quit [Ping timeout: 250 seconds]
Guest88 has joined #beagle
<Guest88>
hi
<Guest88>
what are more distros that the beaglebone (just the beaglebone) supports
<Guest88>
was hoping alpine did but nah
<Guest88>
256mb of a ram and a systemd distro like debian dont seem to go well together
<rcn-ee>
@Guest88, buildroot, yocto, etc...
<Guest88>
thx
Guest88 has quit [Quit: Client closed]
<veremitz>
o/ rcn-ee ltns :D
<veremitz>
arch, gentoo, the list goes on :D anything *ARM
<zmatt>
uhh, systemd doesn't require much ram at all
zjason` has joined #beagle
<veremitz>
perhaps not by itself..
<veremitz>
but if you do want to eliminate systemd from your bbb .. that's narrowing down your choices a lot now. #thanksredhat
zjason has quit [Read error: Connection reset by peer]
<zmatt>
doesn't debian still support sysvinit?
<veremitz>
dunno what void's ARM support is like
<veremitz>
only devuan
<veremitz>
and yeah again, not sure what their ARM support is like
<zmatt>
regardless, the claim wasn't that he had ideological opposition to systemd, the claim was that a "systemd distro" doesn't go well with 256 MB of ram
<veremitz>
busybox is probably what OP is looking for
<veremitz>
since that was always the old skool way of doing things
<zmatt>
here's what free -h gives after boot on our production beaglebones if I disable our fat nodejs services: total 499M, used 22M, free 432M
<veremitz>
nice
<veremitz>
what baseos is that? customised debian/ubuntu?
<zmatt>
debian
<veremitz>
total used free shared buffers cached
<veremitz>
Mem: 493M 465M 27M 0B 64M 275M
<veremitz>
is my old rev B running dhcp, bind9 etc
<veremitz>
I think thats mostly a standard vintage debian wheexy
<zmatt>
multi-user.target reached after 5.989s in userspace
<veremitz>
I mean, sure, systemd -can- pull in the whole kitchen sink, and next door's house ..
<veremitz>
is that 12s total? thats slow :p
<zmatt>
not sure what you mean by that, that's not my experience
<veremitz>
no, well your experience is .. well-honed :P
<zmatt>
no, 7.368 total
<veremitz>
I would go so far to say .. 'unusual' :p
<veremitz>
ah 8s is nice
<veremitz>
on eMMC?
<zmatt>
yes
<veremitz>
that IS quite good
<veremitz>
uboot included I presume?
<veremitz>
no custom boot config
<veremitz>
many people just don't know how to optimise well ..
<veremitz>
because fastish hardware is cheap...
<zmatt>
systemd has no way of knowing about time spent in u-boot, but that time is negligible since I custom-built a streamlined u-boot (that doesn't has a deliberate delay to wait for pressing space)
<veremitz>
heh yeah that's rcn's patches :p
<zmatt>
right, but I didn't bother stripping down systemd itself, this is just the stock debian systemd
<veremitz>
yeah but quite a minimal debian I'd argue
<veremitz>
:D
<veremitz>
(I was applying his patches to uboot for an rpi3 I have.. because $reasons)
<veremitz>
I should fix that up actually :\
<veremitz>
[$reasons were, I wanted a grub bootmenu on an rpi.. crazy, but still..]
<veremitz>
[and then I fell down a rabbit hole testing out ARM TF-A lol]
<zmatt>
the nice thing about systemd is that it seems to avoid running any shell scripts during boot... those tend to slow things down surprisingly (bash is almost as big as systemd)
<veremitz>
depends if you choose bash as your system shell (which is stupid imo, dash works much better)
<veremitz>
if it weren't for gentoo's hard dependencies on bash/python .. I would probably run a lighter-weight OS :D
<zmatt>
yeah but scripts that don't work in dash do happen
<veremitz>
that said.. I'm using ubuntu now ..
<veremitz>
they shouldn't .. or don't normally with openrc :) [because $posix]
<veremitz>
but yeah bashisms are everywhere
<zmatt>
tbh I hate not being able to rely on bashisms myself when I write shell script :P
<zmatt>
trying to write for posix shell is a perpetual discovery of "wait, this isn't a thing in posix sh?"
<veremitz>
depends a lot what you're used to
<veremitz>
if you write perl all day long .. you're gonna do all sorts of fun stuff
<veremitz>
s/perl/lua/ etc
<zmatt>
and on how much the script does... I sometimes have a bad habit of reaching the point where I should really have switched from a shell script to maybe perl or something, but didn't
<veremitz>
most people don't tackle low-level stuff .. they're looking for the highest-level 'blob' they can get their hands on
<veremitz>
shell is pretty universal for many things with unix tools
<zmatt>
perl is also everywhere
<veremitz>
indeed, for good or for bad :D
<zmatt>
this boot isn't super optimized btw, last time I put some actual effort into minimizing boot time was years ago, and that reduced it to 3.8s in userspace
<zmatt>
though interestingly time in kernel has reduced since then from 1.4s to <1s
<zmatt>
dunno why
<veremitz>
yeah I did dabble briefly in uboot-falcon mode for the imx6 on uSD ..
<veremitz>
getting up in <4s is badass
<zmatt>
yeah once you get down to 5s post-u-boot, optimizing u-boot itself becomes quites significant
<veremitz>
but yeah 3-4s was my target originally for a customer application
<zmatt>
but since we now have multiple nodejs services, optimizing early boot feels a bit pointless :P
<veremitz>
yup
<veremitz>
I need to take another look at this allwinner board with nand on it .. I'm sure it will boot linux from that .. although I'm aware there are papercuts
Shadyman has quit [Remote host closed the connection]
Guest1275 has joined #beagle
<Guest1275>
anyone online?
Guest1275 has quit [Quit: Client closed]
Stanto has quit [Read error: Connection reset by peer]
thinkfat has quit [Ping timeout: 245 seconds]
thinkfat has joined #beagle
thinkfat has quit [Ping timeout: 264 seconds]
thinkfat has joined #beagle
Stanto has joined #beagle
thinkfat has quit [Quit: Konversation terminated!]
thinkfat has joined #beagle
zjason` is now known as zjason
ft has joined #beagle
ft has quit [Quit: leaving]
ft has joined #beagle
ft has quit [Quit: leaving]
ft has joined #beagle
<jkridner[m]>
yes
Stanto has quit [Ping timeout: 266 seconds]
Stanto_ has joined #beagle
ikarso has joined #beagle
<zmatt>
yes?
<veremitz>
nope
troth has quit [Quit: Leaving]
aswin has joined #beagle
rcn-ee has quit [Remote host closed the connection]
ikarso has quit [Quit: Connection closed for inactivity]
ikarso has joined #beagle
rcn-ee has joined #beagle
m-atoms has joined #beagle
<m-atoms>
how is libera chat so far? looks good to me
vagrantc has joined #beagle
shoragan[m] has quit [Quit: node-irc says goodbye]
jkridner[m] has quit [Quit: node-irc says goodbye]
mvaittin has quit [Quit: node-irc says goodbye]
shoragan[m] has joined #beagle
jkridner[m] has joined #beagle
mvaittin has joined #beagle
<zmatt>
it seems to work fin
<zmatt>
*fine
<zmatt>
and libera seems to doing a good job at keeping spambots at bay... I think I've seen 2 lines from one bot here, while #openocd on freenode has been getting spam all day
<GenTooMan>
ugh the spam bots have been all over the place
<GenTooMan>
OFTC has had issues and Rizon can't say anything about freenode.
aswin has left #beagle [#beagle]
ikarso has quit [Quit: Connection closed for inactivity]
Stanto has joined #beagle
Stanto_ has quit [Ping timeout: 272 seconds]
Guest41 has joined #beagle
<Guest41>
hello
<Guest41>
i have a problem, i have a bb AI and i tried tu use pwm, but my /sys/class/pwm is empty