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> rperier: I have to do some work with yocto :)
<naobsd> hm, is PX3/5 name of board? SoC?
<naobsd> it seems cc: linux-rockchip is missing...
nighty has joined #linux-rockchip
vagrantc has joined #linux-rockchip
levd has joined #linux-rockchip
<stdint> naobsd, PX3/5 is a SoC designed for Android used in car
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 250 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
cnxsoft has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 250 seconds]
levd1 is now known as levd
sunilmohan has quit [Ping timeout: 250 seconds]
sunilmohan_ has joined #linux-rockchip
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 276 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: 244 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
levd1 has joined #linux-rockchip
levd has quit [Ping timeout: 250 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
levd has quit [Ping timeout: 260 seconds]
sunilmohan has joined #linux-rockchip
sunilmohan_ has quit [Ping timeout: 265 seconds]
ganbold has quit [Ping timeout: 264 seconds]
ganbold has joined #linux-rockchip
dlezcano_ has quit [Remote host closed the connection]
<zzarr> hello!
<zzarr> I need some help getting started with initramfs
<zzarr> I have a chroot running on an arm architecture (binfmt from x86_64)
<zzarr> I have installed mkinitramfs in it
<zzarr> I wish to make a initramfs for kernel 4.4 with my config (I have the source/config in a folder)
<zzarr> I can compile the kernel no problem
<zzarr> I have Ubuntu 16.04 both arm and x86_64
<stdint> zzarr, usually you don't need it
<stdint> you could boot any system you want without initramfs
<stdint> and the other usage of buildroot is making initramfs for testing
<stdint> the Ubuntu/Debian made initramfs really useless, just for loading modules
<zzarr> okey
<zzarr> so I could make a boot image without a initramfs?
<zzarr> I see... mkbootimg only needs a kernel
<zzarr> stdint, do I need to write any special commandline for the kernel?
<stdint> not
<stdint> just set the rootfs in bootargs
<stdint> and included those target driver(like eMMC, nand or SDMMC)
<stdint> zzarr, you may need to read some book about the linux and linux kernel basic
<stdint> LDD3 would be a good start
<zzarr> okey
<stdint> my teacher GNUtoo also read this book carefully when I start in this area
<stdint> let me read this book, I meant
<zzarr> I thought the [ --cmdline <kernel-commandline> ] option to mkbootimg was the bootargs
<stdint> I am not familiar with mkbootimg
<zzarr> I have done this before, just need to remember/reunderstand
<zzarr> okey
<stdint> but I am talking about the bootargs that the u-boot send to kernel
<zzarr> I know
<zzarr> I thought perhaps they are the same, I'll need to read up on it
<zzarr> arent the bootargs from u-boot the argument which is provided to the kernel during boot?
dlezcano has joined #linux-rockchip
<stdint> yes
<zzarr> nice
<stdint> I would rather said it is provides before the kernel is boot
<zzarr> true
<zzarr> but the kernel knows about them :)
dowu has quit [Ping timeout: 264 seconds]
<zzarr> stdint, are you sure the parameter is called rootfs or is it root?
<stdint> in kernel parameter, it is "root="
<stdint> but the partition used as value for it, the context of it would be called the rootfs
<stdint> that is why I suggest you have better read the LDD3
<stdint> after you read it, most of problems would go
<zzarr> okey, I have it open as a pdf now
paulk-veyron-min has joined #linux-rockchip
utente_ has quit [Ping timeout: 260 seconds]
<zzarr> well thanks for your help stdint
<stdint> you are welcome
vagrantc has quit [Quit: leaving]
utente_ has joined #linux-rockchip
paulk-veyron-min has quit [Ping timeout: 240 seconds]
matthias_bgg has joined #linux-rockchip
utente_ is now known as premoboss
premoboss has quit [Ping timeout: 252 seconds]
dlezcano has quit [Remote host closed the connection]
nighty has quit [Quit: Disappears in a puff of smoke]
dlezcano has joined #linux-rockchip
premoboss has joined #linux-rockchip
nighty has joined #linux-rockchip
<rperier> mmind00: hey, it was my wedding this week-end. BUT, I am on vacations until Thursday. It's plan, this is the first thing that I will do today or tomorrow :)
<rperier> naobsd: PX3/5, what is the SoC ? I don't have this board, so it's not yet supported in meta-rockchip. That's not complicated to add a new board
<rperier> naobsd: so you can add it and send me a patch :)
<mmind00> rperier: hehe, no problem and congrats :-) ... just take your time
<rperier> what do you think ?
<rperier> mmind00: thanks !
<rperier> ;)
<mmind00> rperier: px3 is an automotive rk3188, px5 same based on the rk3368
<rperier> I think that both should work just fine (modulo bugs)
<mmind00> rperier: especially the px3 is nice to see, as I'm still hoping that someone will do grapics support for it, now that we're seeing upstream patches for them already
<rperier> yeah it would be nice for rk3188, however that's not the most trivial part in the kernel (graphics support).
<mmind00> rperier: yep ... that why it is nice to see Rockchip people sending px3 dts patches :-)
<rperier> yep :)
<rperier> indeed
cnxsoft has quit [Remote host closed the connection]
cnxsoft has joined #linux-rockchip
jkstrick has joined #linux-rockchip
<ayaka> mmind00, right, internal we call the px3 as rk3189
jkstrick_ has joined #linux-rockchip
jkstrick has quit [Ping timeout: 244 seconds]
jkstrick_ has quit [Ping timeout: 264 seconds]
jkstrick has joined #linux-rockchip
jkstrick has quit [Read error: Connection reset by peer]
jkstrick_ has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
tlwoerner has quit [Quit: Leaving]
JohnDoe_71Rus has joined #linux-rockchip
matthias_bgg has quit [Quit: Leaving]
jkstrick_ has quit [Ping timeout: 265 seconds]
ganbold has quit [Ping timeout: 240 seconds]
paulk-collins has joined #linux-rockchip
vagrantc has joined #linux-rockchip
linux-rockchip has quit [Ping timeout: 244 seconds]
linux-rockchip has joined #linux-rockchip
linux-rockchip has quit [Ping timeout: 264 seconds]
ayaka has quit [Read error: Connection timed out]
ayaka has joined #linux-rockchip
jkstrick has joined #linux-rockchip
jkstrick has quit [Remote host closed the connection]
jkstrick has joined #linux-rockchip
jkstrick has quit [Remote host closed the connection]
jkstrick has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
jkstrick has quit [Remote host closed the connection]
jkstrick has joined #linux-rockchip
jkstrick has quit [Remote host closed the connection]
jkstrick has joined #linux-rockchip
jkstrick has quit [Remote host closed the connection]
jkstrick has joined #linux-rockchip
<karlp> hrm, opened up my rk3229 device, and get what seems to be an intermediate baud, neither 57600 nor 115200.
tyler-baker has left #linux-rockchip ["Leaving"]
robogoat has quit [Ping timeout: 244 seconds]
robogoat has joined #linux-rockchip
<karlp> which of mmind's branches is the "integration" branch? that has all the best available stuff? "for-next" ?
jkstrick has quit [Remote host closed the connection]
jkstrick has joined #linux-rockchip
<mmind00> karlp: I don't do an "integration-branch" :-) ... my for-next feeds into linux-next, as do all the other maintainer trees with the driver parts https://git.kernel.org/cgit/linux/kernel/git/next/linux-next.git/
<mmind00> karlp: my linux-rockchip on git.kernel.org is strictly for that mainline work ... and while I also have a github counterpart with some devel/foo branches that do throw together some more upstream patches, these are mainly for my testing and not meant for people to base their work upon
<vagrantc> mmind00: did you ever find enough confidence to merge that veyron-speedy.dts one-liner? is there anything more I can do to move that forward?
<mmind00> vagrantc: rperier wanted to provide a second opinion from his speedy ... but as you can see in the backlog from today, he had other commitments this weekend ;-)
<vagrantc> ok
<mmind00> vagrantc: but it looks like he has this on his todo list for the next days
<vagrantc> yay
* vagrantc is hoping it (or some better fix) will hit mainline linux in time for Debian's freeze in a few months
<mmind00> vagrantc: Debian plans on using 4.9, right?
<vagrantc> it was a while back, but i think it was going to try for 4.11, based on estimates of timing and so on
<vagrantc> though smallish backports like that are usually fine, as long as it's in mainline (and to a lesser extent, next)
<vagrantc> off by one
<vagrantc> that sounds about right, last i heard
<vagrantc> https://lists.debian.org/debian-devel-announce/2016/07/msg00002.html puts hard freeze in early february ... which might be a little late for kernel, but i think the kernel team may upload rc versions ...
* vagrantc stops spamming people about debian release cyclles now
<mmind00> :-)
paulk-collins has quit [Quit: Leaving]
jkstrick has quit [Ping timeout: 240 seconds]
vickycq- has joined #linux-rockchip
vickycq has quit [Ping timeout: 252 seconds]
nighty has quit [Remote host closed the connection]
<naobsd> karlp: if you want to see u-boot output on uart2, try to remove BAUDRATE=1500000 from defconfig https://github.com/rockchip-linux/u-boot/blob/product/configs/rk322x_box_defconfig#L1
<naobsd> karlp: if you want to try compiled binary http://dl.linux-rockchip.org/rockchip/rk_u-boot/rk322x/
<naobsd> karlp: for kernel, just set ttyS2 speed. for spl/trust binaries, I have no idea.
<naobsd> (btw the repo/branch I used is not rockchip-linux's. only geekbox's was available at that time, it has exactly same commit id in manifest in stock rom
jkstrick has joined #linux-rockchip
jkstrick has quit [Remote host closed the connection]
<karlp> naobsd: was actually just _starting_ hadn't even built a kernel yet, was just hooking up a serial to the pin header, couldnt' find the right baud.
<karlp> but thanks, your notes will work well for me I think.
<karlp> mmind00: fair enough, Iguess these days enough is in mainline, I can then maybe pick in patches myself I guess.
premoboss has quit [Ping timeout: 265 seconds]
<karlp> whee, 1500000 was what I was missing
<karlp> that and the cp210x customization utiltity to alias it to be useful baud
<karlp> mine has: U-Boot 2014.10-RK322X-10-g993d334 (Mar 15 2016 - 15:24:04) so far
<naobsd> it's in "product" branch on rockchip-linux u-boot repo
<karlp> you had an mxq4k too right?
<naobsd> I assume we can use product branch safely :)
<naobsd> mxq4k yes
<karlp> I'm not really interested in replacing uboot unless I need to, ws just looking at a regular mainline kernel and a linux root FS. what branch have you last used on this board?
<naobsd> Hotack T066-V1 board
<naobsd> well
<naobsd> I tried it several month ago, I didn't use recently
<naobsd> at that time I tried dts for rk3228 in linux-next
<naobsd> now rk3229 should be available...
<naobsd> checking
<karlp> yeah, I'd just seen some rk3229 patches go past, thought it might be worth a try
<naobsd> I guess there is no difference between rk3228 and rk3229 support _in linux kernel_
<naobsd> yet.
<naobsd> but it seems there is small difference in rk3228-evb.dts/rk3229-evb.dts ;)
<karlp> am I right in reading your logs, that I should just be able to make a rk31xx style sdcard and use upgrade tool to flash the kernel?
<karlp> there's still no nand support, that'sfine, I'll be fine with an sdcard, ethernet and usb
<naobsd> well, if you use SD kernel, upgrade_tool is not required. upgrade_tool is for on board flash
<karlp> oh, yeah, I guess.
<karlp> upgradetool can give me nand kernel, but would always need rootfs on either sd or emmc (and there's no emmc on this board)
<naobsd> (it can be used for SD if it boots from SD)
<karlp> rk3229-evb dts has ethernet but no usb it seems?
<karlp> did you ever get that working?
<naobsd> when what you need is partitioned/mkfs-ed SD card
<naobsd> I cannot remember detail
<karlp> no problem, thanks for the pointers so far already :)
<naobsd> I think lately there is no update
<naobsd> don't expect so much :)
premoboss has joined #linux-rockchip
<naobsd> probably rk312x is also incomplete...
ganbold has joined #linux-rockchip
nighty has joined #linux-rockchip