LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   Barebox on Phytec usb drive detection (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/barebox-on-phytec-usb-drive-detection-4175612470/)

GeneCode 08-23-2017 12:24 AM

Barebox on Phytec usb drive detection
 
I am using Phytec as a "CPU" module and has USB port connected. On the bootloader, it uses Barebox, then the OS runs busybox. On busybox this USB drive works fine. But when I am on barebox the usb is not detecting.

In barebox doc, it says to use command "usb" but I am only getting:
USB: scanning bus for devices...
0 USB Device(s) found


I am quite new to Linux and embedded, any help would be appreciated.

business_kid 08-23-2017 01:11 PM

You haven't anything loaded, even a kernel, when barebox is running. So you're down to what capabilities the Phytec board has built in. The old adage stands:
Quote:

When all else fails, read the instructions
How does the manual say the phytec board should boot?

GeneCode 08-27-2017 08:08 PM

Quote:

Originally Posted by business_kid (Post 5751338)
You haven't anything loaded, even a kernel, when barebox is running. So you're down to what capabilities the Phytec board has built in. The old adage stands:

How does the manual say the phytec board should boot?

I just got an answer from Phytec that the barebox version im running does not support usb.
so that's that :\

jefro 08-27-2017 09:14 PM

Thanks for the update.

When they mean bare box they really mean it I guess. Must be micro OS.

!!! 08-27-2017 11:09 PM

It's a bootloader. Tho grub/efi is sort of a "micro OS" :D

business_kid 08-28-2017 03:05 AM

before usb, we used to use eproms & sdcards on embedded stuff. Eproms were 8 bit, but you could parallel them (bits 0-7 & 8-15). Did Phytec tell you what exactly the thing did support?

GeneCode 08-28-2017 10:08 PM

Quote:

Originally Posted by business_kid (Post 5752737)
before usb, we used to use eproms & sdcards on embedded stuff. Eproms were 8 bit, but you could parallel them (bits 0-7 & 8-15). Did Phytec tell you what exactly the thing did support?

Yep. The barebox version im using only supports sd card. So we're going to use that for now.
Their latest barebox version do support usb though. We are considering to update to latest version soon.


All times are GMT -5. The time now is 01:29 PM.