ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion
stikonas has quit [Read error: Connection reset by peer]
camus has joined #linux-rockchip
kevery has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 260 seconds]
montjoie has quit [Quit: leaving]
Rathann|Mobile has joined #linux-rockchip
rembo10 has quit [Quit: ZNC 1.8.2 - https://znc.in]
rembo10 has joined #linux-rockchip
Rathann|Mobile has quit [Remote host closed the connection]
SallyAhaj has quit [Ping timeout: 272 seconds]
SallyAhaj has joined #linux-rockchip
<wens> I just realized my devices running -next no longer advertise 1000base-T by default. Anyone else seeing this?
<wens> looks like it might've started with 92c3807b9ac3 net: stmmac: convert to phylink_get_linkmodes(), but the root cause is likely 9cbadf094d9d net: stmmac: support max-speed device tree property
stikonas has joined #linux-rockchip
matthias_bgg has joined #linux-rockchip
SallyAhaj_ has joined #linux-rockchip
SallyAhaj has quit [Ping timeout: 260 seconds]
kevery has quit [Ping timeout: 250 seconds]
Net147 has quit [Quit: Quit]
Net147 has joined #linux-rockchip
Net147 has quit [Changing host]
Net147 has joined #linux-rockchip
SallyAhaj has joined #linux-rockchip
SallyAhaj_ has quit [Ping timeout: 246 seconds]
SallyAhaj_ has joined #linux-rockchip
SallyAhaj has quit [Ping timeout: 272 seconds]
camus has quit [Ping timeout: 260 seconds]
SallyAhaj has joined #linux-rockchip
SallyAhaj_ has quit [Ping timeout: 246 seconds]
Tenkawa has joined #linux-rockchip
<Tenkawa> I notice this is a more development centric channel.. however where is a good channel/place to ask a question about a hardware rng for the ROCKPRO RK3399? Trying to isolate/find its driver/dts/dtb location because I cannot currently locate it.
<Tenkawa> I "assume" that soc has one on it
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
vagrantc has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 272 seconds]
unkraut has quit [Read error: Connection reset by peer]
unkraut has joined #linux-rockchip
<wens> It does. It doesn't pass the tests in rng-tools though :/
<Tenkawa> we just fixed it on our build
<Tenkawa> we integrated 2 different patches and are going to keep an eye on it for a few days
<Tenkawa> sudo cat /proc/sys/kernel/random/entropy_avail
<Tenkawa> 3161
<Tenkawa> here;s where it's sitting at idle currently
<Tenkawa> it 10:183 -> ../hwrng
<Tenkawa> we only have our patches built for 5.17 currently though
<wens> I think montjoie would be interested.
<wens> IIRC last I tried to add support for it, it worked OK as an entropy source, just that the data it produced didn't pass the randomness test in rng-tools
<wens> so I wasn't really confident in sending the patches out
<Tenkawa> wens: do you have the test routine procedure I can run against it?
<Tenkawa> just to be sure
<Tenkawa> I'll test it here to make sure
<Tenkawa> I'd like to make sure we are being thorough and not using false positives
<Tenkawa> if I validate this one it will be the last soc in my list of 9 running units to validate
SallyAhaj has quit [Remote host closed the connection]
<wens> Tenkawa: see rngtest from rng-tools
<Tenkawa> wens: will do.. thanks
<Tenkawa> it does appear to still have issues... the device is still outputting data however 0 tests passed tge FIPS140-2 test
<Tenkawa> er the
SallyAhaj has joined #linux-rockchip
SallyAhaj has quit [Remote host closed the connection]
SallyAhaj has joined #linux-rockchip
<mps> hm, iirc I have hwrng on rk3399 kevin-gru chromebook
<wens> I can check my kevin-gru tomorrow
<mps> I can take it from daughter in one hour and look
<mps> just took it and checked, yes there is /dev/hwrng
<wens> but is it actually provided by internal crypto?
<Tenkawa> yeah I have a hwrng that even cats data.. but it fails all the fips tests
<Tenkawa> thsI just made another set of adjustments to the kernel and some code.. going to see if it helps
<Tenkawa> same.. still outputs data however fails all tests
<mps> wens: I didn't installed anything special for it so I think it is internal
<mps> I can look at kernel config
<Tenkawa> mps: it definitely appears to have a disconnect in the io handler somewhere. It looks like it populates the pool potentially but doesn't correctly dispense it in my testing.
<Tenkawa> at first it wasn't even acknowledging the device existed.
<mps> hmm, I can't find it in source
<Tenkawa> mps: we had to add it
<Tenkawa> 2 of us added it to our own branch
<mps> `grep rk33 drivers/char/hw_random/*` doesn't show anything
<Tenkawa> the current source doesn't have
<Tenkawa> er it
<mps> Tenkawa: aha, understand
<Tenkawa> we took 2 sources that are working on it and ported them in.
<Tenkawa> it "partially" works
ente has quit [Ping timeout: 256 seconds]
<Tenkawa> I have just started using rockchip devices about 3 weeks ago... (been using Broadcom/Amlogic up until now)
<Tenkawa> I'm enjoying figuring out the inner workings of these
<Tenkawa> mps: oh interesting... you may have helped find the disconnect
<Tenkawa> we made adjustments to the dtb and the core rng but the he_random doesn't appear to have any bindings
<Tenkawa> er hw_random
<mps> Tenkawa: I'm wasting my free time in last month on apple M1, trying to make alpine linux good on it
<Tenkawa> need a test subject?
<mps> so I don't have time these days for this
<mps> Tenkawa: yes, if you post something with subject I can
<Tenkawa> hehe I'm trying to convince myself to put Alpine on here
<Tenkawa> as long as I can still dual boot I'd be up for it
<Tenkawa> I use OS X a lot still but I spend 90% of my day building Linux OS's
<mps> Tenkawa: iirc you read my guide?
<Tenkawa> I think I have the link... I had an issue come up in real life the other day
<Tenkawa> I'm back now though
<Tenkawa> got the url handy? (otherwise I can go look in logs)
<Tenkawa> thank you
<Tenkawa> time to start reading
<mps> it is still not finished but could be used by someone who knows how to 'play' with such things
<Tenkawa> yeah I build os's from scratch (ie lfs) so no problem
<Tenkawa> I was a slackware user in 93 if that tells you anything lol
<mps> Tenkawa: yes, it tells me, I was slackware user in this same year ;_
<mps> s/;_/;)/
<Tenkawa> haahaa so you know I enjoy....trudging through
<Tenkawa> and of course I'll start with a good backup :)
<Tenkawa> backups???? what are those
<mps> sure, always backup 'The tao of the backup' book
<Tenkawa> do you know minimal?
<mps> Tenkawa: you mean Dermot Bradley?
<Tenkawa> not sure if thats his real name... just goes by minimal on here
<mps> I don't see nick 'minimal'
<Tenkawa> He's offline at,
<Tenkawa> er atm
<mps> aha, yes I know him
<Tenkawa> He's going to be amused to hear me try this
<Tenkawa> he knows me well from RPI stuff
<mps> we worked together on some things in alpine
<Tenkawa> I've been talking about using Alpine on "something" for a while
ente has joined #linux-rockchip
<Tenkawa> I have it on a parallels vm right now learning syntax of the differences
ente has quit [Ping timeout: 256 seconds]
<mps> Tenkawa: if you need help for alpine on m1 you can join #asahi and ask me there if I can help
<Tenkawa> thanks
<Tenkawa> the biggest concern I have will have is input device... still need to find a bt replacement until that works
<Tenkawa> I like my mouse
<mps> ah, yes, bt driver is not yet on horizon
<mps> though wifi works quite fine so maybe someone with knowledge and time in this will make it in some time
ente has joined #linux-rockchip
<Tenkawa> kernel is one of my background areas.. maybe I should get back acquainted
<Tenkawa> lol
<Tenkawa> mind you most of my work was on assembly code in it
<Tenkawa> that's how long ago it was
<mps> heh, assembly is where my computing started but nowadays it faded away
<Tenkawa> assembly and cobol here
<Tenkawa> I was still actually using cobol though until the early 2000's
<mps> and long ago also used forth for some things
<Tenkawa> (financial systems)
<Tenkawa> not a programmer by trade..just always got thrown into it
<mps> hah, in last 15 years I mostly write financial apps and REST servers
ente has quit [Ping timeout: 260 seconds]
<mps> working with low level is just a hobby nowadays for me
<Tenkawa> before I retired I was primarily a sysadmin/dba
<Tenkawa> its all hobby now
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
camus has joined #linux-rockchip
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
camus has quit [Ping timeout: 240 seconds]
lurchi_ is now known as lurchi__
Tenkawa has quit [Quit: ... ... ... ... ...]