Werner changed the topic of #armbian to: armbian - Linux for ARM development boards | www.armbian.com | Github: github.com/armbian | Commits: #armbian-commits | Developer talk: #armbian-devel | Forum feed: #armbian-rss | Off-Topic: #armbian-offtopic | Logs: -> irc.armbian.com
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #armbian
shoragan has quit [Quit: quit]
shoragan has joined #armbian
norwich_ has joined #armbian
norwich has quit [Ping timeout: 265 seconds]
norwich_ is now known as norwich
shoragan has quit [Read error: Connection reset by peer]
shoragan has joined #armbian
TheCoffeMaker has joined #armbian
TheCoffeMaker has quit [Quit: So long and thanks for all the fish]
TheCoffeMaker has joined #armbian
alekksander has joined #armbian
lyri has joined #armbian
alekksander has quit [Quit: Konversation terminated!]
archetech has quit [Quit: Konversation terminated!]
<yang2> Hello, anyone with Radxa Rock 5 ?
<yang2> I am trying to flash it
<yang2> can I flash it without connecting the board to HDMI TV ?
<Armbian-Discord> <T​onymac32> I've only run SD
<yang2> I don't see an SD slot
<Armbian-Discord> <T​onymac32> it's the ultra cheap ones like on Hardkernel stuff
<Armbian-Discord> <T​onymac32> side opposite all the ports, under the buttons
<yang2> thank you
<yang2> so, do I flash by using micro SD card and it will automatically extract to eMMC and use that as storage later?
<yang2> or do I need to hook it up on TV and go through the settings?
<Armbian-Discord> <T​onymac32> you need a screen or a UART at least
<yang2> I am curious if I can install without TV
<yang2> ok, I'll hook it up on the TV then
<yang2> tonymac32 some other boards can be flashed and automatically accessed over ssh later on , IP by DHCP
<yang2> so I am curious if I could ssh to this one by such procedure
lyri has quit [Ping timeout: 252 seconds]
<yang2> without TV
lyri has joined #armbian
<yang2> sorry if I keep repeating myself, its kinda early
stipa_ has joined #armbian
<yang2> good morning stipa_
stipa has quit [Ping timeout: 268 seconds]
stipa_ is now known as stipa
<stipa> yang2: mornin
lyri has quit [Remote host closed the connection]
<yang2> stipa: I am trying to flash the radxa rock 5
<stipa> yang2: cool cool
lyri has joined #armbian
<stipa> nicod has it too
<yang2> stipa: yeah I dont know how to proceed, if I could do it without HDMI TV
<yang2> like if it auto extracts and then syncs with ssh over DHCP
<yang2> no idea
<stipa> i guess it's auto login enabled on armbian the first time
<yang2> ok
<yang2> so mabe it would work, I'll try
<stipa> so it could maybe connect to the lan
<yang2> yes
<stipa> not sure
<yang2> well I can use "netdiscover" to check MAC
<yang2> if it will show up
<stipa> yeah, maybe the network service starts without login too
<yang2> I get such slow writes to USB key from PC only 5MB/s...
<yang2> stipa: so default is "root" and pass "1234"?
<stipa> usually you have to choose login and pass the first time
<yang2> ok
<stipa> maybe you could edit a config on the sdcard
<stipa> and set the network to auto connect if it doesn'g
<yang2> ok
<stipa> it's a bit harder to set it manually but if you have skills you'll figure it out
<yang2> it doesnt seem to boot off the USB
<yang2> I mean I dont see
<yang2> will hook it up on TV
<stipa> you don't have ans sd card?
<yang2> yes IU do have
<yang2> but it can be booted off SD and USB I think
<stipa> k
stipa_ has joined #armbian
stipa has quit [Ping timeout: 272 seconds]
stipa_ is now known as stipa
califax has quit [Remote host closed the connection]
califax has joined #armbian
Smedles has quit [Remote host closed the connection]
Smedles has joined #armbian
stipa_ has joined #armbian
stipa has quit [Ping timeout: 260 seconds]
stipa_ is now known as stipa
junaid_ has joined #armbian
<yang2> If anyone would like a nice IO performance script - https://paste.debian.net/hidden/abaa39bd/
lyri has quit [Ping timeout: 272 seconds]
lyri has joined #armbian
stipa_ has joined #armbian
stipa has quit [Ping timeout: 265 seconds]
stipa_ is now known as stipa
popolon has joined #armbian
<popolon> hi
<popolon> I try Armbian on a Radxa Rock5 model B
<popolon> I have both pd and classic power supply, but with v1.42 revision of the board, it looks like it is more stable with pd
<popolon> it boot on armbian, shows the logo, and after a while shows a prompt with failure about launching OpenSSH server (I use last stable gnome version)
<popolon> is there any login/pass to connect in by default ?
<popolon> I see only some tips about an autoconnect and access to install scripts
<popolon> which version have the most chance to work between CI version, rolling weekly and CI, as minimal else ?
junaid_ has quit [Ping timeout: 268 seconds]
<yang2> hi popolon
<yang2> what is a PD ?
<popolon> power supply apple compatible (just an USB-C connector), like QC, Qualcomme compatible, (just an USB), but both have stronger power
<popolon> https://www.armbian.com/rock-5b/#collapse-widget-5-0-0-0 <= this page claims that the device is more stable on most revision of the board with standard power due to hardware bug
<yang2> popolon: today I have installed Bullseye CLI minimal image onto rock5B. I had to use an SD card and hooked it up on TV over HDMI, because it will drop you to the installation menu to create passwords and suers
<yang2> suers/users
<popolon> at least this is not the case in 1.42, I was able to boot and work with default Radxa images
<popolon> thanks
<popolon> i tried on eeprom
<yang2> also you will need a computer keyboard (USB)
<Armbian-Discord> <I​gorPec> this looks like corrupted sd card
<popolon> sure :)
<Armbian-Discord> <I​gorPec> if ssh server throws out errors it means it couldn't recreate keys
<Armbian-Discord> <I​gorPec> and that happens when a) 1st boot was interrupted b) media is broken
<popolon> maybe I didn't use the good tool, I used the tool that Radxa say to use with eeprom, but as I use an sdcard adapter, I think just a dd or the armbian tool should work better in this case ?
<Armbian-Discord> <I​gorPec> i would suggest to follow armbian instructions
<popolon> maybe 1st boot was interrupted, I didn't have any signal on screen at first boot
<Armbian-Discord> <I​gorPec> hw dealers world is different
<Armbian-Discord> <I​gorPec> then this explains it
<popolon> ok, thanks
<popolon> need to wait for long time at fist boot maybe ?
<Armbian-Discord> <I​gorPec> yes, a bit as it does filesystem expand
<Armbian-Discord> <I​gorPec> depends on speed and size of your media
<popolon> 128GB, looks fast, it boot in few seconds, on default image, didn't benchmarked speed
<Armbian-Discord> <I​gorPec> nobody reads FAQ anymore? 🙂
<yang2> popolon: in my case it was quick, less than 3 minutes with a 32GB SD Card
<Armbian-Discord> <I​gorPec> default image is not much different in this regard, perhaps expansion is done manual, never used it
<popolon> ok, will try again then, by trying step by step, the included FAQ don't say anything about eeprom, so I was not sure about the process
<Armbian-Discord> <I​gorPec> what has eeprom here to do?
<Armbian-Discord> <I​gorPec> you don't need to do anything
<popolon> that's the first time I wrote in, I know on some device, there is specific tools to write in, a specific driver
<popolon> need to flash it at least :)
<popolon> so just dd the iamge ?
<Armbian-Discord> <I​gorPec> ah, Rockchip have some tools that it looks scientific
<popolon> it will grow by uitself
<Armbian-Discord> <I​gorPec> aha. ok. dd is not right tool for flashing to sd cards
<popolon> no, some drivers was needed not included on the kernel on an AllWinner board
alekksander has joined #armbian
<popolon> so linux-sunxi community made specific tools
<popolon> (as an example)
<popolon> every kind of eeprom need a specific driver
<Armbian-Discord> <I​gorPec> brb / lunch time
<yang2> IgorPec: bon apetite
<popolon> when the driver is mature you can use it as any block device
<yang2> popolon: if you really want to use dd, this is how I write it on sd card: dd bs=4M if=Armbian_22.11.2_Rock-5b_bullseye_legacy_5.10.110_minimal.img | pv | dd of=/dev/sdb
<popolon> ah thanks didn't know pv command :)
<yang2> be cautious of the last /dev/sdb it needs to match your SD card, could be something else, check with lsblk
<popolon> but just a simple dd is good enough
<popolon> sure :)
<popolon> thanks
<yang2> and use "sync" when it finishes
<popolon> yes yes
<yang2> :)
junaid_ has joined #armbian
<Armbian-Discord> <I​gorPec> popolon its about trust. you can't trust sd media
<Armbian-Discord> <I​gorPec> dd does not verify what sends to block device
<Armbian-Discord> <I​gorPec> its perhaps marginal problem today, but it still is present
maknho has quit [Quit: WeeChat 3.0]
maknho has joined #armbian
junaid_ has quit [Read error: Connection reset by peer]
junaid_ has joined #armbian
junaid_ has quit [Quit: leaving]
<popolon> ok, the HDMI port used is the left one on minimal, not the right one as default image :) It seems than the default serial console isn't at speed 115200 I've garbages on it.
<popolon> @IgorPec, this is not SD, but eeprom, here (as said), no problems with the eeprom, the default image that is wider verify the flashing.
<popolon> and it boot correctly with minimal, i pressed entry on serial console so need to start again the whole procedure (missed root pass etc... breaked, but at least I have something that work
<Armbian-Discord> <T​enkawa> @popolon the rock5 uses these settings:
<Armbian-Discord> <T​enkawa> baudrate: 1500000
<Armbian-Discord> <T​enkawa> data bit: 8
<Armbian-Discord> <T​enkawa> stop bit: 1
<Armbian-Discord> <T​enkawa> parity : none
<Armbian-Discord> <T​enkawa> flow control: none
<Armbian-Discord> <T​enkawa> not 115200
<Armbian-Discord> <T​enkawa> thats why you got the garbage output
<popolon> aah thanks !
<Armbian-Discord> <T​enkawa> np
<popolon> nice to see a default speed at modern capabilities, but unusual :)
<Armbian-Discord> <T​enkawa> Yeah they use a really odd speed
<Armbian-Discord> <T​enkawa> everything else is fairly standard except the baudrate
<popolon> I see that.
<Armbian-Discord> <T​enkawa> btw If you ever need more info:
<Armbian-Discord> <T​enkawa> https://wiki.radxa.com/Rock5/guide
<Armbian-Discord> <T​enkawa> That's Radxa's official SoC docs
<popolon> Thanks, didn't find the informtion probably didn't look at the good place
<Armbian-Discord> <T​enkawa> np
<popolon> aah this page is very convenient to found other information. I wondered what was the usage of the M.2 E-key port
<popolon> nice to see it's possible to add a sata :)
<popolon> my goal is to use this board as main workstation as soon as possible, and I'm happy to see that Linux mainlining of the RK3588 progress quickly.
<Armbian-Discord> <T​enkawa> its not "progressing" that quickly
<Armbian-Discord> <T​enkawa> don't be that optimistic
<Armbian-Discord> <T​enkawa> What you have been seeing has a timeline of probably a year-two
<Armbian-Discord> <T​enkawa> minimum
<Armbian-Discord> <I​gorPec> its 1+ year away for workstation usage, server will be before surely
<Armbian-Discord> <T​enkawa> Exactly
archetech has joined #armbian
<popolon> depend on what you do on your workstation maybe?
<popolon> if it's browsing + ssh + some tools it already works fine
<popolon> well maybe still not in mainlining
<Armbian-Discord> <T​enkawa> popolon: it does nothing in mainline but boot to a serial console
<Armbian-Discord> <T​enkawa> and missing effectively all hardware
lyri has quit [Ping timeout: 272 seconds]
<popolon> not all, a great part, but not all
lyri has joined #armbian
<popolon> several parts have already introduced in mainline
<yang2> popolon: welcome to teh club of Rock 5 !
<Armbian-Discord> <T​enkawa> popolon: many of those parts were "already there"... the parts that are needed for the 3588 aren't
<Armbian-Discord> <T​enkawa> the 3588 is using "ancient" code
<Armbian-Discord> <T​enkawa> So the individual pieces of hardware are all over the place... the SoC though... no
<Armbian-Discord> <T​enkawa> I was worried the 3568 was going to turn out like this.. fortunately it didn't
<popolon> @yang2, thanks :)
<Armbian-Discord> <T​enkawa> I need to put my new drive in my 3568 speaking of 3568's heh
<popolon> I follow at the same time the progress on AllWinner D1 (RISC-V) and Rockchip RK3588, as some older Rockchip and AllWinner devices, and in my point of view it goes far faster than at the time of this older devices
<Armbian-Discord> <T​enkawa> of course... the RK boards have been in development years longer than Risc-V
<Armbian-Discord> <T​enkawa> RISC-V is still very young
<Armbian-Discord> <T​enkawa> arm/arm64 isn't
<Armbian-Discord> <T​enkawa> I'm workig on Risc-V too btw... just waiting on my hardware... already been developing images and a builder
<popolon> ???
<popolon> you mix subjects
<popolon> I speak about drivers
<popolon> not architecture
<Armbian-Discord> <T​enkawa> Your sentence confused me then... my bad
<Armbian-Discord> <T​enkawa> and which are you saying is faster?
<popolon> If you speak about RISC-V on system, on D1, GPU is really missing for some applications, and JIT was generally missing a year ago
<popolon> no problem
<popolon> I say the drivers are faster done than few years ago on the AW/RK platforms but for sure there are more bases due to previous iterations
<Armbian-Discord> <T​enkawa> Drivers are "not" the problem
<Armbian-Discord> <T​enkawa> The "core" is
<popolon> JIT used in Lua/JS and some other languages are central in some applications
<Armbian-Discord> <T​enkawa> You can't just throw the kernel in there and go
<popolon> you need drivers to initialise power etc.. sure
<Armbian-Discord> <T​enkawa> The one in there right now is years old
<Armbian-Discord> <T​enkawa> popolon: no... you need a core before that
<popolon> what do call a "core" here
<Armbian-Discord> <T​enkawa> and that's the part that like Igor said.. the kernel core is at least 1-2 years away
<popolon> what do call a "core" here?
<Armbian-Discord> <T​enkawa> The core is the "cpu/ram/io"
<Armbian-Discord> <T​enkawa> the minimum just to run the machine
<popolon> aah, the controlers drivers so
<Armbian-Discord> <T​enkawa> it will not run on its own other than to be a dumb terminal
<popolon> if you run a terminal, you already have cpu ram io
<Armbian-Discord> <T​enkawa> If you think you can mainline Android drivers from 5 years ago.. go for it
<popolon> android is a specific case
<Armbian-Discord> <T​enkawa> thats what its currently runninng
<Armbian-Discord> <T​enkawa> its running converted Android code
<popolon> this is a strongly modified kernel, the driver are often closed sources on a fixed old kernel :(
<Armbian-Discord> <T​enkawa> Exactly... thats my point
junaid_ has joined #armbian
<Armbian-Discord> <T​enkawa> this is not just a "update it to mainline"
<popolon> I don't think that blobed version use android drivers, it would not work like this
<Armbian-Discord> <T​enkawa> heheh....
<popolon> this is an older problem than android
<Armbian-Discord> <T​enkawa> Its ancient
<Armbian-Discord> <T​enkawa> (90% of this boards problem)
<Armbian-Discord> <T​enkawa> they used an ancient Android kernel then converted it...
<Armbian-Discord> <T​enkawa> just a mess
<popolon> D1 risc-V already work on (opensource) patched mainline
<Armbian-Discord> <T​enkawa> yeah.. what I'm liking about risc-v
<popolon> Witch RISC-V hardware did you wait for ?
<Armbian-Discord> <T​enkawa> I really want my v2 board to get here
<Armbian-Discord> <T​enkawa> vf2
<popolon> don't hope too much from it
<Armbian-Discord> <T​enkawa> why not?
<popolon> no documentation, and they don't want to give any
<Armbian-Discord> <T​enkawa> I don't use docs anyway
<popolon> there will be a huge reverse engeenering work
<Armbian-Discord> <T​enkawa> Didn't have any on the Rock5
<Armbian-Discord> <T​enkawa> or most of the RPI's I worked on
<popolon> and performances are very low compared to THead based board
<Armbian-Discord> <T​enkawa> How do you know? The board isn't even out yet
<popolon> they are :)
<popolon> and follow the previous generation
<Armbian-Discord> <T​enkawa> I've heard that from plenty of "devs" who didn
<popolon> the perfs of SiFive Cpu are less good than THead one, and THead ones are open source at least :)
<popolon> I know some people having VF2
<popolon> the benchmark was already less good on vf1 vs D1
<Armbian-Discord> <T​enkawa> I might be getting a D1 as well.. not sure yet.. waiting to see if its being sent
<popolon> I have 2 since one year
<popolon> but it is not interesting today, but to do a small server
<Armbian-Discord> <T​enkawa> I use all of my SoCs as headless servers
<popolon> Missing GPU is a real problem for desktop
<popolon> ok, in this case it's fine
<popolon> but limited
<popolon> the new THead processor (that wuold be available next month) will be something between RK3399 and RK3588 in term of performances
<popolon> I found interesting they added a RISC-V (CPU grade) corze (C906, the same that used in D1)+a DSP just for audio
<Armbian-Discord> <T​enkawa> haahaa
<Armbian-Discord> <T​enkawa> nice
<Armbian-Discord> <T​enkawa> Only thing annoys me with my CM4 is the "size" of the carrier board...just way too big
<Armbian-Discord> <T​enkawa> I should've waited for the one Waveshare came out with that supports pci-e
<popolon> and the VF2 is sent without doc and any disk image, so that just a dead electronic board for now...
<Armbian-Discord> <T​enkawa> Not a fair comparison
<Armbian-Discord> <T​enkawa> The "board" can make a "huge" difference on a SoC
<Armbian-Discord> <T​enkawa> chip vs chip comparisons are not a good representation
<popolon> the JH7100 (on SF1) has already really slower perfs than D1 (C906)
<popolon> You will see...
<popolon> if they give a day a system image
<popolon> or doc (who know?)
junaid_ has quit [Ping timeout: 268 seconds]
junaid_ has joined #armbian
marco44 has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
marco44 has joined #armbian
junaid_ has quit [Ping timeout: 268 seconds]
The_Loko has joined #armbian
califax has quit [Remote host closed the connection]
califax has joined #armbian
oida has joined #armbian
archetech has quit [Quit: Konversation terminated!]
<Sabotender> It's been about a week that I've been using this driver, and it is still going strong without any problems, please let me know when it has been integrated within the distro. also, please include tethering libs for i phone and whatnot to make things more simple for those who do not have access to an Ethernet cable or other means of internet access.
<Sabotender> it's such a good driver that supports AP mode, but some nights I wake up nervous that it would be suddenly gone, so I check my mobile that it is still broadcasting. yes. that's how much stress this situation had caused me.
<Armbian-Discord> <T​onymac32> more Imagination Tech garbage for GPU
<Armbian-Discord> <T​onymac32> they were very careful to not mention PowerVR 😄
<Armbian-Discord> <T​onymac32> @IgorPec I added Jira tickets like a good boy, rockchip64 patchsets need completely refactored for about 2/3 of the supported boards
<Armbian-Discord> <I​gorPec> ok
<Armbian-Discord> <T​onymac32> mainline caught up to our experiments and now we're the ones doing weird stuff
<Armbian-Discord> <T​onymac32> most of our "add board" patches are blowing away the mainline DTS's and starting over 😄
<Armbian-Discord> <I​gorPec> Manjaro is stealing our patches
<Armbian-Discord> <I​gorPec> sending them upstream under their names
<Armbian-Discord> <T​onymac32> hmmm, I didn't see evidence of that in this case, there is significant difference between what we have and what mainline did
<Armbian-Discord> <T​onymac32> but I'm sure I could find it if I looked harder
<Armbian-Discord> <I​gorPec> would need to check, surely, but i woudn't be surprised
<Armbian-Discord> <T​onymac32> I haven't taken the time to try to set up anything to submit to mainline because honestly it seems less than friendly and more than a little political
<Armbian-Discord> <I​gorPec> exactly
<Armbian-Discord> <T​onymac32> I should probably bite the bullet
<Armbian-Discord> <T​onymac32> and go for it
archetech has joined #armbian
<stipa> go, waste some time
<stipa> i would say the mainline team is more concerned with the paid projects
<Armbian-Discord> <I​gorPec> there is not such things as mainline team. yeah, more like a politics
<stipa> expecting from someone something you alone don't do is not realistic
<Armbian-Discord> <I​gorPec> most of things which are getting there were already done
<stipa> honestly mainlining boards shouldn't in any way be armbians responsibility but manufacturers
<stipa> they have money to push stuff further
<Armbian-Discord> <I​gorPec> well, things are not that way
<stipa> well they should be ASAP
<Armbian-Discord> <I​gorPec> its a dirty game behind
<Armbian-Discord> <I​gorPec> they also can't just throw case, as they would support comptetirorys
<Armbian-Discord> <I​gorPec> so the answer is far from simple
<Armbian-Discord> <I​gorPec> but in case of manjaro it is simple - they want to advance on others work
<Armbian-Discord> <I​gorPec> and they do everything they can to look good
<Armbian-Discord> <T​onymac32> stipa some do: https://github.com/torvalds/linux/blob/master/arch/arm64/boot/dts/amlogic/meson-gxl-s905x-libretech-cc-v2.dts Not even released yet, already in mainline
<Armbian-Discord> <T​onymac32> the only things to add to any of those boards are the "dirty hacks" items that mainline hasn't/won't accept
<Armbian-Discord> <T​onymac32> as far as stuff like new SoC's go, even the vendors have limited resources to make up for the sins of Rockchip
<Armbian-Discord> <T​onymac32> 😄
<stipa> Price: $140.00
<stipa> :S
<Armbian-Discord> <T​onymac32> for which
<Armbian-Discord> <I​gorPec> rockchip is OMG
<stipa> libretech
<Armbian-Discord> <T​onymac32> the rk3399 board is the only one at $100
<Armbian-Discord> <T​onymac32> 4-pack
<Armbian-Discord> <T​onymac32> 😄
<Armbian-Discord> <r​pardini> spent the weekend in rk's 3588 5.10 half-android shit, and can say rk does it badly but vendors do #if 0 and fuck it.
<Armbian-Discord> <T​onymac32> they are $35 each
<popolon> PCI, MMC, PinCtrl, I2S/TDM, gpio, serial for RK3588 was already on mainline, CLocks/reset (and CRu), PLL, have been merged on Linux mainline and all of this should be available in 6.2. As on previous RockChip SoC, they worked actively on mainline Linux. itself (here Elaine Zhang). Also audio support has been merged in november
<Armbian-Discord> <r​pardini> it's terrible on top of horrible
<stipa> T​onymac32 oh right, 4 of them
<Armbian-Discord> <T​enkawa> @rpardini it is a pita hacked up kernel
<Armbian-Discord> <T​enkawa> oh.. thats its good points
<Armbian-Discord> <T​enkawa> lol
<Armbian-Discord> <T​onymac32> popolon to hit 80% support is not difficult, RK3399 was there for several years
<Armbian-Discord> <T​onymac32> you have to be 95% to be usable
<Armbian-Discord> <r​pardini> I hammered Khadas and Xunlongs on top of Radxa's. That was a lot of alcohol
<Armbian-Discord> <T​onymac32> the rockchip RK3328 is still a mess in reality
<Armbian-Discord> <T​enkawa> @rpardini after throwing a lot of mainline patches at it.. I did catch it up to the most recent 5.10
<Armbian-Discord> <T​enkawa> and it runs decent
<Armbian-Discord> <T​enkawa> I would "hate" to see how painful 6.x is going to be
<Armbian-Discord> <r​pardini> @Tenkawa did you work from radxa's 5.10.110 or the .66?
<Armbian-Discord> <T​enkawa> @rpardini started with radxa's 5.10.110
<Armbian-Discord> <T​enkawa> the 66 was impossible
alekksander has quit [Ping timeout: 252 seconds]
<Armbian-Discord> <r​pardini> Xunlong's is rk shit base plus DTS plus a few driver hacks on .110
<Armbian-Discord> <r​pardini> Khadas wasted their damn time with their mcu drivers etc on .66
<popolon> @tonymac32, I used rk3328 during years, at work everydays without problems
<popolon> (on mainline)
<popolon> that was about 5 years ago, what problems did you encounter with him?
<Armbian-Discord> <T​onymac32> mainline RK3328 does not have official GPU, GPU opps, memory controller, etc etc etc etc
<Armbian-Discord> <T​onymac32> you have to add all of that
<popolon> What ???
<popolon> this was already in mainline at this time, lol
<popolon> That was one of the huge work of Alyssa to port RK3288 GPU in mesa
<popolon> the GPU problem was not rockchip but mali that didn't open its driver
<Armbian-Discord> <T​onymac32> 3288 is the A17 one, it is almost perfect
<popolon> RK collaborate with Linux for years
<Armbian-Discord> <T​onymac32> 3328 is the A53 one
<popolon> and is 100% mainlined for it's own aprts
<Armbian-Discord> <T​onymac32> I have Tinker Board and MiQi, both RK3288. Best support I've ever seen for Rockchip
<popolon> ahh sorry I misread, didn't look at this one
<Armbian-Discord> <T​onymac32> RK3328 isn't even close
<popolon> I suppose there are less people using low end, or they are mode dedicated to crap android box
<popolon> (I mean the ULP versions
<Armbian-Discord> <T​onymac32> right, anything that is associates with Google has requirements
<Armbian-Discord> <T​onymac32> the RK3328 is not
<popolon> the more powerfull version are already ultralow power
<Armbian-Discord> <T​onymac32> so a chromebook processor will always be better supported
<popolon> that's true, I used it on a chromebook (whithout chromeOS)
<popolon> 100% mainlined so
<Armbian-Discord> <T​onymac32> I have one I keep meaning to stick Armbian on, but I don't really use laptops so it sits
<Armbian-Discord> <T​onymac32> their bootloader is just... ugh
<popolon> mine is dead, can't start anymore :( Need to found someone to repair it, I think Asus will not care of it
<popolon> coreboot :)
<popolon> at least there is no this fuckin UEFI
<popolon> and horrible blob BIOS
<Armbian-Discord> <M​anoftheSea> what's wrong with uefi?
<Armbian-Discord> <T​onymac32> I prefer EFI, personally
<Armbian-Discord> <M​anoftheSea> u-boot dts is worse than kernel, because they have two per board
<Armbian-Discord> <T​onymac32> sigh because they intend for the kernel dts to match the u-boot dts, and any special u-boot parts go in their own
<Armbian-Discord> <M​anoftheSea> uboot does?
<Armbian-Discord> <T​onymac32> so you have the -u-boot.dts to hide whatever they need
<Armbian-Discord> <M​anoftheSea> yeah, that's what I was seeing for helios64, anyway
<Armbian-Discord> <M​anoftheSea> It's not true for all boards, though.
<Armbian-Discord> <T​onymac32> yeah. In theory the "main dts between u-boot and kernel should be the same
<Armbian-Discord> <T​onymac32> the vendor has to keep up 😄
<Armbian-Discord> <M​anoftheSea> What's the theory on having "u-boot specific bits"?
<popolon> UEFI is just a broken things made by some people loving binaries blobs
<Armbian-Discord> <T​onymac32> early config of devices/etc. anything the kernel isn't aware of that u-boot handles
<popolon> DTS give you all specs, and you can reuse them
<Armbian-Discord> <M​anoftheSea> that doesn't make any sense
<Armbian-Discord> <M​anoftheSea> aren't those drivers for defined devices, though?
<Armbian-Discord> <T​onymac32> not always. let me find an example
<popolon> some work on using the kernel for everything
<popolon> so you unify definitions to one place
<popolon> the problem is that you need to activate some parts before loading the kernel
<popolon> but this allow to use the same boot on other kernels than linux, that is a good point too
<Armbian-Discord> <T​onymac32> so you can see in here the smbios stuff, and anything going into the spl
<Armbian-Discord> <T​onymac32> and the RAM config
<Armbian-Discord> <T​onymac32> since mainline knows nothing of that at all
<Armbian-Discord> <T​onymac32> and it's the bootloaders job to init all that stuff with the ATF's help
<popolon> that's not that
<Armbian-Discord> <M​anoftheSea> Sure, but they still ought to be in the same tree, because it's supposed to describe the hardware.
<popolon> that's uboot need to initialise ram/disk/network to load the kernel and USB so you can type in when you are on console
<Armbian-Discord> <M​anoftheSea> If Linux doesn't have a role in initializing some described bit, it just doesn't, but that's no reason not to include it
<popolon> after starting the kernel, the kernel itself manage all of this
<Armbian-Discord> <M​anoftheSea> popolon, can you explain what you mean about UEFI and binary blobs?
<popolon> UEFI is mainly used with BIOS and was done to continue to use it
<popolon> it is an useless layer
<Armbian-Discord> <M​anoftheSea> UEFI is explicitly NOT BIOS
<popolon> dt have all necessary things
<popolon> sure
<Armbian-Discord> <M​anoftheSea> It is an interface to platform firmware
<popolon> it is just broken designed by the same people
<popolon> yes firmware like bios and it's blob
<Armbian-Discord> <M​anoftheSea> I mean, I know it tends to look like DOS 5.0
<popolon> (s)
<popolon> blobs
<Armbian-Discord> <M​anoftheSea> But u-boot's implementation of UEFI interfaces aren't "binary blobs", they're open source code. Itanocore is opensource code
<popolon> sure
alekksander has joined #armbian
<popolon> uboot is open source
<popolon> they implemented UEFI just because everyone want UEFI
<Armbian-Discord> <M​anoftheSea> Sure, Linux shouldn't do anything with this since it's already configured by the time the kernel starts, but nothing should be hurt by linux knowing about it, either
<popolon> and everyone want UEFI just because BIOs industry push it
<popolon> there is no advantage beside DTS
<Armbian-Discord> <M​anoftheSea> dts is orthogonal to UEFI
<Armbian-Discord> <T​onymac32> you'll never get a dt node without a driver/documentation included in a device tree
<Armbian-Discord> <M​anoftheSea> you can have dts with or without UEFI
<Armbian-Discord> <M​anoftheSea> In the linux repo of dts, you mean?
<popolon> sure
<Armbian-Discord> <T​onymac32> an EFI image is hardware agnostic to a large extent. I can boot the same Armbian EFI image on a Le Potato and a Phytium D2000
<Armbian-Discord> <M​anoftheSea> And because the linux repo is "the canonical repo", thus does u-boot need to overlay their own stuff?
<Armbian-Discord> <T​onymac32> the Phyium doesn't even have a device tree in mainline
<popolon> but if all your drivers a free, documented and well referenced in dt, you don't need UEFI
<Armbian-Discord> <M​anoftheSea> What does it mean to reference a driver in DT? I thought dt just said what the hardware was, and it was the driver's job to say what it works with
<Armbian-Discord> <T​onymac32> it is a description of the hardware
<Armbian-Discord> <M​anoftheSea> Like, the driver claims the dt node, not the other way around
<Armbian-Discord> <T​onymac32> but that description is dependent on what the drivers need to function
<popolon> sure, I write it wrongly
<Armbian-Discord> <T​onymac32> the DT node content has to be defined somewhere
<Armbian-Discord> <T​onymac32> and to define it, you need to know what the parameters the driver needs
<Armbian-Discord> <M​anoftheSea> Shouldn't that be in the EE papers of the chip?
<Armbian-Discord> <T​onymac32> so all threee need comitted at the same time, the driver, the dt documentation, and the dt bindings
<Armbian-Discord> <M​anoftheSea> Like, if the dt node says there's a w25qt256 SPI-NOR, the whitepaper of the chip has the parameters that the driver needs
<Armbian-Discord> <T​onymac32> that's nothing compared to a ram controller
<Armbian-Discord> <T​onymac32> and the names need to be correct for everything
<popolon> dts describes addresses, registers interrupts etc..
<Armbian-Discord> <M​anoftheSea> Sure, so the hardware bill of materials gets represented in the dt, along with the electrical engineering of how it all hooks together on the board
<Armbian-Discord> <M​anoftheSea> That's vendor trash.
<Armbian-Discord> <T​onymac32> guess what?
<Armbian-Discord> <T​onymac32> it's all there is
<Armbian-Discord> <M​anoftheSea> Well yeah, we already know rockchip is hot shit
<Armbian-Discord> <T​onymac32> so it lives in u-boot
<Armbian-Discord> <M​anoftheSea> But this is evidence of failing to do a good job, not something that should be accepted
<Armbian-Discord> <T​onymac32> with its own special entry
<Armbian-Discord> <T​onymac32> reality doesn't bend to our will I'm afraid
<Armbian-Discord> <T​onymac32> Or rockchip64 patch folder wouldn't look like it does
<popolon> how will you boot without initialising the peripherals
<Armbian-Discord> <T​onymac32> 😄
<Armbian-Discord> <M​anoftheSea> I'm not suggesting we don't initialize them.
<popolon> how will you load kernel without accessing first to ram, power, processor and source of the kernel
<Armbian-Discord> <M​anoftheSea> I'm suggesting the SoC maker and the board vendor be competent.
<popolon> do you prefer to delegate it to a closed source bios ?
<Armbian-Discord> <M​anoftheSea> A DT that's just a table of numbers is trash.
<popolon> that take some times several minutes to boot
<Armbian-Discord> <M​anoftheSea> This comes out of right field. What does that have to do with anything
<Armbian-Discord> <M​anoftheSea> It is closed-source if all the DT is is a table of numbers
<popolon> not in trash, that's a perfect description of all the specs of peripherals
<Armbian-Discord> <T​onymac32> in this case the driver pulls that into a struct, you can figure out what it is
<popolon> and with this you can easily port a driver from an os to another one
<Armbian-Discord> <T​onymac32> a question is whether or not it's worth all the headache to break out each line delay/phase variable
lemonzest has quit [Quit: WeeChat 3.6]
<Armbian-Discord> <T​onymac32> and put it in the device tree
<popolon> it's better to have it in DTS, that describe every part, that include all of this in code line
<Armbian-Discord> <M​anoftheSea> That should be documented in the hardware documentation.
<Armbian-Discord> <T​onymac32> for Soc Vendors that aren't NXP, the vendor kernel is the SoC documentation 😄
<popolon> so you don't have to touch your code to add for example twice a device on a board, you can just references the two devices inside your board definittion
<Armbian-Discord> <M​anoftheSea> well, I'm glad to hear someone does it well.
<Armbian-Discord> <M​anoftheSea> But also, marvell's no good?
<Armbian-Discord> <T​onymac32> no idea honestly
<popolon> Rockchip give documentation about their SoCs, they are available on GIthub
<Armbian-Discord> <T​onymac32> I've never looked at theirs
<popolon> all timings, registers, address etc are well referenced
<Armbian-Discord> <M​anoftheSea> x to doubt
<Armbian-Discord> <T​onymac32> Oh? They keep the TRM part 2 secret
<Armbian-Discord> <T​onymac32> where is the github for this?
<Armbian-Discord> <M​anoftheSea> well, go back a second. You said uboot needs to know e.g. dram timing. But isn't that done by TF-A?
<Armbian-Discord> <M​anoftheSea> (or the vendor's closed-source blob version of BL1, BL2)
<archetech> rpardini did you get a better result than whats current on 5.10.110 for all that work
<popolon> the question is about which Ip they use, as ARM doesn't open their doc, as they use the ARM Mali GPU, they can't give all details about it
<Armbian-Discord> <T​onymac32> There could be flowcharts the size of a wall to show all the possible routes the hardware conf takes 😄
<popolon> ARM NDA, not rockchip itself
<Armbian-Discord> <M​anoftheSea> all things are easy when I don't know jack
<popolon> that's at least a step in advance to some SoC that don't give anything...
<popolon> * SoC vendors
<popolon> @tonymac32, don't know precisely about which SoC TRM part 2 you want
<Armbian-Discord> <M​anoftheSea> trm = the reference manual?
alekksander has quit [Quit: Konversation terminated!]
<Armbian-Discord> <T​onymac32> technical reference manual
<Armbian-Discord> <T​onymac32> that's not a rockchip repo. I can "find" their docs in a few dusty corners of the web, but they are not distributing them freely
<Armbian-Discord> <T​onymac32> I have that page bookmarked 😄
<Armbian-Discord> <T​onymac32> datasheet and TRM part 1
<Armbian-Discord> <T​onymac32> layout guide
<Armbian-Discord> <T​onymac32> Before we go off into the woods any further, I have a lot of rockchip parts
<Armbian-Discord> <T​onymac32> I know how they distribute their documents, I know how they look like
<Armbian-Discord> <T​onymac32> They are not the worst by any means
<Armbian-Discord> <T​onymac32> but they are not "good"
<popolon> nobody is good or bad, there are just some levels of goodness and badness depending on topics
<popolon> :)
<Armbian-Discord> <T​onymac32> I'm not misdirecting into flawed philosophy either 😄
<Armbian-Discord> <T​onymac32> They need to make the TRM part 2 publicly available as a first step
<Armbian-Discord> <T​onymac32> that would be helpful
<popolon> at least they work by themselve on mainlining, following Linux (and Linus) standards (but their is no choice ^^)
<Armbian-Discord> <T​onymac32> and I can't imagine what issues they have sharing it
<Armbian-Discord> <T​onymac32> haha yeah, if they want to have their parts in big name products they have to
<Armbian-Discord> <T​onymac32> They really really need to scrap their in-house kernel and start over though, it's become unmanageable
<popolon> kit if "big products" have closed source and buggy things that will never be debugged sadly :(
<Armbian-Discord> <M​anoftheSea> what?
<Armbian-Discord> <M​anoftheSea> oh, you're saying rockchip is attempting to get their drivers in mainline linux?
<Armbian-Discord> <M​anoftheSea> that's great
<Armbian-Discord> <I​gorPec> sounds too good to be true 😉
<Armbian-Discord> <T​onymac32> they do, I watch the mailing list, but it's not usually complete, it's a "minimal support level" I'd call it
<Armbian-Discord> <T​onymac32> with RK3288 and RK3399 being exceptions
<popolon> they do that since several years (at least 3288, but that was before)
<Armbian-Discord> <T​onymac32> I would hope to see better moving forward, their internal workload on that travesty of a kernel has to be extreme
<Armbian-Discord> <I​gorPec> aha, you mean they stick to this schema - rockchip opensource
<Armbian-Discord> <I​gorPec> 3288 was google deal around chromebooks
<Armbian-Discord> <I​gorPec> iirc
<popolon> I would say instead they are not alone to work on the integration of their SoC, they are helped by people with more knowledge of the internal of the kernel.
<popolon> I look at this one but there is work for ther too
<popolon> mainlining of drivers is a long effort, with proposition, and kernel main devs asking some changes
<Armbian-Discord> <T​enkawa> I was just looking at the Rockchip opensource list and they are far away from integrating anything new or recent into mainline that isn't already there
<Armbian-Discord> <T​enkawa> There's not even reference to some of the chipsets yet
<popolon> This is a main from Collabora. I think Collabora is paid by some companies to help to integrate their drivers: https://lwn.net/Articles/894045/
<Armbian-Discord> <T​enkawa> That is from May and it went nowhere
<popolon> Alyssia Rosenzweig that made most of the work on Mali Panfrost driver was hired by Collabora after about 1 year of work on this driver.
<popolon> tenkawa: ahah that's your point of view
<popolon> look at the previous link
<popolon> all integration start like this
<popolon> some huge patch that is answered by some needed improvments
<Armbian-Discord> <T​enkawa> popolan: learn how to read:
<Armbian-Discord> <T​enkawa> Path not found
<popolon> after few exchange it is integrated, but it take time
<Armbian-Discord> <T​enkawa> its gone
<popolon> the DTS is not gone
<Armbian-Discord> <T​enkawa> so if it ever was there.. it is no more
<popolon> that's the last step
<popolon> I mean the main DTS
<Armbian-Discord> <T​enkawa> I just pulled a filename from that email
<Armbian-Discord> <T​enkawa> that was committed
<popolon> it's a proposition, everything is validated step by step
<popolon> if you look at straight path you will not understand the working path
<popolon> they advanced a lot (see previous link)
<Armbian-Discord> <T​enkawa> @popolon: I understand plenty
<popolon> this one
<popolon> ok
lyri has quit [Remote host closed the connection]
<popolon> the final DTS of a SoC is added at the end
<Armbian-Discord> <T​enkawa> I am not talking about one file....
<popolon> several parts of RK3588 have already been integrated in 6.1
<Armbian-Discord> <r​pardini> yep, I hear GMAC et al. Is it working?
<popolon> And that's about the same path on D1
<popolon> more than one year of exchanges in linux ml
<popolon> do you think than a broken thing would be integrated ?
<Armbian-Discord> <r​pardini> no, I meant having GMAC does not mean fully working ethernet on an actual board.
<Armbian-Discord> <r​pardini> so it might be there, work, but not usable / "working".
<popolon> need to test it then
<Armbian-Discord> <r​pardini> I'm just curious for my friends, I don't have any 88 boards...
<popolon> this is a wip anyway
<popolon> I've one since 2 days
<popolon> didn't have time to test specific kernels
<Armbian-Discord> <c​0rnelius> the work I saw for gmac on the 3588 is already there in 6.1
<Armbian-Discord> <c​0rnelius> it was a support patch
<popolon> not sure it is enough to have it working, you probably still need to add patchs to boot on RK3588
<popolon> and thene don't need to patch GMAC anymore, as it is in mainline
<Armbian-Discord> <r​pardini> Igor had a very minimal build somewhere, need to update that to Torvald's master
<popolon> not sure Linus master has everything to boot, but is clearly well advanced
<Armbian-Discord> <c​0rnelius> I don't have a 3588 but i put together a patch set for it. if anyone wants to try on 6.1?
<Armbian-Discord> <r​pardini> Igor had some 6.1-rcX booting, UART but nothing else
<popolon> this is a good and very complet documentation about their hw
<popolon> (and on the official site at the same time :)
<Armbian-Discord> <r​pardini> runs away
<popolon> this is still a wip
<popolon> but wait 6.1 is out
<popolon> no need to rc
<popolon> c0rnelius, probably better to try 6.2rc then
<popolon> still not out as terball
<c0rnelius> popolon: I don't have a board with that SoC. Only people with no real interest in making those boards work were given them or could afford them. For the most part... But I do keep an out as I imagine I will eventually get one. ;)
<Armbian-Discord> <I​gorPec> we also manage to move our patchset to 6.1, first test build of everything
<Armbian-Discord> <r​pardini> JetHub ok with 6.1 Igor?
<Armbian-Discord> <I​gorPec> on edge?
<Armbian-Discord> <I​gorPec> well, this is nightly build, so i don't think its a problem
<Armbian-Discord> <r​pardini> just wondering, the rest of meson64 I've tested myself or have good feedback from the good folks here
<Armbian-Discord> <r​pardini> 6.1
<Armbian-Discord> <I​gorPec> in my test farm, "Khadas VIM1" failed
<Armbian-Discord> <I​gorPec> but it could also be something else
<Armbian-Discord> <r​pardini> that I did not test indeed.
<Armbian-Discord> <I​gorPec> i don't know what's the problem as i don't have console there
<Armbian-Discord> <r​pardini> nothing changed for sure, and other similars work, so might be a fluke
<Armbian-Discord> <r​pardini> vim1 is blob uboot from Khadas
<Armbian-Discord> <I​gorPec> yeah, it could also be broken before ... logging is terrible
<Armbian-Discord> <I​gorPec> so its difficult to resolve
<Armbian-Discord> <I​gorPec> all other amlogic devices had no problems
<Armbian-Discord> <r​pardini> I had confirmed VIM1 working with 5.19 when we reworked patchset, 6.0 and 6.1 were just mostly fast-forwards
<Armbian-Discord> <I​gorPec> only rockchip and allwiner devices failed 😉
<Armbian-Discord> <I​gorPec> some
<popolon> I don't have HDMI output with current armbian
<popolon> tried on 2 ports
<archetech> c0rnelius: ill try it but would need all patches up to around say...today
<Armbian-Discord> <I​gorPec> popolon: which hw?
<popolon> Rock 5 Model B
<popolon> everything works well but HDMI output
<Armbian-Discord> <I​gorPec> aha, hmm. well, yesterday worked
<popolon> I can log in console & ssh
<popolon> lightdm runs
<popolon> verified by reflashing the image from Radxa, HDMI still work :)
<popolon> but, here nothing
<popolon> does the kernel used can display on both HDMI 1 and 2 ?
<popolon> as I seen the Armbian logo one time (on left HDMI) where the Radxa Debian image use HDMI 2
<popolon> sorry the right HDMI port
<Armbian-Discord> <I​gorPec> it depends on desktop i guess, i got working gnome, someone reported xfce does not work
<Armbian-Discord> <I​gorPec> dunno
<popolon> but I don't even have console nord lightdm
<Armbian-Discord> <I​gorPec> and if you add panfork drivers ... mess just gets bigger
<popolon> so not a desktop problem
<popolon> what is bigger mess than absolutely nothing ? ^^
<Armbian-Discord> <I​gorPec> heh
<Armbian-Discord> <I​gorPec> i mean for most people it works
<popolon> need to figure out what's wrong
<popolon> then
<Armbian-Discord> <I​gorPec> no idea
<popolon> I seen a video where WebGL worked with Mesa drivers on ARMbian
<Armbian-Discord> <I​gorPec> yes, i also tried
<popolon> the author only shown one chromium demo with aquarium
<Armbian-Discord> <I​gorPec> thats kind of standard test, those fishes
<popolon> yes
<popolon> but I didn't even have that with radxa image :)
<popolon> worst after updating debian package, X didn't work anymore, I had to change parameters in X.org conf, and then everything was using LLVMpipe ^^
<popolon> firefox was still usable, was able to play 1080p videos on youtube (with some 60° SoC without the heatsink
alekksander has joined #armbian
<archetech> Kernel: 5.10.110-rockchip-rk3588 arch: aarch64 bits: 64 Console: pty pts/2
<archetech> Distro: Ubuntu 22.10 (Kinetic Kudu) Machine: Type: ARM System: Radxa ROCK 5B
<popolon> will try the ppa, can't be worst than current state, but I believe it's more related to a video unit than GPU
<archetech> OpenGL: renderer: Mali-G610 (Panfrost) v: 3.0 Mesa 23.0.0-devel
<archetech> works here
<popolon> Linux rock-5b 5.10.110-rockchip-rk3588 #trunk.0025 SMP Thu Dec 8 15:14:22 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux
<popolon> ok;, will try the ppa then in dmesg there are some complaints about mali and alredy existing driver:
<popolon> [ 5.039599] mali fb000000.gpu: Looking up mali-supply from device tree
<popolon> [ 5.039627] debugfs: Directory 'fb000000.gpu-mali' with parent 'vdd_gpu_s0' already present!
<popolon> can't find power model etc...
<archetech> nned this in firmware with ppa mesa mali_csffw.bin
The_Loko has quit [Quit: Leaving]
<popolon> do you mean, it is included in the ppa ?
<archetech> no
Armbian-Discord has quit [Remote host closed the connection]
Armbian-Discord has joined #armbian
<popolon> have it here: /usr/lib/firmware/mali_csffw.bin
<popolon> I've a bunch of this line in dmesg: [Sun Dec 18 22:44:51 2022] dwhdmi-rockchip fde80000.hdmi: use tmds mode
<archetech> ignore the red kernel messgs
<archetech> its a hacked android kernel basd on ancient 2.6
<popolon> ok, thanks
alekksander has quit [Quit: Konversation terminated!]
<popolon> Distro: Ubuntu 22.10 (Kinetic Kudu) Machin <= hey didn't noticed that
<popolon> I'm in Jammy
<popolon> maybe I need a dist upgrade ?
<archetech> get the gpu to work first
<popolon> oops,upgrade started
<popolon> not a gpu problem, but HDMI output problem
<popolon> anyway as far I can login, have build-essential, I can play a bit more far
<popolon> need to do a sizecoding for a demoparty during this time ^^
<popolon> (during the release upgrade)
<archetech> hdmi works on every armbian img I tried on first boot
<archetech> so idk what you're doin to get that issue
stipa_ has joined #armbian
stipa has quit [Ping timeout: 272 seconds]
stipa_ is now known as stipa
Lucanis has joined #armbian
<popolon> good question :))
<popolon> I tried with another screen, in case of
<popolon> some HDMI drivers work on some screen but not other one
<popolon> I use a graphic tablet screen, the only one I have with HDMI, other one use adapter for HDMI
<popolon> generally it always work with it
<popolon> some FPGA in some case work only with dome HDMI
<popolon> maybe this is related to boot on eeprom? I will try to found a 4GB microSD for testing
<popolon> and try again to power on standard USB port instead of pd adapter