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> <l​anefu> Hmm need to investigate what image and kernel they're starting from https://gist.github.com/camerahacks/df4d4cd6b40ecc8a6a894d14a2386650
<Armbian-Discord> <a​mazingfate> Just tried uefi on rock3a, hdmi works and it can detect my emmc. Very nice work: https://github.com/S199pWa1k9r/rk356x-uefi
<Armbian-Discord> <l​anefu> Interesting
<Armbian-Discord> <c​0rnelius> is there some reason uefi wouldn't be able to do this?
<Armbian-Discord> <a​mazingfate> 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> <c​0rnelius> GPT is already a must for most of these and UEFI has been apart of u-boot for some time.
<Armbian-Discord> <c​0rnelius> Alright, as I don't own any of these I'll take ur word for it. What are you using? grub, etc.
<Armbian-Discord> <T​enkawa> It seems like a lot of extra work too
<Armbian-Discord> <T​enkawa> The Odroid-M1 was a very easy 3568 to get going
<Armbian-Discord> <T​enkawa> with extlinux
<Armbian-Discord> <c​0rnelius> My own experience is, its mostly just handoff. UEFI hands off to say grub and grub loads the kernel.
<Armbian-Discord> <a​mazingfate> I intend to use grub. I will figure out how to migrate from uboot boot.cmd to grub on armbian.
<Armbian-Discord> <c​0rnelius> 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> <T​enkawa> Heh ok..
<Armbian-Discord> <T​enkawa> I had no intention myself to use grub
<Armbian-Discord> <a​mazingfate> yeah I think it's better to let kernel just load dtb instead of getting acpi from uef
<Armbian-Discord> <c​0rnelius> in most cases for sure.
<Armbian-Discord> <c​0rnelius> I've gotten away with it on some boards, but really. grub should be using the linux dtb.
<Armbian-Discord> <c​0rnelius> I think uefi is pretty neat. But I've yet to find a practical reason to use it on arm devices.
<Armbian-Discord> <a​mazingfate> 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> <c​0rnelius> 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> <c​0rnelius> could just be me? but seeing as my wired keyboards work most of the time, its a prob.
<Armbian-Discord> <T​enkawa> Yeah no preboot wireless usb keyboard kinda is a fail for HID
<Armbian-Discord> <c​0rnelius> big time
<Armbian-Discord> <c​0rnelius> lets create this great menu and get all this multi boot going on. by the way, you can't interact with it.
<Armbian-Discord> <T​enkawa> aww isn't it just a screen to watch?
<Armbian-Discord> <c​0rnelius> a lot of RK u-boot is also super broke.
<Armbian-Discord> <T​enkawa> ya
<Armbian-Discord> <c​0rnelius> really really bad
<Armbian-Discord> <a​mazingfate> maybe usb wireless keyboard need a driver in uefi/edk2
<Armbian-Discord> <c​0rnelius> could be
<Armbian-Discord> <T​enkawa> needs the whole HID stack I think
<Armbian-Discord> <T​enkawa> PS2/USB keyboards are simple input
<Armbian-Discord> <a​mazingfate> I can use my wired usb keyboard
<Armbian-Discord> <T​enkawa> wireless need a HID driver
<Armbian-Discord> <c​0rnelius> yah. i have much more success wired.
<Armbian-Discord> <c​0rnelius> but who uses wired?
<Armbian-Discord> <c​0rnelius> i have to go dig that out... and use it on my little arm board.
<Armbian-Discord> <c​0rnelius> right
<Armbian-Discord> <T​enkawa> you can emulate certain standard KB's through wireless but you lose any special keys/etc if you have a fancy keyboard
<Armbian-Discord> <c​0rnelius> I'm at the point of just forget it. lets have it so it will boot in correct order. usb, sd, mmc.
<Armbian-Discord> <c​0rnelius> or whatever ur poison.
<Armbian-Discord> <T​enkawa> hehehe
<Armbian-Discord> <T​enkawa> I'd like to know what magic Khadas keeps doing to make USB booting work on everything
<Armbian-Discord> <T​onymac32> ... SPI flash
<Armbian-Discord> <c​0rnelius> skilled developers that they can afford to pay by over charging you for hw.
<Armbian-Discord> <c​0rnelius> and spi
<Armbian-Discord> <T​onymac32> I like your answer better
<Armbian-Discord> <c​0rnelius> 😉
<Armbian-Discord> <T​onymac32> I had my Tinker Board 1 booting USB by strapping a SPI flash to the GPIO
<Armbian-Discord> <T​onymac32> 😆
<Armbian-Discord> <T​enkawa> That still doesn't answer how they are "updating" their code
<Armbian-Discord> <T​enkawa> 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> <c​0rnelius> 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> <c​0rnelius> i don't know enough about spi. one day maybe.
<Armbian-Discord> <T​enkawa> Yeah I trust Pboot as far as I can throw it too
<Armbian-Discord> <T​enkawa> SPI is just a storage area
<Armbian-Discord> <T​enkawa> Nothing more
<Armbian-Discord> <c​0rnelius> well yeah.
<Armbian-Discord> <c​0rnelius> 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> <c​0rnelius> it seems that how pboot works, anyway.
<Armbian-Discord> <a​mazingfate> 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> <T​enkawa> 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> <c​0rnelius> except the need for an sdcard
<Armbian-Discord> <a​mazingfate> haha
<Armbian-Discord> <c​0rnelius> but yeah. it just being storage thats all it really is. a small space to flash boot bits.
<Armbian-Discord> <T​enkawa> But it doesn't explain why noone besides Khadas and BCM seem to have it consistently done right
<Armbian-Discord> <c​0rnelius> money and give a fucks?
<Armbian-Discord> <T​onymac32> The la frite has been able to boot USB since launch
<Armbian-Discord> <c​0rnelius> i'm guessing
<Armbian-Discord> <T​enkawa> .. touche.. good point
<Armbian-Discord> <T​onymac32> Primarily give a fucks
<Armbian-Discord> <T​enkawa> Khadas definitely likes to do good engineering
<Armbian-Discord> <a​mazingfate> everyone gets used to those raspi shits
<Armbian-Discord> <T​onymac32> I stuffed our U-boot on SPI flash of roc-rk3399-pc And it boots USB as well
<Armbian-Discord> <T​enkawa> BCM just got lucky
<Armbian-Discord> <T​enkawa> lol
<Armbian-Discord> <T​onymac32> 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> <T​enkawa> LOL
<Armbian-Discord> <c​0rnelius> yeah Tenkawa
<Armbian-Discord> <c​0rnelius> ole guy
<Armbian-Discord> <T​enkawa> Wow this is a long movie
<Armbian-Discord> <T​enkawa> 4 hrs 30 min
<Armbian-Discord> <T​enkawa> yowza
<Armbian-Discord> <c​0rnelius> Armbian's UEFI conversation by Peter Jackson?
<Armbian-Discord> <T​enkawa> Zack Snyder's version of Justice League
<Armbian-Discord> <c​0rnelius> Oh. Same thing.
<Armbian-Discord> <c​0rnelius> Way better than Joss's or whatever his name is.
<Armbian-Discord> <T​enkawa> Joss Whedon
<Armbian-Discord> <c​0rnelius> Zac's atleast made some kind of sense.
<Armbian-Discord> <T​enkawa> He never really recovered after Firefly/Serenity imo
<Armbian-Discord> <T​onymac32> After what?
<Armbian-Discord> <c​0rnelius> I thought those were ok. I though it was the whole thing about him being a pig that got him trouble.
<Armbian-Discord> <T​onymac32> Never heard of it
<Armbian-Discord> <T​onymac32> 😆
<Armbian-Discord> <c​0rnelius> Firefly was a good movie.
<Armbian-Discord> <c​0rnelius> or Serinity
<Armbian-Discord> <c​0rnelius> they were both ok
<Armbian-Discord> <T​enkawa> Yeah.. that too
<Armbian-Discord> <T​enkawa> @Tonymac32 go read my msg in offtopic
<Armbian-Discord> <c​0rnelius> oh he also did the first Avengers movie and Ultron. He has done stuff.
<Armbian-Discord> <c​0rnelius> Then he messed with Galdot and got attacked by every women in Hollywood.
Tenkawa has quit [Quit: Was I really ever here?]
Tenkawa has joined #armbian-rockchip
<Armbian-Discord> <W​erner> https://x.na4.eu/KOTu3/YiFOYenU39.jpg
<Armbian-Discord> <W​erner> Good to know ^^
<Armbian-Discord> <T​enkawa> debugfs is annoying
<Armbian-Discord> <T​enkawa> Unless you are actively debugging/working on low level code... it should really be more detached than it truly is from the core
<Armbian-Discord> <m​onkaBlyat> @amazingfate what do you think about addding a test branch with this kernel on your fork https://github.com/Googulator/linux-rk3588-midstream
<Armbian-Discord> <m​onkaBlyat> it's mainline and there is hdmi ,ethernet and iirc usb 2 ports working
<Armbian-Discord> <a​mazingfate> That would be nice, but I need to come over these busy days🤣
<Armbian-Discord> <l​anefu> Hero
<Armbian-Discord> <l​anefu> Any pcie?