System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
Whistler has quit [Quit: Connection closed for inactivity]
user21 has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 276 seconds]
kevery1 is now known as kevery
System_Error has quit [Remote host closed the connection]
naoki has quit [Quit: naoki]
* Ermine
wishes he could just get a job at collabora
user21 has joined #linux-rockchip
ldevulder has joined #linux-rockchip
user21 has quit [Ping timeout: 252 seconds]
raster has joined #linux-rockchip
user21 has joined #linux-rockchip
raster has quit [Read error: Connection reset by peer]
raster has joined #linux-rockchip
<Ermine>
Linux didn't see that partition because rkdeveloptool wrote broken partition entry
<CounterPillow>
oh yeah if you've ever looked at the rkdeveloptool code from rockchip directly (as opposed to any of the forks, e.g. the pine64 one) then you'll learn it's surprising it works at all :D
<Ermine>
Lmao
<Ermine>
We'll look at forks then
ldevulder has quit [Ping timeout: 260 seconds]
ldevulder has joined #linux-rockchip
<CounterPillow>
I use rockusb from https://github.com/collabora/rockchiprs but the really nice command line tool it comes with as an "example" is undocumented, and it's not entirely feature complete (e.g. partition write/read and eraseflash isn't implemented)
<CounterPillow>
You can install it with `cargo install rockusb --example rockusb --features=libusb` and it'll vomit a binary called `rockusb` into your ~/.cargo/bin
<qschulz>
CounterPillow: also, there is an issue when flashing bmap files with rockusb, somehow the checksum gets broken
<qschulz>
haven't had the time to look at it or produce a simple reproducer :/
<qschulz>
happened on a product we verify the squashfs checksum in U-Boot and it was broken when flashed with rockusb but not with rkdeveloptool
<mmind00>
CounterPillow: should I give you the chance to say something about the slab.h clk thing, or can I just apply things?
<CounterPillow>
mmind00: feel free to apply :) I'm sorry I didn't spot this one earlier
<mmind00>
CounterPillow: no worries :-) ... also my build-test also didn't spot this, so in "our" regular set of build-options/includes/whatever this really does not seem to appear much
<mmind00>
just the test-robot finding that super-special config set to trigger it :-)
<CounterPillow>
qschulz: from sjoerd: if the bmap file has gaps then that's expected.
<qschulz>
CounterPillow: oh that's fair. I assume we do "stupidly" the checksum by simply reading the whole partition
<qschulz>
and I assume squashfs supports holes otherwise my image wouldn't flash faster
<qschulz>
welp, that was an easy find, thanks for the reminder :)
<qschulz>
it probably would work if I did an mmc erase before, but I'm not sure this actually works well (I for sure have issues with some SoCs like RK3399 for example)
<CounterPillow>
yeah, and it sorta defeats the point of bmaps with holes in them ;)
<qschulz>
not really
<qschulz>
mmc erase is much faster than writing zeroes
<qschulz>
blkdiscard is actually almost instant
<CounterPillow>
I see
user21 has quit [Ping timeout: 252 seconds]
System_Error has joined #linux-rockchip
smaeul_ has joined #linux-rockchip
smaeul has quit [Ping timeout: 268 seconds]
smaeul_ has quit [Read error: Connection reset by peer]
smaeul has joined #linux-rockchip
raster has quit [Ping timeout: 248 seconds]
ldevulder has quit [Ping timeout: 244 seconds]
raster has joined #linux-rockchip
mmind00 has quit [Ping timeout: 248 seconds]
mmind00 has joined #linux-rockchip
gnuiyl has quit [Ping timeout: 252 seconds]
dsimic has quit [Ping timeout: 252 seconds]
ldevulder has joined #linux-rockchip
kilobyte_ch has quit [Ping timeout: 248 seconds]
Ermine has quit [Ping timeout: 248 seconds]
HackerBikepacker has quit [Ping timeout: 248 seconds]
HackerBikepacker has joined #linux-rockchip
Ermine has joined #linux-rockchip
kilobyte_ch has joined #linux-rockchip
kevery has quit [Ping timeout: 265 seconds]
System_Error has quit [Remote host closed the connection]
System_Error has joined #linux-rockchip
dsimic has joined #linux-rockchip
kevery has joined #linux-rockchip
vagrantc has joined #linux-rockchip
ldevulder has quit [Quit: Leaving]
ldevulder has joined #linux-rockchip
kevery has quit [Remote host closed the connection]
kevery1 has joined #linux-rockchip
kevery1 is now known as kevery
raster has quit [Quit: Gettin' stinky!]
System_Error has quit [Remote host closed the connection]
jaganteki has joined #linux-rockchip
System_Error has joined #linux-rockchip
stikonas has joined #linux-rockchip
ldevulder has quit [Ping timeout: 260 seconds]
jaganteki has quit [Quit: Client closed]
ldevulder has joined #linux-rockchip
rtp has quit [Ping timeout: 276 seconds]
rtp has joined #linux-rockchip
ldevulder has quit [Ping timeout: 260 seconds]
naoki has joined #linux-rockchip
stikonas has quit [Remote host closed the connection]