From: Jacob Chan Date: Tue, 1 Jul 2003 18:02:09 +0800 Subject: [U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot In-Reply-To: <010c01c33fb4$706890b0$fe00a8c0@esd11> Message-ID: <000001c33fb7$d91939e0$a865a8c0@ThinkPadX31> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de I am using diff-2.4.18-rmk7-pxa3 kernel. Could you tell me the complete command about mkimage that you type I am type mkimage -A arm -O linux -T kernel -C none -a 0xa0200000 -e 0xc0004000 -n zImage -d zImage bootm ---------------------------------------msg begin------------------------------------------------------------- Image Name: zImage Created: Wed Jul 2 01:44:06 2003 Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 656752 Bytes = 641.36 kB = 0.63 MB Load Address: 0xa0200000 Entry Point: 0xc0004000 -----------------------------------------msg end------------------------------------------------------------- Is that correct?? Then I using bootm 0xa0200000 atfer I loadb The system is also crash... ----------------------------------------msg begin------------------------------------------------------------ $ loadb 0xa0200000 ## Ready for binary (kermit) download to 0xA0200000 at 115200 bps... ## Total Size = 0x000a05b0 = 656816 Bytes ## Start Addr = 0xA0200000 $ bootm 0xa0200000 ## Booting image at a0200000 ... Image Name: zImage Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 656752 Bytes = 641.4 kB Load Address: a0200000 Entry Point: c0004000 Verifying Checksum ... OK XIP Kernel Image ... OK Starting kernel ... prefetch abort pc : [] lr : [] sp : a2f9fdf0 ip : 00000001 fp : 00000002 r10: a301c254 r9 : 0bb1c300 r8 : a2f9ffc4 r7 : a301c254 r6 : a0200040 r5 : 00000000 r4 : a0200040 r3 : c0004000 r2 : 00000001 r1 : 00000059 r0 : 00000000 Flags: nZCv IRQs off FIQs off Mode SVC_32 Resetting CPU ... reseting ... ---------------------------------msg end---------------------------------------------- By the way, Could you tell me what kind of target board that you used? Your reply and support will be highly appreciated. Thank you for your time and attention Jacob Chan Jacob_chan at so-net.net.tw -----Original Message----- From: Zhao Hongda [mailto:zhaohd at vis.cs.tsinghua.edu.cn] Sent: Tuesday, July 01, 2003 5:38 PM To: Jacob Chan Subject: Re: [U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot the U-boot have mkimage in tools/ directory, I'm using 2.4.19-rmk7-pxa2 kernel, it can work fine with armboot, but always crash in u-boot, could you tell me which rmk and pxa patch you applied to 2.4.18 kernel? if you can have a workable u-boot Image, please let me know. Best regards. Hongda Zhao ----- Original Message ----- From: "Jacob Chan" To: "'Zhao Hongda'" Sent: Tuesday, July 01, 2003 5:30 PM Subject: RE: [U-Boot-Users] How can I save zImage & fsimage.tar into Flash memory then boot > I am using Linux Kernel 2.4.18 with xscale pxa patch > By the way, Could you tell me where to download mkimage tool > Your reply and support will be highly appreciated. > > Thank you for your time and attention > > Jacob Chan > Jacob_chan at so-net.net.tw > > -----Original Message----- > From: u-boot-users-admin at lists.sourceforge.net > [mailto:u-boot-users-admin at lists.sourceforge.net] On Behalf Of Zhao > Hongda > Sent: Tuesday, July 01, 2003 5:00 PM > To: u-boot-users at lists.sourceforge.net > Subject: Re: [U-Boot-Users] How can I save zImage & fsimage.tar into > Flash memory then boot > > Could you tell me which kernel version is used? > I'm try to use mkimage to create a flash-image that can be used by > bootm, > but until now I'm failed. > Hongda Zhao > ----- Original Message ----- > From: "Jacob Chan" > To: "u-boot" > Sent: Tuesday, July 01, 2003 4:26 PM > Subject: [U-Boot-Users] How can I save zImage & fsimage.tar into Flash > memory then boot > > > > Dear all, > > I am using the Intel DBPXA255 Lubbock board. > > After I download the u-boot.bin via JTAG that using BDI2000. > > It can boot but the Ethernet device(SMSC LAN91C96) is not work. So I > > using serial download(Kermit mode) zImage to the address 0xa0200000. > > loadb 0xa0200000 <-- using HyperTerminal Kermit mode to download > > After that I can using go 0xa0200000 to boot linux kernel, but how can > I > > save it to Flash? > > I try cp 0xa0200000 0x00080000 0x000a0578 > > After that I reboot the target board and how can I boot the linux > > kernel? > > I use bootm 0x00080000, but it's not work. > > Finally, I wan to save u-boot.bin, zImage and filesystem.tar into > Flash > > then boot. > > What should I need to do? Your reply and support will be highly > > appreciated. > > > > Thank you for your time and attention > > > > Jacob Chan > > Jacob_chan at so-net.net.tw > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > U-Boot-Users mailing list > > U-Boot-Users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/u-boot-users > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > U-Boot-Users mailing list > U-Boot-Users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/u-boot-users > >