public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: jfaslist <jfaslist@yahoo.fr>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] mpc8260 serial console works under uboot, but not under linux
Date: Tue, 14 Mar 2006 16:28:29 +0100	[thread overview]
Message-ID: <4416E11D.6060807@yahoo.fr> (raw)

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

             reply	other threads:[~2006-03-14 15:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14 15:28 jfaslist [this message]
2006-03-14 15:54 ` [U-Boot-Users] mpc8260 serial console works under uboot, but not under linux Stephan Linz
2006-03-14 16:24   ` jfaslist
2006-03-14 17:50 ` 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=4416E11D.6060807@yahoo.fr \
    --to=jfaslist@yahoo.fr \
    --cc=u-boot@lists.denx.de \
    /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