2f2e52e9 |
1 | * todo |
2 | * add hostname and user in image type configuration |
3 | * mdns avahi zeroconf bonjour not work? maybe wrong hostname |
4 | * confirm that the only real problem was incorrect user and hostname |
5 | * maybe http://elinux.org/RPi_Advanced_Setup search 'avahi' |
6 | * also https://stackoverflow.com/questions/10537816/cannot-connect-to-beaglebone-local |
7 | * set time on beagleboard based on host system time |
8 | * set timezone on beagleboard based on host system timezone |
9 | * get network up and running, share network through host system |
10 | * do this during bbb boot |
11 | * make a ~/bin dir, add it to path |
12 | * add full-update.bash to ~/bin |
13 | * initial setup on beaglebone should do |
14 | * sudo aptitude install -y v4l-utils # for v4l2-ctl |
15 | * sudo aptitude install pkg-config # for compiling |
16 | * for opencv: |
dc4d07d0 |
17 | * sudo aptitude install -y libopencv-dev |
18 | * check whether libopencv-dev is the only package necessary |
2f2e52e9 |
19 | * add ssh key to bbb image to make sshing easier |
dc4d07d0 |
20 | ** trying to compile grabber.c from derek molloy |
21 | *** problem |
22 | **** what i did |
23 | gcc -O2 -Wall `pkg-config --cflags --libs libv4l2` grabber.c -o grabber |
24 | |
25 | **** what i expected |
26 | compilation finishes and i can run grabber |
27 | |
28 | **** what actually happened |
29 | Package libv4l2 was not found in the pkg-config search path. |
30 | |
31 | **** potential solution |
32 | sudo aptitude install -y libv4l-dev |
33 | |
34 | ***** did it work? |
35 | * retrying compile |
36 | * compile finished, created grabber! |
37 | |
38 | ** another problem, getting image from camera failed |
39 | *** problem |
40 | **** what i did |
41 | after compiling grabber, tried to run it |
42 | |
43 | **** what i expected |
44 | grab images and maybe there would be a picture in the current directory |
45 | |
46 | **** what actually happened |
47 | grabber ran for a bit and output the following: |
48 | |
49 | "Warning: driver is sending image at 1280x720" |
50 | |
51 | after waiting for a bit, killed grabber with C-c. no picture in the |
52 | current directory |
53 | |
54 | **** possible solution |
55 | * read source of grabber.c and look for anything out of |
56 | ordinary. |
57 | * saw that frame size was hard coded to 1920x1080 |
58 | * redid code to 640x480. recompiled the code |
59 | * ran it, got no terminal output |
60 | * killed it with C-c after a bit |
61 | * saw grabber000.ppm |
62 | |
2f2e52e9 |
63 | * doing |
64 | * maybe just go with debian 8.2 |
65 | * systematically try all the images on all the boards |
66 | * debian 8.3 lxde, debian 7.9 lxde, debian 7.9 console, |
67 | debian 8.2 console 2016-01-14 |
68 | * BBB-eMMC-flasher-debian-7.9-console-armhf-2015-11-03-2gb.img |
69 | * flashes BBB and BBG |
70 | * leaves the board accessible via 192.168.7.2 |
71 | * unable to get to board with beaglebone.local |
72 | * debian 8.2 console 2016-01-14 |
73 | * username:debian |
74 | * pw:temppwd |
75 | * BBG |
76 | * flashes |
77 | * boots after flash |
78 | * no beaglebone.local |
79 | * yes debian@192.168.7.2 |
80 | * BBB |
81 | * flashes |
82 | * boots after flash |
83 | * no beaglebone.local |
84 | * yes debian@192.168.7.2 |
85 | * debian 8.3 lxde |
86 | * username:root |
87 | * pw: |
88 | * BBG |
89 | * flashes |
90 | * boots after flash |
91 | * yes beaglebone.local |
92 | * yes 192.168.7.2 |
93 | * BBB |
94 | * flashes |
95 | * boots after flash via power button, no need to pull usb cable |
96 | * no 192.168.7.2 |
97 | * no beaglebone.local |
98 | * done |