From: Wolfgang Denk Date: Tue, 14 Mar 2006 18:50:32 +0100 Subject: [U-Boot-Users] mpc8260 serial console works under uboot, but not under linux In-Reply-To: Your message of "Tue, 14 Mar 2006 16:28:29 +0100." <4416E11D.6060807@yahoo.fr> Message-ID: <20060314175032.0DF9C3539FF@atlas.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de In message <4416E11D.6060807@yahoo.fr> you wrote: > > 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 This is off topic here. Please post to a Linux related list. But I can tell you so much: just chosing a random board configuration and hoping it would work is always a pretty reliable way for a big disappointment. You actually have to *port* Linux to your hardware. > 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. Why are you surprised? > 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. You misunderstand. The Linux bootstrap loader is never used with U-Boot. > Should we try to somehow add it to vmlinux (if this is possible)? Don't. > 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. Right. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "If you are afraid of loneliness, don't marry." - Chekhov