<set_>
freq: Install a OS/web interface, i.e. apt install xfce4 is one. You can check what is available on Debian distros on their wiki.
<set_>
I found some on their wiki.
<freq>
thanks set, but i have a headless install and just need to know what packages are needed for the base install, included in the official image
<set_>
Oh.
<set_>
When you install a OS like openbox, it is lightweight and you will get the required packages. Outside of that idea, I do not know which exact packages create an OS w/out installing the OS.
<freq>
the kernel is the OS
<set_>
Hmm. That is a good question.
<freq>
everything else is userland
<set_>
Okay.
<set_>
Well...userland openbox is lightweight and can work.
<set_>
Maybe if we go to openbox, we can see the required prerequisite packages?
<set_>
When you say headless, do you mean the bbb.io IoT Debian image?
<freq>
that would only be for the window manager
<freq>
Buster IoT TIDL (without graphical desktop and with machine learning acceleration tools) for BeagleBoard-X15 and BeagleBone AI via microSD card
<freq>
wait
<freq>
not x15
<set_>
I understand.
<set_>
Do you want the GUI?
<freq>
no, just web interface
<freq>
so, i disabled nodered and the webserver that was running
<set_>
Oh.
<set_>
I got you now.
<freq>
i just need to figure out how to get that back up running
<set_>
How did you disable it? Did you use apt or nginx?
<freq>
stopped the services with systemd
<freq>
are you able to reach the webpage on yours?
<set_>
systemctl start yourservice.service
<freq>
well right, but i don't know what they are named.
<set_>
Oh!
<set_>
Let me check.
<freq>
thank you
<freq>
i suspected there would be a package list on github or something
troth has joined #beagle
<set_>
go to /etc/nginx/ .
<set_>
There should be a file called default.
<set_>
Or something close to that name.
<set_>
cat default and see the web address for nodered?
<freq>
i've started the web server
<freq>
403 Forbidden
<set_>
I say go to /lib/
<freq>
ok i've found the problem
<freq>
nodered was uninstalled
<freq>
will try that in a moment
<set_>
I do not have it on my BBB.
<set_>
odd.
<freq>
what mine was just had a programming interface
<set_>
Right. Okay.
<freq>
i'm kind of amazed with the speed of this board at 400Mhz
<set_>
I know the .org was moving towards VS Code for a bit.
<freq>
oh, the open sourced one
<set_>
I thought the AI had 1.5 Ghz?
<set_>
Yes.
<freq>
inxi tends to be wrong then
<set_>
Hey freq: I am booting the AI now.
<set_>
I will check if the install does not fix it.
<freq>
ok
<set_>
Dang it. I am in Bullseye right now. I am sorry.
<freq>
so am i
<set_>
oh!
<freq>
i upgraded
<set_>
Nice.
<freq>
there was a bcm driver issue for about a day. whole thing upgraded fine
<set_>
I do not think nodered is called nodered in lib/systemd/system/
<set_>
Let me check.
<set_>
Not installed.
<set_>
So, I am thinking w/ the upgrade of Buster to Bullseye, it is not installed by default.
<freq>
though, i do have a tor relay running and that's kinda fun
<set_>
Tell me everything!
<freq>
does your board get so hot that you can't touch the heatsink?
<set_>
No. I have a fan.
<freq>
i don't know what to tell about it
<freq>
oh i don't
<set_>
Oh. Get a fan.
<freq>
there is a tor relay and i have no idea what it does
<set_>
Seriously.
<freq>
it has a lot of traffic
<set_>
Hmm.
<freq>
do these boards burn out without a fan?
<set_>
Sometimes they are known to turn off.
<freq>
havent had the issue
<set_>
The fan will help you and the board esp.
<freq>
Message: No sensors data was found. Is sensors configured?
<set_>
No clue. Try systemctl daemon-reload
<set_>
Then, go to the site on your socket.
<freq>
that site isn't as important as the node-red one
<freq>
i'll sort it out another day, thank you
<set_>
fine. I cannot understand anything that is not typed.
<set_>
If you are holding back ideas, I am blank on my side.
Shadyman has joined #beagle
nerdboy has quit [Ping timeout: 250 seconds]
nerdboy has joined #beagle
nerdboy has quit [Changing host]
nerdboy has joined #beagle
vd has quit [Ping timeout: 256 seconds]
ikarso has joined #beagle
buzzmarshall has quit [Quit: Konversation terminated!]
tbr has quit [*.net *.split]
CrazyEddy has quit [*.net *.split]
GenTooMan has quit [*.net *.split]
agraf has quit [*.net *.split]
insurgent has quit [*.net *.split]
bldr_ has quit [*.net *.split]
x56 has quit [*.net *.split]
bldr has joined #beagle
tbr has joined #beagle
insurgent has joined #beagle
GenTooMan has joined #beagle
agraf has joined #beagle
x56 has joined #beagle
RossSchulman[m] has quit [*.net *.split]
suy|m has quit [*.net *.split]
javaJake has quit [*.net *.split]
markand has quit [*.net *.split]
markand has joined #beagle
CrazyEddy has joined #beagle
RossSchulman[m] has joined #beagle
javaJake has joined #beagle
suy|m has joined #beagle
vagrantc has quit [Quit: leaving]
rob_w has joined #beagle
vigneshr has joined #beagle
Shadyman has quit [Remote host closed the connection]
freq has quit [Quit: Client closed]
<markand>
hello
<markand>
do graphical image do something more to enable HDMI output? I had a flashed a non-graphical image and definitely HDMI signal is off completely
<zmatt>
markand: pretty sure even the console image should have hdmi output, even if it's just a terminal, unless video has been disabled in /boot/uEnv (but it is enabled by default)
paulbarker_ has quit []
paulbarker has joined #beagle
<zmatt>
markand: be mindful of automatic screen blanking though, some keyboard input may be needed to wake up the screen. adding consoleblank=0 to the kernel parameters ('cmdline' in /boot/uEnv.txt) should prevent automatic blanking (although I'm reading mixed results about that, it seems on some systems it's getting changed by something at runtime)
<markand>
let me try all of that
set_ has quit [Ping timeout: 256 seconds]
set_ has joined #beagle
otisolsen70_ has joined #beagle
otisolsen70 has quit [Ping timeout: 264 seconds]
otisolsen70_ has quit [Read error: Connection reset by peer]
lucascastro has joined #beagle
lucascastro has quit [Remote host closed the connection]
lucascastro has joined #beagle
xet7 has quit [Quit: Leaving]
xet7 has joined #beagle
rob_w has quit [Remote host closed the connection]
buzzmarshall has joined #beagle
vd has joined #beagle
<markand>
did the service generic-board-startup.service moved into a different package from wheezy to buster? on buster it seems to be in bb-customizations, not on wheezy
rcn-ee_ has quit [Remote host closed the connection]
ikarso has quit [Quit: Connection closed for inactivity]
<Siegurd>
Patch files I found here: https://github.com/mixaz/buildroot-pocketbeagle/tree/master/board/pocketbeagle. Or this isn't a good idea to follow this instruction? My goal is to run my C++ program as soon as possible after power up with UART, SPI and USB interfaces using. With official Debian Image and systemd service magic I can run my program 30
<Siegurd>
seconds after power up. The Ideal result I want to reach is 10-15 seconds or less if possible. So I want to try BuildRoot or Yocto systems but I'm not sure with is better in this situation.
Shadyman has joined #beagle
Guest41 has joined #beagle
Guest41 has quit [Client Quit]
samnob has quit [Remote host closed the connection]
<zmatt>
Siegurd: you don't need yocto/buildroot to boot quickly, I got this boot time on a debian system after putting a bit of effort into optimizing it: https://liktaanjeneus.nl/boot.svg
bzyx has joined #beagle
<Siegurd>
zmatt can you tell what changes do you made? I Suppose you were editing kernel's *_defconfig file and build the kernel?
<zmatt>
shrinking the kernel will help (mine is under 4MB) since it's just less data for u-boot to load into memory
<zmatt>
getting rid of initramfs (it's normally not needed) helps for the same reason
<zmatt>
getting rid of unnecessary services helps
<zmatt>
I also switched the network manager from connman to systemd-networkd
<zmatt>
I should note this is on a beaglebone black, you'll always get a slower boot on a pocketbeagle since it doesn't have eMMC and can only boot from SD card
<zmatt>
oh yeah I also built u-boot without the boot delay
<zmatt>
I disabled RAID entirely in the kernel config
<zmatt>
though I think rcn's kernel already disables the RAID benchmarking anyway, iirc
<zmatt>
note that if you want to build customized version of rcn's debian kernel packages, he has tools that make it quite easy and convenient to do so
<Siegurd>
zmatt ok, i got the point. What exactly can I "safely" disable?
<Siegurd>
zmatt thanks by the way!
<zmatt>
I mean, that's kinda unanswerable since it depends on your situation...
<zmatt>
like, normally one of the first things I'd disable is generic-board-startup since nothing it does is useful to me, however you're using a pocketbeagle which doesn't have ethernet so you're presumably relying on usb networking, which by default is getting setup by that service
<Siegurd>
what can I start with? I need only UARTs SPIs USB (for external RNDA modem) things for my C++ program.
<zmatt>
getting rid of initramfs is a start
<zmatt>
i.e. remove /boot/initrd.* and to make sure they don't get regenerated "sudo apt remove initramfs-tools-core"
<zmatt>
I also have these notes on how to use systemd-networkd as network manager on beagleboard.org images: https://pastebin.com/3tjj3v3R ... which includes removing generic-board-startup and will definitely improve boot time.
<zmatt>
note however that the replacement setup only has an RNDIS gadget (supported by Linux and Windows, except whenever microsoft breaks it again on windows), as opposed to the default setup which has RNDIS (but setup differently I think) but also CDC-ECM or CDC-NCM (supported by Mac and linux)
<zmatt>
on the pocketbeagle you should obviously omit the eth0.network config file since it doesn't have ethernet
<zmatt>
disabling cape-universal and using an overlay to enable the peripherals you need and setup gpios also reduces boot time (by avoiding loading drivers you're not using and also reducing the amount of devices to be scanned by udev), though I think on the pocketbeagle you can't actually disable cape-universal
bzyx has quit [*.net *.split]
Morti has quit [*.net *.split]
samnob has quit [*.net *.split]
vagrantc has quit [*.net *.split]
Shadyman has quit [*.net *.split]
mgsb has quit [*.net *.split]
moto-timo has quit [*.net *.split]
insurgent has quit [*.net *.split]
paulbarker has quit [*.net *.split]
jfsimon1981 has quit [*.net *.split]
waldo323_ has quit [*.net *.split]
russell-- has quit [*.net *.split]
blathijs has quit [*.net *.split]
frostsnow has quit [*.net *.split]
denix has quit [*.net *.split]
mewt has quit [*.net *.split]
mag has quit [*.net *.split]
behanw has quit [*.net *.split]
ikarso has quit [*.net *.split]
ayjay_t has quit [*.net *.split]
sjhill has quit [*.net *.split]
ogra_ has quit [*.net *.split]
pbrobinson has quit [*.net *.split]
CygniX has quit [*.net *.split]
vagrantc has joined #beagle
insurgent has joined #beagle
paulbarker has joined #beagle
waldo323_ has joined #beagle
sjhill has joined #beagle
mgsb has joined #beagle
jfsimon1981 has joined #beagle
moto-timo has joined #beagle
pbrobinson has joined #beagle
ogra_ has joined #beagle
ayjay_t has joined #beagle
frostsnow has joined #beagle
russell-- has joined #beagle
denix has joined #beagle
bzyx has joined #beagle
Morti has joined #beagle
Shadyman has joined #beagle
ikarso has joined #beagle
samnob has joined #beagle
behanw has joined #beagle
blathijs has joined #beagle
mag has joined #beagle
mewt has joined #beagle
CygniX has joined #beagle
<Siegurd>
upd: just finished compilation of a buildroot. The final sdcard.img does not boot. Only the power led is flashing on the board... that's sad...
<zmatt>
flashing? o.O
<Siegurd>
sorry its just in ON state )
<zmatt>
ah
<zmatt>
well, can't help you with that, I know nothing about buildroot
<Siegurd>
I will try few things with buildroot and report on success. Maybe it will help someone.)
<Siegurd>
I wondering is there some utility that you can specify all your #define's and it will generate list of system services required. Or it's some kind of magic?