diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-12 08:15:24 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2014-11-20 14:57:17 +0100 |
commit | f1b3619759c457f0323e999d0aa7874c2887d172 (patch) | |
tree | 9ec814072ca413b2d37343bcd2a90ee5748eb250 /arch/arm/boards/efika-mx-smartbook/env | |
parent | c7f122830d240164325f4e9e325363c6e9c7bb7f (diff) | |
download | barebox-f1b3619759c457f0323e999d0aa7874c2887d172.tar.gz barebox-f1b3619759c457f0323e999d0aa7874c2887d172.tar.xz |
ARM: i.MX51 efikasb: Use defaultenv_append_directory
To have the smartbook specific env available in the multi image.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/boards/efika-mx-smartbook/env')
7 files changed, 0 insertions, 120 deletions
diff --git a/arch/arm/boards/efika-mx-smartbook/env/bin/lvds_init b/arch/arm/boards/efika-mx-smartbook/env/bin/lvds_init deleted file mode 100644 index 692392cd6c..0000000000 --- a/arch/arm/boards/efika-mx-smartbook/env/bin/lvds_init +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -# Initialize lvds and backlight in case your Kernel does not handle this... - -GPIO_BACKLIGHT_POWER=108 -GPIO_BACKLIGHT_PWM=2 -GPIO_LVDS_POWER=71 -GPIO_LVDS_RESET=69 -GPIO_LVDS_ENABLE=76 -GPIO_LCD_ENABLE=77 - -gpio_direction_output $GPIO_BACKLIGHT_PWM 0 -gpio_direction_output $GPIO_LVDS_RESET 1 -gpio_direction_output $GPIO_LVDS_POWER 1 -msleep 5 -gpio_direction_output $GPIO_LVDS_RESET 0 -msleep 5 -gpio_direction_output $GPIO_LVDS_ENABLE 1 -gpio_direction_output $GPIO_BACKLIGHT_POWER 0 -gpio_direction_output $GPIO_LCD_ENABLE 1 -msleep 300 -gpio_direction_output $GPIO_BACKLIGHT_PWM 1 diff --git a/arch/arm/boards/efika-mx-smartbook/env/boot/hd-internal b/arch/arm/boards/efika-mx-smartbook/env/boot/hd-internal deleted file mode 100644 index 2233f14269..0000000000 --- a/arch/arm/boards/efika-mx-smartbook/env/boot/hd-internal +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -path="/mnt/internal-hd0.0" - -global.bootm.image="${path}/linuximage" - -oftree=${path}/oftree -if [ -f $oftree ]; then - global.bootm.oftree="$oftree" -fi - -global.linux.bootargs.dyn.root="root=/dev/sda2" diff --git a/arch/arm/boards/efika-mx-smartbook/env/boot/mmc-left b/arch/arm/boards/efika-mx-smartbook/env/boot/mmc-left deleted file mode 100644 index da7bc0398a..0000000000 --- a/arch/arm/boards/efika-mx-smartbook/env/boot/mmc-left +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -path="/mnt/mmc-left.0" - -global.bootm.image="${path}/linuximage" - -oftree=${path}/oftree -if [ -f $oftree ]; then - global.bootm.oftree="$oftree" -fi - -# The rootdevice may actually be mmcblk1p2 if a card -# is inserted to the back MMC slot -global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2" diff --git a/arch/arm/boards/efika-mx-smartbook/env/config b/arch/arm/boards/efika-mx-smartbook/env/config deleted file mode 100644 index c63c6a1fa5..0000000000 --- a/arch/arm/boards/efika-mx-smartbook/env/config +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -# change network settings in /env/network/eth0 -# change mtd partition settings and automountpoints in /env/init/* - -#global.hostname= - -# set to false if you do not want to have colors -global.allow_color=true - -# user (used for network filenames) -global.user=none - -# timeout in seconds before the default boot entry is started -global.autoboot_timeout=1 - -# default boot entry (one of /env/boot/*) -# (if not overwritten here, the bootdevice barebox comes from -# is used) -#global.boot.default=net - -# base bootargs -global.linux.bootargs.base="console=tty1" - -# suitable for 800MHz -global linux.bootargs.lpj="lpj=3997696" - -# speed up booting by being more quiet -global linux.bootargs.quiet="quiet" diff --git a/arch/arm/boards/efika-mx-smartbook/env/init/automount b/arch/arm/boards/efika-mx-smartbook/env/init/automount deleted file mode 100644 index 8cb5eaf792..0000000000 --- a/arch/arm/boards/efika-mx-smartbook/env/init/automount +++ /dev/null @@ -1,29 +0,0 @@ -#!/bin/sh - -if [ "$1" = menu ]; then - init-menu-add-entry "$0" "Automountpoints" - exit -fi - -# automount tftp server based on $eth0.serverip - -mkdir -p /mnt/tftp -automount /mnt/tftp 'ifup eth0 && mount -t tftp $eth0.serverip /mnt/tftp' - -# automount nfs server example - -# internal harddisk /boot partition -mkdir -p /mnt/internal-hd0.0 -automount -d /mnt/internal-hd0.0 'mount /dev/ata0.0 /mnt/internal-hd0.0' - -# internal harddisk rootfs -mkdir -p /mnt/internal-hd0.1 -automount -d /mnt/internal-hd0.1 'mount /dev/ata0.1 /mnt/internal-hd0.1' - -# left SD card slot, first partition -mkdir -p /mnt/mmc-left.0 -automount -d /mnt/mmc-left.0 'mount /dev/mmc_left.0 /mnt/mmc-left.0' - -# back SD card slot, first partition -mkdir -p /mnt/mmc-back.0 -automount -d /mnt/mmc-back.0 'mount /dev/mmc_back.0 /mnt/mmc-back.0' diff --git a/arch/arm/boards/efika-mx-smartbook/env/init/bootsource b/arch/arm/boards/efika-mx-smartbook/env/init/bootsource deleted file mode 100644 index 380e85589b..0000000000 --- a/arch/arm/boards/efika-mx-smartbook/env/init/bootsource +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -# by default pick kernel from MMC card if booting from -# it, otherwise default to boot from internal harddisk - -if [ $bootsource = mmc ]; then - global.boot.default=mmc-left -else - global.boot.default=hd-internal -fi diff --git a/arch/arm/boards/efika-mx-smartbook/env/network/eth0-discover b/arch/arm/boards/efika-mx-smartbook/env/network/eth0-discover deleted file mode 100644 index f8368a5ec6..0000000000 --- a/arch/arm/boards/efika-mx-smartbook/env/network/eth0-discover +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -usb -sleep 3 |