Deprecate /etc/onl/net, /etc/onl/mounts, /etc/fw_env.config

This commit is contained in:
Carl D. Roth
2016-05-17 19:26:01 -07:00
parent 10cd3f6abd
commit 5624b49d50
24 changed files with 78 additions and 132 deletions

View File

@@ -1,6 +1,6 @@
ip link set dev eth0 name ma1
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
##############################
#
# arm-accton-as4610-54-r0
#
##############################
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd2 0x00000000 0x00002000 0x00010000" >> /etc/fw_env.config

View File

@@ -2,10 +2,3 @@
# powerpc-accton-as4600-54t-r0
############################################################
echo "soc.0/ff725000.ethernet ma1" > /etc/onl/net
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" >> /etc/fw_env.config
echo "/dev/mtd2 0x00000000 0x00010000 0x00010000" >> /etc/fw_env.config

View File

@@ -1,10 +1,3 @@
############################################################
# powerpc-accton-as5610-52x-r0
############################################################
echo "soc.0/ff724000.ethernet ma1" >/etc/onl/net
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd1 0x00000000 0x00010000 0x00010000" >> /etc/fw_env.config

View File

@@ -2,12 +2,5 @@
# powerpc-accton-as5710-54x-r0
############################################################
echo "fsl,dpaa.16/ethernet.17 ma1" > /etc/onl/net
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd6 0x00000000 0x00002000 0x00020000" >> /etc/fw_env.config

View File

@@ -2,12 +2,5 @@
# powerpc-accton-as5710-54x-r0b
############################################################
echo "fsl,dpaa.16/ethernet.17 ma1" > /etc/onl/net
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd6 0x00000000 0x00002000 0x00020000" >> /etc/fw_env.config

View File

@@ -2,16 +2,6 @@
# powerpc-accton-as6700-32x-r0
############################################################
echo "fsl,dpaa.16/ethernet.18 ma1" > /etc/onl/net
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd1 0x00000000 0x00002000 0x00010000" >> /etc/fw_env.config
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
# echo "block/mmcblk0 mmcblk0p2 flash" > /etc/onl/mounts
# echo "block/mmcblk0 mmcblk0p3 flash2" >> /etc/onl/mounts

View File

@@ -2,13 +2,6 @@
# powerpc-accton-as6700-32x-r1
############################################################
echo "fsl,dpaa.16/ethernet.18 ma1" > /etc/onl/net
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd1 0x00000000 0x00002000 0x00040000" >> /etc/fw_env.config

View File

@@ -1,3 +1,11 @@
##############################
#
# x86-64-accton-as5512-54x-r0
#
# XXX missing YML platform config
#
##############################
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts

View File

@@ -1,7 +1,8 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-as5712-54x-r0
#
##############################

View File

@@ -1,7 +1,8 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-as5812-54t-r0
#
##############################

View File

@@ -1,7 +1,8 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-as5812-54x-r0
#
##############################

View File

@@ -3,9 +3,6 @@
# x86-64-accton-as6712-32x-r0
#
############################################################
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts

View File

@@ -1,6 +1,7 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" >> /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-as6812-32x-r0
#
##############################

View File

@@ -1,5 +1,5 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
cp /dev/null /etc/onl/mounts
echo "LABEL=FLASH * flash" >> /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-as7512-32x-r0
#
##############################

View File

@@ -1,5 +1,5 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
cp /dev/null /etc/onl/mounts
echo "LABEL=FLASH * flash" >> /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-as7712-32x-r0
#
##############################

View File

@@ -1,6 +1,5 @@
#echo "pci0000:00/0000:00:1c.0/0000:0a:00.0" > /etc/onl/net
ip link set dev eth0 name ma1
cp /dev/null /etc/onl/mounts
echo "LABEL=FLASH * flash" >> /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-as7716-32x-r0
#
##############################

View File

@@ -1,7 +1,7 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
cp /dev/null /etc/onl/mounts
echo "LABEL=FLASH * flash" >> /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-accton-wedge-16x-r0
#
##############################

View File

@@ -1,6 +1,7 @@
echo "pci0000:00/0000:00:14.0 ma1" > /etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-cel-redstone-xp-r0
#
##############################

View File

@@ -1,11 +1,6 @@
echo "pci0000:00/0000:00:03.0 ma1" >/etc/onl/net
cp /dev/null /etc/onl/mounts
echo "block/sda sda flash" >> /etc/onl/mounts
echo "block/vda vda flash" >> /etc/onl/mounts
echo "LABEL=FLASH * flash" >> /etc/onl/mounts
echo "block/sdb sdb flash2" >> /etc/onl/mounts
echo "block/vdb vdb flash2" >> /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-kvm-x86-64-r0
#
##############################

View File

@@ -1,8 +1,5 @@
ip link set dev eth0 name ma1
cp /dev/null /etc/onl/mounts
echo "block/mmcblk0 mmcblk0p2 flash" > /etc/onl/mounts
echo "block/mmcblk0 mmcblk0p3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd1 0x00000000 0x00002000 0x00040000" >> /etc/fw_env.config
##############################
#
# arm-qemu-armv7a-r0
#
##############################

View File

@@ -3,10 +3,3 @@
# powerpc-quanta-lb9-r0
#
############################################################
echo "e0000000.soc8541/e0024000.ethernet ma1" >/etc/onl/net
echo "block/sda sda2 flash" > /etc/onl/mounts
echo "block/sda sda3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd3 0x00000000 0x00002000 0x00020000" >> /etc/fw_env.config

View File

@@ -23,10 +23,3 @@
# powerpc-quanta-ly2-r0
#
############################################################
echo "soc.0/ffe24000.ethernet ma1" >/etc/onl/net
echo "block/mmcblk0 mmcblk0p2 flash" > /etc/onl/mounts
echo "block/mmcblk0 mmcblk0p3 flash2" >> /etc/onl/mounts
echo "# MTD device name Device offset Env. size Flash sector size" > /etc/fw_env.config
echo "/dev/mtd2 0x00000000 0x00002000 0x00020000" >> /etc/fw_env.config

View File

@@ -1,3 +1,5 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-quanta-ly6-rangely-r0
#
##############################

View File

@@ -1,4 +1,6 @@
echo "pci0000:00/0000:00:14.0 ma1" >/etc/onl/net
echo "LABEL=FLASH * flash" > /etc/onl/mounts
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
##############################
#
# x86-64-quanta-ly8-rangely-r0
#
##############################