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
vagrantc has quit [Ping timeout: 244 seconds]
vagrantc has joined #linux-rockchip
alpernebbi has quit [Quit: alpernebbi]
stikonas has quit [Ping timeout: 272 seconds]
vagrantc has quit [Quit: leaving]
kaspter has joined #linux-rockchip
vstehle has quit [Ping timeout: 272 seconds]
field^Zzz2 has joined #linux-rockchip
midnight has quit [Ping timeout: 240 seconds]
field^Zzz1 has quit [Ping timeout: 272 seconds]
midnight has joined #linux-rockchip
tlwoerner has joined #linux-rockchip
gendevbot has joined #linux-rockchip
archetech has joined #linux-rockchip
damex_ is now known as damex
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
vstehle has joined #linux-rockchip
nlhowell has quit [Ping timeout: 256 seconds]
chewitt has quit [Read error: Connection reset by peer]
chewitt has joined #linux-rockchip
chewitt has quit [Quit: Adios!]
_giannis_ has quit [Quit: leaving]
_giannis_ has joined #linux-rockchip
_giannis_ has quit [Client Quit]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
_giannis_ has joined #linux-rockchip
nlhowell has joined #linux-rockchip
archetech has quit [Quit: Konversation terminated!]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 246 seconds]
camus1 is now known as kaspter
matthias_bgg has joined #linux-rockchip
jaganteki has joined #linux-rockchip
ldevulder has joined #linux-rockchip
jaganteki has quit [Remote host closed the connection]
cyteen has quit [Ping timeout: 260 seconds]
cyteen has joined #linux-rockchip
putti_ is now known as Putti
stikonas has joined #linux-rockchip
vicencb has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Remote host closed the connection]
camus1 is now known as kaspter
_giannis_ has quit [Ping timeout: 260 seconds]
_giannis_ has joined #linux-rockchip
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 244 seconds]
camus1 has quit [Read error: Connection reset by peer]
kaspter has joined #linux-rockchip
nlhowell has quit [Ping timeout: 256 seconds]
jaganteki has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
alpernebbi has joined #linux-rockchip
tuxd3v has joined #linux-rockchip
<tuxd3v> hello guys, I managed to decrease nanopir2s temps by about 3-4 degrees
<tuxd3v> adjusting the opp table voltages and
<tuxd3v> the rk805 regulators
<tuxd3v> specially:
<tuxd3v> vdd_logic
<tuxd3v> vdd_arm
matthias_bgg has quit [Ping timeout: 256 seconds]
<tuxd3v> and at some extent the ddr regulator: vcc_ddr
<tuxd3v> but even so, with open case
<tuxd3v> the cpu sits at 52-53C
<tuxd3v> both nics are hot, and the PMIC rk805 is also very hot
<tuxd3v> about the rk805 being hot, I don't know exactly why
<tuxd3v> because I have lowered some voltages
jaganteki has quit [Remote host closed the connection]
matthias_bgg has joined #linux-rockchip
<robmur01> it's a PMIC full of regulators
<robmur01> switching regulators tend to get warm because switching is work
<robmur01> linear regulators get warm *by definition*
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 260 seconds]
camus1 is now known as kaspter
ldevulder_ has joined #linux-rockchip
ldevulder has quit [Ping timeout: 272 seconds]
hmuller has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
matthias_bgg has quit [Ping timeout: 246 seconds]
matthias_bgg has joined #linux-rockchip
matthias_bgg has quit [Client Quit]
<wens> tuxd3v: if you lowered voltage for LDOs, then the PMIC will get hotter, because the voltage difference is dissipated by the PMIC
vagrantc has joined #linux-rockchip
<tuxd3v> wens, I just droped a lot the BUCK1( which was a lot out of scale )
<tuxd3v> VDD_LOG
<tuxd3v> BUCK2
<tuxd3v> VDD_ARM, by 75 mv
<tuxd3v> which was almost at full scale
<tuxd3v> BUCK3
<tuxd3v> VCC_DDR, in some cases dropped 25 mv
<tuxd3v> if you go to RK3328, you will see max ratings at page 38
<tuxd3v> Chapter 3 Electrical Specification
<tuxd3v> vdd_logic was a lot above the absolute maximum
<tuxd3v> vdd_arm, was almost at maximum value permited even tought the cpu is to scale till 1.3Ghz
<tuxd3v> I dropped it a bit to in several freq steps
<tuxd3v> vcc_ddr, I left it almost like it was with 24 mv drop at ddr opp-1056000000
<tuxd3v> with 24 mv drop -> with 25 mv drop
<tuxd3v> that permitted me to gain 3-4 degrees on the cpu side, don't know if pmic now is hoter because of that :S
<tuxd3v> the board seems stable
<tuxd3v> but I am waiting the metal case, to do some stress tests, and check if voltage supply is enough
Ashleee has joined #linux-rockchip
<Ashleee> hello :) anybody using rk3288 with atf? I have problems compiling
<robmur01> I reckon you should be fine to drop VCC_DDR by 1v or more
<robmur01> given that it's not actually programmable ;)
<Ashleee> with `make PLAT=rk3288 ARCH=aarch32` it tries to compile the Makefile itself with arm-linux-gnueabihf-cpp
<Ashleee> arm-linux-gnueabihf-cpp -DDEBUG=0 -DENABLE_BACKTRACE=0 ... -MP -DIMAGE_BL32 -o build/rk3288/release/bl32/bl32.ld Makefile
<Ashleee> which obviously fails as it tries to parse it as C/C++ and not Makefile
<maz> robmur01: :D
<tuxd3v> robmur01, but vcc_ddr come out of the BUCK3
<tuxd3v> I believe it is..
<tuxd3v> it will depend on the ddr frequency, at least that is the impression I have
<robmur01> tuxd3v: is that belief based on reading the RK805 datasheet?
<Ashleee> pppppppppppppppppppppppppppppppppppppppppppppppppppáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáí
<Ashleee> áíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáíáí
<tuxd3v> robmur01, no, was based on the datasheets from nanopir2s and also from rk3328
<Ashleee> sorry my cat ran over the keyboard
<tuxd3v> I am now checking the rk805 datasheet :)
<tuxd3v> Ashleee, you need to cut the claws to your cat, if not it would be a dangerous lion :D
<robmur01> the R2S schematic indirectly shows it too, via the table labelled "VCC_DDR" on page 3
<tuxd3v> (BUCK3) Input supply voltage range VCC3 [ 2.7 - 5.5V ]
<tuxd3v> but it hasa catch
<tuxd3v> VBUCK3OUT=VFB3 * (1+Rfbup/Rfbdn);please refer to the typical application
<tuxd3v> what I don't know is the memory type that comes with nanopi r2s, I have a problem with my eyes, not being able to read tinny letters in the chips :S
<robmur01> right, it's adjustable, but it's not *programmable*
<robmur01> the DDR voltage will be set appropriately for whatever chips they are - AFAICS the only reason you'd have any need to ever mess with it is if you were overclocking the RAM and wanted to increase it above nominal
<tuxd3v> you rifht it doesn't have the typical 6 bit programmable
<robmur01> but in this case that would involve breaking out the soldering station and SMD resistor kit
<tuxd3v> yeah indeed :)
<robmur01> DVFS of the memory controller itself is by scaling VDD_LOGIC, IIRC
<tuxd3v> rifht -> right
<robmur01> Ashleee: it does appear to be rather broken - happens for an FVP build for AArch32 as well
<robmur01> probably these are configs that nobody actually tests
<robmur01> not sure what the issue reporting system is since it all moved off Github...
<Ashleee> hmm :)
<Ashleee> I tried v2.2 and v2.3 and they both share the problem
<Ashleee> v2.1 doesn't have rk3288
<Ashleee> hmm do I need ATF to boot aarch32 kernel actually?
<Ashleee> I know I need to with arm64 but 32?
<robmur01> nope, RK3288 systems usually just run without any TrustZone stack at all
<Ashleee> ahh
<Ashleee> so I can skip that, nice :)
<Ashleee> thanks
<Ashleee> I come from sunxi platform so I am used to atf being required :)
<robmur01> yeah,. if you just want to make a thing work, build U-boot and Linux and you're good to go
<Ashleee> I was donated a bunch of older/newer SBCs so I am plugging them all into BOINC to fight the pandemic
<Ashleee> ok thanks :) if it works without atf one less problem for me :D
<robmur01> for 32-bit Rockchips, all the horrible bodges for not having proper firmware are built in to Linux
kevery has quit [Ping timeout: 256 seconds]
<Ashleee> rk3399 works fine :D
kevery1 has joined #linux-rockchip
<Ashleee> with arm64 current kernel
<Ashleee> and uboot
<Ashleee> and atf :D
kevery1 is now known as kevery
<Ashleee> hmm rk3288 defconfig doesn't fit into mkimage?
<Ashleee> root@c0d5170d4910:/sources2/u-boot-tinkerboard# tools/mkimage -n rk3288 -T rksd -d spl/u-boot-spl-dtb.bin out
<Ashleee> Error: SPL image is too large (size 0xb800 than 0x8000)
<Ashleee> that's u-boot 2020.10
<vagrantc> probably need to use the TPL
<vagrantc> which loads the SPL, which loads u-boot
<Ashleee> it is enabled
<Ashleee> damn why cannot it produce final u-boot.bin that I can flash directly? :) or at least it looks like so
<Ashleee> wait it does
<Ashleee> but does it work is the other question
<vagrantc> maybe your instructions are out of date?
<Ashleee> yeah they were for 2018.x and it worked, trying to use 2020.10
<vagrantc> the transition from SPL to TPL+SPL required a change of process
<Ashleee> I remember doing the idbloader.img etc magic with rk3399
vicencb has quit [Quit: Leaving.]
<Ashleee> oh right lower :D
<Ashleee> yeah that works :)
JohnDoe_71Rus has quit [Quit: KVIrc 5.0.1 Aria http://www.kvirc.net/]
camus1 has joined #linux-rockchip
kaspter has quit [Ping timeout: 256 seconds]
camus1 is now known as kaspter
vicencb has joined #linux-rockchip
_whitelogger has joined #linux-rockchip
vstehle has joined #linux-rockchip
alpernebbi has quit [Ping timeout: 240 seconds]
vicencb has quit [Quit: Leaving.]