-
voy4g3r2
markmcb: quick question on the lightbulb by the search button.. maybe a way to know that if you click it.. it goes from "dark" to "light" mode and visa versa? tooltip?
-
voy4g3r2
and surprsingly i like the light mode as a default over the dark mode.. but i could be picky
-
markmcb
voy4g3r2: there should already be one that says "Switch to light/dark mode". i see it on mine.
-
voy4g3r2
sorry i may misunderstand, i should see a tooltip?
-
markmcb
yes, if i hover my mouse over it, i see the "switch" text. if you don't, let me know your browser and i'll investigate. you may have to hover for a second or two for it to appear depending on your browser.
-
voy4g3r2
ohh.. there it is
-
voy4g3r2
took about 2 seconds.. never mind.. do not mind my nonsense
-
voy4g3r2
i as like.. oohh a cool button.. must press :)
-
markmcb
as for light/dark default, it should default to whatever your browser reports as a preference, which may be set in the browser, or by your OS informing your browser
-
voy4g3r2
yeah, i default to dark mode.. i just checked.. i use brave on mac os 10.15.7 as a reference point
-
voy4g3r2
i think that is all i can find.. if you are looking for any more suggestions.. let me know, that was a fun activity.. sure as hell beats learning about an assay and degrandant method using gas chromotography machines
-
voy4g3r2
it makes my head hurt.. lab people are an "odd" group.. of nerds
-
markmcb
sounds complicated :) thanks for all the feedback!
-
voy4g3r2
-
voy4g3r2
not too bad
-
voy4g3r2
trying to develop an interface between equipment and software.. is not easy when you are "lost" hearing.. well this peak has this indication but if you use this solvent in the pressurized gas chamber.. using a glass needle.. at this diameter the peaks may look the same.. but are not
-
o0x1eef
The interesting people clearly hang out on #freebsd :)
-
badkat
>:)-|--/-<
-
nimaje
markmcb: I dislike sticky headers, especially if they are that big and think the text in the header isn't really readable and the opacity thing makes it worse, no idea what foreground color would be good for that red background, also on the current main page, when you hover "Documentation" in the header you get a menu with more links (and for other topics there too)
-
markmcb
nimaje: thanks. if you're referring to the overall site header, please ignore, along with the footer. i used a mkdocs-material template for a rapid prototype. i'll work on integrating with the header/footer you see on the the existing freebsd documentation page. (referring to
freebsd.markmcb.com for anyone wondering)
-
ant-x
Has anybody present ever installed FreeBSD on an RPi?
-
rtprio
yeah
-
ant-x
Any special problems/difficulties?
-
rtprio
nope. dd the image, boot the pi, let it resize the partition, good to go
-
ant-x
No installation -- just running from an image?
-
hodapp
I ran it on a Pi awhile back. Can't recall any major issues
-
rtprio
yep, just run from the image
-
hodapp
I think not all of the hardware is supported quite as well as Linux, but that's to be expected and I can't remember specific examples
-
rtprio
sd cards are so cheap, you've got nothing to lose trying it
-
rtprio
just slap your old one in of you don't like it
-
ant-x
I wonder if it will support RPi DAC+ <
raspberrypi.com/products/dac-plus> .
-
» hodapp tries to remember why he quit using FreeBSD on his Pi...
-
ant-x
hodapp, Indeed.
-
ant-x
How do you guys set up media automounting on your desktop/laptop FreeBSDs? It seems not very easy to me...
-
rtprio
ant-x: with autofs?
-
ant-x
I have found and installed <
github.com/vermaden/automount> -- a non-trivial shell script for devd. I think I installed after reading the criticism of autofs here: <
vermaden.wordpress.com/2018/10/11/f…p-part-17-automount-removable-media> .
-
ant-x
Can autofs mount media with rw permissions for unprivileged users?
-
ek
ant-x: I suppose it depends on definition of unprivileged users. But, I don't think anything can mount anything for unprivileged users?
-
ek
Well, aside from root or something. And, even then, only root would have those privs.
-
ant-x
I didn't ask whether an unprivileged user could mount media, but whether automounting could be set up to make the media fully accessible for non-privileged users. In the context of the desktop FreeBSD, I mean my normal user account on PC.
-
ek
No
-
ant-x
Why not? I don't want to sudo, doas, or change to root to write an a USB flash drive...
-
ant-x
The abovementioned `automount' mechanism by vermaden does mount removable media with rw permissions for normal users.
-
rtprio
well then use that
-
ant-x
OK, but I was wondering about what's available in FreeBSD natively, without resort to third-party solutions.
-
rtprio
he mentioned autofs is native
-
ant-x
Yes, it is. He also says it mounts on first access, rathe than when the media is inserted. And he does not say anything about the permissions on FSes mounted by autofs.
-
regis
ant-x: allowing unprivileged system users to mount given devices can be set with devd(8) and devd.conf. Some stuff there is pre-set and you only need to add given user existing in /etc/group (group(5))
-
BarnabasDK
used autofs quite a bit. It only mounts when you actually do an operation on the mounted device
-
ant-x
regis, Thanks. I have found that accounts can be configured to have mount permissions: <
forums.freebsd.org/threads/mounting…t-user-freebsd-10.45860/post-256415> .
-
regis
ant-x: Apologies, scratch it!
-
BarnabasDK
works quite well on networked devices like nfs and smb too
-
regis
ant-x: it's devfs.rules(5)
-
ant-x
BarnabasDK, I suspect it is not very convenient for USB sticks...
-
BarnabasDK
no, then it is the oter way around
-
regis
ant-x: Yup - this stuff you've found by yourself. Again: apologies for my comment about devd.
-
BarnabasDK
but assuming the drive is inserted and not mounted
-
BarnabasDK
no systemd on freebsd fortunately
-
ant-x
I am not calling for systemd.
-
BarnabasDK
no :-) did not think you where
-
ant-x
Hmmmm. I downloaded <FreeBSD-14.2-RELEASE-arm64-aarch64-RPI.img.xz>, extracted the image, dd'ed to a MicroSD card and tried to boot my RPi 4 from it. It starts booting, but goes into reboot again after some 20 seconds into the boot process...
-
BarnabasDK
turn off secure boot? - just a guess
-
ant-x
I don't think I needed to prepare the SD card in any way, because dd writes raw, didn't I?
-
BarnabasDK
then enroll the key and turn it on again
-
BarnabasDK
provided your bios cooperates
-
ant-x
Let me check.
-
rtprio
raspberry pi's have a secure boot?
-
rtprio
what?
-
BarnabasDK
I think pi4+ do
-
BarnabasDK
never used it o
-
BarnabasDK
.. on a pi though
-
ant-x
At least, I got me <
eklhd.com/download/kvm_21ua_41ua.html> to use both two computers simultaneosly.
-
regis
ant-x: I haven't played with RPi 4 (initial RPi 1 from 2011 works great 24/7 for 13 years now and suits my needs) but if you got it to boot - you likely dd'd the image properly. No idea about the Secure Boot stuff on RPi 4 though.
-
ant-x
Well, it it fails after detecting my mouse, so I guess I am getting /past/ whatever BIOS barriers may be there...
-
BarnabasDK
ant-x, you definately do
-
regis
Try to unplug USB devices, just to test if it boots without mouse and other such devices
-
BarnabasDK
so does it panic?
-
BarnabasDK
regis +1
-
ant-x
I do not see any panic messages, will try without devices.
-
ant-x
regis, it has booted without mouse and keyboard, and recognised the keyboard when I plugged it back in. Thank you.
-
ant-x
There are tons of errors, however.
-
BarnabasDK
lets have it
-
ant-x
Now, the prompt is mountroot> , and typing ls gives: Invalid filesystem specification.
-
ant-x
It is rebooting again. I will check dmesg.
-
BarnabasDK
then the system really did not boot - not finding the root system
-
BarnabasDK
I think this is more a problem with the image you try to boot than the hardware you try to do it on
-
ant-x
Yes. It prints that error in answer to /any/ command.
-
BarnabasDK
but it is just a gut feeling
-
regis
ant-x: Doesn't seem right - it got up to the boot loader but there's nowhere to read kernel and userland from. Far from normal. Are you sure that dd image was written in full to the SD card? What's the size of the card?
-
ant-x
Hmmm. Did I download the wrong image? There was only one for RPI, perhaps I misclicked..
-
ant-x
dd took a long time to write it, and reported no errors, and about 5 GB of written data (IIRC).
-
regis
ant-x: The image you mentioned (arm64-aarch64-RPI.img.xz) seems right. You did unpacked it to img before flashing the card, right?
-
BarnabasDK
regis, I do not think he would get to the mountroot> prompt then
-
ant-x
Of course, I unxy'ed it.
-
ant-x
The card is 64 Gb.
-
ant-x
I have to recheck whether I downloaded the RPI image.
-
regis
BarnabasDK: I've seen weird "compatibility layers" trying to make sense of stuff and failing. Just wanted to make sure.
-
BarnabasDK
regis, sure
-
BarnabasDK
but the system did pick up on some of the boot sector here
-
ant-x
Yes, I downloaded the right one.
-
BarnabasDK
and I really don't think ARM does much in the way of compability - they mostly do their own thing
-
ant-x
Check the controls sum, probably?
-
BarnabasDK
ant-x, good idea
-
BarnabasDK
or more specifically compability with amd64
-
ant-x
Yikes, the control sums of the website are for .xz, rather than for .img.
-
BarnabasDK
ha ha
-
rtprio
as one would expect
-
ant-x
OK, re-downloading...
-
BarnabasDK
well, the latter would take into consideration faulty hw when unpacking
-
ant-x
By the way, extracting takes time on RPi (with Raspbian).
-
BarnabasDK
ant-x, they where never made for speed
-
regis
Were you extracting xz on RPi itself and flashing it on its own card...?
-
ant-x
regis, extracting it on RPi, and flashing to another SD card, connected via a USB adapter.
-
regis
ant-x: Any chance you could do this part on another hardware?
-
ant-x
Yes, but not now.
-
ant-x
All I can do now is repeat the process on RPi.
-
ant-x
Or use RPi USB flasher program (could it work for third-party images?)
-
BarnabasDK
it has quite a list of images already
-
BarnabasDK
did you check to see, if FreeBSD was under the "headless" part?
-
BarnabasDK
-
BarnabasDK
wb7odyfred post
-
regis
ant-x: I'm just guessing as you're quoting the proper procedure, but I never found using filesystems mounted under RPi's USB ports reliable. And while iirc the SD socket works under the USB stack, I've had issues with HHD and SSD drives connected to USB even when they had external powering. In your case under-powered SD card connected via an USD adapter is not an issue. But my point is: I've never
-
regis
had issues like this when I was flashing SD cards on MacOS or PC Linux.
-
ant-x
The native RPi Imager asks me for a root password, but there is none!
-
BarnabasDK
so blank?
-
ant-x
I'll have to reconfigure my Raspbian for that imager to work.
-
ant-x
RPi does not use root authentification by password by default.
-
BarnabasDK
the dude in the freebsd forum above seems to have made it work
-
BarnabasDK
eg using the rpi tool to install freebsd
-
ant-x
Perhaps I can start the imager via sudo, for a simple solution.
-
ant-x
sudo rpi-imager has helped with the permissions.
-
BarnabasDK
if you are to write directly to devices, you almost always need root
-
regis
sudo isn't native to FreeBSD, but maybe available on RPi images as it's released under ISC and not GPL-like license. But if you haven't got an error after `su` and running `dd` it shouldn't be an issue calling for sudo.
-
ant-x
Yes, and the Imager programs aks me for a root password, even thought password auth is disabled for root on Rpi.
-
BarnabasDK
ok .. then just be a rebel and do sudo bash ..
-
ant-x
My RPi has Raspbian on it, where there is of course a sudo.
-
BarnabasDK
you should be at bash#
-
regis
BarnabasDK: bash is definitely not available natively. See my license-related comment above.
-
regis
Although, if it was done on Raspbian or such...
-
BarnabasDK
any shell then
-
ant-x
-
ant-x
I am glad FreeBSD uses a more standard Bourne shell by default, and a more standard vi (nvi), rathen than vim.
-
ant-x
regis, the image is flashing, and my cable shows a power of 4.4W.
-
regis
ant-x: I'm not but it's just license discrepancies. I personally use a lot of GNU stuff on FreeBSD. It just can't be bundled with the default installation due to the licensing stuff.
-
ant-x
Does FreeBSD has something like GNU screen, only non-GNU?
-
regis
s/GNU/GPL/, duh.
-
ant-x
Yes, I read it that way.
-
ant-x
No, I didn't :-)
-
regis
ant-x: screen and tmux are available via ports and pkg. These are mechanisms providing an easy way to install GPL software. It just can't be bundled within the default installation.
-
regis
`pkg install screen`. That's it.
-
ant-x
Yes, I know.
-
ant-x
(about pkg)
-
ant-x
It has bash and vim too, likely.
-
ant-x
The native RPi Imager is doing more than dd: a) zeroing-out start and end of the medum, b) veryfing after burning.
-
ant-x
I will be disappointed if it does not boot still.
-
» ant-x crosses fingers on all the four limbs.
-
regis
ant-x: Back to your problem. My only idea is that you should test if the issue appears if you flash the image on another machine. It's only based on the fact that doing it this way always worked for me. I believe I never tried to flash images onto devices connected to RPi and somehow poor experience with RPi USB ports, both under booted FreeBSD and "native" Raspbian.
-
ant-x
OK. If that fails, I'll try it. Perhaps, then, you got an broken RPi, a poor power-supply, or a poor power USB cable.
-
regis
ant-x: Also, I don't know "RPi Imager" but you also have mentioned that "dd took a long time to write it" so I guess that you tried using plain dd, too?
-
ant-x
regis, my first attempt was with the plain dd. Now trying with RPi Imager.
-
ant-x
The news Raspbian uses a different GUI -- slow like cold honey. The verification is complete, I will not boot my RPi.
-
BarnabasDK
regis, rpi imager is a tool for writing flash images to your sdcard. Not ported to freebsd. But it is definately in debian related linuxes
-
ant-x
It has booted with a similar wall of errors. It failed to mount rootfs with error 19.
-
ant-x
BarnabasDK, I am using RPi imager from under Raspbian OS.
-
BarnabasDK
in all honesty maybe you are better of asking this question in #rasberrypi
-
ant-x
I can try some other OS now -- just to make sure the problem is /not/ in the FreeBSD image.
-
ant-x
I could try them, too
-
regis
Well, my oldschool RPi 1 sports Raspbian as FreeBSD has no support for 1-wire sensors I slapped onto its GPIO. But I've never had issues with booting FreeBSD on RPi 1, 2 and 3. I just never bought 4 and tested it with FreeBSD, after the COVID-related chip market shitshow. I've switched with some of my basic needs to even less power-hungry ESP32.
-
regis
BarnabasDK: I got the idea and am just mentioning that I never used it. Plain `dd` never failed me.
-
hodapp
I have a Pi 4 which I use approximately never
-
hodapp
it's in an awkward niche between way overpowered for a lot of tasks, and way underpowered for others
-
BarnabasDK
I have 11 pi 4s .. all running pios though ..
-
hodapp
I still call it Raspbian because I always forget the name changed
-
ant-x
Guys, I have gotten into the admin console somehow. If you have ideas what I can check from there, shoot!
-
BarnabasDK
"admin" console ?
-
ant-x
What is it called on FreeBSD? The single-user mode, or somehing. The KVM switching makes it unresponsive, however.
-
ant-x
It was some console with a limited set of functions.
-
ant-x
It can be provided by the bootloader on the RPi image...
-
regis
hodapp: very good description of the under/over-power abyss experience. I've seen folks running desktop on Pi 4 and folks wording the experience in a way I won't quote, when trying to run ML models on it even with some "hats" marketed as capable of image recognition and such.
-
hodapp
it's like an overgrown microcontroller and/or anemically slow "real" processor
-
hodapp
it's still neat what some people have done with it, in the same sort of way as older video game consoles where the hardware was fixed and people found a way to really exploit the fast paths it *did* provide
-
BarnabasDK
ant-x, the bootloader definatly does not provide single user mode
-
BarnabasDK
you need the kernel loaded for that
-
mzar
issue "boot -s" at command prompt
-
ant-x
It's too difficult, becase KVM switching makes that console useless. I am not trying to boot another image, using the same procedure. If I succeed, it will prove something is wrong with the FreeBSD image.
-
mzar
add "-" to /boot.config
-
mzar
add "-s" to /boot.config
-
ant-x
mzar, you mean locate it in the image from under another OS/machine? I can try that after this test with the Void Linux RPi .img .
-
BarnabasDK
mzar, we are not trying to boot into single user, just boot at all
-
BarnabasDK
first things first
-
ant-x
Am I right that dd if=image.img of=/dev/sda is sufficient to burn an image to an SD card?
-
BarnabasDK
bs could be important
-
mzar
OK
-
BarnabasDK
aka block size
-
ant-x
bs for speed-up?
-
ant-x
I was using bs=1MB according to the official FreeBSD instructions.
-
BarnabasDK
should be ok then I guess
-
BarnabasDK
never used anything else than these three parameters
-
BarnabasDK
if,of and bs
-
BarnabasDK
bs most important if you write to a phys device I think
-
duncan
hodapp: remember the original raspberry pi was a ploy by broadcom to sell a really, really bad video processing microcontroller no-one would buy. they are what is available and popular (and many alternatives are much worse) so we're stuck with it
-
BarnabasDK
duncan, well this is version 4 of the pi
-
ant-x
Void Linux booted perfectly, after dd with the default bs.
-
regis
> bs for speed-up
-
regis
flashing speedup only, it's the block size written by dd
-
ant-x
Shall I try to dd without bs with the FreeBSD image, or is chance it helps near zero?
-
mzar
ant-x: please don't hesitate to do some experimentation
-
ant-x
Void Linux event set the correct graphics mode for my 1600x1200 display connected via VGA.
-
regis
bs only impacts writing/reading speed (in this case writing) and has no impact on whether the result is written properly on the destination. It can only speed-up the procedure of writing an image on the SD in this case.
-
BarnabasDK
mzar, +1
-
mzar
that's Linux, we are on #freebsd channel
-
BarnabasDK
mzar, well since it is compiled to a RPI image you might expect it to behave somewhat similar
-
ant-x
I tried a Linux image to see if I should get the same error as with the FreeBSD image -- that's fair use.
-
BarnabasDK
ant-x, agree
-
regis
mzar: read-up. He did everything properly and tried different tools. My only guess is that there's some flaw with the USB adaptor used on Pi to write an image on USB-attached disk, to only boot it later on the same Pi. I've suggested to flask this image onto the SD card using a separate Mac or Windows/Linux machine because in my case that always worked properly.
-
ant-x
regis, noted. But observe that a different .img booted properly.
-
BarnabasDK
or .. maybe try an earlier image .. if you can find it - just to rule out any problems with the image you tested
-
mzar
ha.. so guys are flashing SD via usb sd-card reader from RPi ?
-
ant-x
Yes, and it works in /some/ images.
-
ant-x
The RPi Images has a verification stage, it passess OK.
-
regis
ant-x: Cool! And sorry - I focused on another channel for a moment and haven't fully caught up here.
-
regis
ant-x: Ah, so Linux booted but not any FreeBSD. Got it.
-
mzar
TBH I'd blame this USB device and it's support from FreeBSD, encountered problems wiht them in the past
-
BarnabasDK
mzar, but the image was written in linux?
-
ant-x
regis, Yes, although I have tested only with one Linux image and one FreeBSD image. I can try another FreeBSD image for RPi if I find it.
-
BarnabasDK
or .. pios
-
ant-x
BarnabasDK, both the images are downloaded, unpacked, and written on Raspbian on RPi.
-
BarnabasDK
yes
-
BarnabasDK
so .. freebsd drivers - not in the loop of failure
-
BarnabasDK
not until you boot that os at least
-
BarnabasDK
or am I wrong
-
ant-x
Is there a way to pause the booting process to read all the errors from the screen. It has several register dumps.
-
ant-x
I'd hate to record a video of the monitor to do that.
-
» ant-x has no smartphone.
-
regis
BarnabasDK: As I undersand: FreeBSD with mouse conncted is in a reboot loop, with USB devices connected only boots until bootloader but doesn't see any filesystems too boot from, but Linux loads fully(?)
-
regis
ant-x: ^ do I get it right?
-
mzar
use dd with bs=1M at least, issue "sync" command later and wait for command prompt - should do the job
-
regis
sorry, with USB devices DISconnected!
-
BarnabasDK
regis, I do not think we ever achived a fully running os
-
ant-x
regis, somehow or other, it stopped loop-rebooting even with the mouse, after flashing with the RPi Imager. Sorry, if I did not report that.
-
ant-x
mzar, why the sync command, if dd reports when it has finished? OK, I can try that.
-
regis
ant-x: But with FreeBSD, it never got past the boot loader. With linux you got the actual OS loaded. Correct?
-
BarnabasDK
regis, confusion about "admin" consoles, no consoles and boot prompts
-
mzar
sync && sync && poweroff - old school
-
ant-x
regis, In Linux -- all is well, yes. In FreeBSD -- I don't understand exactly where it breaks, but there is a wall of errors, and no rootfs at the end.
-
ant-x
OK, I will now try the FreeBSD image again, and sync & sync & poweroff.
-
ant-x
Can anybody point to an older version of an image for RPi 4?
-
mzar
ha.. one "sync" will be enough nowadays
-
ant-x
Later I can try to record the video of the boot process with someone else's smartphone or a digital camera.
-
BarnabasDK
hmm is there any mandatory elements that need to be in the boot.conf for RPI?
-
BarnabasDK
that may not be there
-
ant-x
-
BarnabasDK
problem with the image then ..
-
ant-x
BarnabasDK, I have not seen mentioned of any mandatory elements in any of the installation instructions.
-
BarnabasDK
no, and it should be a part of the image
-
regis
BarnabasDK: The installer from public img *should* load just fine with no need to changes made to boot.conf. Where would one even do them?
-
BarnabasDK
yes
-
BarnabasDK
speculating out loud
-
BarnabasDK
afaik - it should boot
-
regis
Now I'd really love to have a Pi 4 at hand to quickly test this case on my side and be able to say "works for me" or "yeah, seems fucked up".
-
ant-x
That's mighty kind of you, regis. I am now downloading the 14.1 .
-
BarnabasDK
I do, but none I can just flash like that
-
BarnabasDK
they are all in production
-
mzar
how do they work for you? any issues with NIC ? is network performant ?
-
BarnabasDK
can you boot it emulated on hw
-
BarnabasDK
mzar, no mine are not running freebsd
-
BarnabasDK
pios
-
mzar
I see
-
ant-x
The new Raspberry Pi OS is one big regression, UI-wise. (just a rant),
-
ant-x
What do you suggest -- that I test both & sync, and a different FreeBSD version at once?
-
ant-x
Anyway, I hardly believe the 14.2.img can be broken on the offical site, and no one noticed.
-
BarnabasDK
.. there is a UI to the PIOS freebsd thing?
-
ant-x
Or are the so few RPi users?
-
BarnabasDK
expect a console I should think ..
-
ant-x
BarnabasDK, I am talking about the Raspbian OS for Rpi.
-
ant-x
As to FreeBSD, I can install Xorg and a window manager.
-
BarnabasDK
ah
-
regis
That's a use-case thing. For me RPi was never a GUI thing but rather a low-power host to connects sensors to. And I mentioned that I switched some of these needs to ESP32 (even though I hate this weird Arduino C/C++ abomination).
-
ant-x
regis, yes. But it used to have tolerable GUI by default, before this huge upgrade to wayland & co.
-
BarnabasDK
ant-x, obviously, but out of the box it will be a normal root>
-
ant-x
BarnabasDK, that's expected.
-
BarnabasDK
yes
-
ant-x
By the way, I have never managed to setup xfce of FreeBSD, only a bare window manager. But I am looking too much forward...
-
mzar
do you expect to run xfce on this rpi ?
-
ant-x
Why not? It worked very well on the Raspbian.
-
ant-x
With LXDE, IIRC.
-
» mzar fades out
-
BarnabasDK
ant-x, as long as X works, the rest will too
-
BarnabasDK
wayland .. maybe
-
ant-x
NO wayland, please.
-
ant-x
It will, after I manager to configure it.
-
BarnabasDK
well, if you look at linux, wayland does blow X out of the water
-
BarnabasDK
it is just faster
-
ant-x
I remember, I installed the xfce package, but didn't know where to configure it so it really started.
-
BarnabasDK
but . I do not know the state of the implementation of FreeBSD
-
ant-x
It may be faster, because of the tighter architecture.
-
BarnabasDK
and no network nonsense
-
ant-x
Yes.
-
ant-x
Rather, client-server nonsense.
-
regis
ant-x: I appreciate and support your needs. I'm only mentioning that my use-case is different. And that's why I still have a 2011 Raspberry 1 A with no ethernet port still in use. It's a low power device, works perfectly to gather data from 433 MHz ESP32 devices and deliver it over 433 MHz to upstream with more interfacing options. Again - it's an use-case thing.
-
ant-x
A friend of mine told me he didn't understand the use for RPi, because there are equally small devices that are more powerful and less expensive.
-
BarnabasDK
i know of very few that run X across a wire today - from a server to a dumb client
-
BarnabasDK
the client almost always is a full on host
-
ant-x
It is an interesting feature, but very rarely used indeed.
-
BarnabasDK
aka death of dumb X11 xconsoles
-
BarnabasDK
I really want a vt 520 amber text console if I could find one
-
BarnabasDK
ps2 compatible
-
ant-x
I hear there are still compatibliyty problems of old GUI programs with wayland. Does GTK2 stuff work well on it?
-
BarnabasDK
but the gui stuff, is just dead
-
ant-x
Will, twm (the standard X11 window manager) work in Wayland?
-
BarnabasDK
wayland is supposed to implement the entire x11 protocol sans the network things
-
ant-x
BarnabasDK, you have space for a CRT?
-
ant-x
Not there yet, probably. But I am glad it does.
-
BarnabasDK
I want one in my kitchen - for recipies
-
BarnabasDK
there are some panel ones too, you could use for home automation etc
-
BarnabasDK
with touch ..
-
BarnabasDK
all in amber yellow
-
ant-x
I'd like a CRT for old games: <
datagubbe.se/crt> .
-
ant-x
Ah, you mean modern devices, not the old style monochrome CRT terminals?
-
» ant-x is dd'ing 14.1....
-
ant-x
VT 520 is cool: a monochrome text temrinal from the age of color CRT displays.
-
BarnabasDK
if you do not want a crt, the final make is just the controller and a connected vga
ebay.com/itm/141627229957
-
ant-x
Here are some photos from a CRT display I gave away several years ago. Now I am missing it: <
freeshell.de/~antonius/plusups/screens> .
-
BarnabasDK
works with your out of the box flat screen
-
BarnabasDK
but whats the difference from a ssh console then?
-
BarnabasDK
none
-
ant-x
You do not typically run SSH with a physical historical display.
-
ant-x
The same difference as between owning a retro PC or emulating it.
-
BarnabasDK
what I am saying is, if you want an actual console, it should be analouge to the port of the server
-
armin
<- atypical
-
BarnabasDK
and to your display too
-
ant-x
By the way, the official install instruction for RPi does not mention `sync': <
freebsdfoundation.org/resource/installing-freebsd-for-raspberry-pi> .
-
BarnabasDK
and I just have played too much fallout
-
ant-x
The 14.1.img is dd'ed and sync'ed, and the RPi poweroff'ed. Let us see what we shall see.
-
BarnabasDK
-
BarnabasDK
a vt420 in the kitchen, not mine
-
BarnabasDK
pro - none of your millenial plus kids would know anything about what to do with it ..
-
BarnabasDK
which also reveals my age I think
-
BarnabasDK
I think there was a "white" and a "green" and an "amber" version
-
ant-x
The 14.1.img has had some of the same errors, but it booted, at least. It has failed to set the correct resolution for my display. The textmode console at the wrong resolution is killing my eyes, but it is there!
-
BarnabasDK
if you are considering "resolution" you are not in console mode
-
ant-x
During the process, it said it had resized some partition.
-
BarnabasDK
ah
-
BarnabasDK
sorry my bad
-
ant-x
I don't remember anything, including the root credentials.
-
ant-x
I haved logged in as freebsd:freebsd.
-
ant-x
There have been no actual installation or installer.
-
BarnabasDK
ant-x, all of these antics should not be necessary. Once you flash the image to the drive, provided you have a sane bios, that should be it.
-
BarnabasDK
so, something is wrong with the flashing process
-
ant-x
BarnabasDK, antics like what? Since 14.1.img boots (as well as a Linux), 14.2.img does not boot, I think the 14.2 is broken.
-
BarnabasDK
yes ..
-
BarnabasDK
but it should boot completely to a root: login
-
ant-x
It did.
-
ant-x
I am there, at #
-
BarnabasDK
ok, so what is the problem now
-
BarnabasDK
you are probably at the single user prompt
-
ant-x
Shall I run the TUI installer?
-
BarnabasDK
the "TUI" installer?
-
ant-x
I think I am at the normal prompt, not single-user.
-
ant-x
Yes, the FreeBSD installer with a pseudo-graphical interface.
-
ant-x
-
BarnabasDK
you already installed freebsd
-
BarnabasDK
how would you else boot it?
-
ant-x
I think that program can be run again to change the configuration. Otherwise, I'll have to configure everything with by hand.
-
BarnabasDK
if you are at the # single user promt just "exit" and the boot process will continue to full user
-
BarnabasDK
load all services
-
BarnabasDK
and give you a real user login promt
-
ant-x
It is fully booted to normal user, and it didn't even show a boot menu.
-
ant-x
At the prompt, I logged in as `freebsd' with password `freebsd'.
-
BarnabasDK
so the entire system must be up
-
BarnabasDK
whats the problem?
-
ant-x
First of all, thanks for helping me install FreeBSD, by tryging another image. The major problem is the 14.2 image seems broken, but I guess I can upgrade to 14.2 by hand.
-
BarnabasDK
do you know the difference between a boot menu login thing and an actual login prompt to our os
-
BarnabasDK
sorry if I am direct
-
BarnabasDK
I am Danish
-
BarnabasDK
we are like that
-
ant-x
I have seen the boot menu a while ago, and do not remember the difference. No.
-
BarnabasDK
ok. so in order to move on, we need to figure out where you are in the boot chain
-
BarnabasDK
reboot from cold
-
BarnabasDK
what is the last thing your computer writes to your console
-
ant-x
From cold -- by turning the power off?
-
BarnabasDK
yes
-
ant-x
The last thing before the promt when it boots?
-
BarnabasDK
the last thing it outputs after it restarts
-
BarnabasDK
maybe you could cutn paste the entire thing
-
ant-x
Cut and paste is out of the question -- between two machines, and one not connected to the internet yet.
-
BarnabasDK
dmesg is still there
-
BarnabasDK
basically, how do we know the boot was "bad"
-
BarnabasDK
where did you end up
-
ant-x
The last thing before the login prompt is: FreeBSD/arm64 (generic) (ttyv0)
-
BarnabasDK
but you got a login promt?
-
ant-x
BarnabasDK, I don't think it was "bad" this time!
-
BarnabasDK
ant-x, me too..
-
ant-x
Yes, I got it: login:
-
BarnabasDK
seems ok
-
BarnabasDK
give it a login
-
BarnabasDK
and you should get a csh promt
-
ant-x
Yes, 14.1 works.
-
ant-x
Yes, I can login as root
-
BarnabasDK
sweet
-
BarnabasDK
although, you should not do that
-
ant-x
Yumm.
-
BarnabasDK
ever
-
ant-x
Why not, even for initial setup.
-
BarnabasDK
if you have direct access to the hw it is ok
-
BarnabasDK
else - no
-
ant-x
My RPi is right here, so I do have direct access to the HW.
-
BarnabasDK
yes
-
BarnabasDK
so noone is fucking around with you with virtualized hw
-
BarnabasDK
speaking from exp
-
BarnabasDK
to get your keys, etc
-
ant-x
Ah, I see.
-
BarnabasDK
usually aholes from India
-
BarnabasDK
anyways, I do not understand exactly what you did differently.
-
BarnabasDK
what worked for you
-
BarnabasDK
and for the sake of this channel
-
ant-x
I think this is a global problem 14.2.img for RPi.
-
BarnabasDK
ah, so a different image fixed it?
-
ant-x
Yes..
-
BarnabasDK
ah ..
-
ant-x
What did you think?
-
BarnabasDK
had no idea
-
BarnabasDK
just a suspicion
-
ant-x
It could have been & sync, too: because I used a differnt image /and/ added & sync to the dd command.
-
BarnabasDK
but if the image you tried is borked - this should be taken offline imho untill it can be re tested
-
BarnabasDK
or left offline for a new one
-
ant-x
So, should pciconf list my videocard? All I see there is the network adapter and USB controller.
-
BarnabasDK
ah, you may need to load some drivers
-
ant-x
I could report the problem via the official channle, only I'd hate to reinstall FreeBSD again. Perhaps I can reproduce it with another SD card.
-
BarnabasDK
nah, I think enough ppl have seen this chat
-
ant-x
I thougth I could list the devices to determine which drivers I need.
-
BarnabasDK
well what is your gpu?
-
ant-x
I have to lookup the RPi 4 specs to tell you. Will do.
-
BarnabasDK
sorry, I should have cought that one
-
rtprio
... is the sd card bad?
-
rtprio
i've never heard of anyone having this much trouble with it
-
BarnabasDK
sudo apt-get install raspberrypi-ui-mods lxde lxde-core lxterminal lxappearance lightdm
-
BarnabasDK
forget that
-
ant-x
rtprio, I don't think the SD card is bad, but it may be. Now FreeBSD works, at least.
-
BarnabasDK
yes
-
ant-x
I don't know how to configure hardware not listed by pciconf. E.g. the videocard is not even mentioned in the specs: <
raspberrypi.com/products/raspberry-pi-4-model-b/specifications>.
-
BarnabasDK
so do you want a gui or just the console
-
BarnabasDK
which I believe you have
-
ant-x
BarnabasDK, I will want a GUI, but not at this state. At this stage I want a nice console working the display's native resoltuion, 1600x1200.
-
ant-x
Yes, I have the console.
-
BarnabasDK
the res really makes no sense with relation to the console
-
BarnabasDK
it is what is it is
-
BarnabasDK
chars one way and the other
-
ant-x
BarnabasDK, it does make sense, because the display still shows pixels.
-
BarnabasDK
no pixels
-
ant-x
Yes, chars are bitmaps made of pixels.
-
BarnabasDK
no
-
ant-x
For example, the current mode in the console is 640x480.
-
BarnabasDK
they are definately not
-
BarnabasDK
that is a new thing
-
ant-x
Console fonts are bitmaps.
-
BarnabasDK
yes
-
BarnabasDK
in new freebsd
-
BarnabasDK
for anyone else we are talking about ansi char mapping
-
ant-x
The monitor is not a terminal: it receives a raster image, not character-cells.
-
BarnabasDK
yes
-
BarnabasDK
so - not a terminal
-
BarnabasDK
but a GUI
-
ant-x
So, my first task is to cause it to work at its native reslutiohn -- which that Void linux picked up automatically.
-
ant-x
I am talking about the text-mode console on my RPi, no GUI there yet.
-
ant-x
Perhaps I need a framebuffer console...
-
ant-x
How do I make sure that I use the vt driver: <
man.freebsd.org/cgi/man.cgi?query=vt> ?
-
rtprio
are you using GENERIC kernel?
-
rtprio
ant-x: ?
-
ant-x
Yes.
-
rtprio
it's the default
-
ant-x
I see. Thanks. I'll try setup the correct resolution for my console.
-
ant-x
This is what I have in dmesg: VT(efifb): resolution 592x448
-
ant-x
Ah, I didn't know there was no WiFi for RPi on FreeBSD: <
wiki.freebsd.org/arm/Raspberry%20Pi> .
-
ant-x
As to the console resolution, perhaps I need a KMS driver, which I must download first.