!xmLtiCaAJxfhURjrXl:matrix.org

NixOS RISC-V

115 Members
NixOS on RISC-V https://wiki.nixos.org/wiki/RISC-V https://pad.lassul.us/NixOS-riscv64-linux 35 Servers

Load older messages


SenderMessageTime
30 Jun 2024
@atka:matrix.orgatka

perhaps this would work?

diff --git a/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py b/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py
index fcc097d01..545af061c 100755
--- a/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py
+++ b/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py
@@ -40,10 +40,10 @@ class MemoryMap:
     # =================
     # Multimedia buffer. Used by u-boot/kernel/FreeRTOS
     # =================
-    ION_SIZE = 75 * SIZE_1M
-    H26X_BITSTREAM_SIZE = 2 * SIZE_1M
+    ION_SIZE = 0 * SIZE_1M
+    H26X_BITSTREAM_SIZE = 0 * SIZE_1M
     H26X_ENC_BUFF_SIZE = 0
-    ISP_MEM_BASE_SIZE = 20 * SIZE_1M
+    ISP_MEM_BASE_SIZE = 0 * SIZE_1M
     FREERTOS_RESERVED_ION_SIZE = H26X_BITSTREAM_SIZE + H26X_ENC_BUFF_SIZE + ISP_MEM_BASE_SIZE
 
     # ION after FreeRTOS
diff --git a/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh b/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh
index b07a47db8..a539510d1 100644
--- a/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh
+++ b/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh
@@ -24,7 +24,7 @@ insmod /mnt/system/ko/cv181x_vcodec.ko
 insmod /mnt/system/ko/cv181x_jpeg.ko
 insmod /mnt/system/ko/cvi_vc_driver.ko MaxVencChnNum=9 MaxVdecChnNum=9
 #insmod /mnt/system/ko/cv181x_rtc.ko
-insmod /mnt/system/ko/cv181x_ive.ko
+#insmod /mnt/system/ko/cv181x_ive.ko
 
 echo 3 > /proc/sys/vm/drop_caches
 dmesg -n 4
01:48:15
@atka:matrix.orgatkahttps://github.com/milkv-duo/duo-buildroot-sdk/issues/7801:48:41
@nickcao:nichi.coNick Cao
In reply to @atka:matrix.org

perhaps this would work?

diff --git a/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py b/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py
index fcc097d01..545af061c 100755
--- a/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py
+++ b/build/boards/cv181x/cv1812cp_milkv_duo256m_sd/memmap.py
@@ -40,10 +40,10 @@ class MemoryMap:
     # =================
     # Multimedia buffer. Used by u-boot/kernel/FreeRTOS
     # =================
-    ION_SIZE = 75 * SIZE_1M
-    H26X_BITSTREAM_SIZE = 2 * SIZE_1M
+    ION_SIZE = 0 * SIZE_1M
+    H26X_BITSTREAM_SIZE = 0 * SIZE_1M
     H26X_ENC_BUFF_SIZE = 0
-    ISP_MEM_BASE_SIZE = 20 * SIZE_1M
+    ISP_MEM_BASE_SIZE = 0 * SIZE_1M
     FREERTOS_RESERVED_ION_SIZE = H26X_BITSTREAM_SIZE + H26X_ENC_BUFF_SIZE + ISP_MEM_BASE_SIZE
 
     # ION after FreeRTOS
diff --git a/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh b/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh
index b07a47db8..a539510d1 100644
--- a/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh
+++ b/ramdisk/rootfs/overlay/cv181x_musl_riscv64/system/ko/loadsystemko.sh
@@ -24,7 +24,7 @@ insmod /mnt/system/ko/cv181x_vcodec.ko
 insmod /mnt/system/ko/cv181x_jpeg.ko
 insmod /mnt/system/ko/cvi_vc_driver.ko MaxVencChnNum=9 MaxVdecChnNum=9
 #insmod /mnt/system/ko/cv181x_rtc.ko
-insmod /mnt/system/ko/cv181x_ive.ko
+#insmod /mnt/system/ko/cv181x_ive.ko
 
 echo 3 > /proc/sys/vm/drop_caches
 dmesg -n 4
Looks so. You can try this simply by rebuilding the fip (in a ubuntu container for simplicity) and replace prebuilt/fip-duo256.bin
01:52:56
@atka:matrix.orgatkaok, thanks! i'll try it out01:53:24
3 Jul 2024
@fgaz:matrix.orgfgaz Oasis LPCAMM2 poll https://community.milkv.io/t/your-vote-is-needed-should-milk-v-oasis-come-with-lpcamm2-or-lpddr5/2335 17:55:21
4 Jul 2024
@eyjhb:eyjhb.dk@eyjhb:eyjhb.dk left the room.11:00:44
5 Jul 2024
@sant0s:matrix.orgSantos joined the room.07:46:39
@lumikalt:the-apothecary.clublumi joined the room.11:09:13
7 Jul 2024
@balintmaci:matrix.org@balintmaci:matrix.org left the room.08:17:11
8 Jul 2024
@liamdiprose:mtrx.nzLiam joined the room.03:32:07
@burntk:matrix.orgSam O’nella changed their display name from BurntKrispe to Sam O’nella.04:55:33
@abbe:badti.me@abbe:badti.me left the room.11:30:17
@burntk:matrix.orgSam O’nella changed their profile picture.16:45:19
9 Jul 2024
@dramforever:matrix.orgdramforeverdoes anyone happen to be doing anything on banana pi bpi-f3 or spacemit k1? think i'll play around it in a few days but asking in case anyone has already done the hard work07:21:57
@ners:nixos.dev@ners:nixos.dev joined the room.08:10:23
@gamayagama:matrix.org@gamayagama:matrix.org joined the room.15:29:31
@gamayagama:matrix.org@gamayagama:matrix.org left the room.15:37:10
@sbc64:matrix.orgsbc64 joined the room.16:49:07
10 Jul 2024
@oak:universumi.fioak changed their profile picture.20:21:25
11 Jul 2024
@aleksana:mozilla.orgaleksana (force me to bed after 18:00 UTC) joined the room.13:02:26
@me:linj.techlinj joined the room.13:31:30
14 Jul 2024
@lantian:lantian.pubLan Tian joined the room.22:22:16
19 Jul 2024
@hive:the-apothecary.clubLi-ion changed their display name from tauphi to Ms.Connection.23:59:15
15 Jul 2024
@oak:universumi.fioak changed their profile picture.03:16:36
20 Jul 2024
@hive:the-apothecary.clubLi-ion changed their display name from Ms.Connection to Ms. Connection.00:00:23
23 Jul 2024
@ezzobirbezziou:matrix.orgEzzobir Bezziou joined the room.08:21:00
24 Jul 2024
@cnx:loang.net@cnx:loang.net left the room.17:53:22
26 Jul 2024
@joerg:thalheim.ioMic92 Nick Cao: did you also setup a binary cache for riscv64? 05:08:29
@nickcao:nichi.coNick CaoYes, see https://hydra.nichi.co12:56:31
@nickcao:nichi.coNick CaoOnly for cross compilation12:56:36

Show newer messages


Back to Room ListRoom Version: 10