Skip to contentSkip to conversation

Is barebox support usb mass storeage?

DISCUSSION DU HUANPENG 3 participants 4 messages May 12, 2016 – May 13, 2016

lore
Share & tools
lore
#1 lore raw
Quoted 1 line

Hi, is barebox now supports load images from usb disk?

better-> Hi, does barebox now support load images from USB?

Yes, this is supported. At least for my hardware (i.MX6).

Basically you first need to detect the USB stick. After this you mount it and specify the path to vmlinuz, initrd, dtb etc like you'd when you boot from eMMC or SD-Card.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#2 lore raw
Quoted 3 lines · Holger Schurig
Quoted 1 line

Hi, is barebox now supports load images from usb disk?

better-> Hi, does barebox now support load images from USB?

thank you. :)

Quoted 3 lines

Yes, this is supported. At least for my hardware (i.MX6).

I need to make my bootloader supports load image from USB disk, what documents should i read?

Quoted 5 lines

Basically you first need to detect the USB stick. After this you mount it and specify the path to vmlinuz, initrd, dtb etc like you'd when you boot from eMMC or SD-Card.

...
duhuanpeng.
u74147@gmai1.com

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#3 lore raw
Quoted 10 lines · DU HUANPENG
Quoted 3 lines · Holger Schurig
Quoted 1 line

Hi, is barebox now supports load images from usb disk?

better-> Hi, does barebox now support load images from USB?

thank you. :)

Quoted 3 lines

Yes, this is supported. At least for my hardware (i.MX6).

I need to make my bootloader supports load image from USB disk, what documents should i read?

http://barebox.de/doc/latest/user/usb.html?highlight=usb

This is for the user documentation. There is no developer documentation, for that you have to read the code. Basically you have to register your USB host device with barebox... and write (port, adopt) the USB host driver for your device. Which SoC are we talking about?

Sascha

Signature · 9 lines
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox