mirror of https://github.com/OpenIPC/firmware.git
Replace chip-id parameter by chip-name for ipcinfo (#394)
parent
bb9656dc18
commit
73133275b4
|
@ -6,7 +6,7 @@
|
|||
|
||||
|
||||
# SoC detect
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
# MMZ config
|
||||
mem_start=0x80000000; # phy mem start
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
####################Variables Definition##########################
|
||||
|
||||
# SoC detect
|
||||
CHIP_TYPE=$(ipcinfo --chip-id)
|
||||
CHIP_TYPE=$(ipcinfo --chip-name)
|
||||
|
||||
# Dumb cpu remapping
|
||||
if [ "$CHIP_TYPE" == "gk7205v210" ]; then
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
# SoC detect
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
# MMZ config
|
||||
mem_start=0x80000000 # phy mem start
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
#
|
||||
|
||||
# SoC detect
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
# MMZ config
|
||||
mem_start=0x80000000 # phy mem start
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# ar0237 imx290 imx307 imx323 imx385 jxf22 ov2718 ov2718_2a sc2235
|
||||
|
||||
# SoC detect
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
# MMZ config
|
||||
mem_start=0x80000000; # phy mem start
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
board=demo
|
||||
|
||||
# SoC detect
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
# Memory config
|
||||
mem_start=0x80000000 # phy mem start
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
board=demo;
|
||||
|
||||
# SoC detect
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
# Memory config
|
||||
mem_start=0x40000000 # phy mem start
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
#set -x
|
||||
# SoC detect
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
# MMZ config
|
||||
mem_start=0x80000000 # phy mem start
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# default : rmmod all moules and then insmod them
|
||||
#
|
||||
|
||||
chipid=$(ipcinfo --chip-id)
|
||||
chipid=$(ipcinfo --chip-name)
|
||||
|
||||
[ "${chipid}" == "xm550" ] && MEM_ALL=128 || MEM_ALL=64
|
||||
|
||||
|
|
Loading…
Reference in New Issue