Compare commits

...

221 Commits

Author SHA1 Message Date
Diogo Cordeiro c33ae26742 systems: added lctr-a72xx to test cortex-a72 architecture. 2020-09-16 16:20:18 +01:00
Diogo Cordeiro 2a82e92e04 architectures/cortex-a72: remove redundant conflicting flags 2020-09-16 16:15:41 +01:00
Diogo Cordeiro cc98513b14 architectures: added cortex-a72 architecture. 2020-09-11 01:12:38 +01:00
Jose Pinto 8418458d6e ZeroTierOne: Added package rule. 2019-08-17 10:18:44 +01:00
Jose Pinto 78a8e0099d Kplex: added package rule. 2019-08-17 10:18:25 +01:00
Pedro Gonçalves 9824634051
Merge pull request #40 from LSTS/feature/exiftool
Feature/exiftool
2019-04-05 15:21:08 +01:00
Pedro Gonçalves a21f7a4835 lctr-rpi: config: add exiftool and libusb to the main config. 2019-04-05 15:20:04 +01:00
Tiago Sá Marques ca8a965f1f
Merge pull request #38 from krisgry/feature/copy-curl
Copy libcurl_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:21:54 +00:00
Tiago Sá Marques 623bac0c38
Merge pull request #37 from krisgry/feature/copylibopenCV
Copy libopencv_* to /lib/, for cross-compilation of DUNE
2019-04-04 12:20:03 +00:00
mariacosta c66054cafd lctr-rpi: test-rpi-eth0: Added libusb package. 2019-02-27 18:29:23 +00:00
Pedro Gonçalves c425981fa4 systems/lctr-a6xx: add geode-testbed config system. 2019-02-25 16:15:54 +00:00
Pedro Gonçalves b69cfb9682 systems/lctr-rpi/test-rpi-eth0: fix service network name. 2019-02-22 18:09:40 +00:00
Pedro Gonçalves 568f2abbbf rules/exiftool: fix path for bin folder. 2019-02-22 17:11:59 +00:00
Pedro Gonçalves 0dd5539b48 systems/lctr-rpi: update test-rpi config for eth0 and wlan0. 2019-02-21 18:22:45 +00:00
Pedro Gonçalves d1872860fa rules/exiftool: add rule for exiftool lib/api. 2019-02-21 18:21:54 +00:00
mariacosta 4cf1db0317 GLUED: Updated Copyright. 2019-02-11 10:50:52 +00:00
Paulo Dias 00255e4608 gitignore: added helper script to ignore. 2019-02-08 20:12:08 +00:00
Paulo Dias 72a786508e rules: boost: added needed libraries that must be built separately are: regex,filesystem,system,thread. 2019-02-08 20:11:29 +00:00
Paulo Dias 8bda2a4551 systems: Added boost to lauv-nemo-aux. 2019-02-08 20:09:34 +00:00
Kristoffer Gryte 4e0d51b548 rules/curl: symlink libcurl to /lib/ for cross-compilation of DUNE 2019-02-06 14:40:03 +01:00
Kristoffer Gryte 20a8911a04 rules/opencv: symlink libopencv_* to /lib/, for cross-compilation of DUNE 2019-02-06 14:29:43 +01:00
zepinto 7542b861c3 Docker Makefile: added DNS option. 2019-01-15 18:26:25 +00:00
Paulo Dias 580816dde8
mkpackage: use www.lsts.pt instead of lsts.pt. 2019-01-08 20:44:04 +00:00
João Teixeira 4c8324abc3 lctr-9axx: added manta-sabuvis system 2018-10-24 14:33:44 +01:00
João Teixeira 4316b4c9f7 systems/lctr-rpi: Added titan configuration file. 2018-08-30 11:25:42 +01:00
João Teixeira 9015c36df9 systems: Added systems buv-petinga-1 2018-04-20 19:37:04 +01:00
mariacosta 3e002e3ec5 systems/lctr-rpi: Added x8-06-aux configuration file. 2018-04-20 11:10:10 +01:00
Tiago Marques b15293ee66 lctr-9axx: added manta-rugged-2 system. 2018-04-20 09:38:18 +01:00
Tiago Marques e2da8b7586 systems: Added systems lauv-nemo-1 and lauv-nemo-1-aux. 2018-02-16 15:46:05 +00:00
Tiago Marques 0cf9ba8b9c systems/lauv-aux-rpi: removed Europa from packages. 2018-01-09 09:30:44 +00:00
Tiago Marques 5967c0b13f mkpackage: use HTTPS for lsts repository 2017-12-04 11:35:38 +00:00
Tiago Marques 459c14e7f4 mkconfig: updated glued version 2017-11-27 16:27:42 +00:00
Pedro Gonçalves d2a0d5208c systems/lauv-aux-rpi: add system config file for lauv-xplore-5-aux. 2017-10-24 17:00:28 +01:00
Pedro Gonçalves 644b98c753 systems/lauv-aux-rpi: add system config file for lauv-xplore-4-aux. 2017-10-24 16:59:54 +01:00
Pedro Gonçalves fcad38b6d7 systems/lauv-aux-rpi: add system config file for lauv-xplore-3-aux. 2017-10-24 16:58:50 +01:00
Pedro Gonçalves 853e7ea553 systems/lctr-a6xx: add system config file for lauv-xplore-5. 2017-10-11 14:08:33 +01:00
Pedro Gonçalves b0633cd82c systems/lctr-a6xx: add system config file for lauv-xplore-4. 2017-10-11 14:08:23 +01:00
Pedro Gonçalves 7e8e9cbad0 systems/lctr-a6xx: add system config file for lauv-xplore-3. 2017-10-11 14:08:13 +01:00
Tiago Marques 19855db2da Merge branch 'bug/kmod-modules-dep'
Authored By: Ricardo Martins
2017-09-28 19:57:10 +01:00
Ricardo Martins a8a131e19c linux: use system kmod. 2017-09-28 17:58:58 +01:00
Ricardo Martins bbbd691fb3 docker: install kmod. 2017-09-28 17:58:14 +01:00
Tiago Marques 200dfc2205 Merge branch 'feature/linux-update'
Authored By: Pedro Gonçalves
Reviewed By: Tiago Marques
2017-09-25 18:29:42 +01:00
Tiago Marques 1a95420340 systems/lctr-b2xx/patches/linux/00-lctr-b2xx-dts: Updated patch 2017-09-25 16:07:42 +01:00
Tiago Marques aec36f560b rules/lpg/default: Fixed dependencies. 2017-09-25 10:41:27 +01:00
Tiago Marques 13b3b18b5d systems/lctr-b2xx/patches/linux: Upgraded to v4.4.66 2017-09-22 15:45:21 +01:00
Tiago Marques 87e70a6615 Merge branch 'feature/memtest' 2017-09-13 10:32:41 +01:00
Tiago Marques 7dc03d18c5 systems/lctr-a6xx/config: Added memtest86+ package. 2017-09-13 10:26:50 +01:00
Tiago Marques dbae4f69f6 rules/memtest86+/fs: Renamed script. 2017-09-12 09:46:51 +01:00
Tiago Marques 29298872e8 rules/memtest86+/fs/memtester: Changed shebang. 2017-09-11 18:02:15 +01:00
Tiago Marques a55b6dbc6a rules/memtest86+: Removed garbage file. 2017-09-11 17:55:47 +01:00
Tiago Marques 5919324f1b systems/lctr-a6xx/cfg/linux-4.4.66: Disabled pps's debug messages. 2017-09-01 12:11:27 +01:00
Tiago Marques 020e2c7fe9 rules/gcc/cross: Fixed bug for 64 bit systems, causing libraries to be searched in the wrong directory. 2017-08-29 19:19:46 +01:00
Tiago Marques b4674e5cb6 rules/linux-headers/cross: Fixed url. 2017-08-29 16:54:42 +01:00
Tiago Marques 1c2f480dbd Revert "docker: update file to use gcc 5.4."
GCC v5.4 is not needed to compile the new kernel.
This reverts commit 8faf53ef3e.
2017-08-29 16:39:29 +01:00
Tiago Sá Marques 63ce5fa404 Merge pull request #33 from krisklau/pr/update_gdb
gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb.
2017-08-16 13:35:38 +01:00
Tiago Sá Marques 8097d2679b Merge pull request #34 from krisklau/pr/openssh_privsep
openssh: Compile with privsep-path set to /var/empty/
2017-08-16 13:29:25 +01:00
Tiago Marques d352a68acc Merge branch 'krisklau-pr/ntnu-update-s17' 2017-08-16 12:56:36 +01:00
Tiago Marques 81052b54a6 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:56:25 +01:00
Tiago Marques b28a6d787e rules/perf/default: Fixed dependencies. 2017-08-16 12:56:25 +01:00
Tiago Marques 347ef94fd4 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-16 12:56:25 +01:00
Tiago Marques eacd69fe0f rules/perf/default: Fixed code style. 2017-08-16 12:56:25 +01:00
tsmarques d1adbb7b9c rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2017-08-16 12:56:25 +01:00
tsmarques c8e3e6fc59 rules/perf: removed temporary file. 2017-08-16 12:56:25 +01:00
tsmarques a911af2fa0 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2017-08-16 12:56:25 +01:00
tsmarques fb7aa49ab0 rules/perf: added rules for perf package. 2017-08-16 12:56:25 +01:00
Tiago Marques ee477076c8 Revert "System: noptilus-aux: Added lpg."
This reverts commit 84bbaf4bca.
2017-08-16 12:52:53 +01:00
Pedro Gonçalves 8faf53ef3e docker: update file to use gcc 5.4. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves aa786393e6 lctr-a9xx: rename rule profile to v3_14. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 592571c75a lctr-a9xx: change linux rule to linux/default_3.3 to maintain compatibility with older processors. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves d87b79cecd lctr-a9xx/patches/linux_4.4.66: add patch for omap3. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 8f5aa75fae lctr-a9xx: add cfg linux file for version 4.4.66. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 2601d6a4a4 linux/default_3.3: add rule to maintain compatibility with older processors. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 770821bbcd systems/lctr-b2xx/cfg: update kernel config file to 4.4.66. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 6bcbaced95 bridge-utils: update version to 1.6. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 6607a06504 bridge-utils/patches: update to version 1.6. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves a4f6e5c9d8 escc: update version to 1.0.71. 2017-08-16 11:50:30 +01:00
Pedro Gonçalves e034305031 linux-headers: update to version 4.4.66 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 07219a7e82 linux: update linux kernel to 4.4.66 2017-08-16 11:50:30 +01:00
Pedro Gonçalves 4b13bb96d6 lctr-a6xx/cfg: add patches for linux 4.4.66 2017-08-16 11:50:30 +01:00
Tiago Marques d4be30bec6 rules/memtest86+: Added script to start memtest. 2017-08-12 08:24:17 +01:00
Tiago Marques a6564e1b5d rules/syslinux/extlinux.conf: Added boot option for memtest. 2017-08-12 08:23:13 +01:00
Tiago Marques 6f0b948b98 Merge branch 'feature/perf' 2017-08-04 14:09:40 +01:00
Kristian Klausen 277501513a openssh: Compile with privsep-path set to /var/empty/ 2017-08-04 10:11:02 +02:00
Kristian Klausen 40b48c2b35 gdb: Upgraded version to 7.10.1 to allow remote debugging on bbb. 2017-08-04 10:01:41 +02:00
Kristian Klausen 1069e42b8b ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for CONFIG_RFKILL=y
+CONFIG_CFG80211=y
+CONFIG_NL80211=y
2017-08-04 09:54:17 +02:00
Kristian Klausen 88718f7a36 ntnu-b2xx: cfg/linux-3.14.63: Added kernel driver for RT2800USB (wifi usb) 2017-08-04 09:54:17 +02:00
Kristian Klausen 88ca152faa ntnu-b2xx: Added ntnu-bixler-001. 2017-08-04 09:54:17 +02:00
Kristian Klausen 970bddfa6e ntnu-b2xx: ntnu-cruisermini-001-pseudo: Added pseudo-vehicle. 2017-08-04 09:54:17 +02:00
Kristian Klausen a564932f4f ntnu-b2xx: Added vehicles ntnu-cruisermini-00x. 2017-08-04 09:54:17 +02:00
Kristian Klausen de5fb6e33d ntnu-b2xx: ntnu-hexa-002: Updated config to include the same packages as hexa-003, hexa-004 2017-08-04 09:54:17 +02:00
Kristian Klausen 51f08c2d3d ntnu-b2xx: ntnu-nest-04: Fixed typo in hostname. 2017-08-04 09:54:17 +02:00
Kristian Klausen 79aa224ed3 ntnu-b2xx: ntnu-hexa-003,4: Removed service force_10mbit. 2017-08-04 09:54:17 +02:00
Kristian Klausen 49fb0d28cd ntnu-b2ss: ntnu-octo-001: New system. 2017-08-04 09:54:17 +02:00
Kristian Klausen 438cfa26eb ntnu-b2xx: fs/etc/rc.d/rtklib_rtkrcv: Added functionality to create the folder /opt/lsts/rtklib/ if it does not exist. 2017-08-04 09:54:17 +02:00
Kristian Klausen 792d11ca1c ntnu-b2xx: Added ssh tools to hexa-004, x8-002, x8-008. 2017-08-04 09:54:17 +02:00
Kristian Klausen 115cfa3727 ntnu-b2xx: Added system ntnu-nest-04. 2017-08-04 09:54:17 +02:00
Tiago Marques 1369cb7f34 rules/perf/default: Fixed dependencies. 2017-08-03 23:32:34 +00:00
Tiago Marques e12f3dc414 Revert "systems/lctr-a6xx/config: build perf for lctr-a6xx systems."
This reverts commit e5bfb87131.
2017-08-03 21:22:08 +00:00
Tiago Marques 52880f1754 rules/perf/default: Fixed code style. 2017-08-03 21:21:39 +00:00
Tiago Marques 5a8237118f rules: Added rule for memtext86+ 2017-08-01 20:39:26 +01:00
José Braga f6f03a67dd lauv-aux-rpi: fixed lauv-xtreme-2-aux configuration file. 2017-07-31 11:19:51 +01:00
José Braga 7f2247ae3b lctr-b2xx: added lauv-xtreme-2-aux file with nfs storage server. 2017-07-31 11:13:33 +01:00
Jose Pinto 84bbaf4bca System: noptilus-aux: Added lpg. 2017-07-05 16:37:32 +01:00
Tiago Marques 3704b05ffa Merge branch 'feature/lpg' 2017-07-05 16:07:26 +01:00
Jose Pinto 3164e87a8e System: noptilus-aux: Added libraries required by necsave. 2017-07-05 14:36:52 +01:00
Ricardo Martins 3496db07d2 dune: added package for NECSAVE. 2017-07-05 14:19:22 +01:00
Jose Pinto 699fa27067 Fixed libtool dependency. 2017-07-05 14:17:54 +01:00
Jose Pinto a153ccca60 Added rule for CZMQ. 2017-07-05 14:12:39 +01:00
Jose Pinto 4e13aec0a1 Added rule for 0MQ. 2017-07-05 14:11:29 +01:00
Jose Pinto 3d8202f28c Added rule for jansson lib. 2017-07-05 14:10:51 +01:00
Tiago Marques 8b15f2d169 mkupdate: Set update folder according to vendor. 2017-06-29 16:44:32 +01:00
Pedro Gonçalves fa4d1cf7f5 systems/lctr-b2xx/x8-06: add rule opencv and exiv2. 2017-06-28 17:48:42 +01:00
João Teixeira 7aef5753e3 systems/lctr-b2xx/x8-08: add GSM support 2017-06-26 15:47:12 +01:00
Pedro Gonçalves 1b51c79e8d rules/exiv2: add gettext to required rule. 2017-06-26 14:37:49 +01:00
Pedro Gonçalves d6757ac880 systems/lctr-b2xx/x8-07: add rule opencv and exiv2. 2017-06-22 16:30:13 +01:00
Pedro Gonçalves 949348e239 systems/lctr-b2xx/x8-07: add rule opencv and exiv2. 2017-06-22 16:11:28 +01:00
João Teixeira 7fd5b0ca82 systems/lctr-b2xx/x8-07: add GSM support 2017-06-22 15:42:38 +01:00
Pedro Gonçalves d79bfb5739 systems/lctr-rpi/mariner-01: change/update system config file. 2017-06-22 13:48:04 +01:00
Pedro Gonçalves 2ffbea8fa9 systems/lctr-rpi/x8-08: change/update system config file. 2017-06-21 18:10:35 +01:00
Pedro Gonçalves c6ad9ec474 rules/raspicam: add to requires rule uv4l. 2017-06-21 18:09:40 +01:00
Pedro Gonçalves cb5e6a5d87 rules/ffmpeg: update rule to copy .so to both sysroot. 2017-06-21 18:09:03 +01:00
Pedro Gonçalves e6c7b8fc82 rules/exiv2: add rule to put meta-data in photos. 2017-06-21 18:07:59 +01:00
Tiago Marques a7e2cbedda Merge branch 'feature/test_rpi'
Authored By: Pedro Gonçalves
Reviewed By: Tiago Marques
2017-06-16 13:07:45 +01:00
Tiago Marques 422c024635 mkpackage: Fixed LSTS mirror's url 2017-06-09 17:27:48 +01:00
Tiago Marques 5819ff41e4 mkupdate: Added script to update glued in a given system 2017-06-09 11:40:21 +01:00
Tiago Marques 78da3914b4 mkpackage: Use LSTS's mirror first, to download packages. 2017-06-09 10:38:09 +01:00
Tiago Marques 1ab074d0bd rules/raspicam: Added missing dependency. 2017-06-02 14:42:38 +01:00
Tiago Marques db04cf06cb rules/uv4l: Don't hard code raspicam script. 2017-06-02 14:42:30 +01:00
Tiago Marques ce7839830b rules/escc: Bumped to version 1.0.7 2017-05-22 16:48:36 +01:00
Tiago Marques d02fa39ddb rules/lpg: Compile lpg. 2017-05-17 09:29:47 +01:00
Manuel R eeefa5908d lctr-rpi: mariner-01: Added wlan to config. 2017-05-09 13:26:34 +01:00
João Teixeira cfd9f7064b lctr-a6xx: revert PPS_CLIENT_GPIO 2017-05-06 15:33:12 +01:00
mariacosta 9c63f6a0e5 lctr-a6xx: Variable cfg_escc_script now empty by default. 2017-05-05 16:56:37 +01:00
Jose Pinto 4f81df3ca9 Packages: Added rule to build htop. 2017-05-01 16:32:27 +01:00
Pedro Gonçalves fc77579bf4 iw: update/fix rule for check_wlan. 2017-04-18 14:11:30 +01:00
Pedro Gonçalves d9a1157878 filesystem: update service of check_wlan. 2017-04-18 14:10:36 +01:00
Pedro Gonçalves e5dbc2924c iw: add script check_wlan to fs, script removed in filesystem rule. 2017-04-18 14:08:18 +01:00
Pedro Gonçalves 7d77726e80 filesystem: add script to check wifi connection. 2017-04-12 21:21:29 +01:00
Pedro Gonçalves cb4c8a5739 iw: remove file check_wlan (move to filesystem). 2017-04-12 21:20:17 +01:00
Pedro Gonçalves 910862e084 lctr-rpi/test-rpi: add check_wlan to services0. 2017-04-12 18:56:19 +01:00
Pedro Gonçalves 560f4d8930 filesystem: add service of check_wlan. 2017-04-12 18:55:22 +01:00
Pedro Gonçalves bc788dc955 uv4l: update parameters of uv4l server. 2017-04-12 18:54:20 +01:00
Pedro Gonçalves 206460e467 iw: add file/script to check connection to SSID. 2017-04-12 18:53:28 +01:00
Pedro Gonçalves 4691e93747 iw: update rule, copy file system to root file system. 2017-04-12 18:51:37 +01:00
Pedro Gonçalves 735b5f2e79 lctr-rpi/test-rpi: fix some issues, network -> network-wlan 2017-04-10 22:15:42 +01:00
Pedro Gonçalves b530b76581 filesystem: add network-wlan service to enable wlan0. 2017-04-10 22:03:45 +01:00
Pedro Gonçalves 5cfdd6d3d9 iw: add rule for iw (wlan network config). 2017-04-10 22:02:53 +01:00
Pedro Gonçalves 55641a6693 lctr-rpi/test-rpi: add rule for wifi-config (iw) 2017-04-10 20:05:42 +01:00
João Teixeira dd0212bfa0 lctr-rpi:nest-1 add suport to mobile internet- linux-4.4 2017-04-10 15:50:40 +01:00
mariacosta 49f31934f7 lctr-b2xx: Added pixhawk-testbed configuration file and updated IP address of aero-01. 2017-04-09 11:01:47 +01:00
mariacosta 66de780258 lctr-a9xx: Deleted x8-00 and updated IP address of x8-02. 2017-04-09 11:00:57 +01:00
mariacosta 7977480161 lctr-b2xx: x8-06: Updated IP address. 2017-04-07 14:42:30 +01:00
mariacosta 6f09fed5b2 lctr-b2xx: Deleted x8-05 and added x8-07. 2017-04-07 14:41:27 +01:00
mariacosta 333f3ebe55 lctr-rpi: Replaced BBB for a RPI in mariner-01. 2017-04-06 13:30:52 +01:00
mariacosta bed09c213e lctr-rpi: Added x8-08 configuration file. 2017-04-06 13:08:17 +01:00
mariacosta 714aa28c92 lctr-rpi: x2o-02: Removed repeated entries from basic config, added libav and removed nfs-utils packages. 2017-04-06 10:42:48 +01:00
mariacosta e66fdc9adc lctr-rpi: x2o-01: Removed repeated entries from basic config, added libav and removed nfs-utils packages. 2017-04-06 10:42:34 +01:00
mariacosta 842160dd4a lctr-rpi: nest-1: Updated IP address. 2017-04-06 10:39:58 +01:00
Pedro Gonçalves c428102633 lctr-rpi: update cfg_terminal to tty1 and partitions, remove target dtb. 2017-04-05 18:23:51 +01:00
Manuel R f79aec516f lctr-rpi: Added X2O-01 and X2O-02 configs. 2017-04-05 14:14:05 +01:00
Manuel R d273414068 systems/lctr-rpi: Added inittab file to disable serial console. 2017-04-05 14:11:26 +01:00
Manuel R a95d7a868a systems/lctr-rpi: Updated config file for RPi2/3. 2017-04-05 14:10:59 +01:00
Manuel R b0ceda4ea2 lauv-aux-rpi/cfg: Updated kernel config. 2017-04-05 14:10:03 +01:00
mariacosta 2b5b6b3c2f Merge branch 'feature/raspicam' into feature/test_rpi 2017-04-05 13:51:00 +01:00
João Teixeira 4ee4dadaaf lctr-a6xx: add PPS_CLIENT_GPIO 2017-04-04 14:52:37 +01:00
Pedro Gonçalves fc659cd451 lauv-aux-rpi/test-rpi: add ftdi_sio to modules. 2017-03-30 17:23:40 +01:00
Pedro Gonçalves bb0a00c1ee rpi-boot-firmware/fs/boot/cmdline: change console dev. 2017-03-30 12:56:21 +01:00
Pedro Gonçalves e5f7d6bfdd lauv-aux-rpi/cfg: change dev of console. 2017-03-30 12:54:57 +01:00
Pedro Gonçalves eee43266c8 lauv-aux-rpi/test-rpi: change terminal dev. 2017-03-30 12:53:18 +01:00
João Teixeira ff0a567462 systems/lctr-rpi: add NETFILTER kernel config 2017-02-21 18:37:39 +00:00
João Teixeira d91631f542 Merge branch 'master' of https://github.com/LSTS/glued 2017-02-21 15:26:51 +00:00
João Teixeira b77d33441b systems/lauv-aux-rpi: add lauv-arpao-aux config file 2017-02-21 15:26:40 +00:00
Tiago Marques 2eaaab820a systems/lctr-a6xx: Enable debugging options by default. 2017-02-17 18:29:45 +00:00
João Teixeira 501217ff0e lctr-a6xx: added FTDI support to lauv-xplore-1 2017-02-15 20:18:21 +00:00
João Teixeira e6d5014b2a lctr-a6xx: add lauv-arpao correct name 2017-02-08 14:53:12 +00:00
João Teixeira fd15ab19d9 lctr-a6xx: add lauv-arpao config file 2017-02-08 14:40:02 +00:00
Pedro Gonçalves 05a6f19cf3 raspicam: fix path to cmake. 2017-02-03 19:39:54 +00:00
Pedro Gonçalves 9d95b45410 lauv-aux-rpi/test-rpi: update cfg packages. 2017-02-03 18:41:06 +00:00
Pedro Gonçalves b17eeece35 raspicam: fix problem in path to cmake. 2017-02-03 18:39:48 +00:00
Pedro Gonçalves 29358c9c3e rpi-boot-firmware: update boot firmware. 2017-02-03 18:38:04 +00:00
Pedro Gonçalves f0b77fdfc5 linux/rpi: update version of kernel. 2017-02-03 18:37:16 +00:00
Pedro Gonçalves c6ef0368e7 lauv-aux-rpi/cfg: update kernel config file. 2017-02-03 18:36:11 +00:00
Pedro Gonçalves 4e63f7ea02 linux/default: restore previous version of rule (3.14.63). 2017-01-26 19:19:27 +00:00
Pedro Gonçalves 1b13099af1 uv4l: fix kill process uv4l. 2017-01-25 16:56:32 +00:00
Pedro Gonçalves 082c614dde uv4l: add new rule for video stream of raspicam. 2017-01-25 15:46:53 +00:00
Pedro Gonçalves 18c53ad585 systems/lauv-aux-rpi/test-rpi: add new rules to config file. 2017-01-25 11:55:15 +00:00
Pedro Gonçalves a7df46d61a linux: update kernel to 4.4.10. 2017-01-24 19:59:42 +00:00
Pedro Gonçalves 6a3376b24a systems/lauv-aux-rpi/cfg: update cfg linux kernel for v4l and fuse modules. 2017-01-24 19:58:55 +00:00
João Teixeira 4510993b5a Merge branch 'feature/nest-1' 2017-01-23 18:03:45 +00:00
mariacosta 1bcbd2d2fb lctr-b2xx: Enabled UART4 by default. 2017-01-17 15:12:22 +00:00
mariacosta 04f268c481 GLUED: Updated Copyright. 2017-01-16 10:30:25 +00:00
Pedro Gonçalves 24f7c187a9 rpi-boot-firmware: add new url/package of boot rpi firmware. 2017-01-11 15:24:17 +00:00
Pedro Gonçalves f4933e8c15 systems/lauv-aux-rpi: add option to enable raspicam. 2017-01-11 15:22:39 +00:00
Pedro Gonçalves a45a415415 linux/rpi: update url package. 2017-01-11 15:20:32 +00:00
Pedro Gonçalves b2230b577f feature/raspicam: add test-rpi.cfg to system lauv-aux-rpi, merge feature/rpi-linux-4.4. 2017-01-11 13:49:34 +00:00
Pedro Gonçalves 0c9e3b6622 Merge branch 'feature/rpi-linux-4.4' into feature/raspicam 2017-01-10 19:52:29 +00:00
Pedro Gonçalves 8e99dc6870 raspicam: add new URL for package. Some cleanup in rule. 2017-01-06 17:47:14 +00:00
Pedro Gonçalves 28372cd2fd raspicam: add new rule for raspicam camera. 2017-01-04 19:45:51 +00:00
tsmarques 996c2c6fa0 rules/perf: Fixed target_install(). Copy perf to rootfs instead of toolchain. 2016-12-20 18:05:02 +00:00
João Teixeira 7c15c5d1c4 lctr-rpi: ignore lctr-rpi build folder 2016-11-30 20:08:05 +00:00
João Teixeira 6fe196ad09 lctr-rpi:nest-1 add suport to mobile internet 2016-11-30 20:05:30 +00:00
João Teixeira b5dba77554 lctr-rpi: Add configuration files for main cpu,(systems based in raspberry pi) 2016-11-29 17:29:12 +00:00
Ricardo Martins cce9bdb98c lauv-aux-rpi: upgraded linux to v4.4. 2016-11-15 12:06:24 +00:00
Pedro Gonçalves 61dc4d2094 opencv: upgraded to v2.4.13. 2016-11-04 19:01:48 +00:00
tsmarques 0ec6de7ea4 rules/perf: removed temporary file. 2016-10-18 15:15:33 +02:00
tsmarques e5bfb87131 systems/lctr-a6xx/config: build perf for lctr-a6xx systems. 2016-10-17 23:44:05 +02:00
tsmarques 0eeb5362b9 rules/perf: added rules for perf package. 2016-10-17 23:43:58 +02:00
mariacosta 15dd2b7bd6 pkrootfs: DTB currently is in root folder. 2016-10-03 17:08:52 +01:00
Ricardo Martins eddb1c7611 libpng: upgraded to v1.6.23. 2016-06-20 11:21:26 +01:00
Ricardo Martins 6b7b82786e linux: forced depmod path. 2016-06-14 19:30:56 +01:00
Ricardo Martins f9b7edea6e kmod: fixed symlink. 2016-06-14 19:30:29 +01:00
Ricardo Martins 62730377b2 docker: install file package. 2016-06-14 18:54:37 +01:00
Ricardo Martins 4ff07d69e0 docker: added script to create docker container suitable to build GLUED. 2016-06-03 14:23:22 +01:00
João Teixeira 77752d3db9 lctr-a6xx: added FTDI support to caravela 2016-06-01 16:41:30 +01:00
Ricardo Martins 79e474bd3d filesystem: added support for Raspberry Pi 3. 2016-05-18 12:45:31 +01:00
Ricardo Martins 0e030cb595 linux: install all dtbs to root folder. 2016-05-18 12:44:52 +01:00
Ricardo Martins 08117b4b9a mkdisk: copy boot files recursively, added support for multiple dtbs. 2016-05-18 12:44:21 +01:00
Ricardo Martins e24efe0258 lauv-aux-rpi: moved config.txt to system folder. 2016-05-17 19:10:08 +01:00
Ricardo Martins b648eab591 lauv-aux-rpi: moved config.txt to system folder. 2016-05-17 19:09:55 +01:00
Ricardo Martins c3f5888e1a linux: added support for device tree overlays and added function to find patches. 2016-05-17 19:08:51 +01:00
Ricardo Martins 4ad474f096 filesystem: updated upgrade script to support newer kernels. 2016-05-17 19:06:30 +01:00
137 changed files with 26586 additions and 1003 deletions

