Re: about the dm9000 in mini2440
Yi Qingliang wrote: and if connected jtager, the ON switch does not work some time. Seems your jtager powers the system by accident. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
Yi Qingliang wrote: On Thursday, December 06, 2012 12:27:45 PM Eric Bénard wrote: Le Thu, 06 Dec 2012 15:55:23 +, Yi Qingliang niqingliang2...@gmail.com a écrit : the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? The mini2440 supported in Barebox is this one and maybe not the one your are using ;-) http://www.friendlyarm.net/products/mini2440 there is mini2440 friendlyARM on my board, whose color is white. blue pcb, maybe friendlyARM has multi version mini2440? FriendlyARM has some copyist. A blue PCB I have never seen yet. I say the 0x2800 is cs5, based on the memory layout picture in the manual. although the schematics is same as Juergen Beisert's. And the schematics says it is CS4. I can't get the original disk, only the board. So how to check the EED0? ps: In the manual of dm9000, it said that EED0 is pulled down internaly. Sure. But if you have some power floating around your board the chip might detect a high level at system start. But this idea is just a shot into the dark. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
Yi Qingliang wrote: the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? Hmm, the schematics of the Mini2440 board tells me, the processor's GCS4 (ball D3) is in use for the DM9000. GCS5 is connected to the CON5 instead. Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
indeed, I encountered follow error when boot barebox (compiled with default cfg): dm9000@dm9: Wrong databus width defined at compile time and can't use it for tftp I have printed out the context, found that is 32bit in the dm9000 register (read only), but in mini2440 initialize code is 16bit. any suggestion? On Thursday, December 06, 2012 09:09:10 AM Juergen Beisert wrote: Yi Qingliang wrote: the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? Hmm, the schematics of the Mini2440 board tells me, the processor's GCS4 (ball D3) is in use for the DM9000. GCS5 is connected to the CON5 instead. Regards, Juergen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
Yi Qingliang wrote: indeed, I encountered follow error when boot barebox (compiled with default cfg): dm9000@dm9: Wrong databus width defined at compile time and can't use it for tftp I have printed out the context, found that is 32bit in the dm9000 register (read only), but in mini2440 initialize code is 16bit. any suggestion? This would mean the EED0 pin of the DM9000 has a pull up connected, which is not the case for the Mini2440. Are you sure, you are using an original Mini2440? Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | Phone: +49-5121-206917-5128 | Peiner Str. 6-8, 31137 Hildesheim, Germany| Fax: +49-5121-206917- | Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de/ | ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
Hi, Le Thu, 06 Dec 2012 15:55:23 +, Yi Qingliang niqingliang2...@gmail.com a écrit : the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? The mini2440 supported in Barebox is this one and maybe not the one your are using ;-) http://www.friendlyarm.net/products/mini2440 Eric ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
On Thursday, December 06, 2012 12:27:45 PM Eric Bénard wrote: Hi, Le Thu, 06 Dec 2012 15:55:23 +, Yi Qingliang niqingliang2...@gmail.com a écrit : the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? The mini2440 supported in Barebox is this one and maybe not the one your are using ;-) http://www.friendlyarm.net/products/mini2440 there is mini2440 friendlyARM on my board, whose color is white. blue pcb, maybe friendlyARM has multi version mini2440? I downloaded the latest iso of mini2440: mini2440-20110421.iso. I say the 0x2800 is cs5, based on the memory layout picture in the manual. although the schematics is same as Juergen Beisert's. I can't get the original disk, only the board. So how to check the EED0? ps: In the manual of dm9000, it said that EED0 is pulled down internaly. Eric ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
I got it finally, but not root cause. reproduce: 1. connect jtag with openjtag(not the official openjtag, but 100ask.net produced based on openmoko's). 2. use ON/OFF switch on the board then I got Wrong databus but if I disconnect the power line, and reconnect it, everything OK. and if not connect jtager, and use ON/OFF switch, everyghing OK. what's the fuck problem? On Thursday, December 06, 2012 09:09:10 AM Juergen Beisert wrote: Yi Qingliang wrote: the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? Hmm, the schematics of the Mini2440 board tells me, the processor's GCS4 (ball D3) is in use for the DM9000. GCS5 is connected to the CON5 instead. Regards, Juergen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
Re: about the dm9000 in mini2440
and if connected jtager, the ON switch does not work some time. of cause the jtagger is connected to PC, but I have not use it with 'openocd'. On Thursday, December 06, 2012 09:09:10 AM Juergen Beisert wrote: Yi Qingliang wrote: the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? Hmm, the schematics of the Mini2440 board tells me, the processor's GCS4 (ball D3) is in use for the DM9000. GCS5 is connected to the CON5 instead. Regards, Juergen ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox
about the dm9000 in mini2440
the address of dm9000 is 0x2800, it should be cs5, but in function mini2440_devices_init, it set the cs4 instead, why?? Yi Qingliang Nanjing Jilong ___ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox