342 Commits

Author SHA1 Message Date
27fa5d9e9b Camera: support sensor OV5647 2023-11-27 14:51:28 +08:00
4c11757d3c Camera: support sensor SC035HGS 2023-11-22 16:50:52 +08:00
fdfbaf952f Fix typo 2023-11-22 14:48:51 +08:00
582517d233 Using Docker compilation environment 2023-11-22 10:58:34 +08:00
35f9a798d0 The officially supported compilation environment is Ubuntu Jammy 22.04.x amd64 only 2023-11-21 15:58:34 +08:00
8c67840130 compile mkimage rather than use precompiled executable
thanks to ewpa:
b19ae91d98
2023-11-21 06:29:37 +00:00
f292fa5820 update README 2023-11-20 14:23:16 +08:00
399cccf089 Merge pull request #21 from pauloantuns/patch-1
Update README.md | Add WSL Ubuntu Compiling Info
2023-11-06 03:36:09 +00:00
0070d1961b Update README.md 2023-11-06 11:35:13 +08:00
edd5650f1e Merge pull request #25 from wojtess/develop
updated readme.md
2023-11-06 03:26:27 +00:00
71a34a5493 Merge pull request #26 from oupton/fix-linker-error
Add -latomic to linker flags for venc sample
2023-11-06 03:15:21 +00:00
ea7304884d Add -latomic to linker flags for venc sample
Building on debian testing fails with the following:

 | make[1]: Entering directory '/oupton/milkv/duo/duo-buildroot-sdk/middleware/v2/sample/venc'
 | [riscv64-unknown-linux-musl-gcc] sample_venc.o
 | [riscv64-unknown-linux-musl-gcc] sample_venc_lib.o
 | [riscv64-unknown-linux-musl-gcc] sample_venc_testcase.o
 | [riscv64-unknown-linux-musl-gcc] sample_vdec_lib.o
 | [riscv64-unknown-linux-musl-gcc] sample_vdec_testcase.o
 | /oupton/milkv/duo/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /oupton/milkv/duo/duo-buildroot-sdk/middleware/v2/lib/libsys.a(cvi_vb.o): in function `CVI_VB_Init':
 | /root/.jenkins/workspace/v4.1.0_release_build/middleware/v2/modules/sys/src/cvi_vb.c:201: undefined reference to `__atomic_compare_exchange_1'
 | /oupton/milkv/duo/duo-buildroot-sdk/host-tools/gcc/riscv64-linux-musl-x86_64/bin/../lib/gcc/riscv64-unknown-linux-musl/10.2.0/../../../../riscv64-unknown-linux-musl/bin/ld: /oupton/milkv/duo/duo-buildroot-sdk/middleware/v2/lib/libsys.a(cvi_vb.o): in function `CVI_VB_Exit':
 | /root/.jenkins/workspace/v4.1.0_release_build/middleware/v2/modules/sys/src/cvi_vb.c:225: undefined reference to `__atomic_compare_exchange_1'
 | collect2: error: ld returned 1 exit status
 | make[1]: *** [Makefile:78: sample_venc] Error 1
 | make[1]: Leaving directory '/oupton/milkv/duo/duo-buildroot-sdk/middleware/v2/sample/venc'
 | make: *** [Makefile:9: all] Error 1
 | Error: Build board milkv-duo failed

Fix it by ensuring -latomic is passed to the linker.