2
.gitignore vendored
View File

@ -10,3 +10,5 @@
/lauv-aux-rpi
/ntnu-b2xx
/stamp9g20
/lctr-rpi
build.bash

View File

@ -0,0 +1,6 @@
cfg_target_canonical="armv11-$cfg_glued_vendor-linux-gnueabi"
cfg_target_linux='arm'
cfg_target_uboot_arch='arm'
cfg_target_gcc_flags='-O2 -pipe -funit-at-a-time -mcpu=cortex-a72 -mtune=cortex-a72 -mfloat-abi=hard -mfpu=neon-fp-armv8'
cfg_target_gcc_configure_flags='--with-cpu=cortex-a72 --with-tune=cortex-a72 --with-fpu=neon-fp-armv8 --with-float=hard'
cfg_target_ar_flags='aarch64-elf'

38
docker/Dockerfile Normal file
View File

@ -0,0 +1,38 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or (at #
# your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
FROM debian:8
MAINTAINER Ricardo Martins <rasm@oceanscan-mst.com>
ENV DEBIAN_FRONTEND noninteractive
# Update distro.
RUN apt-get update -y
RUN apt-get dist-upgrade -y
RUN apt-get install -y wget
RUN apt-get install -y bzip2
RUN apt-get install -y git
RUN apt-get install -y g++-multilib
RUN apt-get install -y cmake
RUN apt-get install -y file
RUN apt-get install -y kmod

32
docker/Makefile Normal file
View File

@ -0,0 +1,32 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2016 OceanScan - Marine Systems & Technology, Lda. #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or (at #
# your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Ricardo Martins #
###########################################################################
TAG := glued
VERSION := 2016.05.0
VOLUME := $(CURDIR)/..
DNS := 8.8.8.8
all:
docker build -t $(TAG):$(VERSION) .
shell:
docker run -w $(VOLUME) --dns=$(DNS) -i -a stdin -a stdout -v $(VOLUME):$(VOLUME) -t $(TAG):$(VERSION)

View File

@ -1,6 +1,6 @@
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -23,7 +23,7 @@
###########################################################################
# Config: GLUED version.
cfg_glued_version='2016.05'
cfg_glued_version='2017.11'
# Config: GLUED vendor.
cfg_glued_vendor='lsts'

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -103,15 +103,17 @@ create_part_rpiboot()
for f in "$cfg_sys_family/rootfs/boot/"*; do
nfo2 installing $f to boot partition
cp "$f" mount || die
cp -r "$f" mount || die
done
nfo2 renaming kernel to kernel7.img
mv mount/kernel mount/kernel7.img
dtb=$(basename "$cfg_target_linux_dtb")
nfo2 renaming board.dtb to "$dtb"
mv "mount/board.dtb" "mount/$dtb"
if [ -f mount/board.dtb ]; then
dtb=$(basename "$cfg_target_linux_dtb")
nfo2 renaming board.dtb to "$dtb"
mv "mount/board.dtb" "mount/$dtb"
fi
cmd_parted "$dev_loop" \
set "$part_nr" lba on \

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -71,17 +71,22 @@ download()
fi
fi
# First try OceanScan-MST mirror.
omst_url="http://www.omst.pt/glued/$(basename $u)"
download_tool "$omst_url" "$cfg_dir_downloads/$file"
# First try LSTS mirror.
lsts_url="https://www.lsts.pt/glued/$(basename $u)"
download_tool "$lsts_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
# On failure try upstream URL.
download_tool "$u" "$cfg_dir_downloads/$file"
# Then try OceanScan-MST mirror.
omst_url="http://www.omst.pt/glued/$(basename $u)"
download_tool "$omst_url" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
echo "ERROR: download failed"
exit 1
# On failure try upstream URL.
download_tool "$u" "$cfg_dir_downloads/$file"
if [ $? -ne 0 ]; then
echo "ERROR: download failed"
exit 1
fi
fi
fi
fi
md5="$(md5sum_tool "$cfg_dir_downloads/$file")"
if [ "$s" != "$md5" ]; then

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2013 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

68
mkupdate.bash Executable file
View File

@ -0,0 +1,68 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation; either version 2 of the License, or (at #
# your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, but #
# WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU #
# General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program; if not, write to the Free Software #
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA #
# 02110-1301 USA. #
###########################################################################
# Author: Tiago Marques #
###########################################################################
update_tool()
{
rsync -v "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
if [ $? -eq 0 ]; then
return 0
fi
scp "$1" root@"$2":/opt/"$cfg_glued_vendor"/glued/
if [ $? -eq 0 ]; then
return 0
fi
return 1
}
# Check command line arguments.
if [ $# -lt 1 ]; then
echo "Usage: $0 <config>"
exit 1
fi
# Read system configuration file.
if ! [ -f "$1" ]; then
echo -e "\e[1;31mERROR: invalid configuration file '$1'\e[0m"
exit 1
fi
# Read system configuration file.
source "$1"
if [ ! -f "$cfg_rootfs_tar" ];
then
echo -e "\e[1;31mERROR: You should run ./pkrootfs $1\e[0m"
exit 1
fi
# check for dirty repo
if [[ "$cfg_glued_git_version" =~ .*-dirty$ ]]
then
echo -e "\e[1;31mThis glued's version is dirty\e[0m"
fi
# send package to the system
update_tool "$cfg_rootfs_tar" "$cfg_eth_ext_ip"

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #
@ -60,7 +60,7 @@ done
# Copy DTB.
if [ -n "$cfg_target_linux_dtb" ]; then
cp -v "$cfg_dir_toolchain/boot/$(basename $cfg_target_linux_dtb)" "$cfg_dir_rootfs/boot/board.dtb"
cp -v "$cfg_dir_rootfs/boot/$(basename $cfg_target_linux_dtb)" "$cfg_dir_rootfs/boot/board.dtb"
fi
# Write config vars.

View File

@ -1,7 +1,7 @@
#! /bin/bash
###########################################################################
# GLUED: GNU/Linux Uniform Environment Distribution #
# Copyright (C) 2007-2014 Universidade do Porto - Faculdade de Engenharia #
# Copyright (C) 2007-2019 Universidade do Porto - Faculdade de Engenharia #
# Laboratório de Sistemas e Tecnologia Subaquática (LSTS) #
###########################################################################
# This program is free software; you can redistribute it and/or modify #

View File

@ -26,4 +26,5 @@ requires=\
'parted/host'
'dosfstools/host'
'e2fsprogs/host'
'cmake/host'
)

View File

@ -37,7 +37,8 @@ configure()
{
cd "../boost_$vendor_version" &&
./bootstrap.sh \
--with-icu="$cfg_dir_toolchain_sysroot/usr"
--with-icu="$cfg_dir_toolchain_sysroot/usr" \
--with-libraries="regex,filesystem,system,thread"
GXX_VER=$(${cmd_target_cxx} -dumpversion)
echo "using gcc : ${GXX_VER} : ${cmd_target_cxx} : <cxxflags>\"-pipe -Os -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 ${cfg_target_gcc_flags} \" <linkflags>\"\" ;" > user-config.jam

View File

@ -1,16 +1,16 @@
version=\
(
'1.5'
'1.6'
)
url=\
(
"http://downloads.sourceforge.net/project/bridge/bridge/bridge-utils-$version.tar.gz"
"http://www.kernel.org/pub/linux/utils/net/bridge-utils/bridge-utils-$version.tar.gz"
)
md5=\
(
'ec7b381160b340648dede58c31bb2238'
'f369e90e85e4bb46baa26a7b9d66b578'
)
maintainer=\

View File

@ -35,6 +35,11 @@ build()
host_install()
{
$cmd_make install
# make available for cross compilation
for f in "${cfg_dir_toolchain_sysroot}/usr/lib/"libcurl*so*; do
echo "Doing $f"
ln -s -f "$f" "${cfg_dir_toolchain}/lib"
done
}
target_install()

52
rules/czmq/default.bash Normal file
View File

@ -0,0 +1,52 @@
version=\
(
"3.0.2"
)
url=\
(
"https://github.com/zeromq/czmq/archive/v$version.tar.gz"
)
md5=\
(
"23e9885f7ee3ce88d99d0425f52e9be1"
)
configure()
{
./autogen.sh && \
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
requires=\
(
'libtool/host'
'zeromq'
)
target_install()
{
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libczmq.*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

37
rules/dune/default.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'master'
)
requires=\
(
'cmake/host'
)
download()
{
git clone "git@github.com:LSTS/dune.git" dune &&
cd dune && git checkout "$version" && cd - &&
git clone "git@git.lsts.pt:dune-private.git" dune/private &&
cd dune/private && git checkout "$version" && cd -
}
configure()
{
$cmd_mkdir build &&
cd build &&
cmake \
-DCMAKE_INSTALL_PREFIX="$cfg_dir_toolchain_sysroot/usr" \
-DCROSS="$cmd_target_cc" \
../dune
}
build()
{
$cmd_make -C build
}
host_install()
{
$cmd_make -C build install
}

View File

@ -1,6 +1,6 @@
version=\
(
'1.0.6'
'1.0.71'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'07783e66e27601ab0a8250c328b3d6bf'
'075c9256fe20cf6ce867dc2b1c974ebe'
)
if [ -d "$cfg_dir_builds/linux/linux-"* ]; then

View File

@ -0,0 +1,37 @@
version=\
(
"10.96"
)
url=\
(
"https://lsts.pt/glued/exiftoolBin-${version}.tar.gz"
)
md5=\
(
"71d52bf2d75f023b844dd8c9100daaff"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
requires=\
(
'perl/default'
)
post_unpack()
{
$cmd_cp -r ../exiftoolBin-${version}/* .
}
target_install()
{
$cmd_cp -rv usr/* $cfg_dir_toolchain_sysroot/usr/
$cmd_cp -rv usr/* $cfg_dir_rootfs/usr/
$cmd_cp -rv usr/local/bin/* $cfg_dir_rootfs/usr/bin/
}

57
rules/exiv2/default.bash Normal file
View File

@ -0,0 +1,57 @@
version=\
(
"0.25"
)
url=\
(
"http://lsts.pt/glued/exiv2-${version}.tar.gz"
)
md5=\
(
"258d4831b30f75a01e0234065c6c2806"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
requires=\
(
"gettext/host"
)
configure()
{
./configure \
--datadir="$cfg_dir_toolchain_sysroot" \
--prefix="$cfg_dir_rootfs/usr" \
--includedir="$cfg_dir_toolchain_sysroot/usr/include" \
--enable-cross-compile \
--build=$cfg_target_linux \
--host="$cfg_target_canonical" \
--enable-shared \
--disable-static \
--disable-xmp
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
# Libs:
for f in "$cfg_dir_rootfs/lib/"libexiv2*; do
cp -av "$f" "$cfg_dir_toolchain_sysroot/usr/lib"
done
}

View File

@ -15,12 +15,14 @@ md5=\
configure()
{
mkdir -p ../build
./configure \
--sysroot="$cfg_dir_toolchain_sysroot" \
--prefix="$cfg_dir_rootfs/usr" \
--incdir="$cfg_dir_toolchain_sysroot/usr/include" \
--enable-cross-compile \
--cross-prefix="$cfg_target_canonical-" \
--libdir="$cfg_dir_builds/ffmpeg/build" \
--target-os="linux" \
--enable-shared \
--disable-static \
@ -39,10 +41,16 @@ host_install()
$cmd_make \
LIBDIR="$cfg_dir_toolchain_sysroot/usr/lib" \
install-headers
$cmd_make \
install-libs
}
target_install()
{
$cmd_make \
install-libs
$cmd_cp -r "$cfg_dir_builds/ffmpeg/build/"* "$cfg_dir_rootfs/usr/lib/"
$cmd_cp -r "$cfg_dir_builds/ffmpeg/build/"* "$cfg_dir_toolchain_sysroot/usr/lib/"
}

View File

@ -0,0 +1,15 @@
start()
{
if [ ! -f /opt/check_wlan ]; then
cp -ri /etc/check_wlan /opt/
fi
sh /opt/check_wlan < /dev/null > /dev/null 2>&1 &
}
stop()
{
echo "* Stopping process..."
killall sh /opt/check_wlan -9 > /dev/null 2>&1
echo "* Process not running."
}

View File

@ -0,0 +1,87 @@
start()
{
ifconfig wlan0 up
if [ -n "$cfg_eth_ext_ip$cfg_eth_prv_ip" ]; then
while [ 1 ]; do
echo "* Waiting for wlan0 device..."
ifconfig wlan0 > /dev/null 2>&1
[ $? -eq 0 ] && break
usleep 250000
done
fi
if [ -n "$cfg_bridge0_ip" ]; then
for itf in $cfg_bridge0_itfs; do
ifconfig $itf 0.0.0.0
done
brctl addbr bridge0
for itf in $cfg_bridge0_itfs; do
brctl addif bridge0 $itf
done
ifconfig bridge0 $cfg_bridge0_ip netmask $cfg_bridge0_nmask up
ifconfig bridge0 multicast
route add -net 224.0.0.0 netmask 240.0.0.0 dev bridge0
fi
# Public ethernet.
if [ -n "$cfg_eth_ext_ip" ]; then
if [ -n "$cfg_eth_ext_mk" ]; then
ifconfig wlan0 "$cfg_eth_ext_ip" netmask "$cfg_eth_ext_mk" up
else
ifconfig wlan0 "$cfg_eth_ext_ip" up
fi
ifconfig wlan0 multicast
route add -net 224.0.0.0 netmask 240.0.0.0 dev wlan0
# Fixed mac address with $cfg_eth_ext_mac based derivated from IP address $cfg_eth_ext_ip
if [ -n "$cfg_eth_ext_mac" ]; then
ifconfig wlan0 hw ether $cfg_eth_ext_mac
fi
fi
if [ -n "$cfg_eth_ext_gw" ]; then
route add default gw "$cfg_eth_ext_gw"
fi
if [ -n "$cfg_eth_ext_dns" ]; then
echo "nameserver $cfg_eth_ext_dns" > /etc/resolv.conf
fi
# Private ethernet.
if [ -n "$cfg_eth_prv_ip" ]; then
ifconfig wlan0:prv "$cfg_eth_prv_ip" up
fi
# Static ARP table.
if [ -n "$cfg_arp_table" ]; then
for e in $cfg_arp_table; do
ip="$(echo $e | cut -f1 -d'|')"
mac="$(echo $e | cut -f2 -d'|')"
arp -s "$ip" "$mac"
done
fi
iw wlan0 connect LSTS
ifconfig eth0 down
}
stop()
{
# Public ethernet.
if [ -n "$cfg_eth_ext_gw" ]; then
route del default
fi
if [ -n "$cfg_eth_ext_ip" ]; then
route del -net 224.0.0.0 netmask 240.0.0.0 dev wlan0
ifconfig wlan0 down
fi
# Private ethernet.
if [ -n "$cfg_eth_prv_ip" ]; then
ifconfig wlan0:prv down
fi
}

View File

@ -89,7 +89,7 @@ kernel_mtd_part()
uboot_mtd_part()
{
echo -n "* Detecting u-boot MTD paritition... "
echo -n "* Detecting u-boot MTD partition... "
if ! [ -f /proc/mtd ]; then
echo "filesystem"
return 0
@ -239,12 +239,19 @@ rpi2_boot_part_upgrade()
fi
done
dtb="bcm2709-rpi-2-b.dtb"
if [ -f "/mnt/$dtb" ]; then
for f in overlays; do
if [ -d "/mnt/$f" ]; then
echo -en "* $label: Replacing $f... "
rm -rf "/mnt/$f" && cp -r "$base/.glued-new/boot/$f" /mnt
echo 'done'
fi
done
for dtb in "$base/.glued-new/boot/"*.dtb; do
echo -en "* $label: Replacing $dtb... "
cp "$base/.glued-new/boot/board.dtb" "/mnt/$dtb"
cp "$dtb" "/mnt"
echo 'done'
fi
done
kernel='kernel7.img'
if [ -f "/mnt/$kernel" ]; then
@ -265,15 +272,17 @@ rpi2_boot_part_upgrade()
return 0
}
# Check if board is a Raspberry Pi 2.
# Check if board is a Raspberry Pi 2/3.
rpi2_boot_part_upgrade_check()
{
dmesg | grep Machine | grep BCM2709 > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "* rpi2: machine detected"
rpi2_boot_part_upgrade "rpi2" "/dev/mmcblk0p1"
return 0
fi
for machine in 'bcm2709' 'raspberry pi'; do
dmesg | grep Machine | grep -i "$machine" > /dev/null 2>&1
if [ $? -eq 0 ]; then
echo "* rpi2: machine detected"
rpi2_boot_part_upgrade "rpi2" "/dev/mmcblk0p1"
return 0
fi
done
}
old_move()

View File

@ -49,10 +49,15 @@ host_install()
target_install()
{
$cmd_mkdir \
"$cfg_dir_rootfs/usr/lib" &&
libdir=lib
if [ -d "$cfg_dir_toolchain/$cfg_target_canonical/lib64" ]; then
libdir=lib64
fi
for f in "$cfg_dir_toolchain/$cfg_target_canonical/lib/"{libgcc_s,libstdc++}.so*; do
$cmd_mkdir \
"$cfg_dir_rootfs/usr/$libdir" &&
for f in "$cfg_dir_toolchain/$cfg_target_canonical/$libdir/"{libgcc_s,libstdc++}.so*; do
base="$(basename $f)"
if [ $(echo "$base" | grep '\.py' 2> /dev/null) ]; then

View File

@ -1,6 +1,6 @@
version=\
(
'7.8.2'
'7.10.1'
)
url=\
@ -10,5 +10,5 @@ url=\
md5=\
(
'a80cf252ed2e775d4e4533341bbf2459'
'39e654460c9cdd80200a29ac020cfe11'
)

37
rules/htop/default.bash Normal file
View File

@ -0,0 +1,37 @@
version=\
(
'2.0.2'
)
url=\
(
"https://hisham.hm/htop/releases/$version/htop-$version.tar.gz"
)
md5=\
(
'7d354d904bad591a931ad57e99fea84a'
)
maintainer=\
(
'Jose Pinto <zepinto@lsts.pt>'
)
build()
{
$cmd_make
}
configure()
{
cd "../htop-$version"
./configure --disable-unicode --prefix="${cfg_dir_rootfs}"
}
target_install()
{
cd "../htop-$version"
$cmd_make install
}

34
rules/iw/default.bash Normal file
View File

@ -0,0 +1,34 @@
version=\
(
"4.9"
)
url=\
(
"http://lsts.pt/glued/iw-$version.tar.bz2"
)
md5=\
(
"ae8ccaa154449300c2c02eb90a37eebb"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
configure()
{
mv "../iw_$version/etc" "../iw-$version/"
mv "../iw_$version/lib" "../iw-$version/"
mv "../iw_$version/sbin" "../iw-$version/"
}
target_install()
{
$cmd_cp -r "etc/"* "$cfg_dir_rootfs/etc/"
$cmd_cp -r "sbin/"* "$cfg_dir_rootfs/sbin/"
$cmd_cp -r "lib/"* "$cfg_dir_rootfs/lib/"
$cmd_cp -r "$pkg_dir/fs/"* "$cfg_dir_rootfs/"
}

View File

@ -0,0 +1,46 @@
#!/bin/bash
export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/bin:/bin
############################# USER INPUT ###########################
ip_dest=10.0.30.3
####################################################################
############### DON'T EDIT ##########################################
check_interval=1
log=/opt/.wifi.log
wlan=wlan0
eth=eth0
exec 1> /dev/null
exec 2>> $log
echo $(date) > $log
# without check_interval set, we risk a 0 sleep = busy loop
if [ ! "$check_interval" ]; then
echo "No check interval set!" >> $log
exit 1
fi
startWifi () {
iw wlan0 connect LSTS >> $log
}
ifconfig $eth down
ifconfig $wlan up
while [ 1 ]; do
ping -q -c1 $ip_dest > /dev/null
if [ $? -ne 0 ]; then
echo $(date)" attempting restart..." >> $log
startWifi
sleep 1
else
echo "IS LINKED" >> $log
sleep $check_interval
fi
done
#####################################################################

View File

@ -0,0 +1,45 @@
version=\
(
"2.7"
)
url=\
(
"http://www.digip.org/jansson/releases/jansson-2.7.tar.gz"
)
md5=\
(
"3a106a465bbb77637550b422f5b262ef"
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical"
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libjansson.*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

View File

@ -16,5 +16,5 @@ build()
host_install()
{
$cmd_make install &&
ln -fs kmod "$cfg_dir_toolchain/sbin/depmod"
ln -fs ../bin/kmod "$cfg_dir_toolchain/sbin/depmod"
}

25
rules/kplex/default.bash Normal file
View File

@ -0,0 +1,25 @@
version=\
(
'1.4'
)
url=\
(
"https://github.com/stripydog/kplex/archive/v$version.tar.gz"
)
md5=\
(
'df198384d2d7dee4b802136f4f9e9d44'
)
build()
{
cd ../kplex-$version && $cmd_make VERBOSE=1 CC="$cmd_target_cc"
}
target_install()
{
$cmd_cp ../kplex-$version/kplex "$cfg_dir_rootfs/usr/bin/kplex"
}

View File

@ -1,6 +1,6 @@
version=\
(
'1.6.19'
'1.6.23'
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'1e6a458429e850fc93c1f3b6dc00a48f'
'9b320a05ed4db1f3f0865c8a951fd9aa '
)
configure()

View File

@ -1,16 +1,16 @@
version=\
(
'3.14.63'
'4.4.66'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz"
)
md5=\
(
'6cf8a6b23849f47f511e0e46cfdb6392'
'5353de56bf4621a35afc4384c7e51f30'
)
maintainer=\

View File

@ -1,16 +1,16 @@
version=\
(
'3.14.63'
'4.4.66'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$version.tar.xz"
)
md5=\
(
'6cf8a6b23849f47f511e0e46cfdb6392'
'5353de56bf4621a35afc4384c7e51f30'
)
maintainer=\
@ -25,6 +25,9 @@ requires=\
'lz4/host'
)
# This variable is updated by find_patches().
patches=()
# Major/Minor version.
linux_mm_version()
{
@ -37,17 +40,21 @@ linux_mmp_version()
echo "$version" | cut -f1 -d-
}
patches=(\
$(ls -1 \
"$pkg_dir/patches/$version/"*.patch \
"$pkg_dir/patches/$(linux_mmp_version)/"*.patch \
"$pkg_dir/patches/$(linux_mm_version)/"*.patch \
"$cfg_dir_system/patches/linux/$version/"*.patch \
"$cfg_dir_system/patches/linux/$(linux_mmp_version)/"*.patch \
"$cfg_dir_system/patches/linux/$(linux_mm_version)/"*.patch \
2> /dev/null | awk '!a[$0]++')
)
find_patches()
{
patches=(\
$(ls -1 \
"$pkg_dir/patches/$version/"*.patch \
"$pkg_dir/patches/$(linux_mmp_version)/"*.patch \
"$pkg_dir/patches/$(linux_mm_version)/"*.patch \
"$cfg_dir_system/patches/linux/$version/"*.patch \
"$cfg_dir_system/patches/linux/$(linux_mmp_version)/"*.patch \
"$cfg_dir_system/patches/linux/$(linux_mm_version)/"*.patch \
2> /dev/null | awk '!a[$0]++')
)
}
find_patches
# Get configuration file.
linux_cfg_file()
@ -153,15 +160,6 @@ build()
fi
}
host_install()
{
# Device tree blobs.
if [ -n "$cfg_target_linux_dtb" ]; then
$cmd_mkdir "$cfg_dir_toolchain/boot" &&
cp -v "$(dirname $cfg_target_linux_dtb)/"*.dtb "$cfg_dir_toolchain/boot"
fi
}
target_install()
{
if [ -n "$(file "$cfg_target_linux_kernel" | grep ELF)" ]; then
@ -177,15 +175,31 @@ target_install()
return 1
fi
# Device tree blobs.
dts="arch/$cfg_target_linux/boot/dts"
if [ -d "$dts" ]; then
$cmd_mkdir "$cfg_dir_rootfs/boot" &&
cp -v "$dts/"*.dtb "$cfg_dir_rootfs/boot"
fi
# Device tree overlays.
overlays_dir="arch/$cfg_target_linux/boot/dts/overlays"
if [ -d "$overlays_dir" ]; then
$cmd_mkdir "$cfg_dir_rootfs/boot/overlays" || return 1
$cmd_cp "$overlays_dir"/*.dtbo "$cfg_dir_rootfs/boot/overlays" || return 1
fi
$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
modules_install
$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
firmware_install
}

View File

@ -2,21 +2,19 @@
version=\
(
'3.18_2015-06-03'
'4.4_2017-01-27'
)
url=\
(
"https://github.com/rasmartins/rpi-linux/archive/rpi-linux-$version.tar.gz"
"http://lsts.pt/glued/rpi-linux-$version.zip"
)
md5=\
(
'0b0255e50ca358b619bb78653ac2db2e'
'f31d48a9d2c93509b35e750be489b44c'
)
post_unpack()
{
rmdir "../linux-$version" &&
mv "../rpi-linux-rpi-linux-$version" "../linux-$version"
}
build_dir="rpi-linux-rpi-linux-$version"
find_patches

View File

@ -2,12 +2,12 @@
version=\
(
'3.14.64-rt67'
'4.4.66-rt79'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$(linux_mmp_version).tar.xz"
"https://www.kernel.org/pub/linux/kernel/v4.x/linux-$(linux_mmp_version).tar.xz"
"https://www.kernel.org/pub/linux/kernel/projects/rt/$(linux_mm_version)/patch-$version.patch.gz"
)

206
rules/linux/v3_14.bash Normal file
View File

@ -0,0 +1,206 @@
version=\
(
'3.14.63'
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
)
md5=\
(
'6cf8a6b23849f47f511e0e46cfdb6392'
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
)
requires=\
(
'bc/host'
'kmod/host'
'lz4/host'
)
# This variable is updated by find_patches().
patches=()
# Major/Minor version.
linux_mm_version()
{
echo "$version" | cut -f1-2 -d.
}
# Major/Minor/Patch version.
linux_mmp_version()
{
echo "$version" | cut -f1 -d-
}
find_patches()
{
patches=(\
$(ls -1 \
"$pkg_dir/patches/$version/"*.patch \
"$pkg_dir/patches/$(linux_mmp_version)/"*.patch \
"$pkg_dir/patches/$(linux_mm_version)/"*.patch \
"$cfg_dir_system/patches/linux/$version/"*.patch \
"$cfg_dir_system/patches/linux/$(linux_mmp_version)/"*.patch \
"$cfg_dir_system/patches/linux/$(linux_mm_version)/"*.patch \
2> /dev/null | awk '!a[$0]++')
)
}
find_patches
# Get configuration file.
linux_cfg_file()
{
for f in "$version" "$(linux_mmp_version)" "$(linux_mm_version)"; do
f="$cfg_dir_system/cfg/linux-$f.cfg"
if [ -f "$f" ]; then
echo "$f"
return 0
fi
echo "Candidate kernel configuration file '$f' doesn't exist." 1>&2
done
echo "ERROR: failed to find a valid kernel configuration file." 1>&2
return 1
}
post_unpack()
{
cp -r ../linux-3.14.63/* ../linux_3.3-3.14.63
n=0; while [ -n "${patches[$n]}" ]; do
patch="${patches[$n]}"
echo "* Applying $patch..."
(ucat "$patch" | patch -p1) || return 1
let n++
done
if [ -d "$cfg_dir_toolchain/firmware" ]; then
tar -C "$cfg_dir_toolchain/firmware" -c -v -f - . | tar -C firmware -x -v -f -
fi
}
refresh()
{
for rule in configure build target_install; do
if [ "$(linux_cfg_file)" -nt "$cfg_dir_builds/linux/$pkg_var/.$rule" ]; then
rm "$cfg_dir_builds/linux/$pkg_var/.$rule"
fi
done
}
configure()
{
$cmd_make \
ARCH=${cfg_target_linux} \
mrproper || return 1
cfg="$(linux_cfg_file)"
[ -n "$cfg" ] || return 1
$cmd_cp "$cfg" .config || return 1
if [ -f "$cfg_dir_system/files/initramfs_init.sh" ]; then
$cmd_mkdir initramfs &&
$cmd_cp "$pkg_dir/files/initramfs.conf" . &&
$cmd_cp "$cfg_dir_system/files/initramfs_init.sh" initramfs/init.sh &&
$cmd_cp "$cfg_dir_rootfs/bin/busybox" initramfs/busybox
fi
yes '' | $cmd_make \
CROSS_COMPILE=${cfg_target_canonical}- \
ARCH=${cfg_target_linux} \
oldconfig
}
build()
{
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux || return 1
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
modules || return 1
if [ "$(basename $cfg_target_linux_kernel)" = 'uImage' ]; then
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
uImage || return 1
fi
# Compressed image.
if [ "$(basename $cfg_target_linux_kernel)" = 'zImage' ]; then
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
zImage || return 1
fi
# Device tree blob.
if [ -n "$cfg_target_linux_dtb" ]; then
$cmd_make \
CROSS_COMPILE=$cfg_target_canonical- \
ARCH=$cfg_target_linux \
dtbs || return 1
fi
if [ -n "${cfg_target_linux_size}" ]; then
dd if="$cfg_target_linux_kernel" of="${cfg_target_linux_kernel}.padded" \
ibs="${cfg_target_linux_size}" conv=sync &&
mv "${cfg_target_linux_kernel}.padded" "${cfg_target_linux_kernel}"
fi
}
target_install()
{
if [ -n "$(file "$cfg_target_linux_kernel" | grep ELF)" ]; then
strip="$(echo $cfg_dir_toolchain/bin/*-strip)"
$strip -s -R .comment "$cfg_target_linux_kernel"
fi
# Kernel image.
if [ -n "$cfg_target_linux_kernel" ]; then
cp -v "$cfg_target_linux_kernel" "$cfg_dir_rootfs/boot/kernel"
else
echo "ERROR: failed to find kernel image at '$cfg_target_linux_kernel'"
return 1
fi
# Device tree blobs.
dts="arch/$cfg_target_linux/boot/dts"
if [ -d "$dts" ]; then
$cmd_mkdir "$cfg_dir_rootfs/boot" &&
cp -v "$dts/"*.dtb "$cfg_dir_rootfs/boot"
fi
# Device tree overlays.
overlays_dir="arch/$cfg_target_linux/boot/dts/overlays"
if [ -d "$overlays_dir" ]; then
$cmd_mkdir "$cfg_dir_rootfs/boot/overlays" || return 1
$cmd_cp "$overlays_dir"/*.dtbo "$cfg_dir_rootfs/boot/overlays" || return 1
fi
$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
modules_install
$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
firmware_install
}

38
rules/lpg/default.bash Normal file
View File

@ -0,0 +1,38 @@
version=\
(
"1.2"
)
url=\
(
"http://lsts.pt/glued/lpg-$version.tar.gz"
)
md5=\
(
"d71e2f282372a5cb1021d9e457a3d53f"
)
requires=\
(
'bison/host'
'flex/host'
)
configure()
{
./configure "$cfg_target_canonical-gcc"
}
build()
{
$cmd_make \
BISON="$cfg_dir_toolchain/bin/bison" \
FLEX="$cfg_dir_toolchain/bin/flex"
}
target_install()
{
$cmd_cp "lpg" "$cfg_dir_rootfs/usr/bin"
}

View File

@ -0,0 +1,32 @@
version=\
(
"5.01"
)
url=\
(
"http://www.lsts.pt/glued/memtest86+-$version.tar.gz"
)
md5=\
(
"035b85f2edabc9b4a6b0cf6c9c3acf50"
)
maintainer=\
(
'Tiago Sá Marques <tsmarques@fe.up.pt>'
)
build()
{
$cmd_make \
CC=$cmd_target_cc \
CXX=$cmd_target_cxx
}
target_install()
{
$cmd_cp ./memtest.bin $cfg_dir_rootfs/boot/
tar -C "$pkg_dir/fs" --exclude .svn -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@ -0,0 +1,14 @@
#! /bin/sh
echo "Starting memtest in 10 seconds (requires reboot), Ctrl-C to cancel..."
for r in 0 1 2 3 4 5 6 7 8 9; do
printf "."
sleep 1
done
mount -o remount,rw /
extlinux -o "memtest" /boot/extlinux/
mount -o remount,ro /
echo "* Rebooting now"
reboot

View File

@ -1,6 +1,6 @@
version=\
(
"2.4.11"
"2.4.13"
)
url=\
@ -10,7 +10,7 @@ url=\
md5=\
(
'32f498451bff1817a60e1aabc2939575'
'886b0c511209b2f3129649928135967c'
)
requires=\
@ -63,6 +63,11 @@ host_install()
{
cd ${pkg_build_dir}/../build &&
$cmd_make install
# make available for cross compilation
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libopencv*so*; do
ln -s -f "$f" "$cfg_dir_toolchain/lib"
done
}
target_install()

View File

@ -30,6 +30,7 @@ configure()
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--with-privsep-path=$cfg_dir_rootfs/var/empty \
--disable-strip
}

46
rules/perf/default.bash Normal file
View File

@ -0,0 +1,46 @@
version=\
(
"3.19"
)
url=\
(
"https://www.kernel.org/pub/linux/kernel/v3.x/linux-$version.tar.xz"
)
requires=\
(
'flex/host'
'bison/host'
'zlib/default'
)
# v3.19
md5=\
(
'd3fc8316d4d4d04b65cbc2d70799e763'
)
#3.14.63
# md5=('6cf8a6b23849f47f511e0e46cfdb6392')
build()
{
cd ../linux-$version/
$cmd_make \
CROSS_COMPILE="$cfg_target_canonical-" \
ARCH="$cfg_target_linux" \
INSTALL_MOD_PATH="$cfg_dir_rootfs/usr" \
KBUILD_VERBOSE=1 \
DEPMOD="$cfg_dir_toolchain/sbin/depmod" \
NO_LIBELF=1 \
LDFLAGS=-static \
-C "./tools/perf/"
}
target_install()
{
$cmd_cp ../linux-$version/tools/perf/perf \
$cfg_dir_rootfs/usr/bin/
}

View File

@ -0,0 +1,60 @@
version=\
(
"1.0.0"
)
url=\
(
"http://lsts.pt/glued/raspicam-$version.zip"
)
md5=\
(
"169e62fd17d41455a42711a2f9c54fd1"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
requires=\
(
'uv4l/default'
'cmake/host'
)
configure()
{
LINKER_ADDED_FLAGS="-Wl,-rpath,${cfg_dir_rootfs}/usr/lib"
${cfg_dir_toolchain}/usr/local/bin/cmake \
-DCMAKE_SYSTEM_NAME="Linux" \
-DCMAKE_SYSTEM_VERSION="1" \
-DCMAKE_FIND_ROOT_PATH="${cfg_dir_toolchain_sysroot}/usr ${cfg_dir_rootfs}/usr" \
-DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY \
-DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY \
-DCMAKE_C_COMPILER="${cmd_target_cc}" \
-DCMAKE_CXX_COMPILER="${cmd_target_cxx}" \
-DCMAKE_C_FLAGS="${cfg_target_gcc_flags}" \
.
}
build()
{
$cmd_make VERBOSE=1
}
host_install()
{
cd build/
$cmd_cp -r "lib/"* "$cfg_dir_toolchain_sysroot/usr/lib/"
$cmd_cp -r "inc/"* "$cfg_dir_toolchain_sysroot/usr/include/"
}
target_install()
{
cd build/
$cmd_cp -r "lib/"* "$cfg_dir_rootfs/usr/lib/"
$cmd_cp -r "bin/"* "$cfg_dir_rootfs/usr/bin/"
}

View File

@ -1,31 +1,29 @@
version=\
(
'2015-06-03'
'2017-02-02'
)
url=\
(
"https://github.com/rasmartins/rpi-boot-firmware/archive/rpi-boot-firmware-$version.tar.gz"
"http://lsts.pt/glued/rpi-boot-firmware-$version.zip"
)
maintainer=\
(
'Ricardo Martins <rasm@fe.up.pt>'
'Pedro Gonçalves <pedro@lsts.pt>'
)
md5=\
(
'a80ee36b66cccda4e9ccb7eb26bd6bb8'
'eb42664fce4d73f167064e697dfacb76'
)
target_install()
{
$cmd_mkdir \
"$cfg_dir_rootfs/boot" &&
$cmd_mkdir "$cfg_dir_rootfs/boot"
for f in bootcode.bin fixup.dat start.elf; do
$cmd_cp -r "../$pkg-$pkg-$version/$f" "$cfg_dir_rootfs/boot"
done &&
$cmd_cp "../$pkg-$version/"* "$cfg_dir_rootfs/boot/"
tar -C "$pkg_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@ -1 +1 @@
dwc_otg.lpm_enable=0 console=ttyAMA0,115200,8n1 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet
dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 elevator=deadline rootwait quiet

View File

@ -1 +0,0 @@
arm_freq=1000

View File

@ -1,3 +1,6 @@
LABEL linux
KERNEL /boot/kernel
APPEND rootwait root=$cfg_kernel_boot_dev rootfstype=ext2 ro $cfg_kernel_extra_args
LABEL memtest
LINUX /boot/memtest.bin

41
rules/uv4l/default.bash Normal file
View File

@ -0,0 +1,41 @@
version=\
(
"1.0.0"
)
url=\
(
"http://lsts.pt/glued/uv4l.$version.tar.bz2"
)
md5=\
(
"869e884accbfa9c2356e2fd9307dd71c"
)
maintainer=\
(
'Pedro Gonçalves <pedro@lsts.pt>'
)
post_unpack()
{
mv "../etc" "../uv4l-$version/"
mv "../usr" "../uv4l-$version/"
}
host_install()
{
$cmd_cp -r "usr/lib/"* "$cfg_dir_toolchain_sysroot/usr/lib/"
$cmd_cp -r "usr/include/"* "$cfg_dir_toolchain_sysroot/usr/include/"
}
target_install()
{
$cmd_cp -r "usr/lib/"* "$cfg_dir_rootfs/usr/lib/"
$cmd_cp -r "usr/bin/"* "$cfg_dir_rootfs/usr/bin/"
tar -C "$pkg_dir/fs" -c -f - . | tar -C "$cfg_dir_rootfs" -x -v -f -
}

View File

@ -0,0 +1,28 @@
start()
{
killall uv4l
modprobe cuse &&
uv4l \
-nopreview \
--auto-video_nr \
--driver raspicam \
--encoding h264 \
--width 1080 \
--height 720 \
--framerate 20 \
--quality 10 \
--server-option \
--port=9090 \
--server-option \
--max-queued-connections=30 \
--server-option \
--max-streams=25 \
--server-option \
--max-threads=29
}
stop()
{
killall uv4l
rmmod uv4l
}

46
rules/zeromq/default.bash Normal file
View File

@ -0,0 +1,46 @@
version=\
(
"4.1.3"
)
url=\
(
"http://download.zeromq.org/zeromq-$version.tar.gz"
)
md5=\
(
"d0824317348cfb44b8692e19cc73dc3a"
)
configure()
{
./configure \
--prefix="${cfg_dir_toolchain_sysroot}/usr" \
--target="$cfg_target_canonical" \
--host="$cfg_target_canonical" \
--build="$cfg_host_canonical" \
--without-libsodium
}
build()
{
$cmd_make
}
host_install()
{
$cmd_make install
}
target_install()
{
# Libs:
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libzmq.*; do
if [ -L "$f" ]; then
$cmd_cp "$f" "$cfg_dir_rootfs/usr/lib"
else
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
fi
done
}

View File

@ -0,0 +1,34 @@
version=\
(
'1.4.2'
)
url=\
(
"https://github.com/zerotier/ZeroTierOne/archive/$version.tar.gz"
)
md5=\
(
'c173f8b61bcdb23844a2669ff0d7bdf0'
)
build()
{
cd ../ZeroTierOne-$version && $cmd_make \
VERBOSE=1 \
CC="$cmd_target_cc" \
CXX="$cmd_target_cxx" \
LD="$cmd_target_ld" \
STRIP="$cmd_target_strip" \
CC_FLAGS="$cfg_target_gcc_flags"
}
target_install()
{
$cmd_cp "../ZeroTierOne-$version/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-one"
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-cli"
ln -sf "$cfg_dir_rootfs/usr/bin/zerotier-one" "$cfg_dir_rootfs/usr/bin/zerotier-idtool"
}

File diff suppressed because it is too large Load Diff

View File

@ -6,13 +6,12 @@ cfg_services1='lauv-storage-server'
cfg_services2='dune'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi'
cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_target_linux_dtb='arch/arm/boot/dts/bcm2709-rpi-2-b.dtb'
cfg_ptpd_interface='eth0'
cfg_terminal='ttyAMA0'
cfg_lauv_storage_dir='/opt/lsts/dune/log'
cfg_partitions=\
(
rpi-boot boot0 512B 32MiB
rpi-boot BOOT0 512B 32MiB
root root0 32MiB 544MiB
data data0 544MiB -1
)

View File

@ -0,0 +1,9 @@
# Core.
arm_freq=1000
# Disable BT on Rpi3.
dtoverlay=pi3-disable-bt
# Enable RasPicam
start_x=1
gpu_mem=128

View File

@ -0,0 +1,2 @@
cfg_hostname='lauv-arpao-aux'
cfg_eth_ext_ip='10.0.10.63'

View File

@ -3,3 +3,4 @@ cfg_eth_ext_ip='10.0.200.24'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services1=''

View File

@ -0,0 +1,6 @@
cfg_hostname='lauv-blue'
cfg_eth_ext_ip='10.0.2.55'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services1=''

View File

@ -0,0 +1,3 @@
cfg_hostname='lauv-nemo-1-aux'
cfg_eth_ext_ip='10.0.10.63'
cfg_packages="$cfg_packages boost"

View File

@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@ -6,5 +6,5 @@ cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost europa'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@ -0,0 +1,10 @@
cfg_hostname='lauv-xplore-3-aux'
cfg_eth_ext_ip='10.0.10.143'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@ -0,0 +1,10 @@
cfg_hostname='lauv-xplore-4-aux'
cfg_eth_ext_ip='10.0.10.153'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@ -0,0 +1,10 @@
cfg_hostname='lauv-xplore-5-aux'
cfg_eth_ext_ip='10.0.10.163'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_services0='network dropbear storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='trex'
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind nfs-utils rpi-boot-firmware linux/rpi libantlr3c boost'

View File

@ -3,4 +3,3 @@ cfg_eth_ext_ip='10.0.10.53'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_lauv_storage='internal'

View File

@ -0,0 +1,2 @@
cfg_hostname='buv-petinga-1'
cfg_eth_ext_ip='10.0.10.170'

View File

@ -1,3 +1,4 @@
cfg_hostname='caravela'
cfg_eth_ext_ip='10.0.10.40'
cfg_packages="$cfg_packages ppp iptables"
cfg_packages="$cfg_packages ppp iptables"
cfg_modules="$cfg_modules ftdi_sio"

View File

@ -136,7 +136,7 @@ CONFIG_HAVE_PCSPKR_PLATFORM=y
CONFIG_EXPERT=y
# CONFIG_UID16 is not set
# CONFIG_SYSCTL_SYSCALL is not set
# CONFIG_KALLSYMS is not set
CONFIG_KALLSYMS=y
CONFIG_PRINTK=y
CONFIG_BUG=y
CONFIG_ELF_CORE=y
@ -1529,7 +1529,7 @@ CONFIG_USB_SERIAL_GENERIC=y
# CONFIG_USB_SERIAL_CP210X is not set
# CONFIG_USB_SERIAL_CYPRESS_M8 is not set
# CONFIG_USB_SERIAL_EMPEG is not set
# CONFIG_USB_SERIAL_FTDI_SIO is not set
CONFIG_USB_SERIAL_FTDI_SIO=m
# CONFIG_USB_SERIAL_VISOR is not set
# CONFIG_USB_SERIAL_IPAQ is not set
# CONFIG_USB_SERIAL_IR is not set
@ -1900,7 +1900,7 @@ CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
#
# Compile-time checks and compiler options
#
# CONFIG_DEBUG_INFO is not set
CONFIG_DEBUG_INFO=y
# CONFIG_ENABLE_WARN_DEPRECATED is not set
# CONFIG_ENABLE_MUST_CHECK is not set
CONFIG_FRAME_WARN=2048

File diff suppressed because it is too large Load Diff

View File

@ -4,7 +4,7 @@ cfg_services0='dropbear network storage upgrade syslog escc ptpd setserial'
cfg_services1=''
cfg_services2='dune'
cfg_modules=''
cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2'
cfg_packages='coreboot-lsts emm-8p-xt-eeprom zlib dropbear rsync busybox flashrom e2fsprogs socat linux escc syslinux syslinux/host ptpd ntp uswitch pciutils bzip2 memtest86+'
cfg_terminal='ttyS0'
cfg_target_linux_kernel='arch/x86/boot/bzImage'
cfg_ptpd_master='true'
@ -12,5 +12,5 @@ cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_eth_prv_ip='192.168.0.1'
cfg_escc_script='/etc/escc/hg1700.sh'
cfg_escc_script=''
cfg_kernel_extra_args='panic=5 quiet'

View File

@ -0,0 +1,2 @@
cfg_hostname='geode-testbed'
cfg_eth_ext_ip='10.0.200.64'

View File

@ -0,0 +1,2 @@
cfg_hostname='lauv-arpao'
cfg_eth_ext_ip='10.0.10.60'

View File

@ -0,0 +1,2 @@
cfg_hostname='lauv-nemo-1'
cfg_eth_ext_ip='10.0.10.60'

View File

@ -1,2 +1,3 @@
cfg_hostname='lauv-xplore-1'
cfg_eth_ext_ip='10.0.10.120'
cfg_modules="$cfg_modules ftdi_sio"

View File

@ -0,0 +1,2 @@
cfg_hostname='lauv-xplore-3'
cfg_eth_ext_ip='10.0.10.140'

View File

@ -0,0 +1,2 @@
cfg_hostname='lauv-xplore-4'
cfg_eth_ext_ip='10.0.10.150'

View File

@ -0,0 +1,2 @@
cfg_hostname='lauv-xplore-5'
cfg_eth_ext_ip='10.0.10.160'

View File

@ -0,0 +1,85 @@
diff -Nru a/drivers/tty/serial/8250/8250_aim104_com8.c b/drivers/tty/serial/8250/8250_aim104_com8.c
--- a/drivers/tty/serial/8250/8250_aim104_com8.c
+++ b/drivers/tty/serial/8250/8250_aim104_com8.c
@@ -0,0 +1,51 @@
+#include <linux/module.h>
+#include <linux/init.h>
+#include <linux/serial_8250.h>
+
+#define PORT(_base,_irq) \
+ { \
+ .iobase = _base, \
+ .irq = _irq, \
+ .uartclk = 1843200, \
+ .iotype = UPIO_PORT, \
+ .flags = UPF_BOOT_AUTOCONF | UPF_BUGGY_UART, \
+ }
+
+static struct plat_serial8250_port aim104_data[] = {
+ PORT(0x100, 10),
+ PORT(0x108, 10),
+ PORT(0x110, 10),
+ PORT(0x118, 10),
+ PORT(0x120, 10),
+ PORT(0x128, 10),
+ PORT(0x130, 10),
+ PORT(0x138, 10),
+ PORT(0x300, 6),
+ PORT(0x308, 6),
+ PORT(0x310, 6),
+ PORT(0x318, 6),
+ PORT(0x320, 6),
+ PORT(0x328, 6),
+ PORT(0x330, 6),
+ PORT(0x338, 6),
+ { },
+};
+
+static struct platform_device exar_device = {
+ .name = "serial8250",
+ .id = PLAT8250_DEV_PLATFORM,
+ .dev = {
+ .platform_data = aim104_data,
+ },
+};
+
+static int __init exar_init(void)
+{
+ return platform_device_register(&exar_device);
+}
+
+module_init(exar_init);
+
+MODULE_AUTHOR("Ricardo Martins");
+MODULE_DESCRIPTION("8250 serial probe module for Eurotech AIM104-COM8");
+MODULE_LICENSE("GPL");
diff -Nru a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig
--- a/drivers/tty/serial/8250/Kconfig
+++ b/drivers/tty/serial/8250/Kconfig
@@ -225,6 +225,15 @@ config SERIAL_8250_EXAR_ST16C554
To compile this driver as a module, choose M here: the module
will be called 8250_exar_st16c554.
+config SERIAL_8250_AIM104_COM8
+ tristate "Support Eurotech AIM104-COM8 Dual Quad UART"
+ depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
+ help
+ Eurotech AIM104-COM8 Dual Quad UART.
+
+ To compile this driver as a module, choose M here: the module
+ will be called 8250_aim104_com8.
+
config SERIAL_8250_HUB6
tristate "Support Hub6 cards"
depends on SERIAL_8250 != n && ISA && SERIAL_8250_MANY_PORTS
diff -Nru a/drivers/tty/serial/8250/Makefile b/drivers/tty/serial/8250/Makefile
--- a/drivers/tty/serial/8250/Makefile
+++ b/drivers/tty/serial/8250/Makefile
@@ -17,6 +17,7 @@ obj-$(CONFIG_SERIAL_8250_FOURPORT) += 8250_fourport.o
obj-$(CONFIG_SERIAL_8250_ACCENT) += 8250_accent.o
obj-$(CONFIG_SERIAL_8250_BOCA) += 8250_boca.o
obj-$(CONFIG_SERIAL_8250_EXAR_ST16C554) += 8250_exar_st16c554.o
+obj-$(CONFIG_SERIAL_8250_AIM104_COM8) += 8250_aim104_com8.o
obj-$(CONFIG_SERIAL_8250_HUB6) += 8250_hub6.o
obj-$(CONFIG_SERIAL_8250_MCA) += 8250_mca.o
obj-$(CONFIG_SERIAL_8250_FSL) += 8250_fsl.o

View File

@ -0,0 +1,14 @@
diff --git a/drivers/tty/serial/8250/8250_port.c b/drivers/tty/serial/8250/8250_port.c
index 52d82d2..613c7e9 100644
--- a/drivers/tty/serial/8250/8250_port.c
+++ b/drivers/tty/serial/8250/8250_port.c
@@ -132,8 +132,7 @@ static const struct serial8250_config uart_config[] = {
.name = "ST16654",
.fifo_size = 64,
.tx_loadsz = 32,
- .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_01 |
- UART_FCR_T_TRIG_10,
+ .fcr = UART_FCR_ENABLE_FIFO | UART_FCR_R_TRIG_00,
.rxtrig_bytes = {8, 16, 56, 60},
.flags = UART_CAP_FIFO | UART_CAP_EFR | UART_CAP_SLEEP,
},

View File

@ -0,0 +1,51 @@
# For more options and information see
# http://www.raspberrypi.org/documentation/configuration/config-txt.md
# Some settings may impact device functionality. See link above for details
kernel=uboot.bin
device_tree_address=0x02000000
# enable i2c
dtparam=i2c_arm=on
dtparam=spi=on
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference, blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800

File diff suppressed because it is too large Load Diff

19
systems/lctr-a72xx/config Normal file
View File

@ -0,0 +1,19 @@
cfg_architecture='cortex-a72'
cfg_storage='data0:ext4:/opt'
cfg_services0='dropbear network storage upgrade syslog ptpd'
cfg_services1=''
cfg_services2='dune'
cfg_modules=''
cfg_packages='dropbear rsync busybox e2fsprogs dosfstools ptpd rpcbind rpi-boot-firmware bison binutils openssl linux/rpi exiftool libusb'
cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_ptpd_interface='eth0'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_terminal='tty1'
cfg_partitions=\
(
rpi-boot BOOT0 512B 32MiB
root root0 32MiB 544MiB
data data0 544MiB -1
)

View File

@ -0,0 +1,3 @@
cfg_hostname="lctr-a72xx-testbed"
cfg_eth_ext_ip="10.0.200.18"
cfg_kernel_boot_dev='/dev/mmcblk0p1'

View File

@ -4,7 +4,7 @@ cfg_modules=''
cfg_services0='dropbear network storage upgrade syslog'
cfg_services1='huawei ntpd'
cfg_services2='dune'
cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq'
cfg_packages='u-boot dropbear rsync busybox linux/v3_14 uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq'
cfg_target_linux_kernel='arch/arm/boot/zImage'
cfg_target_linux_dtb='arch/arm/boot/dts/omap3-lctr-a9xx.dtb'
cfg_target_uboot_config='igep0020'

View File

@ -0,0 +1,2 @@
cfg_hostname='manta-rugged-2'
cfg_eth_ext_ip='10.0.30.25'

View File

@ -0,0 +1,2 @@
cfg_hostname='manta-sabuvis'
cfg_eth_ext_ip='10.0.30.26'

View File

@ -0,0 +1,105 @@
diff --git linux-4.4.66/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
index 30bbc37..7241be6 100644
--- linux-4.4.66/arch/arm/boot/dts/Makefile
+++ linux-4.4.66/arch/arm/boot/dts/Makefile
@@ -421,6 +421,7 @@
omap3-igep0020-rev-f.dtb \
omap3-igep0030.dtb \
omap3-igep0030-rev-g.dtb \
+ omap3-lctr-a9xx.dtb \
omap3-ldp.dtb \
omap3-lilly-dbb056.dtb \
omap3-n900.dtb \
diff -Nru linux-4.4.66/arch/arm/boot/dts/omap3-lctr-a9xx.dts linux-4.4.66.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts
--- linux-4.4.66/arch/arm/boot/dts/omap3-lctr-a9xx.dts
+++ linux-4.4.66.rasm/arch/arm/boot/dts/omap3-lctr-a9xx.dts
@@ -0,0 +1,89 @@
+/*
+ * Copyright (C) 2014 Universidade do Porto - Faculdade de Engenharia
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include <dt-bindings/input/input.h>
+#include "omap3-igep0020.dts"
+
+/ {
+ leds {
+ boot {
+ linux,default-trigger = "heartbeat";
+ };
+ };
+
+ gpio_keys {
+ pinctrl-names = "default";
+ pinctrl-0 = <&gpio_keys_pins>;
+ compatible = "gpio-keys";
+
+ button@0 {
+ label = "Button 0";
+ gpios = <&gpio5 11 GPIO_ACTIVE_HIGH>; /* gpio_139 */
+ linux,code = <BTN_0>;
+ debounce-interval = <5>;
+ };
+
+ button@1 {
+ label = "Button 1";
+ gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>; /* gpio_138 */
+ linux,code = <BTN_1>;
+ debounce-interval = <5>;
+ };
+
+ button@2 {
+ label = "Button 2";
+ gpios = <&gpio5 9 GPIO_ACTIVE_HIGH>; /* gpio_137 */
+ linux,code = <BTN_2>;
+ debounce-interval = <5>;
+ };
+ };
+
+ pps {
+ compatible = "pps-gpio";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pps_pins>;
+ gpios = <&gpio5 8 GPIO_ACTIVE_HIGH>;
+ assert-rising-edge;
+ };
+};
+
+&omap3_pmx_core {
+ gpio_keys_pins: pinmux_gpio_keys_pins {
+ pinctrl-single,pins = <
+ 0x136 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_137 - button 2 */
+ 0x138 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_138 - button 1 */
+ 0x13a (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_139 - button 0 */
+ >;
+ };
+
+ pps_pins: pinmux_pps_pins {
+ pinctrl-single,pins = <
+ 0x134 (PIN_INPUT_PULLDOWN | MUX_MODE4) /* gpio_136 */
+ >;
+ };
+};
+
+&i2c2 {
+ rtc@68 {
+ compatible = "dallas,ds1307";
+ reg = <0x68>;
+ };
+};
+
+/* Disable WiFi/Bluetooth combo. */
+&mmc2 {
+ status = "disabled";
+};
+
+&vdd33 {
+ status = "disabled";
+};
+
+&lbee1usjyc_pdn {
+ status = "disabled";
+};

View File

@ -1,2 +0,0 @@
cfg_hostname='x8-00'
cfg_eth_ext_ip='10.0.20.95'

View File

@ -1,3 +1,3 @@
cfg_hostname='x8-02'
cfg_eth_ext_ip='10.0.20.105'
cfg_packages='u-boot dropbear rsync busybox linux uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq libav'
cfg_eth_ext_ip='10.0.20.100'
cfg_packages='u-boot dropbear rsync busybox linux/v3_14 uswitch ppp iptables socat bridge-utils ntp e2fsprogs i2c-tools iperf dnsmasq libav'

View File

@ -1,6 +1,6 @@
cfg_hostname='aero-01'
cfg_storage='data0:ext4:/opt'
cfg_eth_ext_ip='10.0.20.120'
cfg_eth_ext_ip='10.0.20.80'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_packages='u-boot dropbear rsync busybox e2fsprogs ptpd i2c-tools am33xx-cm3/host linux libav'

View File

@ -0,0 +1,7 @@
cfg_hostname='lauv-noptilus-1-aux'
cfg_storage='data0:ext4:/opt data1:ext4:/opt/lsts/dune/log'
cfg_eth_ext_ip='10.0.10.83'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages boost jansson czmq zeromq"

View File

@ -0,0 +1,7 @@
cfg_hostname='lauv-noptilus-2-aux'
cfg_storage='data0:ext4:/opt data1:ext4:/opt/lsts/dune/log'
cfg_eth_ext_ip='10.0.10.93'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages boost jansson czmq zeromq"

View File

@ -4,3 +4,4 @@ cfg_eth_ext_ip='10.0.10.103'
cfg_eth_ext_mk='255.255.0.0'
cfg_eth_ext_gw='10.0.0.1'
cfg_ptpd_interface='eth0'
cfg_packages="$cfg_packages boost jansson czmq zeromq"

View File

@ -1,14 +1,13 @@
diff -Nru linux-3.13.1/arch/arm/boot/dts/Makefile linux-3.13.1.rasm/arch/arm/boot/dts/Makefile
--- linux-3.13.1/arch/arm/boot/dts/Makefile 2014-01-29 13:06:37.000000000 +0000
+++ linux-3.13.1.rasm/arch/arm/boot/dts/Makefile 2014-02-01 06:53:43.968486026 +0000
@@ -198,6 +198,7 @@
--- linux-4.4.66/arch/arm/boot/dts/Makefile 2017-09-25 13:07:10.353013618 +0100
+++ linux-4.4.66.tsm/arch/arm/boot/dts/Makefile 2017-09-25 13:11:13.523693878 +0100
@@ -463,6 +463,7 @@
am335x-evm.dtb \
am335x-evmsk.dtb \
am335x-bone.dtb \
am335x-boneblack.dtb \
+ am335x-lctr-b2xx.dtb \
am335x-nano.dtb \
am335x-base0033.dtb \
am3517-evm.dtb \
+ am335x-lctr-b2xx.dtb \
am335x-pepper.dtb \
am335x-lxm.dtb \
am335x-chiliboard.dtb \
diff -Nru linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts
--- linux-3.13.1/arch/arm/boot/dts/am335x-lctr-b2xx.dts 1970-01-01 01:00:00.000000000 +0100
+++ linux-3.13.1.rasm/arch/arm/boot/dts/am335x-lctr-b2xx.dts 2014-02-01 06:51:48.273816483 +0000

Some files were not shown because too many files have changed in this diff Show More