probolem about ppc755 linux kernel booting.(waiting online...)

From: kugle (kugle_at_ksft.com)
Date: 11/24/04


Date: Wed, 24 Nov 2004 12:57:26 +0800

my linux-kernel version: 2.4.26
host os: debian
cpu: ppc755
ram disk size:4M
ram size:512M
serial console: 115200
bootroom: build by myself with vxworks.
boadtype: i select bord type as sandpoint(board design by self.but like
sandpoint)

after bootroom load and decompress kernel at phy-address:0x0
jump to 0x00 to linux kernel
but after output Total pages info, it's dead.

modify history:
  arch/ppc/boot/simple/Makefile kernel-boot address linkto 0x1b00000
  arch/ppc/boot/simple/misc-simple.c decompress to 0x00 with size 0x1b00000

  arch/ppc/platform/sandpoint.c modify memory size query result from
32*1024*1024 as 512*1024*1024

make menuconfig:
  set kernel default param: root=/dev/ram rw console=ttyS0,115200

this fllowing info is output-info on console:
comment:[IIII]*** is info output by myself
        [hack-printk] is hook printk info on console by modify printk() in
kernel/printk.c

---------------------------------------------------------
No need to save program file to Flash!
Starting at 0x1b00000...

IIII:[KEY_POSITION] load_kernel ing... load_addr=[0x01B00000]
num_words=[0x000B4077] cksum=[0x00000000] bp=[0x04000000]
loaded at: 01B00000 01DD01DC
zimage at: 01B059B1 01BF573F
initrd at: 01BF6000 01DCCE3D
avail ram: 04000000 20000000

Linux/PPC load: root=/dev/ram rw console=ttyS0,115200
IIII:[KEY POSITION] Uncompressing kernnel zImage ... dest
address[0x00000000]done.
ITCS: uncompress data :
60000000 60000000 60000000 7C7F1B78
7C9E2378 7CBD2B78 7CDC3378 7CFB3B78
3B000000 481C7CA1 48003C01 48003B4D
48003BE1 48003C19 4800739D 3B000000
id mach(): done
MMU:enter
IIII:[hack-printk]
<6>Memory BAT mapping: BAT2=256Mb, BAT3=256Mb, residual: 0Mb

MMU:hw init
hash:enter
hash:find piece
IIII:[hack-printk]
Total memory = 512MB; using 1024kB for hash table (at c0300000)

hash:patch
hash:done
MMU:mapin
MMU:mapin_ram done
MMU:setio
MMU:exit
IIII:[KEY POSITION] Enter Real-Kernel World. Kernel is independent of
Platform. start_kernel ...

IIII:[hack-printk]
Linux version 2.4.26-1-386 (root@debian) (gcc version 3.4.1 (Debian
3.4.1-1)) #4 .. 11.. 24 11:32:07 CST 2004

setup_arch: enter
IIII:[hack-printk]
kgdb init

setup_arch: bootmem
mpc10x:enter
mpc10x:exit
ITCS:[hack-printk]
<6>Motorola SPS Sandpoint Test Platform

arch: exit
IIII:[hack-printk]
On node 0 totalpages: 131072

IIII:[hack-printk]
floant u poiin ksed H
$T0740:00000000;01:c01acb30;#37$T0740:00000000;01:c01acb30;#37

--------------------------------------------

if i press anykey in console. "$T0740:00000000;01:c01acb30;#37" will be
retype on console.



Relevant Pages

  • S.O.S about ppc linux-kernel(online waiint result...!!!!!)
    ... ram disk size:4M ... serial console: 115200 ... bootroom: ... after bootroom load and decompress kernel at phy-address:0x0 ...
    (comp.os.linux.powerpc)
  • Re: Newbie Setting up xserver
    ... Could be, but now that I know that low memory is causing the problem, I will ... The kernel gobbles up the rest of the physical memory huh. ... Actually my RAM is split into two ... >it could be that some of the processes related to setting the timezone ...
    (comp.os.linux.setup)
  • Re: PCMCIA: unable to map memory
    ... MB RAM. ... Linux conflicts here with the pcmcia-controller. ... - A patch for the kernel (2.2. ... BadRAM by Rick van Rein (and it's successor BadMEM ...
    (comp.os.linux.portable)
  • Re: [PATCH] reserve RAM below PHYSICAL_START
    ... The "reserved RAM" can be mapped by virtualization software with to ... You're right but the relocatable kernel only works if you relocate it ... only works up to address near 1G, we can't reserve more than 1G with ...
    (Linux-Kernel)
  • Re: [BUG] 2.6.26-rc1 lost half the RAM on UltraSPARC 5
    ... Top of RAM: 0x17f46000, Total RAM: 0xff40000 ... Memory hole size: 128MB ... Kernel: Using 1 locked TLB entries for main kernel image. ... Movable zone start PFN for each node ...
    (Linux-Kernel)