stikonas has quit [Remote host closed the connection]
stikonas has joined #linux-rockchip
kevery has joined #linux-rockchip
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 256 seconds]
kevery1 is now known as kevery
stikonas has quit [Ping timeout: 272 seconds]
anarsoul|2 has joined #linux-rockchip
anarsoul has quit [Ping timeout: 260 seconds]
kevery1 has joined #linux-rockchip
kevery has quit [Ping timeout: 250 seconds]
kevery1 is now known as kevery
JohnDoe_71Rus has joined #linux-rockchip
klokken has quit [Ping timeout: 240 seconds]
ullbeking has joined #linux-rockchip
klokken has joined #linux-rockchip
lopsided98 has quit [Quit: Disconnected]
lopsided98 has joined #linux-rockchip
tuxd3v has quit [Remote host closed the connection]
vagrantc has quit [Quit: leaving]
matthias_bgg has joined #linux-rockchip
nlhowell has joined #linux-rockchip
lkcl has quit [Ping timeout: 250 seconds]
stikonas has joined #linux-rockchip
lkcl has joined #linux-rockchip
<nomis>
robmur01: I right now try to follow the instructions in board/rockchip/evb_rk3328/README to create an uboot-image with miniloader manually. The docs are outdated and there are wrong paths all over the place, but I finally fail in the "rkflashloader" step because that shell script does not have support for rk3328. *sigh*
<nomis>
the git repository for these tools is basically ancient. I suspect that somebody did not push his local repository upstream... :-/
midnight has quit [Ping timeout: 256 seconds]
lkcl has quit [Ping timeout: 265 seconds]
mmind00 has quit [Quit: No Ping reply in 180 seconds.]
mrueg has quit [Remote host closed the connection]
kaichi has quit [Quit: Leaving]
mrueg has joined #linux-rockchip
mmind00 has joined #linux-rockchip
lkcl has joined #linux-rockchip
damex has quit [Read error: No route to host]
damex_ has joined #linux-rockchip
damex_ has quit [Client Quit]
damex has joined #linux-rockchip
damex has joined #linux-rockchip
<nomis>
robmur01: updating to u-boot 2004.04 has helped tremendously.
<robmur01>
oh, I'm so accustomed to building master (of just about anything) that I didn't consider that a build system would probably pull down some older stable release :)
<robmur01>
I think a lot of the work on the DDR code is only relatively recent
<nomis>
robmur01: yeah. that happened basically immediately after the 2020.01-Release.
<nomis>
the Kernel starts but then fails, but this is probably an issue of mismatches between the evb-rk3328 Devicetree and my own hardware.
<robmur01>
yay progress! :D
<nomis>
indeed. Quite a bumpy ride.
<robmur01>
any particular errors stand out in the kernel log?
<nomis>
right now it stops while probing stuff: [ 6.773755] phy phy-ff450000.syscon:usb2-phy@100.0: charger = USB_SDP_CHARGER
<nomis>
dunno, possibly a nonexistant 2nd ethernet phy?
<nomis>
ah no, that refers to some USB phy. It feels very timeout'y anyway, so it probably runs into some lockup trying to initialize a device not available on my hardware.
<nomis>
But that feels way more manageable than this TPL/SPL-Stuff...
<robmur01>
regulators and I/O domains are probably the next thing to look at
<nomis>
robmur01: I have some other devicetree lying around, scraped from a different running kernel. First thing is to try that.
<robmur01>
those are relatively straightforward to figure out from the original DTB
<robmur01>
oh, also probably worth checking that the eMMC/SD/SDIO aren't wired up to different interfaces than expected - IIRC some boxes did that
<nomis>
at least in U-Boot I can find the eMMC as well as a SD Card.
<nomis>
so apparently nothing unexpected there.
<nomis>
JPEW: can you give me a pointer on how to incorporate a custom dts-file into the build process?
<JPEW>
Hmm
<JPEW>
There might be a better way, but you could make a patch file that adds the dts and add it in SRC_URI
jaganteki has joined #linux-rockchip
<nomis>
JPEW: that would be in the linux-yocto recipe then, not in the machine conf, right?
<JPEW>
nomis: correct
matthias_bgg has quit [Ping timeout: 250 seconds]
matthias_bgg has joined #linux-rockchip
tuxd3v has joined #linux-rockchip
<nomis>
hrm. Ok. That devicetree is worse than the other. bah.
<nomis>
(probably because it is for the wrong kernel. ah well. Seems no shortcuts this time...)
<robmur01>
cheeky trick for reverse-engineering TV box DTBs - build rk3328-box.dtb from the appropriate 3.10 or 4.4 branch of the rockchip kernel and dtdiff that against rk-kernel.dtb extracted from the box's firmware image
<robmur01>
then you can see what if anything the vendor actually tweaked, and have readable source to correlate against
<robmur01>
as long as they haven't made significant changes that renumber all the phandles, that usually works pretty well
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
jaganteki is now known as jagan
jagan is now known as Guest90498
Guest90498 is now known as jaganteki
matthias_bgg has quit [Ping timeout: 265 seconds]
matthias_bgg has joined #linux-rockchip
<nomis>
dtdiff is new to me. sounds good.
vicencb has joined #linux-rockchip
field^Zzz2 has joined #linux-rockchip
armoon has joined #linux-rockchip
armoon has quit [Remote host closed the connection]
jaganteki has quit [Remote host closed the connection]
midnight has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
vicencb has joined #linux-rockchip
vicencb has quit [Quit: Leaving.]
vicencb has joined #linux-rockchip
vicencb has quit [Read error: Connection reset by peer]