TFTP support for Pandaboard (OMAP4430 Cortex-A9 Dual core)
Hello,
1. I need to boot my Pandaboard via TFTP. As long as I see this is not yet possible, since in u-boot\include\configs\omap4_panda.h there is:
/* Disabled commands */
#undef CONFIG_CMD_NET
#undef CONFIG_CMD_NFS
I'm new to U-boot and I'm not sure that I understood it correctly, so can somebody confirm this, please?
If it matters, currently I'm booting from a SD card.
2. Also, I'd like to ask is it possible to compile u-boot under cygwin? I am using the latest CodeSourcery G++ Lite. I tried to do it but I ran into problems - make is trying to launch arm-linux-gcc, while it should be arm-none-eabi-gcc. I could not find out how to change it. But first of all, is it possible at all? If the answer is "yes", I'll dig more
before asking again.
Best regards,
Iordan
Quoted 7 lines
1. I need to boot my Pandaboard via TFTP. As long as I see this is not yet possible, since in u-boot\include\configs\omap4_panda.h there is:
/* Disabled commands */
#undefCONFIG_CMD_NET
#undefCONFIG_CMD_NFS
a couple of patches have been posted on this ML to support SMSC USB ethernet and EHCI; I have been unsuccessful so far to get them to work but maybe there is hope... :)
regards, p.
Signature · 2 lines
Peter Meerwald +43-664-2444418 (mobile)
Quoted 11 lines · Peter Meerwald
Quoted 7 lines
1. I need to boot my Pandaboard via TFTP. As long as I see this is not yet possible, since in u-boot\include\configs\omap4_panda.h there is:
/* Disabled commands */
#undefCONFIG_CMD_NET
#undefCONFIG_CMD_NFSa couple of patches have been posted on this ML to support SMSC USB ethernet and EHCI; I have been unsuccessful so far to get them to work but maybe there is hope... :)
Hi Peter,
Here is how it worked for me:
I Updated x-loader to the latest revision from omap4_dev branch from x-loader git (git://git.omapzoom.org/repo/x-loader.git, you can find this information on pandaboard wiki), the head at the time being commit c8855fa6b85bd44073bd1b25dbffa99f02cbeeed
I cloned u-boot git, the head at the time being commit 96d04c3150ae9284500aef48803d7d132968f2b2
I applied some of Simon's patches:
Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter Add Ethernet hardware MAC address framework to usbnet Add documentation for USB Host Networking
The applied the patches I already posted on this list:
omap4: add support for gpios
omap4: add support for EHCIomap4_panda: add support for EHCI
Then an additional patch in order to get the mac address working for smsc95xx:
drivers/usb/eth/smsc95xx.c +0 -0
@@ -873,6 +873,7 @@ int smsc95xx_eth_get_info(struct usb_device *dev,
struct ueth_data *ss,
eth->send = smsc95xx_send;
eth->recv = smsc95xx_recv;
eth->halt = smsc95xx_halt;
+ eth->write_hwaddr = smsc95xx_write_hwaddr;
eth->priv = ss;
return 1;}
Then modified the config.h in order to enable all this, that is, adding:
#define CONFIG_CMD_USB 1
#define CONFIG_USB_STORAGE 1
#define CONFIG_USB_HOST_ETHER 1
#define CONFIG_USB_EHCI 1
#define CONFIG_USB_EHCI_OMAP4 1
#define CONFIG_USB_HOST 1
#define CONFIG_USB_ETHER_SMSC95XX 1
Signature · 1 line
Gilles.
Quoted 47 lines · Gilles Chanteperdrix
Quoted 9 lines · Peter Meerwald
Quoted 6 lines
1. I need to boot my Pandaboard via TFTP. As long as I see this is not yet possible, since in u-boot\include\configs\omap4_panda.h there is:
/* Disabled commands */
#undefCONFIG_CMD_NET
#undefCONFIG_CMD_NFSa couple of patches have been posted on this ML to support SMSC USB ethernet and EHCI; I have been unsuccessful so far to get them to work but maybe there is hope... :)
Hi Peter,
Here is how it worked for me:
I Updated x-loader to the latest revision fromomap4_devbranch from x-loader git (git://git.omapzoom.org/repo/x-loader.git, you can find this information on pandaboard wiki), the head at the time being commitc8855fa6b85bd44073bd1b25dbffa99f02cbeeedI cloned u-boot git, the head at the time being commit
96d04c3150ae9284500aef48803d7d132968f2b2I applied some of Simon's patches:
Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter Add Ethernet hardware MAC address framework to usbnet Add documentation for USB Host NetworkingThe applied the patches I already posted on this list:
omap4: add support for gpios
omap4: add support for EHCIomap4_panda: add support for EHCIThen an additional patch in order to get the mac address working for smsc95xx:
drivers/usb/eth/smsc95xx.c +1
-0@@ -873,6 +873,7 @@ int smsc95xx_eth_get_info(struct usb_device *dev,struct ueth_data *ss, eth->send = smsc95xx_send; eth->recv = smsc95xx_recv; eth->halt = smsc95xx_halt; + eth->write_hwaddr = smsc95xx_write_hwaddr; eth->priv = ss;return 1 ;}
Quoted 9 lines
Then modified the
config.hin order to enable all this, that is, adding:
#defineCONFIG_CMD_USB1
#defineCONFIG_USB_STORAGE1
#defineCONFIG_USB_HOST_ETHER1
#defineCONFIG_USB_EHCI1
#defineCONFIG_USB_EHCI_OMAP41
#defineCONFIG_USB_HOST1
#defineCONFIG_USB_ETHER_SMSC95XX1
Does somebody have any idea when these patches will be committed to the git tree?
Regards,
Iordan
Quoted 48 lines · Iordan Neshev
Quoted 47 lines · Gilles Chanteperdrix
Quoted 9 lines · Peter Meerwald
Quoted 6 lines
1. I need to boot my Pandaboard via TFTP. As long as I see this is not yet possible, since in u-boot\include\configs\omap4_panda.h there is:
/* Disabled commands */
#undefCONFIG_CMD_NET
#undefCONFIG_CMD_NFSa couple of patches have been posted on this ML to support SMSC USB ethernet and EHCI; I have been unsuccessful so far to get them to work but maybe there is hope... :)
Hi Peter,
Here is how it worked for me:
I Updated x-loader to the latest revision fromomap4_devbranch from x-loader git (git://git.omapzoom.org/repo/x-loader.git, you can find this information on pandaboard wiki), the head at the time being commitc8855fa6b85bd44073bd1b25dbffa99f02cbeeedI cloned u-boot git, the head at the time being commit
96d04c3150ae9284500aef48803d7d132968f2b2I applied some of Simon's patches:
Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter Add Ethernet hardware MAC address framework to usbnet Add documentation for USB Host NetworkingThe applied the patches I already posted on this list:
omap4: add support for gpios
omap4: add support for EHCIomap4_panda: add support for EHCIThen an additional patch in order to get the mac address working for smsc95xx:
drivers/usb/eth/smsc95xx.c +1
-0@@ -873,6 +873,7 @@ int smsc95xx_eth_get_info(struct usb_device *dev,struct ueth_data *ss, eth->send = smsc95xx_send; eth->recv = smsc95xx_recv; eth->halt = smsc95xx_halt; + eth->write_hwaddr = smsc95xx_write_hwaddr; eth->priv = ss;return 1 ;}
Quoted 11 lines
Quoted 9 lines
Then modified the
config.hin order to enable all this, that is, adding:
#defineCONFIG_CMD_USB1
#defineCONFIG_USB_STORAGE1
#defineCONFIG_USB_HOST_ETHER1
#defineCONFIG_USB_EHCI1
#defineCONFIG_USB_EHCI_OMAP41
#defineCONFIG_USB_HOST1
#defineCONFIG_USB_ETHER_SMSC95XX1Does somebody have any idea when these patches will be committed to the git tree?
For the part I did (EHCI on panda/omap4) I received some remarks, and need to rework the patches and rebase them on more recent versions of u-boot. I will not have to do this before some time.
Signature · 1 line
Gilles.
Quoted 48 lines · Iordan Neshev
Quoted 47 lines · Gilles Chanteperdrix
Quoted 9 lines · Peter Meerwald
Quoted 6 lines
1. I need to boot my Pandaboard via TFTP. As long as I see this is not yet possible, since in u-boot\include\configs\omap4_panda.h there is:
/* Disabled commands */
#undefCONFIG_CMD_NET
#undefCONFIG_CMD_NFSa couple of patches have been posted on this ML to support SMSC USB ethernet and EHCI; I have been unsuccessful so far to get them to work but maybe there is hope... :)
Hi Peter,
Here is how it worked for me:
I Updated x-loader to the latest revision fromomap4_devbranch from x-loader git (git://git.omapzoom.org/repo/x-loader.git, you can find this information on pandaboard wiki), the head at the time being commitc8855fa6b85bd44073bd1b25dbffa99f02cbeeedI cloned u-boot git, the head at the time being commit
96d04c3150ae9284500aef48803d7d132968f2b2I applied some of Simon's patches:
Add support for SMSC95XX USB 2.0 10/100MBit Ethernet Adapter Add Ethernet hardware MAC address framework to usbnet Add documentation for USB Host NetworkingThe applied the patches I already posted on this list:
omap4: add support for gpios
omap4: add support for EHCIomap4_panda: add support for EHCIThen an additional patch in order to get the mac address working for smsc95xx:
drivers/usb/eth/smsc95xx.c +1
-0@@ -873,6 +873,7 @@ int smsc95xx_eth_get_info(struct usb_device *dev,struct ueth_data *ss, ? ? ? ? ?eth->send = smsc95xx_send; ? ? ? ? ?eth->recv = smsc95xx_recv; ? ? ? ? ?eth->halt = smsc95xx_halt; + ? ? ? eth->write_hwaddr = smsc95xx_write_hwaddr; ? ? ? ? ?eth->priv = ss; ? ? ? ? ?return 1;? }
Quoted 11 lines
Quoted 9 lines
Then modified the
config.hin order to enable all this, that is, adding:
#defineCONFIG_CMD_USB1
#defineCONFIG_USB_STORAGE1
#defineCONFIG_USB_HOST_ETHER1
#defineCONFIG_USB_EHCI? ? ? ? ? ? ? ? 1
#defineCONFIG_USB_EHCI_OMAP41
#defineCONFIG_USB_HOST? ? ? ? ? ? ? ?1
#defineCONFIG_USB_ETHER_SMSC95XX1Does somebody have any idea when these patches will be committed to the git tree?
Hi Iordan,
I think the network maintainer was away - I will resend. I think there has already been one 'patch to the patch' sent to the list. I do have a panda board here but haven't got around to testing USB networking on it.
Regards,
Simon
Quoted 9 lines
Regards,
Iordan
_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot