From: Jerry Van Baren <gerald.vanbaren@ge.com>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Linux kernel startup
Date: Mon, 07 Apr 2008 08:52:26 -0400 [thread overview]
Message-ID: <47FA190A.3030803@ge.com> (raw)
In-Reply-To: <957237.38070.qm@web94608.mail.in2.yahoo.com>
Tiju wrote:
> Hi Harald,
>
> The serial issues were solved. As u said, the problem was with the
> RTS/CTS. I disabled all the hardware control signals and some
> modifications with the relocation section in the start..S and it started
> working.
>
> Now the issue is with the kernel CRC32 check. I compiled a kernel with
> the smdk2440 architecture and I do the following.
>
> $ arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin
> $ gzip -9 linux.bin
> $ ../u-boot-1.3.2/tools/mkimage -A arm -O linux -T kernel -C gzip -a
> 0x30008000 -e 0x30008000 -n "Linux kernel" -d linux.bin.gz uImage.bin
>
> The size of vmlinux is around 25MB. When converted to linux.bin it is
> 3GB, when gziped it is around 4MB and when done an mkimage it remains
> almost the same.
This is indicating you have major link / memory map / coding issue(s).
vmlinux should be around 1MB, not 25MB! linux.bin should be around the
same size as vmlinux. Having linux.bin grow to be 3GB indicates it has
major holes in it that objdump is filling with "fill" values.
Loading a 3GB image (compressed to 4MB or not) is simply not going to work.
Use objdump to dump the section headers of the elf file (vmlinux) to see
what addresses are being used and sizes of the sections. Figure out why
it is producing pieces of code/data in widely varying address locations
and possibly large sections of "bad" stuff. Until you fix your link,
you aren't going to have any success loading it.
Good luck,
gvb
next prev parent reply other threads:[~2008-04-07 12:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-07 9:01 [U-Boot-Users] Linux kernel startup Tiju
2008-04-07 12:20 ` Harald Welte
2008-04-07 12:52 ` Jerry Van Baren [this message]
-- strict thread matches above, loose matches on Subject: below --
2008-04-07 15:39 Tiju
2008-04-07 13:30 Tiju
2008-04-07 5:46 Tiju
2008-04-06 9:03 Tiju
2008-04-06 12:03 ` Leon Woestenberg
2008-04-06 7:47 Tiju
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=47FA190A.3030803@ge.com \
--to=gerald.vanbaren@ge.com \
--cc=u-boot@lists.denx.de \
/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