On Tue, Apr 29, 2014 at 8:30 AM, Bradley Matusiak <[email protected]>wrote:

> i had a dream last night,  i was booting a OS on a Desktop, from my
> beaglebone's  usb client's  flash,,  is then even possible?
>

What an interesting idea. It is possible as the BIOS on many desktop
machines allow for booting from a USB drive. The format of the eMMC/uSD on
your BeagleBone would need to change to have it hold a bootable operating
system image for your desktop.

https://help.ubuntu.com/community/Installation/FromUSBStick is one example
of bootable images.

Note that you'd still need to somehow boot your BeagleBone into a mode
where it serves up the flash image. If you are powering the BeagleBone off
of the USB power from the desktop, you'll need to find some way to delay
the boot of the desktop until the BeagleBone finishes booting and starts
serving up the drive image.

I imagine the easiest way using a BeagleBone Black would be to:
a) put the desktop image on a uSD card
b) alter the BeagleBone software configuration to serve up the uSD card (or
a file on the uSD card) instead of the partition on the eMMC

The place where (b) is currently done is in /opt/scripts/boot/am335x_evm.sh,
sourced from [1] called from [2]:

modprobe g_multi file=${gadget_partition} cdrom=0 stall=0 removable=1 nofua=1
iSerialNumber=${SERIAL_NUMBER} iManufacturer=Circuitco iProduct=BeagleBone${
BLACK} host_addr=${cpsw_1_mac}

${gadget_partition} says where the file/partition is that is shared. You
might need to change the "cdrom=0" line as well as you might need to make
the image look like a CD-ROM for it to be bootable, but I'd have to
research that a bit more.

Hope this is helpful. Please let us all know what success you have if you
try this.

[1]
https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh#L76
[2]
https://github.com/beagleboard/image-builder/blob/master/target/init_scripts/generic-debian.sh#L52


>
>
>
>
>
>
>  --
> For more options, visit http://beagleboard.org/discuss
> ---
> You received this message because you are subscribed to the Google Groups
> "BeagleBoard" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to