Commit Graph

108 Commits

Author SHA1 Message Date
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
f1561fa656 set pin 4/5 default function to UART4 2023-09-05 09:49:03 +08:00
e4d322ac4c set pin 6/7 default function to PWM 2023-09-04 19:49:25 +08:00
84d6b72eb6 buildroot: enable spidev_test 2023-09-04 19:02:35 +08:00
b342d8653a kernel: enable spidev 2023-09-04 18:44:23 +08:00
8eb424308d buildroot: add busybox-1.34.0.tar.bz2 2023-09-01 14:55:21 +08:00
2cf932623a package/busybox: bump version to 1.34.0
* backport fix from 1_34_stable branch
* refresh patches

Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2023-08-30 20:32:21 +08:00
a452770d3c package/busybox: add systemd service for telnetd
Signed-off-by: Sam Voss <sam.voss@collins.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
[yann.morin.1998@free.fr:
  - introduce BUSYBOX_INSTALL_TELNET_SERVICE
  - move _INSTALL_INIT_SYSTEMD alphabetically between openrc and sysv
  - drop the comment about Type=simple  (Arnout)
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
2023-08-30 20:32:11 +08:00
65237da88b package/busybox/udhcpc.script: ensure action argument is correctly passed to hook scripts
commit f79a420825479c47d (package/busybox/udhcpc.script: support RFC3442
static routes) used 'set --' clobbering the positional arguments, causing
the action argument to not be correctly forwarded to hook scripts for the
renew / bound cases if static routes are provided by the server.

As a workaround, save the action argument at the beginning of the script and
use that when calling hook scripts.

Reported-by: 王琦 <wangwangqi2011@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-08-30 20:32:04 +08:00
e3bd1e8157 package/busybox: correctly set BUSYBOX_KCONFIG_SUPPORTS_DEFCONFIG
Commit e6b3913cfc converted busybox to the generic kconfig help text
infrastructure, but set the wrong variable to flag that it doesn't
support defconfig files. Fix that.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2023-08-30 20:31:55 +08:00
a20586d43b package: use the generic _HELP_CMDS for kconfig-based packages
As Thomas put it:

    The <pkg>_HELP_CMDS variable allows packages using the
    kconfig-package infrastructure to display their specific
    targets related to the handling of their configuration.

    However, it was not consistently used and handled by the
    different packages.

So, this commit switches all the kconfig-based package to use the
generic help helper.

As a consequence:

  - all kconfig packages now advetise their kconfig-related actions,
    where some were previously missing: at91bootstrap3, linux-backports,
    swupdate, xvisor;

  - busybox advertises it does not support defconfig files;

  - the 'foo-savedfconfig' action is no longer advertised: it is to be
    considered an internal implementation detail.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2023-08-30 20:31:48 +08:00
c0fc885c89 package/busybox: bump version to 1.33.1
patch 0003: already applied upstream
patch 0004: already applied upstream

Signed-off-by: Michael Fischer <mf@go-sys.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2023-08-30 20:31:41 +08:00
7b8f62ce80 buildroot: enable ntp 2023-08-30 19:33:28 +08:00
c5330c4a56 buildroot: enable htop 2023-08-30 17:08:38 +08:00
e23c6539a5 update pinmux tool 2023-08-30 16:46:28 +08:00
8ff6876544 use duo-init.sh to initialize some hardware interfaces 2023-08-24 16:40:24 +08:00
be2a69546e camera: support sensor gc2083 2023-08-17 14:21:24 +08:00
0caef94290 add usb-host.sh to enable usb-hub on IO Board 2023-08-07 15:14:18 +08:00
5dc56824c6 use usb.sh to link target function 2023-08-07 11:45:05 +08:00
1fff7eadc9 buildroot: enable dhcpcd 2023-08-07 11:21:06 +08:00
52ac8d5cb4 kernel: support usb storage like USB flash disk
execute this command first:
echo host > /proc/cviusb/otg_role
2023-08-05 19:39:49 +08:00
7eeb4b3289 add pinmux tool cvi_pinmux 2023-07-20 11:18:19 +08:00
b773d8a7b5 readme: Ubuntu 22.04 env setup 2023-07-05 19:26:13 +08:00
bb782c05bb buildroot: drop '-b' from mcopy 2023-07-05 10:27:51 +00:00
3d25af3fa5 add missing apt-get packages to readme 2023-06-21 16:44:01 +08:00
d44d90f17a add FAQs 2023-06-21 10:26:46 +08:00
62b45ff3cb update git url 2023-06-21 09:23:44 +08:00
a8ad731d21 use timestamp as version for /etc/os-release 2023-06-16 22:21:50 +08:00
0ec133cf0e enable LED blink 2023-06-16 21:55:13 +08:00
c3909d7562 enable rndis in script S99user 2023-06-16 21:22:46 +08:00
dfdf4d1ff5 enable dnsmasq for milkv duo 2023-06-16 20:01:15 +08:00
eb8582bb95 add missing init file from origin SDK
buildroot-2021.05/board/cvitek/CV180X/overlay/mnt/system/S99msc
to
buildroot-2021.05/board/milkv/duo/overlay/mnt/system/S99msc
2023-06-16 19:59:19 +08:00
a718e1cb69 use wiringX as a GPIO library 2023-06-16 14:36:16 +08:00
3fca6e5a1d update the readme file 2023-06-14 14:45:38 +08:00
529e8a5075 milkv-duo use genimage to create sd card img 2023-06-13 22:07:20 +08:00