Skip to content

Commit

Permalink
ramdisk: weekly rls 2024.09.11
Browse files Browse the repository at this point in the history
-bb806e6, [fix](bin):change cvi_pinmux and logrotate to arm64
-b3c7a41, [fix](usb): change adbd to arm64

Change-Id: I8955a6a671450bb40ec38f3fda535cdaf1cfac44
  • Loading branch information
sophgo-forum-service authored and carbonfix committed Sep 13, 2024
1 parent 6df2249 commit 36cd404
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 3 deletions.
Binary file modified ramdisk/rootfs/overlay/cv181x_64bit/usr/local/bin/cvi_pinmux
Binary file not shown.
Binary file modified ramdisk/rootfs/public/adbd/arm64/usr/bin/adbd
Binary file not shown.
Binary file modified ramdisk/rootfs/public/crontabs/arm64/usr/sbin/logrotate
100755 → 100644
Binary file not shown.
14 changes: 11 additions & 3 deletions ramdisk/tools/cvi_pinmux/cv181x/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,17 @@
CC = riscv64-unknown-linux-musl-gcc

ifeq ($(SDK_VER),musl_riscv64)
CC = $(TOP_DIR)/host-tools/gcc/riscv64-linux-musl-x86_64/bin/riscv64-unknown-linux-musl-gcc
CFLAGS += -mcpu=c906fdv -march=rv64imafdcv0p7xthead -mcmodel=medany -mabi=lp64d -static
else ifeq ($(SDK_VER),64bit)
CC = $(TOP_DIR)/host-tools/gcc/gcc-linaro-6.3.1-2017.05-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc
else ifeq ($(SDK_VER),32bit)
CC = $(TOP_DIR)/host-tools/gcc/gcc-linaro-6.3.1-2017.05-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
else
$(error Unknown SDK_VER)
endif
source = cvi_pinmux.c devmem.c
object = $(source:%.cc=%.o)

CFLAGS += -mcpu=c906fdv -march=rv64imafdcv0p7xthead -mcmodel=medany -mabi=lp64d -static


all: $(object)
$(CC) $(CFLAGS) $(object) -o cvi_pinmux
Expand Down
Binary file modified ramdisk/tools/cvi_pinmux/cv181x/cvi_pinmux
Binary file not shown.

0 comments on commit 36cd404

Please sign in to comment.