Merge pull request #2 from Ralim/add-programmer
Fix dockerfile + Add programmer
This commit is contained in:
commit
da37d7ec84
28 changed files with 21 additions and 12 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -98,3 +98,4 @@ Release/
|
|||
# configuration file
|
||||
# *.ini
|
||||
log.txt
|
||||
log.txt
|
||||
|
|
20
Dockerfile
20
Dockerfile
|
@ -1,9 +1,23 @@
|
|||
FROM alpine:3.16
|
||||
FROM rust:1-slim-buster as programmer_build
|
||||
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
|
||||
WORKDIR /usr/src
|
||||
RUN apt-get update && apt-get install -y git pkg-config libudev-dev bc
|
||||
RUN git clone https://github.com/Ralim/bestool.git
|
||||
RUN cd /usr/src/bestool/bestool/ && cargo build --release
|
||||
|
||||
FROM debian:buster
|
||||
LABEL maintainer="Ben V. Brown <ralim@ralimtek.com>"
|
||||
|
||||
RUN apk add --no-cache gcc-arm-none-eabi newlib-arm-none-eabi make git bash
|
||||
|
||||
RUN apt update && apt-get install -y make git bash curl tar bzip2 bc
|
||||
|
||||
WORKDIR /src
|
||||
# Git trust
|
||||
RUN git config --global --add safe.directory /src
|
||||
# Grab arm compiler; we have to use this ancient one or else we get boot failures. Probably subtle link issues.
|
||||
|
||||
COPY . /src
|
||||
RUN curl https://armkeil.blob.core.windows.net/developer/Files/downloads/gnu-rm/9-2019q4/gcc-arm-none-eabi-9-2019-q4-major-x86_64-linux.tar.bz2 | tar -xj
|
||||
ENV PATH="${PATH}:/src/gcc-arm-none-eabi-9-2019-q4-major/bin"
|
||||
WORKDIR /usr/src
|
||||
COPY --from=programmer_build /usr/src/bestool/bestool/target/release/bestool /usr/local/bin/bestool
|
||||
COPY . /usr/src
|
||||
|
|
|
@ -3,8 +3,10 @@ services:
|
|||
builder:
|
||||
stdin_open: true
|
||||
tty: true
|
||||
privileged: true
|
||||
build:
|
||||
context: .
|
||||
command: /bin/bash
|
||||
volumes:
|
||||
- ./:/src:Z
|
||||
- ./:/usr/src:Z
|
||||
- /dev/:/dev/
|
||||
|
|
8
log.txt
8
log.txt
|
@ -1,8 +0,0 @@
|
|||
MAKE START: 2022-11-28 10:41:11.124503821
|
||||
make[1]: Entering directory '/home/caoyin/doc/jisheng_code/js_customer_code/shenzhen_meng_23000yp/best2300yp_open_source/out/open_source'
|
||||
-------------------------------
|
||||
REVISION_INFO: 29b195e-dirty:open_source
|
||||
-------------------------------
|
||||
make[1]: Leaving directory '/home/caoyin/doc/jisheng_code/js_customer_code/shenzhen_meng_23000yp/best2300yp_open_source/out/open_source'
|
||||
MAKE END: 2022-11-28 10:41:11.262680315
|
||||
MAKE TIME: 0.14 seconds
|
BIN
platform/drivers/usb/usb_dev/lib/libusbdev.a
Normal file
BIN
platform/drivers/usb/usb_dev/lib/libusbdev.a
Normal file
Binary file not shown.
BIN
services/anc_spp_tool/lib/libanc_spp_tool.a
Normal file
BIN
services/anc_spp_tool/lib/libanc_spp_tool.a
Normal file
Binary file not shown.
BIN
services/ble_stack/lib/best2300p_libble_stack_sbc_enc.a
Normal file
BIN
services/ble_stack/lib/best2300p_libble_stack_sbc_enc.a
Normal file
Binary file not shown.
BIN
services/bridge/lib/best2300p_libbridge_sbc_enc.a
Normal file
BIN
services/bridge/lib/best2300p_libbridge_sbc_enc.a
Normal file
Binary file not shown.
BIN
services/bt_if_enhanced/lib/ibrt_libbt_api_sbc_enc_2m_RTX.a
Normal file
BIN
services/bt_if_enhanced/lib/ibrt_libbt_api_sbc_enc_2m_RTX.a
Normal file
Binary file not shown.
BIN
services/bt_if_enhanced/lib/ibrt_libbt_api_sbc_enc_2m_ble_RTX.a
Normal file
BIN
services/bt_if_enhanced/lib/ibrt_libbt_api_sbc_enc_2m_ble_RTX.a
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_RTX.a
Normal file
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_RTX.a
Normal file
Binary file not shown.
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_anc_RTX.a
Normal file
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_anc_RTX.a
Normal file
Binary file not shown.
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_ble_RTX.a
Normal file
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_ble_RTX.a
Normal file
Binary file not shown.
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_ble_anc_RTX.a
Normal file
BIN
services/ibrt_core/lib/libtws_ibrt_enhanced_stack_ble_anc_RTX.a
Normal file
Binary file not shown.
BIN
services/ibrt_ota/lib/lib_ibrt_ota_RTX.a
Normal file
BIN
services/ibrt_ota/lib/lib_ibrt_ota_RTX.a
Normal file
Binary file not shown.
BIN
services/ibrt_ota/lib/lib_ibrt_ota_ble_RTX.a
Normal file
BIN
services/ibrt_ota/lib/lib_ibrt_ota_ble_RTX.a
Normal file
Binary file not shown.
BIN
services/ibrt_ui/lib/libtws_ibrt_enhanced_stack_RTX.a
Normal file
BIN
services/ibrt_ui/lib/libtws_ibrt_enhanced_stack_RTX.a
Normal file
Binary file not shown.
BIN
services/ibrt_ui/lib/libtws_ibrt_enhanced_stack_ble_RTX.a
Normal file
BIN
services/ibrt_ui/lib/libtws_ibrt_enhanced_stack_ble_RTX.a
Normal file
Binary file not shown.
BIN
services/multimedia/lib/best2300p_libmultimedia_cp.a
Normal file
BIN
services/multimedia/lib/best2300p_libmultimedia_cp.a
Normal file
Binary file not shown.
BIN
services/multimedia/lib/best2300p_libmultimedia_cp_anc.a
Normal file
BIN
services/multimedia/lib/best2300p_libmultimedia_cp_anc.a
Normal file
Binary file not shown.
BIN
thirdparty/audio_codec_lib/ldac/lib/ldac_lib.a
vendored
Normal file
BIN
thirdparty/audio_codec_lib/ldac/lib/ldac_lib.a
vendored
Normal file
Binary file not shown.
BIN
thirdparty/audio_codec_lib/liblhdc-dec/lib/BEST2300P_LibLHDC_V2_V3_3_1_0_SAVI_KEYPRO_UUID.a
vendored
Normal file
BIN
thirdparty/audio_codec_lib/liblhdc-dec/lib/BEST2300P_LibLHDC_V2_V3_3_1_0_SAVI_KEYPRO_UUID.a
vendored
Normal file
Binary file not shown.
BIN
thirdparty/audio_codec_lib/liblhdc-dec/lib/liblhdc-dec-best2300p_ibrt.a
vendored
Normal file
BIN
thirdparty/audio_codec_lib/liblhdc-dec/lib/liblhdc-dec-best2300p_ibrt.a
vendored
Normal file
Binary file not shown.
BIN
thirdparty/audio_codec_lib/liblhdc-dec/lib/liblhdc-dec-best2300p_ibrt_anc.a
vendored
Normal file
BIN
thirdparty/audio_codec_lib/liblhdc-dec/lib/liblhdc-dec-best2300p_ibrt_anc.a
vendored
Normal file
Binary file not shown.
BIN
utils/encrypt/lib/libcryption.a
Normal file
BIN
utils/encrypt/lib/libcryption.a
Normal file
Binary file not shown.
BIN
utils/intersyshci/lib/libintersyshci_enhanced_stack_RTX.a
Normal file
BIN
utils/intersyshci/lib/libintersyshci_enhanced_stack_RTX.a
Normal file
Binary file not shown.
Loading…
Reference in a new issue