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> holy shit it works lol
<Armbian-Discord> <l​anefu> and it booted from sdcard lol
<Armbian-Discord> <M​icroLinux (Salva)> Mmm...
<Armbian-Discord> <M​icroLinux (Salva)> I have a problem with my pbp on armbian
<Armbian-Discord> <M​icroLinux (Salva)> I booted the latest one from sd, burned the emmc and then it wasn't able to boot, but that's not the big trouble
<Armbian-Discord> <M​icroLinux (Salva)> The problem is that now booting from sd isn't able to moint the emmc anymore
<Armbian-Discord> <M​icroLinux (Salva)> Does anybody faced the same trouble?
<Armbian-Discord> <M​icroLinux (Salva)> Hopefully I will not have to unscrew this pbp again....
<Armbian-Discord> <l​anefu> armbianmonitor -u
<Armbian-Discord> <l​anefu> but you can probably goto an older kernel or newer kernel via armbian-config on then hopefully access it.... unless its actually uboot problem
<Armbian-Discord> <M​icroLinux (Salva)> Ohh.. it might be uboot
<Armbian-Discord> <M​icroLinux (Salva)> Yep, something happened with uboot. Dammit
<Armbian-Discord> <T​onymac32> Ah, now I am intrigued
<Armbian-Discord> <l​anefu> https://github.com/armbian/build/pull/4929
<Armbian-Discord> <M​icroLinux (Salva)> How pci works...
<Armbian-Discord> <M​icroLinux (Salva)> I wonder
<Armbian-Discord> <M​icroLinux (Salva)> Bc there is no driver on mainline
<Armbian-Discord> <l​anefu> because there's tons of proposed patches out there floating and someone aggregated them https://github.com/armbian/build/pull/4929/files#diff-3478aef54cd1f3b89473b3a7231c9a69a38aec2432fa4023f5b7cc948d205fdbR30
<Armbian-Discord> <l​anefu> historically Armbian's mainline party trick.
<Armbian-Discord> <T​onymac32> Shhhh
<Armbian-Discord> <l​anefu> ```
<Armbian-Discord> <l​anefu> fio Disk Speed Tests (Mixed R/W 50/50):
<Armbian-Discord> <l​anefu> ---------------------------------
<Armbian-Discord> <l​anefu> Block Size | 4k (IOPS) | 64k (IOPS)
<Armbian-Discord> <l​anefu> ------ | --- ---- | ---- ----
<Armbian-Discord> <l​anefu> Read | 218.88 MB/s (54.7k) | 392.26 MB/s (6.1k)
<Armbian-Discord> <l​anefu> Write | 218.74 MB/s (54.6k) | 403.92 MB/s (6.3k)
<Armbian-Discord> <l​anefu> Total | 437.63 MB/s (109.4k) | 796.18 MB/s (12.4k)
<Armbian-Discord> <l​anefu> | |
<Armbian-Discord> <l​anefu> Block Size | 512k (IOPS) | 1m (IOPS)
<Armbian-Discord> <l​anefu> ------ | --- ---- | ---- ----
<Armbian-Discord> <l​anefu> Read | 518.86 MB/s (1.0k) | 543.43 MB/s (530)
<Armbian-Discord> <l​anefu> Write | 563.25 MB/s (1.1k) | 606.31 MB/s (592)
<Armbian-Discord> <l​anefu> Total | 1.08 GB/s (2.1k) | 1.14 GB/s (1.1k)
<Armbian-Discord> <l​anefu> ```
<Armbian-Discord> <T​onymac32> CHOOSE YOUR KERNEL
<Armbian-Discord> <I​gorPec> productive night 😉
<Armbian-Discord> <T​onymac32> 😄
<Armbian-Discord> <T​onymac32> playing with wasmer and wapm https://wasmer.io/
<Armbian-Discord> <I​gorPec> Werner Assembly 🙂
<Armbian-Discord> <I​gorPec> what is this good for ...
<Armbian-Discord> <I​gorPec> in tl;dr; never heard about
<Armbian-Discord> <T​onymac32> in theory it allows safe write once run everywhere "Web Assembly"
<Armbian-Discord> <I​gorPec> a see
<Armbian-Discord> <T​onymac32> they claimed their runtime worked on arm64
<Armbian-Discord> <T​onymac32> so I tried it out
<Armbian-Discord> <T​onymac32> works 😄
<Armbian-Discord> <I​gorPec> cool
<Armbian-Discord> <T​onymac32> https://webassembly.org/
<Armbian-Discord> <E​feCTN> Writing wasm is big pain
<Armbian-Discord> <T​onymac32> I'm sure it is
Tenkawa has joined #armbian-rockchip
<Armbian-Discord> <s​tvhay> WASM seems so cool and i love it but I have not figured out how to actually DO it
<Armbian-Discord> <T​onymac32> trying to find it, but someone actually ported an open source fpga toolset to it and the performance was indistinguishable from native, which I thought was interesting
<Armbian-Discord> <T​onymac32> you always see the claims, and the reality is always nowhere near
<Armbian-Discord> <r​pardini> in my experience good performance with v8 runtime, at least single thread.
<Armbian-Discord> <r​pardini> to get started easiest might be take a look at https://en.wikipedia.org/wiki/AssemblyScript -- it is TypeScript, but compiles down to WASM instead of JS
<Armbian-Discord> <r​pardini> others way more complex to get started, Rust / llvm etc
<Armbian-Discord> <M​icroLinux (Salva)> Armbian Ubuntu gnome (wayland) runs superb on the PBP (6.1K)
<Armbian-Discord> <M​icroLinux (Salva)> I had to shift to gdm3 bc of the power settings, but other than that, great experience. Super fast compared to my previous experiences
<Armbian-Discord> <M​icroLinux (Salva)> I am running on micro sd bc of my emmc problems
<Armbian-Discord> <M​icroLinux (Salva)> Current uboot disallowed me to even mount the emmc
<Armbian-Discord> <M​icroLinux (Salva)> That's super odd
<Armbian-Discord> <M​icroLinux (Salva)> Bc uboot is on the emmc
<Armbian-Discord> <M​icroLinux (Salva)> Not even on the spi
<Armbian-Discord> <T​enkawa> @MicroLinux (Salva) can you not run TowBoot?
<Armbian-Discord> <m​onkaBlyat> rk3399 u-boot seems to need some love had almost the same issue on rock 4b+ with latest armbian ,switching to the manjaro rk3399 u-boot source fixed it
<Armbian-Discord> <M​icroLinux (Salva)> Good, so, I will still use this from sd
<Armbian-Discord> <M​icroLinux (Salva)> At some point armbian will bump uboot version
<Armbian-Discord> <M​icroLinux (Salva)> Then, write it to spi, and that will allow me to write the emmc without disassemble the pbp
<Armbian-Discord> <M​icroLinux (Salva)> I would like to avoid tow boot
<Armbian-Discord> <M​icroLinux (Salva)> But if needed, I will
<Armbian-Discord> <M​icroLinux (Salva)> Mmm.. something really weird is happening on my pbp
<Armbian-Discord> <M​icroLinux (Salva)> @Tenkawa I wrote the spi towboot image to my spi..
<Armbian-Discord> <M​icroLinux (Salva)> And towboot isn't working at all
<Armbian-Discord> <M​icroLinux (Salva)> I am still utilizing emmc uboot
<Armbian-Discord> <J​ason123> I flashed towboot from inside linux
<Armbian-Discord> <M​icroLinux (Salva)> Ohh, I will try to write that one
<Armbian-Discord> <m​onkaBlyat> the issue seems to be on upstream u-boot since a while now
<Armbian-Discord> <M​icroLinux (Salva)> It's fixed??
<Armbian-Discord> <m​onkaBlyat> idk who maintain rk3399 pbp but the mainatiner might have a look into those patches
<Armbian-Discord> <m​onkaBlyat> it seems to be fixed on manjaro not yet on armbian
<Armbian-Discord> <M​icroLinux (Salva)> Oka!
<Armbian-Discord> <J​ason123> I have towboot booting first on my pinebook pro and its on spi
<Armbian-Discord> <J​ason123> But I use manjaro on the emmc
<Armbian-Discord> <M​icroLinux (Salva)> Ohh my bad. Wait a sec
<Armbian-Discord> <M​icroLinux (Salva)> Wrong image it's what I wrote
<Armbian-Discord> <M​icroLinux (Salva)> Crossing fingers now
<Armbian-Discord> <M​icroLinux (Salva)> Haha
<Armbian-Discord> <l​anefu> so what's functionally superior about towboot?
<Armbian-Discord> <M​icroLinux (Salva)> Not much, I just need it to work haha
<Armbian-Discord> <J​ason123> I like that towboot I can get uboot menu and can select it to boot from sd or usb
<Armbian-Discord> <M​icroLinux (Salva)> That's cool too
<Armbian-Discord> <J​ason123> And its not like vender uboot or distro uboot where its so many different builds
<Armbian-Discord> <J​ason123> Its one build for all distros
<Armbian-Discord> <T​enkawa> Yeah... one stop shopping has been nice.. especially when I'm testing PBP image builds on diff media
<Armbian-Discord> <M​icroLinux (Salva)> Nope..still not getting towboot to work on spi on my pbp
<Armbian-Discord> <T​enkawa> You did flip the switch right?
<Armbian-Discord> <M​icroLinux (Salva)> Ok, got it to work, it was my mistake haha
<Armbian-Discord> <M​icroLinux (Salva)> Let see
<Armbian-Discord> <M​icroLinux (Salva)> If I can see my emmc now
<Armbian-Discord> <T​enkawa> I really like the PBP on the road
<Armbian-Discord> <T​enkawa> I don't take my MBP with me when I'm going to be in unknown/bumpy environments
<Armbian-Discord> <M​icroLinux (Salva)> Okay, tow boot is working
<Armbian-Discord> <M​icroLinux (Salva)> But my emmc isn't
<Armbian-Discord> <M​icroLinux (Salva)> Probably it's dead somehow after last sd to emmc armbian instalation
<Armbian-Discord> <M​icroLinux (Salva)> It keeps saying mmc2 card stuck being busy! On dmesg
<Armbian-Discord> <M​icroLinux (Salva)> With towboot
<Armbian-Discord> <T​enkawa> Yeah that sounds like goodbye emmc
<Armbian-Discord> <T​enkawa> I just had to throw one out a few days ago
<Armbian-Discord> <M​icroLinux (Salva)> Now.. deleting towboot 😁
<Armbian-Discord> <M​icroLinux (Salva)> Done
<Armbian-Discord> <M​icroLinux (Salva)> Okay, acquiring the right screw driver and the screws... they are all screwed up, funny thing
<Armbian-Discord> <T​enkawa> Those screws are terrible
<Armbian-Discord> <T​enkawa> And those plastic clip things
<Armbian-Discord> <T​enkawa> who in the world came up with those things
<Armbian-Discord> <T​enkawa> if you lose them it wont mount flush
<Armbian-Discord> <s​tvhay> How do I change the name of the kernel package that armbian uses?
<Armbian-Discord> <s​tvhay> I am building a rk3588 variant that requires a different kernel
<Armbian-Discord> <s​tvhay> ive made a .csc file in configs
<Armbian-Discord> <s​tvhay> and ive managed to use a "function post_family_config__indiedroid-nova_use_stvhay_kernel() {" function to define variables to point to the tree
<Armbian-Discord> <s​tvhay> mimicking what i saw for the opi5 for u-boot
<Armbian-Discord> <l​anefu> @stvhay quick and dirty is making your own BOARDFAMILY= that will namespace it.
<Armbian-Discord> <l​anefu> still working on a userpatches way to do that
<Armbian-Discord> <s​tvhay> @lanefu namespace how though
<Armbian-Discord> <s​tvhay> ohh that's an environment variable
<Armbian-Discord> <s​tvhay> i think i see what you are saying, yes
<Armbian-Discord> <s​tvhay> i hacked in a legacy2 lol not good
<Armbian-Discord> <s​tvhay> @lanefu you can probably patch the kernel up although order might be different
<Armbian-Discord> <l​anefu> LINUXFAMILY is kind of the default package namespace marker
<Armbian-Discord> <l​anefu> ```
<Armbian-Discord> <l​anefu> fgrep -Rn LINUXFAMILY lib/ extensions/
<Armbian-Discord> <l​anefu> ```
<Armbian-Discord> <s​tvhay> it looks like changing that one you kinda have to redo everything or at least comb through a lot
<Armbian-Discord> <r​pardini> in that hook, change LINUXFAMILY, and you'll get a separate kernel deb. You might have to adapt KERNELPATCHDIR, LINUXCONFIG and others, though
<Armbian-Discord> <s​tvhay> i see a lot of logic tied to linuxfamily
<Armbian-Discord> <r​pardini> yep. it's... central.
<Armbian-Discord> <s​tvhay> if I run that grep, quite a few hard coded if statements and such
<Armbian-Discord> <r​pardini> mostly drivers etc
<Armbian-Discord> <s​tvhay> i like the idea of changing the boardfamily
<Armbian-Discord> <s​tvhay> KERNEL_MAJOR_MINOR is exported kinda randomly
<Armbian-Discord> <m​onkaBlyat> https://monka.systemonachip.net/rock5b/pancsf-midstream/Armbian_23.05.0-trunk_Rock-5b_jammy_edge_6.2.0-rc1.img here is a experimental pancsf test image ,this branch is needed right now to install upstream mesa
<Armbian-Discord> <r​pardini> KERNEL_MAJOR_MINOR is transitional stuff, but still needed.
<Armbian-Discord> <r​pardini> oh nice. We've BRANCH=midstream BOARD=rock-5b with your config Monka 😉
<Armbian-Discord> <r​pardini> confess took me half-an-hour to realize what midstream meant, lol
<Armbian-Discord> <r​pardini> people really... really... wanna get that 88 going
<Armbian-Discord> <r​pardini> it's amazing.
<Armbian-Discord> <s​tvhay> yeah its just the only one that is exported
<Armbian-Discord> <r​pardini> oh. you mean export vs declare -g ?
<Armbian-Discord> <s​tvhay> ooh i should look at that.. is it in the rock-5b
<Armbian-Discord> <r​pardini> I gonna fix that one day. Almost everywhere you see export it should be replaced with declare -g
<Armbian-Discord> <r​pardini> yeah. that's premature shellcheck-squashing that spread like a virus. my fault.
<Armbian-Discord> <s​tvhay> does it need the export?
<Armbian-Discord> <s​tvhay> or the declare -g?
<Armbian-Discord> <s​tvhay> heh its funny i can see its your fault. my IDE runs git blame or something
<Armbian-Discord> <s​tvhay> also yes the googulator kernel looks interesting. may try it when he's a little further along
<Armbian-Discord> <E​feCTN> @amazingfate tried the overlay. It doesn't work but if i kill pulse and restart it, hdmi sound is shown in pactl list
<Armbian-Discord> <T​onymac32> Boy that midstream is ugly 😆
<Armbian-Discord> <T​onymac32> And yet
<Armbian-Discord> <l​anefu> it definitely works
<Armbian-Discord> <r​pardini> ideally all globals should be declare -g. real export needs are very few
<Armbian-Discord> <T​enkawa> working and "working well/secure/not riddled with bugs" are two entirely different things which someone like me that spent my career fighting that does not condone
<Armbian-Discord> <T​enkawa> It will "never" be that
<Armbian-Discord> <T​enkawa> Not as long as computers exist
<Armbian-Discord> <s​tvhay> well my dead horse is riding today. haha 🙂
Tenkawa has quit [Quit: Was I really ever here?]
<Armbian-Discord> <s​tvhay> @lanefu @rpardini thank you for the guidance. @lanefu look forward to seeing your more thought out changes and image in the nova chat.
Tenkawa has joined #armbian-rockchip