發表文章

目前顯示的是有「beaglebone」標籤的文章

BBB expand sd card space

圖片
I use a 8G uSD with debian image of 4G, when I run mavproxy, it shows not enough space, since the whole system is at 3.3G some thing.... I checked the beaglebone web site about expanding sd card, this is not correct... http://elinux.org/Beagleboard:Expanding_File_System_Partition_On_A_microSD Another link does the job: http://dev.iachieved.it/iachievedit/expanding-your-beaglebone-microsd-filesystem/ There are a number of tutorials out there that show you how to expand a BeagleBone Black microSD-based filesystem. Most of them were written, however, when the delivered image from  BeagleBoard.org  contained two partitions: one a FAT partition, the other your standard Linux partition. The aim of this post is to show you that indeed, you have nothing to fear expanding your BeagleBone Black partition even though there is only one (if you’re like us you get a little nervous when someone asks you to delete the partition you booted in). Let’s get started. We’re using the  Debian

Auto start a Python service on beaglebone angustrom

after making several python web service, I wish to have the web service starts when power on beaglebone, this link is the reference: http://stackoverflow.com/questions/11152657/angstrom-start-up-processes-beaglebone example: Go in to /lib/systemd/system/ and open  the bone101.service, this is a service file for 101 stuff. so we have to create our service I have a PyBBIO web service stuff named as u4glass_tank.py saved as glass_tank.service [Unit] Description=Python glass tank web service [Service] WorkingDirectory=/home/root/PyBBIO/examples ExecStart=/usr/bin/python u4glass_tank.py [Install] WantedBy=multi-user.target Then go to terminal do the following: systemctl enable glass_tank.service To start the service, you can reboot or execute systemctl start glass_tank.service To check if the service is running and get the latest outputs from the script: root@beaglebone:~# systemctl status glass_tank.service in terminal it would return like this: glas