Created
August 9, 2017 22:56
-
-
Save Ashoat/ed0df87a9af160018ffdab9828241b06 to your computer and use it in GitHub Desktop.
ledscape installation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ashoat@Ashoats-MacBook-Pro [~/Dropbox/src/LEDscape]# sudo dd if=~/Downloads/ledscape-arch-linux.img of=/dev/rdisk2 bs=4m | |
Password: | |
1024+0 records in | |
1024+0 records out | |
4294967296 bytes transferred in 275.179716 secs (15607863 bytes/sec) | |
ashoat@Ashoats-MacBook-Pro [~/Dropbox/src/LEDscape]# ssh [email protected] | |
[email protected]'s password: | |
[ 10:41PM ] [ ledscape@ledscape:~ ] | |
$ sudo /home/ledscape/LEDscape/install-to-emmc.sh ledscape.local 192.168.1.8 | |
About to setup this beaglebone to be ledscape.local (192.168.1.8) | |
This will ERASE the contents of eMMC. Ctrl-C to stop, enter to contiue... | |
Erasing eMMC... | |
16+0 records in | |
16+0 records out | |
16777216 bytes (17 MB, 16 MiB) copied, 1.42255 s, 11.8 MB/s | |
Partitioning eMMC... | |
Formatting eMMC... | |
mke2fs 1.43.4 (31-Jan-2017) | |
Discarding device blocks: done | |
Creating filesystem with 953344 4k blocks and 238560 inodes | |
Filesystem UUID: d5cbdc74-e611-40e7-92f7-9c479069dae4 | |
Superblock backups stored on blocks: | |
32768, 98304, 163840, 229376, 294912, 819200, 884736 | |
Allocating group tables: done | |
Writing inode tables: done | |
Creating journal (16384 blocks): done | |
Writing superblocks and filesystem accounting information: done | |
Mounting eMMC... | |
Rsyncing System... | |
/bin... | |
/boot... | |
/etc... | |
/lib... | |
/opt... | |
/root... | |
/sbin... | |
/srv... | |
/usr... | |
/var... | |
/home... | |
Setting Hostname... | |
Setting IP Address... | |
Setting up fstab... | |
Installing Bootloader... | |
0+1 records in | |
0+1 records out | |
66496 bytes (66 kB, 65 KiB) copied, 0.00630379 s, 10.5 MB/s | |
1+1 records in | |
1+1 records out | |
393564 bytes (394 kB, 384 KiB) copied, 0.026389 s, 14.9 MB/s | |
Success! | |
[ 10:45PM ] [ ledscape@ledscape:~ ] | |
$ halt | |
Failed to talk to init daemon. | |
[ 10:47PM ] [ ledscape@ledscape:~ ] | |
$ sudo halt | |
Connection to 192.168.1.8 closed by remote host. | |
Connection to 192.168.1.8 closed. | |
ashoat@Ashoats-MacBook-Pro [~/Dropbox/src/LEDscape]# ssh [email protected] | |
[email protected]'s password: | |
[ 10:49PM ] [ ledscape@ledscape:~ ] | |
$ remount-rw.sh | |
[ 10:49PM ] [ ledscape@ledscape:~ ] | |
$ cd LEDscape | |
[ 10:49PM ] [ ledscape@ledscape:~/LEDscape(spi-cape-support✗) ] | |
$ git checkout . && git checkout master | |
Switched to branch 'master' | |
Your branch is up-to-date with 'origin/master'. | |
[ 10:49PM ] [ ledscape@ledscape:~/LEDscape(master✗) ] | |
$ rm ./pru/mappings/lap-pru22-v1.json | |
[ 10:49PM ] [ ledscape@ledscape:~/LEDscape(master✗) ] | |
$ make clean && make | |
rm -rf \ | |
*.o \ | |
*.i \ | |
.*.o.d \ | |
*~ \ | |
/*~ \ | |
opc-server \ | |
*.bin \ | |
lib/cesanta/.*.o.d \ | |
lib/cesanta/*.i \ | |
lib/cesanta/*.o \ | |
pru/generated \ | |
pru/bin \ | |
ledscape.service | |
cd am335x/app_loader/interface && make clean | |
make[1]: Entering directory '/home/ledscape/LEDscape/am335x/app_loader/interface' | |
rm -rf release debug *~ ../lib/* | |
make[1]: Leaving directory '/home/ledscape/LEDscape/am335x/app_loader/interface' | |
cd am335x/pasm && make clean | |
make[1]: Entering directory '/home/ledscape/LEDscape/am335x/pasm' | |
rm -f -f *.o pasm | |
make[1]: Leaving directory '/home/ledscape/LEDscape/am335x/pasm' | |
gcc -std=c99 -W -Wall -D_BSD_SOURCE -Wp,-MMD,./.opc-server.o.d -Wp,-MT,opc-server.o -I. -O2 -lm -mtune=cortex-a8 -march=armv7-a -Wunused-parameter -DNS_ENABLE_IPV6 -Wunknown-pragmas -Wsign-compare -I./am335x/app_loader/include -c -o opc-server.o opc-server.c | |
In file included from /usr/include/stdio.h:27:0, | |
from opc-server.c:4: | |
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] | |
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | |
^~~~~~~ | |
opc-server.c:43:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic push | |
opc-server.c:44:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic ignored "-Wmissing-noreturn" | |
opc-server.c:45:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic push | |
opc-server.c:46:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic ignored "-Wunused-parameter" | |
opc-server.c:339:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] | |
{NULL, false, false}, | |
^~~~ | |
opc-server.c:339:3: note: (near initialization for 'g_threads.render_thread.handle') | |
opc-server.c:340:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] | |
{NULL, false, false}, | |
^~~~ | |
opc-server.c:340:3: note: (near initialization for 'g_threads.tcp_server_thread.handle') | |
opc-server.c:341:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] | |
{NULL, false, false}, | |
^~~~ | |
opc-server.c:341:3: note: (near initialization for 'g_threads.udp_server_thread.handle') | |
opc-server.c:342:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] | |
{NULL, false, false}, | |
^~~~ | |
opc-server.c:342:3: note: (near initialization for 'g_threads.e131_server_thread.handle') | |
opc-server.c:343:3: warning: initialization makes integer from pointer without a cast [-Wint-conversion] | |
{NULL, false, false} | |
^~~~ | |
opc-server.c:343:3: note: (near initialization for 'g_threads.demo_thread.handle') | |
opc-server.c: In function 'main': | |
opc-server.c:728:17: warning: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] | |
pthread_create(&g_threads.render_thread, NULL, render_thread, NULL); | |
^ | |
In file included from lib/cesanta/net_skeleton.h:84:0, | |
from opc-server.c:26: | |
/usr/include/pthread.h:233:12: note: expected 'pthread_t * restrict {aka long unsigned int * restrict}' but argument is of type 'thread_state_lt * {aka struct <anonymous> *}' | |
extern int pthread_create (pthread_t *__restrict __newthread, | |
^~~~~~~~~~~~~~ | |
opc-server.c:729:17: warning: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] | |
pthread_create(&g_threads.udp_server_thread, NULL, udp_server_thread, NULL); | |
^ | |
In file included from lib/cesanta/net_skeleton.h:84:0, | |
from opc-server.c:26: | |
/usr/include/pthread.h:233:12: note: expected 'pthread_t * restrict {aka long unsigned int * restrict}' but argument is of type 'thread_state_lt * {aka struct <anonymous> *}' | |
extern int pthread_create (pthread_t *__restrict __newthread, | |
^~~~~~~~~~~~~~ | |
opc-server.c:730:17: warning: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] | |
pthread_create(&g_threads.tcp_server_thread, NULL, tcp_server_thread, NULL); | |
^ | |
In file included from lib/cesanta/net_skeleton.h:84:0, | |
from opc-server.c:26: | |
/usr/include/pthread.h:233:12: note: expected 'pthread_t * restrict {aka long unsigned int * restrict}' but argument is of type 'thread_state_lt * {aka struct <anonymous> *}' | |
extern int pthread_create (pthread_t *__restrict __newthread, | |
^~~~~~~~~~~~~~ | |
opc-server.c:731:17: warning: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] | |
pthread_create(&g_threads.e131_server_thread, NULL, e131_server_thread, NULL); | |
^ | |
In file included from lib/cesanta/net_skeleton.h:84:0, | |
from opc-server.c:26: | |
/usr/include/pthread.h:233:12: note: expected 'pthread_t * restrict {aka long unsigned int * restrict}' but argument is of type 'thread_state_lt * {aka struct <anonymous> *}' | |
extern int pthread_create (pthread_t *__restrict __newthread, | |
^~~~~~~~~~~~~~ | |
opc-server.c:735:18: warning: passing argument 1 of 'pthread_create' from incompatible pointer type [-Wincompatible-pointer-types] | |
pthread_create(&g_threads.demo_thread, NULL, demo_thread, NULL); | |
^ | |
In file included from lib/cesanta/net_skeleton.h:84:0, | |
from opc-server.c:26: | |
/usr/include/pthread.h:233:12: note: expected 'pthread_t * restrict {aka long unsigned int * restrict}' but argument is of type 'thread_state_lt * {aka struct <anonymous> *}' | |
extern int pthread_create (pthread_t *__restrict __newthread, | |
^~~~~~~~~~~~~~ | |
opc-server.c: In function 'server_config_from_json': | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1022:56: note: in expansion of macro 'mint' | |
strlcpy(output_config->output_mode_name, token->ptr, mint(int32_t, sizeof(g_server_config.output_mode_name), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1026:59: note: in expansion of macro 'mint' | |
strlcpy(output_config->output_mapping_name, token->ptr, mint(int32_t, sizeof(g_server_config.output_mode_name), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1030:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1035:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1040:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1045:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1050:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1055:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1060:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1065:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1070:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1075:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1080:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1085:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c:53:48: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define mint(t, a, b) ((t) (a) < (t) (b) ? (a) : (b)) | |
^ | |
opc-server.c:1090:36: note: in expansion of macro 'mint' | |
strlcpy(token_value, token->ptr, mint(int32_t, sizeof(token_value), token->len + 1)); | |
^~~~ | |
opc-server.c: In function 'ensure_frame_data': | |
opc-server.c:1197:56: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'uint32_t {aka unsigned int}' [-Wformat=] | |
fprintf(stderr, "Allocating buffers for %d pixels (%lu bytes)\n", led_count, led_count * 3 /*channels*/ * 4 /*buffers*/ * sizeof(uint16_t)); | |
^ | |
opc-server.c: In function 'demo_thread': | |
opc-server.c:1678:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic ignored "-Wmissing-noreturn" | |
opc-server.c:1762:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic pop | |
opc-server.c: In function 'e131_server_thread': | |
opc-server.c:1849:2: warning: missing initializer for field 'sin6_scope_id' of 'struct sockaddr_in6' [-Wmissing-field-initializers] | |
}; | |
^ | |
In file included from opc-server.c:14:0: | |
/usr/include/netinet/in.h:260:14: note: 'sin6_scope_id' declared here | |
uint32_t sin6_scope_id; /* IPv6 scope-id */ | |
^~~~~~~~~~~~~ | |
opc-server.c:50:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
#define min(a, b) ((a) < (b) ? (a) : (b)) | |
^ | |
opc-server.c:1913:7: note: in expansion of macro 'min' | |
min(received_packet_size - 126, led_count * sizeof(buffer_pixel_t)) | |
^~~ | |
opc-server.c:50:36: warning: signed and unsigned type in conditional expression [-Wsign-compare] | |
#define min(a, b) ((a) < (b) ? (a) : (b)) | |
^ | |
opc-server.c:1913:7: note: in expansion of macro 'min' | |
min(received_packet_size - 126, led_count * sizeof(buffer_pixel_t)) | |
^~~ | |
opc-server.c: In function 'udp_server_thread': | |
opc-server.c:1990:2: warning: missing initializer for field 'sin6_scope_id' of 'struct sockaddr_in6' [-Wmissing-field-initializers] | |
}; | |
^ | |
In file included from opc-server.c:14:0: | |
/usr/include/netinet/in.h:260:14: note: 'sin6_scope_id' declared here | |
uint32_t sin6_scope_id; /* IPv6 scope-id */ | |
^~~~~~~~~~~~~ | |
opc-server.c:2004:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (rc >= sizeof(opc_cmd_t)) { | |
^~ | |
opc-server.c:2011:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] | |
if (rc >= sizeof(opc_cmd_t) + cmd_len) { | |
^~ | |
opc-server.c: In function 'event_handler': | |
opc-server.c:2039:79: warning: unused parameter 'event_param' [-Wunused-parameter] | |
static void event_handler(struct ns_connection *conn, enum ns_event ev, void *event_param) { | |
^~~~~~~~~~~ | |
opc-server.c: At top level: | |
opc-server.c:2130:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic pop | |
opc-server.c:2131:0: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] | |
#pragma clang diagnostic pop | |
In file included from opc-server.c:24:0: | |
ledscape.h:102:20: warning: inline function 'ledscape_pixel_set_color' declared but never defined | |
extern inline void ledscape_pixel_set_color( | |
^~~~~~~~~~~~~~~~~~~~~~~~ | |
ledscape.h:92:20: warning: inline function 'ledscape_set_color' declared but never defined | |
extern inline void ledscape_set_color( | |
^~~~~~~~~~~~~~~~~~ | |
opc-server.c: In function 'render_thread': | |
opc-server.c:1470:39: warning: 'inv_frame_progress16' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
interpolatedR = (pixel_in_prev->r*inv_frame_progress16 + pixel_in_current->r*frame_progress16) >> 8; | |
~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ | |
opc-server.c:1470:82: warning: 'frame_progress16' may be used uninitialized in this function [-Wmaybe-uninitialized] | |
interpolatedR = (pixel_in_prev->r*inv_frame_progress16 + pixel_in_current->r*frame_progress16) >> 8; | |
~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ | |
gcc -std=c99 -W -Wall -D_BSD_SOURCE -Wp,-MMD,./.ledscape.o.d -Wp,-MT,ledscape.o -I. -O2 -lm -mtune=cortex-a8 -march=armv7-a -Wunused-parameter -DNS_ENABLE_IPV6 -Wunknown-pragmas -Wsign-compare -I./am335x/app_loader/include -c -o ledscape.o ledscape.c | |
In file included from /usr/include/stdio.h:27:0, | |
from ledscape.c:5: | |
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] | |
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | |
^~~~~~~ | |
gcc -std=c99 -W -Wall -D_BSD_SOURCE -Wp,-MMD,./.pru.o.d -Wp,-MT,pru.o -I. -O2 -lm -mtune=cortex-a8 -march=armv7-a -Wunused-parameter -DNS_ENABLE_IPV6 -Wunknown-pragmas -Wsign-compare -I./am335x/app_loader/include -c -o pru.o pru.c | |
In file included from /usr/include/stdio.h:27:0, | |
from pru.c:6: | |
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] | |
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | |
^~~~~~~ | |
gcc -std=c99 -W -Wall -D_BSD_SOURCE -Wp,-MMD,./.util.o.d -Wp,-MT,util.o -I. -O2 -lm -mtune=cortex-a8 -march=armv7-a -Wunused-parameter -DNS_ENABLE_IPV6 -Wunknown-pragmas -Wsign-compare -I./am335x/app_loader/include -c -o util.o util.c | |
In file included from /usr/include/stdio.h:27:0, | |
from util.c:4: | |
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] | |
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | |
^~~~~~~ | |
gcc -std=c99 -W -Wall -D_BSD_SOURCE -Wp,-MMD,lib/cesanta/.frozen.o.d -Wp,-MT,lib/cesanta/frozen.o -I. -O2 -lm -mtune=cortex-a8 -march=armv7-a -Wunused-parameter -DNS_ENABLE_IPV6 -Wunknown-pragmas -Wsign-compare -I./am335x/app_loader/include -c -o lib/cesanta/frozen.o lib/cesanta/frozen.c | |
In file included from /usr/include/stdio.h:27:0, | |
from lib/cesanta/frozen.c:20: | |
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] | |
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | |
^~~~~~~ | |
gcc -std=c99 -W -Wall -D_BSD_SOURCE -Wp,-MMD,lib/cesanta/.mongoose.o.d -Wp,-MT,lib/cesanta/mongoose.o -I. -O2 -lm -mtune=cortex-a8 -march=armv7-a -Wunused-parameter -DNS_ENABLE_IPV6 -Wunknown-pragmas -Wsign-compare -I./am335x/app_loader/include -c -o lib/cesanta/mongoose.o lib/cesanta/mongoose.c | |
In file included from /usr/include/sys/types.h:25:0, | |
from lib/cesanta/mongoose.c:61: | |
/usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] | |
# warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | |
^~~~~~~ | |
make -C ./am335x/app_loader/interface | |
make[1]: Entering directory '/home/ledscape/LEDscape/am335x/app_loader/interface' | |
gcc -I. -Wall -I../include -c -g -O0 -D__DEBUG -o debug/prussdrv.o prussdrv.c | |
ar rc ../lib/libprussdrvd.a debug/prussdrv.o | |
gcc -I. -Wall -I../include -c -O3 -mtune=cortex-a8 -march=armv7-a -o release/prussdrv.o prussdrv.c | |
ar rc ../lib/libprussdrv.a release/prussdrv.o | |
gcc -I. -Wall -I../include -c -fPIC -g -O0 -D__DEBUG -o debug/prussdrv_PIC.o prussdrv.c | |
gcc -shared -o ../lib/libprussdrvd.so debug/prussdrv_PIC.o | |
gcc -I. -Wall -I../include -c -fPIC -O3 -mtune=cortex-a8 -march=armv7-a -o release/prussdrv_PIC.o prussdrv.c | |
gcc -shared -o ../lib/libprussdrv.so release/prussdrv_PIC.o | |
make[1]: Leaving directory '/home/ledscape/LEDscape/am335x/app_loader/interface' | |
gcc -o opc-server opc-server.o ledscape.o pru.o util.o lib/cesanta/frozen.o lib/cesanta/mongoose.o am335x/app_loader/lib/libprussdrv.a -lpthread ./am335x/app_loader/lib/libprussdrv.a -lm | |
mkdir -p pru/generated | |
pru/build_template.sh ws2801 | |
- Processing template ws2801... | |
- Building permutation for mapping original-ledscape | |
- Generating mapping headers... | |
Using mapping: Original LEDscape from original-ledscape | |
- Applying template... | |
- Building permutation for mapping rgb-123-v2 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v2 from rgb-123-v2 | |
- Applying template... | |
- Building permutation for mapping rgb-123-v3 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v3 from rgb-123-v3 | |
- Applying template... | |
touch pru/generated/ws2801.template | |
make `ls pru/generated | egrep '^ws2801.*\.p$' | sed 's/.p$/.bin/' | sed -E 's/(.*)/pru\/generated\/\1/'` | |
make[1]: Entering directory '/home/ledscape/LEDscape' | |
make -C ./am335x/pasm | |
make[2]: Entering directory '/home/ledscape/LEDscape/am335x/pasm' | |
gcc -O3 -W -Wall -D_UNIX_ -c -o pasm.o pasm.c | |
pasm.c: In function 'ParseSourceLine': | |
pasm.c:839:42: warning: unused parameter 'length' [-Wunused-parameter] | |
int ParseSourceLine( SOURCEFILE *ps, int length, char *src, SRCLINE *pa ) | |
^~~~~~ | |
gcc -O3 -W -Wall -D_UNIX_ -c -o pasmpp.o pasmpp.c | |
pasmpp.c: In function 'GetSourceLine': | |
pasmpp.c:1131:37: warning: array subscript is above array bounds [-Warray-bounds] | |
ccStateFlags[ccDepth-1] &= ~CCSTATEFLG_TRUE; | |
^~ | |
pasmpp.c:1131:37: warning: array subscript is above array bounds [-Warray-bounds] | |
ccStateFlags[ccDepth-1] &= ~CCSTATEFLG_TRUE; | |
^ | |
gcc -O3 -W -Wall -D_UNIX_ -c -o pasmexp.o pasmexp.c | |
pasmexp.c: In function 'EXP_getOperation': | |
pasmexp.c:420:35: warning: unused parameter 'ps' [-Wunused-parameter] | |
int EXP_getOperation( SOURCEFILE *ps, char *s, int *pIdx, uint *pValue ) | |
^~ | |
gcc -O3 -W -Wall -D_UNIX_ -c -o pasmop.o pasmop.c | |
gcc -O3 -W -Wall -D_UNIX_ -c -o pasmdot.o pasmdot.c | |
pasmdot.c: In function 'DotCommand': | |
pasmdot.c:139:76: warning: unused parameter 'MaxSrc' [-Wunused-parameter] | |
int DotCommand( SOURCEFILE *ps, int TermCnt, char **pTerms, char *Src, int MaxSrc ) | |
^~~~~~ | |
pasmdot.c: In function 'DotInitialize': | |
pasmdot.c:426:24: warning: unused parameter 'pass' [-Wunused-parameter] | |
void DotInitialize(int pass) | |
^~~~ | |
pasmdot.c: In function 'DotCleanup': | |
pasmdot.c:440:21: warning: unused parameter 'pass' [-Wunused-parameter] | |
void DotCleanup(int pass) | |
^~~~ | |
gcc -O3 -W -Wall -D_UNIX_ -c -o pasmstruct.o pasmstruct.c | |
gcc -O3 -W -Wall -D_UNIX_ -c -o pasmmacro.o pasmmacro.c | |
gcc -o pasm pasm.o pasmpp.o pasmexp.o pasmop.o pasmdot.o pasmstruct.o pasmmacro.o | |
make[2]: Leaving directory '/home/ledscape/LEDscape/am335x/pasm' | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws2801-original-ledscape-pru0.bin` && gcc -E - < ws2801-original-ledscape-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws2801-original-ledscape-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws2801-original-ledscape-pru0.p.i pru/bin/ws2801-original-ledscape-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 150 word(s) | |
#rm -f pru/generated/ws2801-original-ledscape-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws2801-original-ledscape-pru1.bin` && gcc -E - < ws2801-original-ledscape-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws2801-original-ledscape-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws2801-original-ledscape-pru1.p.i pru/bin/ws2801-original-ledscape-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 150 word(s) | |
#rm -f pru/generated/ws2801-original-ledscape-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws2801-rgb-123-v2-pru0.bin` && gcc -E - < ws2801-rgb-123-v2-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws2801-rgb-123-v2-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws2801-rgb-123-v2-pru0.p.i pru/bin/ws2801-rgb-123-v2-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 149 word(s) | |
#rm -f pru/generated/ws2801-rgb-123-v2-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws2801-rgb-123-v2-pru1.bin` && gcc -E - < ws2801-rgb-123-v2-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws2801-rgb-123-v2-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws2801-rgb-123-v2-pru1.p.i pru/bin/ws2801-rgb-123-v2-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 155 word(s) | |
#rm -f pru/generated/ws2801-rgb-123-v2-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws2801-rgb-123-v3-pru0.bin` && gcc -E - < ws2801-rgb-123-v3-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws2801-rgb-123-v3-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws2801-rgb-123-v3-pru0.p.i pru/bin/ws2801-rgb-123-v3-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 150 word(s) | |
#rm -f pru/generated/ws2801-rgb-123-v3-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws2801-rgb-123-v3-pru1.bin` && gcc -E - < ws2801-rgb-123-v3-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws2801-rgb-123-v3-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws2801-rgb-123-v3-pru1.p.i pru/bin/ws2801-rgb-123-v3-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 155 word(s) | |
#rm -f pru/generated/ws2801-rgb-123-v3-pru1.p.i | |
make[1]: Leaving directory '/home/ledscape/LEDscape' | |
mkdir -p pru/generated | |
pru/build_template.sh dmx | |
- Processing template dmx... | |
- Building permutation for mapping original-ledscape | |
- Generating mapping headers... | |
Using mapping: Original LEDscape from original-ledscape | |
- Applying template... | |
- Building permutation for mapping rgb-123-v2 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v2 from rgb-123-v2 | |
- Applying template... | |
- Building permutation for mapping rgb-123-v3 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v3 from rgb-123-v3 | |
- Applying template... | |
touch pru/generated/dmx.template | |
make `ls pru/generated | egrep '^dmx.*\.p$' | sed 's/.p$/.bin/' | sed -E 's/(.*)/pru\/generated\/\1/'` | |
make[1]: Entering directory '/home/ledscape/LEDscape' | |
mkdir -p pru/bin | |
cd `dirname pru/generated/dmx-original-ledscape-pru0.bin` && gcc -E - < dmx-original-ledscape-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > dmx-original-ledscape-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/dmx-original-ledscape-pru0.p.i pru/bin/dmx-original-ledscape-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 283 word(s) | |
#rm -f pru/generated/dmx-original-ledscape-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/dmx-original-ledscape-pru1.bin` && gcc -E - < dmx-original-ledscape-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > dmx-original-ledscape-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/dmx-original-ledscape-pru1.p.i pru/bin/dmx-original-ledscape-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 283 word(s) | |
#rm -f pru/generated/dmx-original-ledscape-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/dmx-rgb-123-v2-pru0.bin` && gcc -E - < dmx-rgb-123-v2-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > dmx-rgb-123-v2-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/dmx-rgb-123-v2-pru0.p.i pru/bin/dmx-rgb-123-v2-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 283 word(s) | |
#rm -f pru/generated/dmx-rgb-123-v2-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/dmx-rgb-123-v2-pru1.bin` && gcc -E - < dmx-rgb-123-v2-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > dmx-rgb-123-v2-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/dmx-rgb-123-v2-pru1.p.i pru/bin/dmx-rgb-123-v2-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 289 word(s) | |
#rm -f pru/generated/dmx-rgb-123-v2-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/dmx-rgb-123-v3-pru0.bin` && gcc -E - < dmx-rgb-123-v3-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > dmx-rgb-123-v3-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/dmx-rgb-123-v3-pru0.p.i pru/bin/dmx-rgb-123-v3-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 283 word(s) | |
#rm -f pru/generated/dmx-rgb-123-v3-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/dmx-rgb-123-v3-pru1.bin` && gcc -E - < dmx-rgb-123-v3-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > dmx-rgb-123-v3-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/dmx-rgb-123-v3-pru1.p.i pru/bin/dmx-rgb-123-v3-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 289 word(s) | |
#rm -f pru/generated/dmx-rgb-123-v3-pru1.p.i | |
make[1]: Leaving directory '/home/ledscape/LEDscape' | |
mkdir -p pru/generated | |
pru/build_template.sh apa102 | |
- Processing template apa102... | |
- Building permutation for mapping original-ledscape | |
- Generating mapping headers... | |
Using mapping: Original LEDscape from original-ledscape | |
- Applying template... | |
- Building permutation for mapping rgb-123-v2 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v2 from rgb-123-v2 | |
- Applying template... | |
- Building permutation for mapping rgb-123-v3 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v3 from rgb-123-v3 | |
- Applying template... | |
touch pru/generated/apa102.template | |
make `ls pru/generated | egrep '^apa102.*\.p$' | sed 's/.p$/.bin/' | sed -E 's/(.*)/pru\/generated\/\1/'` | |
make[1]: Entering directory '/home/ledscape/LEDscape' | |
mkdir -p pru/bin | |
cd `dirname pru/generated/apa102-original-ledscape-pru0.bin` && gcc -E - < apa102-original-ledscape-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > apa102-original-ledscape-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/apa102-original-ledscape-pru0.p.i pru/bin/apa102-original-ledscape-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 327 word(s) | |
#rm -f pru/generated/apa102-original-ledscape-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/apa102-original-ledscape-pru1.bin` && gcc -E - < apa102-original-ledscape-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > apa102-original-ledscape-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/apa102-original-ledscape-pru1.p.i pru/bin/apa102-original-ledscape-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 327 word(s) | |
#rm -f pru/generated/apa102-original-ledscape-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/apa102-rgb-123-v2-pru0.bin` && gcc -E - < apa102-rgb-123-v2-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > apa102-rgb-123-v2-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/apa102-rgb-123-v2-pru0.p.i pru/bin/apa102-rgb-123-v2-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 320 word(s) | |
#rm -f pru/generated/apa102-rgb-123-v2-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/apa102-rgb-123-v2-pru1.bin` && gcc -E - < apa102-rgb-123-v2-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > apa102-rgb-123-v2-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/apa102-rgb-123-v2-pru1.p.i pru/bin/apa102-rgb-123-v2-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 341 word(s) | |
#rm -f pru/generated/apa102-rgb-123-v2-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/apa102-rgb-123-v3-pru0.bin` && gcc -E - < apa102-rgb-123-v3-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > apa102-rgb-123-v3-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/apa102-rgb-123-v3-pru0.p.i pru/bin/apa102-rgb-123-v3-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 324 word(s) | |
#rm -f pru/generated/apa102-rgb-123-v3-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/apa102-rgb-123-v3-pru1.bin` && gcc -E - < apa102-rgb-123-v3-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > apa102-rgb-123-v3-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/apa102-rgb-123-v3-pru1.p.i pru/bin/apa102-rgb-123-v3-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 344 word(s) | |
#rm -f pru/generated/apa102-rgb-123-v3-pru1.p.i | |
make[1]: Leaving directory '/home/ledscape/LEDscape' | |
mkdir -p pru/generated | |
pru/build_template.sh nop | |
- Processing template nop... | |
- Building permutation for mapping original-ledscape | |
- Generating mapping headers... | |
Using mapping: Original LEDscape from original-ledscape | |
- Applying template... | |
- Building permutation for mapping rgb-123-v2 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v2 from rgb-123-v2 | |
- Applying template... | |
- Building permutation for mapping rgb-123-v3 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v3 from rgb-123-v3 | |
- Applying template... | |
touch pru/generated/nop.template | |
make `ls pru/generated | egrep '^nop.*\.p$' | sed 's/.p$/.bin/' | sed -E 's/(.*)/pru\/generated\/\1/'` | |
make[1]: Entering directory '/home/ledscape/LEDscape' | |
mkdir -p pru/bin | |
cd `dirname pru/generated/nop-original-ledscape-pru0.bin` && gcc -E - < nop-original-ledscape-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > nop-original-ledscape-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/nop-original-ledscape-pru0.p.i pru/bin/nop-original-ledscape-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 39 word(s) | |
#rm -f pru/generated/nop-original-ledscape-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/nop-original-ledscape-pru1.bin` && gcc -E - < nop-original-ledscape-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > nop-original-ledscape-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/nop-original-ledscape-pru1.p.i pru/bin/nop-original-ledscape-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 39 word(s) | |
#rm -f pru/generated/nop-original-ledscape-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/nop-rgb-123-v2-pru0.bin` && gcc -E - < nop-rgb-123-v2-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > nop-rgb-123-v2-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/nop-rgb-123-v2-pru0.p.i pru/bin/nop-rgb-123-v2-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 39 word(s) | |
#rm -f pru/generated/nop-rgb-123-v2-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/nop-rgb-123-v2-pru1.bin` && gcc -E - < nop-rgb-123-v2-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > nop-rgb-123-v2-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/nop-rgb-123-v2-pru1.p.i pru/bin/nop-rgb-123-v2-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 39 word(s) | |
#rm -f pru/generated/nop-rgb-123-v2-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/nop-rgb-123-v3-pru0.bin` && gcc -E - < nop-rgb-123-v3-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > nop-rgb-123-v3-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/nop-rgb-123-v3-pru0.p.i pru/bin/nop-rgb-123-v3-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 39 word(s) | |
#rm -f pru/generated/nop-rgb-123-v3-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/nop-rgb-123-v3-pru1.bin` && gcc -E - < nop-rgb-123-v3-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > nop-rgb-123-v3-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/nop-rgb-123-v3-pru1.p.i pru/bin/nop-rgb-123-v3-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 39 word(s) | |
#rm -f pru/generated/nop-rgb-123-v3-pru1.p.i | |
make[1]: Leaving directory '/home/ledscape/LEDscape' | |
mkdir -p pru/generated | |
pru/build_template.sh ws281x | |
- Processing template ws281x... | |
- Building permutation for mapping original-ledscape | |
- Generating mapping headers... | |
Using mapping: Original LEDscape from original-ledscape | |
- Applying template... | |
- Building permutation for mapping rgb-123-v2 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v2 from rgb-123-v2 | |
- Applying template... | |
- Building permutation for mapping rgb-123-v3 | |
- Generating mapping headers... | |
Using mapping: RGB-123 v3 from rgb-123-v3 | |
- Applying template... | |
touch pru/generated/ws281x.template | |
make `ls pru/generated | egrep '^ws281x.*\.p$' | sed 's/.p$/.bin/' | sed -E 's/(.*)/pru\/generated\/\1/'` | |
make[1]: Entering directory '/home/ledscape/LEDscape' | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws281x-original-ledscape-pru0.bin` && gcc -E - < ws281x-original-ledscape-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws281x-original-ledscape-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws281x-original-ledscape-pru0.p.i pru/bin/ws281x-original-ledscape-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 198 word(s) | |
#rm -f pru/generated/ws281x-original-ledscape-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws281x-original-ledscape-pru1.bin` && gcc -E - < ws281x-original-ledscape-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws281x-original-ledscape-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws281x-original-ledscape-pru1.p.i pru/bin/ws281x-original-ledscape-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 198 word(s) | |
#rm -f pru/generated/ws281x-original-ledscape-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws281x-rgb-123-v2-pru0.bin` && gcc -E - < ws281x-rgb-123-v2-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws281x-rgb-123-v2-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws281x-rgb-123-v2-pru0.p.i pru/bin/ws281x-rgb-123-v2-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 198 word(s) | |
#rm -f pru/generated/ws281x-rgb-123-v2-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws281x-rgb-123-v2-pru1.bin` && gcc -E - < ws281x-rgb-123-v2-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws281x-rgb-123-v2-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws281x-rgb-123-v2-pru1.p.i pru/bin/ws281x-rgb-123-v2-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 202 word(s) | |
#rm -f pru/generated/ws281x-rgb-123-v2-pru1.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws281x-rgb-123-v3-pru0.bin` && gcc -E - < ws281x-rgb-123-v3-pru0.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws281x-rgb-123-v3-pru0.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws281x-rgb-123-v3-pru0.p.i pru/bin/ws281x-rgb-123-v3-pru0 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 198 word(s) | |
#rm -f pru/generated/ws281x-rgb-123-v3-pru0.p.i | |
mkdir -p pru/bin | |
cd `dirname pru/generated/ws281x-rgb-123-v3-pru1.bin` && gcc -E - < ws281x-rgb-123-v3-pru1.p | perl -p -e 's/^#.*//; s/;/\n/g; s/BYTE\((\d+)\)/t\1/g' > ws281x-rgb-123-v3-pru1.p.i | |
./am335x/pasm/pasm -V3 -b pru/generated/ws281x-rgb-123-v3-pru1.p.i pru/bin/ws281x-rgb-123-v3-pru1 | |
PRU Assembler Version 0.84 | |
Copyright (C) 2005-2013 by Texas Instruments Inc. | |
Pass 2 : 0 Error(s), 0 Warning(s) | |
Writing Code Image of 202 word(s) | |
#rm -f pru/generated/ws281x-rgb-123-v3-pru1.p.i | |
make[1]: Leaving directory '/home/ledscape/LEDscape' | |
sed 's%LEDSCAPE_PATH%'`pwd`'%' ledscape.service.in > ledscape.service | |
[ 10:51PM ] [ ledscape@ledscape:~/LEDscape(master✗) ] | |
$ vim ws281x-config.json | |
[ 10:53PM ] [ ledscape@ledscape:~/LEDscape(master✗) ] | |
$ sudo pkill -9 opc-server; sudo ./run-ledscape | |
tokens: 383: { | |
"outputMode": "ws281x", | |
"outputMapping": "rgb-123-v2", | |
"demoMode": "fade", | |
"ledsPerStrip": 214, | |
"usedStripCount": 43, | |
"colorChannelOrder": "BRG", | |
"opcTcpPort": 7890, | |
"opcUdpPort": 7890, | |
"enableInterpolation": false, | |
"enableDithering": false, | |
"enableLookupTable": true, | |
"lumCurvePower": 2.0000, | |
"whitePoint": { | |
"red": 0.9000, | |
"green": 1.0000, | |
"blue": 1.0000 | |
} | |
} | |
Loaded config file from ws281x-config.json. | |
Config file written to ws281x-config.json | |
[main] Starting server on ports (tcp=7890, udp=7890) for 214 pixels on 48 strips | |
[main] Demo Mode Enabled | |
Allocating buffers for 10272 pixels (246528 bytes) | |
[main] Initializing / Updating server...frame_size1=10272 | |
pru_init:44: prussdrv_open open failed | |
[main] Starting LEDscape...[e131] Starting UDP server on port 5568 | |
Starting demo data thread | |
[ 10:53PM ] [ ledscape@ledscape:~/LEDscape(master✗) ] | |
$ lsmod | |
Module Size Used by | |
uio_pruss 4538 0 | |
omap_aes 13033 0 | |
omap_sham 19088 0 | |
omap_rng 4334 0 | |
rng_core 7246 1 omap_rng | |
spi_omap2_mcspi 10550 0 | |
evdev 7972 1 | |
leds_gpio 3086 0 | |
uio_pdrv_genirq 3301 0 | |
uio 8435 2 uio_pruss,uio_pdrv_genirq | |
sch_fq_codel 6135 2 | |
ip_tables 11002 0 | |
x_tables 17592 1 ip_tables | |
[ 10:53PM ] [ ledscape@ledscape:~/LEDscape(master✗) ] | |
$ sudo reboot | |
Connection to 192.168.1.8 closed by remote host. | |
Connection to 192.168.1.8 closed. | |
ashoat@Ashoats-MacBook-Pro [~/Dropbox/src/LEDscape]# ssh [email protected] | |
[email protected]'s password: | |
zsh: locking failed for /home/ledscape/.zsh_history: read-only file system: reading anyway | |
[ 10:56PM ] [ ledscape@ledscape:~ ] | |
$ cd LEDscape | |
[ 10:56PM ] [ ledscape@ledscape:~/LEDscape(master✗) ] | |
$ sudo pkill -9 opc-server; sudo ./run-ledscape | |
tokens: 383: { | |
"outputMode": "ws281x", | |
"outputMapping": "rgb-123-v2", | |
"demoMode": "fade", | |
"ledsPerStrip": 214, | |
"usedStripCount": 43, | |
"colorChannelOrder": "BRG", | |
"opcTcpPort": 7890, | |
"opcUdpPort": 7890, | |
"enableInterpolation": false, | |
"enableDithering": false, | |
"enableLookupTable": true, | |
"lumCurvePower": 2.0000, | |
"whitePoint": { | |
"red": 0.9000, | |
"green": 1.0000, | |
"blue": 1.0000 | |
} | |
} | |
Loaded config file from ws281x-config.json. | |
Failed to write to config file ws281x-config.json: | |
[main] Starting server on ports (tcp=7890, udp=7890) for 214 pixels on 48 strips | |
[main] Demo Mode Enabled | |
Allocating buffers for 10272 pixels (246528 bytes) | |
[main] Initializing / Updating server...frame_size1=10272 | |
[e131] Starting UDP server on port 5568 | |
pru_init:44: prussdrv_open open failed | |
[main] Starting LEDscape...[udp] Starting UDP server on port 7890 | |
Starting demo data thread | |
[render] Starting render thread for 10272 total pixels |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment