How to install the usb0 network adapter

96 views
Skip to first unread message

bremenpl

unread,
Sep 30, 2014, 4:26:18 AM9/30/14
to beagl...@googlegroups.com
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.

Robert Nelson

unread,
Sep 30, 2014, 5:30:20 AM9/30/14
to Beagle Board
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,

--
Robert Nelson
http://www.rcn-ee.com/

Bremenpl

unread,
Sep 30, 2014, 5:55:54 AM9/30/14
to beagl...@googlegroups.com
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:
Bremenpl

Bremenpl

unread,
Sep 30, 2014, 6:04:14 AM9/30/14
to beagl...@googlegroups.com
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:
Bremenpl

Bremenpl

unread,
Sep 30, 2014, 6:38:42 AM9/30/14
to beagl...@googlegroups.com
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:
Bremenpl

Robert Nelson

unread,
Sep 30, 2014, 7:28:39 AM9/30/14
to Beagle Board


On Sep 30, 2014 5:38 AM, "Bremenpl" <brem...@gmail.com> wrote:
>
> 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

>
>
> W dniu 2014-09-30 11:30, Robert Nelson pisze:
>>
>> On Tue, Sep 30, 2014 at 3:26 AM, bremenpl <brem...@gmail.com> wrote:
>>
>>> 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,
>>
>
> --
> Bremenpl
>
>

> --
> 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 beagleboard...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

Bremenpl

unread,
Sep 30, 2014, 7:45:50 AM9/30/14
to beagl...@googlegroups.com
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.

W dniu 2014-09-30 13:28, Robert Nelson pisze:
You received this message because you are subscribed to a topic in the Google Groups "BeagleBoard" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beagleboard/fEJt8vwU7Gc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beagleboard...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

-- 
Bremenpl

Robert Nelson

unread,
Sep 30, 2014, 7:50:07 AM9/30/14
to Beagle Board
On Tue, Sep 30, 2014 at 6:48 AM, Bremenpl <brem...@gmail.com> wrote:
> 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...

Bremenpl

unread,
Sep 30, 2014, 7:56:40 AM9/30/14
to beagl...@googlegroups.com
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:
Bremenpl

Robert Nelson

unread,
Sep 30, 2014, 8:03:19 AM9/30/14
to Beagle Board
On Tue, Sep 30, 2014 at 6:59 AM, Bremenpl <brem...@gmail.com> wrote:
> 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?

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..)

Bremenpl

unread,
Sep 30, 2014, 8:04:52 AM9/30/14
to beagl...@googlegroups.com
I will try this out, thank you a lot for all your help.

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

Bremenpl

unread,
Sep 30, 2014, 8:51:53 AM9/30/14
to beagl...@googlegroups.com
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:
Bremenpl

Reply all
Reply to author
Forward
0 new messages