* Need help booting linux on my 8265 board
@ 2004-04-18 16:33 liuming
2004-04-18 21:11 ` Wolfgang Denk
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: liuming @ 2004-04-18 16:33 UTC (permalink / raw)
To: linuxppc-embedded; +Cc: liuming
Hi,
I have problem booting linux on my 8265 board. Both u-boot and ppcboot
run well, but when I boot the linux kernel, the board be dead. At this
time the registers look like to be some default values(use powertap
pro). I try u-boot1.1, ppcboot1.1.5; linux kernel 2.4.4 2.4.18 2.4.20.
(1)about compile kernel
vim Makefile, arch=ppc CROSS_COMPILE=ppc_82xx-
vim arch/ppc/platforms/ads826x.h, IMAP_ADDR=0x04700000 BCSR=0x04500000
then make mrproper/ make ads826x_config/ make oldconfig/ make dep/ make
pImage (bd info struct is quite same between uboot and linux)
Is there anything I had ignored?
(2)let's see!(I add some "printf" to display values,
"console=ttyS0,9600" is added)
=> bootm ffa00000 ffc00000
## Booting image at ffa00000 ...
Image Name: Linux-2.4.20-pre7ncsd1
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 634729 Bytes = 619 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
## Current stack ends at 0x03F7FC48 => set upper limit to 0x00800000
## cmdline at 0x007FFF00 ... 0x007FFF23
memstart = 0x00000000
memsize = 0x04000000
flashstart = 0xFF800000
flashsize = 0x00800000
flashoffset = 0x00000000
sramstart = 0x00000000
sramsize = 0x00000000
immr_base = 0x04700000
bootflags = 0x00000001
vco = 266.666 MHz
sccfreq = 66.666 MHz
brgfreq = 16.666 MHz
intfreq = 166.666 MHz
cpmfreq = 133.333 MHz
busfreq = 33.333 MHz
ethaddr = 00:10:EC:00:30:8C
IP addr = 8.6.0.1
baudrate = 9600 bps
## Loading RAMDisk Image at ffc00000 ...
Image Name: Simple Ramdisk-Image
Image Type: PowerPC Linux RAMDisk Image (gzip compressed)
Data Size: 567988 Bytes = 554 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
## initrd at 0xFFC00040 ... 0xFFC8AAF3 (len=567988=0x8AAB4)
Loading Ramdisk to 03ef4000, end 03f7eab4 ... OK
## Transferring control to Linux (at address 00000000) ...
then the board is dead and the LED(FCC link) coruscate . (I have
modified clock calculations for this board so SCC can output message.
it's the reason?) any ideas? thanks a lot!
--
liu
lm_mailbox@sohu.com
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Need help booting linux on my 8265 board 2004-04-18 16:33 Need help booting linux on my 8265 board liuming @ 2004-04-18 21:11 ` Wolfgang Denk 2004-04-19 7:59 ` request: PPC embedded board for DivX/MPEG-4 Matevz Langus 2004-04-23 11:37 ` U-Boot Problem (MPC8260) Ashish R Dhawane 2 siblings, 0 replies; 7+ messages in thread From: Wolfgang Denk @ 2004-04-18 21:11 UTC (permalink / raw) To: liuming; +Cc: linuxppc-embedded, liuming In message <000f01c42562$d3713150$a81e1aac@liuming> you wrote: > > I have problem booting linux on my 8265 board. Both u-boot and ppcboot > run well, but when I boot the linux kernel, the board be dead. At this > time the registers look like to be some default values(use powertap > pro). I try u-boot1.1, ppcboot1.1.5; linux kernel 2.4.4 2.4.18 2.4.20. I have already answered your questions on the U-Boot users mailing list. Why didn't you read my message? > (1)about compile kernel > vim Makefile, arch=ppc CROSS_COMPILE=ppc_82xx- > vim arch/ppc/platforms/ads826x.h, IMAP_ADDR=0x04700000 BCSR=0x04500000 Your memory map is broken; this cannot work. Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de I will also, for an appropriate fee, certify that your keyboard is object-oriented, and that the bits on your hard disk are template- compatible. - Jeffrey S. Haemer in <411akr$3ga@cygnus.com> ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* request: PPC embedded board for DivX/MPEG-4 2004-04-18 16:33 Need help booting linux on my 8265 board liuming 2004-04-18 21:11 ` Wolfgang Denk @ 2004-04-19 7:59 ` Matevz Langus 2004-04-23 11:37 ` U-Boot Problem (MPC8260) Ashish R Dhawane 2 siblings, 0 replies; 7+ messages in thread From: Matevz Langus @ 2004-04-19 7:59 UTC (permalink / raw) To: linuxppc-embedded Hi, Does anybody here have/produce an embedded PowerPC board which is capable (enough CPU power) of decoding DivX/MPEG-4 movies and has possibility to connect display or at least graphics chip. thanks, Matevz Langus p.s. Please reply directly to me in order not to disturb the list too much. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* U-Boot Problem (MPC8260) 2004-04-18 16:33 Need help booting linux on my 8265 board liuming 2004-04-18 21:11 ` Wolfgang Denk 2004-04-19 7:59 ` request: PPC embedded board for DivX/MPEG-4 Matevz Langus @ 2004-04-23 11:37 ` Ashish R Dhawane 2004-04-23 12:07 ` Wolfgang Denk 2 siblings, 1 reply; 7+ messages in thread From: Ashish R Dhawane @ 2004-04-23 11:37 UTC (permalink / raw) To: linuxppc-embedded Hi, I am newbie to the Linux Porting. I am having a mpc8260 board(custom made). I am trying to configure the cogent mpc8260 board. For a testing purpose, I am running U-Boot in the SDRAM area, but not from the flash. I am getting the following error messages. Any help will appreciated. OutPut which is captured on minicom is as follows: -------------------------------------------------- U-Boot Version 2.0.0p U-Boot V 2.0.0lw MPC8260 Reset Status: MPC8260 Clock Configuration - Bus-to-Core Mult 3x, VCO Div 2, 60x Bus Freq 33-100, Core Freq 100-300 - dfbrg 0, corecnf 0x08, busdf 4, cpmdf 1, plldf 1, pllmf 4 - vco_out 333333330, scc_clk 83333332, brg_clk 83333332 - cpu_clk 199999998, cpm_clk 166666665, bus_clk 66666666 CPU: MPC8260 (Rev 14, Mask B.1 4K25A) at 199.999 MHz Board: Cogent CMA111 motherboard with a CMA282 CPU Module DIPSW: |off|off|off|off|off|off|off|off| DRAM: 32 MB Top of RAM usable for U-Boot at: 02000000 Reserving 128k for U-Boot at: 01fdf000 Reserving 144k for malloc() at: 01fbb000 Reserving 76 Bytes for Board Info at: 01fbafb4 Reserving 68 Bytes for Global Data at: 01fbaf70 Stack Pointer at: 01fbaf58 New Stack Pointer is: 01fbaf58 Now running in RAM - U-Boot at: 01fdf000 FLASH: *** failed *** ### ERROR ### Please RESET the board ### regards, -Ashish ########################################################################### Ashish R Dhawane Senior Research Engineer W-CDMA Group (3G RAN) Contacts: --------- Tel(O) :+91-80-2282168 (Direct Line) Tel(O/Lab) :+91-80-2263399 X 329 Fax(O) :+91-80-2282168 Mobile :98455 36814 E-Mail(s) :ashishdhawane@yahoo.com, ashish@cyberspace.org Surface Address (O): Surface Address (R): -------------------- -------------------- Centre for Development of Telematics, #50, Ground Floor, 12th Cross, 71/1, Sneha Complex, Ayyappa Block, Manorayan Palya, Millers Road, Sultan Palya Main Road, Bangalore-560052, RT Nagar Post,Bangalore-560032, Karnataka, India. Karnataka, India. ########################################################################### ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: U-Boot Problem (MPC8260) 2004-04-23 11:37 ` U-Boot Problem (MPC8260) Ashish R Dhawane @ 2004-04-23 12:07 ` Wolfgang Denk 0 siblings, 0 replies; 7+ messages in thread From: Wolfgang Denk @ 2004-04-23 12:07 UTC (permalink / raw) To: Ashish R Dhawane; +Cc: linuxppc-embedded In message <Pine.OSF.4.21.0404211715180.5736-100000@ws9.cdotb.ernet.in> you wrote: > > I am newbie to the Linux Porting. I am having a mpc8260 board(custom > made). I am trying to configure the cogent mpc8260 board. For a testing If you have custom hardware, you cannot use the configuration for the Cogent board. Each board needs special adaptions and configuration. > purpose, I am running U-Boot in the SDRAM area, but not from the Why do you do this? If you have read the U-Boot mailing list archives (You DID read he archives before posting, didn't you???) you should have learned that this is not as trivial as it may seem. It's defintely not an option if you don't know EXACTLY what you are doing. > flash. I am getting the following error messages. Any help will > appreciated. ... > FLASH: *** failed *** > ### ERROR ### Please RESET the board ### Well, you ran into an error, obviously because the flash memory on your hardware is different from the configuration on the Cogent board. And bythe way: please post such questions to the U-Boot-users mailing list instead; they are off topic here. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de Don't tell me how hard you work. Tell me how much you get done. - James J. Ling ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <5060AED8FF61F740BBB2CB0E82C192E2A03071@srv-mailrnd.azisa.co.za>]
* Re: Need help booting linux on my 8265 board [not found] <5060AED8FF61F740BBB2CB0E82C192E2A03071@srv-mailrnd.azisa.co.za> @ 2004-04-19 9:12 ` sunrays 2004-04-19 10:21 ` Wolfgang Denk 0 siblings, 1 reply; 7+ messages in thread From: sunrays @ 2004-04-19 9:12 UTC (permalink / raw) To: Flavio Pereira; +Cc: linuxppc-embedded Need help booting linux on my 8265 boardHello,Mr Pereira thanks for your reply. I'm sure IMMR base is the same for both U-boot and Linux. Uboot mapped at 0xfff00000, but I want to know why linux mapped at 0xC0000000 , the uboot say "## Transferring control to Linux (at address 00000000) ...", so KERNELLOAD should be 0xc0000000 or 0x00000000? and if I use linux kernel 2.4.20, CONFIG_CLOCKS_IN_MHZ should be 0 or 1? Best Regards Ming Liu ----- Original Message ----- From: Flavio Pereira To: liuming ; linuxppc-embedded@lists.linuxppc.org Cc: liuming Sent: Monday, April 19, 2004 3:24 PM Subject: RE: Need help booting linux on my 8265 board Hi Make sure that your IMMR base is the same for both U-boot and Linux. Ensure that they are both mapped above the virtual meomry base (0xC0000000) used by Linux, else you will have problems once ypou start to execute code. Regards Flavio Pereira From: owner-linuxppc-embedded@lists.linuxppc.org on behalf of liuming Sent: Sun 2004/04/18 06:33 PM To: linuxppc-embedded@lists.linuxppc.org Cc: liuming Subject: Need help booting linux on my 8265 board Hi, I have problem booting linux on my 8265 board. Both u-boot and ppcboot run well, but when I boot the linux kernel, the board be dead. At this time the registers look like to be some default values(use powertap pro). I try u-boot1.1, ppcboot1.1.5; linux kernel 2.4.4 2.4.18 2.4.20. (1)about compile kernel vim Makefile, arch=ppc CROSS_COMPILE=ppc_82xx- vim arch/ppc/platforms/ads826x.h, IMAP_ADDR=0x04700000 BCSR=0x04500000 then make mrproper/ make ads826x_config/ make oldconfig/ make dep/ make pImage (bd info struct is quite same between uboot and linux) Is there anything I had ignored? (2)let's see!(I add some "printf" to display values, "console=ttyS0,9600" is added) => bootm ffa00000 ffc00000 ## Booting image at ffa00000 ... Image Name: Linux-2.4.20-pre7ncsd1 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 634729 Bytes = 619 kB = 0 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Current stack ends at 0x03F7FC48 => set upper limit to 0x00800000 ## cmdline at 0x007FFF00 ... 0x007FFF23 memstart = 0x00000000 memsize = 0x04000000 flashstart = 0xFF800000 flashsize = 0x00800000 flashoffset = 0x00000000 sramstart = 0x00000000 sramsize = 0x00000000 immr_base = 0x04700000 bootflags = 0x00000001 vco = 266.666 MHz sccfreq = 66.666 MHz brgfreq = 16.666 MHz intfreq = 166.666 MHz cpmfreq = 133.333 MHz busfreq = 33.333 MHz ethaddr = 00:10:EC:00:30:8C IP addr = 8.6.0.1 baudrate = 9600 bps ## Loading RAMDisk Image at ffc00000 ... Image Name: Simple Ramdisk-Image Image Type: PowerPC Linux RAMDisk Image (gzip compressed) Data Size: 567988 Bytes = 554 kB = 0 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## initrd at 0xFFC00040 ... 0xFFC8AAF3 (len=567988=0x8AAB4) Loading Ramdisk to 03ef4000, end 03f7eab4 ... OK ## Transferring control to Linux (at address 00000000) ... then the board is dead and the LED(FCC link) coruscate . (I have modified clock calculations for this board so SCC can output message. it's the reason?) any ideas? thanks a lot! -- liu lm_mailbox@sohu.com ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Need help booting linux on my 8265 board 2004-04-19 9:12 ` Need help booting linux on my 8265 board sunrays @ 2004-04-19 10:21 ` Wolfgang Denk 0 siblings, 0 replies; 7+ messages in thread From: Wolfgang Denk @ 2004-04-19 10:21 UTC (permalink / raw) To: sunrays; +Cc: Flavio Pereira, linuxppc-embedded In message <001401c425ee$796087b0$061410ac@liu> you wrote: > > Need help booting linux on my 8265 boardHello,Mr Pereira Can you please STOP posting nearly the same quesrtions to the linuxppc-embedded and u-boot-users mailing lists? Please decide for one list, or, if you really, really feel the message must go to both lists, then send it as Cc:, but never two separate and slightly different messages. > I'm sure IMMR base is the same for both U-boot and Linux. Uboot mapped at 0xfff00000, but I want to know why linux mapped at 0xC0000000 , the uboot say "## Transferring control to Linux (at address 00000000) ...", so KERNELLOAD should be 0xc000000 > 0 or 0x00000000? Welcome to the world of virtual addresses. See http://www.denx.de/twiki/bin/view/PPCEmbedded/Kernel#Section_10.2. > and if I use linux kernel 2.4.20, CONFIG_CLOCKS_IN_MHZ should be 0 or 1? It should be not defined at all. Best regards, Wolfgang Denk -- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de There are two ways to write error-free programs. Only the third one works. ** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-04-23 12:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-18 16:33 Need help booting linux on my 8265 board liuming
2004-04-18 21:11 ` Wolfgang Denk
2004-04-19 7:59 ` request: PPC embedded board for DivX/MPEG-4 Matevz Langus
2004-04-23 11:37 ` U-Boot Problem (MPC8260) Ashish R Dhawane
2004-04-23 12:07 ` Wolfgang Denk
[not found] <5060AED8FF61F740BBB2CB0E82C192E2A03071@srv-mailrnd.azisa.co.za>
2004-04-19 9:12 ` Need help booting linux on my 8265 board sunrays
2004-04-19 10:21 ` Wolfgang Denk
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).