lanefu changed the topic of #armbian-rockchip to: Armbian - Linux for ARM development boards | Rockchip SoC | www.armbian.com | This channel is relayed to the equivalent Discord channel | this channel is logged
<Armbian-Discord>
<c0rnelius> is there some reason uefi wouldn't be able to do this?
<Armbian-Discord>
<amazingfate> Uefi need device specific configs for each board. At this moment not all hardwares on rock3a are supported, for example only one usb3 port is working.
<Armbian-Discord>
<c0rnelius> GPT is already a must for most of these and UEFI has been apart of u-boot for some time.
<Armbian-Discord>
<c0rnelius> Alright, as I don't own any of these I'll take ur word for it. What are you using? grub, etc.
<Armbian-Discord>
<Tenkawa> It seems like a lot of extra work too
<Armbian-Discord>
<Tenkawa> The Odroid-M1 was a very easy 3568 to get going
<Armbian-Discord>
<Tenkawa> with extlinux
<Armbian-Discord>
<c0rnelius> My own experience is, its mostly just handoff. UEFI hands off to say grub and grub loads the kernel.
<Armbian-Discord>
<amazingfate> I intend to use grub. I will figure out how to migrate from uboot boot.cmd to grub on armbian.
<Armbian-Discord>
<c0rnelius> If you don't tell grub to be specific with the DTB it will depend on uboot to define them and in that case, most things won't work. Unless the u-boot dtb is very well documented and written.
<Armbian-Discord>
<Tenkawa> Heh ok..
<Armbian-Discord>
<Tenkawa> I had no intention myself to use grub
<Armbian-Discord>
<amazingfate> yeah I think it's better to let kernel just load dtb instead of getting acpi from uef
<Armbian-Discord>
<c0rnelius> in most cases for sure.
<Armbian-Discord>
<c0rnelius> I've gotten away with it on some boards, but really. grub should be using the linux dtb.
<Armbian-Discord>
<c0rnelius> I think uefi is pretty neat. But I've yet to find a practical reason to use it on arm devices.
<Armbian-Discord>
<amazingfate> You can install a system from official iso. Flashing a whole disk image works but that will lose many features such as partition setup.
<Armbian-Discord>
<c0rnelius> my main argument against it is.. none of my wireless usb keyboards work with it. so there is no point of having a menu, as I can't interact with it.
<Armbian-Discord>
<c0rnelius> could just be me? but seeing as my wired keyboards work most of the time, its a prob.
<Armbian-Discord>
<Tenkawa> Yeah no preboot wireless usb keyboard kinda is a fail for HID
<Armbian-Discord>
<c0rnelius> big time
<Armbian-Discord>
<c0rnelius> lets create this great menu and get all this multi boot going on. by the way, you can't interact with it.
<Armbian-Discord>
<Tenkawa> aww isn't it just a screen to watch?
<Armbian-Discord>
<c0rnelius> a lot of RK u-boot is also super broke.
<Armbian-Discord>
<Tenkawa> ya
<Armbian-Discord>
<c0rnelius> really really bad
<Armbian-Discord>
<amazingfate> maybe usb wireless keyboard need a driver in uefi/edk2
<Armbian-Discord>
<c0rnelius> could be
<Armbian-Discord>
<Tenkawa> needs the whole HID stack I think
<Armbian-Discord>
<Tenkawa> PS2/USB keyboards are simple input
<Armbian-Discord>
<amazingfate> I can use my wired usb keyboard
<Armbian-Discord>
<Tenkawa> wireless need a HID driver
<Armbian-Discord>
<c0rnelius> yah. i have much more success wired.
<Armbian-Discord>
<c0rnelius> but who uses wired?
<Armbian-Discord>
<c0rnelius> i have to go dig that out... and use it on my little arm board.
<Armbian-Discord>
<c0rnelius> right
<Armbian-Discord>
<Tenkawa> you can emulate certain standard KB's through wireless but you lose any special keys/etc if you have a fancy keyboard
<Armbian-Discord>
<c0rnelius> I'm at the point of just forget it. lets have it so it will boot in correct order. usb, sd, mmc.
<Armbian-Discord>
<c0rnelius> or whatever ur poison.
<Armbian-Discord>
<Tenkawa> hehehe
<Armbian-Discord>
<Tenkawa> I'd like to know what magic Khadas keeps doing to make USB booting work on everything
<Armbian-Discord>
<Tonymac32> ... SPI flash
<Armbian-Discord>
<c0rnelius> skilled developers that they can afford to pay by over charging you for hw.
<Armbian-Discord>
<c0rnelius> and spi
<Armbian-Discord>
<Tonymac32> I like your answer better
<Armbian-Discord>
<c0rnelius> 😉
<Armbian-Discord>
<Tonymac32> I had my Tinker Board 1 booting USB by strapping a SPI flash to the GPIO
<Armbian-Discord>
<Tonymac32> 😆
<Armbian-Discord>
<Tenkawa> That still doesn't answer how they are "updating" their code
<Armbian-Discord>
<Tenkawa> Them and Broadcom are the only 2 consistent companies who seem to be able to boot from USB correctly... plenty of them have SPI
<Armbian-Discord>
<c0rnelius> some odroid boards are suppose to be able to do it. doesn't work all that well. i think its more pboot though.
<Armbian-Discord>
<c0rnelius> i don't know enough about spi. one day maybe.
<Armbian-Discord>
<Tenkawa> Yeah I trust Pboot as far as I can throw it too
<Armbian-Discord>
<Tenkawa> SPI is just a storage area
<Armbian-Discord>
<Tenkawa> Nothing more
<Armbian-Discord>
<c0rnelius> well yeah.
<Armbian-Discord>
<c0rnelius> so suspect its much like any other u-boot offset. we flash the goodies to it and then I suppose add a script? if this, do that and such.
<Armbian-Discord>
<c0rnelius> it seems that how pboot works, anyway.
<Armbian-Discord>
<amazingfate> I flashed a 16 MB uefi image to the spi flash on rock3a yesterday. Now this board is closer to be a morden computer.
<Armbian-Discord>
<Tenkawa> Yes but I could do the same thing with a microsd card... the SPI doesn't add "anything" unique that isn't available already...
<Armbian-Discord>
<c0rnelius> except the need for an sdcard
<Armbian-Discord>
<amazingfate> haha
<Armbian-Discord>
<c0rnelius> but yeah. it just being storage thats all it really is. a small space to flash boot bits.
<Armbian-Discord>
<Tenkawa> But it doesn't explain why noone besides Khadas and BCM seem to have it consistently done right
<Armbian-Discord>
<c0rnelius> money and give a fucks?
<Armbian-Discord>
<Tonymac32> The la frite has been able to boot USB since launch
<Armbian-Discord>
<c0rnelius> i'm guessing
<Armbian-Discord>
<Tenkawa> .. touche.. good point
<Armbian-Discord>
<Tonymac32> Primarily give a fucks
<Armbian-Discord>
<Tenkawa> Khadas definitely likes to do good engineering
<Armbian-Discord>
<amazingfate> everyone gets used to those raspi shits
<Armbian-Discord>
<Tonymac32> I stuffed our U-boot on SPI flash of roc-rk3399-pc And it boots USB as well
<Armbian-Discord>
<Tenkawa> BCM just got lucky
<Armbian-Discord>
<Tenkawa> lol
<Armbian-Discord>
<Tonymac32> Bcm got a lot of bored old guys who missed their commodore 64 to devote a few million free hours to their ecosystem 😉
<Armbian-Discord>
<Tenkawa> LOL
<Armbian-Discord>
<c0rnelius> yeah Tenkawa
<Armbian-Discord>
<c0rnelius> ole guy
<Armbian-Discord>
<Tenkawa> Wow this is a long movie
<Armbian-Discord>
<Tenkawa> 4 hrs 30 min
<Armbian-Discord>
<Tenkawa> yowza
<Armbian-Discord>
<c0rnelius> Armbian's UEFI conversation by Peter Jackson?
<Armbian-Discord>
<Tenkawa> Zack Snyder's version of Justice League
<Armbian-Discord>
<c0rnelius> Oh. Same thing.
<Armbian-Discord>
<c0rnelius> Way better than Joss's or whatever his name is.
<Armbian-Discord>
<Tenkawa> Joss Whedon
<Armbian-Discord>
<c0rnelius> Zac's atleast made some kind of sense.
<Armbian-Discord>
<Tenkawa> He never really recovered after Firefly/Serenity imo
<Armbian-Discord>
<Tonymac32> After what?
<Armbian-Discord>
<c0rnelius> I thought those were ok. I though it was the whole thing about him being a pig that got him trouble.
<Armbian-Discord>
<Tonymac32> Never heard of it
<Armbian-Discord>
<Tonymac32> 😆
<Armbian-Discord>
<c0rnelius> Firefly was a good movie.
<Armbian-Discord>
<c0rnelius> or Serinity
<Armbian-Discord>
<c0rnelius> they were both ok
<Armbian-Discord>
<Tenkawa> Yeah.. that too
<Armbian-Discord>
<Tenkawa> @Tonymac32 go read my msg in offtopic
<Armbian-Discord>
<c0rnelius> oh he also did the first Avengers movie and Ultron. He has done stuff.
<Armbian-Discord>
<c0rnelius> Then he messed with Galdot and got attacked by every women in Hollywood.
<Armbian-Discord>
<Tenkawa> Unless you are actively debugging/working on low level code... it should really be more detached than it truly is from the core