From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Sudler Date: Tue, 30 Nov 2004 12:47:04 +0100 Subject: [U-Boot-Users] u-boot for pxa255 In-Reply-To: References: <20041130092807.0D5C5C1430@atlas.denx.de> Message-ID: <41AC5DB8.7050608@gmx.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Sharad P. Katti wrote: > Hi, > > Since the board doesnot have the nework to test from the net, I tried > that to check whether I'm doing the right thing or not. > > The board has 512K of flash, onto which I'm writing the U-boot (its of > 64K), and in the remaining space, I'm writing the kernel (which is > around 350K, and its only for the testing). > > Now to boot from the image, I'm planning to do the following, > > 1> Copy the Image from the flash to the RAM, > 2> and then give the control to the image location in RAM (using the > bootm command). the bootm command expects a image file created from a binary with tools/mkimage. e.g.: mkimage -n 'Kernel Ramdisk Image' -A ppc -O linux -T kernel -C none -e 00400000 -a 00400000 -d zImage.bin zImage.img If your kernel image in the flash memory was created with the mkimage tool just start it with: => bootm 0xYourflashaddress or test it with: => imi 0xYourflashaddress the should produce a output similar to: ## Checking Image at 04000000 ... Image Name: Kernel Ramdisk Image Created: 2004-11-30 9:54:16 UTC Image Type: PowerPC Linux Kernel Image (uncompressed) Data Size: 3010560 Bytes = 2.9 MB Load Address: 00400000 Entry Point: 00400000 Verifying Checksum ... OK > > Please confirm me whether I'm doing the right thing. that should to the trick... Cheers Simon