AnsweredAssumed Answered

I changed the linux kernel start address but i have problem with vmlinux

Question asked by delauratfrançois on Jan 7, 2020
Latest reply on Jan 13, 2020 by Radhika Somaiya

Hello,

I work with imx7, I changed the linux kernel start address. I work with linux 4.9.11. I changed files:

- arch/arm/Kconfig I deleted line select AUTO_ZRELADDR in config ARCH_MULTIPLATFORM

- arch/arm/Makefile I added  line MACHINE  := arch/arm/mach-imx 

- creat file arch/arm/march-imx/Makefile.boot with zreladdr-y += 0x81008000
                                                                                params_phys-y := 0x81000100
                                                                                initrd_phys-y := 0x81800000

If I build the linux-imx without clean it is ok. BUt if I clean I error with vmlinux. 

/work_disk/fsl-arm-yocto-bsp/build_sabreimx7/tmp/work-shared/imx7dsabreca/kernel-source/Makefile:969: recipe for target 'vmlinux' failed
| make[2]: *** [vmlinux] Error 1
| Makefile:150: recipe for target 'sub-make' failed
| make[1]: *** [sub-make] Error 2
| Makefile:24: recipe for target '__sub-make' failed
| make: *** [__sub-make] Error 2
| WARNING: exit code 1 from a shell command. 

Can you help me?

Best regard,

Francois.

Outcomes