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
xcasex has quit [Read error: Connection reset by peer]
xcasex has joined #linux-rockchip
akaizen has joined #linux-rockchip
naobsd has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 264 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 255 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 264 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 260 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
akaizen has quit [Remote host closed the connection]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
levd1 is now known as levd
akaizen has joined #linux-rockchip
xcasex has quit [Read error: Connection reset by peer]
xcasex has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 256 seconds]
levd1 is now known as levd
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
naobsd has quit [Ping timeout: 250 seconds]
naobsd has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
akaizen has quit []
akaizen has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd1 is now known as levd
dugz has joined #linux-rockchip
<dugz> any progress? is there hope for my iRulu x7s?
cristian_c has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
levd1 has joined #linux-rockchip
premoboss has quit [Remote host closed the connection]
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 252 seconds]
levd1 is now known as levd
xcasex has quit [Read error: Connection reset by peer]
xcasex has joined #linux-rockchip
rperier_ is now known as rperier
rperier has quit [Changing host]
rperier has joined #linux-rockchip
maz has quit [Ping timeout: 252 seconds]
<rperier> hi all
maz has joined #linux-rockchip
naobsd has joined #linux-rockchip
<sjoerd> mmind00: hrm, the nand is bga (not suprirsing) and there don't seem to be any nice test points for the reset line
<sjoerd> Guess i'll just need to prod/test the code a bit more :)
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 252 seconds]
levd1 is now known as levd
lautriv__ has joined #linux-rockchip
lautriv_ has quit [Ping timeout: 246 seconds]
markm_ has quit [Ping timeout: 246 seconds]
markm_ has joined #linux-rockchip
xcasex has quit [Read error: Connection reset by peer]
xcasex has joined #linux-rockchip
<sanjay> naobsd> Hello
<naobsd> sanjay: hi
<sanjay> how are you ?
<sanjay> i just have one question for you, about emmc ready-only
<naobsd> no new from me. question?
<sanjay> it's possible that bootloader on SDCard is not able to mount emmc RW ?
<sanjay> or Older CWM (it's a CWM adb shell ?)
<sanjay> my question is, can it be soft emmc ready-only, or only hardware ?
<naobsd> no idea. I guess both are possible
<sanjay> i have write system.img into /dev/block/mtd/by-name/system
<sanjay> and i have no error
<naobsd> which kernel.img you tried for sd boot? latest? old?
<sanjay> kernel.img from firmware
<sanjay> but all other file from u-boot
<naobsd> I guess system is not updated after write/reboot, right?
<sanjay> right
<sanjay> i don't know
<sanjay> but it's not boot
<naobsd> which firmware? can you try old one?
<naobsd> ^about kernel.img
<sanjay> lasted firmware
<sanjay> from asus
<sanjay> i can try a old one
<sanjay> from old firmware
<sanjay> asus give kernel source
<sanjay> too
<naobsd> I guess there is no software emmc protect, but I have no idea why it's read-only
<sanjay> this binary
<sanjay> u-boot binary
<sanjay> FlashBoot.bin
<sanjay> and
<sanjay> FlashData.bin
<naobsd> it also shouldn't protect emmc
<sanjay> but i don't flash parameter
<sanjay> even no partition.img
<sanjay> i flash CWM & MISC only
<naobsd> please try kernel from old firmware...
<naobsd> well
<sanjay> when i'm flashing CMW and MISC ? this is flash in SDCARD ? no EMMC ?
<naobsd> you have to flash parameter to SD card, otherwise it will not boot
<sanjay> parameter from u-boot zip ? or original firmware ?
<naobsd> please tell me exactly what you typed to make bootable SD card...
<sanjay> ok
<sanjay> i have download uboot from androtab
<sanjay> binary file, not compilied
<sanjay> compiled, because i have a lot of error depency
<sanjay> arm-gcc
<sanjay> so i get binary from androtab
<sanjay> then
<sanjay> dd if=idb_sector_0.enc of=/dev/sdb conv=sync,fsync seek=64
<sanjay> dd if=idb_sector_1 of=/dev/sdb conv=sync,fsync seek=65
<sanjay> dd if=FlashData.bin of=/dev/sdb conv=sync,fsync seek=68
<sanjay> dd if=FlashBoot.bin of=/dev/sdb conv=sync,fsync seek=100
<sanjay> then finish
<sanjay> readme say
<sanjay> rkflashtool P < orig/parameter && rkflashtool w ${partition} < ${partition}.img
<sanjay> with ## so i haven't do it
<sanjay> i plug me102a into usb, and it boot into Rock USB Loader
<sanjay> but i think, it's SDcard Loader, because in this time, i can flash img without error
<sanjay> (but i CAN'T FLASH bootloader.bin), only IMG and parameter
<sjoerd> mmind00: btw i'm surprised to see that emmc-pwrseq in your veyron dts is GPIO_ACTIVE_HIGH (is the reset line not edireclty connected to the soc for those?)
nighty-_ has joined #linux-rockchip
<naobsd> I don't know what happen if my u-boot-rk3188 binaries are used on eMMC device
<sanjay> so i flash recover_cmw.img and misc_recovery_cmw.img
<naobsd> anyway you didn't flash any of parameter and partition images, they are loaded from eMMC
<naobsd> strange
<naobsd> I think I disabled eMMC support in u-boot-rk3188...
<naobsd> the reason that flashing parameter and images are commented out is because it's device specific. there is no universal parameter and partition images, you have to use your own files.
<mmind00> sjoerd: not sure ... worked like that, but not the other way around if I remember correctly
<sanjay> i try to flash parameter from firmware asus
<sanjay> there is no change
<sanjay> is there a way to see if your uboot have emmc support ?
<naobsd> sanjay: if you flashed same parameter flashed on eMMC to SD card, you cannot know which is used...
<naobsd> sanjay: you can check u-boot source
<sanjay> yes BUT
<sanjay> dmesg
<sanjay> is telling
<sanjay> mmcblk0 and mmcblk1
<sanjay> no ?
<naobsd> dmesg is from linux kernel, what we're talking is u-boot
<naobsd> sorry, I'm busy
<naobsd> what I want to know is what happen if you use old kernel
<sanjay> i will try and and tell you back
<sanjay> i will see also on uboot source
<sanjay> but
<sanjay> there is no kernel
<sanjay> i my way
<sanjay> [09:59] <sanjay> dd if=idb_sector_0.enc of=/dev/sdb conv=sync,fsync seek=64 [09:59] <sanjay> dd if=idb_sector_1 of=/dev/sdb conv=sync,fsync seek=65 [10:00] <sanjay> dd if=FlashData.bin of=/dev/sdb conv=sync,fsync seek=68 [10:00] <sanjay> dd if=FlashBoot.bin of=/dev/sdb conv=sync,fsync seek=100
<sanjay> there is no kernel flash here ...
<sanjay> and adb shell is from CWM
tony_ has joined #linux-rockchip
<dugz> i just killed my tablet :/
<lautriv__> dugz, congrats.
<tony_> naobsd, I want to get the ADC value. I can not fond that.
<naobsd> sanjay: you can get kernel zImage from boot.img in firmware and you can convert it to kernel.img with rkcrc -k or mkkrnlimage
<tony_> naobsd, My device is rk3188.
<dugz> I flashed a new loader, and that was it
<naobsd> Tony_: there is no /dev/XXX or /sys/XXX for ADC on RK 3.0 kernel
<tony_> naobsd, that's all I can get information.
<cristian_c> Tony_: hi
* lautriv__ wonders if he should make a video where a rock falls on the rockchip and put that on youtube.
xcasex has quit [Ping timeout: 244 seconds]
<naobsd> Tony_: if there is any device which uses ADC (e.g. rk29-key) on your hardware, try #ifdef 1 at https://github.com/linux-rockchip/linux-rockchip/blob/mirror/stable-3.0/drivers/adc/adc_priv.h#L41
<tony_> naobsd, if I want to get value of the ADC, how do I get it ? ;)
<tony_> cristian_c, hi.
<cristian_c> uhm, interesting
<cristian_c> adc debug
<dugz> so if one were to get a corrupted loader, how to fix that?
<tony_> naobsd, I need to get it in kernel.
<lautriv__> dugz, the plan is to go into mask-rom mode and reflash since rockchip postulates to be unbrickable.
<dugz> lautriv__: I don't have anything to reflash it with
<naobsd> rockchip can be brickable :(
<lautriv__> naobsd, already noticed that
<dugz> jeez i have to open the tablet and short out pins?
<lautriv__> dugz, hold reset while powering on, you get an USB-device with DID 310B
<sanjay> naobsd> sorry for disturb, but wich kernel boot ?? i haven't flash any boot.img or kernel.img ?
<sanjay> dmesg say
<dugz> lautriv__: it won't power on now, reset or no
<sanjay> Linux version 3.0.36+ (jenkins@TDC-Build) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) ) #242 SMP PREEMPT Wed Oct 16 17:01:39 CST 2013
<lautriv__> dugz, that mode doesn't show a LED, just give it a lsusb while connected. mode will stop after some time.
<dugz> brb paperclip
<tony_> naobsd, ah, adc is like i2c in kernel.
<tony_> naobsd, very cool.
tony_ has quit [Quit: Leaving]
<dugz> lautriv__: nothing
<dugz> i got thr back off the case
<lautriv__> dugz, what do you mean with nothing ? no device shown or no reset found ?
tony_ has joined #linux-rockchip
<dugz> it won't even power on, no way shape or form
<dugz> i tried shorting nand pins while holding the power button down, still nothing
<lautriv__> dugz, that mode doesn't power-up a LED, did you connect to oth and check lsusb ?
<lautriv__> *otg
<dugz> besides i don't have a rom to put back on it
<dugz> i'm in windows
dlezcano has joined #linux-rockchip
<dugz> RKAndroidTool shoulda picked it up
<lautriv__> sounds like a harder issue ... may pulldown flash #CS
<naobsd> (I wonder how can I help... "reset button" it depends device... "no LED" it depends device... "no firmware image" it depends device...)
<dugz> I give up. This rockchip tablet has been impossible to do anything with since day 1. out of space out of the box even
<dugz> if it wasn't for the stupid 1G system / 7G split of the internal nand, i would have never messed with it
<tony_> naobsd, is there a demo to get adc client in kernel ?
<dugz> maybe i will try an allwinner next time
<sanjay> noa
<sanjay> noabsd
<sanjay> i have found somethink !!
<sanjay> dmesg say Linux version 3.0.36+ (jenkins@TDC-Build) (gcc version 4.6.x-google 20120106 (prerelease) (GCC) )
<sanjay> this kernel
<sanjay> is kernel from
<sanjay> WW_3.11.0.91
<sanjay> my firmware is K00F_WW_user_4.2.2_3.11.0.100_20141027
<naobsd> sanjay: you may try 3.9.0.82 from asus demo page
<tony_> naobsd, okay, thank you. I will do it myself. I will make it. haha.
<sanjay> yes but how ? this is not IMG
<sanjay> zip recovery flash
<sanjay> with timespan error
<naobsd> as I explained boot.img contains kernel
<dugz> lolipop doesn't have that system + internal_sd disaster does it?
<naobsd> sanjay: try unpackbootimg
<sanjay> yes but i don't flash boot.img too
<sanjay> where kernel has been flash ?
dugz has left #linux-rockchip ["Zoinks!"]
<naobsd> sanjay: I said pull kernel from boot.img and convert it
<naobsd> sanjay: make kernel.img and flash it to kernel partition
<sanjay> kernel partition into SD or Emmc ?
<naobsd> sanjay: no idea. it seems my u-boot for SD uses eMMC on your device
<naobsd> sanjay: you can try both
<sanjay> maybe stock kernel make emmc read only
<sanjay> thank you
<sanjay> i will test
<sanjay> and come back
<sanjay> there is a kernel into u-boot ?
<sanjay> FlashBoot.bin or FlashData.bin
<naobsd> ?
<naobsd> kernel.img should be flashed to kernel partition
<sanjay> there is no way to flash loader ? with adb shell ?
<naobsd> sanjay: I said if you can write something to misc, it's possible
<naobsd> sanjay: or you may try upgrade_tool or AndroidTool.exe but I have no idea it works
<sanjay> can you tell me
<sanjay> please
<naobsd> usually it works on many devices but I have no idea with your device
<sanjay> what is misc ?
<naobsd> misc partition
<naobsd> as you can see on adb shell on cwm image
<sanjay> misc partition ? it's when plug usb ?
<naobsd> I think you told about /dev/block/by-name/
<sanjay> what's the difference between flash cmw_recovery only, and cmw_recovery + cmw_misc
<naobsd> sorry, I'm really busy
<naobsd> you said you can see partitions on adb shell on cwm
<naobsd> please remember
<sanjay> yes
<sanjay> by-name
<sanjay> there is all
<sanjay> system misc kernel etc
<sanjay> i try to write block with dd system.img to by-name/system
<sanjay> no error, but haven't write anything (i suppose)
<naobsd> and I asked misc is read-only or not but I think I didn't hear answer
<sanjay> because i don't know
<naobsd> I cannot try your device
<sanjay> i can mount misc ?
<sanjay> to try ?
<naobsd> no, I think I said it's raw partition
<sanjay> but my single question is
<sanjay> what is misc ?
<sanjay> i'll googled it
<naobsd> a partition called misc and used for some purpose by loader
<sanjay> misc is writable into sdcard
<sanjay> because when plug usb, it's boot directly into cmw
<sanjay> i this is cmw_misc i think
<sanjay> but not sur
<naobsd> yes of course, you can write anywhere on SD with PC or any other device. but I'm asking about eMMC on your device.
<sanjay> hmmmmmm
<sanjay> i'll try this night and tell you back
<sanjay> but even on flash misc, i don't know how to know if it's ready only or not
<sanjay> is there a way, to forget emmc, and write system and all into sdcard ? and boot Android with sdcard ?
<naobsd> you can read partition after reboot and compare before reboot
<naobsd> sanjay: it should be possible
<sanjay> i will try
<sanjay> #dd if=${partition}.img of=${DEV} conv=sync,fsync seek=$((0x2000+offset))
<sanjay> from u-boot readyme
<sanjay> to write system, kernel etc
<sanjay> and boot with sdcard android
<naobsd> but some modification (rom customization) may be required
<naobsd> I want to know about old kernel, misc read-only. you can try android on sd card.
<sanjay> ok
<sanjay> but
<sanjay> WW_3.11.0.91 and WW_3.11.0.100 update
<sanjay> has no changing kernel
<sanjay> so i have the lasted kernel
<sanjay> i must try demo page kernel
<sanjay> UL-K00F-WW-3.9.0.82-user.zip as a boot.img
<sanjay> i must extract kernel.img from it
<sanjay> in ASUS firmware
<sanjay> i have
<sanjay> pcba_small_misc.img
<sanjay> and
<sanjay> pcba_whole_misc.img
<sanjay> do you know what's this file ?
<sanjay> and misc.img
<sanjay> so
<sanjay> i will unpack boot.img from 0.82
<sanjay> and try this kernel
naobsd has quit [Quit: naobsd]
sanjay has quit [Quit: Page closed]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 264 seconds]
levd1 is now known as levd
tony_ has quit [Ping timeout: 256 seconds]
levd has quit [Ping timeout: 256 seconds]
sanjay has joined #linux-rockchip
sanjay has quit [Client Quit]
naobsd has joined #linux-rockchip
naobsd has quit [Client Quit]
mcan_ has joined #linux-rockchip
ssvb has quit [Ping timeout: 246 seconds]
cristian_c has quit [Quit: Bye]
sanjay has joined #linux-rockchip
sanjay has quit [Ping timeout: 246 seconds]
Helle has quit [Ping timeout: 264 seconds]
Helle has joined #linux-rockchip
sanjay has joined #linux-rockchip
nashpa has joined #linux-rockchip
<sanjay> hello, is here somebody know if CMW having his own kernel, or if it's use nand kernel ?
sanjay has quit [Quit: Page closed]
<lautriv__> dugz hone ?
<lautriv__> *gone
Bludot has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 268 seconds]
ssvb has joined #linux-rockchip
<lautriv__> i assume such messages are usual ? -> [ 51.731563] emmc emmc: Timeout waiting for data idle (status 0x13306)
mrueg has quit [Remote host closed the connection]
mrueg has joined #linux-rockchip
cosm has joined #linux-rockchip
gb_master has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
premoboss has joined #linux-rockchip
gb_master has quit [Remote host closed the connection]
GriefNorth has joined #linux-rockchip
gb_master has joined #linux-rockchip
nighty-_ has quit [Quit: Disappears in a puff of smoke]
ssvb has quit [Ping timeout: 252 seconds]
ssvb has joined #linux-rockchip
nighty-_ has joined #linux-rockchip
ssvb has quit [Ping timeout: 272 seconds]
gb_master has quit [Remote host closed the connection]
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dlezcano has quit [Ping timeout: 250 seconds]
gb_master has joined #linux-rockchip
nighty^ has quit [Quit: leaving]
nighty^ has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 256 seconds]
Helle has quit [Ping timeout: 264 seconds]
Helle has joined #linux-rockchip
cosm has quit [Ping timeout: 255 seconds]
akaizen has quit [Remote host closed the connection]
dlezcano has joined #linux-rockchip
xcasex has joined #linux-rockchip
akaizen has joined #linux-rockchip
<akaizen> Hmm this Firefly-Android-5.1 image needs some work.. I'm getting a tearing effect 50% of boots.. looks like 720p is display as well as 1080p
gb_master has quit [Remote host closed the connection]
<bashintosh> akaizen: what display output are you using?
<bashintosh> I'll be finishing a build soon.. Hope I have better luck ;)
nighty-_ has quit [Quit: Disappears in a puff of smoke]
<akaizen> bashintosh: HDMI
<akaizen> tested two different TVs / monitorws
<akaizen> This is from the image they released, not a clean build of their SDK.. that should finish shortly
pietrushnic has quit [Ping timeout: 264 seconds]