Jump to content

Recommended Posts

Posted

Hello

 

I built a new kernel for my rock64, how do I install it so I can boot on it  I am trying to go from 4.4.174 to 4.14.106

 

 

Posted

cant build on arm, need x86 to build. my only x86 is a mac.  

 

so back to square 1. I have a kernel build, but it is not booting from it   

 

 

Posted

the more level a system has the more complicated

 

MacOS-->virtualbox-->x86 18.-04 ubuntu-->build tools-arm

 

 

Posted

now that I have the virtual box with amd86(x86) ubuntu 18.04, how do I get it to build with a newer version of Linux, going for 4.14.x ?

 

Posted

Hello.

 

I am wanting to upgrade my Armbian ubuntu on the Rock64 to a newer kernel. 

 

I have set up a Virtual machine with ubuntu 18.04 x86 on my mac, and it is working fine  I have been following the directions on the https://docs.armbian.com/Developer-Guide_Build-Preparation/ 

 

 

when run the build it is pulling in the old 4.4.x kernel, i want to upgrade to the 4.14 kernel (the reason why I picked 4.14 it has better performance.) 

 

how can I upgrade the kernel to a later version ? 

Posted
  On 3/19/2019 at 2:34 PM, munocat said:

www.kermel.org. Just downloaded, ran the menu config and made it. 

Expand  


This is ARM, support for this platform is not fully mainlined which means it's not this simple.

Now you need a team of kernel hackers to port specifics support from 4.4 + refactor certain sections from scratch (generally speaking). Then, perhaps by the end of the year, you might be able to have generally usable kernel 4.14.y for this board. By that time, K5.X, which people are working with, will be viable modern option. Doing something helps.

 

Use what we give you as on option (4.4.y and 4.20.y/5.0).

Posted
  On 3/19/2019 at 7:27 PM, Igor said:


This is ARM, support for this platform is not fully mainlined which means it's not this simple.

Now you need a team of kernel hackers to port specifics support from 4.4 + refactor certain sections from scratch (generally speaking). Then, perhaps by the end of the year, you might be able to have generally usable kernel 4.14.y for this board. By that time, K5.X, which people are working with, will be viable modern option. Doing something helps.

 

Use what we give you as on option (4.4.y and 4.20.y/5.0).

Expand  

there is no 4.20.y for Rock64, or I don't see it.

 

i get impression that there is not much interest for the rockchip 3288. Should I just give up on trying to update ? 

Posted
  On 3/19/2019 at 8:00 PM, martinayotte said:

You're right ! DEV branch has been switched to 5.0.y last Friday ...

If you really wish to get 4.20.y, you will need to revert few things from this commit (mainly the branch name) :

https://github.com/armbian/build/commit/53bcf26db6fbadfb2b10dfd166ae5a04bc834c4c

Expand  

I must sound annoying, that is because I don’t have much experience.  When I run the ./compile.sh EXPERT=YES it still grabs the 4.4, if I look at non supported tree the ROCK64 is not there. 

Posted
  On 3/19/2019 at 8:07 PM, martinayotte said:

The "yes" should be in lower case ...

Then, choose "DEV" branch, you will get a 5.0.y build, which is even better than 4.20.y ...

Expand  

I don’t see a dev banch ? What am I doing wrong. 

Posted
  On 3/19/2019 at 3:52 PM, munocat said:

this is starting to get too complicated. kind of sad that arm based os needs 86 to build it.

Expand  

Actually, you can natively build an Aarch64 Rockchip kernel very easily.

 

Instructions to do so can be found here:  http://wiki.loverpi.com/faq:sbc:libre-aml-s805x-howto-native-compile-kernel

 

You'll have to modify a couple of steps slightly if you are building for Rockchip SoC's but basically it's a 10 minutes process to get started on compilation, and depending on your hardware your kernel will compile in 15 to 45 minutes. Another 5 minutes to spend on installing and voilà! You can run your own self-compiled mainline Linux kernel on your SBC, if it manages to boot properly but note that this is not guaranteed on Rockchip SoC's.

Posted
  On 3/19/2019 at 9:35 PM, AndrewDB said:

Actually, you can natively build an Aarch64 Rockchip kernel very easily.

 

Instructions to do so can be found here:  http://wiki.loverpi.com/faq:sbc:libre-aml-s805x-howto-native-compile-kernel

 

You'll have to modify a couple of steps slightly if you are building for Rockchip SoC's but basically it's a 10 minutes process to get started on compilation, and depending on your hardware your kernel will compile in 15 to 45 minutes. Another 5 minutes to spend on installing and voilà! You can run your own self-compiled mainline Linux kernel on your SBC, if it manages to boot properly but note that this is not guaranteed on Rockchip SoC's.

Expand  

Funny, I did that, but after I installed it, it would not boot into it, just the old version 

Posted
  On 3/19/2019 at 8:00 PM, martinayotte said:

You're right ! DEV branch has been switched to 5.0.y last Friday ...

If you really wish to get 4.20.y, you will need to revert few things from this commit (mainly the branch name) :

https://github.com/armbian/build/commit/53bcf26db6fbadfb2b10dfd166ae5a04bc834c4c

Expand  

 

 

So if I understand correctly, the next kernel release for rock64 will be 5.0xxx!  That's great.   I see that Ayufan on github is still working on 4.4 . Personally I'd be happy with just a stable build....  Thanks for all the hard work. 

 

Would like to think that there is still plenty interest in the the 3328....

Posted

UPDATE.

 

I have version 5.0 running, but it appears no USB because I was not able to log in, I must of missed a driver. any ideas. 

 

 

Posted
  On 3/20/2019 at 5:55 AM, munocat said:

UPDATE.

 

I have version 5.0 running, but it appears no USB because I was not able to log in, I must of missed a driver. any ideas. 

Expand  

 

Great! The more modern kernel, less things will work is normal. Drivers and board hardware config (DTB) once developed for initial kernel (4.4.y in this case) has to be ported to modern kernel (not just enabling in menu config). I don't know how much has been already done so it is hard to say ... in general don't expect anything better than 4.4.y except perhaps some very specific functions.

Posted
  On 3/20/2019 at 12:34 AM, munocat said:

Funny, I did that, but after I installed it, it would not boot into it, just the old version 

Expand  

You have to install your newly compiled mainline kernel. Instructions to do so for S9XXX SoC's can be found here:

 http://wiki.loverpi.com/faq:sbc:libre-aml-s805x-install-newly-compiled-kernel

 

You'll have to change a few things for your Rockchip SBC but the basic steps are identical: put the kernel, modules, dtb and ramdisk in the right place and point u-boot to your new kernel, ramdisk and correct dtb.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines