From: Marcin Juszkiewicz <marcin@juszkiewicz.com.pl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] remove duplicated code from linux.inc
Date: Fri, 31 Jul 2009 15:24:41 +0200 [thread overview]
Message-ID: <200907311524.44818.marcin@juszkiewicz.com.pl> (raw)
In-Reply-To: <6ec4247d0907310535h345a22a9sfe98c6cae8336aaf@mail.gmail.com>
Dnia piątek, 31 lipca 2009 o 14:35:19 Graham Gower napisał(a):
> And for those playing at home, the value to assign to UBOOT_ENTRYSYM
> for a given arch can be found by grepping
> linux/arch/${ARCH}/kernel/vmlinux.lds.S for 'ENTRY'.
So according to your post for ARM it will be 'stext':
15:10 hrw@home:linux-2.6.30$ grep ^ENTRY arch/arm/kernel/vmlinux.lds.S
ENTRY(stext)
For AT91SAM9263-EK we get:
15:10 hrw@home:linux-2.6.30$ arm-angstrom-linux-gnueabi-nm vmlinux|grep
stext
c0008000 T _stext
c0008000 T stext
But when I boot this device I have:
## Booting kernel from Legacy Image at 22200000 ...
Image Name: Angstrom/2.6.30/at91sam9263ek
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2074384 Bytes = 2 MB
Load Address: 20008000
Entry Point: 20008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
So entry point is different.
For NHK15 which runs kernel 2.6.20 I got "stext" same as Entry point
used by U-Boot:
15:12 hrw@home:linux-2.6.20$ arm-angstrom-linux-gnueabi-nm vmlinux|grep
stext
c0008000 T _stext
c02bcba0 t snstext
c0008000 T stext
## Booting image at 00100000 ...
Image Name: Linux-2.6.20
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1714260 Bytes = 1.6 MB
Load Address: 00008000
Entry Point: 00008000
OK
For BUG which runs 2.6.27.2 I got:
15:16 hrw@home:bug-linux-2.6.27.2$ arm-angstrom-linux-gnueabi-nm
vmlinux|grep stext
c0008000 T _stext
c0008000 T stext
When U-Boot says:
## Booting kernel from Legacy Image at 80800000 ...
Image Name: Linux-2.6.27.2
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1722736 Bytes = 1.6 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
I also have avr32 NGW100 but lack kernel tree for it to check values.
Can test will those devices boot with entry point set to 0x00080000
address.
Regards,
--
JID: hrw@jabber.org
Website: http://marcin.juszkiewicz.com.pl/
LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz
next prev parent reply other threads:[~2009-07-31 13:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-29 4:30 [PATCH] remove duplicated code from linux.inc Graham Gower
2009-07-29 7:34 ` Koen Kooi
2009-07-29 8:36 ` Marcin Juszkiewicz
2009-07-29 8:38 ` Graeme Gregory
2009-07-29 9:31 ` Marcin Juszkiewicz
2009-07-30 5:11 ` Graham Gower
2009-07-30 5:33 ` Tom Rini
2009-07-30 5:49 ` Graham Gower
2009-07-30 8:59 ` Graeme Gregory
2009-07-31 2:24 ` Graham Gower
2009-07-31 7:12 ` Graeme Gregory
2009-07-31 7:40 ` Graham Gower
2009-07-31 8:55 ` Graeme Gregory
2009-07-31 9:59 ` Koen Kooi
2009-07-31 11:33 ` Graeme Gregory
2009-07-31 12:35 ` Graham Gower
2009-07-31 13:24 ` Marcin Juszkiewicz [this message]
2009-08-01 9:45 ` Graham Gower
2009-08-03 6:54 ` Marcin Juszkiewicz
2009-07-31 17:45 ` Koen Kooi
2009-07-31 7:50 ` Andrea Adami
2009-07-31 9:03 ` Graham Gower
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=200907311524.44818.marcin@juszkiewicz.com.pl \
--to=marcin@juszkiewicz.com.pl \
--cc=openembedded-devel@lists.openembedded.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.