From: "Jack Liu" <Jack_liu@usish.com>
To: "linuxppc-embedded@lists.linuxppc.org"
<linuxppc-embedded@lists.linuxppc.org>,
"m.venkatraj@exgate.tek.com" <m.venkatraj@exgate.tek.com>
Subject: Re: problems with NFS root for ADS860
Date: Thu, 11 Mar 2004 19:43:15 +0800 [thread overview]
Message-ID: <200403111144.i2BBiOM4015518@ms.usish.com> (raw)
Dear all
Currently I am porting linux to a new MPC8241 board. I am using
Motorola sandpoint porting code as a reference. So I modified
ppc/platforms/Sandpoint*.* file to adapt to the new board. I just
replace these four files(I am using 2.4.21 ppc kernel).
Also, I am using MPC8241's UART.So I also changed setup_io_mappings
function to
"io_block_mapping(0xfc000000, 0xfc000000, 0x02000000, _PAGE_IO); "
Do I still need to make other changes? In my understanding , porting
linux in ppc platform is register the following files.
ppc_md.setup_arch = sandpoint_setup_arch;
ppc_md.show_cpuinfo = sandpoint_show_cpuinfo;
ppc_md.irq_cannonicalize = sandpoint_irq_cannonicalize;
ppc_md.init_IRQ = sandpoint_init_IRQ;
ppc_md.get_irq = sandpoint_get_irq;
ppc_md.init = sandpoint_init2;
ppc_md.restart = sandpoint_restart;
ppc_md.power_off = sandpoint_power_off;
ppc_md.halt = sandpoint_halt;
ppc_md.time_init = NULL;
ppc_md.set_rtc_time = NULL;
ppc_md.get_rtc_time = NULL;
ppc_md.calibrate_decr = todc_calibrate_decr;
ppc_md.find_end_of_memory = sandpoint_find_end_of_memory;
ppc_md.setup_io_mappings = sandpoint_map_io;
Am I correct on this? Please help me on this.
Best regards
Jack
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next reply other threads:[~2004-03-11 11:43 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-11 11:43 Jack Liu [this message]
2004-03-11 15:57 ` problems with NFS root for ADS860 Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2004-03-11 8:20 m.venkatraj
2004-03-11 6:03 m.venkatraj
2004-03-11 8:10 ` 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=200403111144.i2BBiOM4015518@ms.usish.com \
--to=jack_liu@usish.com \
--cc=linuxppc-embedded@lists.linuxppc.org \
--cc=m.venkatraj@exgate.tek.com \
/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;
as well as URLs for NNTP newsgroup(s).