Did anyone code device drivers for LAN 9514 controller without basing
any OS????
--
You received this message because you are subscribed to the Google Groups "Beagle Board" group.
To post to this group, send email to beagl...@googlegroups.com.
To unsubscribe from this group, send email to beagleboard...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/beagleboard?hl=en.
it seems there is some support for it in uboot:
http://www.mail-archive.com/u-b...@lists.denx.de/msg50068.html
In that case, tftpboot is possible on beagleboard-xm ??
Thanks in advance,
Johnson
maybe :)
2011/6/16 Vladimir Pantelic <vlad...@gmail.com>:
On 16/06/2011 19:25, Johnson Mathew Easow wrote:
>> it seems there is some support for it in uboot:
>
> In that case, tftpboot is possible on beagleboard-xm ??
>
yes with these patches :
http://patchwork.ozlabs.org/patch/100186/
http://patchwork.ozlabs.org/patch/100187/
http://patchwork.ozlabs.org/patch/100185/
http://patchwork.ozlabs.org/patch/99955/
http://patchwork.ozlabs.org/patch/99956/
(a better version of the last one will come in a few days).
Eric
and you may also need to patch ehci_hcd_stop in beagle.c (without this, here
display doesn't work when bootling the rowboat kernel) :
@@ -346,9 +348,25 @@ int board_mmc_init(bd_t *bis)
/* Reset is needed otherwise the kernel-driver will throw an error. */
int ehci_hcd_stop(void)
{
pr_debug("Resetting OMAP3 EHCI\n");
omap_set_gpio_dataout(GPIO_PHY_RESET, 0);
writel(OMAP_UHH_SYSCONFIG_SOFTRESET, OMAP3_UHH_BASE + OMAP_UHH_SYSCONFIG);
+ /* disable USB clocks */
+ sr32(&prcm_base->iclken_usbhost, 0, 1, 0);
+ sr32(&prcm_base->fclken_usbhost, 0, 2, 0);
+ sr32(&prcm_base->iclken3_core, 2, 1, 0);
+ sr32(&prcm_base->fclken3_core, 2, 1, 0);
return 0;
}
and you also need to add this in the .h config file of your board :
+#define CONFIG_USB_HOST_ETHER
+#define CONFIG_USB_ETHER_SMSC95XX
+#define CONFIG_NET_MULTI
+#define CONFIG_CMD_NET
+#define CONFIG_CMD_PING
+#define CONFIG_CMD_NFS
Eric
> Hi again,
>
> On 16/06/2011 22:44, Eric Bénard wrote:
>> Hi,
>>
>> On 16/06/2011 19:25, Johnson Mathew Easow wrote:
>>>> it seems there is some support for it in uboot:
>>>
>>> In that case, tftpboot is possible on beagleboard-xm ??
>>>
>> yes with these patches :
>> http://patchwork.ozlabs.org/patch/100186/
>> http://patchwork.ozlabs.org/patch/100187/
>> http://patchwork.ozlabs.org/patch/100185/
>> http://patchwork.ozlabs.org/patch/99955/
>> http://patchwork.ozlabs.org/patch/99956/
>> (a better version of the last one will come in a few days).
>
> and you may also need to patch ehci_hcd_stop in beagle.c
So was omap3/4 EHCI support already merged into denx upstream uboot?
Eric
> On 17/06/2011 01:28, Koen Kooi wrote:
>>
>> Op 16 jun 2011, om 22:52 heeft Eric Bénard het volgende geschreven:
>>
>>> Hi again,
>>>
>>> On 16/06/2011 22:44, Eric Bénard wrote:
>>>> Hi,
>>>>
>>>> On 16/06/2011 19:25, Johnson Mathew Easow wrote:
>>>>>> it seems there is some support for it in uboot:
>>>>>
>>>>> In that case, tftpboot is possible on beagleboard-xm ??
>>>>>
>>>> yes with these patches :
>>>> http://patchwork.ozlabs.org/patch/100186/
>>>> http://patchwork.ozlabs.org/patch/100187/
>>>> http://patchwork.ozlabs.org/patch/100185/
>>>> http://patchwork.ozlabs.org/patch/99955/
>>>> http://patchwork.ozlabs.org/patch/99956/
>>>> (a better version of the last one will come in a few days).
>>>
>>> and you may also need to patch ehci_hcd_stop in beagle.c
>>
>> So was omap3/4 EHCI support already merged into denx upstream uboot?
>>
> OMAP3 seems merged in upstream u-boot as only this 5 patches are needed to get tftp working on BeagleBoard XM,
> I'm not using OMAP4 (TI's website says : "This product is intended for high-volume wireless OEMs and ODMs and is not
I tried them, and I get:
OMAP3 beagleboard.org # usb start
(Re)start USB...
USB: Register 1313 NbrPorts 3
USB EHCI 1.00
scanning bus for devices... cannot reset port 2!?
1 USB Device(s) found
scanning bus for storage devices... 0 Storage Device(s) found
scanning bus for ethernet devices... 0 Ethernet Device(s) found
On my xM rev C, It does work on my C5 with an apple USB ethernet dongle.
regards,
Koen
Thanks, I squashed it into your previous patches: https://github.com/koenkooi/u-boot/commits/beagle-2011.06
On 6/17/11, Eric Bénard <er...@eukrea.com> wrote:
> On 17/06/2011 01:28, Koen Kooi wrote:
>>
>> Op 16 jun 2011, om 22:52 heeft Eric Bénard het volgende geschreven:
>>
>>> Hi again,
>>>
>>> On 16/06/2011 22:44, Eric Bénard wrote:
>>>> Hi,
>>>>
>>>> On 16/06/2011 19:25, Johnson Mathew Easow wrote:
>>>>>> it seems there is some support for it in uboot:
>>>>>
>>>>> In that case, tftpboot is possible on beagleboard-xm ??
>>>>>
>>>> yes with these patches :
>>>> http://patchwork.ozlabs.org/patch/100186/
>>>> http://patchwork.ozlabs.org/patch/100187/
>>>> http://patchwork.ozlabs.org/patch/100185/
>>>> http://patchwork.ozlabs.org/patch/99955/
>>>> http://patchwork.ozlabs.org/patch/99956/
>>>> (a better version of the last one will come in a few days).
>>>
>>> and you may also need to patch ehci_hcd_stop in beagle.c
>>
>> So was omap3/4 EHCI support already merged into denx upstream uboot?
>>
> OMAP3 seems merged in upstream u-boot as only this 5 patches are needed to
> get
> tftp working on BeagleBoard XM,
> I'm not using OMAP4 (TI's website says : "This product is intended for
> high-volume wireless OEMs and ODMs and is not available through
> distributors."
> so there is no interest in spending time on it).
>
> Eric
>
It also works on an xM rev A1, so it's the usb power thing that breaks rev C. When I say "works" I mean "get an IP, but tftp times out". But it's progress :)
How is that question related to the current thread
which is about "LAN 9514 Drivers"?
Sir, I want to interface an lcd and sd card on beagle with LAN 9514 thread, please send me:
1) the exact steps
2) the codes
3) blocky diagrams.
And do not shout guesses, I'm a professional.
On 17/06/2011 08:17, rajarshi kallagunta wrote:
> i want to know how to interface lcd and sd card on beagleboard.
>
a quick and dirty solution can be what is shown on this picture if you don't
have time to make a clean board ;-)
Eric