aboutsummaryrefslogtreecommitdiff
path: root/linaro_image_tools/media_create/boards.py
diff options
context:
space:
mode:
authorFathi Boudra <fathi.boudra@linaro.org>2013-01-12 14:38:04 +0200
committerFathi Boudra <fathi.boudra@linaro.org>2013-01-12 14:38:04 +0200
commitde182ee1eec5d8900a97d1986a0a2741bfeb8dc9 (patch)
tree996bedbc1eea6f9c373ae5745130deeb7b340efa /linaro_image_tools/media_create/boards.py
parentbe2661057bc39da938f23f82671262f4839e59fa (diff)
downloadlinaro-image-tools-de182ee1eec5d8900a97d1986a0a2741bfeb8dc9.tar.gz
Add ethact/ethaddr to Arndale boot_env (LP: #1097265)
Diffstat (limited to 'linaro_image_tools/media_create/boards.py')
-rw-r--r--linaro_image_tools/media_create/boards.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/linaro_image_tools/media_create/boards.py b/linaro_image_tools/media_create/boards.py
index 7e96f9a..bb371e5 100644
--- a/linaro_image_tools/media_create/boards.py
+++ b/linaro_image_tools/media_create/boards.py
@@ -1595,6 +1595,16 @@ class ArndaleConfig(SamsungConfig):
self.serial_tty = 'ttySAC2'
self._extra_serial_options = 'console=%s,115200n8'
+ def _get_boot_env(self, is_live, is_lowmem, consoles, rootfs_id,
+ i_img_data, d_img_data):
+ boot_env = super(SamsungConfig, self)._get_boot_env(
+ is_live, is_lowmem, consoles, rootfs_id, i_img_data, d_img_data)
+
+ boot_env["ethact"] = "smc911x-0"
+ boot_env["ethaddr"] = "00:40:5c:26:0a:5b"
+
+ return boot_env
+
def _make_boot_files_v2(self, boot_env, chroot_dir, boot_dir,
boot_device_or_file, k_img_data, i_img_data,
d_img_data):