From de182ee1eec5d8900a97d1986a0a2741bfeb8dc9 Mon Sep 17 00:00:00 2001 From: Fathi Boudra Date: Sat, 12 Jan 2013 14:38:04 +0200 Subject: Add ethact/ethaddr to Arndale boot_env (LP: #1097265) --- linaro_image_tools/media_create/boards.py | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'linaro_image_tools/media_create/boards.py') 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): -- cgit v1.2.3