From: Carsten Schoenert <c.schoenert@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] Load Address and EntryPoint for Kernel
Date: Sun, 28 Oct 2012 17:20:37 +0100 [thread overview]
Message-ID: <508D5B55.1070401@googlemail.com> (raw)
Hello,
I have successful created up my own config of buildroot to build a basic
filesystem for an ARM Target. Buildroot does everything without any
errors. To start with a low barrier I just selected support for U-Boot,
the kernel and a simple standard filesystem.
Now I have tried to start the builded kernel via U-Boot that's already
on the target. The tftpload works correct an I started the kernel.
> HDx> tftpboot 192.168.136.4:ubi/uImage
> TFTP from server 192.168.136.4; our IP address is 192.168.136.10
> Filename 'ubi/uImage'.
> Load address: 0xe000000
> Loading: #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #################################################################
> #####################
> done
> T Bytes transferred = 2101868 (20126c hex)
> HDx> bootm 0xe000000
> ## Booting kernel from Legacy Image at 0e000000 ...
> Image Name: Linux-2.6.34.13-nevis
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 2101804 Bytes = 2 MB
> Load Address: 00008000
> Entry Point: 00008000
> Verifying Checksum ... OK
> Loading Kernel Image ... OK
> OK
>
> Starting kernel ...
>
But more is not to see. The original kernel from the manufacture looks
like this.
> ## Booting kernel from Legacy Image at f0080000 ...
> Image Name: Coolstream HDx Kernel
> Image Type: ARM Linux Kernel Image (uncompressed)
> Data Size: 2116856 Bytes = 2 MB
> Load Address: 00048000
> Entry Point: 00048000
> Verifying Checksum ... OK
As I can see the Load Address and the Entry Point is a little bit, but
significant :) different.
I have search the point there I can change this while mkimage is called
to generate the uImage but haven't found the correct point for this.
Can someone give me a hint?
Thx
Carsten
next reply other threads:[~2012-10-28 16:20 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-28 16:20 Carsten Schoenert [this message]
2012-10-28 16:43 ` [Buildroot] Load Address and EntryPoint for Kernel Thomas Petazzoni
2012-10-28 17:16 ` Carsten Schoenert
2012-10-28 20:21 ` Thomas Petazzoni
2012-11-16 20:36 ` Carsten Schoenert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=508D5B55.1070401@googlemail.com \
--to=c.schoenert@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox