mirror of https://github.com/OpenIPC/firmware.git
[no ci] hi3536dv100 fpv fixes & update osdrv (#1059)
parent
1f1e642a7b
commit
84f68c0aa7
|
@ -111,7 +111,7 @@ BR2_PACKAGE_LINUX_FIRMWARE_OPENIPC_ATHEROS_9271=y
|
|||
BR2_PACKAGE_RTL8812AU_OPENIPC=y
|
||||
|
||||
# FPV
|
||||
# BR2_PACKAGE_VDEC_OPENIPC is not set
|
||||
BR2_PACKAGE_VDEC_OPENIPC=y
|
||||
BR2_PACKAGE_DATALINK=y
|
||||
BR2_PACKAGE_WIFIBROADCAST=y
|
||||
# BR2_PACKAGE_WFBOPENHD is not set
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
exit 1
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -14,6 +14,14 @@ os_mem_size=${os_mem_size:=32}
|
|||
mmz_start=0
|
||||
mmz_size=0
|
||||
|
||||
MEM_ALL=256
|
||||
MEM_START=0x800
|
||||
MEM_SAMALL_LIN=0x1
|
||||
MEM_MODE=0
|
||||
b_arg_demb=1
|
||||
VOU_LEN=22
|
||||
|
||||
|
||||
report_error() {
|
||||
echo "******* Error: There's something wrong, please check! *****"
|
||||
exit 1
|
||||
|
@ -38,7 +46,18 @@ remove_audio() {
|
|||
}
|
||||
|
||||
insert_ko() {
|
||||
insmod hi_osal.ko mmz=anonymous,0,$mmz_start,$mmz_size anony=1 || report_error
|
||||
HVRMEM=`cat /proc/cmdline | awk '{print $1}' | sed s/mem=//`
|
||||
HVRMEM_OS=`echo $HVRMEM | sed s/M//`
|
||||
|
||||
MEM_LEN=`echo "$MEM_ALL $HVRMEM_OS $VOU_LEN"|awk '{printf("%d",$1-$2-$3)}'`M
|
||||
VOU_START=`echo "$MEM_START $HVRMEM_OS $MEM_LEN "|awk '{printf("0x%03x00000",$1+$2+$3)}'`
|
||||
MEM_START=`echo "$MEM_START $MEM_SAMALL_LIN $HVRMEM_OS"|awk '{printf("0x%03x00000",$1+$2*$3)}'`
|
||||
VOU_LEN=`echo $VOU_LEN`M
|
||||
|
||||
echo MEM_START=$MEM_START HVRMEM=$HVRMEM MEM_LEN=$MEM_LEN VOU_START=$VOU_START VOU_LEN=$VOU_LEN
|
||||
|
||||
|
||||
insmod hi_osal.ko mmz=anonymous,0,$mmz_start,$mmz_size:vou,0,$VOU_START,$VOU_LEN anony=1 || report_error
|
||||
|
||||
insmod hi3536dv100_base.ko
|
||||
insmod hi3536dv100_sys.ko mem_total=$mem_total
|
||||
|
@ -46,7 +65,7 @@ insert_ko() {
|
|||
exit;
|
||||
fi
|
||||
|
||||
insmod hi3536dv100_vdec.ko
|
||||
insmod hi3536dv100_vdec.ko VBSource=0 u32ProtocolSwitch=0 StreamCompaMode=1 MiniBufMode=0
|
||||
insmod hi3536dv100_vfmw.ko
|
||||
insmod hi3536dv100_jpegd.ko
|
||||
|
||||
|
@ -54,9 +73,10 @@ insert_ko() {
|
|||
insmod hi3536dv100_region.ko
|
||||
insmod hi3536dv100_vgs.ko
|
||||
|
||||
insmod hi3536dv100_vpss.ko
|
||||
insmod hi3536dv100_vou.ko
|
||||
insmod hifb.ko video="hifb:vram0_size:8100,vram1_size:128" softcursor="off"
|
||||
insmod hi3536dv100_vpss.ko vpss_vb_source=0 vpss_en_ratio=0
|
||||
insmod hi3536dv100_vou.ko bSaveBufMode=1
|
||||
#insmod hifb.ko video="hifb:vram0_size:8100,vram1_size:128" softcursor="off"
|
||||
insmod hifb.ko video="hifb:vram0_size:7200,vram1_size:128" softcursor="off"
|
||||
insmod hi3536dv100_hdmi.ko
|
||||
|
||||
insmod hi3536dv100_venc.ko
|
||||
|
|
|
@ -8,7 +8,7 @@ stream=0
|
|||
link_id=7669206
|
||||
# tab_wlan=wlan1
|
||||
# udp_addr=auto
|
||||
udp_addr=192.168.0.100
|
||||
udp_addr=127.0.0.1
|
||||
udp_port=5600
|
||||
use_hdmi=false
|
||||
telemetry=true
|
||||
|
|
Loading…
Reference in New Issue