mirror of
https://github.com/lxsang/meta-rpi-diya.git
synced 2024-12-26 18:58:20 +01:00
enable usb + debug
This commit is contained in:
parent
d98a5c440b
commit
3bbf9490ac
@ -31,6 +31,8 @@ ROOT_HOME = "/root"
|
||||
RPI_USE_U_BOOT = "0"
|
||||
RPI_USE_wS_28_DPI_LCD = "1"
|
||||
# enable usb boot in uboot
|
||||
ENABLE_DWC2_PERIPHERAL = "1"
|
||||
ENABLE_DWC2_HOST = "1"
|
||||
ENABLE_USB_U_BOOT = "0"
|
||||
ENABLE_UART = "0"
|
||||
DISABLE_SPLASH = "1"
|
||||
@ -46,17 +48,16 @@ VC4DTBO = "vc4-kms-v3d"
|
||||
|
||||
|
||||
RPI_EXTRA_CONFIG += "${@['','\n\
|
||||
dtoverlay=vc4-kms-v3d \n\
|
||||
dtoverlay=vc4-kms-DPI-28inch \n\
|
||||
dtoverlay=waveshare-28dpi-3b-4b \n\
|
||||
dtoverlay=waveshare-28dpi-3b \n\
|
||||
dtoverlay=waveshare-28dpi-4b \n']['${RPI_USE_wS_28_DPI_LCD}' == '1']}"
|
||||
|
||||
RPI_EXTRA_CONFIG += '\n\
|
||||
start_x=1 # essential \n\
|
||||
#start_x=1 # essential \n\
|
||||
#dtparam=audio=on \n\
|
||||
gpu_mem=128 # at least, or maybe more if you wish \n\
|
||||
disable_camera_led=1 # optional \n\
|
||||
#gpu_mem=128 # at least, or maybe more if you wish \n\
|
||||
#disable_camera_led=1 # optional \n\
|
||||
'
|
||||
|
||||
# extra kernel CMDLINE_RNDIS option
|
||||
|
@ -6,6 +6,7 @@ DESC="Auto deployment configuration from media"
|
||||
case "$1" in
|
||||
start)
|
||||
echo -n "Start $DESC: "
|
||||
dmesg | tee /boot/kern.log
|
||||
if [ -f "/boot/fs_resize" ]; then
|
||||
/usr/bin/expandfs.sh
|
||||
touch /boot/home_partition_should_be_formated
|
||||
|
Loading…
Reference in New Issue
Block a user