<nomis>
JPEW: can you tell me where the devicetree to include into the fitsImage (?) is specified?
<nomis>
JPEW: it worked out of the box with the linux-yocto image, but now I'd prefer a separate recipe for the devicetree, using the devicetree.bbclass. The devicetree ends up in a different place and no longer is included into the fitImage (I think).
lkcl has quit [Ping timeout: 272 seconds]
maze-BUG1 has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 272 seconds]
maze-BUG1 is now known as maze-BUG
thefloweringash has joined #linux-rockchip
<nomis>
Hm, the rockchip-gpt-img.bbclass seems to depend on the KERNEL_DEVICETREE variable. But I don't want to set that since that'd make the kernel-build fail (no matching target for the devicetree)
<nomis>
wait. Am I using that one at all? I am building .wic-images.
field^Zzz3 has joined #linux-rockchip
stikonas has joined #linux-rockchip
psydruid has joined #linux-rockchip
Ke has joined #linux-rockchip
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
nlhowell has quit [Read error: Connection reset by peer]
<sigmaris>
tuxd3v: once you get the ES8316 "soundcard" showing up in alsamixer, you need to turn on "Left Headphone Mixer Left DAC Switch" to hear any sound
<sigmaris>
and the same for the Right channel too
<sigmaris>
also turn up Headphone Playback/Mixer/DAC Playback volume
lkcl has joined #linux-rockchip
mayab76 has quit [Remote host closed the connection]
tuxd3v has quit [Ping timeout: 260 seconds]
<JPEW>
nomis: rockchip-gpt-img.bbclass is deprecated in favor of wic images
<JPEW>
nomis: Are you saying you want an out of tree device tree to be put into the fitImage, or do you want in-tree device tree to be kept out of the fitImage?
<nomis>
JPEW: (I managed to resolve this in the meantime)
<nomis>
JPEW: I had the problem that rebuilding images takes quite a long time.
perr has joined #linux-rockchip
<nomis>
a small change in the devicetree would trigger a rebuild of the linux-yocto recipe, taking in total about 15mins.
<nomis>
So I was looking for a way to decouple the devicetree from the linux-yocto.
<nomis>
I found that "devicetree.bbclass" and at first failed to build a recipe where the devicetree would actually end up in the fitimage (where it is needed by the boot process)
<nomis>
I tracked the fitimage build process down and found out that I was missing a PREFERRED_PROVIDER_virtual/dtb
<JPEW>
nomis: Ah, cool. That worked then?
<nomis>
JPEW: yeah. Time got down to at least 50% or more.
<nomis>
not that the wifi works yet though... :-/
<JPEW>
nomis: Glad that worked. I've never tried it before :)
<nomis>
JPEW: for the records: the kernel-fitimage.bbclass depends on a nonzero "PREFERRED_PROVIDER_virtual/dtb" to trigger the inclusion.
<nomis>
(otherwise it'll just include the dtbs from the kernel tree)
<nomis>
oh, and I think "KERNEL_DEVICETREE" must not be set.
<nomis>
would have to look at the logic again though.
ayaka has joined #linux-rockchip
<nomis>
Hrm. reading tea-leaves in devicetrees here.
<nomis>
If a node has a <phandle> dtc probably had a reason for adding it, right?
<nomis>
the only difference between "my" devicetree with a nonfunctional sdmmc_ext and one working (with an older kernel) is, that the latter does have a phandle in the dwmmc@ff5f0000 section. But I don't see why, I can't spot a reference to it.
perr has quit [Remote host closed the connection]
perr has joined #linux-rockchip
perr has quit [Ping timeout: 260 seconds]
perr has joined #linux-rockchip
perr has quit [Ping timeout: 260 seconds]
lkcl has quit [Ping timeout: 240 seconds]
lkcl has joined #linux-rockchip
return0e_ has joined #linux-rockchip
return0e has quit [Ping timeout: 264 seconds]
maze-BUG1 has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 246 seconds]
maze-BUG1 is now known as maze-BUG
chiastre_ has quit [Ping timeout: 240 seconds]
chiastre_ has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 260 seconds]
maze-BUG1 has joined #linux-rockchip
maze-BUG1 is now known as maze-BUG
tuxd3v has joined #linux-rockchip
maze-BUG has quit [Ping timeout: 256 seconds]
maze-BUG has joined #linux-rockchip
vagrantc has joined #linux-rockchip
<tuxd3v>
sigmaris, thanks,
<tuxd3v>
I tried to enable everything but still no sound on analog :(
<tuxd3v>
Maybe I missed sme config..
<tuxd3v>
Another thing, I wanted to caclibrate bogomips
<tuxd3v>
[ 0.004307] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=96000)
<tuxd3v>
I kinow that its possible to calibrate, but I don't remember how
<tuxd3v>
I know that it is not what a lot of people thinks it is.. :)
<tuxd3v>
Ke, indeed, I believe linus rejected the patch :)
<robmur01>
anyway, on arm64 the architected timer has always been mandatory, so I don't think we even have code for loop-based delays
<nomis>
this wifi thing is killing me.
<tuxd3v>
nomis, too much radiation
* nomis
tries to locate the nearest 5G tower.
return0e_ has quit [Read error: Connection reset by peer]
return0e has joined #linux-rockchip
s_frit has quit []
<robmur01>
nomis: FWIW my 3318 box also has a phandle (0xca) on sdmmc_ext, even though it's not even enabled - looks like it might just be some irrelevant crap that happens to be in the BSP sources
<nomis>
probably some random devicetree sources that get copied around, carrying a lot of cargo cult in them.
<nomis>
like the devicetrees found in various forums, which are obviously built from decompiling dtbs.
<robmur01>
or that bloody "depending on the module installed..." comment for SDIO power sequences which was only ever relevant to older EVBs that actually had pluggable SDIO daughterboards...
<nomis>
robmur01: that comment actually made sense for my a5x board (I think). The a5x is available with two different wifi/bt-modules and the one I have here is the one with the ap6255, and the pin name on the ap6255 for the power switch is the same as the first one mentioned in this comment.
<nomis>
(well, I can only suspect that the other name is the one from the resp. realtek module)