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
afaerber has quit [Ping timeout: 240 seconds]
vickycq has quit [Ping timeout: 240 seconds]
Luke-Jr has quit [Ping timeout: 240 seconds]
azend|vps_ has quit [Ping timeout: 240 seconds]
GekkePrutser has quit [Ping timeout: 240 seconds]
aborche has quit [Ping timeout: 240 seconds]
dianders has quit [Ping timeout: 240 seconds]
ojn has quit [Ping timeout: 240 seconds]
nashpa has quit [Ping timeout: 240 seconds]
pietrushnic has quit [Ping timeout: 240 seconds]
pietrushnic has joined #linux-rockchip
vickycq has joined #linux-rockchip
GekkePrutser has joined #linux-rockchip
nashpa has joined #linux-rockchip
dianders has joined #linux-rockchip
ojn has joined #linux-rockchip
luke-jr_ is now known as Luke-Jr
azend|vps has joined #linux-rockchip
naobsd has quit [Remote host closed the connection]
<Elijah_> sjoerd: radxa rock pro
<Elijah_> Running off the SD card
<Elijah_> Kernel 3.18 does seem to be working aside from the HDMI video
<Elijah_> wanted to get the usbtv driver
<Elijah_> it does seem to be recognizing my EasyCap now, will have to find an NTSC source to test it out
<Elijah_> interestingly, the MAC address is still not what's passed on the kernel command line
Ueno_Otoko has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 240 seconds]
Ueno_Otoko has joined #linux-rockchip
kapouer has quit [Quit: kapouer]
azend|vps_ has joined #linux-rockchip
afaerber_ has quit [Ping timeout: 250 seconds]
afaerber_ has joined #linux-rockchip
azend|vps_ has quit [Read error: Connection reset by peer]
azend|vps_ has joined #linux-rockchip
azend|vps_ has quit [Ping timeout: 260 seconds]
azend|vps_ has joined #linux-rockchip
Sadneophyte has joined #linux-rockchip
Sadneophyte has quit [Ping timeout: 265 seconds]
cyrozap has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 265 seconds]
<cyrozap> Hi, all, I'm trying to wrap my mind around the RK3188 boot process, but I've had a hard time finding up-to-date information. I have a Tronsmart MK908 II that I'd like to boot with U-Boot and use the latest kernel, but I know there's a whole proprietary booloader that gets in the way with its weird partitioning scheme and parameter file. I've recently stumbled upon [this](https://github.com/apxii/rk
<cyrozap> boottools) which makes me think that I might be able to use U-boot, but it hasn't been updated in two years.
<cyrozap> There's also https://github.com/neo-technologies/rockchip-mkbootimg and https://github.com/neo-technologies/rockchip_u-boot, but I'm not sure how they would fit or even if they would be useful for what I'm trying to do.
Ueno_Otoko has joined #linux-rockchip
naobsd has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
<naobsd> cyrozap: what do you want to do?
<cyrozap> naobsd: In a nutshell, I want Arch Linux ARM running on my MK908.
<cyrozap> naobsd: Also, kinda what this guy is doing: http://www.omegamoon.com/blog/index.php
<cyrozap> I just want that pure, Linux-y goodness on my tiny TV PC without all the Android cruft ;)
<naobsd> then I think bootloader is not important part, proprietary loader is also good for that
<cyrozap> Are there any instructions on getting plain linux booting on it anywhere? Everything I've seen is just "Here, run these .exe's and flash your device with these images. Sources? What are those?"
<naobsd> do you have kernel source for your device?
<cyrozap> Yes, but only 3.0.101 (plus patches): https://github.com/omegamoon/Rockchip-GPL-Kernel
<naobsd> hmm, source without history... not so good, but if it's surely working, better than nothing
<naobsd> then you can make kernel binary from source
<naobsd> what you need is root file system
<naobsd> there is tarball on archlinuxarm.org
<cyrozap> Ok, so the general idea is, create an ext4 image, loopback mount it, extract the tarball to the mounted image, unmount, and use that as the "system.img" partition?
<naobsd> ah, well,
<naobsd> you may need to modify kernel command line in parameter
<cyrozap> What exactly is the "boot" partition? I'm familiar with a BIOS/UEFI boot flow, but ARM/Android stuff seems totally different...
<naobsd> system partition may not so large
<naobsd> it's almost Rockchip stuff than ARM/Android stuff
<naobsd> boot partition is for initramfs(root fs on ram)
<cyrozap> Ah, so is it just a raw initramfs image or is something tricky done to it?
<naobsd> well
<cyrozap> Because I know how to work with those
<naobsd> with rockchip bootloader, you can put cpio(+gz) initramfs (with RK header) to boot partition, or
<naobsd> you may put kernel+initramfs image on boot partition
<naobsd> (you may put kernel+initramfs+resource(RK specific, dtb + logo package) image on boot if you are using rk3288 or later SoC)
<naobsd> if you put ramdisk only image on boot partition, you also need to put kernel image on kernel partition
JohnDoe_71Rus has quit [Ping timeout: 245 seconds]
dlezcano has quit [Ping timeout: 240 seconds]
<naobsd> for kernel/ramdisk separated image, you need to convert raw kernel binary/raw ramdisk image by mkkrnlimage command
JohnDoe_71Rus has joined #linux-rockchip
<naobsd> for kernel+ramdisk combined image, you need to use mkbootimg command _Rockchip version_ (there is AOSP version which doesn't work for Rockchip devices)
dlezcano has joined #linux-rockchip
<cyrozap> Ok, I think that's enough to get me started. Thanks for your help!
<naobsd> you may use rkcrc (instead of mkkrnlimg) from https://github.com/linux-rockchip/rkflashtool
<naobsd> about mkbootimg for Rockchip, there are several forks, probably this will work https://github.com/neo-technologies/rockchip-mkbootimg
<naobsd> you can use rkflashtool to modify parameter and flash images
<cyrozap> Yup, I already have both :)
<cyrozap> Though it appears as though rkflashtool can't flash the Loader.bin itself--I used the Windows utility to wipe the flash earlier today and I had to use it again to recover.
<cyrozap> I suppose that means mask-rom flashing hasn't been reversed yet?
<cyrozap> (that is, flashing while booted from the mash ROM)
<cyrozap> *mask
<naobsd> yes and no
<naobsd> protocol is known
sunilmohan has quit [Ping timeout: 265 seconds]
<naobsd> data for NAND cannot be made yet, or just no one tried yet
<naobsd> flashing loader on eMMC is known to work
<naobsd> you can send loader with rkflashtool l/L with mask rom mode
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<naobsd> you can write IDB (which contains loader and some other data) with rkflashtool j
<cyrozap> I see, I didn't really know what those did. So if I wanted to flash a loader (*.bin) from neo-technologies/rockchip-bootloader, would I use L or j?
kapouer has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 276 seconds]
<naobsd> *.bin is not for rkflashtool.
<naobsd> sorry, I have to go out
naobsd has quit [Quit: naobsd]
VargaD has quit [Ping timeout: 250 seconds]
kapouer has quit [Quit: kapouer]
VargaD has joined #linux-rockchip
diego71_ is now known as diego71
cnxsoft has joined #linux-rockchip
c0d3z3r0 has quit [Ping timeout: 240 seconds]
ssvb_ has quit [Read error: Connection reset by peer]
ssvb_ has joined #linux-rockchip
ssvb_ has quit [Read error: Connection reset by peer]
ssvb_ has joined #linux-rockchip
Ueno_Otoko has joined #linux-rockchip
vickycq has quit [Quit: WeeChat 1.0.1]
vickycq has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
cnxsoft has joined #linux-rockchip
vickycq has quit [Ping timeout: 256 seconds]
vickycq has joined #linux-rockchip
naobsd has joined #linux-rockchip
cnxsoft has quit [Quit: cnxsoft]
dlezcano has quit [Remote host closed the connection]
<rperier> what does florian mean with "Please include a Fixes tag to help keep track of changes." ? I need to add something like "[BUG]" in the title of the patch ?
<rperier> hi all btw :)
<mmind00> rperier: Format is
<mmind00> Fixes: 12bytesOfId ("Original commit subject")
<mmind00> if you submit a patch fixing some previous commit
premoboss has joined #linux-rockchip
Ueno_Otoko has quit [Ping timeout: 250 seconds]
<rperier> mmind00: this part is for the "short commit message" and for the long commit message, you're supposed to explain your changes right ?
<mmind00> rperier: normally the fixes part sits directly above the Signed-off-by ... like http://pastebin.com/RRvwHppd
<rperier> ohh I see
<rperier> good to know :)
<rperier> thanks
<mmind00> glad to help ;-)
<rperier> :)
kapouer has joined #linux-rockchip
JohnDoe_71Rus has joined #linux-rockchip
cosm has joined #linux-rockchip
JohnDoe_71Rus has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
lerc has quit [Read error: Connection reset by peer]
lerc has joined #linux-rockchip
premoboss has quit [Quit: Sto andando via]