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
<DC-IRC> [Discord] <amazingfate> packages are kept in a stable state, and version is synced with ubuntu distribution
<DC-IRC> [Discord] <igorpec> what is too much in desktop builds (which DE) to remove? Armbian should be pretty skinny.
<DC-IRC> [Discord] <beohoff3174> im not using a desktop build currently , but the server image instead. Im hoping to keep the packages installed to a minimum as I'm trying to do a small run of devices of devices with the smallest nvme drive possible to keep the costs to me low.
<DC-IRC> [Discord] <beohoff3174> since users will be able to record video, i want to save as much space for that as possible
<DC-IRC> [Discord] <beohoff3174> but i did review the packages after i wrote the comment, once i figured out where it was, and i totally agree with you
<DC-IRC> [Discord] <beohoff3174> since users will be able to record video, i want to save as much space for that as possible, instead of binaries they wont be able to use as they arent getting a normal desktop experience
<DC-IRC> [Discord] <beohoff3174> since users will be able to record video, i want to save as much space for that as possible, instead of binaries, as they wont be able to use them, as they arent getting a normal desktop experience
<DC-IRC> [Discord] <beohoff3174> im not using a desktop build currently , but the server/cli image instead. Im hoping to keep the packages installed to a minimum as I'm trying to do a small run of devices of devices with the smallest nvme drive possible to keep the costs to me low.
<DC-IRC> [Discord] <Werner> There is a new patch series to enabled hdmi0 on a couple of rk3588 boards: https://patchwork.kernel.org/project/linux-arm-kernel/cover/20241019-rk3588-hdmi0-dt-v1-0-bd8f299feacd@collabora.com/
<DC-IRC> [Discord] <.idaho> hello guys, I've digged up my old pbpro and would like to install latest armbian on it, I'm currently flashing my SD card with it, I'd like to know what is the best way to install it to emmc? I've looked up on the internet and it seems it's a bit tricky, will armbian-config work?
<DC-IRC> [Discord] <Werner> `armbian-install` should do the trick.
<DC-IRC> [Discord] <.idaho> ok will try
<DC-IRC> [Discord] <.idaho> it seems to be stuck on "counting files"
<DC-IRC> [Discord] <.idaho> is this normal behavior? do I just need to wait it out?
<DC-IRC> [Discord] <.idaho> it seems to be stuck on "counting files... few seconds"
<DC-IRC> [Discord] <Werner> If the microsd is rather slow it might take longer
<DC-IRC> [Discord] <.idaho> i see
<DC-IRC> [Discord] <.idaho> this microSD is kinda bad
<DC-IRC> [Discord] <.idaho> well, it went through it all
<DC-IRC> [Discord] <.idaho> but upon reboot, the emmc won't boot
<DC-IRC> [Discord] <.idaho> might have messed a few things, should have wiped the emmc with gparted beforehand
<DC-IRC> [Discord] <.idaho> also gonna use a better SD
<DC-IRC> [Discord] <.idaho> nah, armbian-install didn't help, I see there's some UEFI related stuff now in armbian, the pinebook pro doesn't have UEFI, it uses tow-boot
<DC-IRC> [Discord] <.idaho> do you think it might be the cause?
<DC-IRC> [Discord] <.idaho> nah, armbian-install didn't help, I've seen the scrip talk about UEFI related stuff, the pinebook pro doesn't have UEFI, it uses tow-boot
<DC-IRC> [Discord] <.idaho> so to sum things up, I got armbian on my SD, booted up, wiped the emmc with gparted before launching armbian-install
<DC-IRC> [Discord] <.idaho> I let armbian-install do the partitioning and it created 2 new partitions, I selected the biggest of the two for install
<DC-IRC> [Discord] <.idaho> but now it won't boot
<DC-IRC> [Discord] <.idaho> well from emmc that is
<DC-IRC> [Discord] <Werner> I guess towboot needs to be removed beforehand. Does not work with Armbian IIRC.
<DC-IRC> [Discord] <Werner> MIght be necessary to properly clean both spi and emmc beforehand
<DC-IRC> [Discord] <.idaho> ok, so how do I remove it and what I replace it with?
<DC-IRC> [Discord] <Werner> If you can boot Armbian from microsd I'd remove all partitions from emmc and use dd to wipe its boot sector and also use dd to wipe spi. No need to replace with anything. Armbian uses uboot which will simply be copied over to emmc. @nicod_sbc do you use towboot in any way on pbp?
<DC-IRC> [Discord] <.idaho> nah, it's just some leftover from manjaro
<DC-IRC> [Discord] <.idaho> so cleaning the SPI is done by wiping the emmc?
<DC-IRC> [Discord] <Werner> No. SPI and eMMC are independet flash memories
<DC-IRC> [Discord] <Werner> spi should be visible as /dev/mtd0
<DC-IRC> [Discord] <.idaho> wait, I'll look into gparted, I guess it will appear there
<DC-IRC> [Discord] <.idaho> hmm nah doesn't appear in gparted
<DC-IRC> [Discord] <.idaho> ok so I need to wipe it from command line
<DC-IRC> [Discord] <Werner> maybe gparted isn't aware of such a device. There is a tool called flasherase or something like that. But I simple dd from /dev/zero did the job for me as well.
<DC-IRC> [Discord] <.idaho> not very used to dd, chatGPT told me to do this command: sudo dd if=/dev/zero of=/dev/mtd0 bs=1M
<DC-IRC> [Discord] <.idaho> looks legit, do you think I can go with it?
<DC-IRC> [Discord] <Werner> do you see /dev/mtd0 with fdisk -l?
<DC-IRC> [Discord] <.idaho> no
<DC-IRC> [Discord] <Werner> Hm thats odd then...
<DC-IRC> [Discord] <.idaho> I see it in /dev tho
<DC-IRC> [Discord] <Werner> Um are you using uefi image?
<DC-IRC> [Discord] <.idaho> ah yeah indeed my image has uefi in its title
<DC-IRC> [Discord] <Werner> That won't work. Try one of these: https://www.armbian.com/pinebook-pro/
<DC-IRC> [Discord] <.idaho> this is the one I picked
<DC-IRC> [Discord] <.idaho> I can't use this one?
<DC-IRC> [Discord] <Werner> Alright I am confused. Why does pbp link to uefi image?
<DC-IRC> [Discord] <.idaho> yeah
<DC-IRC> [Discord] <.idaho> same problem with the image that is most advertised on the page
<DC-IRC> [Discord] <.idaho> sure thing
<DC-IRC> [Discord] <Werner> uefi/generic arm64 images only work when either there is UEFI present or some sort of emulation via EDKII or - I guess - towboot. Then of course it would be easy to hide spi device in the OS by simply not telling it that it is present. But interesting to see how - kind of - well this works.
<DC-IRC> [Discord] <.idaho> yeah I did not even noticve the image had uefi in its name
<DC-IRC> [Discord] <.idaho> bt I saw the script reference some uefi stuff during install
<DC-IRC> [Discord] <.idaho> and it got me confused
<DC-IRC> [Discord] <.idaho> writing the new image to my SD right now
<DC-IRC> [Discord] <.idaho> will keep you informed
<DC-IRC> [Discord] <.idaho> distro-hoping on the pbpro has a high toll ^^
<DC-IRC> [Discord] <Werner> yeah, pine doesn't appreciate if people go away from manjaro 🙂
<DC-IRC> [Discord] <Werner> yeah, pine doesn't appreciate when people go away from manjaro 🙂
<DC-IRC> [Discord] <.idaho> hehe, manjaro is pretty crap tho, I was using armbian for a while and decided to give manjaro a try again
<DC-IRC> [Discord] <.idaho> but that thing is just dead and burried now, armbian has better support and is much more zen to use
<DC-IRC> [Discord] <Werner> wasn't happy with it either. However my experience with it is from a few years ago
<DC-IRC> [Discord] <johnthecoolingfan> I've heard Manjaro may give a false sense of security in terms of stability of software. Both the tools and the provided packages.
<DC-IRC> [Discord] <johnthecoolingfan> I've heard Manjaro may give a false sense of stability of software. Both the tools and the provided packages.
<DC-IRC> [Discord] <.idaho> that's exacytly it
<DC-IRC> [Discord] <.idaho> that's exactly it
<DC-IRC> [Discord] <Werner> Good old story: https://blog.brixit.nl/why-i-left-pine64/
<DC-IRC> [Discord] <.idaho> yeah dusted off my pbpro recently, I want to see what wine+box86 can be capable of on it
<DC-IRC> [Discord] <.idaho> certainly not buying anything from pine again
<DC-IRC> [Discord] <johnthecoolingfan> Actually, interesting idea, could armbian patches be utilized to patch a gentoo system to build and be usable on SBCs?.. I know most of teh build framework works with debian packages but it also feels like you can use the low-level u-boot and kernel patches to have the basics working and use pretty much base gentoo with it...
<DC-IRC> [Discord] <johnthecoolingfan> Although compiling every piece of software would be much more annoying
<DC-IRC> [Discord] <johnthecoolingfan> (I know bin pkgs exist)
<DC-IRC> [Discord] <Werner> The idea of expanding the framework to other userspaces isn't new. But the amount of work is crazy.
<DC-IRC> [Discord] <Werner> Interesting nevertheless
<DC-IRC> [Discord] <johnthecoolingfan> Gentoo has very good guides on cross-compilation and patching of packages, including kernel
<DC-IRC> [Discord] <johnthecoolingfan> Which is why it's interesting to me in particular
<DC-IRC> [Discord] <Werner> Last time I used gentoo was like 15ish years ago lol
<DC-IRC> [Discord] <johnthecoolingfan> Well, I am using gentoo right now
<DC-IRC> [Discord] <johnthecoolingfan> Very satisfying package management system
<DC-IRC> [Discord] <johnthecoolingfan> I even maintain a small ebuild repo that's not just made by me :)
<DC-IRC> [Discord] <Werner> Yeah emerge is a nice tool. But at some point I got lazy and went back to Debian based OS' since the advantages of Gentoo weren worth the time
<DC-IRC> [Discord] <johnthecoolingfan> Debian has the advantage of being much more widely used, taht's for sure
<DC-IRC> [Discord] <johnthecoolingfan> Debian has the advantage of being much more widely used, that's for sure
<DC-IRC> [Discord] <johnthecoolingfan> Although I am "cheating" by using flatpak for most desktop apps :P
<DC-IRC> [Discord] <johnthecoolingfan> And I've derailed into offtopic, sorry
<DC-IRC> [Discord] <johnthecoolingfan> And I've derailed off topic, sorry
<DC-IRC> [Discord] <.idaho> flatpak ain't cheating, it's the future and it's right now
<DC-IRC> [Discord] <.idaho> 🫡
<DC-IRC> [Discord] <nicod_sbc> I don't. I'm using default armbian on pbp. It works so no need in changing things.
<DC-IRC> [Discord] <Werner> Just for fun you can test this image as well. I don't expect that you use it but I'm curious if it even works and how well it does. Probably overkill anyway: https://fi.mirror.armbian.de/.testing/Armbian-unofficial_24.11.0-trunk_Pinebook-pro_jammy_edge_6.11.4_kde-neon_desktop.img.xz
<DC-IRC> [Discord] <.idaho> I tried the uefi version of this image just to try out KDE and it ran very badly
<DC-IRC> [Discord] <nicod_sbc> @.idaho I didn't read everything yet. I can say there is a problem with some eMMC cards and recent uboot. Doesn't work anymore with odroid eMMC. I bought an OrangePi eMMC and those work.
<DC-IRC> [Discord] <.idaho> hopefully I'm not affected
<DC-IRC> [Discord] <nicod_sbc> Where did you get your eMMC?
<DC-IRC> [Discord] <.idaho> from pine64 with my pinebook
<DC-IRC> [Discord] <nicod_sbc> ok, then no problem.
<DC-IRC> [Discord] <.idaho> welp the image has finally been written off to the SD
<DC-IRC> [Discord] <.idaho> time to try it out
<DC-IRC> [Discord] <Werner> Just for fun you can test this image as well. I don't expect that you use it but I'm curious if it even works and how well it does. Probably overkill anyway: ~~ https://fi.mirror.armbian.de/.testing/Armbian-unofficial_24.11.0-trunk_Pinebook-pro_jammy_edge_6.11.4_kde-neon_desktop.img.xz~~ Missing mesa-vpu extension
<DC-IRC> [Discord] <.idaho> boots to a black screen for now, gonna wait it out a little
<DC-IRC> [Discord] <.idaho> it did the graphics scramble before that tho, something's goin on
<DC-IRC> [Discord] <.idaho> it did the graphics scramble before that tho so something's goin on I guess
<DC-IRC> [Discord] <Werner> I don't have this device, so no clue about its status.
<DC-IRC> [Discord] <Werner> Debugging is kind a funny with this thing since you would need such a thing: https://www.tme.com/us/en-us/details/jack3.5s-m-tb/av-adapters/
<DC-IRC> [Discord] <Werner> There is a switch hidden inside when removing the back plate that enables uart output to the audio jack.
<DC-IRC> [Discord] <.idaho> lol
<DC-IRC> [Discord] <.idaho> writing the image to another SD just to be sure it wasn't badly written, meanwhile I'm letting this one wait out
<DC-IRC> [Discord] <.idaho> gonna have a shower in the meantime, if anything happens it should be enough for it to let it happen
<DC-IRC> [Discord] <Werner> Forgot to add mesa-vpu extension in the other image
<DC-IRC> [Discord] <nicod_sbc> I'll try it, but can't install to eMMC since my work image is on there. No spare eMMC that works.
<DC-IRC> [Discord] <Werner> no need to. Just for playing
<DC-IRC> [Discord] <.idaho> screen still black
<DC-IRC> [Discord] <.idaho> my other SD to which I was writing to has had an issue too so i'm starting another writing task on yet another SD
<DC-IRC> [Discord] <.idaho> i have this old mini USB to USB-A multi card reader to do my work
<DC-IRC> [Discord] <.idaho> it ain't much efficient I think
<DC-IRC> [Discord] <Werner> can happen with community supported boards. We don't know their status and if nobody takes care support falls apart sooner or later. Only way to get an idea what's going on are debug logs.
<DC-IRC> [Discord] <.idaho> I don't have that weird device tho
<DC-IRC> [Discord] <.idaho> gonna test that other SD that's writing off otherwise I hope I'll find some time to help you guys debug this 👍
<DC-IRC> [Discord] <nicod_sbc> With problems like this it's best to use uart. Without you don't know what is happening.
<DC-IRC> [Discord] <.idaho> I see
<DC-IRC> [Discord] <.idaho> well it gives a black screen with that other SD as well
<DC-IRC> [Discord] <.idaho> so I guess i'll have to help you guys debug this
<DC-IRC> [Discord] <.idaho> there's this pinebook telegram group, I'll go ask around if anyone faced that issue out there
<DC-IRC> [Discord] <.idaho> trying to change tty doesn't do shit
<DC-IRC> [Discord] <.idaho> I'd have hoped it might do something
<DC-IRC> [Discord] <nicod_sbc> I tried the image on my pbp and it works. But vpu doesn't seem activated.
<DC-IRC> [Discord] <nicod_sbc> at least not in chromium.
<DC-IRC> [Discord] <.idaho> you mean you can boot it from SD? you have tow boot installed?
<DC-IRC> [Discord] <.idaho> I've heard the easiest way to install things for sure is to use the the flashing software available in manjaro
<DC-IRC> [Discord] <.idaho> also some people told me that debian can be installed from USB but that didn't work...
<DC-IRC> [Discord] <nicod_sbc> I don't have tow boot. Using regular uboot that comes with armbian.
<DC-IRC> [Discord] <nicod_sbc> The problem with Manjaro is that it's not compatible with the way Armbian runs. Ok if you run Manjaro from sd. But not when it's installed to boot from eMMC.
<DC-IRC> [Discord] <.idaho> yeah I get it, so how do I remove tow boot from my device then?
<DC-IRC> [Discord] <nicod_sbc> You can probably format spi from manjaro.
<DC-IRC> [Discord] <.idaho> I see
<DC-IRC> [Discord] <.idaho> I'll do this