mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 16:37:01 +02:00
chore(dev-embedded): remove uneeded ebuilds
This commit is contained in:
parent
a26b37e306
commit
e43a016307
@ -1,32 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_COMMIT="594d7b583de7b49d93f0fb1553d46a43c6b6f8b2"
|
||||
CROS_WORKON_TREE="3c1f68b1c84462e5e30c6f8f6f354ecff67f44bd"
|
||||
CROS_WORKON_PROJECT="chromiumos/third_party/cbootimage"
|
||||
|
||||
inherit cros-workon
|
||||
|
||||
DESCRIPTION="Utility for signing Tegra2 boot images"
|
||||
HOMEPAGE="http://git.chromium.org"
|
||||
SRC_URI=""
|
||||
LICENSE="GPLv2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
exeinto /usr/bin
|
||||
|
||||
doexe cbootimage
|
||||
doexe bct_dump
|
||||
}
|
@ -1 +0,0 @@
|
||||
cbootimage-0.0.2.ebuild
|
@ -1,21 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://nv-tegra.nvidia.com/tools/cbootimage.git"
|
||||
EGIT_COMMIT="0bbfaf91d1bfdf1bebf884d100e874e4e6b16b6a"
|
||||
inherit git-2
|
||||
|
||||
DESCRIPTION="Utility for signing Tegra2 boot images"
|
||||
HOMEPAGE="http://nv-tegra.nvidia.com/gitweb/?p=tools/cbootimage.git"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPLv2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
src_install() {
|
||||
dobin cbootimage bct_dump
|
||||
}
|
@ -1,30 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_PROJECT="chromiumos/third_party/cbootimage"
|
||||
|
||||
inherit cros-workon
|
||||
|
||||
DESCRIPTION="Utility for signing Tegra2 boot images"
|
||||
HOMEPAGE="http://git.chromium.org"
|
||||
SRC_URI=""
|
||||
LICENSE="GPLv2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
exeinto /usr/bin
|
||||
|
||||
doexe cbootimage
|
||||
doexe bct_dump
|
||||
}
|
@ -1 +0,0 @@
|
||||
DIST ftdi_eeprom-0.4_rc1.tar.gz 35296 SHA256 014535173150062af45190988b559c702073589aa5fb040974556dbac05fb065 SHA512 27ae9909f236235909913f559e0975c4c808a7dbb49f4614cd9714ab23844ce841e79491b524c39479b7d29f1334043630f5cd49bdedcd0173b2706d7ba4d6a3 WHIRLPOOL 5e408bce01cca128dc3284b5b448c455612d95a6095aaca18669ce12b5a1ddac0e73f4ff89762323da66ca75816ea78b2a4ab6faa01eed66ed49271dc12bdf21
|
@ -1,9 +0,0 @@
|
||||
getopts.patch:
|
||||
- bugfix to allow programming of devices with default FTDI id:0x0403/0x6001
|
||||
to a new vid/pid. Previously, ftdi_eeprom assumed that the vid/pid in the
|
||||
config file otherwise. In addition, added ability to override serial number
|
||||
in config file on command line.
|
||||
|
||||
Now to program board for first time:
|
||||
ftdi_eeprom -v 0x403 -p 0x6001 -s 000-001 /usr/share/ftdi_eeprom/mini-servo.conf
|
||||
where: inside mini-servo.conf vid/pid is 0x18d1/0x5000
|
@ -1,46 +0,0 @@
|
||||
vendor_id=0x18d1
|
||||
product_id=0x5000
|
||||
|
||||
max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
|
||||
|
||||
###########
|
||||
# Strings #
|
||||
###########
|
||||
# total of these strings is <= eeprom_size - 28bytes
|
||||
# for 232R ( 128B ) so 100bytes
|
||||
manufacturer="Google Inc"
|
||||
product="mini-servo:810-10011-00"
|
||||
serial="000-00000000" #<eco>-<id>
|
||||
|
||||
###########
|
||||
# Options #
|
||||
###########
|
||||
self_powered=true # Turn this off for bus powered
|
||||
remote_wakeup=false # Turn this on for remote wakeup feature
|
||||
use_serial=true # Use the serial number string
|
||||
|
||||
# Avail options: BM|R|other
|
||||
chip_type=R
|
||||
# Avail options:
|
||||
# TXDEN|PWREN|RXLED|TXLED|TXRXLED|SLEEP|CLK48|CLK24|CLK12|CLK6|
|
||||
# IO_MODE|BITBANG_WR|BITBANG_RD|SPECIAL
|
||||
cbus0=IO_MODE
|
||||
cbus1=IO_MODE
|
||||
cbus2=IO_MODE
|
||||
cbus3=IO_MODE
|
||||
cbus4=PWREN
|
||||
|
||||
# Normally out don't have to change one of these flags
|
||||
# 2010/12/21 : tbroch : deprecated in ToT for chip_type
|
||||
#BM_type_chip=true # Newer chips are all BM type
|
||||
in_is_isochronous=false # In Endpoint is Isochronous
|
||||
out_is_isochronous=false # Out Endpoint is Isochronous
|
||||
suspend_pull_downs=false # Enable suspend pull downs for lower power
|
||||
change_usb_version=false # Change USB Version
|
||||
usb_version=0x0200 # Only used when change_usb_version is enabled
|
||||
|
||||
########
|
||||
# Misc #
|
||||
########
|
||||
|
||||
filename="eeprom.new" # Filename, leave empty to skip file writing
|
@ -1,47 +0,0 @@
|
||||
vendor_id=0x18d1
|
||||
product_id=0x5000
|
||||
|
||||
max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
|
||||
|
||||
###########
|
||||
# Strings #
|
||||
###########
|
||||
# total of these strings is <= eeprom_size - 28bytes
|
||||
# for 232R ( 128B ) so 100bytes
|
||||
manufacturer="Google Inc"
|
||||
product="mini-servo:810-10011-01"
|
||||
# serial <id> 3-digits hand-labelled on pack of mini-servos
|
||||
serial="000-000" #<eco>-<id>
|
||||
|
||||
###########
|
||||
# Options #
|
||||
###########
|
||||
self_powered=true # Turn this off for bus powered
|
||||
remote_wakeup=false # Turn this on for remote wakeup feature
|
||||
use_serial=true # Use the serial number string
|
||||
|
||||
# Avail options: BM|R|other
|
||||
chip_type=R
|
||||
# Avail options:
|
||||
# TXDEN|PWREN|RXLED|TXLED|TXRXLED|SLEEP|CLK48|CLK24|CLK12|CLK6|
|
||||
# IO_MODE|BITBANG_WR|BITBANG_RD|SPECIAL
|
||||
cbus0=IO_MODE
|
||||
cbus1=IO_MODE
|
||||
cbus2=IO_MODE
|
||||
cbus3=IO_MODE
|
||||
cbus4=PWREN
|
||||
|
||||
# Normally out don't have to change one of these flags
|
||||
# 2010/12/21 : tbroch : deprecated in ToT for chip_type
|
||||
#BM_type_chip=true # Newer chips are all BM type
|
||||
in_is_isochronous=false # In Endpoint is Isochronous
|
||||
out_is_isochronous=false # Out Endpoint is Isochronous
|
||||
suspend_pull_downs=false # Enable suspend pull downs for lower power
|
||||
change_usb_version=false # Change USB Version
|
||||
usb_version=0x0200 # Only used when change_usb_version is enabled
|
||||
|
||||
########
|
||||
# Misc #
|
||||
########
|
||||
|
||||
filename="eeprom.new" # Filename, leave empty to skip file writing
|
@ -1,37 +0,0 @@
|
||||
vendor_id=0x18d1
|
||||
product_id=0x5001
|
||||
|
||||
max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
|
||||
|
||||
###########
|
||||
# Strings #
|
||||
###########
|
||||
# total of these strings is <= eeprom_size - 28bytes
|
||||
manufacturer="Google Inc"
|
||||
product="servo:810-10010-00"
|
||||
serial="000-00000" #<eco>-<id>
|
||||
|
||||
###########
|
||||
# Options #
|
||||
###########
|
||||
self_powered=true # Turn this off for bus powered
|
||||
remote_wakeup=false # Turn this on for remote wakeup feature
|
||||
use_serial=true # Use the serial number string
|
||||
|
||||
# Avail options: BM|R|other
|
||||
chip_type=BM
|
||||
|
||||
# Normally out don't have to change one of these flags
|
||||
# 2010/12/21 : tbroch : deprecated in ToT for chip_type
|
||||
#BM_type_chip=true # Newer chips are all BM type
|
||||
in_is_isochronous=false # In Endpoint is Isochronous
|
||||
out_is_isochronous=false # Out Endpoint is Isochronous
|
||||
suspend_pull_downs=false # Enable suspend pull downs for lower power
|
||||
change_usb_version=false # Change USB Version
|
||||
usb_version=0x0200 # Only used when change_usb_version is enabled
|
||||
|
||||
########
|
||||
# Misc #
|
||||
########
|
||||
|
||||
filename="eeprom.new" # Filename, leave empty to skip file writing
|
@ -1,37 +0,0 @@
|
||||
vendor_id=0x18d1
|
||||
product_id=0x5001
|
||||
|
||||
max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
|
||||
|
||||
###########
|
||||
# Strings #
|
||||
###########
|
||||
# total of these strings is <= eeprom_size - 28bytes
|
||||
manufacturer="Google Inc"
|
||||
product="servo:810-10010-01"
|
||||
serial="000-00000" #<eco>-<id>
|
||||
|
||||
###########
|
||||
# Options #
|
||||
###########
|
||||
self_powered=true # Turn this off for bus powered
|
||||
remote_wakeup=false # Turn this on for remote wakeup feature
|
||||
use_serial=true # Use the serial number string
|
||||
|
||||
# Avail options: BM|R|other
|
||||
chip_type=BM
|
||||
|
||||
# Normally out don't have to change one of these flags
|
||||
# 2010/12/21 : tbroch : deprecated in ToT for chip_type
|
||||
#BM_type_chip=true # Newer chips are all BM type
|
||||
in_is_isochronous=false # In Endpoint is Isochronous
|
||||
out_is_isochronous=false # Out Endpoint is Isochronous
|
||||
suspend_pull_downs=false # Enable suspend pull downs for lower power
|
||||
change_usb_version=false # Change USB Version
|
||||
usb_version=0x0200 # Only used when change_usb_version is enabled
|
||||
|
||||
########
|
||||
# Misc #
|
||||
########
|
||||
|
||||
filename="eeprom.new" # Filename, leave empty to skip file writing
|
@ -1,37 +0,0 @@
|
||||
vendor_id=0x18d1
|
||||
product_id=0x5002
|
||||
|
||||
max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
|
||||
|
||||
###########
|
||||
# Strings #
|
||||
###########
|
||||
# total of these strings is <= eeprom_size - 28bytes
|
||||
manufacturer="Google Inc"
|
||||
product="servo:810-10010-02"
|
||||
serial="000-00000" #<eco>-<id>
|
||||
|
||||
###########
|
||||
# Options #
|
||||
###########
|
||||
self_powered=true # Turn this off for bus powered
|
||||
remote_wakeup=false # Turn this on for remote wakeup feature
|
||||
use_serial=true # Use the serial number string
|
||||
|
||||
# Avail options: BM|R|other
|
||||
chip_type=BM
|
||||
|
||||
# Normally out don't have to change one of these flags
|
||||
# 2010/12/21 : tbroch : deprecated in ToT for chip_type
|
||||
#BM_type_chip=true # Newer chips are all BM type
|
||||
in_is_isochronous=false # In Endpoint is Isochronous
|
||||
out_is_isochronous=false # Out Endpoint is Isochronous
|
||||
suspend_pull_downs=false # Enable suspend pull downs for lower power
|
||||
change_usb_version=false # Change USB Version
|
||||
usb_version=0x0200 # Only used when change_usb_version is enabled
|
||||
|
||||
########
|
||||
# Misc #
|
||||
########
|
||||
|
||||
filename="eeprom.new" # Filename, leave empty to skip file writing
|
@ -1,37 +0,0 @@
|
||||
vendor_id=0x18d1
|
||||
product_id=0x5003
|
||||
|
||||
max_power=0 # Max. power consumption: value * 2 mA. Use 0 if self_powered = true.
|
||||
|
||||
###########
|
||||
# Strings #
|
||||
###########
|
||||
# total of these strings is <= eeprom_size - 28bytes
|
||||
manufacturer="Google Inc"
|
||||
product="servo:810-10010-02"
|
||||
serial="000-00000" #<eco>-<id>
|
||||
|
||||
###########
|
||||
# Options #
|
||||
###########
|
||||
self_powered=true # Turn this off for bus powered
|
||||
remote_wakeup=false # Turn this on for remote wakeup feature
|
||||
use_serial=true # Use the serial number string
|
||||
|
||||
# Avail options: BM|R|other
|
||||
chip_type=BM
|
||||
|
||||
# Normally out don't have to change one of these flags
|
||||
# 2010/12/21 : tbroch : deprecated in ToT for chip_type
|
||||
#BM_type_chip=true # Newer chips are all BM type
|
||||
in_is_isochronous=false # In Endpoint is Isochronous
|
||||
out_is_isochronous=false # Out Endpoint is Isochronous
|
||||
suspend_pull_downs=false # Enable suspend pull downs for lower power
|
||||
change_usb_version=false # Change USB Version
|
||||
usb_version=0x0200 # Only used when change_usb_version is enabled
|
||||
|
||||
########
|
||||
# Misc #
|
||||
########
|
||||
|
||||
filename="eeprom.new" # Filename, leave empty to skip file writing
|
@ -1,148 +0,0 @@
|
||||
diff --git a/src/main.c b/src/main.c
|
||||
index 81e6e93..972cc92 100644
|
||||
--- a/src/main.c
|
||||
+++ b/src/main.c
|
||||
@@ -21,6 +21,7 @@
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
+#include <getopt.h>
|
||||
|
||||
#include <confuse.h>
|
||||
#include <ftdi.h>
|
||||
@@ -90,6 +91,9 @@ int main(int argc, char *argv[])
|
||||
normal variables
|
||||
*/
|
||||
int _read = 0, _erase = 0, _flash = 0;
|
||||
+ int _vendor = 0x0403, _product = 0x6011;
|
||||
+ char _serial[128] = {'\0'};
|
||||
+
|
||||
unsigned char eeprom_buf[128];
|
||||
char *filename;
|
||||
int size_check;
|
||||
@@ -102,35 +106,68 @@ int main(int argc, char *argv[])
|
||||
printf("\nFTDI eeprom generator v%s\n", VERSION);
|
||||
printf ("(c) Intra2net AG <opensource@intra2net.com>\n");
|
||||
|
||||
- if (argc != 2 && argc != 3)
|
||||
+ int longval = 0;
|
||||
+ struct option long_options[] = {
|
||||
+ {"read-eeprom", no_argument, &_read, 1},
|
||||
+ {"erase-eeprom", no_argument, &_erase, 1},
|
||||
+ {"flash-eeprom", no_argument, &_flash, 1},
|
||||
+ {"vendor", required_argument, &longval, 'v'},
|
||||
+ {"product", required_argument, &longval, 'p'},
|
||||
+ {"serial", required_argument, &longval, 's'},
|
||||
+ {0, 0, 0, 0}
|
||||
+ };
|
||||
+
|
||||
+ int option_index = 0;
|
||||
+ char c;
|
||||
+ while ((c = getopt_long(argc, argv, "v:p:s:",
|
||||
+ long_options, &option_index)) != -1) {
|
||||
+ switch (c) {
|
||||
+ case 'v':
|
||||
+ _vendor = strtoul(optarg, NULL, 0);
|
||||
+ break;
|
||||
+ case 'p':
|
||||
+ _product = strtoul(optarg, NULL, 0);
|
||||
+ break;
|
||||
+ case 's':
|
||||
+ strcpy(_serial, optarg);
|
||||
+ break;
|
||||
+ case 0:
|
||||
+ switch (longval) {
|
||||
+ case 'v':
|
||||
+ _vendor = strtoul(optarg, NULL, 0);
|
||||
+ break;
|
||||
+ case 'p':
|
||||
+ _product = strtoul(optarg, NULL, 0);
|
||||
+ break;
|
||||
+ case 's':
|
||||
+ strcpy(_serial, optarg);
|
||||
+ break;
|
||||
+ default:
|
||||
+ break;
|
||||
+ }
|
||||
+ default:
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+ if (!_read & !_erase & !_flash)
|
||||
{
|
||||
- printf("Syntax: %s [commands] config-file\n", argv[0]);
|
||||
+ printf("Syntax: %s [switches|command] config-file\n", argv[0]);
|
||||
printf("Valid commands:\n");
|
||||
- printf("--read-eeprom Read eeprom and write to -filename- from config-file\n");
|
||||
- printf("--erase-eeprom Erase eeprom\n");
|
||||
- printf("--flash-eeprom Flash eeprom\n");
|
||||
+ printf("--read-eeprom Read eeprom and write to -filename- from config-file\n");
|
||||
+ printf("--erase-eeprom Erase eeprom\n");
|
||||
+ printf("--flash-eeprom Flash eeprom\n");
|
||||
+ printf("--vendor|-v <num> Vendor id to probe for on USB\n");
|
||||
+ printf("--product|-p <num> Product id to probe for on USB\n");
|
||||
+ printf("--serial|-s <string> Serial string to override\n");
|
||||
exit (-1);
|
||||
}
|
||||
|
||||
- if (argc == 3)
|
||||
- {
|
||||
- if (strcmp(argv[1], "--read-eeprom") == 0)
|
||||
- _read = 1;
|
||||
- if (strcmp(argv[1], "--erase-eeprom") == 0)
|
||||
- _erase = 1;
|
||||
- if (strcmp(argv[1], "--flash-eeprom") == 0)
|
||||
- _flash = 1;
|
||||
-
|
||||
- argc_filename = 2;
|
||||
- }
|
||||
- else
|
||||
- {
|
||||
- argc_filename = 1;
|
||||
- }
|
||||
+ argc_filename = optind;
|
||||
|
||||
if ((fp = fopen(argv[argc_filename], "r")) == NULL)
|
||||
{
|
||||
- printf ("Can't open configuration file\n");
|
||||
+ printf ("Can't open configuration file %s\n", argv[argc_filename]);
|
||||
exit (-1);
|
||||
}
|
||||
fclose (fp);
|
||||
@@ -163,14 +200,16 @@ int main(int argc, char *argv[])
|
||||
eeprom.out_is_isochronous = cfg_getbool(cfg, "out_is_isochronous");
|
||||
eeprom.suspend_pull_downs = cfg_getbool(cfg, "suspend_pull_downs");
|
||||
|
||||
- eeprom.use_serial = cfg_getbool(cfg, "use_serial");
|
||||
+ eeprom.use_serial = (_serial[0] == '\0') ?
|
||||
+ cfg_getbool(cfg, "use_serial") : 1;
|
||||
eeprom.change_usb_version = cfg_getbool(cfg, "change_usb_version");
|
||||
eeprom.usb_version = cfg_getint(cfg, "usb_version");
|
||||
|
||||
|
||||
eeprom.manufacturer = cfg_getstr(cfg, "manufacturer");
|
||||
eeprom.product = cfg_getstr(cfg, "product");
|
||||
- eeprom.serial = cfg_getstr(cfg, "serial");
|
||||
+ eeprom.serial = (_serial[0] == '\0') ?
|
||||
+ cfg_getstr(cfg, "serial") : _serial;
|
||||
eeprom.high_current = cfg_getbool(cfg, "high_current");
|
||||
eeprom.cbus_function[0] = str_to_cbus(cfg_getstr(cfg, "cbus0"), 13);
|
||||
eeprom.cbus_function[1] = str_to_cbus(cfg_getstr(cfg, "cbus1"), 13);
|
||||
@@ -198,11 +237,12 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
- printf("Unable to find FTDI devices under given vendor/product id: 0x%X/0x%X\n", eeprom.vendor_id, eeprom.product_id);
|
||||
- printf("Error code: %d (%s)\n", i, ftdi_get_error_string(&ftdi));
|
||||
- printf("Retrying with default FTDI id.\n");
|
||||
+ printf("Unable to find FTDI devices under given id:0x%02x/0x%02x\n",
|
||||
+ eeprom.vendor_id, eeprom.product_id);
|
||||
|
||||
- i = ftdi_usb_open(&ftdi, 0x0403, 0x6001);
|
||||
+ printf("Error code: %d (%s)\n", i, ftdi_get_error_string(&ftdi));
|
||||
+ printf("Retrying with id:0x%02x/0x%02x\n", _vendor, _product);
|
||||
+ i = ftdi_usb_open(&ftdi, _vendor, _product);
|
||||
if (i != 0)
|
||||
{
|
||||
printf("Error: %s\n", ftdi.error_str);
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2010 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/dev-embedded/ftdi_eeprom/ftdi_eeprom-0.3.ebuild,v 1.1 2010/06/22 22:19:02 vapier Exp $
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Utility to program external EEPROM for FTDI USB chips"
|
||||
HOMEPAGE="http://www.intra2net.com/en/developer/libftdi/"
|
||||
#
|
||||
# from HEAD 08d3572 'Support for FT232R eeprom features'
|
||||
#
|
||||
SRC_URI="http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/${PN}-${PV}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-embedded/libftdi-0.19
|
||||
dev-libs/confuse"
|
||||
|
||||
src_prepare() {
|
||||
epatch ${FILESDIR}/getopts.patch || die "patching getopts.patch"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install || die
|
||||
insinto "/usr/share/ftdi_eeprom"
|
||||
for item in ${FILESDIR}/confs/*.conf; do
|
||||
doins ${item}
|
||||
done
|
||||
dodoc AUTHORS ChangeLog README src/example.conf
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_COMMIT="66f1f0d949f4ca4836c1a65b622629205240e37a"
|
||||
CROS_WORKON_TREE="9e4e01d060cdaf9232236674d7e2a5bd14f1dfae"
|
||||
CROS_WORKON_PROJECT="chromiumos/third_party/tegra-power-query"
|
||||
|
||||
inherit cros-workon
|
||||
|
||||
DESCRIPTION="Utility monitoring power usage on Harmony and Seaboard"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
exeinto /usr/bin
|
||||
|
||||
doexe tegra-power-query || die "doexe failed"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_PROJECT="chromiumos/third_party/tegra-power-query"
|
||||
|
||||
inherit cros-workon
|
||||
|
||||
DESCRIPTION="Utility monitoring power usage on Harmony and Seaboard"
|
||||
HOMEPAGE=""
|
||||
SRC_URI=""
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
exeinto /usr/bin
|
||||
|
||||
doexe tegra-power-query || die "doexe failed"
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://nv-tegra.nvidia.com/tools/tegrarcm.git"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
inherit git-2
|
||||
|
||||
DESCRIPTION="Utility for downloading code to tegra system in recovery mode"
|
||||
HOMEPAGE="http://sourceforge.net/projects/tegra-rcm/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-libs/crypto++-5.6
|
||||
virtual/libusb:1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
dobin src/tegrarcm
|
||||
}
|
@ -1 +0,0 @@
|
||||
tegrarcm-1.2.ebuild
|
@ -1,30 +0,0 @@
|
||||
# Copyright (c) 2012 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=4
|
||||
|
||||
EGIT_REPO_URI="git://nv-tegra.nvidia.com/tools/tegrarcm.git"
|
||||
EGIT_COMMIT="v${PV}"
|
||||
inherit git-2
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Utility for downloading code to tegra system in recovery mode"
|
||||
HOMEPAGE="http://sourceforge.net/projects/tegra-rcm/"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=">=dev-libs/crypto++-5.6
|
||||
virtual/libusb:1"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin src/tegrarcm
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_COMMIT="1be161a89525d840e1f6d1f21b3f45645a7dedb3"
|
||||
CROS_WORKON_TREE="aeb5f4b3e2d7743026b2c267a4424203c924ffeb"
|
||||
CROS_WORKON_PROJECT="chromiumos/third_party/tegrastats"
|
||||
|
||||
DESCRIPTION="Software to inspect and adjust DVFS parameters on tegra."
|
||||
HOMEPAGE=""
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm"
|
||||
IUSE=""
|
||||
|
||||
inherit cros-workon toolchain-funcs
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX AR RANLIB LD NM PKG_CONFIG
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
exeinto /usr/bin
|
||||
doexe tegrastats/tegrastats || die "doexe failed"
|
||||
doexe dfs_stress/dfs_stress || die "doexe failed"
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_PROJECT="chromiumos/third_party/tegrastats"
|
||||
|
||||
DESCRIPTION="Software to inspect and adjust DVFS parameters on tegra."
|
||||
HOMEPAGE=""
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm"
|
||||
IUSE=""
|
||||
|
||||
inherit cros-workon toolchain-funcs
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND=""
|
||||
|
||||
src_compile() {
|
||||
tc-export CC CXX AR RANLIB LD NM PKG_CONFIG
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/bin
|
||||
exeinto /usr/bin
|
||||
doexe tegrastats/tegrastats || die "doexe failed"
|
||||
doexe dfs_stress/dfs_stress || die "doexe failed"
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=compile info install setup unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Utility for signing Tegra2 boot images
|
||||
EAPI=2
|
||||
HOMEPAGE=http://git.chromium.org
|
||||
IUSE=cros_workon_tree_3c1f68b1c84462e5e30c6f8f6f354ecff67f44bd
|
||||
KEYWORDS=amd64 arm x86
|
||||
LICENSE=GPLv2
|
||||
SLOT=0
|
||||
_eclasses_=binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 cros-workon 5f2f8a42fa8e9e59f25015d9167f93a4 eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 git-2 da60d6e85fa94cef4d510cab24e01e36 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=acad41ae17e123a35451a5d1225c321b
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=install unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Utility for signing Tegra2 boot images
|
||||
EAPI=4
|
||||
HOMEPAGE=http://nv-tegra.nvidia.com/gitweb/?p=tools/cbootimage.git
|
||||
KEYWORDS=amd64 arm x86
|
||||
LICENSE=GPLv2
|
||||
SLOT=0
|
||||
_eclasses_=git-2 da60d6e85fa94cef4d510cab24e01e36
|
||||
_md5_=05892305a5a6dcaf3e0203bd9b4537eb
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=install unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Utility for signing Tegra2 boot images
|
||||
EAPI=4
|
||||
HOMEPAGE=http://nv-tegra.nvidia.com/gitweb/?p=tools/cbootimage.git
|
||||
KEYWORDS=amd64 arm x86
|
||||
LICENSE=GPLv2
|
||||
SLOT=0
|
||||
_eclasses_=git-2 da60d6e85fa94cef4d510cab24e01e36
|
||||
_md5_=05892305a5a6dcaf3e0203bd9b4537eb
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=compile info install setup unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Utility for signing Tegra2 boot images
|
||||
EAPI=2
|
||||
HOMEPAGE=http://git.chromium.org
|
||||
IUSE=cros_workon_tree_
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=GPLv2
|
||||
SLOT=0
|
||||
_eclasses_=binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 cros-workon 5f2f8a42fa8e9e59f25015d9167f93a4 eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 git-2 da60d6e85fa94cef4d510cab24e01e36 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=e82c175813fe805c599d763ad9b2576b
|
@ -1,12 +0,0 @@
|
||||
DEFINED_PHASES=install prepare
|
||||
DEPEND=>=dev-embedded/libftdi-0.19 dev-libs/confuse || ( >=sys-devel/automake-1.11.1:1.11 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Utility to program external EEPROM for FTDI USB chips
|
||||
EAPI=2
|
||||
HOMEPAGE=http://www.intra2net.com/en/developer/libftdi/
|
||||
KEYWORDS=x86 amd64
|
||||
LICENSE=LGPL-2
|
||||
RDEPEND=>=dev-embedded/libftdi-0.19 dev-libs/confuse
|
||||
SLOT=0
|
||||
SRC_URI=http://commondatastorage.googleapis.com/chromeos-localmirror/distfiles/ftdi_eeprom-0.4_rc1.tar.gz
|
||||
_eclasses_=autotools addbdf6cce5024ac93ad2084ad5e1d2d binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 eutils 33ef77a15337022e05342d2c772a7a5a libtool 0fd90d183673bf1107465ec45849d1ea multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=5ae88b325ebe097da461933662574597
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=compile info install setup unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Utility monitoring power usage on Harmony and Seaboard
|
||||
EAPI=2
|
||||
IUSE=cros_workon_tree_9e4e01d060cdaf9232236674d7e2a5bd14f1dfae
|
||||
KEYWORDS=amd64 arm x86
|
||||
LICENSE=BSD
|
||||
SLOT=0
|
||||
_eclasses_=binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 cros-workon 5f2f8a42fa8e9e59f25015d9167f93a4 eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 git-2 da60d6e85fa94cef4d510cab24e01e36 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=1a35f5228e4d8ab67933f7aa2ff26ff3
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=compile info install setup unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Utility monitoring power usage on Harmony and Seaboard
|
||||
EAPI=2
|
||||
IUSE=cros_workon_tree_
|
||||
KEYWORDS=~amd64 ~arm ~x86
|
||||
LICENSE=BSD
|
||||
SLOT=0
|
||||
_eclasses_=binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 cros-workon 5f2f8a42fa8e9e59f25015d9167f93a4 eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 git-2 da60d6e85fa94cef4d510cab24e01e36 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=8ae9c5833be8c38a0a3a8e86da0d78ed
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=install unpack
|
||||
DEPEND=>=dev-libs/crypto++-5.6 virtual/libusb:1 dev-vcs/git
|
||||
DESCRIPTION=Utility for downloading code to tegra system in recovery mode
|
||||
EAPI=4
|
||||
HOMEPAGE=http://sourceforge.net/projects/tegra-rcm/
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-libs/crypto++-5.6 virtual/libusb:1
|
||||
SLOT=0
|
||||
_eclasses_=git-2 da60d6e85fa94cef4d510cab24e01e36
|
||||
_md5_=cdb4af0606e6cad577fe408c9999e61b
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=install prepare unpack
|
||||
DEPEND=>=dev-libs/crypto++-5.6 virtual/libusb:1 dev-vcs/git || ( >=sys-devel/automake-1.11.1:1.11 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Utility for downloading code to tegra system in recovery mode
|
||||
EAPI=4
|
||||
HOMEPAGE=http://sourceforge.net/projects/tegra-rcm/
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-libs/crypto++-5.6 virtual/libusb:1
|
||||
SLOT=0
|
||||
_eclasses_=autotools addbdf6cce5024ac93ad2084ad5e1d2d binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 eutils 33ef77a15337022e05342d2c772a7a5a git-2 da60d6e85fa94cef4d510cab24e01e36 libtool 0fd90d183673bf1107465ec45849d1ea multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=cbed7b0a86693248a0a4f828af36e209
|
@ -1,11 +0,0 @@
|
||||
DEFINED_PHASES=install prepare unpack
|
||||
DEPEND=>=dev-libs/crypto++-5.6 virtual/libusb:1 dev-vcs/git || ( >=sys-devel/automake-1.11.1:1.11 ) >=sys-devel/autoconf-2.68 sys-devel/libtool
|
||||
DESCRIPTION=Utility for downloading code to tegra system in recovery mode
|
||||
EAPI=4
|
||||
HOMEPAGE=http://sourceforge.net/projects/tegra-rcm/
|
||||
KEYWORDS=amd64 x86
|
||||
LICENSE=BSD
|
||||
RDEPEND=>=dev-libs/crypto++-5.6 virtual/libusb:1
|
||||
SLOT=0
|
||||
_eclasses_=autotools addbdf6cce5024ac93ad2084ad5e1d2d binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 eutils 33ef77a15337022e05342d2c772a7a5a git-2 da60d6e85fa94cef4d510cab24e01e36 libtool 0fd90d183673bf1107465ec45849d1ea multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=cbed7b0a86693248a0a4f828af36e209
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=compile info install setup unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Based on the eutils eclass
|
||||
EAPI=2
|
||||
IUSE=cros_workon_tree_aeb5f4b3e2d7743026b2c267a4424203c924ffeb
|
||||
KEYWORDS=amd64 arm
|
||||
LICENSE=BSD
|
||||
SLOT=0
|
||||
_eclasses_=binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 cros-workon 5f2f8a42fa8e9e59f25015d9167f93a4 eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 git-2 da60d6e85fa94cef4d510cab24e01e36 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=7a73342dd75ffface546eae8e6203407
|
@ -1,10 +0,0 @@
|
||||
DEFINED_PHASES=compile info install setup unpack
|
||||
DEPEND=dev-vcs/git
|
||||
DESCRIPTION=Based on the eutils eclass
|
||||
EAPI=2
|
||||
IUSE=cros_workon_tree_
|
||||
KEYWORDS=~amd64 ~arm
|
||||
LICENSE=BSD
|
||||
SLOT=0
|
||||
_eclasses_=binutils-funcs 73669d0b20960c1cc54cf381a4b89e77 cros-workon 5f2f8a42fa8e9e59f25015d9167f93a4 eutils 33ef77a15337022e05342d2c772a7a5a flag-o-matic 01a8b1eb019305bc4b4a8bd0b04e4cd8 git-2 da60d6e85fa94cef4d510cab24e01e36 multilib 5f4ad6cf85e365e8f0c6050ddd21659e portability 0be430f759a631e692678ed796e09f5c toolchain-funcs 64fc271a237429f84f36b91c9f4b9912 user 9e552f935106ff0bc92af16da64b4b29
|
||||
_md5_=550bd591273d966e70daeb492221dc20
|
Loading…
Reference in New Issue
Block a user