Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
duo-buildroot-sdk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
duo-buildroot-sdk
Commits
8e0360d8
Commit
8e0360d8
authored
Apr 28, 2023
by
forum_service
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
buildroot: weekly update 2023-04-26
1. cv180x support ssh and autologin
parent
ce9f68c3
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
84 additions
and
11 deletions
+84
-11
buildroot-2021.05/board/cvitek/CV180X/overlay/etc/inittab
buildroot-2021.05/board/cvitek/CV180X/overlay/etc/inittab
+40
-0
buildroot-2021.05/board/cvitek/CV180X/overlay/etc/profile
buildroot-2021.05/board/cvitek/CV180X/overlay/etc/profile
+27
-10
buildroot-2021.05/board/cvitek/CV180X/overlay/usr/local/bin/autologin
...21.05/board/cvitek/CV180X/overlay/usr/local/bin/autologin
+2
-0
buildroot-2021.05/configs/cvitek_CV180X_musl_riscv64_defconfig
...root-2021.05/configs/cvitek_CV180X_musl_riscv64_defconfig
+15
-1
No files found.
buildroot-2021.05/board/cvitek/CV180X/overlay/etc/inittab
0 → 100644
View file @
8e0360d8
# /etc/inittab
#
# Copyright (C) 2001 Erik Andersen <andersen@codepoet.org>
#
# Note: BusyBox init doesn't support runlevels. The runlevels field is
# completely ignored by BusyBox init. If you want runlevels, use
# sysvinit.
#
# Format for each entry: <id>:<runlevels>:<action>:<process>
#
# id == tty to run on, or empty for /dev/console
# runlevels == ignored
# action == one of sysinit, respawn, askfirst, wait, and once
# process == program to run
# Startup the system
::sysinit:/bin/mount -t proc proc /proc
::sysinit:/bin/mount -o remount,rw /
::sysinit:/bin/mkdir -p /dev/pts /dev/shm
::sysinit:/bin/mount -a
::sysinit:/sbin/swapon -a
null::sysinit:/bin/ln -sf /proc/self/fd /dev/fd
null::sysinit:/bin/ln -sf /proc/self/fd/0 /dev/stdin
null::sysinit:/bin/ln -sf /proc/self/fd/1 /dev/stdout
null::sysinit:/bin/ln -sf /proc/self/fd/2 /dev/stderr
::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts
::sysinit:/etc/init.d/rcS
# Put a getty on the serial port
# console::respawn:/sbin/getty -L console 0 vt100 # GENERIC_SERIAL
console::respawn:/sbin/getty -L console 115200 vt100 -n -l /usr/local/bin/autologin
# Stuff to do for the 3-finger salute
#::ctrlaltdel:/sbin/reboot
# Stuff to do before rebooting
::shutdown:/etc/init.d/rcK
::shutdown:/sbin/swapoff -a
::shutdown:/bin/umount -a -r
buildroot-2021.05/board/cvitek/CV180X/overlay/etc/profile
View file @
8e0360d8
export PATH="/bin:/sbin:/usr/bin:/usr/sbin"
export
LD_LIBRARY_PATH="/mnt/system/lib
"
export
PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/mnt/system/usr/bin:/mnt/system/usr/sbin:/mnt/data/bin:/mnt/data/sbin
"
if [ "$PS1" ]; then
if [ "`id -u`" -eq 0 ]; then
export PS1='\u@\h
# '
else
export PS1='\u@\h
$ '
fi
if [ "`id -u`" -eq 0 ]; then
export PS1='
# '
else
export PS1='
$ '
fi
fi
export PAGER='/bin/more '
export EDITOR='/bin/vi'
# Source configuration files from /etc/profile.d
for i in /etc/profile.d/*.sh ; do
if [ -r "$i" ]; then
. $i
fi
if [ -r "$i" ]; then
. $i
fi
unset i
done
unset i
\ No newline at end of file
export HOSTNAME="$(hostname)"
export OLDPWD=/root
if [ '$USER' == 'root' ]; then
export PS1='[\u@\h]\w\# '
else
export PS1='[\u@\h]\w\$ '
fi
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
export TERM=vt100
export TERMINFO=/usr/share/terminfo
buildroot-2021.05/board/cvitek/CV180X/overlay/usr/local/bin/autologin
0 → 100755
View file @
8e0360d8
#! /bin/sh
exec
/bin/login
-f
root
buildroot-2021.05/configs/cvitek_CV180X_musl_riscv64_defconfig
View file @
8e0360d8
...
...
@@ -223,7 +223,7 @@ BR2_ROOTFS_DEVICE_TABLE="system/device_table.txt"
# BR2_ROOTFS_DEVICE_TABLE_SUPPORTS_EXTENDED_ATTRIBUTES is not set
# BR2_ROOTFS_MERGED_USR is not set
BR2_TARGET_ENABLE_ROOT_LOGIN=y
BR2_TARGET_GENERIC_ROOT_PASSWD=""
BR2_TARGET_GENERIC_ROOT_PASSWD="
cvitek
"
BR2_SYSTEM_BIN_SH_BUSYBOX=y
#
...
...
@@ -466,3 +466,17 @@ BR2_TARGET_ROOTFS_EXT2_EXTRA_INODES=0
BR2_TARGET_ROOTFS_EXT2_EXTRA_BLOCKS=0
BR2_PACKAGE_STRACE=y
#
# NetworkManager needs udev /dev management and a glibc toolchain w/ headers >= 3.2, dynamic library, wchar, threads
#
BR2_PACKAGE_DROPBEAR=y
BR2_PACKAGE_DROPBEAR_CLIENT=y
# # BR2_PACKAGE_DROPBEAR_DISABLE_REVERSEDNS is not set
BR2_PACKAGE_DROPBEAR_SMALL=y
# # BR2_PACKAGE_DROPBEAR_WTMP is not set
# # BR2_PACKAGE_DROPBEAR_LASTLOG is not set
# # BR2_PACKAGE_DROPBEAR_LEGACY_CRYPTO is not set
# BR2_PACKAGE_DROPBEAR_LOCALOPTIONS_FILE=""
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment