I really appreciate your help @lazarman. And appologize that I was not understood until now.
I have Beagleboard C4 and need to be as most familiar as it is possible. I don’t have now any specified project, that I could simply download prebuilded bootloaders, Linux distribution and focus only on some code functionallity. I have to learn that all surroundings to explain it later other people. How to start developing software for Beagleboard, what is possible with that platform. It must cover: preparing development environment; preparing Linux distribution and basic kernel programming; work with typicall Linux distributions like Ubuntu, Debian on BB; show DSP programming with DSP/BIOS and DSPLink; show how to use some RTOS (I think it will be QNX); finally how to use Beagle in conventional bare metal ARM programming. It doesn’t have to be very deep level of that all. I think that later I would like some small project, especially with using DSP core, e.g some heads recognition or hands recognition.
Unfortunatelly I’m not experienced in embedded Linux. I only use desktop disribution. I had contact with C, assembler and some other languages programming, but it was some time ago and on university (not very serious projects) level. From my side is rather strong determination.
This is why I don’t want to pass USB Ethernet in U-Boot, use only SD card and go on.
And I also know that this board is not new, new OMAPs and platforms are on the market. It is why I suffer the most, a lot of new soft doesn’t work like in tutorials. It’s often situation that tutorials are rather confusing (e.g. U-Boot SPL instead of pervasive in tutorials X-Loader).
What exactly is my problem now:
Need network via USB-Ethernet in U-Boot(2012.07). I think that it is necessary to build U-Boot with changes suggested in README.usb from U-Boot docs. Thanks adding Vendor and Product ID in drivers/usb/eth/asix.c U-Boot see my dongle when it is connected to EHCI port, but still not when connected via USB HUB to OTG port. I’m not sure about this in /board/ti/beagle file:
#define CONFIG_USB_HOST_ETHER /* Enable USB Ethernet adapters /
#define CONFIG_USB_ETHER_ASIX / Asix, or whatever driver(s) you want */
#define CONFIG_IPADDR 192.168.0.9 (replace with your value)
#define CONFIG_SERVERIP 192.168.0.2 (replace with your value)
#define CONFIG_BOOTFILE “uImage”
But after these changes in U-Boot source and with environment variables in U-Boot like this:
Network seems still doesn’t work:
OMAP3 beagleboard.org # ping 192.168.0.2 ping failed; host 192.168.0.2 is not alive
It is in situation when USB-Ethernet dongle is connected by crossed cable to my notebook, where on Ubuntu is network created with IP: 192.168.0.2 and netmask:255.255.255.0.
Finally the USB-Ethernet adapter base on ASIX MCS7830. I know that U-Boot supports ASIX and SMSC 95xx chips.
W dniu niedziela, 19 sierpnia 2012 16:31:18 UTC+2 użytkownik valdez napisał: