From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <01a301bfc629$393f1ee0$dc52df8d@oslo> From: "SangTae Ha" To: "Rodney Davies" , Cc: References: <1072F1A27E99D3119747005004B9A38041580D@MAIL> Subject: Re: How to load kernel on RPX Lite Board ? Date: Thu, 25 May 2000 18:11:34 +0900 MIME-Version: 1.0 Content-Type: text/plain; charset="ks_c_5601-1987" Sender: owner-linuxppc-embedded@lists.linuxppc.org List-Id: Thank you so much. I used zsrec utility to build S-Record image. Wonderful. It works! screen shot is as follows, ================================================================ loaded at: 00200000 0020B1F4RAM : <8DDF522D> : 8DDF52DC* relocated to: 00100000 0010B1F4firmware chksum O On-board I/ board data at: 001001C4 001001E0): OK relocated to: 00200100 0020011C Program FLASH : To: "'???'" Sent: Thursday, May 25, 2000 3:32 PM Subject: RE: How to load kernel on RPX Lite Board ? > > > I want to load my kernel image into this board. To download > > kernel image, The flash utility given by company needs > > S-Record format. Actually, I do know about S-Record Format, > > But I don't know how to make it. I used Montavista-2.2.13 > > kernel and patched it. To build the kernel, I typed "make > > zImage" and I got two files named "./vmlinux" and > > "./arch/ppc/mbxboot/zImage" in the kernel directory. > > After that, > > #>powerpc-linux-objcopy -O srec vmlinux vmlinux.srec > > > > vmlinux.srec is created, "S-Record format" > > > > you can use that, or use the /opt/hardhat/devkit/ppc/8xx/bin/zsrec program: > './zsrec vmlinux > vmlinux.srec' > > > To download via ethernet, I installed tftpserver on my PC, > > and working good. > > > > RPX Load menu: press 123456789T key : : 7 > > Load using tftp via Ethernet > > Enter server IP address <8DDF52DC> : > > So, the IP address of your tftp server is 141.223.82.220? Because that is > the IP address you've specified above in HEX. You can change this through > the "C Configure EEPROM" option. This IP must be your tftp server's IP > address (in HEX). > > To convert an IP to hex: eg: > 192.168.0.89 converted is - > > 192 = C0 > 168 = A8 > 0 = 00 > 89 = 59 > > Hence, C0A80059 == 192.168.0.89 > > (See below on my output example from my RPXLite board...) > > > Enter server filename : > > Enter address offset : <00000000 hex> : > > ---- > > > > > > C0000390 [does not exist] > > C00003A0 [does not exist] > > C00003B0 [does not exist] > > C00003C0 [does not exist] > > C00003D0 [does not exist] > > load_tftp(): ** E_RPX_DST_NOT_EXIST > > 3072 data bytes, 62 S-records, 6 tftp blocks, 0 repeated blocks > > > > Could you tell me about how to download the kernel and root > > file system onto my board. Maybe, Something wrong in my procedure. > > I already read the instruction at > > ftp://ftp.ppc.kernel.org/pub/linuxppc/embedded/getting_started.rpx > > But I couldn't. > > > > I really thank you, in advance. > > Here's a snapshot of my MPC850/RPXLite board when downloading via tftp - > (You should see something similar): > > RPX Load menu: press 123456789T key : : 7 > Load using tftp via Ethernet > Enter server IP address : > Enter server filename : myzah > Enter address offset : <00000000 hex> : > Starting tftp download: > inetARP(): OK > .1.2.4.8.16.32.64.128.256.512.1024.2048.4096 > load_tftp(): OK > 388970 data bytes, 4924 S-records, 760 tftp blocks, 0 repeated blocks > > Once you have successfully loaded your kernel into RAM, ensure that the > start address is set to 0x0200000 (from Load Menu L, use '8 200000'). > > Then to start the execution, type '9 YES' <-- uppercase YES. > > Hope this helps.... let me know how you go.. :-) > > Cheers, > Rod > > ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/