UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
489 Views
Registered: ‎05-28-2014

compilation of kernel

Jump to solution

Hello,

 

I see that kernel is build as part of yocto petalinux.

But is there a way to download it and compile it standalone ?

 

Thanks,

ranran

0 Kudos
1 Solution

Accepted Solutions
Voyager
Voyager
542 Views
Registered: ‎09-14-2016

Re: compilation of kernel

Jump to solution

Hi @ransh,

 

Of course, you can build the Kernel with getting sources from Xilinx repo:

 

~$ git clone git://github.com/Xilinx/linux-xlnx.git

~$ cd linux-xlnx

~$ make ARCH=arm xilinx_zynq_defconfig

~$ make ARCH=arm UIMAGE_LOADADDR=0x8000 uImage

 

After you can do what you what with uImage :)

 

EDIT: After call make ARCH=arm xilinx_zynq_defconfig you can run make menuconfig in order to set/unset kernel part/driver :P

 

Cheers,

Trigger

View solution in original post

1 Reply
Voyager
Voyager
543 Views
Registered: ‎09-14-2016

Re: compilation of kernel

Jump to solution

Hi @ransh,

 

Of course, you can build the Kernel with getting sources from Xilinx repo:

 

~$ git clone git://github.com/Xilinx/linux-xlnx.git

~$ cd linux-xlnx

~$ make ARCH=arm xilinx_zynq_defconfig

~$ make ARCH=arm UIMAGE_LOADADDR=0x8000 uImage

 

After you can do what you what with uImage :)

 

EDIT: After call make ARCH=arm xilinx_zynq_defconfig you can run make menuconfig in order to set/unset kernel part/driver :P

 

Cheers,

Trigger

View solution in original post