ChanServ changed the topic of #linux-rockchip to: Rockchip development discussion | Wiki at http://linux-rockchip.info | Logs at http://irclog.whitequark.org/linux-rockchip | ML at http://groups.google.com/group/linux-rockchip
naobsd has quit [Quit: Page closed]
FergusL has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
FergusL2 is now known as FergusL
naobsd has joined #linux-rockchip
<naobsd> rockchip_pll_wait_lock: timeout waiting for pll to lock
<naobsd> rockchip_rk3066_pll_set_rate: pll did not lock, trying to restore old rate 768000000
<naobsd> hmm...
<naobsd> let's try next-20141128...
ganbold_ has quit [Ping timeout: 260 seconds]
levd has joined #linux-rockchip
<naobsd> booted somehow
<naobsd> "Division by zero in kernel." in rk3066a_clk_init ;)
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 272 seconds]
hipboi has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 245 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 256 seconds]
Danukeru has quit [Ping timeout: 250 seconds]
naobsd has quit [Ping timeout: 246 seconds]
naobsd has joined #linux-rockchip
<naobsd> network is unstable today... :(
Danukeru has joined #linux-rockchip
levd1 has quit [Ping timeout: 244 seconds]
levd has joined #linux-rockchip
cnxsoft has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
Tony_ has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 240 seconds]
Astralix1 has joined #linux-rockchip
Astralix has quit [Ping timeout: 250 seconds]
hipboi has quit [Read error: Connection reset by peer]
<Tony_> okay, anybody here. I want to talk about blacklight of LCD.
<Tony_> it's based PWM.
<Tony_> but I got this wave, likes Triangular Wave.
<Tony_> who can help me ?
GriefNorth has joined #linux-rockchip
<Tony_> naobsd, pls ...
levd1 has joined #linux-rockchip
<naobsd> Tony_: I don't have hardware knowledge. I don't have any hardware which can be connected to pwm output include oscilloscope.
levd has quit [Ping timeout: 258 seconds]
<Tony_> I remenber that you said you learn hardware during school time.
<Tony_> :P
<naobsd> no
<Tony_> soldering
<Tony_> Did you forget it ?
<Tony_> naobsd, ...
<naobsd> well
<naobsd> knowledge about waveform is required for soldering?
<Tony_> no, but I think that is same as hardware knowledge.
<Tony_> :)
<naobsd> anyway, I have no answer
<naobsd> I never know that pwm can generate such a waveform ;)
<naobsd> btw, emmc on rk3066 seems to be working on mainline
<naobsd> mysteriously in-kernel (RK's 3.0) emmc driver cannot be selected
<naobsd> rknand.ko is used
<naobsd> but I tried in-kernel emmc driver by tweaking Kconfig
<naobsd> it works
<naobsd> I wonder why RK doesn't use in-kernel emmc driver on RK 3.0 kernel
<Tony_> maybe there some reason.
<Tony_> can flash images from sdcard.
<Tony_> can booting from sdcard.
<Tony_> can ...etc.
<naobsd> it can be selected if >= RK3066B
<naobsd> something may be different
<naobsd> current issues on my PX2 board are
<naobsd> USB-SATA and L3G4200D are not detected (same for stock 3.0 kernel)
<naobsd> USB-HUB and ethernet phy are not detected (fine on 3.0)
<Tony_> ah, I can select USB-SATA. :) on rk3188. :
<Tony_> USB-HUB and ethernet can work fine too.
<naobsd> I'm checking on-board devices
<Tony_> I think you should have a oscilloscope or other hardware checking tools. ;)
<naobsd> I know it should work
<naobsd> what I don't know is current condition on my board
<naobsd> ah, otg/host_drv_vbus is not gpio, it's another function...
<naobsd> ok, still I cannot see on-board usb hub ;)
<naobsd> let's switch to firefly work...
<naobsd> btw
<naobsd> it seems firefly made some 4GB RAM version
<Tony_> 4GB ? It's a high end board.
naobsd_ has joined #linux-rockchip
<naobsd_> unstable...
naobsd has quit [Ping timeout: 246 seconds]
naobsd_ is now known as naobsd
<FergusL> hehe what is unstable ? their wifi ?
<naobsd> my mobile connection
<naobsd> sigh
<naobsd> I want to large desk and large screen ;)
<naobsd> to get
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 252 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
<Tony_> ah
FreezingCold has quit [Ping timeout: 245 seconds]
<Tony_> naobsd, see large desk and large screen.
<Tony_> ;)
<Tony_> That's Tony's workstation. ;P
<naobsd> looks nice ;)
levd has joined #linux-rockchip
<Tony_> naobsd, there are some tools from your country on my desktop. ;)
levd1 has quit [Ping timeout: 272 seconds]
AstralixNB has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
antoinemaillard has joined #linux-rockchip
<Tony_> Pls congrats me. I fixed the backlight problem.
<Tony_> ah ah ....
FreezingCold has joined #linux-rockchip
ganbold__ has joined #linux-rockchip
ganbold_ has quit [Ping timeout: 244 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 244 seconds]
<naobsd> return to home...
naobsd has quit [Quit: Page closed]
<AstralixNB> field^MOP: I have never heared of IDB before seeing this RK tool. According the results of reverse engineering, IDB should be something like "inode data base". However IDB is the database that represents the flash translation layer (FTL) and tracks the information which logical sector of the "disk" is assigned to which physical sector. This includes the defects management too.
<AstralixNB> The IDB is stored at the end of the physical NAND and it's size almoste doubled at Loader v2.xx compared to Loader v1.xx
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
<karlp> facny scope Tony_ :)
<Tony_> karlp, sorry my poor English, I can't understand your sentence. ;)
<Tony_> are you talking about my workstation ?
<karlp> yes, I was admiring your lecroy :)
<AstralixNB> It is often the reason people get messages "NAND write error" or "Flash compare error" or similar messages from flash tools. This happens when the images end reaches into this IDB erea.
<Tony_> karlp, ah . It help me a lot.
wildea01 has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
AstralixNB has quit [Ping timeout: 250 seconds]
Tony_ has quit [Remote host closed the connection]
AstralixNB has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 240 seconds]
RayFlower has joined #linux-rockchip
naobsd has joined #linux-rockchip
naobsd has quit [Ping timeout: 246 seconds]
eebrah has quit [Quit: Lost terminal]
naobsd has joined #linux-rockchip
eebrah has joined #linux-rockchip
AstralixNB has quit [Quit: Leaving.]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
AstralixNB has joined #linux-rockchip
ferric has joined #linux-rockchip
mrcan_ has joined #linux-rockchip
bengal has joined #linux-rockchip
mrcan has quit [Ping timeout: 252 seconds]
AstralixNB has quit [Quit: Leaving.]
naobsd has quit [Quit: Page closed]
antoinemaillard has quit [Quit: antoinemaillard]
nighty-_ has joined #linux-rockchip
naobsd has joined #linux-rockchip
antoinemaillard has joined #linux-rockchip
AstralixNB has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
antoinemaillard has quit [Quit: antoinemaillard]
antoinemaillard has joined #linux-rockchip
akaizen_ has joined #linux-rockchip
akaizen has quit [Ping timeout: 258 seconds]
antoinemaillard has quit [Quit: antoinemaillard]
bengal has quit [Ping timeout: 255 seconds]
bengal has joined #linux-rockchip
<naobsd> mmm
<naobsd> on rk3066, GPIO3 A7 func1 is SDMMC0_PWREN
<naobsd> should it be configured to func1? then who control this pin?
<naobsd> or configure it as gpio and control it from kernel?
akaizen has joined #linux-rockchip
akaizen_ has quit [Ping timeout: 258 seconds]
<naobsd> let's use it as gpio....
RayFlower has quit [Read error: Connection reset by peer]
levd has joined #linux-rockchip
RayFlower has joined #linux-rockchip
levd1 has quit [Ping timeout: 250 seconds]
levd has quit [Ping timeout: 260 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
mrcan_ has quit [Remote host closed the connection]
mrcan has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
akaizen_ has joined #linux-rockchip
akaizen__ has joined #linux-rockchip
akaizen has quit [Ping timeout: 258 seconds]
GriefNorth has quit [Ping timeout: 258 seconds]
akaizen_ has quit [Ping timeout: 258 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
bengal has quit [Ping timeout: 255 seconds]
bengal has joined #linux-rockchip
field^Mop has joined #linux-rockchip
antoinemaillard has joined #linux-rockchip
<mmind00> naobsd: correct (mainline-)handling for this gpio power switch is gpio -> fixed-regulator -> vmmc-supply for mmc host ... see vcc_sd0 in rk3066a-marsboard.dts for example
<naobsd> mmind00: thanks, I know that way, I just wandered what func_1 does...
<naobsd> wondered
bengal has quit [Ping timeout: 250 seconds]
<naobsd> mmind00: dd79c0bea70516f52edc01c32e3f1ac7f20751a5 clk: rockchip: add ROCKCHIP_PLL_SYNC_RATE flag to some plls causes
<naobsd> rockchip_pll_wait_lock: timeout waiting for pll to lock
<naobsd> rockchip_rk3066_pll_set_rate: pll did not lock, trying to restore old rate 768000000
<naobsd> on my PX2 board
<naobsd> PX2 may use different parameter
<naobsd> I have to check 3.0 kernel...
<mmind00> naobsd: sometimes they use lightly different pll types ... see rk3188 vs rk3188a ... also I wouldn't trust the rk3066 clock tree to match your px2 soc
<naobsd> px2 source tree is basicalle s/rk3066/rkpx2/g
<naobsd> but 2 unique difference, and 1 of 2 is pll table
GriefNorth has joined #linux-rockchip
<naobsd> no, it uses same table as rk3066 :(
<naobsd> oh, now I can see USB-SATA...
<naobsd> chipspark's rayeager px2 board needs to toggle some gpios...
<naobsd> usb hub
<naobsd> usb sata
<naobsd> ethernet phy
antoinemaillard has quit [Quit: antoinemaillard]
antoinemaillard has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
<naobsd> mmind00: there is a reset gpio, basically just set high at boot time is enough, then only pinctrl pcfg_output_high is enough? or should I prepare fixed-regulator for reset pin?
<naobsd> it may need high -> low -> high at some point
RayFlower has joined #linux-rockchip
<mmind00> naobsd: regulators are for gpio controlling power-switches (aka power-supply stuff)... reset gpios are a different (separate) issue
<naobsd> for ethernet phy, it should be done in driver
<naobsd> but I have no idea for on-board usb hub and on-board usb-sata bridge
<naobsd> currently
<naobsd> default state -> high is enough
<mmind00> naobsd: ideally of course the driver should handle the reset handling ... there exist the reset framework but it currently does not have a driver for simple reset gpios (though the framework description explicitly mentiones reset-gpios)
<naobsd> why I thought fixed-regulator is because
<naobsd> "init start -> request power -> power-off to power-on" and "init start -> request power -> reset-asert to reset-deassert" is similar
<naobsd> of course reset pin doesn't supply power...
<naobsd> well
<naobsd> for now, I need workaround
<naobsd> and complete solution is not available for now
ganbold__ has quit [Ping timeout: 245 seconds]
<naobsd> &usb_host {
<naobsd> pinctrl-names = "default";
<naobsd> pinctrl-0 = <&hub_rst>, <&sata_pwr>, <&sata_reset>;
<naobsd> status = "okay";
<naobsd> };
<naobsd> this seems working
<naobsd> ;)
<naobsd> in pinctrl,
<naobsd> sata_pwr: sata-pwr {
<naobsd> rockchip,pins = <RK_GPIO4 22 RK_FUNC_GPIO &pcfg_output_high>;
<naobsd> };
<naobsd> and so on
<naobsd> I prepared fixed-regulators for otg/host and sdmmc
ganbold__ has joined #linux-rockchip
<naobsd> this px2 board has a lot of devices... I need to write more :(
<naobsd> what should I do for "clk: rockchip: add ROCKCHIP_PLL_SYNC_RATE flag to some plls"?
cnxsoft has quit [Quit: cnxsoft]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
rz2k has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
naobsd has quit [Ping timeout: 246 seconds]
naobsd has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
AstralixNB has quit [Ping timeout: 250 seconds]
antoinemaillard has quit [Quit: antoinemaillard]
apritzel has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
apritzel has quit [Ping timeout: 250 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
Danukeru has quit [Remote host closed the connection]
Danukeru has joined #linux-rockchip
<field^Mop> Astralix1: thx for your input about the idb question
<field^Mop> Astralix1: source of information might be rkflashtool src? or sarg's gist?
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 250 seconds]
<field^Mop> Tony_: how did you solve your pwm problem?
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
wildea01 has quit [Quit: leaving]
nighty-_ has quit [Quit: Disappears in a puff of smoke]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
bengal has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
field^Mop has quit [Ping timeout: 272 seconds]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
bengal has quit [Remote host closed the connection]
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
RayFlower has quit [Read error: Connection reset by peer]
RayFlower has joined #linux-rockchip
naobsd has quit [Quit: Page closed]
<Astralix1> field^MOP, I don't want to sound selfish, but the source of this knowledge is my experience with SLC drivers that I had in my former work.
<Astralix1> The details matched the ones from sarg as we did some reverse engineering in parallel without knowing each other. But later we had some email contact.
<Astralix1> And later naobsd came up with the same results.
<Astralix1> And last not least these details where proved true by RK engineers.
<Astralix1> mmind00?
RayFlower has quit [Quit: RayFlower]
<mmind00> Astralix1: present :-)
<Astralix1> Cool!
<Astralix1> Is there any access to a recent Android kernel for the 3288?
<Astralix1> And probably a recent Android?
bengal has joined #linux-rockchip
<mmind00> Astralix1: the only thing I know of would be on http://www.cnx-software.com/2014/09/13/tronsmart-orion-r28-unboxing/ in the comments
<Astralix1> Ah... A tv box... that has probably some different setup...
<Astralix1> Ok, I give it a test run
Danukeru has quit [Remote host closed the connection]
hramrach_ has quit [Write error: Connection reset by peer]
rz2k has quit [Read error: Connection reset by peer]
bengal has quit [Ping timeout: 265 seconds]
naobsd has joined #linux-rockchip
akaizen has joined #linux-rockchip