From: 朱成 <zhucheng@longcheer.net>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] boot kernel from flash
Date: Sun, 08 May 2005 17:21:05 +0800 [thread overview]
Message-ID: <1115544065.6600.7.camel@localhost> (raw)
In-Reply-To: <200505061233.j46CXY8R016074@ismp.csie.ncku.edu.tw>
hi,all
i want to boot kernel from flash on TI p2-sample rev.6 board.
i used:
1. erase 0x100000 0x3fffff (0x100000--0x3fffff is flash room for kernel)
2. loadb 0x100000
3. using kermit to transfer uImage from ttyS0
4. using "iminfo 0x100000", and i found "Bad Magic Number"
5. setenv bootcmd bootm 0x100000
6. boot, but i found
"## Booting image at 00100000 ...
Bad Magic Number"
i used this uImage file to boot kernel from memory, so kernel image is
right! and i tried to use "tftp 0x100000" to download image to flash,and
the result is identical.
and i did more testing:
1. tftp 0x10000000 (0x10000000 is ram address)
2. erase 0x100000 0x3fffff
3. cp.b 0x10000000 0x100000 $(filesize)
4. bootm 0x100000
the kernel boot successed! but if i rebooted, and "bootm 0x100000", the kernel stoped when mounted nfsroot fs.
the boot information was:
..............................
<6>Freeing initrd memory: 4096K
Freeing initrd memory: 4096K
<5>Looking up port of RPC 100003/2 on 172.16.6.79
Looking up port of RPC 100003/2 on 172.16.6.79
(172.16.6.79 is nfsroot server)
so, what's wrong with it?
thank you!
next prev parent reply other threads:[~2005-05-08 9:21 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-06 8:37 [U-Boot-Users] how to enable autoboot feature in u-boot Wayne Lee
2005-05-06 9:42 ` Wolfgang Denk
2005-05-06 12:29 ` Wayne Lee
2005-05-06 12:39 ` Wolfgang Denk
2005-05-08 9:21 ` 朱成 [this message]
2005-05-08 10:12 ` [U-Boot-Users] boot kernel from flash Wolfgang Denk
2005-05-08 10:26 ` 朱成
2005-05-08 14:05 ` Wolfgang Denk
2005-05-09 7:11 ` 朱成
2005-05-09 7:24 ` Wolfgang Denk
2005-05-09 7:55 ` 朱成
2005-05-09 8:17 ` Wolfgang Denk
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=1115544065.6600.7.camel@localhost \
--to=zhucheng@longcheer.net \
--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 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.