The details explained above is an overview, but its indeed a Big work with lots of care. spec.in file with new file names as show below Once all the patches listed in spec.in file has been applied successfully ,Please copy all new patches to /opt/freescale/pkgs/ and update the. spec file and applied over 5.0.0 kernel and take backup with new file name This means that kernel-2.6.33.7-MPC8309TWR-support.patch file had changes for kernel 2.6.33.7 which is equivalent to file kernel-5.0.0-MPC8309TWR-support.patch which had changes for kernel 5.0.0įollow the same things to each patch file provided in. patch file representation)Īfter successful porting of code we are like this => git diff -p > kernel-5.0.0-MPC8309TWR-support.patch (take the diff work to a file with. Which provides the changes you done for making the patch working properly over a very fresh code. ![]() >applying patch "patch -p1 "git log" gives all the information from current repository till first base release what all happened to that function.Ĥ:- once all the errors are cleared with patch command now you have a new patch ready this can be verified with "git diff" Pick up patches to apply in 5.0.0 kernel and resolve all the issues you face during patch apply as show below > git checkout v5.0.0(the kernel code i wanted to work on)ģ:- Now we are in 5.0.0 kernel release branch, So from the file kernel-2.6.33. This will clone source code from 2.6.x to up to date in linux folder (folder automatically created)Ģ:- git checkout to v5.0.0(use "git tag" command to list version string name) To Apply every change provided by freescale to linux-5.0.0 the procedure to follow isġ:- please clone kernel source from using gitĮxample : git clone git:///pub/scm/linux/kernel/git/torvalds/linux.git So the real work start here nothing but porting the code from linux-2.6.33.7 to linux-5.0.0 As freescale provided patches to linux kernel release 2.6.33.7(who is using still this kernel version today ? typical old people) Now when LTIB points to linux kernel 5.0.0 and triggers compilation process which indeed tries to patch all patches listed in the same spec file(but for sure this will definitely fail). In kernel-2.6.33. file(no need to change file name use same for time being) Suppose if you want to make LTIB to pickup 5.0.0 kernel release then(please make sure you already copied linux-5.0.0.tar.gz to /opt/freescale/pkg/) So source = linux-2.6.33.7.tar.gz (the default action) If we go through kernel-2.6.33. file we had a "source" field which indicates the tar file to pickup from /opt/freescale/pkgs location from root mount point. spec.in example kernel-2.6.33. and kernel-2.6. which are nothing but spec files used to apply all the patches provided by freescale or nxp. config files in general linux kernel compilation process Move to config folder which contains config files for supporting platforms named like linux-2.6.nfig or linux-2.6.33.nfig or similar kind, which are nothing but the linux kernel. ![]() Now i will provide a view or a understanding (But its all about your work with care else you will screw-up, but not critical)Īssume you had LTIB located in linux /root/ directory Then how can we upgrade ? OOPs we can do it still but needs a lot of efforts for those who are new to this environment NXP/freescale had number of processors for various kinds of applications, But NXP/freescale will maintain only few processors upstream code().Īs per my knowledge i had worked for MPC8321E/MPC8323E and MPC8309E processors, but currently NXP/freescale maintains there upstream code only for MPC8321E or MPC8323E, it mean if we clone any upstream code we have all the support for MPC8321E and MPC8323E.īut for those who working on MPC8309E there is no code maintenance because NXP/freescale cannot support all the chipsets in upstream and even is not interested to do so. ![]() Sudo dpkg -i linux-headers-4.9*.deb linux-image-4.9*.Above question as been asked by me few months before, But today i have overview or a solution for my question, So i would like to share my experience here for thus who wanted to know how to upgrade a linux kernel in case of LTIB(Please don't concentrate on my English much) Run the followingg commands to install Linux 5.0-rc7 on 32 Bit Systems: Just the way I like it.” Install Linux 5.0-rc7 32 Bit Systems Nothing particularly odd stands out, and everything is pretty small. Just under half drivers (gpu, networking, input, md, block, sound, …), with the rest being architecture fixes (arm64, arm, x86, kvm), networking and misc (filesystem etc). Announcing the release of Linux 5.0-rc7, Linus Torvalds writes: “A nice and calm week, with statistics looking normal. Install and Update Linux Kernel 5.0-rc7 on Ubuntu Linux Systems.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |