From mboxrd@z Thu Jan 1 00:00:00 1970 From: Grant Likely Date: Wed, 20 Apr 2005 13:54:55 -0600 Subject: [U-Boot-Users] Cannot boot from a uImage on the lite5200 In-Reply-To: <20050419193353.D89EDC1784@atlas.denx.de> References: <528646bc0504190945638591fc@mail.gmail.com> <20050419193353.D89EDC1784@atlas.denx.de> Message-ID: <528646bc0504201254fade191@mail.gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 4/19/05, Wolfgang Denk wrote: > In message <528646bc0504190945638591fc@mail.gmail.com> you wrote: > > I'm having problems getting u-boot to boot linux from a uImage on my > > lite5200 eval board. I can load a zImage into ram (@ 0x200000) and > > use the go command to boot it with no problems. When I load a uImage > > This means that your kernel is probably ok in general... > > > I get the bootup debug banners from the linux kernel and then the > > board resets before the "Linux version ..." banner (and then my > > ...and this means that most preobably it is not ported and/or > configured for booting with U-Boot. What specifically needs to be done to configure a kernel for use with u-boot? From the documentation I could only find references to using mkimage to prepare an image (which I've done). The kernel I was using contains the mpc5200 patches from Sylvain, so it should be "u-boot ready". I've since moved up to stock linux kernel 2.6.12rc2 which includes the lastest patches for the mpc5200, but it made no difference. I could not find anything in the kernel config file related to u-boot for this port. The file Documentation/powerpc/mpc52xx.txt in the kernel tree states that a 'make uImage' should build an image bootable by u-boot. (The Makefile simply calls mkimage for the uImage target) I've also updated to CVS u-boot, but again no change (but solved my FEC problems nicely) BTW, I do get some output from the kernel. The pre-boot debug messages (from "id mach(): done" to "arch: exit") from arch/ppc/kernel/setup.c get displayed just like with the zImage. So the jump into inital setup code seems to be working. Thanks in advance, g.