From: Jim Fridlund <jim@code4fun.us>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] questions booting Linux on a mpc8247
Date: Wed, 10 May 2006 20:56:54 -0700 [thread overview]
Message-ID: <4462B606.6040808@code4fun.us> (raw)
In-Reply-To: <20060511034600.62949.qmail@web15901.mail.cnb.yahoo.com>
Hi Sam,
Ultimately, I would like to load a multi-boot image
kernel + ram disk in a single file off the compact
flash (IDE) drive. At the moment, I just got the IDE
driver working. I had some problems with endian issue
as my IDE interface is basically implemented as a CPLD.
Even though I'm a big endian system, the IDE registers
are little endian so I had to add special CFG arguments
to get the IDE to recognize the drive. I'm also having
problems trying to access the DOS file system. This is
something I can pursue once I get linux bootstrapped
though.
When I started with u-boot, I looked at the various
boards in the list. I used IDS8247 as a reference since
it was the same PPC8247. I realize I probably don't
have the boot parameters set up correctly (I don't
have NVRAM environment), but I figure I should still
be allowed to boot.
Here is my hardcoded info in the board specific header:
#define CONFIG_EXTRA_ENV_SETTINGS \
"netdev=eth0\0" \
"nfsargs=setenv bootargs root=/dev/nfs rw " \
"nfsroot=${serverip}:${rootpath}\0" \
"ramargs=setenv bootargs root=/dev/ram rw " \
"console=ttyS0,57600\0" \
"addip=setenv bootargs ${bootargs} " \
"ip=172.16.86.177:172.16.86.50:172.16.86.254:255.255.255.0"
\
":jim-r100:eth0:off panic=1\0" \
"flash_nfs=run nfsargs addip;" \
"bootm ${kernel_addr}\0" \
"flash_self=run ramargs addip;" \
"bootm ${kernel_addr} ${ramdisk_addr}\0" \
"net_nfs=tftp 200000 ${bootfile};run nfsargs addip;bootm\0" \
"rootpath=/opt/eldk/ppc_82xx\0" \
"bootfile=jim/uImage\0" \
"kernel_addr=ff800000\0" \
"ramdisk_addr=ffa00000\0" \
"ethaddr=00:01:47:01:02:03\0" \
"ipaddr=172.16.86.177\0" \
"serverip=172.16.86.50\0" \
"verify=y\0" \
""
#define CONFIG_BOOTCOMMAND "run flash_self"
Thanks.
--
Jim
Sam Song wrote:
> Jim Fridlund <jim@code4fun.us> wrote:
> [snip]
>> I can load the image via TFTP, but it hangs when I
>> try to run bootm. I searched in Google, but I
>
> If you can boot kernel via NFS, the problem must be
> your bootargs settings in u-boot. Try to type
> the cmdline to here for check.
>
> Regards,
>
> Sam
next prev parent reply other threads:[~2006-05-11 3:56 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-11 3:17 [U-Boot-Users] questions booting Linux on a mpc8247 Jim Fridlund
2006-05-11 3:46 ` Sam Song
2006-05-11 3:56 ` Jim Fridlund [this message]
2006-05-11 4:54 ` Sam Song
2006-05-11 5:47 ` Jim Fridlund
2006-05-11 5:54 ` Jim Fridlund
2006-05-11 7:30 ` Wolfgang Denk
2006-05-11 8:01 ` Sam Song
2006-05-11 7:29 ` Wolfgang Denk
2006-05-11 7:26 ` Wolfgang Denk
2006-05-11 8:04 ` Sam Song
2006-05-11 7:24 ` 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=4462B606.6040808@code4fun.us \
--to=jim@code4fun.us \
--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