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 has quit [Remote host closed the connection]
DC-IRC has joined #armbian-rockchip
<DC-IRC> [Discord] <gambl0r> I've just done a build for opi5-plus and the /boot directory on the written image is empty
<DC-IRC> [Discord] <gambl0r> edge if it makes a difference
<DC-IRC> [Discord] <lanefu> do build again and share build log on the pastebin
<DC-IRC> [Discord] <gambl0r> without a git pull so it should build the same image, hang on
<DC-IRC> [Discord] <gambl0r> hang on, can't I access the build log from this build?
<DC-IRC> [Discord] <gambl0r> got it
<DC-IRC> [Discord] <gambl0r> https://paste.armbian.com/oridufaham.bash
<DC-IRC> [Discord] <lanefu> where / how did you see that /boot was empty?
<DC-IRC> [Discord] <gambl0r> rebooted with the written sd card inserted, booted system on emmc instead. Then I checked the sdcard /boot and it's empty
<DC-IRC> [Discord] <gambl0r> I've just written an automated build to an sdcard, when I mount the sdcard on this sytem, /boot is also empty: Armbian_24.5.0-trunk.604_Orangepi5-plus_jammy_edge_6.8.9_gnome-oibaf_desktop.img.xz
<DC-IRC> [Discord] <lanefu> which partiton on teh sdcard? first or 2nd
<DC-IRC> [Discord] <gambl0r> mmcblk1 179:96 0 119.1G 0 disk
<DC-IRC> [Discord] <gambl0r> ├─mmcblk1p1 179:97 0 256M 0 part
<DC-IRC> [Discord] <gambl0r> └─mmcblk1p2 179:98 0 117.6G 0 part /media/lmartin/armbi_root
<DC-IRC> [Discord] <gambl0r> I'm extracting it and mounting the iso to see
<DC-IRC> [Discord] <gambl0r> yeah, mounted the img and /boot is empty
<DC-IRC> [Discord] <lanefu> partition 1?
<DC-IRC> [Discord] <gambl0r> mmcblk1p2
<DC-IRC> [Discord] <gambl0r> the iso is missing the contents of /boot, I'm not sure sdcard matters now
<DC-IRC> [Discord] <lanefu> yeah it would be empty on p2 because it wnats p1 to /boot
<DC-IRC> [Discord] <lanefu> yeah it would be empty on p2 because it wants to mount p1 to /boot
<DC-IRC> [Discord] <gambl0r> trying Armbian_24.5.0-trunk.604_Orangepi5-plus_trixie_edge_6.8.9_minimal.img.xz
<DC-IRC> [Discord] <gambl0r> extracted the .xz, mounted the img, empty /boot directory. I'm extracting a known working build now to check the img /boot directory
<DC-IRC> [Discord] <gambl0r> I must be doing something wrong, because even a known working build that I've extracted the img and mounted it, still shows empty /boot
<DC-IRC> [Discord] <gambl0r> any suggestions?
<DC-IRC> [Discord] <gambl0r> it's spi uboot no doubt
<DC-IRC> [Discord] <gambl0r> thanks for clarifying this
<DC-IRC> [Discord] <gambl0r> mtd-utils..
<DC-IRC> [Discord] <gambl0r> `orangepi5-plus:~:% sudo flash_erase /dev/mtd0 0 0
<DC-IRC> [Discord] <gambl0r> Erasing 16384 Kibyte @ 0 -- 100 % complete`
<DC-IRC> [Discord] <gambl0r> still won't boot Armbian_24.5.0-trunk.604_Orangepi5-plus_trixie_edge_6.8.9_minimal even after wiping mtd0. Could it be the uboot on the emmc is causing it? I guess I could remove it
<DC-IRC> [Discord] <igorpec> serial console?
<DC-IRC> [Discord] <gambl0r> I could do that too, the possibilities are endless 🙂
<DC-IRC> [Discord] <igorpec> possibilities starts after 🙂
<DC-IRC> [Discord] <gambl0r> ok, using serial console I can see that the system is booting correctly, no HDMI out
<DC-IRC> [Discord] <gambl0r> `root@orangepi5-plus:~# w
<DC-IRC> [Discord] <gambl0r> 18:10:03 up 8 min, 1 user, load average: 0.33, 0.16, 0.09
<DC-IRC> [Discord] <gambl0r> USER TTY FROM LOGIN@ IDLE JCPU PCPU WHAT
<DC-IRC> [Discord] <gambl0r> root ttyS2 - Mon22 0.00s 0.37s 0.02s w
<DC-IRC> [Discord] <gambl0r> root@orangepi5-plus:~# uname -a
<DC-IRC> [Discord] <gambl0r> Linux orangepi5-plus 6.8.9-edge-rockchip-rk3588 #1 SMP PREEMPT Thu May 2 14:35:35 UTC 2024 aarch64 GNU/Linux`
<DC-IRC> [Discord] <gambl0r> look at that load average, baby jesus is smiling
<DC-IRC> [Discord] <igorpec> then it works as expect 😉
<DC-IRC> [Discord] <igorpec> hdmi is hit and miss
<DC-IRC> [Discord] <infinity_q> oh edge kernel
<DC-IRC> [Discord] <infinity_q> that's why no hdmi
<DC-IRC> [Discord] <monkablyat> HDMI output works quite well with edge kernel on some RK3588 boards already
<DC-IRC> [Discord] <monkablyat> is probably more a question of who cares about reasonable mainline DTS for opi 5 plus and added nodes
<DC-IRC> [Discord] <efectn> Opi5 plus works with hdmi on armbian edge
<DC-IRC> [Discord] <infinity_q> cool
<DC-IRC> [Discord] <amazingfate> HDMI support is only limited to one port, make sure you have plugged the right one.
<DC-IRC> [Discord] <alexl83> Hi Guys! I'd like to experiment on my orangepizero5-plus board and. build armbian using kwiboo u-boot instead of stock one - Do you think it might be a stupid idea?
<DC-IRC> [Discord] <lanefu> inspiration https://github.com/armbian/build/pull/6601/files
<DC-IRC> [Discord] <lanefu> assuming there's a defconfig for the board
<DC-IRC> [Discord] <alexl83> yes, support is there it seems
<DC-IRC> [Discord] <alexl83> stock u-boot from xunlong is from 2017, seems a bit old
<DC-IRC> [Discord] <alexl83> But can't say how useful/useless would be to switch from a seemingly working u-boot to another - any specific benefit?
<DC-IRC> [Discord] <lanefu> if you're not customizing uboot start script to do other things you'll likely not care.
<DC-IRC> [Discord] <alexl83> ok, no I'm not customizing, I'd do it just for the sake of the experiment
<DC-IRC> [Discord] <alexl83> I'll find something else in the framework to tinker with
<DC-IRC> [Discord] <lanefu> well it's fun to say you're using a uboot closer to mainline instead of an ancient fork done by vendor
<DC-IRC> [Discord] <alexl83> yes, I agree
<DC-IRC> [Discord] <lanefu> harnessing the power of extensions to customize your image is a good time
<DC-IRC> [Discord] <alexl83> yeah, it's very powerful and I wrote 4-5 brief extensions already
<DC-IRC> [Discord] <alexl83> it's fun
<DC-IRC> [Discord] <lanefu> sweet
<DC-IRC> [Discord] <alexl83> I'd love to expand crytoroot to have wifi client support for unlocking luks-root
<DC-IRC> [Discord] <lanefu> that'd be cool
<DC-IRC> [Discord] <lanefu> sounds like you're well-versed already, but here's an example of supporting an entire board via userpatches so that you dont have to fork main armbian all teh time
<DC-IRC> [Discord] <alexl83> nice thanks! I'll have a look immediately
<DC-IRC> [Discord] <alexl83> I have something similar but much rougher here https://github.com/alexl83/os.git
<DC-IRC> [Discord] <lanefu> looks good.. in a perfect world you can ditch `customize-image.sh` completely and drive it all via conf and extensions. we should update documentation to encourage that
<DC-IRC> [Discord] <alexl83> I'd love to only use extensions, some things like update-alternatives I can only drive using customize - I was thinking about the possibility of coupling customize.sh with specific extension
<DC-IRC> [Discord] <alexl83> e.g.: you enable extension ext-a and have a corresponding customize-a
<DC-IRC> [Discord] <alexl83> it gets executed
<DC-IRC> [Discord] <lanefu> hmmm can't prefix update alternatives with the `chroot_sdcard` function? https://github.com/airframesio/airwaves-os/blob/main/armbian/armbian-userpatches/extensions/airwaves-os/airwaves-os.sh#L60
<DC-IRC> [Discord] <alexl83> will try this yes!
<DC-IRC> [Discord] <lanefu> it's more fun when it's not intuitive lol
<DC-IRC> [Discord] <alexl83> I also think I'll "steal" a couple ideas from your approach on your repo
<DC-IRC> [Discord] <asdosjani> Hey guys, what happened with Orange Pi 3B support?
<DC-IRC> [Discord] <lanefu> @werner you wanna take that one?
<DC-IRC> [Discord] <monkablyat> currently tagged as eos
<DC-IRC> [Discord] <asdosjani> Yes, but why
<DC-IRC> [Discord] <asdosjani> It has rk3566 which is still a good chip
<DC-IRC> [Discord] <igorpec> do you support people that works on those chips? Do you think Orangepi supports them?
<DC-IRC> [Discord] <igorpec> General it goes this way https://docs.armbian.com/User-Guide_Board-Support-Rules/
<DC-IRC> [Discord] <asdosjani> I don't know them, what's the fuss about
<DC-IRC> [Discord] <lanefu> ☢️
<DC-IRC> [Discord] <alexl83> @lanefu if I may take advantage once more of your knowledge, is there a way to use extensions to copy overlay files like done in cutomize.sh ? I have a ton of files to copy and I'd gladly avoid to cat <<- EOF >
<DC-IRC> [Discord] <alexl83> Wow, very nice thanks!
<DC-IRC> [Discord] <alexl83> Then I can move everything to extension and avoid customize.sh altogether
<DC-IRC> [Discord] <lanefu> yeah that airwaves extension was that scenario i refactored a customize-image script to operate as an extension
<DC-IRC> [Discord] <lanefu> yeah that airwaves extension was that scenario... i refactored a customize-image script to operate as an extension
<DC-IRC> [Discord] <asdosjani> Ok, soo there will be support in the future when the new hardware comes?
<DC-IRC> [Discord] <lanefu> will probably be up to another community member to do so
<DC-IRC> [Discord] <Werner> The SoC itself is fine but the board seem to have major design issues. We cannot allow ourselves to waste time into things that likely cannot be fixed.
<DC-IRC> [Discord] <Werner> As Lane states if somebody steps up to volunteer bringing support for it back once the revision gets released we will allow it.
<DC-IRC> [Discord] <lanefu> probably should rename the .eos file orangepi3b*V1*.eos to help clarify as well
<DC-IRC> [Discord] <Werner> We could do that once we know how xunlong plans to name the revision
<DC-IRC> [Discord] <lanefu> yeah but i mean you know this one is v1.. so just force that thinking now
<DC-IRC> [Discord] <Werner> Well send pr then we can discuss 😃
<DC-IRC> [Discord] <lanefu> haha
<DC-IRC> [Discord] <lanefu> i'm already caring more than i should about an Opi
<DC-IRC> [Discord] <lanefu> i still have 10 to get rid of
<DC-IRC> [Discord] <Werner> Yeah you probably are 😄
<DC-IRC> [Discord] <asdosjani> What major design issues? I want to use it for a simple OMV server with an USB hard drive
<DC-IRC> [Discord] <igorpec> they are selling broken hardware and in order to protect our time from wasting, we removed this board
<DC-IRC> [Discord] <asdosjani> fair enoug, unfortunatelly I already have one. Can I ask again what is the problem with it?
<DC-IRC> [Discord] <runaway97> Orange pi must really hate free existing software support
<DC-IRC> [Discord] <runaway97> why on earth would they go with this obscure YT6801 PCIe ethernet NIC, when the SoC has included GMAC?
<DC-IRC> [Discord] <runaway97> obviously no mainline driver for it
<DC-IRC> [Discord] <runaway97> and a nice license:
<DC-IRC> [Discord] <runaway97> /*++
<DC-IRC> [Discord] <runaway97> Copyright (c) 2021 Motorcomm Corporation.
<DC-IRC> [Discord] <runaway97> Confidential and Proprietary. All rights reserved.
<DC-IRC> [Discord] <runaway97> This is Motorcomm Corporation NIC driver relevant files. Please don't copy, modify,
<DC-IRC> [Discord] <runaway97> distribute without commercial permission.
<DC-IRC> [Discord] <runaway97> --*/
<DC-IRC> [Discord] <runaway97> why on earth would they go with this obscure YT6801 PCIe ethernet NIC on the OPi 5 Pro, when the SoC has included GMAC?
<DC-IRC> [Discord] <runaway97> opi 3b is a dumpster fire
<DC-IRC> [Discord] <runaway97> uses flawed UWE5622 wi-fi chip with crappy drivers
<DC-IRC> [Discord] <runaway97> my board at least has power issues with the M.2 slot
<DC-IRC> [Discord] <asdosjani> @runaway97 at the moment I don't need none of these
<DC-IRC> [Discord] <asdosjani> @runaway97 at the moment I don't need any of these
<DC-IRC> [Discord] <igorpec> "Confidential and Proprietary" hehe
<DC-IRC> [Discord] <igorpec> its "as cheap as possible" ... chip maker delivers them something and for mainline they don't care
<DC-IRC> [Discord] <shivansps> whats the problem with the UWE5622 ?
<DC-IRC> [Discord] <monkablyat> UWE seems UwU
<DC-IRC> [Discord] <gambl0r> That would've been it
<DC-IRC> [Discord] <gambl0r> Oh no, not uwe5622 again