tag:blogger.com,1999:blog-6487105202596390783.post6002059796796697184..comments2023-05-22T10:39:14.072+02:00Comments on Hardware & Software Useful bits: Compiling Rockchip Kernel (for Linux on RK devices)Unknownnoreply@blogger.comBlogger51125tag:blogger.com,1999:blog-6487105202596390783.post-62864322673044810012014-10-07T17:59:10.418+02:002014-10-07T17:59:10.418+02:00Hi galland i enable boot fedora from usb,, but i w...Hi galland i enable boot fedora from usb,, but i want to enable a partition table in to a nand memory device, do you know how to example <br /><br />mtdblock9<br />mtdblock9p1<br />mtdblock9p2<br />mtdblock9p3 <br /><br />Thats what i need to enable boot fedora direclty in nand memory <br />Anonymoushttps://www.blogger.com/profile/03404439410846202586noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-89956555263570047492013-12-04T20:46:58.728+01:002013-12-04T20:46:58.728+01:00Hi,
Thanks for the advice for compiling the drive...Hi,<br /><br />Thanks for the advice for compiling the driver as a module. I did that and copied the resulting files into /lib/modules/ followed by "depmod -a".<br />Now when I plug the device in, it is recognized as "Afatech DVB-T 2" - it does not work thou.<br />In my dmesg log I have this error message:<br /><br />" [ 2546.299356] dvb_usb_af9015: probe of 2-1.3:1.0 failed with error -1 "<br /><br />Google search does not provide much information about this. All I have found, is that the problem may be with the missing firmware for the device, so I downloaded the firmware file (from http://palosaari.fi/linux/v4l-dvb/firmware/af9015/5.1.0.0/ ) and I put it into /lib/firmware/ but I still get same error.<br /><br />Any ideas? <br />Corvinhttps://www.blogger.com/profile/14399094425401115052noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-36949198552425113382013-12-01T22:48:13.090+01:002013-12-01T22:48:13.090+01:00Compile it as a module for the stick (you can do i...Compile it as a module for the stick (you can do it in your PC with the above instructions), and then just copy it into the stick at /lib/modules followed by insmod /lib/modules/....koGallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-5581507912837705262013-12-01T21:48:48.488+01:002013-12-01T21:48:48.488+01:00Hi Galland,
I am using your 3.0.36+ kernel and it...Hi Galland,<br /><br />I am using your 3.0.36+ kernel and it work flawlessly with my mini headless NAS setup booting from USB! Recently I dug out my old DVB-T usb stick. I would like to add the driver for that stick into my setup for tvheadend testing. I understand, that I will have to compile whole kernel adding module for my device and then flash it to the device. The point is I would like to compile it on the device itself as it is always on! Unfortunatelly following this tutorial it fails. Please, could you assist me with compiling the kernel on the device itself? (I am running debian from https://romanrm.net/a10/debian)<br />Corvinhttps://www.blogger.com/profile/14399094425401115052noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-7064599456825235952013-11-22T16:48:26.764+01:002013-11-22T16:48:26.764+01:00hi Galland, i have tried to compile kernet with na...hi Galland, i have tried to compile kernet with nand driver and point on internal nand but without success, may you do it? with this kernel we can use picuntu 4.5 on directly on nand of rk3066 device.<br />http://www.freaktab.com/showthread.php?8206-Picuntu-4-5-on-MK808-amp-MK808b-SUCCESS!!<br /><br />P.s. Thank you for sharing your work!<br />Anonymoushttps://www.blogger.com/profile/02675047856380399174noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-60817714166636946042013-11-08T16:01:41.255+01:002013-11-08T16:01:41.255+01:00That's normal, tablets have different componen...That's normal, tablets have different components than sticks/boxes, and enabling them is difficult.<br />I am myself reviewing tablets to get the best one to start the work of porting Linux to it. I'll post about it in the blog :)Gallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-12297384801787388932013-11-08T14:24:19.053+01:002013-11-08T14:24:19.053+01:00Hi Galland, I try it on my pad u30gt-h, but someth...Hi Galland, I try it on my pad u30gt-h, but something goes wrong. I have created recovery.img and flashed it into my pad, but after reboot nothing was saw on the screen. I did not put the sdcard into my pad, but I think something may come out on the screen. Is there any solutions? Sorry for my bad english!Anonymoushttps://www.blogger.com/profile/05607377781657705881noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-87144894450809205432013-10-06T20:04:54.077+02:002013-10-06T20:04:54.077+02:00if you're sure the sdcard is labelled: linuxr...if you're sure the sdcard is labelled: linuxroot<br />then the problem is that the rootfs doesn't match what kernel expects, but I can't help there, sorry.Gallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-49399656330559697392013-10-06T17:38:25.950+02:002013-10-06T17:38:25.950+02:00Hi Galland, Thanks so much for this awesome source...Hi Galland, Thanks so much for this awesome source and tutorials. I have an mk808b original device and i tried compiling it. Only thing is i am using a rootfs created from kali linux. The kernel seems to load up but i am getting stuck in busybox prompt (initramfs) <br /><br />Nothing loads up after that. I am new to kernels n stuff but is it because my SD card rootfs is based on kali?<br /><br />I know you are so busy and I would appreciate any wise words from you. Thanks againObserverhttps://www.blogger.com/profile/12902040797859045174noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-50574373734596194282013-09-22T18:57:11.770+02:002013-09-22T18:57:11.770+02:00Hi Galland,
I'm trying to compile https://git...Hi Galland,<br /><br />I'm trying to compile https://github.com/Galland/Linux3188 for RK3088 (MK808b) Joy-IT 2.0 'stickputer'. Getting the kernel to compile yet unable to boot it. Is the kernel generally compatible with 3066? I tried changing the platform type to RK30xx but compilation fails.<br />your 3.0.8 tree works.<br /><br />any advice is appreciated. <br />DanjaUnknownhttps://www.blogger.com/profile/10815942825201832173noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-17559177690398656002013-09-22T16:54:27.908+02:002013-09-22T16:54:27.908+02:00This comment has been removed by the author.Unknownhttps://www.blogger.com/profile/10815942825201832173noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-89016241931365708662013-09-21T12:39:06.748+02:002013-09-21T12:39:06.748+02:00Let's try to work this out, could you share yo...Let's try to work this out, could you share your root file system creation procedure, closest Fedora initramfs you have and any other relevant info? I may be able to help you :)<br />For example: use the contact form to the right of this page with your email and I'll email youGallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-65311015760841222842013-09-20T23:20:02.036+02:002013-09-20T23:20:02.036+02:00Okay No luck with the initramfs for Fedora I'v...Okay No luck with the initramfs for Fedora I've tried all the possible variants that I know but it just don't want to start. T-T T-T-Martin-https://www.blogger.com/profile/01960440187917467926noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-46908209938094999452013-09-20T04:39:42.223+02:002013-09-20T04:39:42.223+02:00Hi Galland, Almost there with Fedora. One thing th...Hi Galland, Almost there with Fedora. One thing that I noticed on the last step when you create the recovery.img is that you used -ramdisk initramfs/fakeramdisk.gz Why is that?.<br /><br />Also thanks a lot for your guide, i had to compile the kernel and make my own initramfs cause fedora using systemctl boots up differently than debian. -Martin-https://www.blogger.com/profile/01960440187917467926noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-44712341996627426992013-09-16T21:33:05.027+02:002013-09-16T21:33:05.027+02:001) You MIGHT have to change the contents of the in...1) You MIGHT have to change the contents of the initramfs.cpio (look into the txt files in github.com/Galland/rk30_linux_initramfs for more info on browsing/changing its contents), depending on what Fedora requires to init, though you may want to stick with current (Debian based) initramfs and try just next step<br /><br />2) instead of getting Picuntu (==Xubuntu) root file system into the uSD card labelled "linuxroot", just place a minimal Fedora ARM distro.<br /><br />And then let us know of a place to download it from :DGallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-22150102137197388222013-09-16T21:16:52.616+02:002013-09-16T21:16:52.616+02:00Hi awesome tutorial Galland, I was looking to use ...Hi awesome tutorial Galland, I was looking to use the fedora ARM spin and put it in my MK808. Do you have any tips? hehehe. <br /><br />I like Debian but I'm more of a fedora user :D-Martin-https://www.blogger.com/profile/01960440187917467926noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-61379522214888021042013-09-08T16:24:10.009+02:002013-09-08T16:24:10.009+02:00Hello.
I can boot the MK808 following the exact an...Hello.<br />I can boot the MK808 following the exact and only instructions in this blogpost.<br />But, I can NOT boot the MK808 using "Linux3188".<br /><br />I changed from "rk3x_kernel_3.0.36" to "Linux3188".<br />Is this correct?<br />Do I need to change the ".config"?<br />What I should I change to another?<br /><br />--------------------<br /><br />And, I back the "3.0.8+" kernel.<br />This kernel is very low "load average", but my problem was not resolved.<br />I want to try the new kernel you.Anonymoushttps://www.blogger.com/profile/04849267485989213373noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-63445754591324094902013-09-06T03:01:23.485+02:002013-09-06T03:01:23.485+02:00Yes, I can boot.Yes, I can boot.Anonymoushttps://www.blogger.com/profile/04849267485989213373noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-40883217511842651932013-09-06T00:06:00.963+02:002013-09-06T00:06:00.963+02:00Can you boot the MK808 following the exact and onl...Can you boot the MK808 following the exact and only instructions in this blogpost?Gallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-34740065234913416022013-09-05T20:32:07.982+02:002013-09-05T20:32:07.982+02:00Yes, I could compile kernel using your instruction...Yes, I could compile kernel using your instructions.<br />I have cross compile environment.Anonymoushttps://www.blogger.com/profile/04849267485989213373noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-29928745389195421672013-09-05T19:54:23.920+02:002013-09-05T19:54:23.920+02:00Can you boot the MK808 following the exact and onl...Can you boot the MK808 following the exact and only instructions in this blogpost?Gallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-40490757272043998392013-09-05T19:28:59.522+02:002013-09-05T19:28:59.522+02:00I failed...
I can NOT boot my MK808 using "Li...I failed...<br />I can NOT boot my MK808 using "Linux3188".<br /><br />I can you enable "Automatic process group scheduling" using "rk3x_kernel_3.0.36".<br />But, "load average" is very high...<br />Anonymoushttps://www.blogger.com/profile/04849267485989213373noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-6429296853478560782013-09-04T04:26:27.973+02:002013-09-04T04:26:27.973+02:00Thank you for your help.
I'm trying.
Changed f...Thank you for your help.<br />I'm trying.<br />Changed from "rk3x_kernel_3.0.36" to "Linux3188".<br /><br />Default setting is below, OK?<br />"Automatic process group scheduling" is NOT enable.<br />"CFQ Group Scheduling support" is NOT enable.<br />Device choices "3188".<br /><br />"make" command is successful.<br />And, I create "img", using "tools/mkbootimg" and "mkkrnlimg". I tryed both.<br />But, I was NOT able to both boot.<br /><br />Thank you for your kindness.Anonymoushttps://www.blogger.com/profile/04849267485989213373noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-82727626336071651582013-09-03T23:09:39.760+02:002013-09-03T23:09:39.760+02:00I am now using github.com/galland/Linux3188 and tu...I am now using github.com/galland/Linux3188 and turning on SCHED_AUTOGROUP works well. This kernel works for rk3066 and rk3188 devices, you should try it.<br /><br />The kernel size difference is likely due to using a different .config/toolchain/initramfsGallandhttps://www.blogger.com/profile/01766730761074080091noreply@blogger.comtag:blogger.com,1999:blog-6487105202596390783.post-38198184423390113952013-09-03T13:43:02.455+02:002013-09-03T13:43:02.455+02:00Hello, Galland
I could compile kernel, and create...Hello, Galland<br /><br />I could compile kernel, and create "recovery.img".<br /><br />Your "recovery.img" is 10MB, but my "recovery.img" is 14MB.<br />Do you know why? (I was able to both boot.)<br /><br />I tryed enable "Automatic process group scheduling" of "General Setup" in "make menuconfig".<br />But, new "recovery.img" was NOT able boot.<br /><br />Can you enable "Automatic process group scheduling"?<br />I have a problem. I saw "top" command.<br />This system's "load average" is high. (2.0 - 2.4 at minimum)<br />I hope we can solve by enabling this option.<br /><br />Sorry, my poor English.<br />Please, reply.Anonymoushttps://www.blogger.com/profile/04849267485989213373noreply@blogger.com