public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] mpc8260 serial console works under uboot, but not under linux
@ 2006-03-14 15:28 jfaslist
  2006-03-14 15:54 ` Stephan Linz
  2006-03-14 17:50 ` Wolfgang Denk
  0 siblings, 2 replies; 4+ messages in thread
From: jfaslist @ 2006-03-14 15:28 UTC (permalink / raw)
  To: u-boot

Hi,
We have ported u-boot on  a mpc8260 based design of ours.
We try to boot linux on it (built with TQM8260_defconfig), as a 
first step. But when we use the u-boot "bootm" command to boot 
linux from flash,  we get nothing displayed after the kernel is 
uncompressed and jumped into. I know there is a FAQ:
http://www.denx.de/wiki/view/DULG/LinuxHangsAfterUncompressingKernel
But I don't think it applies as using the BDI2000 we can trace 
the kernel running all the way until around the point where it 
starts the init process.
We were surprised to see that a "make uImage" would use the 
vmlinux.gz kernel (linked at 0xc000.0000) and not the 
zImage.elf(linked at 0x0040.0000), which includes the files in 
arch/ppc/boot/simple.
The serial console is initialized and handled in 
./arch/ppc/boot/simple/m8260_tty.c, and we suspect that since 
this is not included in vmlinux, that is the reason why we don't 
see any messages.
Should we try to somehow add it to vmlinux (if this is possible)?

I know this is not the list, but why is the linux make file is 
generating these two different files? My guess is that zImage is 
for systems with no u-boot bootloader.
Thanks a lot,
-jf simon



[bmc at Linux188 linux-2.6.15.1]$ make
   CHK     include/linux/version.h
   CHK     include/linux/compile.h
   CHK     usr/initramfs_list
   UIMAGE  arch/ppc/boot/images/uImage
Image Name:   Linux-2.6.15.1
Created:      Tue Mar 14 07:01:49 2006
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:    869873 Bytes = 849.49 kB = 0.83 MB
Load Address: 0x00000000
Entry Point:  0x00000000
   Image: arch/ppc/boot/images/uImage is ready
   AS      arch/ppc/boot/simple/head.o
   AS      arch/ppc/boot/simple/relocate.o
   CC      arch/ppc/boot/simple/misc-embedded.o
   CC      arch/ppc/boot/simple/embed_config.o
arch/ppc/boot/simple/embed_config.c:29: warning: 'bdinfo' defined 
but not used
arch/ppc/boot/simple/embed_config.c:415: warning: 'clk_8260' 
defined but not use
d
arch/ppc/boot/simple/embed_config.c:457: warning: 'clk_8280' 
defined but not use
d
   CC      arch/ppc/boot/simple/m8260_tty.o
ppc_6xx-objcopy -O elf32-powerpc \
         --add-section=.image=arch/ppc/boot/images/vmlinux.gz \
 
--set-section-flags=.image=contents,alloc,load,readonly,data \
         arch/ppc/boot/simple/dummy.o arch/ppc/boot/simple/image.o
ppc_6xx-ld -m elf32ppc -T 
/home/bmc/tools/eldk4.0/ppc_6xx/usr/src/linux-2.6.15.1
/arch/ppc/boot/ld.script -Ttext 0x00400000 -Bstatic -o 
arch/ppc/boot/simple/zvml
inux arch/ppc/boot/simple/head.o arch/ppc/boot/simple/relocate.o 
arch/ppc/boot/s
imple/misc-embedded.o arch/ppc/boot/simple/embed_config.o 
arch/ppc/boot/simple/m
8260_tty.o arch/ppc/boot/simple/image.o 
arch/ppc/boot/common/lib.a arch/ppc/boot
/lib/lib.a
ppc_6xx-objcopy -O elf32-powerpc arch/ppc/boot/simple/zvmlinux 
arch/ppc/boot/sim
ple/zvmlinux -R .comment -R .stab \
         -R .stabstr -R .ramdisk
cp -f arch/ppc/boot/simple/zvmlinux arch/ppc/boot/images/zImage.elf
rm -f arch/ppc/boot/simple/zvmlinux
   Building modules, stage 2.
   MODPOST
[bmc at Linux188 linux-2.6.15.1]$


	

	
		
___________________________________________________________________________ 
Nouveau : t?l?phonez moins cher avec Yahoo! Messenger ! D?couvez les tarifs exceptionnels pour appeler la France et l'international.
T?l?chargez sur http://fr.messenger.yahoo.com

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

end of thread, other threads:[~2006-03-14 17:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-14 15:28 [U-Boot-Users] mpc8260 serial console works under uboot, but not under linux jfaslist
2006-03-14 15:54 ` Stephan Linz
2006-03-14 16:24   ` jfaslist
2006-03-14 17:50 ` Wolfgang Denk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox