Replace chip-id parameter by chip-name for ipcinfo (#394)

pull/396/head
Dmitry Ilyin 2022-08-20 19:07:25 +03:00 committed by GitHub
parent bb9656dc18
commit 73133275b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 9 additions and 9 deletions

View File

@ -6,7 +6,7 @@
# SoC detect # SoC detect
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
# MMZ config # MMZ config
mem_start=0x80000000; # phy mem start mem_start=0x80000000; # phy mem start

View File

@ -2,7 +2,7 @@
####################Variables Definition########################## ####################Variables Definition##########################
# SoC detect # SoC detect
CHIP_TYPE=$(ipcinfo --chip-id) CHIP_TYPE=$(ipcinfo --chip-name)
# Dumb cpu remapping # Dumb cpu remapping
if [ "$CHIP_TYPE" == "gk7205v210" ]; then if [ "$CHIP_TYPE" == "gk7205v210" ]; then

View File

@ -4,7 +4,7 @@
# #
# SoC detect # SoC detect
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
# MMZ config # MMZ config
mem_start=0x80000000 # phy mem start mem_start=0x80000000 # phy mem start

View File

@ -5,7 +5,7 @@
# #
# SoC detect # SoC detect
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
# MMZ config # MMZ config
mem_start=0x80000000 # phy mem start mem_start=0x80000000 # phy mem start

View File

@ -5,7 +5,7 @@
# ar0237 imx290 imx307 imx323 imx385 jxf22 ov2718 ov2718_2a sc2235 # ar0237 imx290 imx307 imx323 imx385 jxf22 ov2718 ov2718_2a sc2235
# SoC detect # SoC detect
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
# MMZ config # MMZ config
mem_start=0x80000000; # phy mem start mem_start=0x80000000; # phy mem start

View File

@ -7,7 +7,7 @@
board=demo board=demo
# SoC detect # SoC detect
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
# Memory config # Memory config
mem_start=0x80000000 # phy mem start mem_start=0x80000000 # phy mem start

View File

@ -7,7 +7,7 @@
board=demo; board=demo;
# SoC detect # SoC detect
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
# Memory config # Memory config
mem_start=0x40000000 # phy mem start mem_start=0x40000000 # phy mem start

View File

@ -4,7 +4,7 @@
# #
#set -x #set -x
# SoC detect # SoC detect
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
# MMZ config # MMZ config
mem_start=0x80000000 # phy mem start mem_start=0x80000000 # phy mem start

View File

@ -5,7 +5,7 @@
# default : rmmod all moules and then insmod them # default : rmmod all moules and then insmod them
# #
chipid=$(ipcinfo --chip-id) chipid=$(ipcinfo --chip-name)
[ "${chipid}" == "xm550" ] && MEM_ALL=128 || MEM_ALL=64 [ "${chipid}" == "xm550" ] && MEM_ALL=128 || MEM_ALL=64