From aa4882a29b21123df67a4a56e70758fc4fc6c5ee Mon Sep 17 00:00:00 2001 From: "Barbier, Renaud" Date: Mon, 15 Apr 2019 12:35:23 +0000 Subject: owc: directories and files renaming As the company changed name to Abaco Systems Inc, we have a contractual requirement to remove GE references. Start by renaming files and directories using a neutral name. Signed-off-by: Renaud Barbier Signed-off-by: Sascha Hauer --- .../owc-da923rc/defaultenv-owc-da923rc/bin/init | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init (limited to 'arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init') diff --git a/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init b/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init new file mode 100644 index 0000000000..80cc2cffb3 --- /dev/null +++ b/arch/ppc/boards/owc-da923rc/defaultenv-owc-da923rc/bin/init @@ -0,0 +1,26 @@ +#!/bin/sh +export PATH=/env/bin + +source /env/config + +#Define a 26MB partition in flash starting at offset 0x20000 +addpart -n /dev/nor0 0x1a00000@0x20000(boot) +ubiattach /dev/boot + +if [ $? -ne 0 ]; then + echo "Fail to attach UBI device" + exit 1; +fi + +mkdir /mnt +mount -t ubifs /dev/ubi0.boot /mnt + +echo +echo -n "Hit ctrl-c to stop autoboot: " +timeout -c 5 + +if [ $? -ne 0 ]; then + exit 0 +fi + +boot -- cgit v1.2.3