user2269707
user2269707

Reputation:

what's the difference between 'load mmc' and 'load addr'?

Here's my u-boot

## Booting kernel from Legacy Image at 42000000 ...
   Image Name:   Linux-4.1.8
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3458160 Bytes = 3.3 MiB
   Load Address: 70008000
   Entry Point:  70008000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK

Starting kernel ...

And it stuck.

what's the difference between the 42000000 and the 70008000? Should the two be the same?

Upvotes: 0

Views: 1151

Answers (1)

sergico
sergico

Reputation: 2621

Booting kernel from Legacy Image at 42000000 ...
  • This first address is the one where u-boot will look for the (probably compressed) linux kernel image.

Load Address: 70008000

  • is the address where u-boot will copy the decompressed linux kernel image

Entry Point: 70008000 - linux kernel entry point address

  • Once the linux image has been decompressed and copied to the load address location, the entry point is the address where to start executing the kernel image, that in this case is exactly the start of the memory area where the kernel has been copied.

You can find further detail @ below link:

http://lists.denx.de/pipermail/u-boot/2007-March/020043.html

https://balau82.wordpress.com/2010/04/12/booting-linux-with-u-boot-on-qemu-arm/

Upvotes: 3

Related Questions