Whence kernel_entry in 2.6?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am trying to port 2.6 to my embedded system.  My bootloader needs to
know where in the kernel it should jump.

With 2.4, I was jumping to the address where <kernel_entry> was
defined.  With 2.4, that was always listed in vmlinux.S as

  8010046c <kernel_entry>:

But with 2.6, it is in a completely different place:

  8020f000 <kernel_entry>:

The location in the 2.6 kernel is way down near the end of the
binary.  What is up with that?

I tried telling my boot loader to jump to location 8020f000, but my
kernel appears to go bye-bye.  Now, that could very well be that I
have a bug in my kernel, but it could also be that I'm jumping to the
wrong location.

In 2.6, should I be jumping to kernel_entry?

Thanks,
Dave


--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux