Hi,
On 21/08/15 01:23, [email protected] wrote:
> Welcome,
>
> As for the beggining i would like to say tha im new to BeagleBoard enviroment
> , so please be patient.
> I`m really curious if it is possible to use external USB hard drive (with own
> power supply) to use as main drive after boot sequence on BeagleBoard Black
> rev c.
> I tried to follow up those instructions :
> https://lumpynose.wordpress.com/2014/02/10/beaglebone-black-usb-hard-drive-boot-setup/
> but they seem to be a little bit outdated sadly ...
> For now i have used following image flashed into eMMC :
> https://rcn-ee.com/rootfs/2015-08-17/flasher/BBB-eMMC-flasher-debian-8.1-console-armhf-2015-08-17-2gb.img.xz
>
> Any help with that matter would be much appreciated
Do you have the kernel and rootfs on the usb hard-disk or only the rootfs?
In either case you need to modify the u-boot startup environment to
1) start usb
"usb start"
2) load kernel from usb drive to dram (if kernel is located on usb disk)
"ext4load scsi 0:2 ${loadaddr} /boot/zImage"
assuming the kernel image is in 2nd partition which is ext4 type and located at
/boot/zImage.
3) load DT from usb drive to dram
"ext4load scsi 0:2 ${fdtaddr} /boot/am335x-boneblack.dtb
assuming the DT blob is in 2nd partition which is ext4 type and located at
/boot/am335x-boneblack.dtb.
4) update linux boot arguments "bootargs" to point to the right rootfs dev.
e.g. (root=/dev/sda2)
"setenv bootargs console=${console} ${optargs} root=/dev/sda2"
5) stop usb
"usb stop"
6) boot the kernel.
"bootz ${loadaddr} - ${fdtaddr}
Good luck!
cheers,
-roger
>
> --
> 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]
> <mailto:[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.