libera/#devuan-arm/ Wednesday, 2021-11-24

ham5urgNever used an ARM-cpu. My main-issue is that I don't know about its way of booting. Maybe it does not have something like an BIOS/EFI. So the boot-manager (if it can be called like that) would sit one more layer downward.23:07
ham5urgCan you light the boot process a bit up, before I would order a board?23:07
ham5urgIf there is an ATX based ARM board, I would take a look at it.23:08
c0rneliusI can't speak for ever arm board ever, but basically you need u-boot. Each SoC uses a different partition offset and they are pretty much all flashed differently to the img.23:10
c0rneliusever/every*23:10
c0rneliusSome use arm trusted firmware, amlogic uses boot fips provided by the vendor. Which can be created ur self, but are still in the end proprietary.23:11
gnarfaceham5urg: yea they all do it a little differently but basically what happens is it's hardwired to look at a specific byte-offset or range of bytes for something executable, then run it.  that thing is almost always these days either u-boot or a patched fork of it, which then initializes the hardware the way you'd expect a PC BIOS to, then hands off to Linux - once Linux is up it's pretty much the same from there out23:13
gnarfaceham5urg: there's been some marginally successful efforts to shoehorn some EFI and Grub crap in there between u-boot and the linux kernel so that RedHat's disk images can be universal but it's completely unnecessary and possibly insane to go through that trouble23:15
gnarfaceham5urg: s/executable/bootable/23:15
c0rneliusI would say the easiest u-boot to work with is Allwinner as you don't even need to offset the partition to flash it and its super easy to compile.23:15
gnarfaceyea the pine64 allwinner stuff should work with the mainline u-boot now, no extra patches23:16
gnarfacebroadcom's rasberry pi crap needs something super proprietary23:16
gnarfacemost the rest of the stuff just needs one or two patches23:16
ham5urgI understand, so u-boot is something similar to an BIOS/EFI? Maybe without GUI but that would be even better.23:16
c0rneliusNot a fan of EFI myself so I don't bother with it. Its like creating an extra step just to make one for no real reason.23:16
gnarfaceham5urg: it's a lot more like if someone tried to replace the BIOS/EFI entirely with a fork of the linux kernel23:17
ham5urggreat23:17
c0rneliusYou can create a simple gui type menu without EFI, using extlinux.conf23:17
gnarfaceham5urg: it has the same base functionality but it can actually do a lot more if you look at the full breadth of the build options it's basically a whole OS unto itself23:17
c0rneliusBUt even that is kind of over kill. No one is usually installing and boot multi kernels on an arm board.23:18
gnarfaceusually23:18
gnarfacethough it's becoming popular with pinephones23:18
gnarfacethere's a multi-boot fork of u-boot for pinephones called p-boot23:18
gnarface(specifically it adds a graphical menu that you can control with volume buttons)23:19
c0rneliusThere is also spi23:19
c0rneliuswhich hardkernel uses23:19
ham5urgI'm curious why there are no amd64-boards with uboot and removed efi? Is this a non-technical decision?23:19
gnarfacei don't think there would be any demand23:19
gnarfacewhat is more likely to happen is eventually we'll start seeing more arm64 boards with a bios23:20
ham5urgI would be the first customer to replace all efi23:20
gnarfacethe omission of the bios isn't a nextgen/upgrade type thing; is primarily a cost-saving effort by the manufacturers because clock chips cost23:20
ham5urgI don't understand what a clock chip has to do with it? I know that simple USB-clock-chips are a bit expensive.23:22
gnarfacei think that's the core feature they're cutting out23:22
ham5urgAnd that a amd64 is running on false time after a couple of days23:22
ham5urgARM cpu's have a built in clock chip?23:22
gnarfacei don't think they all have one23:23
ham5urgok23:23
gnarfaceamputated along with the bios and the non-volatile ram23:23
gnarfacebig complication actually; if you don't run ntpd on them you lose massive time while unpowered23:24
gnarfacenot a problem for phones and other mobile devices this stuff was originally invented for; nobody expected consumers to use any of this stuff without a battery23:24
ham5urgYes, I have a rs232 clock to circumvent that issue. clock mouse I guess it is called.23:25
ham5urgI was looking for a tiny usb clock, simmilar to the wireless-keyboard-dongle but never found one (for laptop use)23:26
gnarfacepine64 makes a smarwatch23:27
gnarfacesmartwatch*23:27
gnarfaceyou could probably make it do that23:28
gnarfacehell, you could probably just host a network time server on it23:28
gnarfacehaha23:28
gnarfacei'm having a lot of fun with pine64 stuff lately23:28
ham5urgMaybe even on their pencil :D23:28
ham5urgYeah, they are building a successful brand.23:29
gnarfacei really want to just get a massive stack of them and build a giant cluster but i have absolutely no purpose for it23:29
gnarfaceof the bare soc boards they sell23:30
ham5urgCalculate the ROI for XMR :D23:30

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!