How to install the usb0 network adapter

Hello there,
Recently I have flashed my beaglebone black re C with the console image ( http://elinux.org/Beagleboard:BeagleBoneBlack_Debian#2014-09-03 ). The problem I have run into is that:
Power Button doesnt work,
There is No USB0 network adapter like in standard beaglebone black image. Also the little flash disk is not present as well on the host side.

I have managed to resolve the 1st issue by this script, but I am not sure either it is sufficient:
https://clarenceho.net/blog/articles/2013/09/14/using-the-power-button-on-beaglebone-black-for-shutdown

As for the second one, I have no idea how to install the network adapter with the flash space.
I would really aprichiate any help here, Those options are crussial for my application.

The startup script is here:

https://github.com/RobertCNelson/boot-scripts/blob/master/boot/am335x_evm.sh

it needs to be placed in:

/opt/scripts/boot/

you will also need to install "udhcpd"...

Regards,

Thank you Robert,
Everything seems to work but one thing. In my previous image I could find the usb location under boot/uboot. Now if I go there in console its empty, even though I can see it mounted on my PC and there are files there. Do you know what could be the case here?

W dniu 2014-09-30 11:30, Robert Nelson pisze:

Nvm I found out that there is no entry in fstab to mount it. Thanks.

W dniu 2014-09-30 11:30, Robert Nelson pisze:

Robert,
I just noticed that in the console image when i mount up the mmcblk0p1 that means I am mounting whole filesystem of the beaglebone on the usb. Could you explain me how can I create a custom flash space formatted in ie. fat32 and make it avaible on usb? This is new to me, because in the regular image there was the fat partition of about 100MB under mmcblk0p1.

W dniu 2014-09-30 11:30, Robert Nelson pisze:

Robert,
I just noticed that in the console image when i mount up the mmcblk0p1 that means I am mounting whole filesystem of the beaglebone on the usb. Could you explain me how can I create a custom flash space formatted in ie. fat32 and make it avaible on usb? This is new to me, because in the regular image there was the fat partition of about 100MB under mmcblk0p1.

You know for the level of customization you seem to need. Neither of my images are going to work for you… Just use my guide here and setup everything you need.

http://eewiki.net/display/linuxonarm/BeagleBone+Black

Thank you for the link. After reading this guide I think it has to few steps for me. I am not good enough for it to fully understand it.

Well for the number of customization you need, now is a good time to learn.

We "don't" build "your" image, we simply give you the tools to "build"
"your" image...

Regards,

I understand and I dont want you to, I aprichiate the tools given. For now I have placed the base image inside and using apt-get remove deleted the lighdm to make the image a bit lighter. I dont hide that the console image works a lot faster, the only thing missing there for me is the usb flash feature. Is it possible to add this feature on an existing image?

W dniu 2014-09-30 13:50, Robert Nelson pisze:

sure download:

https://rcn-ee.net/deb/testing/2014-09-04/console/debian-7.6-console-armhf-2014-09-04.tar.xz

untar and run:

sudo ./setup_sdcard.sh --img-2gb BBB-eMMC-flasher --dtb beaglebone
--boot_label BEAGLEBONE --rootfs_label eMMC-Flasher --enable-systemd
--bbb-flasher --bbb-old-bootloader-in-emmc
--beagleboard.org-production

This will create a dd'able image you can dd to the microSD to flash
the eMMC.. It'll contain a 100mb fat partition
(--beagleboard.org-production add's it..)

Regards,

I will try this out, thank you a lot for all your help.

W dniu 2014-09-30 14:03, Robert Nelson pisze:

Hello again Robert,
Everything seems to be working, I cant find my usb-> uart converter so ill look at home and try it tommorow. Could only for the last thing tell me, either there is any official written by you way to enable the power button?

W dniu 2014-09-30 14:03, Robert Nelson pisze: