I have tried to upgrade the kernel 3.13 to 4.2,but i am getting errors in the upgrade of the kernel.I have given the error i am getting in the kernel update.How to update?
support@support-G31M-ES2L:~/Downloads/linux-4.2$ make
scripts/kconfig/conf --silentoldconfig Kconfig
*** Configuration file ".config" not found!
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
/bin/sh: 1: cannot create scripts/basic/modules.order: Permission denied
make[1]: *** [scripts/basic/modules.order] Error 2
make: *** [scripts_basic] Error 2
support@support-G31M-ES2L:~/Downloads/linux-4.2$ sudo bash
root@support-G31M-ES2L:~/Downloads/linux-4.2# make
scripts/kconfig/conf --silentoldconfig Kconfig
*** Configuration file ".config" not found!
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target include/config/auto.conf', needed by
include/config/kernel.release'. Stop.
root@support-G31M-ES2L:~/Downloads/linux-4.2# ke
kerneloops kerneloops-submit keytool
root@support-G31M-ES2L:~/Downloads/linux-4.2# kerneloops
kerneloops kerneloops-submit
root@support-G31M-ES2L:~/Downloads/linux-4.2# kerneloops
root@support-G31M-ES2L:~/Downloads/linux-4.2# make distclean
CLEAN arch/x86/tools
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated arch/x86/include/generated
root@support-G31M-ES2L:~/Downloads/linux-4.2# build/linux/kernel
bash: build/linux/kernel: No such file or directory
root@support-G31M-ES2L:~/Downloads/linux-4.2# ls
arch Documentation init lib README sound
block drivers ipc MAINTAINERS REPORTING-BUGS tools
COPYING firmware Kbuild Makefile samples usr
CREDITS fs Kconfig mm scripts virt
crypto include kernel net security
root@support-G31M-ES2L:~/Downloads/linux-4.2# cd kernel/
root@support-G31M-ES2L:~/Downloads/linux-4.2/kernel# ls
acct.c events locking softirq.c
async.c exec_domain.c Makefile stacktrace.c
audit.c exit.c module.c stop_machine.c
auditfilter.c extable.c module-internal.h sys.c
audit.h fork.c module_signing.c sysctl_binary.c
auditsc.c freezer.c notifier.c sysctl.c
audit_tree.c futex.c nsproxy.c sys_ni.c
audit_watch.c futex_compat.c padata.c system_certificates.S
backtracetest.c gcov panic.c system_keyring.c
bounds.c groups.c params.c taskstats.c
bpf hung_task.c pid.c task_work.c
capability.c irq pid_namespace.c test_kprobes.c
cgroup.c irq_work.c power time
cgroup_freezer.c jump_label.c printk torture.c
compat.c kallsyms.c profile.c trace
configs kcmp.c ptrace.c tracepoint.c
configs.c Kconfig.freezer range.c tsacct.c
context_tracking.c Kconfig.hz rcu uid16.c
cpu.c Kconfig.locks reboot.c up.c
cpu_pm.c Kconfig.preempt relay.c user.c
cpuset.c kexec.c resource.c user_namespace.c
crash_dump.c kmod.c sched user-return-notifier.c
cred.c kprobes.c seccomp.c utsname.c
debug ksysfs.c signal.c utsname_sysctl.c
delayacct.c kthread.c smpboot.c watchdog.c
dma.c latencytop.c smpboot.h workqueue.c
elfcore.c livepatch smp.c workqueue_internal.h
root@support-G31M-ES2L:~/Downloads/linux-4.2/kernel# cd ..
root@support-G31M-ES2L:~/Downloads/linux-4.2# petalinux-build -c kernel -x distclean
petalinux-build: command not found