From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.197]) by ozlabs.org (Postfix) with ESMTP id 5122D67A64 for ; Sat, 23 Apr 2005 00:03:46 +1000 (EST) Received: by wproxy.gmail.com with SMTP id 57so898647wri for ; Fri, 22 Apr 2005 07:03:45 -0700 (PDT) Message-ID: <528646bc050422070366d2851f@mail.gmail.com> Date: Fri, 22 Apr 2005 08:03:44 -0600 From: Grant Likely To: Kishore Devireddy In-Reply-To: <2cf2641f0504201800556805d2@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 References: <2cf2641f0504201800556805d2@mail.gmail.com> Cc: linuxppc-embedded@ozlabs.org Subject: Re: MPC8245 custom board, Linux 2.4 kernel hangs after uncompressing Reply-To: Grant Likely List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 4/20/05, Kishore Devireddy wrote: > Hi >=20 > I am trying to run Embedded linux (ELDK) (2.4 kerenl) on a custom powerpc= board, > which is similar to Artis A3000 board. This board has > mpc8245(XPC8245LZY266B), natsemi 83815 ethernet, 4MB intel e28f320 > flash, 16MB winbond w986432DH-6 SDRAM. So I configured and compiled > U-boot for A3000 borad. U-boot worked on my board also. Next I > compiled ELDK 3.0 for Sandpoint 8245 board and copied to flash. But > linux hangs after uncompressing >=20 > U-Boot 1.1.2 (Apr 14 2005 - 00:02:29) >=20 > CPU: MPC8245 Revision 1.2 at 249.999 MHz: 16 kB I-Cache 16 kB D-Cache > Board: A3000 Local Bus at 99.999 MHz > I2C: ready > DRAM: 16 MB > FLASH: Get flash bank 0 @ 0xffc00000 > Manuf. ID @ 0xff800000: 0x00000089 > Device ID @ 0xff800001: 0x00000016 > ## Flash bank 0 at 0xffc00000 sizes: 0x00400000 > protect monitor fff00000 @ 40000 > protect environtment fffc0000 @ 20000 > ## Final Flash bank sizes: 00400000 > 4 MB > 00 13 100b 0020 0200 ff > In: serial > Out: serial > Err: serial > Net: natsemi: EEPROM contents: > ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff ffff > dp83815#0 > Warning: dp83815#0 MAC addresses don't match: > Address in SROM is FF:FF:FF:FF:FF:FF > Address in environment is 00:40:05:B0:F1:BA >=20 > A3000> tftpboot 400000 uImage.eldk > Using dp83815#0 device > TFTP from server 192.168.1.124; our IP address is 192.168.1.54 > Filename 'uImage.eldk'. > Load address: 0x400000 > Loading: ################################################################= # > ################################################################# > ################### > done > Bytes transferred =3D 757926 (b90a6 hex) > A3000> bootm > ## Booting image at 00400000 ... > Image Name: Linux-2.4.25 > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 757862 Bytes =3D 740.1 kB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK >=20 > nothing happens after this until I reboot the board. I read u-boot FAQ > and configured bd_info structure same for both u-boot and Linux. I > found that CFG_IMMR is not applicable to MPC8245. I also used > clocks_in_mhz variable also before loading Linux. I am stuck here. > Could you please let me know what should I do next? Quick check; Try 'printenv' in u-boot. Make sure that 'bootargs' specifies a console. ie "bootargs=3Dconsole=3DttyS0,115200 root=3D/dev/nfs ..." g.