30 Jun 2024 |
atka | 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 | https://github.com/milkv-duo/duo-buildroot-sdk/issues/78 | 01:48:41 |
Nick 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 | ok, thanks! i'll try it out | 01:53:24 |
3 Jul 2024 |
fgaz | 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 left the room. | 11:00:44 |
5 Jul 2024 |
| Santos joined the room. | 07:46:39 |
| lumi joined the room. | 11:09:13 |
7 Jul 2024 |
| @balintmaci:matrix.org left the room. | 08:17:11 |
8 Jul 2024 |
| Liam joined the room. | 03:32:07 |
| Sam O’nella changed their display name from BurntKrispe to Sam O’nella. | 04:55:33 |
| @abbe:badti.me left the room. | 11:30:17 |
| Sam O’nella changed their profile picture. | 16:45:19 |
9 Jul 2024 |
dramforever | does 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 work | 07:21:57 |
| @ners:nixos.dev joined the room. | 08:10:23 |
| @gamayagama:matrix.org joined the room. | 15:29:31 |
| @gamayagama:matrix.org left the room. | 15:37:10 |
| sbc64 joined the room. | 16:49:07 |
10 Jul 2024 |
| oak changed their profile picture. | 20:21:25 |
11 Jul 2024 |
| aleksana (force me to bed after 18:00 UTC) joined the room. | 13:02:26 |
| linj joined the room. | 13:31:30 |
14 Jul 2024 |
| Lan Tian joined the room. | 22:22:16 |
19 Jul 2024 |
| Li-ion changed their display name from tauphi to Ms.Connection. | 23:59:15 |
15 Jul 2024 |
| oak changed their profile picture. | 03:16:36 |
20 Jul 2024 |
| Li-ion changed their display name from Ms.Connection to Ms. Connection. | 00:00:23 |
23 Jul 2024 |
| Ezzobir Bezziou joined the room. | 08:21:00 |
24 Jul 2024 |
| @cnx:loang.net left the room. | 17:53:22 |
26 Jul 2024 |
Mic92 | Nick Cao: did you also setup a binary cache for riscv64? | 05:08:29 |
Nick Cao | Yes, see https://hydra.nichi.co | 12:56:31 |
Nick Cao | Only for cross compilation | 12:56:36 |