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>
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)