Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker/Dockerfile.lvperf_32b
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN echo 'PLATFORM := virt32' > build.conf

RUN cd so3;\
make virt32_lvperf_defconfig;\
sed -i 's/CONFIG_USER_INIT_PROGRAM="lvgl_benchmark.elf"/CONFIG_USER_INIT_PROGRAM="init.elf"/g' .config; \
make -j`nproc`

RUN cd u-boot;\
Expand Down Expand Up @@ -48,6 +49,7 @@ RUN mkdir -p rootfs
RUN mkdir -p docker/scripts

COPY usr usr
RUN printf "run lvgl_benchmark.elf\nexit\n" > usr/out/commands.ini
COPY docker/scripts docker/scripts
COPY target/virt32_lvperf.its target

Expand Down
2 changes: 2 additions & 0 deletions docker/Dockerfile.lvperf_64b
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ RUN echo 'PLATFORM := virt64' > build.conf

RUN cd so3;\
make virt64_lvperf_defconfig;\
sed -i 's/CONFIG_USER_INIT_PROGRAM="lvgl_benchmark.elf"/CONFIG_USER_INIT_PROGRAM="init.elf"/g' .config; \
make -j`nproc`

RUN cd u-boot;\
Expand Down Expand Up @@ -49,6 +50,7 @@ RUN mkdir -p docker/scripts
RUN mkdir -p rootfs

COPY usr usr
RUN printf "run lvgl_benchmark.elf\nexit\n" > usr/out/commands.ini
COPY target/virt64_lvperf.its target
COPY docker/scripts docker/scripts

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion usr/src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
#include <fcntl.h>
#include <stdbool.h>

#define INPUT_COMMAND_FILE "init_commands.txt"
#define INPUT_COMMAND_FILE "commands.ini"
#define ARGS_MAX 16
#define MAX_COMMAND_LEN 512

Expand Down