building root file system and kernel for LS1021a

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

building root file system and kernel for LS1021a

255 Views
jagrati_chaudhary
Contributor I

i am new to laysacpe ls1021a and NXP LLDP and i wants to build minimal root file system for ls1021s and trying to extract the kernel sources out of the SDK for ease of development.i already setup the environment and built a toolchain using "bitbake meta-toolchain" i wants to use this toolchain to build extracted kernel source for ls1021a out of sdk but i don't have any idea how to build  minimal root file system and extract the kernel sources?

 

0 Kudos
2 Replies

183 Views
jagrati_chaudhary
Contributor I

hii 
thanks for your reply i am able to build kernel after getting sources it builds zImage but i i need building uImage and it gives the below error.

********@administrator-Latitude-3510:~/NXP_LLDP/yocto_sdk_kernel/linux$ make -j8 uImage
CALL scripts/checksyscalls.sh
MODPOST vmlinux.symvers
Kernel: arch/arm/boot/Image is ready
Kernel: arch/arm/boot/zImage is ready
multiple (or no) load addresses:
This is incompatible with uImages
Specify LOADADDR on the commandline to build an uImage
make[1]: *** [arch/arm/boot/Makefile:84: arch/arm/boot/uImage] Error 1
make: *** [arch/arm/Makefile:297: uImage] Error 2
 

0 Kudos

233 Views
Oswalag
NXP TechSupport
NXP TechSupport

Hello,

Please follow chapter 6.3 Getting the Layerscape LDP kernel source code in the LLDPUG

0 Kudos