linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* help needed for porting linux-2.5 to a ppc custom board
@ 2002-09-14  7:34 Atm account
  2002-09-16 18:16 ` Ricardo Scop
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Atm account @ 2002-09-14  7:34 UTC (permalink / raw)
  To: linuxppc-embedded


Hello,

  We want to run linux on a custom board having ppc603ev.
We have identified the following tasks :-
processor-specific tuning,
board related changes (io_block_mapping, pic etc.)
serial driver for uart device.
pci,timer initialisations.

  There is 4mb flash on the board (for storing vmlinux.gz)
No hard disk.

 Since, there is only 1 uart port, how can we use it for
console-login and dumping printk messages?

 How should we start identifying changes to be done in
kernel source (mostly arch/ppc)? Is there any resource
available on internet for porting linux to a powerpc/any
board ?


Regards & Thanks
Piyush

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread
* Problem in booting PPC with kernel 2.5.44
@ 2002-11-14  6:06 Atm account
  0 siblings, 0 replies; 10+ messages in thread
From: Atm account @ 2002-11-14  6:06 UTC (permalink / raw)
  To: linuxppc-embedded


Hello All,
  We are porting Linux 2.5.44 for our custom board which has
 603e processor..
    We are using the arch/ppc/boot/simple bootloader with minor
modifications. At the end of boot-code relocation to 8 Mb, the code jumps
to the relocated code and thereafter
does the decompression (decompress_kernel)of the vmlinux image to physical
address 0 and jumps to the 0th location (3 nops followed by code). It is
from here that early_init is called.
    Now the problem is ... the kernel has been linked at 3GB and a call in
kernel/head.S which says ---
       bl early_init
translates to sth like =>    bl 0Xc000xxxx
   I dont have the MMU on at this point nor any dual mapping being done
thru the BATs. So how is the above code supposed to execute ?????
Our board precisely hangs after this jump.

Also, later in the same file (kernel/head.S) i have a piece of code which
goes like ...

        bl      mmu_off
__after_mmu_off:
        bl      clear_bats
        bl      flush_tlbs

        bl      initial_bats

after doing a mmu_off (disabling translations) we again do branches which
actually translate to the 3Gb addresses. How r they supposed to execute ?

  Can somebody pls explain ..

thanx in advance :)

Nishant


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-11-15 16:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-09-14  7:34 help needed for porting linux-2.5 to a ppc custom board Atm account
2002-09-16 18:16 ` Ricardo Scop
2002-09-16 18:21 ` Ricardo Scop
2002-11-13  9:52 ` Problem in booting PPC with kernel 2.5.44 Atm account
2002-11-14 13:36   ` Benjamin Herrenschmidt
2002-11-14 15:11   ` Tom Rini
2002-11-15 11:24     ` Atm account
2002-11-15 16:17       ` Tom Rini
2002-11-15 16:26       ` Tom Rini
  -- strict thread matches above, loose matches on Subject: below --
2002-11-14  6:06 Atm account

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).