* [U-Boot] running as stand alone @ 2011-07-13 4:42 smitha.vanga at wipro.com 2011-07-13 6:08 ` Wolfgang Denk 0 siblings, 1 reply; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-07-13 4:42 UTC (permalink / raw) To: u-boot Hi, My u-boot works when run from the BDI emulator. But when it is programmed in flash and powered on with out connecting the emulator It does not come up . I checked the HRCW its correct. Any suggestions? Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] running as stand alone 2011-07-13 4:42 [U-Boot] running as stand alone smitha.vanga at wipro.com @ 2011-07-13 6:08 ` Wolfgang Denk 2011-07-15 4:00 ` [U-Boot] Ping command smitha.vanga at wipro.com 2011-12-16 7:16 ` [U-Boot] U-boto CRC error smitha.vanga at wipro.com 0 siblings, 2 replies; 25+ messages in thread From: Wolfgang Denk @ 2011-07-13 6:08 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB22032437A4@HYD-MKD-MBX02.wipro.com> you wrote: > > My u-boot works when run from the BDI emulator. But when it is > programmed in flash and powered on with out connecting the emulator > > It does not come up . I checked the HRCW its correct. Any suggestions? Check which initializations are done in the BDI init sequence, and check which of them are needed and missing in U-Boot. > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. Please omit such crap when posting to public mailing lists. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You can love it, change it, or leave it. There is NO other option. But do not complain - it is your own choice... -- wd ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Ping command 2011-07-13 6:08 ` Wolfgang Denk @ 2011-07-15 4:00 ` smitha.vanga at wipro.com 2011-07-15 7:20 ` Wolfgang Denk 2011-12-16 7:16 ` [U-Boot] U-boto CRC error smitha.vanga at wipro.com 1 sibling, 1 reply; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-07-15 4:00 UTC (permalink / raw) To: u-boot Hi Wolfgang , On my target board with MPC8247 is interfaced with the BCM5221 chip. Iam using FCC 1 of the processor. Had defined below in my board config file. Configured the BCM5221 control register with 0X3100. Had set environment variables ipaddr, serverip, ethaddr ,netmask. When I execute the PING Command I get the following error >ping 172.16.52.20 Using unknown device ping failed; host 172.16.52.20 is not alive Could you please give me any pointers for this problem? #define CONFIG_ETHER_ON_FCC , #define CONFIG_ETHER_INDEX 1 #define CFG_PHY_ADDR #define CFG_CMXFCR_VALUE CMXFCR_TF1CS_CLK10 #define CFG_CMXFCR_MASK (CMXFCR_FC1|CMXFCR_TF1CS_MSK) /* Local Protect, Full duplex, Flowcontrol, RMII */ #define CFG_FCC_PSMR (FCC_PSMR_LPB|FCC_PSMR_FDE|\ FCC_PSMR_FCE|FCC_PSMR_RMII) /* bit-bang MII PHY management */ #define CONFIG_BITBANGMII #define MDIO_PORT 1 /* Port A */ #define CFG_MDIO_PIN 0x00000100 /* PA23 */ #define CFG_MDC_PIN 0x00000200 /* PA22 */ #define MDIO_ACTIVE (iop->pdir |= CFG_MDIO_PIN) #define MDIO_TRISTATE (iop->pdir &= ~CFG_MDIO_PIN) #define MDIO_READ ((iop->pdat & CFG_MDIO_PIN) != 0) #define MDIO(bit) if(bit) iop->pdat |= CFG_MDIO_PIN; \ else iop->pdat &= ~CFG_MDIO_PIN #define MDC(bit) if(bit) iop->pdat |= CFG_MDC_PIN; \ else iop->pdat &= ~CFG_MDC_PIN #define MIIDELAY udelay(1) Environment variables: gatewayip=172.16.52.7 netmask=255.255.254.0 bootfile=boot/uImage ethact=FEC ETHERNET hostname=D-0143612 ipaddr=172.16.52.20 serverip=172.16.52.60 ethaddr=00:e0:ee:00:05:2e Regards, Smitha -----Original Message----- From: Wolfgang Denk [mailto:wd at denx.de] Sent: Wednesday, July 13, 2011 11:38 AM To: Smitha Vanga (WT01 - GMT-Telecom Equipment) Cc: u-boot at lists.denx.de Subject: Re: [U-Boot] running as stand alone Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB22032437A4@HYD-MKD-MBX02.wipro.com> you wrote: > > My u-boot works when run from the BDI emulator. But when it is > programmed in flash and powered on with out connecting the emulator > > It does not come up . I checked the HRCW its correct. Any suggestions? Check which initializations are done in the BDI init sequence, and check which of them are needed and missing in U-Boot. > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > addressee(s) and may contain proprietary, confidential or privileged > information. If you are not the intended recipient, you should not > disseminate, distribute or copy this e-mail. Please notify the sender > immediately and destroy all copies of this message and any attachments. Please omit such crap when posting to public mailing lists. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de You can love it, change it, or leave it. There is NO other option. But do not complain - it is your own choice... -- wd Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Ping command 2011-07-15 4:00 ` [U-Boot] Ping command smitha.vanga at wipro.com @ 2011-07-15 7:20 ` Wolfgang Denk 2011-07-15 8:53 ` smitha.vanga at wipro.com ` (2 more replies) 0 siblings, 3 replies; 25+ messages in thread From: Wolfgang Denk @ 2011-07-15 7:20 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB22032BC7B9@HYD-MKD-MBX02.wipro.com> you wrote: > > execute the PING > Command I get the following error > > >ping 172.16.52.20 > Using unknown device > ping failed; host 172.16.52.20 is not alive Check the source code and find out why ping reports an "unknown device". Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If all you have is a hammer, everything looks like a nail. ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Ping command 2011-07-15 7:20 ` Wolfgang Denk @ 2011-07-15 8:53 ` smitha.vanga at wipro.com 2011-07-15 11:22 ` Wolfgang Denk 2011-07-15 15:45 ` smitha.vanga at wipro.com 2011-07-19 10:46 ` [U-Boot] Flat tree structure dts file smitha.vanga at wipro.com 2 siblings, 1 reply; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-07-15 8:53 UTC (permalink / raw) To: u-boot Hi Wolfgang Denk, I get the below messages. Its failing in the fec_send BD_ENET_TX_READY bit is not getting set. Any clue? EPN412> ping 172.16.52.20 Trying FCC1 ETHERNET pram_ptr->fen_genfcc.fcc_rbase 03efcc88 pram_ptr->fen_genfcc.fcc_tbase 03efcca8 Using FCC1 ETHERNET device sending ARP for ac103414 ARP broadcast 1 fec: tx error Value : 8000 ARP broadcast 2 fec: tx buffer not ready ping failed; host 172.16.52.20 is not alive Regards, Smitha -----Original Message----- From: Wolfgang Denk [mailto:wd at denx.de] Sent: Friday, July 15, 2011 12:51 PM To: Smitha Vanga (WT01 - GMT-Telecom Equipment) Cc: u-boot at lists.denx.de Subject: Re: Ping command Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB22032BC7B9@HYD-MKD-MBX02.wipro.com> you wrote: > > execute the PING > Command I get the following error > > >ping 172.16.52.20 > Using unknown device > ping failed; host 172.16.52.20 is not alive Check the source code and find out why ping reports an "unknown device". Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de If all you have is a hammer, everything looks like a nail. Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Ping command 2011-07-15 8:53 ` smitha.vanga at wipro.com @ 2011-07-15 11:22 ` Wolfgang Denk 2011-07-15 11:35 ` smitha.vanga at wipro.com 0 siblings, 1 reply; 25+ messages in thread From: Wolfgang Denk @ 2011-07-15 11:22 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, please stop top posting/ full quoting. You can find hints here: http://www.netmeister.org/news/learn2quote.html In message <07ACDFB8ECA8EF47863A613BC01BBB22032BC8BF@HYD-MKD-MBX02.wipro.com> you wrote: > > I get the below messages. Its failing in the fec_send BD_ENET_TX_READY > bit is not getting set. > Any clue? Check your clock routing. Eventually you have misconfigured the Tx clock. > > >ping 172.16.52.20 > > Using unknown device > > ping failed; host 172.16.52.20 is not alive > > Check the source code and find out why ping reports an "unknown device". Did you solve this "unknown device" issue? THis must be done first. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de Very ugly or very beautiful women should be flattered on their understanding, and mediocre ones on their beauty. -- Philip Earl of Chesterfield ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Ping command 2011-07-15 11:22 ` Wolfgang Denk @ 2011-07-15 11:35 ` smitha.vanga at wipro.com 0 siblings, 0 replies; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-07-15 11:35 UTC (permalink / raw) To: u-boot Hi Wolfgang, I solved the unknow device issue by enabling the CONFIG_ETHER_ON_FCC1 in my config. Will check the TX clock configuration. Currently getting the blow messages. It says using the FCC1 ETHERNET. ping 172.16.52.60 Trying FCC1 ETHERNET pram_ptr->fen_genfcc.fcc_rbase 03efcc88 pram_ptr->fen_genfcc.fcc_tbase 03efcca8 Using FCC1 ETHERNET device sending ARP for ac10343c ARP broadcast 1 fec: tx error Value : 8000 ARP broadcast 2 fec: tx buffer not ready ping failed; host 172.16.52.60 is not alive Thanks & Reagrds, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Ping command 2011-07-15 7:20 ` Wolfgang Denk 2011-07-15 8:53 ` smitha.vanga at wipro.com @ 2011-07-15 15:45 ` smitha.vanga at wipro.com 2011-07-19 10:46 ` [U-Boot] Flat tree structure dts file smitha.vanga at wipro.com 2 siblings, 0 replies; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-07-15 15:45 UTC (permalink / raw) To: u-boot Hi Wolfgang, Thanks , ping is working the problem was with routing of the Tx clock. Thanks & Reagrds, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Flat tree structure dts file 2011-07-15 7:20 ` Wolfgang Denk 2011-07-15 8:53 ` smitha.vanga at wipro.com 2011-07-15 15:45 ` smitha.vanga at wipro.com @ 2011-07-19 10:46 ` smitha.vanga at wipro.com 2011-07-19 11:07 ` Wolfgang Denk 2 siblings, 1 reply; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-07-19 10:46 UTC (permalink / raw) To: u-boot Hi, I am trying to port WindRiver linux 2.6.21 on to mpc8247 custom board. Does for mpc8260 core is there support for CONFIG_OF_FLAT_TREE . How do I supply the device tree structure to the kernel. Do I need to do this in the u-boot? If yes how do I do? Thanks & Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Flat tree structure dts file 2011-07-19 10:46 ` [U-Boot] Flat tree structure dts file smitha.vanga at wipro.com @ 2011-07-19 11:07 ` Wolfgang Denk 2011-08-03 10:36 ` [U-Boot] Console bring up on WR linux kernel on mpc8247 board smitha.vanga at wipro.com 0 siblings, 1 reply; 25+ messages in thread From: Wolfgang Denk @ 2011-07-19 11:07 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB22032BD0CA@HYD-MKD-MBX02.wipro.com> you wrote: > > I am trying to port WindRiver linux 2.6.21 on to mpc8247 custom board. > Does for mpc8260 core is there support for > CONFIG_OF_FLAT_TREE . > How do I supply the device tree structure to the kernel. Do I need to do > this in the u-boot? > If yes how do I do? In the first step, you should update your Linux kenrel code base. Version 2.6.21 is about 20 releases behind (more than 4 years). It makes absolutely no sense to invest any efforts in such old code. Please do your self (and us) a favour and grab the recent kernel code instead. Device Tree support will then just fall in place. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de How much net work could a network work, if a network could net work? ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Console bring up on WR linux kernel on mpc8247 board 2011-07-19 11:07 ` Wolfgang Denk @ 2011-08-03 10:36 ` smitha.vanga at wipro.com 2011-08-03 11:18 ` Heiko Schocher 2011-08-03 13:10 ` Wolfgang Denk 0 siblings, 2 replies; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-08-03 10:36 UTC (permalink / raw) To: u-boot Hi Wolfgang, I am trying to bring up WR linux 2.6.38.2 on a custom target board based on mpc8247, We are using SCC1 for the serial console. Have initialized the scc node in the dts as below. Had set the bootargs as setenv bootargs mem=64M console=ttyCPM,9600n8 root=/dev/ram rw. My serial console doesn't come up. Can you give any pointers to this would be of great help. I am stuck here and there is a project release. Below are the kernel logs I get for the Serial from the __log_buf. ----------------------------------------------------------- .<6>Serial: CPM driver $Revision: 0.02 $ .<6>ttyCPM0 at MMIO map 0xc5000a00 mem 0x0 (irq = 40) is a CPM UART .<4>RAMDISK driver initialized: 16 RAM disks of 32768K size 1024 blocksize .<6>Broadcom B CM5411: Registered new driver ---------------------------------------------------------- cpm at f0000000 { linux,phandle = <f0000000>; #address-cells = <1>; #size-cells = <1>; #interrupt-cells = <2>; device_type = "cpm"; model = "CPM2"; ranges = <00000000 00000000 20000>; reg = <0 20000>; command-proc = <119c0>; brg-frequency = <FE70B8>; cpm_clk = <7F385C0>; scc at 11a00 { device_type = "serial"; compatible = "cpm_uart"; model = "SCC"; device-id = <1>; reg = <11a00 20 8000 100>; current-speed = <2580>; interrupts = <28 2>; interrupt-parent = <10c00>; clock-setup = <0 00ffffff>; rx-clock = <1>; tx-clock = <1>; }; }; --------------------------------------------------------------- Kernel configurations: # CONFIG_PPC64 is not set CONFIG_PPC32=y CONFIG_PPC_MERGE=y CONFIG_MMU=y CONFIG_GENERIC_TIME=y CONFIG_GENERIC_HARDIRQS=y CONFIG_IRQ_PER_CPU=y CONFIG_RWSEM_XCHGADD_ALGORITHM=y CONFIG_ARCH_HAS_ILOG2_U32=y CONFIG_GENERIC_HWEIGHT=y CONFIG_GENERIC_CALIBRATE_DELAY=y CONFIG_GENERIC_FIND_NEXT_BIT=y CONFIG_PPC=y CONFIG_EARLY_PRINTK=y CONFIG_GENERIC_NVRAM=y CONFIG_SCHED_NO_NO_OMIT_FRAME_POINTER=y CONFIG_ARCH_MAY_HAVE_PC_FDC=y CONFIG_PPC_OF=y # CONFIG_PPC_UDBG_16550 is not set # CONFIG_GENERIC_TBSYNC is not set CONFIG_AUDIT_ARCH=y CONFIG_GENERIC_BUG=y CONFIG_DEFAULT_UIMAGE=y # # Processor support # # CONFIG_CLASSIC32 is not set # CONFIG_PPC_512x is not set CONFIG_PPC_82xx=y # CONFIG_PPC_83xx is not set # CONFIG_PPC_85xx is not set # CONFIG_PPC_86xx is not set # CONFIG_PPC_8xx is not set # CONFIG_40x is not set # CONFIG_44x is not set # CONFIG_E200 is not set CONFIG_6xx=y CONFIG_PPC_FPU=y # CONFIG_PPC_DCR_NATIVE is not set # CONFIG_PPC_DCR_MMIO is not set CONFIG_PPC_STD_MMU=y CONFIG_PPC_STD_MMU_32=y # CONFIG_SMP is not set CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" # IO Schedulers # CONFIG_IOSCHED_NOOP=y # CONFIG_IOSCHED_AS is not set # CONFIG_IOSCHED_DEADLINE is not set # CONFIG_IOSCHED_CFQ is not set # CONFIG_DEFAULT_AS is not set # CONFIG_DEFAULT_DEADLINE is not set # CONFIG_DEFAULT_CFQ is not set CONFIG_DEFAULT_NOOP=y CONFIG_DEFAULT_IOSCHED="noop" CONFIG_PQ2ADS=y CONFIG_8260=y CONFIG_8272=y CONFIG_CPM2=y # CONFIG_WANT_EARLY_SERIAL is not set CONFIG_EMBEDDEDBOOT=y # # Platform support # CONFIG_MPC82xx_ADS=y # CONFIG_MPIC is not set # # Non-8250 serial port support # # CONFIG_SERIAL_UARTLITE is not set CONFIG_SERIAL_CORE=y CONFIG_SERIAL_CORE_CONSOLE=y CONFIG_SERIAL_CPM=y CONFIG_SERIAL_CPM_CONSOLE=y CONFIG_SERIAL_CPM_SCC1=y # CONFIG_SERIAL_CPM_SCC2 is not set # CONFIG_SERIAL_CPM_SCC3 is not set # CONFIG_SERIAL_CPM_SCC4 is not set # CONFIG_SERIAL_CPM_SMC1 is not set # CONFIG_SERIAL_CPM_SMC2 is not set CONFIG_UNIX98_PTYS=y # CONFIG_LEGACY_PTYS is not set # CONFIG_IPMI_HANDLER is not set Thank in Advance Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Console bring up on WR linux kernel on mpc8247 board 2011-08-03 10:36 ` [U-Boot] Console bring up on WR linux kernel on mpc8247 board smitha.vanga at wipro.com @ 2011-08-03 11:18 ` Heiko Schocher 2011-08-03 13:10 ` Wolfgang Denk 1 sibling, 0 replies; 25+ messages in thread From: Heiko Schocher @ 2011-08-03 11:18 UTC (permalink / raw) To: u-boot Hello smitha.vanga, smitha.vanga at wipro.com wrote: > Hi Wolfgang, > > I am trying to bring up WR linux 2.6.38.2 on a custom target board based > on mpc8247, We are using SCC1 for the serial console. Have initialized > the scc node in the dts as below. Had set the bootargs as setenv > bootargs mem=64M console=ttyCPM,9600n8 root=/dev/ram rw. ^^^ Try here a ttyCPM0 ... ... and this is a Linux related Question, so please use "linuxppc-dev-request at lists.ozlabs.org" for example instead. bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Console bring up on WR linux kernel on mpc8247 board 2011-08-03 10:36 ` [U-Boot] Console bring up on WR linux kernel on mpc8247 board smitha.vanga at wipro.com 2011-08-03 11:18 ` Heiko Schocher @ 2011-08-03 13:10 ` Wolfgang Denk 2011-08-19 4:41 ` [U-Boot] Flat tree support smitha.vanga at wipro.com 2011-08-30 10:08 ` [U-Boot] Bootm command smitha.vanga at wipro.com 1 sibling, 2 replies; 25+ messages in thread From: Wolfgang Denk @ 2011-08-03 13:10 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB220344DD3F@HYD-MKD-MBX02.wipro.com> you wrote: > > I am trying to bring up WR linux 2.6.38.2 on a custom target board based > on mpc8247, We are using SCC1 for the serial console. Have initialized > the scc node in the dts as below. Had set the bootargs as setenv > bootargs mem=64M console=ttyCPM,9600n8 root=/dev/ram rw. > My serial console doesn't come up. Can you give any pointers to this > would be of great help. I am stuck here and there is a project release. > Below are the kernel logs I get for the Serial from the __log_buf. This has nothing to do with U-Boot, so you are off topic here. But before reposting the same question on a Linux related mailing list, please make sure to check your boot arguments. I huess your console device is not /dev/ttyCPM, but /dev/ttyCPM0 or /dev/ttyCPM1 or similar. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de It may be bad manners to talk with your mouth full, but it isn't too good either if you speak when your head is empty. ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Flat tree support 2011-08-03 13:10 ` Wolfgang Denk @ 2011-08-19 4:41 ` smitha.vanga at wipro.com 2011-08-19 4:52 ` John Rigby 2011-08-30 10:08 ` [U-Boot] Bootm command smitha.vanga at wipro.com 1 sibling, 1 reply; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-08-19 4:41 UTC (permalink / raw) To: u-boot Hi Wolfgang, I have taken the sources of u-boot for version 1.1.6. I don't see flat tree support enable for any Board based on mpc8260 (CONFIG_OF_FLAT_TREE)I checked for IDS8272,MPC8260ADS. Can you let me know is there support for Flat tree structure for 603e cores. Also I don't see ft_setup function for this process. Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Flat tree support 2011-08-19 4:41 ` [U-Boot] Flat tree support smitha.vanga at wipro.com @ 2011-08-19 4:52 ` John Rigby 2011-08-19 5:11 ` smitha.vanga at wipro.com 0 siblings, 1 reply; 25+ messages in thread From: John Rigby @ 2011-08-19 4:52 UTC (permalink / raw) To: u-boot On Thu, Aug 18, 2011 at 10:41 PM, <smitha.vanga@wipro.com> wrote: > > Hi Wolfgang, > > I have taken the sources of u-boot for version 1.1.6. I don't see flat > tree support enable for any > Board based on mpc8260 (CONFIG_OF_FLAT_TREE)I checked for > IDS8272,MPC8260ADS. Can you let me know is there support for > Flat tree structure for 603e cores. Also I don't see ft_setup function > for this process. > > Regards, > Smitha > U-Boot 1.1.6 is nearly five years old (29Oct2006). Please consider updating to a modern version. ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Flat tree support 2011-08-19 4:52 ` John Rigby @ 2011-08-19 5:11 ` smitha.vanga at wipro.com 2011-08-19 5:21 ` John Rigby 0 siblings, 1 reply; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-08-19 5:11 UTC (permalink / raw) To: u-boot Hi , Can you point me to the latest stable uboot sources. Thanks & Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Flat tree support 2011-08-19 5:11 ` smitha.vanga at wipro.com @ 2011-08-19 5:21 ` John Rigby 0 siblings, 0 replies; 25+ messages in thread From: John Rigby @ 2011-08-19 5:21 UTC (permalink / raw) To: u-boot On Thu, Aug 18, 2011 at 11:11 PM, <smitha.vanga@wipro.com> wrote: > > Hi , > > Can you point me to the latest stable uboot sources. > Start here: http://www.denx.de/wiki/U-Boot/WebHome and from there you will find a pointer to the release schedule http://www.denx.de/wiki/U-Boot/ReleaseCycle eventually you will find your way to the git repo for u-boot. --john ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Bootm command 2011-08-03 13:10 ` Wolfgang Denk 2011-08-19 4:41 ` [U-Boot] Flat tree support smitha.vanga at wipro.com @ 2011-08-30 10:08 ` smitha.vanga at wipro.com 2011-08-30 10:39 ` Marek Vasut 2011-08-30 10:52 ` Wolfgang Denk 1 sibling, 2 replies; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-08-30 10:08 UTC (permalink / raw) To: u-boot Hi Wolfgang, I am trying to boot linux by using the bootm command. It fails when it tries to compare the filesystem header with the IH_MAGIC and fails and gets reset. Could you let me know what should I need to change this number. This in cmd_bootm.c file in do_bootm_linux () function. Below are the logs. EPN412> bootm 0x1000000 0xfe340000 0x2000000 ## Booting image at 01000000 ... Image Name: Linux-2.6.21.7-hrt1-cfs-v22-grse Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1423080 Bytes = 1.4 MB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK ## Loading RAMDisk Image at fe340000 ... B if (ntohl(hdr->ih_magic) != IH_MAGIC) { puts ("Bad Magic Number\n"); show_boot_progress (-10); do_reset (cmdtp, flag, argc, argv); } Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Bootm command 2011-08-30 10:08 ` [U-Boot] Bootm command smitha.vanga at wipro.com @ 2011-08-30 10:39 ` Marek Vasut 2011-08-30 11:06 ` smitha.vanga at wipro.com 2011-08-30 10:52 ` Wolfgang Denk 1 sibling, 1 reply; 25+ messages in thread From: Marek Vasut @ 2011-08-30 10:39 UTC (permalink / raw) To: u-boot On Tuesday, August 30, 2011 12:08:00 PM smitha.vanga at wipro.com wrote: > Hi Wolfgang, > > I am trying to boot linux by using the bootm command. It fails when it > tries to compare the filesystem header with the IH_MAGIC and fails and > gets reset. Could you let me know what should I need to change this > number. This in cmd_bootm.c file in do_bootm_linux () function. Below > are the logs. > > EPN412> bootm 0x1000000 0xfe340000 0x2000000 > ## Booting image at 01000000 ... > Image Name: Linux-2.6.21.7-hrt1-cfs-v22-grse > Image Type: PowerPC Linux Kernel Image (gzip compressed) > Data Size: 1423080 Bytes = 1.4 MB > Load Address: 00000000 > Entry Point: 00000000 > Verifying Checksum ... OK > Uncompressing Kernel Image ... OK > ## Loading RAMDisk Image at fe340000 ... > B > > > if (ntohl(hdr->ih_magic) != IH_MAGIC) { > puts ("Bad Magic Number\n"); > show_boot_progress (-10); > do_reset (cmdtp, flag, argc, argv); > } You certainly have some very old stuff here. The load addr 0x1000000 and 0xfe340000 seem quite far from each other. Maybe that's the case, you're loading the stuff from some strange place? > > Regards, > Smitha > > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. Can you disable this ? :-( > > www.wipro.com > _______________________________________________ > U-Boot mailing list > U-Boot at lists.denx.de > http://lists.denx.de/mailman/listinfo/u-boot ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Bootm command 2011-08-30 10:39 ` Marek Vasut @ 2011-08-30 11:06 ` smitha.vanga at wipro.com 2011-08-30 12:54 ` Wolfgang Denk 0 siblings, 1 reply; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-08-30 11:06 UTC (permalink / raw) To: u-boot Hi Mark, I didn't understand what you mean to say. Actually I have built a cramfs image and programmed the file system at the location 0xfe340000(this is flash address where it is programmed) in the flash . I loaded uImage kernel image at 0x1000000 this is my ram area address. I have loaded .dtb at 0x2000000 In ram. I have set my bootargs as setenv bootargs console=ttyS0,9600 root=/dev/mtdblock4 rootfstype=cramfs Now I try to boot the kernel image loaded at 0x1000000 address. As per the log messages I see that Kernel gets uncompressed and loaded at 0x00000000 address. It starts loading the file system and Then tries to read the header from the loaction 0xfe340000 and compare the IH_MAGIC with the hdr->ih_magic the it says Bad Magic Number and gets reseted. Below is the piece of code where it fails. if (hdr->ih_magic != IH_MAGIC) { printf ("Bad Magic Number\n"); SHOW_BOOT_PROGRESS (-10); /* do_reset (cmdtp, flag, argc, argv); */ if(auto_boot) do_reset (cmdtp, flag, argc, argv); else return 1; } Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Bootm command 2011-08-30 11:06 ` smitha.vanga at wipro.com @ 2011-08-30 12:54 ` Wolfgang Denk 0 siblings, 0 replies; 25+ messages in thread From: Wolfgang Denk @ 2011-08-30 12:54 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB22036635C6@HYD-MKD-MBX02.wipro.com> you wrote: > > I didn't understand what you mean to say. Actually I have built a cramfs > image and programmed the file system at the location 0xfe340000(this is > flash address where it is programmed) in the flash . > I loaded uImage kernel image at 0x1000000 this is my ram area address. I > have loaded .dtb at 0x2000000 > In ram. I have set my bootargs as The bootm command expects as second argument the address of a U-Boot image containing a ramdisk. A U-Boot image gets created using the "mkimage" command and is something fundamentally different from a file system image (it can contain such a filesystem image as payload, though - but this is obviously not what you want to do here). I think you should define proper MTD partitions on your flash and provide a proper /dwev/mtdblock? as root device to your Linux kernel. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "Obviously, a major malfunction has occurred." -- Steve Nesbitt, voice of Mission Control, January 28, 1986, as the shuttle Challenger exploded within view of the grandstands. ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] Bootm command 2011-08-30 10:08 ` [U-Boot] Bootm command smitha.vanga at wipro.com 2011-08-30 10:39 ` Marek Vasut @ 2011-08-30 10:52 ` Wolfgang Denk 1 sibling, 0 replies; 25+ messages in thread From: Wolfgang Denk @ 2011-08-30 10:52 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, In message <07ACDFB8ECA8EF47863A613BC01BBB2203663581@HYD-MKD-MBX02.wipro.com> you wrote: > > I am trying to boot linux by using the bootm command. It fails when it > tries to compare the filesystem header with the IH_MAGIC and fails and > gets reset. Could you let me know what should I need to change this > number. This in cmd_bootm.c file in do_bootm_linux () function. Below > are the logs. Unfortunetely these are incomplete, as they don;t show the actual error. > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. And this effectively prevents me to reply. Sorry. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de To be sure of hitting the target, shoot first and, whatever you hit, call it the target. ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] U-boto CRC error 2011-07-13 6:08 ` Wolfgang Denk 2011-07-15 4:00 ` [U-Boot] Ping command smitha.vanga at wipro.com @ 2011-12-16 7:16 ` smitha.vanga at wipro.com 2011-12-16 7:40 ` Wolfgang Denk 2011-12-16 7:52 ` Prafulla Wadaskar 1 sibling, 2 replies; 25+ messages in thread From: smitha.vanga at wipro.com @ 2011-12-16 7:16 UTC (permalink / raw) To: u-boot Hi Wolfgang, I am bringing up u-boot on a power-pc board . The u-boot is up but during boot up I get the below message. Can you suggest. *** Warning - bad CRC, using default environment Thanks in Advance. Regards, Smitha Please do not print this email unless it is absolutely necessary. The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] U-boto CRC error 2011-12-16 7:16 ` [U-Boot] U-boto CRC error smitha.vanga at wipro.com @ 2011-12-16 7:40 ` Wolfgang Denk 2011-12-16 7:52 ` Prafulla Wadaskar 1 sibling, 0 replies; 25+ messages in thread From: Wolfgang Denk @ 2011-12-16 7:40 UTC (permalink / raw) To: u-boot Dear smitha.vanga at wipro.com, In message <40631E9A2581F14BA60888C87A76A1FE01B7EB@HYD-MKD-MBX4.wipro.com> you wrote: > > > I am bringing up u-boot on a power-pc board . The u-boot is up but during bo= > ot up I get the below message. > Can you suggest. > > *** Warning - bad CRC, using default environment Yes, I can. My suggestion is to read the FAQ. Ideally _before_ posting. Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de There are bugs and then there are bugs. And then there are bugs. - Karl Lehenbauer ^ permalink raw reply [flat|nested] 25+ messages in thread
* [U-Boot] U-boto CRC error 2011-12-16 7:16 ` [U-Boot] U-boto CRC error smitha.vanga at wipro.com 2011-12-16 7:40 ` Wolfgang Denk @ 2011-12-16 7:52 ` Prafulla Wadaskar 1 sibling, 0 replies; 25+ messages in thread From: Prafulla Wadaskar @ 2011-12-16 7:52 UTC (permalink / raw) To: u-boot > -----Original Message----- > From: u-boot-bounces at lists.denx.de [mailto:u-boot- > bounces at lists.denx.de] On Behalf Of smitha.vanga at wipro.com > Sent: 15 December 2011 23:17 > To: wd at denx.de > Cc: u-boot at lists.denx.de > Subject: [U-Boot] U-boto CRC error > > > Hi Wolfgang, > > > I am bringing up u-boot on a power-pc board . The u-boot is up but > during boot up I get the below message. > Can you suggest. > > *** Warning - bad CRC, using default environment Do saveenv on console and reboot, see if message disappears. Regards.. Prafulla . . . ^ permalink raw reply [flat|nested] 25+ messages in thread
end of thread, other threads:[~2011-12-16 7:52 UTC | newest] Thread overview: 25+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-07-13 4:42 [U-Boot] running as stand alone smitha.vanga at wipro.com 2011-07-13 6:08 ` Wolfgang Denk 2011-07-15 4:00 ` [U-Boot] Ping command smitha.vanga at wipro.com 2011-07-15 7:20 ` Wolfgang Denk 2011-07-15 8:53 ` smitha.vanga at wipro.com 2011-07-15 11:22 ` Wolfgang Denk 2011-07-15 11:35 ` smitha.vanga at wipro.com 2011-07-15 15:45 ` smitha.vanga at wipro.com 2011-07-19 10:46 ` [U-Boot] Flat tree structure dts file smitha.vanga at wipro.com 2011-07-19 11:07 ` Wolfgang Denk 2011-08-03 10:36 ` [U-Boot] Console bring up on WR linux kernel on mpc8247 board smitha.vanga at wipro.com 2011-08-03 11:18 ` Heiko Schocher 2011-08-03 13:10 ` Wolfgang Denk 2011-08-19 4:41 ` [U-Boot] Flat tree support smitha.vanga at wipro.com 2011-08-19 4:52 ` John Rigby 2011-08-19 5:11 ` smitha.vanga at wipro.com 2011-08-19 5:21 ` John Rigby 2011-08-30 10:08 ` [U-Boot] Bootm command smitha.vanga at wipro.com 2011-08-30 10:39 ` Marek Vasut 2011-08-30 11:06 ` smitha.vanga at wipro.com 2011-08-30 12:54 ` Wolfgang Denk 2011-08-30 10:52 ` Wolfgang Denk 2011-12-16 7:16 ` [U-Boot] U-boto CRC error smitha.vanga at wipro.com 2011-12-16 7:40 ` Wolfgang Denk 2011-12-16 7:52 ` Prafulla Wadaskar
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox