mirror of
https://github.com/Telecominfraproject/OpenNetworkLinux.git
synced 2025-12-25 17:27:01 +00:00
Fix mounts and installer settings.
This commit is contained in:
1
packages/platforms/accton/armel/Makefile
Normal file
1
packages/platforms/accton/armel/Makefile
Normal file
@@ -0,0 +1 @@
|
||||
include $(ONL)/make/pkg.mk
|
||||
@@ -1,7 +1,6 @@
|
||||
ip link set dev eth0 name ma1
|
||||
|
||||
echo "LABEL=FLASH * flash" > /etc/onl/mounts
|
||||
echo "LABEL=FLASH2 * flash2" >> /etc/onl/mounts
|
||||
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 0x00002000 0x00010000" >> /etc/fw_env.config
|
||||
|
||||
@@ -1,15 +1,7 @@
|
||||
############################################################
|
||||
# <bsn.cl fy=2013 v=none>
|
||||
#
|
||||
# Copyright 2013, 2014 BigSwitch Networks, Inc.
|
||||
#
|
||||
#
|
||||
#
|
||||
# </bsn.cl>
|
||||
############################################################
|
||||
# Platform data goes here.
|
||||
# The loader is installed in the fat partition of the first USB storage device
|
||||
platform_bootcmd="usb start; usbiddev; fatload usb 0:1 70000000 $ONL_PLATFORM.itb; setenv bootargs console=\$consoledev,\$baudrate onl_platform=$ONL_PLATFORM; bootm 70000000#$ONL_PLATFORM"
|
||||
|
||||
platform_installer() {
|
||||
# Standard isntallation to an available GPT partition
|
||||
installer_standard_gpt_install /dev/sda
|
||||
# Standard installation to usb storage
|
||||
installer_standard_blockdev_install sda 128M 128M ""
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user