Signed-off-by: Oliver Upton <oliver.upton@linux.dev>
2023-11-01 02:49:24 -07:00
779d2ba9f2 Update README-ja.md 2023-10-31 23:52:43 +01:00
69e830ef8a Update README-zh.md 2023-10-31 23:52:33 +01:00
22441e3b41 Update README.md 2023-10-31 23:52:18 +01:00
982add2590 Merge pull request #23 from niwatori-chicken/develop
Add README-ja.md
2023-10-31 06:21:07 +00:00
0b1f98bc73 Add README-ja.md 2023-10-28 21:46:24 +09:00
a4a91cf6cf Update README.md | Add WSL Ubuntu Compiling Info
Add information about an issue while compiling with Windows Subsystem for Linux.
2023-10-26 02:11:24 -03:00
806b8d4d9c replace cvi_pinmux command with duo-pinmux 2023-10-19 19:03:39 +08:00
a9f988635e buildroot/python-pinpong: reordering of pins 2023-10-19 17:45:58 +08:00
7f04848221 buildroot: add duo-pinmux 2023-10-19 16:39:21 +08:00
0c1ee95de8 remove cvi_pinmux 2023-10-19 16:23:12 +08:00
848341f84e buildroot/wiringX: reordering of pins 2023-10-19 15:10:48 +08:00
ca03037500 freertos: release the generic version source code
freertos runs on the second core (small one) of the CPU
2023-10-19 14:31:43 +08:00
e266c53351 init PWM module 2023-10-16 14:26:10 +08:00
088fad9b8a PWM polarity inversion is supported 2023-10-16 14:26:10 +08:00
efdb3317cf Merge pull request #15 from apalrd/develop
Enable IPv6 and Multicast networking
2023-10-16 01:22:14 +00:00
7744319940 Merge pull request #13 from ArielHeleneto/readme
Refresh README.md
2023-10-13 12:31:48 +00:00
50c76df25f Fix typo 2023-10-13 20:29:45 +08:00
0a2ab3fe1f Enable IPv6 and Multicast networking 2023-10-03 03:56:08 +00:00
31e0608f0d Merge pull request #12 from ArielHeleneto/develop
add github action duoimage.yml
2023-09-25 21:03:01 +08:00
84aff475ff Refresh README.md 2023-09-25 20:11:06 +08:00
ba4f96b9e8 Create GitHub Action duoimage.yml
\
2023-09-25 19:44:25 +08:00
30acdbc595 update README 2023-09-11 19:23:53 +08:00
bb552e56dd set pin 19 to GPIO in init script 2023-09-08 16:38:16 +08:00
c5fb0c015d it would be better to put cvi_pinmux in usr/bin 2023-09-08 16:37:28 +08:00
ecba0439e6 buildroot/wiringX: support SPI and UART 2023-09-08 15:01:59 +08:00
5d8774d19a set pin 1/2 default function to I2C0 2023-09-08 14:23:06 +08:00
1be5c242af set pin 19 default function to GPIO 2023-09-08 11:20:44 +08:00
f0705c8860 set pin 14/15 default function to I2C1 2023-09-08 10:42:45 +08:00
b52bb54573 buildroot: add pinpong library 2023-09-08 10:21:55 +08:00
a41b05b96b buildroot: python support both .py and .pyc formats 2023-09-07 20:44:09 +08:00
e38165e1c4 kernel: change i2c1 frequency from 400K to 100K
Some I2C devices can only operate at a frequency of 100KHz
2023-09-07 14:40:45 +08:00
1b10c6a1fb change the hostname from milkv to milkv-duo
the pinpong library need this to differentiate between different boards
2023-09-07 14:29:10 +08:00
165fc3c4c1 buildroot: add python-freetype required by the pinpong library 2023-09-05 15:20:17 +08:00
11caee79c7 buildroot: add python-evdev required by the pinpong library 2023-09-05 15:09:01 +08:00
bbe19547f4 enable python packages required by the pinpong library 2023-09-05 15:04:09 +08:00
9814d63831 support swap partition
activate the swap partition:

mkswap /dev/mmcblk0p3
swapon /dev/mmcblk0p3

run command 'free -h' to check if the swap partition has been activated.
2023-09-05 14:45:11 +08:00
7b7afd9727 buildroot: support python and pip tool 2023-09-05 14:36:47 +08:00
35bf297544 expand the size of the rootfs partition to 768M 2023-09-05 11:21:14 +08:00