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
<mmind00> steev: where did you count billions of patches? :-)
<mmind00> steev: at least compared to 4.2-rc1 it really boils down to the edp and the one new drm ioctl I took from the chromeos kernel
RokQuarry has quit [Ping timeout: 256 seconds]
<steev> mmind00: something you should learn about me. I'm a very sarcastic person
<mmind00> steev: :-D
<steev> It's definitely not as bad as Samsung's stuff has been
<steev> "Totally works with mainline" - you just need these patches here, and this one from here, and there are a couple by so and so you should apply too, and oh, if you want WiFi to work you need this option to be enabled, and oh yeah, you need to enable this option as well
RokQuarry has joined #linux-rockchip
<mmind00> steev: haha ... thankfully I'm not in the business of providing fully functional rockchip kernels, so can live with "partially works with mainline" ;-)
levd has joined #linux-rockchip
naobsd has joined #linux-rockchip
<steev> mmind00: the important thing is, you know and will admit that things don't work
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 250 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 256 seconds]
RokQuarry has quit [Ping timeout: 248 seconds]
RokQuarry has joined #linux-rockchip
RokQuarry has quit [Client Quit]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 248 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 256 seconds]
konsgn has quit [Remote host closed the connection]
naobsd has quit [Ping timeout: 255 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 256 seconds]
naobsd has joined #linux-rockchip
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 256 seconds]
<naobsd> will it be nice if RK's u-boot adds "rockchip.usb_uart" when it's enabled in u-boot?
<naobsd> oh well
<naobsd> if it's enabled in loader, we will lose flashing functionality via fastboot/rockusb. ;)
levd1 has joined #linux-rockchip
<naobsd> it should be enabled carefully ;)
levd has quit [Ping timeout: 250 seconds]
markm has quit [Ping timeout: 248 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 248 seconds]
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 244 seconds]
field^Mop has joined #linux-rockchip
ganbold_ has joined #linux-rockchip
ganbold has quit [Ping timeout: 255 seconds]
<naobsd> tlwoerner: ping
premoboss has quit [Ping timeout: 256 seconds]
<tlwoerner> naobsd: pong
<naobsd> which kernel did you build?
<naobsd> 3.10 based android kernel?
<tlwoerner> 4.0-next
<naobsd> then you don't have resource.img, right?
<tlwoerner> git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git, my build is based on some work rperier did
<tlwoerner> no, i don't have a resource section
<naobsd> I'm not asking section/partition
<naobsd> I'm asking resource.img file
<naobsd> then it shouldn't be available for mainline kernel
<naobsd> RK u-boot wants dtb in resource.img in resource partition or boot.img
<naobsd> but resource.img is not supported by mainline kernel
<naobsd> you need to
<naobsd> A: prepare/put resource.img into resource partition or boot.img
<naobsd> or
<naobsd> B: use linux-rockchip's u-boot which ignore "dtb in resource.img cannot be found" error
<rperier> tlwoerner: if you use meta-rockchip, you need first to flash your device with "petitboot" then you can you a mainline kernel which produce a zImage and a separated dtb
<naobsd> dtb should be appended to mainline kernel zImage
<naobsd> ah
<naobsd> dtb should be appended to mainline kernel zImage if you're using linux-rockchip u-boot
<naobsd> compile/flash u-boot from linux-rockchip is one of steps to run mainline kernel
<tlwoerner> rperier: i'm working on a "firefly-update-image" to create something that can be flashed to the firefly's eMMC and not use the "petitboot on uSD" path
<naobsd> tlwoerner: again, "RK u-boot wants dtb in resource.img in resource partition or boot.img" this is the reason
<rperier> you said "my build is based on some work rperier did"... without much more details... I cannot know :)
<tlwoerner> naobsd: what tool is used to create a resource partition? i see there's a RSCE header attached to a regular dtb file, but i'm not sure how to convert the raw dtb to the resource.img
<tlwoerner> rperier: :-) i used your existing kernel recipe :-)
<naobsd> tlwoerner: what I said is "ignore it for mainline"
<tlwoerner> naobsd: ok
<naobsd> if you're asking about 3.10 based kernel with resource.img,
<rperier> tlwoerner: when you have a working "firefly-update-image" feel free to propose a pull request
<tlwoerner> rperier: great!
<rperier> that's interesting
<naobsd> tlwoerner: http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en#Compile_Image this makes resource.img in addition to kernel.img
<rperier> tlwoerner: be careful about the filesystem you will use for your emmc (for the rootfs)
<naobsd> and mkbootimg (snip) --second resource.img -o boot.img is the way to include resource.img into boot.img
<naobsd> mainline kernel will not recognize partition defined in parameter
<naobsd> ^be careful
<naobsd> firefly provides mainline based kernel which support partition in parameter
<naobsd> don't assume "partition in parameter" always works ;)
<naobsd> I guess run "losetup"with offset/size in initramfs might be another solution
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 250 seconds]
cristian_c has joined #linux-rockchip
<rperier> my usb cable is ready ;D
<rperier> I should be able to test usb uart this evening
<cristian_c> hello
<cristian_c> I've tried gpiodump
<cristian_c> I loaded the kernel module and I've checked all the pins, in three modes
<cristian_c> but I'd like to know what to do in order to make things working
<cristian_c> any ideas?
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 250 seconds]
<naobsd> tlwoerner: thanks for sending email. then, you solved that problem?
<tlwoerner> naobsd: no, not yet :-) i'm still trying to sort out what I need to do
<cristian_c> another question
<cristian_c> I'd like to access to mount user readable/writable nand partition (i.e. /sdcard)
<cristian_c> I think loop* block files are related to mtd partitions and I think I could mount /system or /sdcard , mtdblock8 and mtdblock9, respectively (they are ext4 the first one and vfat the second one). So, I'd like to know if maybe I've to enable some CONFIG options in the kernel configuration file or to something else. Any ideas?
wildea01 has joined #linux-rockchip
markm has joined #linux-rockchip
levd1 has joined #linux-rockchip
<tlwoerner> naobsd: i need to go clear my head, i'll catch up with you later :-)
levd has quit [Ping timeout: 256 seconds]
<naobsd> tlwoerner: please forget this part "(it was suggested using losetup with the correct offsets as found in the kernel CMDLINE might work)"
<naobsd> it's totally different story
<naobsd> "cat zImage xxx.dtb > out" is the way to make kernel with dtb appended
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 264 seconds]
field^Mop has quit [Ping timeout: 256 seconds]
field^Mop has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Remote host closed the connection]
naobsd has quit [Quit: naobsd]
levd has joined #linux-rockchip
levd1 has quit [Ping timeout: 250 seconds]
levd has quit [Remote host closed the connection]
levd has joined #linux-rockchip
levd has quit [Ping timeout: 246 seconds]
markm has quit [Ping timeout: 240 seconds]
markm has joined #linux-rockchip
cristian_c has quit [Quit: Bye]
nighty-_ has joined #linux-rockchip
markm has quit [Ping timeout: 256 seconds]
markm has joined #linux-rockchip
robogoat has quit [Ping timeout: 265 seconds]
wildea01 has quit [Quit: leaving]
naobsd has joined #linux-rockchip
dack has joined #linux-rockchip
field^Mop has quit [Ping timeout: 264 seconds]
field^Mop has joined #linux-rockchip
GriefNorth has joined #linux-rockchip
Bludot has quit [Quit: Connection closed for inactivity]
Bludot has joined #linux-rockchip
else- has quit [Quit: WeeChat 0.4.2]
GriefNorth has quit [Ping timeout: 256 seconds]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Read error: Connection reset by peer]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Read error: Connection reset by peer]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Read error: Connection reset by peer]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Read error: Connection reset by peer]
GriefNorth has joined #linux-rockchip
mazen_ has joined #linux-rockchip
mazen_ has quit [Client Quit]
GriefNorth has quit [Read error: Connection reset by peer]
GriefNorth has joined #linux-rockchip
GriefNorth has quit [Remote host closed the connection]
GriefNorth has joined #linux-rockchip
VargaD_ has joined #linux-rockchip
cosm has quit [Ping timeout: 252 seconds]
VargaD has quit [Ping timeout: 252 seconds]
VargaD_ is now known as VargaD
cosm has joined #linux-rockchip
dack has quit [Remote host closed the connection]
else- has joined #linux-rockchip
GriefNorth has quit [Ping timeout: 264 seconds]
nighty-_ has quit [Quit: Disappears in a puff of smoke]
nighty-_ has joined #linux-rockchip
markm has quit [Ping timeout: 264 seconds]
markm has joined #linux-rockchip
<amstan> still can't see anything on the screen though
<amstan> on 4.1
<amstan> leming, steev, mmind00 ^
<mmind00> amstan: oh interesting :-) ... on what device are you running this?
<mmind00> amstan: I guess minnie?
<amstan> mmind00: yes
<mmind00> what state is the screen in? i.e. do you have a console on the edp before x is trying to start and is the backlight on?
<amstan> mmind00: yes, and after i start it i just see a black screen
<amstan> i don't even think the backlight is on
<amstan> hmm, maybe not, the vty looks equally dark in my light
robogoat has joined #linux-rockchip
Bludot has quit [Quit: Connection closed for inactivity]
<steev> hm
Bludot has joined #linux-rockchip
field^Mop has quit [Ping timeout: 240 seconds]
<steev> amstan: so basically... drm isn't working properly