cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
494 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
547 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
548 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