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*1024make 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] Memory BAT mapping: BAT2=256Mb, BAT3=256Mb, residual: 0MbMMU: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 2004setup_arch: enter IIII:[hack-printk] kgdb init
setup_arch: bootmem mpc10x:enter mpc10x:exit ITCS:[hack-printk] 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.