Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable RNDIS support #27

Open
xralphack opened this issue May 3, 2019 · 9 comments
Open

enable RNDIS support #27

xralphack opened this issue May 3, 2019 · 9 comments

Comments

@xralphack
Copy link

Hi, I want to enable RNDIS in U-Boot. So I find your project.
I can not find RNDIS settings in U-Boot menuconfig.
How do you achieve this?

@ravikp7
Copy link
Owner

ravikp7 commented May 3, 2019

Hey, do you want to enable RNDIS in U-Boot for BeagleBone hardware?

@xralphack
Copy link
Author

Yes, I use BeagleBone green wireless.
So I want to enable RNDIS to use TFTP.

@ravikp7
Copy link
Owner

ravikp7 commented May 3, 2019

Did you check out the u-boot binary build instructions?

@xralphack
Copy link
Author

Yes, I did check out the patch file.
I have no experience on usb driver, so still confused.

@ravikp7
Copy link
Owner

ravikp7 commented May 3, 2019

What TFTP client you're using?
I didn't have to deal with usb driver as the node script is using libusb to capture raw usb packets and handle the usb device

@xralphack
Copy link
Author

I want to use TFTP command in uboot to download file.
I run a TFTP server on ubuntu vm.

@ravikp7
Copy link
Owner

ravikp7 commented May 3, 2019

You can also use this project as a TFTP server for your board.
Just put the required files to be transferred in `./bin' directory.
Issue a TFTP command from uboot and this will work.

@ravikp7
Copy link
Owner

ravikp7 commented May 3, 2019

Here are the detailed instructions:

  1. Compile u-boot binary as per the instructions, you can skip enabling the mass storage mode, if not going to use that. Put them in ./bin
  2. Install and run npm start and choose Bootloader server.
  3. Connect the board to PC holding the S2 switch.
  4. Keep a serial cable also connected to issue commands in uboot console.
  5. When the board starts booting, press any key to enter the uboot console.
  6. Issue the TFTP commands. Files to be transferred via TFTP should also be put in ./bin

This way you can skip handling the usb drivers for your system. Just make sure to have the pre-requisite packages installed. Let me know if you need more help

@xralphack
Copy link
Author

I will try it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants