Advertisement
ungureanuvladvictor

Untitled

Jun 26th, 2013
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.90 KB | None | 0 0
  1. Tartarus: ping
  2. Tartarus
  3. vvu, pong
  4. mnt_real has joined (~mnt_real@bas1-montreal43-2925258631.dsl.bell.ca)
  5. vvu
  6. i`m trying to connect u-boot on the BBB to my android device and read the bootp requests. when i type bootp in u-boot it starts the rndis stuff and i get http://pastebin.com/H6xns7P9
  7. Tartarus
  8. Right
  9. vvu
  10. with what does the phone needs to respond ?
  11. Tartarus
  12. So, have you tried with a regular linux box on the other side?
  13. tjagad has left IRC (Ping timeout: 256 seconds)
  14. vvu
  15. yep
  16. Tartarus
  17. Get it working there?
  18. vvu
  19. yep, but that linux box had rndis driver on it
  20. Tartarus
  21. Right
  22. vvu
  23. my android device does not have driver for rndis
  24. Tartarus
  25. So, what's going on with that error is that the android side didn't answer in time
  26. vvu
  27. (get_timer(ts) > timeout); timeout being the USB_CONNECT_TIMEOUT
  28. vvu
  29. was looking in ether.c
  30. Tartarus
  31. Right
  32. Tartarus
  33. You'll need to whack RNDIS support into the android side I believe
  34. vvu
  35. with what does my android need to respond? it needs to set up the usb connection ?
  36. Tartarus
  37. Yes
  38. vvu
  39. ah so my android does not have nothing to set up, doesn`t understand things there right ?
  40. Tartarus
  41. Well, the android device needs to do the other side of usb gadget ethernet support
  42. Tartarus
  43. I'd be more specific but I've not dwelled deeply on the code in question :)
  44. vvu
  45. mhmh know any contact person who i should bug a bit about this ?
  46. Tartarus
  47. not off-hand, but we use the kernel driver here too
  48. Tartarus
  49. So anything you dig up about dealing with USB RNDIS in general should be true here
  50. Tartarus
  51. and in your case, the hard part I suspect will be having to write the USB RNDIS driver in userland in Android
  52. vvu
  53. okok i think i need to dig a bit into android kernels with rndis support
  54. Tartarus
  55. if you aren't allowed to say "custom kernel is required"
  56. Tartarus
  57. Right
  58. vvu
  59. for the project custom kernel is needed, remove OTG support
  60. vvu
  61. to see the ROM enumarating good
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement