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
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 255 seconds]
levd1 is now known as levd
levd1 has joined #linux-rockchip
cappybob has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
levd1 is now known as levd
<cappybob> Good weekend, Firefly sdk relased for 5.1 box and for RK3368 (? complete) in the same Firefly Wiki today.
levd has quit [Ping timeout: 264 seconds]
cappybob has quit [Quit: Page closed]
levd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 265 seconds]
levd1 is now known as levd
Bludot has quit [Quit: Connection closed for inactivity]
naobsd has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 240 seconds]
levd1 is now known as levd
<naobsd> reading log... I heard that SD is prior than eMMC on RK3188
<naobsd> wiki description is not perfect
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
<naobsd> I pushed up-to-date Firefly 5.1 SDK to my jp/us mirrors now
<naobsd> nl mirror should have more disk space...
ssvb has quit [Ping timeout: 264 seconds]
naobsd has quit [Quit: naobsd]
levd1 has joined #linux-rockchip
naobsd has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
levd has quit [Ping timeout: 244 seconds]
levd1 is now known as levd
naobsd has quit [Quit: naobsd]
hipboi has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 244 seconds]
premoboss has quit [Ping timeout: 246 seconds]
levd1 has quit [Ping timeout: 240 seconds]
GriefNorth has joined #linux-rockchip
premoboss has joined #linux-rockchip
akaizen has joined #linux-rockchip
naobsd has joined #linux-rockchip
<naobsd> rk3288 r-box 4.4.2 sdk master is pushed too
naobsd has quit [Client Quit]
chris2 has quit [Ping timeout: 252 seconds]
chris2 has joined #linux-rockchip
premoboss has quit [Ping timeout: 268 seconds]
premoboss has joined #linux-rockchip
hipboi has quit [Ping timeout: 265 seconds]
markm has quit [Ping timeout: 244 seconds]
markm has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
ni291187 has joined #linux-rockchip
ni291187 is now known as Sanjay85
naobsd has joined #linux-rockchip
Sanjay85 has quit [Ping timeout: 250 seconds]
gb_master has joined #linux-rockchip
akaizen has quit [Remote host closed the connection]
akaizen has joined #linux-rockchip
naobsd has quit [Quit: naobsd]
naobsd has joined #linux-rockchip
Amir_Rock has joined #linux-rockchip
<Amir_Rock> hey
nighty-_ has joined #linux-rockchip
ni291187 has joined #linux-rockchip
<ni291187> naobsd ?
ni291187 is now known as Sanjay85
<Sanjay85> i have good news
Sanjay85 has quit [Remote host closed the connection]
<naobsd> well
n70882 has joined #linux-rockchip
<naobsd> hi
n70882 has quit [Remote host closed the connection]
sanjay__ has joined #linux-rockchip
<sanjay__> re
<naobsd> hi
<sanjay__> i have good new
<sanjay__> how are you ?
<naobsd> no progress sorry :(
<sanjay__> i have write uboot on sdcard
<sanjay__> when i boot with sdcard => black screen, and rockchip loader usb detect
<sanjay__> so i write CWM img in sdcard
<sanjay__> now
<sanjay__> when booting without sdcard => Stock recovery
<sanjay__> when boot WITH sdcard => Clockworkmod
<sanjay__> with adb shell
<sanjay__> on adb shell i have found TWO emmc
<naobsd> ah nice :)
<sanjay__> but i can't flash rom etc
<naobsd> why?
<sanjay__> because system / boot etc
<sanjay__> is sdcard
<sanjay__> not NAND flash
<sanjay__> i have
ssvb has joined #linux-rockchip
<naobsd> you can access another mmc device
<naobsd> please post dmesg
<sanjay__> rk29.sdmmc.0
<sanjay__> i have
<naobsd> please post dmesg
<sanjay__> /dev/block/platform/rk29.sdmmc.0 and /dev/block/platform/emmc
<sanjay__> ok
<sanjay__> dmesg
<sanjay__> emmc has by-name folder with system / recovery etc etc etc
<sanjay__> and
<sanjay__> rk29.sdmmc.0 and only by num
<naobsd> I guess emmc is on-board flash
<sanjay__> emmc is sdcard (emulate as emmc ?)
<sanjay__> fastboot format system say system is RAW
<sanjay__> e2fsck /dev/block/mmcblk1p1
<sanjay__> gave a lot of erreyr
<sanjay__> error
<naobsd> please post output by "adb shell dmesg > dmesg.txt" on PC
<sanjay__> mmcblk0pXXX is all system data etc partition
<sanjay__> yes i know linux cmd
<sanjay__> just me102a don't boot
<sanjay__> i must re create sdcard
<naobsd> please do not try to write something at random
<sanjay__> i must re write sdcard
<naobsd> I see
<sanjay__> because i flash system into, and it's don't work
<sanjay__> so i must re create boot => re flash recovery
<sanjay__> 2 minute
<naobsd> please don't try to write/erase something without deep investigation
<sanjay__> ok
<sanjay__> fdisk -l has return anything
<sanjay__> because is not same has a PC lol
<naobsd> yes
<sanjay__> so i say, i'll wait for naobsd
<naobsd> you may use partitions by fdisk on some configuration, but at least rockchip android doesn't use it
<sanjay__> ok
<sanjay__> uboot is comming
<sanjay__> it's strange
<sanjay__> because i have 8 Gb sdcard
<sanjay__> and DF -h is return 11 Go
<sanjay__> when mount data with CMW
<naobsd> please post dmesg
<naobsd> btw I don't recommend to use u-boot for rescue system
premoboss has quit [Remote host closed the connection]
<sanjay__> ok
<naobsd> stock loader should be more reliable
<sanjay__> but it's the only solution to have a bootable device ?
<sanjay__> and cmd line
<naobsd> what I said it using stock loader for SD boot
<naobsd> I'm not talking about loader in on-board flash for now
<naobsd> anyway
<naobsd> you can use adb with CWM, I want to see dmesg output at first
<sanjay__> hmmm
<sanjay__> only boot with rock usb loader
<naobsd> how did you prepare SD card?
<sanjay__> i have download binary from androtab
<sanjay__> uboot
<sanjay__> write into sdcard with readme command
<sanjay__> a this time, sdcard boot with blackscreen and rockchip usb loader mode
<sanjay__> i rkflashtool or rkandroidtools can write successfull recovery
<sanjay__> but it's write on sdcard
<naobsd> please write more about "write into sdcard with readme command"
<naobsd> you have to write parameter and boot (or recovery) to boot CWM or something
<sanjay__> yesterday
<sanjay__> juste write misc and recovery with rkandroidtools
<sanjay__> and it's was working
<sanjay__> it's writing system
<sanjay__> on sdcard
<sanjay__> kernel
<sanjay__> boot
<sanjay__> cwm
<sanjay__> etc
<sanjay__> with rkandroidtools
<sanjay__> 5 minute remeaning
<naobsd> you can write parameter and cwm.img with dd, it should be enough
Amir_Rock_ has joined #linux-rockchip
<naobsd> ah, parameter, kernel, and cwm
Amir_Rock has quit [Ping timeout: 246 seconds]
<sanjay__> i can't go into cwm
<sanjay__> only rockip loader
<sanjay__> yesterday it's was ok
<sanjay__> so
<sanjay__> it's ok
<sanjay__> i'm on cmw
<sanjay__> adb shell is ok
<sanjay__> dmesg > test.txt is ok
<sanjay__> now i must pull test.txt
<Amir_Rock_> guys i have one question
<sanjay__> where i can put my text file ? pastbin ?
<Amir_Rock_> how i can install openCV on Radxa_Rock_Pro?!
<Amir_Rock_> Linux OS
<sanjay__> noabsd> dmesg return emmc and mmc0
<sanjay__> noabsd> mmcblk0: mmc0:0001 SEM16G 14.6 GiB (this is NAND ?)
<sanjay__> noabsd> mmcblk1: mmc1:1234 SA08G 7.42 GiB (this is SD-Card)
<sanjay__> what time is it in japon ?
daniels has joined #linux-rockchip
<sanjay__> i can parted mmcbl1 > print i have boot partition
<sanjay__> but with mmcblk0 print
<sanjay__> Error: /dev/block/mmcblk0: unrecognised disk label
ssvb has quit [Ping timeout: 240 seconds]
* sanjay__ slaps naobsd around a bit with a large fishbot
<sanjay__> lol
gb_master has quit [Remote host closed the connection]
gb_master has joined #linux-rockchip
Amir_Rock_ has quit [Ping timeout: 246 seconds]
amstan has quit [Ping timeout: 250 seconds]
JohnDoe_71Rus has joined #linux-rockchip
amstan has joined #linux-rockchip
amstan has joined #linux-rockchip
<naobsd> sanjay__: mmc0(mmcblk0) is the on-board flash (emmc)
<sanjay__> mmcblk0: mmc0:0001 SEM16G 14.6 GiB (onboard)
<sanjay__> mmcblk1: mmc1:1234 SA08G 7.42 GiB (sdcard)
<sanjay__> recovery has mount onboard
<sanjay__> i mount system and data
<sanjay__> df -h Filesystem Size Used Available Use% Mounted on tmpfs 448.7M 136.0K 448.6M 0% /dev tmpfs 448.7M 296.0K 448.4M 0% /tmp tmpfs 448.7M 0 448.7M 0% /storage tmpfs 448.7M 0 448.7M 0% /mnt/secure tmpfs 448.7M 0 448.7M 0% /mnt/fuse /dev/block/platform/emmc/by-name/
<sanjay__> i try to flash rom.zip, but gave me "some symlinks failed"
<naobsd> which rom.zip? cwm is not stock recovery, zip for stock recovery cannot applied
<sanjay__> a have a CWM stock rom .zip
<sanjay__> initscript first line are
<naobsd> stock rom update.zip modified for CWM, right?
<sanjay__> format("ext4", "EMMC", "/dev/block/mtd/by-name/system", "0", "/system"); mount("ext4", "EMMC", "/dev/block/mtd/by-name/system", "/system"); package_extract_dir("system", "/system"); symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
<sanjay__> mtd => emmc symbolic links
ganbold_ has quit [Ping timeout: 255 seconds]
<naobsd> if you run something on cwm, log should be recorded
<sanjay__> but its strange
<sanjay__> i have mkfs.ext2 but not ext4
<sanjay__> in /sbin/
<sanjay__> there is no var/log
<sanjay__> dmesg is clean
<sanjay__> a don't know wtf with emcc
<sanjay__> emmc
<naobsd> log may be put under /tmp or /cache
<naobsd> and I want to see updater script in your rom.zip
<sanjay__> lrwxrwxrwx 1 root root 24 Sep 12 12:03 /dev/block/mtd -> /dev/bl ock/platform/emmc
<sanjay__> i can mount system and read it
<sanjay__> maybe problem is not system :(
<sanjay__> i have found log file !!
ssvb has joined #linux-rockchip
<sanjay__> i got the verbose error
<sanjay__> system is read only ?
<sanjay__> fstab say
<sanjay__> /dev/block/platform/emmc/by-name/system /system ext4 rw
<naobsd> I guess formatting /system was failed
<sanjay__> exact
<naobsd> hmm
<sanjay__> have you see the log ?
<sanjay__> recovery.log
<sanjay__> i can't touch file
<sanjay__> in system
<sanjay__> ready only
ganbold has joined #linux-rockchip
nighty-_ has quit [Ping timeout: 260 seconds]
<naobsd> what happen if you format /system manually from menu
<naobsd> and mount /system
<naobsd> I guess you can see some files which shouldn't exist
<sanjay__> no error
<sanjay__> Done
<sanjay__> i'll see log
<sanjay__> log say
<sanjay__> warning: wipe_block_device: Discard failed
<sanjay__> same as .zip
<naobsd> well
<naobsd> try ls /system/
<sanjay__> i can try with
<sanjay__> mkfs.ext2
<naobsd> on adb shell
<sanjay__> ls /system is working fine
<naobsd> no
<sanjay__> mount /system then /ls
<sanjay__> ls
<naobsd> I'm asking what you can see in /system/
<naobsd> just after format
<sanjay__> nothing
<naobsd> it should be empty
<sanjay__> bin folder only
<sanjay__> and it's empty
<naobsd> bin folder?
<naobsd> hmm
<naobsd> then it's not read-only
<naobsd> (no idea for bin)
<sanjay__> yes
<sanjay__> but
<sanjay__> look
<sanjay__> /system # ls ls bin /system #
<sanjay__> now
<naobsd> I have no idea why install zip doesn't work
<naobsd> for now.
<sanjay__> umount /system
<sanjay__> mount /system
<sanjay__> /system # ls ls app framework scripts bin lib tts build.prop lost+found usr etc media vendor fonts recovery-from-boot.p xbin
<naobsd> ah
<naobsd> I see
<sanjay__> after format
<sanjay__> umount / mount
<sanjay__> and i can see all file ? wtf ?
<naobsd> yes, surely read-only
<sanjay__> if cd app
<naobsd> can you write something to misc partition?
<sanjay__> i can see all apk
<sanjay__> yes ? misc sd, or misc real partition ?
<naobsd> well, probably it looks like something can be written, but it may not be preserved after reboot
<naobsd> misc on emmc
<sanjay__> i must mount it before ?
<naobsd> misc is raw partition
<sanjay__> how to write something into misc ?
<naobsd> dd
<sanjay__> dd cmd line ok
<naobsd> if you can write something to misc, you may be able to change loader
<sanjay__> i can push img file and use dd
<naobsd> well, strange, currently you're using u-boot on sd, it shouldn't protect anything on emmc
<sanjay__> fstab is "rw" ?
<naobsd> sorry, I misunderstood something
<sanjay__> /dev/block/platform/emmc/by-name # ls ls adf backup cache kernel misc recovery userdata apd boot hidden kpanic parameter system
<sanjay__> there is misc file block
<sanjay__> si i can write into ? true ?
<sanjay__> e2fsck on system will change something ?
<sanjay__> other partition is not readyonly
<naobsd> very stange, I have no idea why system is read-only
nighty-_ has joined #linux-rockchip
<naobsd> well, sorry, I have no time for now
<sanjay__> so
<sanjay__> /data
<sanjay__> is read only
<sanjay__> format data
<sanjay__> rm: can't remove 'user/0': Read-only file system rm: can't remove 'user': Read-only file system
<sanjay__> emmc is ready only
<naobsd> oops
<sanjay__> i have a idea
<sanjay__> maybe kernel, or other file i have flash
<sanjay__> i thing when create sdcard, i must flash ONLY cmw and misc
<sanjay__> i'll see this night
<sanjay__> thank you
<sanjay__> i'll go to play with my son for now
<sanjay__> i'll see later
<sanjay__> if changing something into sdcard will change something
<sanjay__> and tell you back
<sanjay__> i must see WHY ready-only system
<sanjay__> see you soon and thank you
<sanjay__> fdisk return '/dev/block/mtd' is opened for read only
sanjay__ has quit []
premoboss has joined #linux-rockchip
fireglow has joined #linux-rockchip
<nighty-_> naobsd, (cp-)
<naobsd> hi
<nighty-_> :)
<naobsd> mmind00: did you already tried usb-uart function on otg on rk3368?
<mmind00> naobsd: nope ... it is supposed to be there, but I didn't try yet
<naobsd> thanks. my rk3368 box will be arrived within 3-5 days(hopefully)
<naobsd> mmind00: are you using uart2? i.e. you killed sd function?
<mmind00> naobsd: yep ... although there wasn't anything to kill, as the board I have doesn't have a sd slot :-)
<naobsd> ah :)
<naobsd> my box is Tronsmart R68
<naobsd> I hope I can extract board specific info from their SDK ;)
<naobsd> mmind00: do you have any experience with JTAG on Rockchip?
<mmind00> nope ... the only thing I've done with JTAG so far is stopping and starting a s3c2416 ... nothing more
<naobsd> :)
<naobsd> thank you :)
<mmind00> naobsd: also, same problem on the rk3368 ... jtag pins share with the sdmmc
<naobsd> sure
gb_master has quit [Remote host closed the connection]
lautriv has joined #linux-rockchip
<lautriv> *plop*
lautriv has quit [Ping timeout: 244 seconds]
lautriv has joined #linux-rockchip
JohnDoe3 has joined #linux-rockchip
JohnDoe_71Rus has quit [Ping timeout: 244 seconds]
GriefNorth has quit [Ping timeout: 256 seconds]
sanjay__ has joined #linux-rockchip
Bludot has joined #linux-rockchip
sanjay__ has quit [Ping timeout: 246 seconds]
JohnDoe3 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
dlezcano has quit [Remote host closed the connection]
premoboss has quit [Ping timeout: 244 seconds]
akaizen has quit [Remote host closed the connection]
nighty-_ has quit [Quit: Disappears in a puff of smoke]
rory096 has joined #linux-rockchip
akaizen has joined #linux-rockchip
gb_master has joined #linux-rockchip