ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | IRC log http://irclog.whitequark.org/linux-rockchip | Community GH https://github.com/linux-rockchip | Rockchip GH https://github.com/rockchip-linux | ML https://groups.google.com/group/linux-rockchip
<adj__> how much disassembling needs to be done to disconnect the battery? is it difficult or easy to damage something? (about the asus c101pa)
perr has joined #linux-rockchip
perr has quit [Remote host closed the connection]
perr has joined #linux-rockchip
perr has joined #linux-rockchip
perr has quit [Changing host]
<asciilifeform> adj__: iirc it's simply a jumper-style short in the batt connector, rather than the actual battery voltage presence
<asciilifeform> adj__: to disconnect the battery (and then you gotta boot up without it, from mains) gotta take off the top (kbd/touchpad) of case .
<adj__> asciilifeform, thanks
<adj__> I'm going to take that laptop in the next days
vstehle has quit [Ping timeout: 265 seconds]
vagrantc has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Ping timeout: 248 seconds]
cnxsoft has joined #linux-rockchip
fysa has joined #linux-rockchip
<fysa> anyone try running kodi/libreelec inside a docker container? https://forum.kodi.tv/showthread.php?tid=329289&highlight=docker
lurchi_ has joined #linux-rockchip
lurchi__ has quit [Ping timeout: 240 seconds]
vstehle has joined #linux-rockchip
vagrantc has quit [Quit: leaving]
_whitelogger has joined #linux-rockchip
kloczek has quit [Read error: Connection reset by peer]
kloczek has joined #linux-rockchip
perr has quit [Remote host closed the connection]
perr has joined #linux-rockchip
LargePrime has quit [Ping timeout: 240 seconds]
LargePrime has joined #linux-rockchip
kloczek has quit [Remote host closed the connection]
kloczek has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
chewitt has joined #linux-rockchip
kloczek has quit [Remote host closed the connection]
perr has quit [Remote host closed the connection]
perr has joined #linux-rockchip
chewitt has quit [Read error: Connection reset by peer]
perr has quit [Remote host closed the connection]
fysa has quit [Ping timeout: 248 seconds]
Omegamoon has joined #linux-rockchip
tllim has joined #linux-rockchip
adj__ has quit [Remote host closed the connection]
adj__ has joined #linux-rockchip
perr has joined #linux-rockchip
kloczek has joined #linux-rockchip
lukasz_ has joined #linux-rockchip
perr has quit [Remote host closed the connection]
lurchi_ is now known as lurchi__
cnxsoft has quit [Quit: cnxsoft]
lurchi__ is now known as lurchi_
perr has joined #linux-rockchip
BenG83 has joined #linux-rockchip
LargePrime has quit [Ping timeout: 265 seconds]
LargePrime has joined #linux-rockchip
tllim has quit [Read error: Connection reset by peer]
tllim has joined #linux-rockchip
lukasz_ has quit [Quit: Leaving]
kaspter has quit [Quit: kaspter]
tllim has quit [Quit: Leaving]
perr has quit [Quit: Leaving]
Omegamoon has quit [Ping timeout: 240 seconds]
JohnDoe_71Rus has joined #linux-rockchip
return0e has quit [Ping timeout: 248 seconds]
Omegamoon has joined #linux-rockchip
return0e has joined #linux-rockchip
vagrantc has joined #linux-rockchip
lukasz_ has joined #linux-rockchip
rompelstompel has joined #linux-rockchip
nots has joined #linux-rockchip
LargePrime has quit [Ping timeout: 276 seconds]
LargePrime has joined #linux-rockchip
Omegamoon has left #linux-rockchip [#linux-rockchip]
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.0 Aria http://www.kvirc.net/]
return0e has quit [Ping timeout: 245 seconds]
rompelstompel has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
LargePrime has quit [Ping timeout: 256 seconds]
LargePrime has joined #linux-rockchip
LargePrime has quit [Ping timeout: 260 seconds]
LargePrime has joined #linux-rockchip
return0e has joined #linux-rockchip
nOOb__ has joined #linux-rockchip
LargePrime has quit [Quit: Leaving]
nOOb__ has quit [Quit: Leaving]
nOOb__ has joined #linux-rockchip
nOOb__ is now known as Largeprime
BenG83 has quit [Quit: Leaving]
Largeprime has quit [Remote host closed the connection]
Largeprime has joined #linux-rockchip
lukasz_ has quit [Quit: Leaving]
adj__ has quit [Ping timeout: 256 seconds]
adj_ has joined #linux-rockchip
lurchi_ is now known as lurchi__
lurchi__ is now known as lurchi_
ganbold has quit [Quit: This computer has gone to sleep]
vstehle has quit [Ping timeout: 240 seconds]
amstan_ is now known as amstan
<asciilifeform> beeble et al : i tried the experiment with c101pa : http://www.loper-os.org/?p=2382 << so far no dice
<amstan> asciilifeform: interesting
<amstan> "conventional USB3 A-connector, when A-A cable with PC " pretty sure the a connector is behind a hub
<amstan> so you're not going to do device mode on that
<asciilifeform> the usbc ones , similarly nodice
<asciilifeform> and it ignores the microsd (preloaded with bitwise copy of the spi rom)
lurchi_ is now known as lurchi__
<amstan> sd card is powered from a pin on the soc
<amstan> so you have a chicken and egg problem
<amstan> not exactly c101, but close enough
<amstan> it's done that way exactly to prevent what you're trying to do
<asciilifeform> so thing needs another blue wire, apparently
<amstan> sd_io is the same
<amstan> what are you trying to do?
<asciilifeform> port generic uboot to the box
<asciilifeform> this needs a simple debricking mechanism (is likely to take however many shots of bad boot rom)
<amstan> in a couple of months you'll be able to reflash the spi flash on that device without even opening it
<asciilifeform> originally i was gonna lift the spi rom and replace with socket, but this is gnarly, and earlier folks here suggested https://irclog.whitequark.org/linux-rockchip/2018-06-01#22239152; ( maskrom mode )
<asciilifeform> amstan: i can already reflash, with flashrom. but this presupposes a machine that boots.
<asciilifeform> this one, after the first time i flash in a new image, probably will not boot.
<amstan> reflash assuming it's bricked, yep
<asciilifeform> i do not have a servo, nor any means to solder the 0.5mm connector
<amstan> which you could use now if you had the hardware, but that's not much different from just soldering 8 wires around the spi chip
<asciilifeform> right, next stop is the 8 wires.
Kamikaze84 has joined #linux-rockchip
<asciilifeform> ( this works on some machines, but not others, sometimes the other devices on the board interfere, and then you gotta lift the chip and replace with socketed )
<asciilifeform> was hoping to avoid this.
nighty- has quit [Quit: Disappears in a puff of smoke]
<amstan> other devices? like what? I can check schematics
<asciilifeform> i was not aware that the schem is published
<asciilifeform> where can i find it ?
<amstan> it's not, but i can still check it :)
<amstan> i wish this was opensource, it would prevent such awkwardness
<Kamikaze84> Hi all. Is anyone willing to try a DTS patch for mainline for a rk3399-firefly ? This patch fixes the fan53555 & pwm-regulator issues I have with my board. I understand that this seems to only affect some firefly boards, so am wondering if anyone would be willing to try the patch on their board. If it works OK I will try and submit it as a patch to the linux-rockchip mailing list.
<asciilifeform> amstan: consider to pgp it to me, i will host it .
<amstan> asciilifeform: nope, i won't be able to do that
<asciilifeform> sucks
<vagrantc> Kamikaze84: happy to try it
<amstan> asciilifeform: but i should be able to answer specific questions about it, so if you get stuck on something let me know
<vagrantc> xypron in #u-boot was mentioning this issue earlier today
<asciilifeform> amstan: where's the uart ?
<asciilifeform> if i can find the uart, i can prolly bring it up via maskrom mode's uart boot
<amstan> it's on the servo connector, though you probably don't want to hear that
<vagrantc> Kamikaze84: i'm in the position of having one board that seems unaffected, and one that seems affected ... so :)
<asciilifeform> amstan: none of the nice fat test pads are it ?
<Kamikaze84> vagrantc: that's kinda perfect, haha.
<amstan> i doubt it, but i never had a reason to look for them in bigger format
<amstan> there's also the h1 chip, it's able to give you access to the uart through some side pins on the type c connector
<amstan> i was meaning to document them 2 weeks ago, but i got busy
<asciilifeform> oh hey
<asciilifeform> which pins ?
<asciilifeform> and which usbc ( there are 2, one nearer to lcd, and one nearer to front )
<Kamikaze84> if you want the already merged patch to the DTS it's in that same directory too: https://github.com/VenKamikaze/firefly-rk3399-build/tree/master/kernel/configs/working-4.16-rockchip not sure if there's any small differences in dts between that version of the kernel and the latest for-next or master (although i tried applying it to master the other day and it was ok), so i just linked the patch tho.
<amstan> strap it as a debug accessory(forgot the strapping, check the spec), and you'll if you connect the sbu lines to another host you'll get access to a bunch of uart devices
<amstan> port0 maybe?
<asciilifeform> these are normal ttl-voltaged serial ?
<amstan> asciilifeform: if you wait a couple of days I might be able to finish the documentation and release it, then you'll be set
<asciilifeform> rx/tx pair ?
<asciilifeform> amstan: that would be very neat
<amstan> asciilifeform: and a little bit later you'll even be able to buy this cable, so you don't have to hack with breakout boards
<asciilifeform> i've already ordered the breakout
<asciilifeform> should be here in day or 2.
<amstan> i'll have instructions on how to make your own too
<asciilifeform> i expect it will take about 5min to make the cable.
<amstan> but ideally it'll be another page similar to https://www.chromium.org/chromium-os/servo
<asciilifeform> amstan: these lines, do they go straight from the rk3399 , or are they molested by the ec controller like the sdio lines ?
<amstan> heh, probably molested
<asciilifeform> so no use then
<amstan> though... not sure what you mean by ec
<asciilifeform> the boobytrap controller that prevents the thing from booting from sd, as you described earlier
<asciilifeform> (and controls e.g. the keyboard, but this is incidental)
<amstan> ec is not involved at all on the sdmmc slot
<amstan> it's just that we assume ap(rk3399) always boots from spi flash, so we don't let it boot from anything else, to get the sdmmc working the rk3399 already has to output high on the en pins for the sdmmc voltage
<asciilifeform> hm earlier i understood it to mean that the thing cannot suck boot rom off microsd because there is a trap preventing sd power and io from reaching the slot until disarmed by google's bootloader
<amstan> it's not really a software trap, it's just that the rk3399 has to enable the pins before it's booting, and it can't, unless someone told it to do that beforehand
<asciilifeform> amstan: sounds like you were among the builders ? what would it take to enable loading rom from sd ?
<amstan> hardware changes
<asciilifeform> well yes
<amstan> if you get those 2 power en pins, that's probably enough (i think, i never tried it)
<amstan> there might be some rk3399 strapping you have to do too, but i'm not too familiar
<asciilifeform> do you know where they are ?
<amstan> I can find out, but it'll have to be tomorrow
<asciilifeform> ok thanks amstan
<amstan> for the uart thing...
<amstan> can you tell me about the protocol there? is 115200 8n0?
<amstan> what you can get to via the typec breakout is like an onboard usb to serial stuck on a certain baud rate
<asciilifeform> the boot-via-uart thing, i recall very vaguely from the datasheet, cannot immediately remember the baud
adj__ has joined #linux-rockchip
<amstan> is this all to just replace the firmware to get linux on there?
<asciilifeform> i have never had occasion to try it with my other rockchips ( they boot ok )
<amstan> without getting the beep?
<amstan> that's much easier
<asciilifeform> amstan: not simply 'get linux'
<asciilifeform> i want 100% degooglization
adj_ has quit [Read error: Connection reset by peer]
<amstan> here we go
<amstan> is coreboot ok?
<asciilifeform> sure, so long as it's mainline
<asciilifeform> and not google's
<asciilifeform> and gives uboot console, netboot, the whole shebang
lurchi__ is now known as lurchi_